2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="java/lang/System.java"
275 ac_subdirs_all
="$ac_subdirs_all $DIRLTDL"
276 # Factoring default headers for most tests.
277 ac_includes_default
="\
280 # include <sys/types.h>
283 # include <sys/stat.h>
294 # if !STDC_HEADERS && HAVE_MEMORY_H
300 # include <strings.h>
303 # include <inttypes.h>
313 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libgcj_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical LN_S mkinstalldirs CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LDFLAGS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBGCJ_CFLAGS LIBGCJ_CXXFLAGS LIBGCJ_JAVAFLAGS INCLTDL LIBLTDL DIRLTDL STRIP ac_ct_STRIP LIBTOOL CXXCPP CPPFLAGS subdirs COMPPATH TESTSUBDIR_TRUE TESTSUBDIR_FALSE ONESTEP_TRUE ONESTEP_FALSE LIBGCJDEBUG INTERPRETER LIBFFI LIBFFIINCS EXTRA_CC_FILES PLATFORMOBJS CPP EGREP SYSTEMSPEC LIBGCJTESTSPEC ZLIBSPEC ZLIBTESTSPEC X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS TOOLKIT XLIB_AWT_TRUE XLIB_AWT_FALSE GTK_AWT_TRUE GTK_AWT_FALSE GTK_CAIRO_TRUE GTK_CAIRO_FALSE PKG_CONFIG CAIRO_CFLAGS CAIRO_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS GCLIBS GCINCS GCDEPS GCOBJS GCSPEC JC1GCSPEC GCTESTSPEC THREADLIBS THREADINCS THREADDEPS THREADOBJS THREADSPEC THREADLDFLAGS THREADCXXFLAGS HASH_SYNC_SPEC USING_GCC_TRUE USING_GCC_FALSE tool_include_dir gcc_version LIBICONV GTK_CFLAGS GTK_LIBS GLIB_CFLAGS GLIB_LIBS LIBART_CFLAGS LIBART_LIBS GCJH ZIP GCJ ac_ct_GCJ GCJFLAGS ZLIBS SYS_ZLIBS ZINCS DIVIDESPEC CHECKREFSPEC EXCEPTIONSPEC IEEESPEC NATIVE_TRUE NATIVE_FALSE NEEDS_DATA_START_TRUE NEEDS_DATA_START_FALSE GCC_UNWIND_INCLUDE toolexecdir toolexecmainlibdir toolexeclibdir GCJVERSION ALLOCA PERL BACKTRACESPEC SYSDEP_SOURCES here LIBOBJS LTLIBOBJS'
316 # Initialize some variables set by options.
318 ac_init_version
=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
328 program_transform_name
=s
,x
,x
,
336 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo"
338 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them.
341 bindir
='${exec_prefix}/bin'
342 sbindir
='${exec_prefix}/sbin'
343 libexecdir
='${exec_prefix}/libexec'
344 datadir
='${prefix}/share'
345 sysconfdir
='${prefix}/etc'
346 sharedstatedir
='${prefix}/com'
347 localstatedir
='${prefix}/var'
348 libdir
='${exec_prefix}/lib'
349 includedir
='${prefix}/include'
350 oldincludedir
='/usr/include'
351 infodir
='${prefix}/info'
352 mandir
='${prefix}/man'
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
364 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366 # Accept the important Cygnus configure options, so we can diagnose typos.
370 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
372 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
375 -build |
--build |
--buil |
--bui |
--bu)
376 ac_prev
=build_alias
;;
377 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
378 build_alias
=$ac_optarg ;;
380 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
381 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
382 ac_prev
=cache_file
;;
383 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
384 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
385 cache_file
=$ac_optarg ;;
388 cache_file
=config.cache
;;
390 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
392 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
394 datadir
=$ac_optarg ;;
396 -disable-* |
--disable-*)
397 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401 { (exit 1); exit 1; }; }
402 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;;
405 -enable-* |
--enable-*)
406 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410 { (exit 1); exit 1; }; }
411 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
413 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 eval "enable_$ac_feature='$ac_optarg'" ;;
418 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
419 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
420 |
--exec |
--exe |
--ex)
421 ac_prev
=exec_prefix
;;
422 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
423 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
424 |
--exec=* |
--exe=* |
--ex=*)
425 exec_prefix
=$ac_optarg ;;
427 -gas |
--gas |
--ga |
--g)
428 # Obsolete; use --with-gas.
431 -help |
--help |
--hel |
--he |
-h)
433 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
434 ac_init_help
=recursive
;;
435 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
436 ac_init_help
=short
;;
438 -host |
--host |
--hos |
--ho)
439 ac_prev
=host_alias
;;
440 -host=* |
--host=* |
--hos=* |
--ho=*)
441 host_alias
=$ac_optarg ;;
443 -includedir |
--includedir |
--includedi |
--included |
--include \
444 |
--includ |
--inclu |
--incl |
--inc)
445 ac_prev
=includedir
;;
446 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
447 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
448 includedir
=$ac_optarg ;;
450 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
452 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
453 infodir
=$ac_optarg ;;
455 -libdir |
--libdir |
--libdi |
--libd)
457 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
460 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
461 |
--libexe |
--libex |
--libe)
462 ac_prev
=libexecdir
;;
463 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
464 |
--libexe=* |
--libex=* |
--libe=*)
465 libexecdir
=$ac_optarg ;;
467 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
468 |
--localstate |
--localstat |
--localsta |
--localst \
469 |
--locals |
--local |
--loca |
--loc |
--lo)
470 ac_prev
=localstatedir
;;
471 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
472 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
473 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
474 localstatedir
=$ac_optarg ;;
476 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
478 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
482 # Obsolete; use --without-fp.
485 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
486 |
--no-cr |
--no-c |
-n)
489 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
490 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
493 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
494 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
495 |
--oldin |
--oldi |
--old |
--ol |
--o)
496 ac_prev
=oldincludedir
;;
497 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
498 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
499 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
500 oldincludedir
=$ac_optarg ;;
502 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
504 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
507 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
508 |
--program-pre |
--program-pr |
--program-p)
509 ac_prev
=program_prefix
;;
510 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
511 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
512 program_prefix
=$ac_optarg ;;
514 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
515 |
--program-suf |
--program-su |
--program-s)
516 ac_prev
=program_suffix
;;
517 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
518 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
519 program_suffix
=$ac_optarg ;;
521 -program-transform-name |
--program-transform-name \
522 |
--program-transform-nam |
--program-transform-na \
523 |
--program-transform-n |
--program-transform- \
524 |
--program-transform |
--program-transfor \
525 |
--program-transfo |
--program-transf \
526 |
--program-trans |
--program-tran \
527 |
--progr-tra |
--program-tr |
--program-t)
528 ac_prev
=program_transform_name
;;
529 -program-transform-name=* |
--program-transform-name=* \
530 |
--program-transform-nam=* |
--program-transform-na=* \
531 |
--program-transform-n=* |
--program-transform-=* \
532 |
--program-transform=* |
--program-transfor=* \
533 |
--program-transfo=* |
--program-transf=* \
534 |
--program-trans=* |
--program-tran=* \
535 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
536 program_transform_name
=$ac_optarg ;;
538 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
539 |
-silent |
--silent |
--silen |
--sile |
--sil)
542 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
544 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
546 sbindir
=$ac_optarg ;;
548 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
549 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
550 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
552 ac_prev
=sharedstatedir
;;
553 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
554 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
555 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
557 sharedstatedir
=$ac_optarg ;;
559 -site |
--site |
--sit)
561 -site=* |
--site=* |
--sit=*)
564 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
566 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
569 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
570 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
571 ac_prev
=sysconfdir
;;
572 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
573 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
574 sysconfdir
=$ac_optarg ;;
576 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
577 ac_prev
=target_alias
;;
578 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
579 target_alias
=$ac_optarg ;;
581 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
584 -version |
--version |
--versio |
--versi |
--vers |
-V)
588 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; }
593 ac_package
=`echo $ac_package| sed 's/-/_/g'`
595 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 eval "with_$ac_package='$ac_optarg'" ;;
600 -without-* |
--without-*)
601 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2
605 { (exit 1); exit 1; }; }
606 ac_package
=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;;
610 # Obsolete; use --with-x.
613 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
614 |
--x-incl |
--x-inc |
--x-in |
--x-i)
615 ac_prev
=x_includes
;;
616 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
617 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
618 x_includes
=$ac_optarg ;;
620 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
621 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
622 ac_prev
=x_libraries
;;
623 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
624 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
625 x_libraries
=$ac_optarg ;;
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629 { (exit 1); exit 1; }; }
633 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
634 # Reject names that are not valid shell variable names.
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637 { (exit 1); exit 1; }; }
638 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639 eval "$ac_envvar='$ac_optarg'"
643 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653 if test -n "$ac_prev"; then
654 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2
656 { (exit 1); exit 1; }; }
659 # Be sure to have absolute paths.
660 for ac_var
in exec_prefix prefix
662 eval ac_val
=$
`echo $ac_var`
664 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
670 # Be sure to have absolute paths.
671 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
674 eval ac_val
=$
`echo $ac_var`
676 [\\/$
]* | ?
:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
682 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc.
684 # FIXME: To remove some day.
689 # FIXME: To remove some day.
690 if test "x$host_alias" != x
; then
691 if test "x$build_alias" = x
; then
692 cross_compiling
=maybe
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694 If a cross compiler is detected then cross compile mode will be used." >&2
695 elif test "x$build_alias" != "x$host_alias"; then
701 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
703 test "$silent" = yes && exec 6>/dev
/null
706 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then
708 ac_srcdir_defaulted
=yes
709 # Try the directory containing this script, then its parent.
710 ac_confdir
=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \
715 . : '\(.\)' 2>/dev/null ||
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
723 if test ! -r $srcdir/$ac_unique_file; then
727 ac_srcdir_defaulted
=no
729 if test ! -r $srcdir/$ac_unique_file; then
730 if test "$ac_srcdir_defaulted" = yes; then
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732 { (exit 1); exit 1; }; }
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735 { (exit 1); exit 1; }; }
738 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740 { (exit 1); exit 1; }; }
741 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set
=${build_alias+set}
743 ac_env_build_alias_value
=$build_alias
744 ac_cv_env_build_alias_set
=${build_alias+set}
745 ac_cv_env_build_alias_value
=$build_alias
746 ac_env_host_alias_set
=${host_alias+set}
747 ac_env_host_alias_value
=$host_alias
748 ac_cv_env_host_alias_set
=${host_alias+set}
749 ac_cv_env_host_alias_value
=$host_alias
750 ac_env_target_alias_set
=${target_alias+set}
751 ac_env_target_alias_value
=$target_alias
752 ac_cv_env_target_alias_set
=${target_alias+set}
753 ac_cv_env_target_alias_value
=$target_alias
754 ac_env_CXXCPP_set
=${CXXCPP+set}
755 ac_env_CXXCPP_value
=$CXXCPP
756 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
757 ac_cv_env_CXXCPP_value
=$CXXCPP
758 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
759 ac_env_CPPFLAGS_value
=$CPPFLAGS
760 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
761 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
762 ac_env_CPP_set
=${CPP+set}
763 ac_env_CPP_value
=$CPP
764 ac_cv_env_CPP_set
=${CPP+set}
765 ac_cv_env_CPP_value
=$CPP
768 # Report the --help message.
770 if test "$ac_init_help" = "long"; then
771 # Omit some internal or obsolete options to make the list less imposing.
772 # This message is too long to be a string in the A/UX 3.1 sh.
774 \`configure' configures this package to adapt to many kinds of systems.
776 Usage: $0 [OPTION]... [VAR=VALUE]...
778 To assign environment variables (e.g., CC, CFLAGS...), specify them as
779 VAR=VALUE. See below for descriptions of some of the useful variables.
781 Defaults for the options are specified in brackets.
784 -h, --help display this help and exit
785 --help=short display options specific to this package
786 --help=recursive display the short help of all the included packages
787 -V, --version display version information and exit
788 -q, --quiet, --silent do not print \`checking...' messages
789 --cache-file=FILE cache test results in FILE [disabled]
790 -C, --config-cache alias for \`--cache-file=config.cache'
791 -n, --no-create do not create output files
792 --srcdir=DIR find the sources in DIR [configure dir or \`..']
797 Installation directories:
798 --prefix=PREFIX install architecture-independent files in PREFIX
800 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
803 By default, \`make install' will install all the files in
804 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
805 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
806 for instance \`--prefix=\$HOME'.
808 For better control, use the options below.
810 Fine tuning of the installation directories:
811 --bindir=DIR user executables [EPREFIX/bin]
812 --sbindir=DIR system admin executables [EPREFIX/sbin]
813 --libexecdir=DIR program executables [EPREFIX/libexec]
814 --datadir=DIR read-only architecture-independent data [PREFIX/share]
815 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
816 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
817 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
818 --libdir=DIR object code libraries [EPREFIX/lib]
819 --includedir=DIR C header files [PREFIX/include]
820 --oldincludedir=DIR C header files for non-gcc [/usr/include]
821 --infodir=DIR info documentation [PREFIX/info]
822 --mandir=DIR man documentation [PREFIX/man]
828 --program-prefix=PREFIX prepend PREFIX to installed program names
829 --program-suffix=SUFFIX append SUFFIX to installed program names
830 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
833 --x-includes=DIR X include files are
in DIR
834 --x-libraries=DIR X library files are
in DIR
837 --build=BUILD configure
for building on BUILD
[guessed
]
838 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
839 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
843 if test -n "$ac_init_help"; then
848 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
849 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
850 --enable-version-specific-runtime-libs
851 specify that runtime libraries should be installed
852 in a compiler-specific directory
853 --enable-multilib build many library versions
(default
)
854 --enable-maintainer-mode enable make rules and dependencies not useful
855 (and sometimes confusing
) to the casual installer
856 --enable-shared=PKGS build shared libraries default
=yes
857 --enable-static=PKGS build static libraries default
=yes
858 --enable-fast-install=PKGS optimize
for fast installation default
=yes
859 --disable-libtool-lock avoid locking
(might
break parallel builds
)
860 --disable-getenv-properties
861 don
't set system properties from GCJ_PROPERTIES
862 --enable-hash-synchronization
863 use global hash table for monitor locks
864 --enable-libgcj-multifile
865 allow compilation of several files at once
867 --enable-libgcj-debug enable runtime debugging code
868 --enable-interpreter enable interpreter
869 --enable-sjlj-exceptions
870 force use of builtin_setjmp for exceptions
871 --disable-java-net disable java.net
872 --disable-jvmpi disable JVMPI support
873 --enable-java-awt list of AWT peer implementations to be built
874 --enable-gtk-cairo build the cairo Graphics2D implementation on GTK
875 --enable-java-gc=TYPE choose garbage collector (default is boehm)
878 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
879 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
880 --with-target-subdir=SUBDIR
881 configure in a subdirectory
882 --with-cross-host=HOST configure with a cross compiler from HOST
883 --with-newlib configure with newlib
884 --with-gnu-ld assume the C compiler uses GNU ld default=no
885 --with-pic try to use only PIC/non-PIC objects default=use both
886 --with-win32-nlsapi=ansi or unicows or unicode
887 native MinGW libgcj Win32 OS API (default is ansi)
888 --without-libffi don't use libffi
889 --with-ecos enable runtime eCos target support
890 --with-system-zlib use installed libz
891 --with-x use the X Window System
892 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
894 Some influential environment variables
:
895 CC C compiler
command
896 CFLAGS C compiler flags
897 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
898 nonstandard directory
<lib dir
>
899 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
900 headers
in a nonstandard directory
<include dir
>
901 CXX C
++ compiler
command
902 CXXFLAGS C
++ compiler flags
903 CXXCPP C
++ preprocessor
906 Use these variables to override the choices made by
`configure' or to help
907 it to find libraries and programs with nonstandard names/locations.
912 if test "$ac_init_help" = "recursive"; then
913 # If there are subdirs, report their specific --help.
915 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
916 test -d $ac_dir || continue
919 if test "$ac_dir" != .; then
920 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
921 # A "../" for each directory in $ac_dir_suffix.
922 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
924 ac_dir_suffix= ac_top_builddir=
928 .) # No --srcdir option. We are building in place.
930 if test -z "$ac_top_builddir"; then
933 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
935 [\\/]* | ?:[\\/]* ) # Absolute path.
936 ac_srcdir=$srcdir$ac_dir_suffix;
937 ac_top_srcdir=$srcdir ;;
939 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
940 ac_top_srcdir=$ac_top_builddir$srcdir ;;
943 # Do not use `cd foo
&& pwd` to compute absolute paths, because
944 # the directories may not exist.
946 .) ac_abs_builddir="$ac_dir";;
949 .) ac_abs_builddir=`pwd`;;
950 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
951 *) ac_abs_builddir=`pwd`/"$ac_dir";;
954 case $ac_abs_builddir in
955 .) ac_abs_top_builddir=${ac_top_builddir}.;;
957 case ${ac_top_builddir}. in
958 .) ac_abs_top_builddir=$ac_abs_builddir;;
959 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
960 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
963 case $ac_abs_builddir in
964 .) ac_abs_srcdir=$ac_srcdir;;
967 .) ac_abs_srcdir=$ac_abs_builddir;;
968 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
969 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
972 case $ac_abs_builddir in
973 .) ac_abs_top_srcdir=$ac_top_srcdir;;
975 case $ac_top_srcdir in
976 .) ac_abs_top_srcdir=$ac_abs_builddir;;
977 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
978 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
983 # Check for guested configure; otherwise get Cygnus style configure.
984 if test -f $ac_srcdir/configure.gnu; then
986 $SHELL $ac_srcdir/configure.gnu --help=recursive
987 elif test -f $ac_srcdir/configure; then
989 $SHELL $ac_srcdir/configure --help=recursive
990 elif test -f $ac_srcdir/configure.ac ||
991 test -f $ac_srcdir/configure.in; then
995 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1001 test -n "$ac_init_help" && exit 0
1002 if $ac_init_version; then
1005 Copyright (C) 2003 Free Software Foundation, Inc.
1006 This configure script is free software; the Free Software Foundation
1007 gives unlimited permission to copy, distribute and modify it.
1013 This file contains any messages produced by compilers while
1014 running configure, to aid debugging if configure makes a mistake.
1016 It was created by $as_me, which was
1017 generated by GNU Autoconf 2.59. Invocation command line was
1028 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1029 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1030 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1031 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1032 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1034 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1035 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1037 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1038 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1039 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1040 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1041 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1042 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1043 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1051 test -z "$as_dir" && as_dir=.
1052 echo "PATH: $as_dir"
1067 # Keep a trace of the command line.
1068 # Strip out --no-create and --no-recursion so they do not pile up.
1069 # Strip out --silent because we don't want to record it for future runs.
1070 # Also quote any args containing shell meta-characters.
1071 # Make two passes to allow for proper duplicate-argument suppression.
1076 ac_must_keep_next=false
1082 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1083 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1084 | -silent | --silent | --silen | --sile | --sil)
1086 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1087 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1090 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1092 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1093 if test $ac_must_keep_next = true; then
1094 ac_must_keep_next=false # Got value, back to normal.
1097 *=* | --config-cache | -C | -disable-* | --disable-* \
1098 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1099 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1100 | -with-* | --with-* | -without-* | --without-* | --x)
1101 case "$ac_configure_args0 " in
1102 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1105 -* ) ac_must_keep_next=true ;;
1108 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1109 # Get rid of the leading space.
1115 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1116 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1118 # When interrupted or exit'd, cleanup temporary files, and complete
1119 # config.log. We remove comments because anyway the quotes in there
1120 # would cause problems or look ugly.
1121 # WARNING: Be sure not to use single quotes in there, as some shells,
1122 # such as our DU 5.0 friend, will then `close
' the trap.
1123 trap 'exit_status
=$?
1124 # Save into config.log some information that might help in debugging.
1129 ## ---------------- ##
1130 ## Cache variables. ##
1131 ## ---------------- ##
1134 # The following way of writing the cache mishandles newlines in values,
1137 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1140 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1141 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1145 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1152 ## ----------------- ##
1153 ## Output variables. ##
1154 ## ----------------- ##
1157 for ac_var
in $ac_subst_vars
1159 eval ac_val
=$
`echo $ac_var`
1160 echo "$ac_var='"'"'$ac_val'"'"'"
1164 if test -n "$ac_subst_files"; then
1171 for ac_var
in $ac_subst_files
1173 eval ac_val
=$
`echo $ac_var`
1174 echo "$ac_var='"'"'$ac_val'"'"'"
1179 if test -s confdefs.h
; then
1186 sed "/^$/d" confdefs.h |
sort
1189 test "$ac_signal" != 0 &&
1190 echo "$as_me: caught signal $ac_signal"
1191 echo "$as_me: exit $exit_status"
1193 rm -f core
*.core
&&
1194 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1197 for ac_signal in 1 2 13 15; do
1198 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1202 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1203 rm -rf conftest* confdefs.h
1204 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1207 # Predefined preprocessor variables.
1209 cat >>confdefs.h <<_ACEOF
1210 #define PACKAGE_NAME "$PACKAGE_NAME"
1214 cat >>confdefs.h <<_ACEOF
1215 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1219 cat >>confdefs.h <<_ACEOF
1220 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1224 cat >>confdefs.h <<_ACEOF
1225 #define PACKAGE_STRING "$PACKAGE_STRING"
1229 cat >>confdefs.h <<_ACEOF
1230 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1234 # Let the site file select an alternate cache file if it wants to.
1235 # Prefer explicitly selected file to automatically selected ones.
1236 if test -z "$CONFIG_SITE"; then
1237 if test "x$prefix" != xNONE; then
1238 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1240 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1243 for ac_site_file in $CONFIG_SITE; do
1244 if test -r "$ac_site_file"; then
1245 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1246 echo "$as_me: loading site script $ac_site_file" >&6;}
1247 sed 's
/^
/|
/' "$ac_site_file" >&5
1252 if test -r "$cache_file"; then
1253 # Some versions of bash will fail to source /dev/null (special
1254 # files actually), so we avoid doing that.
1255 if test -f "$cache_file"; then
1256 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1257 echo "$as_me: loading cache $cache_file" >&6;}
1259 [\\/]* | ?:[\\/]* ) . $cache_file;;
1260 *) . ./$cache_file;;
1264 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1265 echo "$as_me: creating cache $cache_file" >&6;}
1269 # Check that the precious variables saved in the cache have kept the same
1271 ac_cache_corrupted=false
1272 for ac_var in `(set) 2>&1 |
1273 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1274 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1275 eval ac_new_set=\$ac_env_${ac_var}_set
1276 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1277 eval ac_new_val="\$ac_env_${ac_var}_value"
1278 case $ac_old_set,$ac_new_set in
1280 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1281 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1282 ac_cache_corrupted=: ;;
1284 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1285 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1286 ac_cache_corrupted=: ;;
1289 if test "x$ac_old_val" != "x$ac_new_val"; then
1290 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1291 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1292 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1293 echo "$as_me: former value: $ac_old_val" >&2;}
1294 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1295 echo "$as_me: current value: $ac_new_val" >&2;}
1296 ac_cache_corrupted=:
1299 # Pass precious variables to config.status.
1300 if test "$ac_new_set" = set; then
1302 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1303 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1304 *) ac_arg=$ac_var=$ac_new_val ;;
1306 case " $ac_configure_args " in
1307 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1308 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1312 if $ac_cache_corrupted; then
1313 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1314 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1315 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1316 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1317 { (exit 1); exit 1; }; }
1321 ac_cpp='$CPP $CPPFLAGS'
1322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1323 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1345 # We use these options to decide which functions to include.
1347 # Check whether --with-target-subdir or --without-target-subdir was given.
1348 if test "${with_target_subdir+set}" = set; then
1349 withval="$with_target_subdir"
1353 # We may get other options which we don't document
:
1354 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1356 # When building with srcdir == objdir, links to the source files will
1357 # be created in directories within the target_subdir. We have to
1358 # adjust toplevel_srcdir accordingly, so that configure finds
1359 # install-sh and other auxiliary files that live in the top-level
1361 if test "${srcdir}" = "."; then
1362 if test -z "${with_target_subdir}"; then
1365 if test "${with_target_subdir}" != "."; then
1366 toprel
="${with_multisrctop}../.."
1368 toprel
="${with_multisrctop}.."
1375 libgcj_basedir
=$srcdir/$toprel/.
/libjava
1379 for ac_dir
in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
1380 if test -f $ac_dir/install-sh
; then
1382 ac_install_sh
="$ac_aux_dir/install-sh -c"
1384 elif test -f $ac_dir/install.sh
; then
1386 ac_install_sh
="$ac_aux_dir/install.sh -c"
1388 elif test -f $ac_dir/shtool
; then
1390 ac_install_sh
="$ac_aux_dir/shtool install -c"
1394 if test -z "$ac_aux_dir"; then
1395 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" >&5
1396 echo "$as_me: error: cannot find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" >&2;}
1397 { (exit 1); exit 1; }; }
1399 ac_config_guess="$SHELL $ac_aux_dir/config.guess
"
1400 ac_config_sub="$SHELL $ac_aux_dir/config.sub
"
1401 ac_configure="$SHELL $ac_aux_dir/configure
" # This should be Cygnus configure.
1404 # This overrides the previous occurrence for automake, but not for
1405 # autoconf, which is exactly what we want.
1407 for ac_dir in .. $srcdir/..; do
1408 if test -f $ac_dir/install-sh; then
1410 ac_install_sh="$ac_aux_dir/install-sh
-c"
1412 elif test -f $ac_dir/install.sh; then
1414 ac_install_sh="$ac_aux_dir/install.sh
-c"
1416 elif test -f $ac_dir/shtool; then
1418 ac_install_sh="$ac_aux_dir/shtool
install -c"
1422 if test -z "$ac_aux_dir"; then
1423 { { echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in ..
$srcdir/..
" >&5
1424 echo "$as_me: error
: cannot
find install-sh or
install.sh
in ..
$srcdir/..
" >&2;}
1425 { (exit 1); exit 1; }; }
1427 ac_config_guess="$SHELL $ac_aux_dir/config.guess
"
1428 ac_config_sub="$SHELL $ac_aux_dir/config.sub
"
1429 ac_configure="$SHELL $ac_aux_dir/configure
" # This should be Cygnus configure.
1433 # Make sure we can run config.sub.
1434 $ac_config_sub sun4 >/dev/null 2>&1 ||
1435 { { echo "$as_me:$LINENO: error
: cannot run
$ac_config_sub" >&5
1436 echo "$as_me: error
: cannot run
$ac_config_sub" >&2;}
1437 { (exit 1); exit 1; }; }
1439 echo "$as_me:$LINENO: checking build system
type" >&5
1440 echo $ECHO_N "checking build system
type...
$ECHO_C" >&6
1441 if test "${ac_cv_build+set}" = set; then
1442 echo $ECHO_N "(cached
) $ECHO_C" >&6
1444 ac_cv_build_alias=$build_alias
1445 test -z "$ac_cv_build_alias" &&
1446 ac_cv_build_alias=`$ac_config_guess`
1447 test -z "$ac_cv_build_alias" &&
1448 { { echo "$as_me:$LINENO: error
: cannot guess build
type; you must specify one
" >&5
1449 echo "$as_me: error
: cannot guess build
type; you must specify one
" >&2;}
1450 { (exit 1); exit 1; }; }
1451 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1452 { { echo "$as_me:$LINENO: error
: $ac_config_sub $ac_cv_build_alias failed
" >&5
1453 echo "$as_me: error
: $ac_config_sub $ac_cv_build_alias failed
" >&2;}
1454 { (exit 1); exit 1; }; }
1457 echo "$as_me:$LINENO: result
: $ac_cv_build" >&5
1458 echo "${ECHO_T}$ac_cv_build" >&6
1460 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1461 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1462 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1465 echo "$as_me:$LINENO: checking
host system
type" >&5
1466 echo $ECHO_N "checking
host system
type...
$ECHO_C" >&6
1467 if test "${ac_cv_host+set}" = set; then
1468 echo $ECHO_N "(cached
) $ECHO_C" >&6
1470 ac_cv_host_alias=$host_alias
1471 test -z "$ac_cv_host_alias" &&
1472 ac_cv_host_alias=$ac_cv_build_alias
1473 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1474 { { echo "$as_me:$LINENO: error
: $ac_config_sub $ac_cv_host_alias failed
" >&5
1475 echo "$as_me: error
: $ac_config_sub $ac_cv_host_alias failed
" >&2;}
1476 { (exit 1); exit 1; }; }
1479 echo "$as_me:$LINENO: result
: $ac_cv_host" >&5
1480 echo "${ECHO_T}$ac_cv_host" >&6
1482 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1483 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1484 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1487 echo "$as_me:$LINENO: checking target system
type" >&5
1488 echo $ECHO_N "checking target system
type...
$ECHO_C" >&6
1489 if test "${ac_cv_target+set}" = set; then
1490 echo $ECHO_N "(cached
) $ECHO_C" >&6
1492 ac_cv_target_alias=$target_alias
1493 test "x
$ac_cv_target_alias" = "x
" &&
1494 ac_cv_target_alias=$ac_cv_host_alias
1495 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1496 { { echo "$as_me:$LINENO: error
: $ac_config_sub $ac_cv_target_alias failed
" >&5
1497 echo "$as_me: error
: $ac_config_sub $ac_cv_target_alias failed
" >&2;}
1498 { (exit 1); exit 1; }; }
1501 echo "$as_me:$LINENO: result
: $ac_cv_target" >&5
1502 echo "${ECHO_T}$ac_cv_target" >&6
1503 target=$ac_cv_target
1504 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1505 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1506 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1509 # The aliases save the names the user supplied, while $host etc.
1510 # will get canonicalized.
1511 test -n "$target_alias" &&
1512 test "$program_prefix$program_suffix$program_transform_name" = \
1514 program_prefix=${target_alias}-
1515 case ${build_alias} in
1516 "") build_noncanonical=${build} ;;
1517 *) build_noncanonical=${build_alias} ;;
1520 case ${host_alias} in
1521 "") host_noncanonical=${build_noncanonical} ;;
1522 *) host_noncanonical=${host_alias} ;;
1525 case ${target_alias} in
1526 "") target_noncanonical=${host_noncanonical} ;;
1527 *) target_noncanonical=${target_alias} ;;
1533 # This works around the fact that libtool configuration may change LD
1534 # for this particular configuration, but some shells, instead of
1535 # keeping the changes in LD private, export them just because LD is
1537 ORIGINAL_LD_FOR_MULTILIBS=$LD
1539 echo "$as_me:$LINENO: checking whether
ln -s works
" >&5
1540 echo $ECHO_N "checking whether
ln -s works...
$ECHO_C" >&6
1542 if test "$LN_S" = "ln -s"; then
1543 echo "$as_me:$LINENO: result
: yes" >&5
1544 echo "${ECHO_T}yes" >&6
1546 echo "$as_me:$LINENO: result
: no
, using
$LN_S" >&5
1547 echo "${ECHO_T}no
, using
$LN_S" >&6
1551 # This works around an automake problem.
1552 mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs
"
1556 # Check whether --with-cross-host or --without-cross-host was given.
1557 if test "${with_cross_host+set}" = set; then
1558 withval="$with_cross_host"
1563 # Check whether --with-newlib or --without-newlib was given.
1564 if test "${with_newlib+set}" = set; then
1565 withval="$with_newlib"
1569 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1570 if test "${enable_version_specific_runtime_libs+set}" = set; then
1571 enableval="$enable_version_specific_runtime_libs"
1572 case "$enableval" in
1573 yes) version_specific_libs=yes ;;
1574 no) version_specific_libs=no ;;
1575 *) { { echo "$as_me:$LINENO: error
: Unknown argument to enable
/disable version-specific libs
" >&5
1576 echo "$as_me: error
: Unknown argument to enable
/disable version-specific libs
" >&2;}
1577 { (exit 1); exit 1; }; };;
1580 version_specific_libs=no
1584 # Default to --enable-multilib
1585 # Check whether --enable-multilib or --disable-multilib was given.
1586 if test "${enable_multilib+set}" = set; then
1587 enableval="$enable_multilib"
1588 case "${enableval}" in
1589 yes) multilib=yes ;;
1591 *) { { echo "$as_me:$LINENO: error
: bad value
${enableval} for multilib option
" >&5
1592 echo "$as_me: error
: bad value
${enableval} for multilib option
" >&2;}
1593 { (exit 1); exit 1; }; } ;;
1598 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
1601 # (1) We use an abnormal CXX (without library references), so we
1602 # must cache it under a different name.
1603 # (2) CC, CFLAGS, CXX, CXXFLAGS, LDFLAGS must not be 'precious', or
1604 # the non-multilib-adjusted value will be used in multilibs.
1605 # (3) As a side effect, we must SUBST CXXFLAGS, CFLAGS, and LDFLAGS ourselves.
1606 # (4) As another side effect, automake doesn't automatically include them
1608 # (5) For libstdc++-v3, -fno-builtin must be present here so that a
1609 # non-conflicting form of std::exit can be guessed by AC_PROG_CXX, and
1610 # used in later tests. This may not be necessary in libjava; I don't know.
1614 save_CXXFLAGS="$CXXFLAGS"
1615 CXXFLAGS="$CXXFLAGS -fno-builtin"
1617 ac_cpp='$CPP $CPPFLAGS'
1618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1621 if test -n "$ac_tool_prefix"; then
1622 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
1623 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1624 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1625 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1626 if test "${ac_cv_prog_CC+set}" = set; then
1627 echo $ECHO_N "(cached
) $ECHO_C" >&6
1629 if test -n "$CC"; then
1630 ac_cv_prog_CC="$CC" # Let the user override the test.
1632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1636 test -z "$as_dir" && as_dir=.
1637 for ac_exec_ext in '' $ac_executable_extensions; do
1638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1639 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
1640 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1649 if test -n "$CC"; then
1650 echo "$as_me:$LINENO: result
: $CC" >&5
1651 echo "${ECHO_T}$CC" >&6
1653 echo "$as_me:$LINENO: result
: no
" >&5
1654 echo "${ECHO_T}no
" >&6
1658 if test -z "$ac_cv_prog_CC"; then
1660 # Extract the first word of "gcc
", so it can be a program name with args.
1661 set dummy gcc; ac_word=$2
1662 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1663 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1664 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1665 echo $ECHO_N "(cached
) $ECHO_C" >&6
1667 if test -n "$ac_ct_CC"; then
1668 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1674 test -z "$as_dir" && as_dir=.
1675 for ac_exec_ext in '' $ac_executable_extensions; do
1676 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1677 ac_cv_prog_ac_ct_CC="gcc
"
1678 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1686 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1687 if test -n "$ac_ct_CC"; then
1688 echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
1689 echo "${ECHO_T}$ac_ct_CC" >&6
1691 echo "$as_me:$LINENO: result
: no
" >&5
1692 echo "${ECHO_T}no
" >&6
1700 if test -z "$CC"; then
1701 if test -n "$ac_tool_prefix"; then
1702 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
1703 set dummy ${ac_tool_prefix}cc; ac_word=$2
1704 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1705 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1706 if test "${ac_cv_prog_CC+set}" = set; then
1707 echo $ECHO_N "(cached
) $ECHO_C" >&6
1709 if test -n "$CC"; then
1710 ac_cv_prog_CC="$CC" # Let the user override the test.
1712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1716 test -z "$as_dir" && as_dir=.
1717 for ac_exec_ext in '' $ac_executable_extensions; do
1718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1719 ac_cv_prog_CC="${ac_tool_prefix}cc
"
1720 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1729 if test -n "$CC"; then
1730 echo "$as_me:$LINENO: result
: $CC" >&5
1731 echo "${ECHO_T}$CC" >&6
1733 echo "$as_me:$LINENO: result
: no
" >&5
1734 echo "${ECHO_T}no
" >&6
1738 if test -z "$ac_cv_prog_CC"; then
1740 # Extract the first word of "cc
", so it can be a program name with args.
1741 set dummy cc; ac_word=$2
1742 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1743 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1744 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1745 echo $ECHO_N "(cached
) $ECHO_C" >&6
1747 if test -n "$ac_ct_CC"; then
1748 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1754 test -z "$as_dir" && as_dir=.
1755 for ac_exec_ext in '' $ac_executable_extensions; do
1756 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1757 ac_cv_prog_ac_ct_CC="cc
"
1758 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1766 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1767 if test -n "$ac_ct_CC"; then
1768 echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
1769 echo "${ECHO_T}$ac_ct_CC" >&6
1771 echo "$as_me:$LINENO: result
: no
" >&5
1772 echo "${ECHO_T}no
" >&6
1781 if test -z "$CC"; then
1782 # Extract the first word of "cc
", so it can be a program name with args.
1783 set dummy cc; ac_word=$2
1784 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1785 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1786 if test "${ac_cv_prog_CC+set}" = set; then
1787 echo $ECHO_N "(cached
) $ECHO_C" >&6
1789 if test -n "$CC"; then
1790 ac_cv_prog_CC="$CC" # Let the user override the test.
1793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1797 test -z "$as_dir" && as_dir=.
1798 for ac_exec_ext in '' $ac_executable_extensions; do
1799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1800 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
1801 ac_prog_rejected=yes
1805 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1811 if test $ac_prog_rejected = yes; then
1812 # We found a bogon in the path, so make sure we never use it.
1813 set dummy $ac_cv_prog_CC
1815 if test $# != 0; then
1816 # We chose a different compiler from the bogus one.
1817 # However, it has the same basename, so the bogon will be chosen
1818 # first if we set CC to just the basename; use the full file name.
1820 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
1826 if test -n "$CC"; then
1827 echo "$as_me:$LINENO: result
: $CC" >&5
1828 echo "${ECHO_T}$CC" >&6
1830 echo "$as_me:$LINENO: result
: no
" >&5
1831 echo "${ECHO_T}no
" >&6
1835 if test -z "$CC"; then
1836 if test -n "$ac_tool_prefix"; then
1839 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1840 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1841 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1842 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1843 if test "${ac_cv_prog_CC+set}" = set; then
1844 echo $ECHO_N "(cached
) $ECHO_C" >&6
1846 if test -n "$CC"; then
1847 ac_cv_prog_CC="$CC" # Let the user override the test.
1849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1853 test -z "$as_dir" && as_dir=.
1854 for ac_exec_ext in '' $ac_executable_extensions; do
1855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1856 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1857 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1866 if test -n "$CC"; then
1867 echo "$as_me:$LINENO: result
: $CC" >&5
1868 echo "${ECHO_T}$CC" >&6
1870 echo "$as_me:$LINENO: result
: no
" >&5
1871 echo "${ECHO_T}no
" >&6
1874 test -n "$CC" && break
1877 if test -z "$CC"; then
1881 # Extract the first word of "$ac_prog", so it can be a program name with args.
1882 set dummy $ac_prog; ac_word=$2
1883 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1884 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1885 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1886 echo $ECHO_N "(cached
) $ECHO_C" >&6
1888 if test -n "$ac_ct_CC"; then
1889 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1895 test -z "$as_dir" && as_dir=.
1896 for ac_exec_ext in '' $ac_executable_extensions; do
1897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1898 ac_cv_prog_ac_ct_CC="$ac_prog"
1899 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1907 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1908 if test -n "$ac_ct_CC"; then
1909 echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
1910 echo "${ECHO_T}$ac_ct_CC" >&6
1912 echo "$as_me:$LINENO: result
: no
" >&5
1913 echo "${ECHO_T}no
" >&6
1916 test -n "$ac_ct_CC" && break
1925 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
1926 See \
`config.log' for more details." >&5
1927 echo "$as_me: error: no acceptable C compiler found in \$PATH
1928 See \`config.log
' for more details." >&2;}
1929 { (exit 1); exit 1; }; }
1931 # Provide some information about the compiler.
1932 echo "$as_me:$LINENO:" \
1933 "checking for C compiler version" >&5
1934 ac_compiler=`set X $ac_compile; echo $2`
1935 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1936 (eval $ac_compiler --version </dev/null >&5) 2>&5
1938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1939 (exit $ac_status); }
1940 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1941 (eval $ac_compiler -v </dev/null >&5) 2>&5
1943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1944 (exit $ac_status); }
1945 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1946 (eval $ac_compiler -V </dev/null >&5) 2>&5
1948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1949 (exit $ac_status); }
1951 cat >conftest.$ac_ext <<_ACEOF
1954 cat confdefs.h >>conftest.$ac_ext
1955 cat >>conftest.$ac_ext <<_ACEOF
1956 /* end confdefs.h. */
1967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1968 (eval $ac_link) 2>&5
1970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1971 (exit $ac_status); }; then
1977 if test x$gcc_no_link = xyes; then
1978 # Setting cross_compile will disable run tests; it will
1979 # also disable AC_CHECK_FILE but that's generally
1980 # correct if we can't link.
1984 cat >conftest.
$ac_ext <<_ACEOF
1987 cat confdefs.h
>>conftest.
$ac_ext
1988 cat >>conftest.
$ac_ext <<_ACEOF
1989 /* end confdefs.h. */
1999 ac_clean_files_save
=$ac_clean_files
2000 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2001 # Try to create an executable without -o first, disregard a.out.
2002 # It will help us diagnose broken compilers, and finding out an intuition
2004 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2005 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2006 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2007 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2008 (eval $ac_link_default) 2>&5
2010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2011 (exit $ac_status); }; then
2012 # Find the output, starting from the most likely. This scheme is
2013 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2016 # Be careful to initialize this variable, since it used to be cached.
2017 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2019 # b.out is created by i960 compilers.
2020 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2022 test -f "$ac_file" ||
continue
2024 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2027 # This is the source file.
2030 # We found the default executable, but exeext='' is most
2034 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2035 # FIXME: I believe we export ac_cv_exeext for Libtool,
2036 # but it would be cool to find out if it's true. Does anybody
2037 # maintain Libtool? --akim.
2045 echo "$as_me: failed program was:" >&5
2046 sed 's/^/| /' conftest.
$ac_ext >&5
2048 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2049 See \`config.log' for more details." >&5
2050 echo "$as_me: error: C compiler cannot create executables
2051 See \`config.log' for more details." >&2;}
2052 { (exit 77); exit 77; }; }
2055 ac_exeext
=$ac_cv_exeext
2056 echo "$as_me:$LINENO: result: $ac_file" >&5
2057 echo "${ECHO_T}$ac_file" >&6
2059 # Check the compiler produces executables we can run. If not, either
2060 # the compiler is broken, or we cross compile.
2061 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2062 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2063 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2064 # If not cross compiling, check that we can run a simple program.
2065 if test "$cross_compiling" != yes; then
2066 if { ac_try
='./$ac_file'
2067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2071 (exit $ac_status); }; }; then
2074 if test "$cross_compiling" = maybe
; then
2077 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2078 If you meant to cross compile, use \`--host'.
2079 See \`config.log' for more details." >&5
2080 echo "$as_me: error: cannot run C compiled programs.
2081 If you meant to cross compile, use \`--host'.
2082 See \`config.log' for more details." >&2;}
2083 { (exit 1); exit 1; }; }
2087 echo "$as_me:$LINENO: result: yes" >&5
2088 echo "${ECHO_T}yes" >&6
2090 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2091 ac_clean_files
=$ac_clean_files_save
2092 # Check the compiler produces executables we can run. If not, either
2093 # the compiler is broken, or we cross compile.
2094 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2095 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2096 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2097 echo "${ECHO_T}$cross_compiling" >&6
2099 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2100 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2102 (eval $ac_link) 2>&5
2104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2105 (exit $ac_status); }; then
2106 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2107 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2108 # work properly (i.e., refer to `conftest.exe'), while it won't with
2110 for ac_file
in conftest.exe conftest conftest.
*; do
2111 test -f "$ac_file" ||
continue
2113 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2114 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2121 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2122 See \`config.log' for more details." >&5
2123 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2124 See \`config.log' for more details." >&2;}
2125 { (exit 1); exit 1; }; }
2128 rm -f conftest
$ac_cv_exeext
2129 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2130 echo "${ECHO_T}$ac_cv_exeext" >&6
2132 rm -f conftest.
$ac_ext
2133 EXEEXT
=$ac_cv_exeext
2136 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2137 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2138 if test "${ac_cv_objext+set}" = set; then
2139 echo $ECHO_N "(cached) $ECHO_C" >&6
2141 cat >conftest.
$ac_ext <<_ACEOF
2144 cat confdefs.h
>>conftest.
$ac_ext
2145 cat >>conftest.
$ac_ext <<_ACEOF
2146 /* end confdefs.h. */
2156 rm -f conftest.o conftest.obj
2157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2158 (eval $ac_compile) 2>&5
2160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2161 (exit $ac_status); }; then
2162 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2164 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2165 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2170 echo "$as_me: failed program was:" >&5
2171 sed 's/^/| /' conftest.
$ac_ext >&5
2173 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2174 See \`config.log' for more details." >&5
2175 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2176 See \`config.log' for more details." >&2;}
2177 { (exit 1); exit 1; }; }
2180 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2182 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2183 echo "${ECHO_T}$ac_cv_objext" >&6
2184 OBJEXT
=$ac_cv_objext
2186 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2187 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2188 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2189 echo $ECHO_N "(cached) $ECHO_C" >&6
2191 cat >conftest.
$ac_ext <<_ACEOF
2194 cat confdefs.h
>>conftest.
$ac_ext
2195 cat >>conftest.
$ac_ext <<_ACEOF
2196 /* end confdefs.h. */
2209 rm -f conftest.
$ac_objext
2210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2211 (eval $ac_compile) 2>conftest.er1
2213 grep -v '^ *+' conftest.er1
>conftest.err
2215 cat conftest.err
>&5
2216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2217 (exit $ac_status); } &&
2218 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2223 (exit $ac_status); }; } &&
2224 { ac_try
='test -s conftest.$ac_objext'
2225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2229 (exit $ac_status); }; }; then
2232 echo "$as_me: failed program was:" >&5
2233 sed 's/^/| /' conftest.
$ac_ext >&5
2237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2238 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2241 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2242 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2243 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2244 ac_test_CFLAGS
=${CFLAGS+set}
2245 ac_save_CFLAGS
=$CFLAGS
2247 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2248 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2249 if test "${ac_cv_prog_cc_g+set}" = set; then
2250 echo $ECHO_N "(cached) $ECHO_C" >&6
2252 cat >conftest.
$ac_ext <<_ACEOF
2255 cat confdefs.h
>>conftest.
$ac_ext
2256 cat >>conftest.
$ac_ext <<_ACEOF
2257 /* end confdefs.h. */
2267 rm -f conftest.
$ac_objext
2268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2269 (eval $ac_compile) 2>conftest.er1
2271 grep -v '^ *+' conftest.er1
>conftest.err
2273 cat conftest.err
>&5
2274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275 (exit $ac_status); } &&
2276 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2281 (exit $ac_status); }; } &&
2282 { ac_try
='test -s conftest.$ac_objext'
2283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2287 (exit $ac_status); }; }; then
2290 echo "$as_me: failed program was:" >&5
2291 sed 's/^/| /' conftest.
$ac_ext >&5
2295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2297 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2298 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2299 if test "$ac_test_CFLAGS" = set; then
2300 CFLAGS
=$ac_save_CFLAGS
2301 elif test $ac_cv_prog_cc_g = yes; then
2302 if test "$GCC" = yes; then
2308 if test "$GCC" = yes; then
2314 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2315 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2316 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2317 echo $ECHO_N "(cached) $ECHO_C" >&6
2319 ac_cv_prog_cc_stdc
=no
2321 cat >conftest.
$ac_ext <<_ACEOF
2324 cat confdefs.h
>>conftest.
$ac_ext
2325 cat >>conftest.
$ac_ext <<_ACEOF
2326 /* end confdefs.h. */
2329 #include <sys/types.h>
2330 #include <sys/stat.h>
2331 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2332 struct buf { int x; };
2333 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2334 static char *e (p, i)
2340 static char *f (char * (*g) (char **, int), char **p, ...)
2345 s = g (p, va_arg (v,int));
2350 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2351 function prototypes and stuff, but not '\xHH' hex character constants.
2352 These don't provoke an error unfortunately, instead are silently treated
2353 as 'x'. The following induces an error, until -std1 is added to get
2354 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2355 array size at least. It's necessary to write '\x00'==0 to get something
2356 that's true only with -std1. */
2357 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2359 int test (int i, double x);
2360 struct s1 {int (*f) (int a);};
2361 struct s2 {int (*f) (double a);};
2362 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2368 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2373 # Don't try gcc -ansi; that turns off useful extensions and
2374 # breaks some systems' header files.
2375 # AIX -qlanglvl=ansi
2376 # Ultrix and OSF/1 -std1
2377 # HP-UX 10.20 and later -Ae
2378 # HP-UX older versions -Aa -D_HPUX_SOURCE
2379 # SVR4 -Xc -D__EXTENSIONS__
2380 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2382 CC
="$ac_save_CC $ac_arg"
2383 rm -f conftest.
$ac_objext
2384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2385 (eval $ac_compile) 2>conftest.er1
2387 grep -v '^ *+' conftest.er1
>conftest.err
2389 cat conftest.err
>&5
2390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391 (exit $ac_status); } &&
2392 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397 (exit $ac_status); }; } &&
2398 { ac_try
='test -s conftest.$ac_objext'
2399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403 (exit $ac_status); }; }; then
2404 ac_cv_prog_cc_stdc
=$ac_arg
2407 echo "$as_me: failed program was:" >&5
2408 sed 's/^/| /' conftest.
$ac_ext >&5
2411 rm -f conftest.err conftest.
$ac_objext
2413 rm -f conftest.
$ac_ext conftest.
$ac_objext
2418 case "x$ac_cv_prog_cc_stdc" in
2420 echo "$as_me:$LINENO: result: none needed" >&5
2421 echo "${ECHO_T}none needed" >&6 ;;
2423 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2424 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2425 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2428 # Some people use a C++ compiler to compile C. Since we use `exit',
2429 # in C++ we need to declare it. In case someone uses the same compiler
2430 # for both compiling C and C++ we need to have the C++ compiler decide
2431 # the declaration of exit, since it's the most demanding environment.
2432 cat >conftest.
$ac_ext <<_ACEOF
2437 rm -f conftest.
$ac_objext
2438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2439 (eval $ac_compile) 2>conftest.er1
2441 grep -v '^ *+' conftest.er1
>conftest.err
2443 cat conftest.err
>&5
2444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2445 (exit $ac_status); } &&
2446 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2451 (exit $ac_status); }; } &&
2452 { ac_try
='test -s conftest.$ac_objext'
2453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); }; }; then
2458 for ac_declaration
in \
2460 'extern "C" void std::exit (int) throw (); using std::exit;' \
2461 'extern "C" void std::exit (int); using std::exit;' \
2462 'extern "C" void exit (int) throw ();' \
2463 'extern "C" void exit (int);' \
2466 cat >conftest.
$ac_ext <<_ACEOF
2469 cat confdefs.h
>>conftest.
$ac_ext
2470 cat >>conftest.
$ac_ext <<_ACEOF
2471 /* end confdefs.h. */
2482 rm -f conftest.
$ac_objext
2483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2484 (eval $ac_compile) 2>conftest.er1
2486 grep -v '^ *+' conftest.er1
>conftest.err
2488 cat conftest.err
>&5
2489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2490 (exit $ac_status); } &&
2491 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2496 (exit $ac_status); }; } &&
2497 { ac_try
='test -s conftest.$ac_objext'
2498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); }; }; then
2505 echo "$as_me: failed program was:" >&5
2506 sed 's/^/| /' conftest.
$ac_ext >&5
2510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2511 cat >conftest.
$ac_ext <<_ACEOF
2514 cat confdefs.h
>>conftest.
$ac_ext
2515 cat >>conftest.
$ac_ext <<_ACEOF
2516 /* end confdefs.h. */
2526 rm -f conftest.
$ac_objext
2527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2528 (eval $ac_compile) 2>conftest.er1
2530 grep -v '^ *+' conftest.er1
>conftest.err
2532 cat conftest.err
>&5
2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534 (exit $ac_status); } &&
2535 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); }; } &&
2541 { ac_try
='test -s conftest.$ac_objext'
2542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546 (exit $ac_status); }; }; then
2549 echo "$as_me: failed program was:" >&5
2550 sed 's/^/| /' conftest.
$ac_ext >&5
2553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2556 if test -n "$ac_declaration"; then
2557 echo '#ifdef __cplusplus' >>confdefs.h
2558 echo $ac_declaration >>confdefs.h
2559 echo '#endif' >>confdefs.h
2563 echo "$as_me: failed program was:" >&5
2564 sed 's/^/| /' conftest.
$ac_ext >&5
2567 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2569 ac_cpp
='$CPP $CPPFLAGS'
2570 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2571 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2572 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2575 ac_cpp
='$CXXCPP $CPPFLAGS'
2576 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2577 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2578 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2579 if test -n "$ac_tool_prefix"; then
2580 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2582 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2583 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2584 echo "$as_me:$LINENO: checking for $ac_word" >&5
2585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2586 if test "${glibcxx_cv_prog_CXX+set}" = set; then
2587 echo $ECHO_N "(cached) $ECHO_C" >&6
2589 if test -n "$CXX"; then
2590 glibcxx_cv_prog_CXX
="$CXX" # Let the user override the test.
2592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2596 test -z "$as_dir" && as_dir
=.
2597 for ac_exec_ext
in '' $ac_executable_extensions; do
2598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2599 glibcxx_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2608 CXX
=$glibcxx_cv_prog_CXX
2609 if test -n "$CXX"; then
2610 echo "$as_me:$LINENO: result: $CXX" >&5
2611 echo "${ECHO_T}$CXX" >&6
2613 echo "$as_me:$LINENO: result: no" >&5
2614 echo "${ECHO_T}no" >&6
2617 test -n "$CXX" && break
2620 if test -z "$CXX"; then
2622 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2624 # Extract the first word of "$ac_prog", so it can be a program name with args.
2625 set dummy
$ac_prog; ac_word
=$2
2626 echo "$as_me:$LINENO: checking for $ac_word" >&5
2627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2628 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2629 echo $ECHO_N "(cached) $ECHO_C" >&6
2631 if test -n "$ac_ct_CXX"; then
2632 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2638 test -z "$as_dir" && as_dir
=.
2639 for ac_exec_ext
in '' $ac_executable_extensions; do
2640 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2641 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2650 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2651 if test -n "$ac_ct_CXX"; then
2652 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2653 echo "${ECHO_T}$ac_ct_CXX" >&6
2655 echo "$as_me:$LINENO: result: no" >&5
2656 echo "${ECHO_T}no" >&6
2659 test -n "$ac_ct_CXX" && break
2661 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2667 # Provide some information about the compiler.
2668 echo "$as_me:$LINENO:" \
2669 "checking for C++ compiler version" >&5
2670 ac_compiler
=`set X $ac_compile; echo $2`
2671 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2672 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2675 (exit $ac_status); }
2676 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2677 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); }
2681 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2682 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); }
2687 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2688 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2689 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2690 echo $ECHO_N "(cached) $ECHO_C" >&6
2692 cat >conftest.
$ac_ext <<_ACEOF
2695 cat confdefs.h
>>conftest.
$ac_ext
2696 cat >>conftest.
$ac_ext <<_ACEOF
2697 /* end confdefs.h. */
2710 rm -f conftest.
$ac_objext
2711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2712 (eval $ac_compile) 2>conftest.er1
2714 grep -v '^ *+' conftest.er1
>conftest.err
2716 cat conftest.err
>&5
2717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2718 (exit $ac_status); } &&
2719 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724 (exit $ac_status); }; } &&
2725 { ac_try
='test -s conftest.$ac_objext'
2726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 (exit $ac_status); }; }; then
2733 echo "$as_me: failed program was:" >&5
2734 sed 's/^/| /' conftest.
$ac_ext >&5
2738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2739 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2742 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2743 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2744 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2745 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2746 ac_save_CXXFLAGS
=$CXXFLAGS
2748 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2749 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2750 if test "${ac_cv_prog_cxx_g+set}" = set; then
2751 echo $ECHO_N "(cached) $ECHO_C" >&6
2753 cat >conftest.
$ac_ext <<_ACEOF
2756 cat confdefs.h
>>conftest.
$ac_ext
2757 cat >>conftest.
$ac_ext <<_ACEOF
2758 /* end confdefs.h. */
2768 rm -f conftest.
$ac_objext
2769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2770 (eval $ac_compile) 2>conftest.er1
2772 grep -v '^ *+' conftest.er1
>conftest.err
2774 cat conftest.err
>&5
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); } &&
2777 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2782 (exit $ac_status); }; } &&
2783 { ac_try
='test -s conftest.$ac_objext'
2784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); }; }; then
2789 ac_cv_prog_cxx_g
=yes
2791 echo "$as_me: failed program was:" >&5
2792 sed 's/^/| /' conftest.
$ac_ext >&5
2796 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2798 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2799 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2800 if test "$ac_test_CXXFLAGS" = set; then
2801 CXXFLAGS
=$ac_save_CXXFLAGS
2802 elif test $ac_cv_prog_cxx_g = yes; then
2803 if test "$GXX" = yes; then
2809 if test "$GXX" = yes; then
2815 for ac_declaration
in \
2817 'extern "C" void std::exit (int) throw (); using std::exit;' \
2818 'extern "C" void std::exit (int); using std::exit;' \
2819 'extern "C" void exit (int) throw ();' \
2820 'extern "C" void exit (int);' \
2823 cat >conftest.
$ac_ext <<_ACEOF
2826 cat confdefs.h
>>conftest.
$ac_ext
2827 cat >>conftest.
$ac_ext <<_ACEOF
2828 /* end confdefs.h. */
2839 rm -f conftest.
$ac_objext
2840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2841 (eval $ac_compile) 2>conftest.er1
2843 grep -v '^ *+' conftest.er1
>conftest.err
2845 cat conftest.err
>&5
2846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847 (exit $ac_status); } &&
2848 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853 (exit $ac_status); }; } &&
2854 { ac_try
='test -s conftest.$ac_objext'
2855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2859 (exit $ac_status); }; }; then
2862 echo "$as_me: failed program was:" >&5
2863 sed 's/^/| /' conftest.
$ac_ext >&5
2867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2868 cat >conftest.
$ac_ext <<_ACEOF
2871 cat confdefs.h
>>conftest.
$ac_ext
2872 cat >>conftest.
$ac_ext <<_ACEOF
2873 /* end confdefs.h. */
2883 rm -f conftest.
$ac_objext
2884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2885 (eval $ac_compile) 2>conftest.er1
2887 grep -v '^ *+' conftest.er1
>conftest.err
2889 cat conftest.err
>&5
2890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2891 (exit $ac_status); } &&
2892 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2897 (exit $ac_status); }; } &&
2898 { ac_try
='test -s conftest.$ac_objext'
2899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903 (exit $ac_status); }; }; then
2906 echo "$as_me: failed program was:" >&5
2907 sed 's/^/| /' conftest.
$ac_ext >&5
2910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2913 if test -n "$ac_declaration"; then
2914 echo '#ifdef __cplusplus' >>confdefs.h
2915 echo $ac_declaration >>confdefs.h
2916 echo '#endif' >>confdefs.h
2920 ac_cpp
='$CPP $CPPFLAGS'
2921 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2922 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2923 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2925 CXXFLAGS
="$save_CXXFLAGS"
2931 # version is pulled out to make it a bit easier to change using sed.
2933 # Still use "libjava" here to placate dejagnu.
2934 # Find a good install program. We prefer a C program (faster),
2935 # so one script is as good as another. But avoid the broken or
2936 # incompatible versions:
2937 # SysV /etc/install, /usr/sbin/install
2938 # SunOS /usr/etc/install
2939 # IRIX /sbin/install
2941 # AmigaOS /C/install, which installs bootblocks on floppy discs
2942 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2943 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2944 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2945 # OS/2's system install, which has a completely different semantic
2946 # ./install, which can be erroneously created by make from ./install.sh.
2947 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2948 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2949 if test -z "$INSTALL"; then
2950 if test "${ac_cv_path_install+set}" = set; then
2951 echo $ECHO_N "(cached) $ECHO_C" >&6
2953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2957 test -z "$as_dir" && as_dir
=.
2958 # Account for people who put trailing slashes in PATH elements.
2960 .
/ | .
// |
/cC
/* | \
2961 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2962 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2965 # OSF1 and SCO ODT 3.0 have their own names for install.
2966 # Don't use installbsd from OSF since it installs stuff as root
2968 for ac_prog
in ginstall scoinst
install; do
2969 for ac_exec_ext
in '' $ac_executable_extensions; do
2970 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2971 if test $ac_prog = install &&
2972 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2973 # AIX install. It has an incompatible calling convention.
2975 elif test $ac_prog = install &&
2976 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2977 # program-specific install script used by HP pwplus--don't use.
2980 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2992 if test "${ac_cv_path_install+set}" = set; then
2993 INSTALL
=$ac_cv_path_install
2995 # As a last resort, use the slow shell script. We don't cache a
2996 # path for INSTALL within a source directory, because that will
2997 # break other packages using the cache if that directory is
2998 # removed, or if the path is relative.
2999 INSTALL
=$ac_install_sh
3002 echo "$as_me:$LINENO: result: $INSTALL" >&5
3003 echo "${ECHO_T}$INSTALL" >&6
3005 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3006 # It thinks the first close brace ends the variable substitution.
3007 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3009 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3011 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3013 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3014 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
3017 echo timestamp
> conftestfile
3018 # Do `set' in a subshell so we don't clobber the current shell's
3019 # arguments. Must try -L first in case configure is actually a
3020 # symlink; some systems play weird games with the mod time of symlinks
3021 # (eg FreeBSD returns the mod time of the symlink's containing
3024 set X
`ls -Lt $srcdir/configure conftestfile 2> /dev/null`
3025 if test "$*" = "X"; then
3027 set X
`ls -t $srcdir/configure conftestfile`
3029 if test "$*" != "X $srcdir/configure conftestfile" \
3030 && test "$*" != "X conftestfile $srcdir/configure"; then
3032 # If neither matched, then we have a broken ls. This can happen
3033 # if, for instance, CONFIG_SHELL is bash and it inherits a
3034 # broken ls alias from the environment. This has actually
3035 # happened. Such a system could not be considered "sane".
3036 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
3037 alias in your environment" >&5
3038 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
3039 alias in your environment" >&2;}
3040 { (exit 1); exit 1; }; }
3043 test "$2" = conftestfile
3049 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3050 Check your system clock" >&5
3051 echo "$as_me: error: newly created file is older than distributed files!
3052 Check your system clock" >&2;}
3053 { (exit 1); exit 1; }; }
3056 echo "$as_me:$LINENO: result: yes" >&5
3057 echo "${ECHO_T}yes" >&6
3058 test "$program_prefix" != NONE
&&
3059 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
3060 # Use a double $ so make ignores it.
3061 test "$program_suffix" != NONE
&&
3062 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
3063 # Double any \ or $. echo might interpret backslashes.
3064 # By default was `s,x,x', remove it if useless.
3065 cat <<\_ACEOF
>conftest.
sed
3066 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
3068 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
3071 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3072 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3073 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3074 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3075 echo $ECHO_N "(cached) $ECHO_C" >&6
3077 cat >conftest.
make <<\_ACEOF
3079 @
echo 'ac_maketemp="$(MAKE)"'
3081 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3082 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3083 if test -n "$ac_maketemp"; then
3084 eval ac_cv_prog_make_
${ac_make}_set
=yes
3086 eval ac_cv_prog_make_
${ac_make}_set
=no
3090 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3091 echo "$as_me:$LINENO: result: yes" >&5
3092 echo "${ECHO_T}yes" >&6
3095 echo "$as_me:$LINENO: result: no" >&5
3096 echo "${ECHO_T}no" >&6
3097 SET_MAKE
="MAKE=${MAKE-make}"
3105 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status
; then
3106 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3107 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3108 { (exit 1); exit 1; }; }
3111 cat >>confdefs.h
<<_ACEOF
3112 #define PACKAGE "$PACKAGE"
3116 cat >>confdefs.h
<<_ACEOF
3117 #define VERSION "$VERSION"
3122 missing_dir
=`cd $ac_aux_dir && pwd`
3123 echo "$as_me:$LINENO: checking for working aclocal" >&5
3124 echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6
3125 # Run test in a subshell; some versions of sh will print an error if
3126 # an executable is not found, even if stderr is redirected.
3127 # Redirect stdin to placate older versions of autoconf. Sigh.
3128 if (aclocal
--version) < /dev
/null
> /dev
/null
2>&1; then
3130 echo "$as_me:$LINENO: result: found" >&5
3131 echo "${ECHO_T}found" >&6
3133 ACLOCAL
="$missing_dir/missing aclocal"
3134 echo "$as_me:$LINENO: result: missing" >&5
3135 echo "${ECHO_T}missing" >&6
3138 echo "$as_me:$LINENO: checking for working autoconf" >&5
3139 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
3140 # Run test in a subshell; some versions of sh will print an error if
3141 # an executable is not found, even if stderr is redirected.
3142 # Redirect stdin to placate older versions of autoconf. Sigh.
3143 if (autoconf
--version) < /dev
/null
> /dev
/null
2>&1; then
3145 echo "$as_me:$LINENO: result: found" >&5
3146 echo "${ECHO_T}found" >&6
3148 AUTOCONF
="$missing_dir/missing autoconf"
3149 echo "$as_me:$LINENO: result: missing" >&5
3150 echo "${ECHO_T}missing" >&6
3153 echo "$as_me:$LINENO: checking for working automake" >&5
3154 echo $ECHO_N "checking for working automake... $ECHO_C" >&6
3155 # Run test in a subshell; some versions of sh will print an error if
3156 # an executable is not found, even if stderr is redirected.
3157 # Redirect stdin to placate older versions of autoconf. Sigh.
3158 if (automake
--version) < /dev
/null
> /dev
/null
2>&1; then
3160 echo "$as_me:$LINENO: result: found" >&5
3161 echo "${ECHO_T}found" >&6
3163 AUTOMAKE
="$missing_dir/missing automake"
3164 echo "$as_me:$LINENO: result: missing" >&5
3165 echo "${ECHO_T}missing" >&6
3168 echo "$as_me:$LINENO: checking for working autoheader" >&5
3169 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
3170 # Run test in a subshell; some versions of sh will print an error if
3171 # an executable is not found, even if stderr is redirected.
3172 # Redirect stdin to placate older versions of autoconf. Sigh.
3173 if (autoheader
--version) < /dev
/null
> /dev
/null
2>&1; then
3174 AUTOHEADER
=autoheader
3175 echo "$as_me:$LINENO: result: found" >&5
3176 echo "${ECHO_T}found" >&6
3178 AUTOHEADER
="$missing_dir/missing autoheader"
3179 echo "$as_me:$LINENO: result: missing" >&5
3180 echo "${ECHO_T}missing" >&6
3183 echo "$as_me:$LINENO: checking for working makeinfo" >&5
3184 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
3185 # Run test in a subshell; some versions of sh will print an error if
3186 # an executable is not found, even if stderr is redirected.
3187 # Redirect stdin to placate older versions of autoconf. Sigh.
3188 if (makeinfo
--version) < /dev
/null
> /dev
/null
2>&1; then
3190 echo "$as_me:$LINENO: result: found" >&5
3191 echo "${ECHO_T}found" >&6
3193 MAKEINFO
="$missing_dir/missing makeinfo"
3194 echo "$as_me:$LINENO: result: missing" >&5
3195 echo "${ECHO_T}missing" >&6
3200 if test -n "$ac_tool_prefix"; then
3201 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3202 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3203 echo "$as_me:$LINENO: checking for $ac_word" >&5
3204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3205 if test "${ac_cv_prog_AS+set}" = set; then
3206 echo $ECHO_N "(cached) $ECHO_C" >&6
3208 if test -n "$AS"; then
3209 ac_cv_prog_AS
="$AS" # Let the user override the test.
3211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3215 test -z "$as_dir" && as_dir
=.
3216 for ac_exec_ext
in '' $ac_executable_extensions; do
3217 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3218 ac_cv_prog_AS
="${ac_tool_prefix}as"
3219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3228 if test -n "$AS"; then
3229 echo "$as_me:$LINENO: result: $AS" >&5
3230 echo "${ECHO_T}$AS" >&6
3232 echo "$as_me:$LINENO: result: no" >&5
3233 echo "${ECHO_T}no" >&6
3237 if test -z "$ac_cv_prog_AS"; then
3239 # Extract the first word of "as", so it can be a program name with args.
3240 set dummy as
; ac_word
=$2
3241 echo "$as_me:$LINENO: checking for $ac_word" >&5
3242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3243 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3244 echo $ECHO_N "(cached) $ECHO_C" >&6
3246 if test -n "$ac_ct_AS"; then
3247 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3253 test -z "$as_dir" && as_dir
=.
3254 for ac_exec_ext
in '' $ac_executable_extensions; do
3255 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3256 ac_cv_prog_ac_ct_AS
="as"
3257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3265 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3266 if test -n "$ac_ct_AS"; then
3267 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3268 echo "${ECHO_T}$ac_ct_AS" >&6
3270 echo "$as_me:$LINENO: result: no" >&5
3271 echo "${ECHO_T}no" >&6
3279 if test -n "$ac_tool_prefix"; then
3280 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3281 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3282 echo "$as_me:$LINENO: checking for $ac_word" >&5
3283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3284 if test "${ac_cv_prog_AR+set}" = set; then
3285 echo $ECHO_N "(cached) $ECHO_C" >&6
3287 if test -n "$AR"; then
3288 ac_cv_prog_AR
="$AR" # Let the user override the test.
3290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3294 test -z "$as_dir" && as_dir
=.
3295 for ac_exec_ext
in '' $ac_executable_extensions; do
3296 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3297 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3307 if test -n "$AR"; then
3308 echo "$as_me:$LINENO: result: $AR" >&5
3309 echo "${ECHO_T}$AR" >&6
3311 echo "$as_me:$LINENO: result: no" >&5
3312 echo "${ECHO_T}no" >&6
3316 if test -z "$ac_cv_prog_AR"; then
3318 # Extract the first word of "ar", so it can be a program name with args.
3319 set dummy
ar; ac_word
=$2
3320 echo "$as_me:$LINENO: checking for $ac_word" >&5
3321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3322 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3323 echo $ECHO_N "(cached) $ECHO_C" >&6
3325 if test -n "$ac_ct_AR"; then
3326 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3332 test -z "$as_dir" && as_dir
=.
3333 for ac_exec_ext
in '' $ac_executable_extensions; do
3334 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3335 ac_cv_prog_ac_ct_AR
="ar"
3336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3344 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3345 if test -n "$ac_ct_AR"; then
3346 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3347 echo "${ECHO_T}$ac_ct_AR" >&6
3349 echo "$as_me:$LINENO: result: no" >&5
3350 echo "${ECHO_T}no" >&6
3358 if test -n "$ac_tool_prefix"; then
3359 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3360 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3361 echo "$as_me:$LINENO: checking for $ac_word" >&5
3362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3363 if test "${ac_cv_prog_RANLIB+set}" = set; then
3364 echo $ECHO_N "(cached) $ECHO_C" >&6
3366 if test -n "$RANLIB"; then
3367 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3373 test -z "$as_dir" && as_dir
=.
3374 for ac_exec_ext
in '' $ac_executable_extensions; do
3375 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3376 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3385 RANLIB
=$ac_cv_prog_RANLIB
3386 if test -n "$RANLIB"; then
3387 echo "$as_me:$LINENO: result: $RANLIB" >&5
3388 echo "${ECHO_T}$RANLIB" >&6
3390 echo "$as_me:$LINENO: result: no" >&5
3391 echo "${ECHO_T}no" >&6
3395 if test -z "$ac_cv_prog_RANLIB"; then
3396 ac_ct_RANLIB
=$RANLIB
3397 # Extract the first word of "ranlib", so it can be a program name with args.
3398 set dummy ranlib
; ac_word
=$2
3399 echo "$as_me:$LINENO: checking for $ac_word" >&5
3400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3401 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3402 echo $ECHO_N "(cached) $ECHO_C" >&6
3404 if test -n "$ac_ct_RANLIB"; then
3405 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3411 test -z "$as_dir" && as_dir
=.
3412 for ac_exec_ext
in '' $ac_executable_extensions; do
3413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3414 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3421 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3424 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3425 if test -n "$ac_ct_RANLIB"; then
3426 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3427 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3429 echo "$as_me:$LINENO: result: no" >&5
3430 echo "${ECHO_T}no" >&6
3433 RANLIB
=$ac_ct_RANLIB
3435 RANLIB
="$ac_cv_prog_RANLIB"
3439 # Find a good install program. We prefer a C program (faster),
3440 # so one script is as good as another. But avoid the broken or
3441 # incompatible versions:
3442 # SysV /etc/install, /usr/sbin/install
3443 # SunOS /usr/etc/install
3444 # IRIX /sbin/install
3446 # AmigaOS /C/install, which installs bootblocks on floppy discs
3447 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3448 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3449 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3450 # OS/2's system install, which has a completely different semantic
3451 # ./install, which can be erroneously created by make from ./install.sh.
3452 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3453 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3454 if test -z "$INSTALL"; then
3455 if test "${ac_cv_path_install+set}" = set; then
3456 echo $ECHO_N "(cached) $ECHO_C" >&6
3458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3462 test -z "$as_dir" && as_dir
=.
3463 # Account for people who put trailing slashes in PATH elements.
3465 .
/ | .
// |
/cC
/* | \
3466 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3467 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3470 # OSF1 and SCO ODT 3.0 have their own names for install.
3471 # Don't use installbsd from OSF since it installs stuff as root
3473 for ac_prog
in ginstall scoinst
install; do
3474 for ac_exec_ext
in '' $ac_executable_extensions; do
3475 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3476 if test $ac_prog = install &&
3477 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3478 # AIX install. It has an incompatible calling convention.
3480 elif test $ac_prog = install &&
3481 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3482 # program-specific install script used by HP pwplus--don't use.
3485 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3497 if test "${ac_cv_path_install+set}" = set; then
3498 INSTALL
=$ac_cv_path_install
3500 # As a last resort, use the slow shell script. We don't cache a
3501 # path for INSTALL within a source directory, because that will
3502 # break other packages using the cache if that directory is
3503 # removed, or if the path is relative.
3504 INSTALL
=$ac_install_sh
3507 echo "$as_me:$LINENO: result: $INSTALL" >&5
3508 echo "${ECHO_T}$INSTALL" >&6
3510 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3511 # It thinks the first close brace ends the variable substitution.
3512 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3514 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3516 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3519 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3520 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3521 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3522 if test "${enable_maintainer_mode+set}" = set; then
3523 enableval
="$enable_maintainer_mode"
3524 USE_MAINTAINER_MODE
=$enableval
3526 USE_MAINTAINER_MODE
=no
3528 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3529 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3532 if test $USE_MAINTAINER_MODE = yes; then
3533 MAINTAINER_MODE_TRUE
=
3534 MAINTAINER_MODE_FALSE
='#'
3536 MAINTAINER_MODE_TRUE
='#'
3537 MAINTAINER_MODE_FALSE
=
3539 MAINT
=$MAINTAINER_MODE_TRUE
3545 # configure.host sets the following important variables
3546 # libgcj_cflags - host specific C compiler flags
3547 # libgcj_cxxflags - host specific C++ compiler flags
3548 # libgcj_javaflags - host specific Java compiler flags
3554 .
${srcdir}/configure.
host
3556 LIBGCJ_CFLAGS
="${libgcj_cflags}"
3557 LIBGCJ_CXXFLAGS
="${libgcj_cxxflags}"
3558 LIBGCJ_JAVAFLAGS
="${libgcj_javaflags}"
3564 ac_config_headers
="$ac_config_headers include/config.h gcj/libgcj-config.h"
3566 ac_config_commands
="$ac_config_commands default-1"
3569 # Only use libltdl for non-newlib builds.
3570 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
3571 case $enable_ltdl_convenience in
3572 no
) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
3573 echo "$as_me: error: this package needs a convenience libltdl" >&2;}
3574 { (exit 1); exit 1; }; } ;;
3575 "") enable_ltdl_convenience
=yes
3576 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
3578 LIBLTDL
='${top_builddir}/''libltdl'/libltdlc.la
3579 INCLTDL
='-I${top_srcdir}/''libltdl'
3584 cat >>confdefs.h
<<\_ACEOF
3588 # Sigh. Libtool's macro doesn't do the right thing.
3589 INCLTDL
="-I\$(top_srcdir)/libltdl $INCLTDL"
3590 # FIXME: this is a hack.
3591 sub_auxdir
="`cd $ac_aux_dir && ${PWDCMD-pwd}`"
3592 ac_configure_args
="$ac_configure_args --with-auxdir=$sub_auxdir"
3597 # Check whether --enable-shared or --disable-shared was given.
3598 if test "${enable_shared+set}" = set; then
3599 enableval
="$enable_shared"
3600 p
=${PACKAGE-default}
3602 yes) enable_shared
=yes ;;
3603 no
) enable_shared
=no
;;
3606 # Look at the argument we got. We use all the common list separators.
3607 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3608 for pkg
in $enableval; do
3609 if test "X$pkg" = "X$p"; then
3619 # Check whether --enable-static or --disable-static was given.
3620 if test "${enable_static+set}" = set; then
3621 enableval
="$enable_static"
3622 p
=${PACKAGE-default}
3624 yes) enable_static
=yes ;;
3625 no
) enable_static
=no
;;
3628 # Look at the argument we got. We use all the common list separators.
3629 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3630 for pkg
in $enableval; do
3631 if test "X$pkg" = "X$p"; then
3641 # Check whether --enable-fast-install or --disable-fast-install was given.
3642 if test "${enable_fast_install+set}" = set; then
3643 enableval
="$enable_fast_install"
3644 p
=${PACKAGE-default}
3646 yes) enable_fast_install
=yes ;;
3647 no
) enable_fast_install
=no
;;
3649 enable_fast_install
=no
3650 # Look at the argument we got. We use all the common list separators.
3651 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3652 for pkg
in $enableval; do
3653 if test "X$pkg" = "X$p"; then
3654 enable_fast_install
=yes
3661 enable_fast_install
=yes
3664 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3665 if test "${with_gnu_ld+set}" = set; then
3666 withval
="$with_gnu_ld"
3667 test "$withval" = no || with_gnu_ld
=yes
3672 if test "$GCC" = yes; then
3673 # Check if gcc -print-prog-name=ld gives a path.
3674 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3675 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3678 # gcc leaves a trailing carriage return which upsets mingw
3679 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3681 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3684 # Accept absolute paths.
3685 [\\/]* |
[A-Za-z
]:[\\/]*)
3686 re_direlt
='/[^/][^/]*/\.\./'
3687 # Canonicalize the path of ld
3688 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3689 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3690 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3692 test -z "$LD" && LD
="$ac_prog"
3695 # If it fails, then pretend we aren't using GCC.
3699 # If it is relative, then search for the first ld in PATH.
3703 elif test "$with_gnu_ld" = yes; then
3704 echo "$as_me:$LINENO: checking for GNU ld" >&5
3705 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3707 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3708 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3710 if test "${lt_cv_path_LD+set}" = set; then
3711 echo $ECHO_N "(cached) $ECHO_C" >&6
3713 if test -z "$LD"; then
3714 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3715 for ac_dir
in $PATH; do
3716 test -z "$ac_dir" && ac_dir
=.
3717 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3718 lt_cv_path_LD
="$ac_dir/$ac_prog"
3719 # Check to see if the program is GNU ld. I'd rather use --version,
3720 # but apparently some GNU ld's only accept -v.
3721 # Break only if it was the GNU/non-GNU ld that we prefer.
3722 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3723 test "$with_gnu_ld" != no
&& break
3725 test "$with_gnu_ld" != yes && break
3731 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3736 if test -n "$LD"; then
3737 echo "$as_me:$LINENO: result: $LD" >&5
3738 echo "${ECHO_T}$LD" >&6
3740 echo "$as_me:$LINENO: result: no" >&5
3741 echo "${ECHO_T}no" >&6
3743 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3744 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3745 { (exit 1); exit 1; }; }
3746 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3747 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3748 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3749 echo $ECHO_N "(cached) $ECHO_C" >&6
3751 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3752 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3753 lt_cv_prog_gnu_ld
=yes
3755 lt_cv_prog_gnu_ld
=no
3758 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3759 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3760 with_gnu_ld
=$lt_cv_prog_gnu_ld
3763 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3764 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3765 if test "${lt_cv_ld_reload_flag+set}" = set; then
3766 echo $ECHO_N "(cached) $ECHO_C" >&6
3768 lt_cv_ld_reload_flag
='-r'
3770 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3771 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3772 reload_flag
=$lt_cv_ld_reload_flag
3773 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3775 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3776 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3777 if test "${lt_cv_path_NM+set}" = set; then
3778 echo $ECHO_N "(cached) $ECHO_C" >&6
3780 if test -n "$NM"; then
3781 # Let the user override the test.
3784 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3785 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3786 test -z "$ac_dir" && ac_dir
=.
3787 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3788 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3789 # Check to see if the nm accepts a BSD-compat flag.
3790 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3791 # nm: unknown option "B" ignored
3792 # Tru64's nm complains that /dev/null is an invalid object file
3793 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3794 lt_cv_path_NM
="$tmp_nm -B"
3796 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3797 lt_cv_path_NM
="$tmp_nm -p"
3800 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3801 continue # so that we can try to find one that supports BSD flags
3806 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3811 echo "$as_me:$LINENO: result: $NM" >&5
3812 echo "${ECHO_T}$NM" >&6
3814 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3815 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3816 if test "${lt_cv_deplibs_check_method+set}" = set; then
3817 echo $ECHO_N "(cached) $ECHO_C" >&6
3819 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3820 lt_cv_file_magic_test_file
=
3821 lt_cv_deplibs_check_method
='unknown'
3822 # Need to set the preceding variable on all platforms that support
3823 # interlibrary dependencies.
3824 # 'none' -- dependencies not supported.
3825 # `unknown' -- same as none, but documents that we really don't know.
3826 # 'pass_all' -- all dependencies passed with no checks.
3827 # 'test_compile' -- check by making test program.
3828 # 'file_magic [regex]' -- check by looking for files in library path
3829 # which responds to the $file_magic_cmd with a given egrep regex.
3830 # If you have `file' or equivalent on your system and you're not sure
3831 # whether `pass_all' will *always* work, you probably want this one.
3835 lt_cv_deplibs_check_method
=pass_all
3839 lt_cv_deplibs_check_method
=pass_all
3843 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3844 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3845 lt_cv_file_magic_test_file
=/shlib
/libc.so
3848 cygwin
* | mingw
* |pw32
*)
3849 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3850 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3853 darwin
* | rhapsody
*)
3854 # this will be overwritten by pass_all, but leave it in just in case
3855 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3856 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3858 rhapsody
* | darwin1.012
)
3859 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3862 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3865 lt_cv_deplibs_check_method
=pass_all
3868 freebsd
* | kfreebsd
*-gnu)
3869 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3872 # Not sure whether the presence of OpenBSD here was a mistake.
3873 # Let's accept both of them until this is cleared up.
3874 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3875 lt_cv_file_magic_cmd
=/usr
/bin
/file
3876 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3880 lt_cv_deplibs_check_method
=pass_all
3885 lt_cv_deplibs_check_method
=pass_all
3891 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3892 lt_cv_file_magic_cmd
=/usr
/bin
/file
3893 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3896 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3897 lt_cv_file_magic_cmd
=/usr
/bin
/file
3898 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3906 # this will be overridden with pass_all, but let us keep it just in case
3907 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3911 *-32|
*"-32 ") libmagic
=32-bit;;
3912 *-n32|
*"-n32 ") libmagic
=N32
;;
3913 *-64|
*"-64 ") libmagic
=64-bit;;
3914 *) libmagic
=never-match
;;
3916 # this will be overridden with pass_all, but let us keep it just in case
3917 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3920 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3921 lt_cv_deplibs_check_method
=pass_all
3924 # This must be Linux ELF.
3927 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* | sh
* )
3928 lt_cv_deplibs_check_method
=pass_all
;;
3930 # glibc up to 2.1.1 does not perform some relocations on ARM
3931 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3933 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
3936 netbsd
* | knetbsd
*-gnu)
3937 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3938 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3940 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3945 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3946 lt_cv_file_magic_cmd
=/usr
/bin
/file
3947 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3950 osf3
* | osf4
* | osf5
*)
3951 # this will be overridden with pass_all, but let us keep it just in case
3952 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3953 lt_cv_file_magic_test_file
=/shlib
/libc.so
3954 lt_cv_deplibs_check_method
=pass_all
3958 lt_cv_deplibs_check_method
=pass_all
3962 lt_cv_deplibs_check_method
=pass_all
3963 lt_cv_file_magic_test_file
=/lib
/libc.so
3966 sysv5uw
[78]* | sysv4
*uw2
*)
3967 lt_cv_deplibs_check_method
=pass_all
3970 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3971 case $host_vendor in
3973 lt_cv_deplibs_check_method
=pass_all
3976 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
3977 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3984 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3985 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3986 file_magic_cmd
=$lt_cv_file_magic_cmd
3987 deplibs_check_method
=$lt_cv_deplibs_check_method
3992 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3994 # Only perform the check for file, if the check method requires it
3995 case $deplibs_check_method in
3997 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3998 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3999 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4000 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4001 echo $ECHO_N "(cached) $ECHO_C" >&6
4005 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
4008 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
4011 ac_save_MAGIC_CMD
="$MAGIC_CMD"
4012 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
4013 ac_dummy
="/usr/bin:$PATH"
4014 for ac_dir
in $ac_dummy; do
4015 test -z "$ac_dir" && ac_dir
=.
4016 if test -f $ac_dir/${ac_tool_prefix}file; then
4017 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
4018 if test -n "$file_magic_test_file"; then
4019 case $deplibs_check_method in
4021 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4022 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4023 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
4024 egrep "$file_magic_regex" > /dev
/null
; then
4029 *** Warning: the command libtool uses to detect shared libraries,
4030 *** $file_magic_cmd, produces output that libtool cannot recognize.
4031 *** The result is that libtool may fail to recognize shared libraries
4032 *** as such. This will affect the creation of libtool libraries that
4033 *** depend on shared libraries, but programs linked with such libtool
4034 *** libraries will work regardless of this problem. Nevertheless, you
4035 *** may want to report the problem to your system manager and/or to
4036 *** bug-libtool@gnu.org
4046 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4051 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4052 if test -n "$MAGIC_CMD"; then
4053 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4054 echo "${ECHO_T}$MAGIC_CMD" >&6
4056 echo "$as_me:$LINENO: result: no" >&5
4057 echo "${ECHO_T}no" >&6
4060 if test -z "$lt_cv_path_MAGIC_CMD"; then
4061 if test -n "$ac_tool_prefix"; then
4062 echo "$as_me:$LINENO: checking for file" >&5
4063 echo $ECHO_N "checking for file... $ECHO_C" >&6
4064 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4065 echo $ECHO_N "(cached) $ECHO_C" >&6
4069 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
4072 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
4075 ac_save_MAGIC_CMD
="$MAGIC_CMD"
4076 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
4077 ac_dummy
="/usr/bin:$PATH"
4078 for ac_dir
in $ac_dummy; do
4079 test -z "$ac_dir" && ac_dir
=.
4080 if test -f $ac_dir/file; then
4081 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
4082 if test -n "$file_magic_test_file"; then
4083 case $deplibs_check_method in
4085 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4086 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4087 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
4088 egrep "$file_magic_regex" > /dev
/null
; then
4093 *** Warning: the command libtool uses to detect shared libraries,
4094 *** $file_magic_cmd, produces output that libtool cannot recognize.
4095 *** The result is that libtool may fail to recognize shared libraries
4096 *** as such. This will affect the creation of libtool libraries that
4097 *** depend on shared libraries, but programs linked with such libtool
4098 *** libraries will work regardless of this problem. Nevertheless, you
4099 *** may want to report the problem to your system manager and/or to
4100 *** bug-libtool@gnu.org
4110 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4115 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4116 if test -n "$MAGIC_CMD"; then
4117 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4118 echo "${ECHO_T}$MAGIC_CMD" >&6
4120 echo "$as_me:$LINENO: result: no" >&5
4121 echo "${ECHO_T}no" >&6
4133 if test -n "$ac_tool_prefix"; then
4134 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4135 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4136 echo "$as_me:$LINENO: checking for $ac_word" >&5
4137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4138 if test "${ac_cv_prog_RANLIB+set}" = set; then
4139 echo $ECHO_N "(cached) $ECHO_C" >&6
4141 if test -n "$RANLIB"; then
4142 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4148 test -z "$as_dir" && as_dir
=.
4149 for ac_exec_ext
in '' $ac_executable_extensions; do
4150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4151 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4160 RANLIB
=$ac_cv_prog_RANLIB
4161 if test -n "$RANLIB"; then
4162 echo "$as_me:$LINENO: result: $RANLIB" >&5
4163 echo "${ECHO_T}$RANLIB" >&6
4165 echo "$as_me:$LINENO: result: no" >&5
4166 echo "${ECHO_T}no" >&6
4170 if test -z "$ac_cv_prog_RANLIB"; then
4171 ac_ct_RANLIB
=$RANLIB
4172 # Extract the first word of "ranlib", so it can be a program name with args.
4173 set dummy ranlib
; ac_word
=$2
4174 echo "$as_me:$LINENO: checking for $ac_word" >&5
4175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4176 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4177 echo $ECHO_N "(cached) $ECHO_C" >&6
4179 if test -n "$ac_ct_RANLIB"; then
4180 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4186 test -z "$as_dir" && as_dir
=.
4187 for ac_exec_ext
in '' $ac_executable_extensions; do
4188 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4189 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4196 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4199 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4200 if test -n "$ac_ct_RANLIB"; then
4201 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4202 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4204 echo "$as_me:$LINENO: result: no" >&5
4205 echo "${ECHO_T}no" >&6
4208 RANLIB
=$ac_ct_RANLIB
4210 RANLIB
="$ac_cv_prog_RANLIB"
4213 if test -n "$ac_tool_prefix"; then
4214 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4215 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4216 echo "$as_me:$LINENO: checking for $ac_word" >&5
4217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4218 if test "${ac_cv_prog_STRIP+set}" = set; then
4219 echo $ECHO_N "(cached) $ECHO_C" >&6
4221 if test -n "$STRIP"; then
4222 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4228 test -z "$as_dir" && as_dir
=.
4229 for ac_exec_ext
in '' $ac_executable_extensions; do
4230 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4231 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4240 STRIP
=$ac_cv_prog_STRIP
4241 if test -n "$STRIP"; then
4242 echo "$as_me:$LINENO: result: $STRIP" >&5
4243 echo "${ECHO_T}$STRIP" >&6
4245 echo "$as_me:$LINENO: result: no" >&5
4246 echo "${ECHO_T}no" >&6
4250 if test -z "$ac_cv_prog_STRIP"; then
4252 # Extract the first word of "strip", so it can be a program name with args.
4253 set dummy strip
; ac_word
=$2
4254 echo "$as_me:$LINENO: checking for $ac_word" >&5
4255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4256 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4257 echo $ECHO_N "(cached) $ECHO_C" >&6
4259 if test -n "$ac_ct_STRIP"; then
4260 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4266 test -z "$as_dir" && as_dir
=.
4267 for ac_exec_ext
in '' $ac_executable_extensions; do
4268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4269 ac_cv_prog_ac_ct_STRIP
="strip"
4270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4276 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
4279 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4280 if test -n "$ac_ct_STRIP"; then
4281 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4282 echo "${ECHO_T}$ac_ct_STRIP" >&6
4284 echo "$as_me:$LINENO: result: no" >&5
4285 echo "${ECHO_T}no" >&6
4290 STRIP
="$ac_cv_prog_STRIP"
4294 # Check for any special flags to pass to ltconfig.
4295 libtool_flags
="--cache-file=$cache_file"
4296 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
4297 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
4298 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
4299 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
4300 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
4303 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4304 if test "${enable_libtool_lock+set}" = set; then
4305 enableval
="$enable_libtool_lock"
4308 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
4309 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
4312 # Check whether --with-pic or --without-pic was given.
4313 if test "${with_pic+set}" = set; then
4319 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
4320 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
4322 # Some flags need to be propagated to the compiler or linker for good
4326 # Find out which ABI we are using.
4327 echo '#line 4327 "configure"' > conftest.
$ac_ext
4328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4329 (eval $ac_compile) 2>&5
4331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332 (exit $ac_status); }; then
4333 if test "$lt_cv_prog_gnu_ld" = yes; then
4334 case `/usr/bin/file conftest.$ac_objext` in
4336 LD
="${LD-ld} -melf32bsmip"
4339 LD
="${LD-ld} -melf32bmipn32"
4342 LD
="${LD-ld} -melf64bmip"
4346 case `/usr/bin/file conftest.$ac_objext` in
4363 # Find out which ABI we are using.
4364 echo 'int i;' > conftest.
$ac_ext
4365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4366 (eval $ac_compile) 2>&5
4368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4369 (exit $ac_status); }; then
4370 case "`/usr/bin/file conftest.o`" in
4382 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4383 # Find out which ABI we are using.
4384 echo 'int i;' > conftest.
$ac_ext
4385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4386 (eval $ac_compile) 2>&5
4388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4389 (exit $ac_status); }; then
4390 case "`/usr/bin/file conftest.o`" in
4394 LD
="${LD-ld} -m elf_i386"
4396 ppc64-
*linux
*|powerpc64-
*linux
*)
4397 LD
="${LD-ld} -m elf32ppclinux"
4400 LD
="${LD-ld} -m elf_s390"
4403 LD
="${LD-ld} -m elf32_sparc"
4410 LD
="${LD-ld} -m elf_x86_64"
4412 ppc
*-*linux
*|powerpc
*-*linux
*)
4413 LD
="${LD-ld} -m elf64ppc"
4416 LD
="${LD-ld} -m elf64_s390"
4419 LD
="${LD-ld} -m elf64_sparc"
4429 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4430 SAVE_CFLAGS
="$CFLAGS"
4431 CFLAGS
="$CFLAGS -belf"
4432 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4433 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4434 if test "${lt_cv_cc_needs_belf+set}" = set; then
4435 echo $ECHO_N "(cached) $ECHO_C" >&6
4440 ac_cpp
='$CPP $CPPFLAGS'
4441 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4442 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4443 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4445 if test x
$gcc_no_link = xyes
; then
4446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4448 { (exit 1); exit 1; }; }
4450 cat >conftest.
$ac_ext <<_ACEOF
4453 cat confdefs.h
>>conftest.
$ac_ext
4454 cat >>conftest.
$ac_ext <<_ACEOF
4455 /* end confdefs.h. */
4465 rm -f conftest.
$ac_objext conftest
$ac_exeext
4466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4467 (eval $ac_link) 2>conftest.er1
4469 grep -v '^ *+' conftest.er1
>conftest.err
4471 cat conftest.err
>&5
4472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473 (exit $ac_status); } &&
4474 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4479 (exit $ac_status); }; } &&
4480 { ac_try
='test -s conftest$ac_exeext'
4481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4485 (exit $ac_status); }; }; then
4486 lt_cv_cc_needs_belf
=yes
4488 echo "$as_me: failed program was:" >&5
4489 sed 's/^/| /' conftest.
$ac_ext >&5
4491 lt_cv_cc_needs_belf
=no
4493 rm -f conftest.err conftest.
$ac_objext \
4494 conftest
$ac_exeext conftest.
$ac_ext
4496 ac_cpp
='$CPP $CPPFLAGS'
4497 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4498 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4499 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4502 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4503 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4504 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4505 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4506 CFLAGS
="$SAVE_CFLAGS"
4514 # Save cache, so that ltconfig can load it
4515 cat >confcache
<<\_ACEOF
4516 # This file is a shell script that caches the results of configure
4517 # tests run on this system so they can be shared between configure
4518 # scripts and configure runs, see configure's option --config-cache.
4519 # It is not useful on other systems. If it contains results you don't
4520 # want to keep, you may remove or edit it.
4522 # config.status only pays attention to the cache file if you give it
4523 # the --recheck option to rerun configure.
4525 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4526 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4531 # The following way of writing the cache mishandles newlines in values,
4532 # but we know of no workaround that is simple, portable, and efficient.
4533 # So, don't put newlines in cache variables' values.
4534 # Ultrix sh set writes to stderr and can't be redirected directly,
4535 # and sets the high bit in the cache file unless we assign to the vars.
4538 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4540 # `set' does not quote correctly, so add quotes (double-quote
4541 # substitution turns \\\\ into \\, and sed turns \\ into \).
4544 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4547 # `set' quotes correctly as required by POSIX, so do not add quotes.
4549 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4556 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4558 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4560 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4561 if test -w $cache_file; then
4562 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4563 cat confcache
>$cache_file
4565 echo "not updating unwritable cache $cache_file"
4570 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4571 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4572 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4573 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4574 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4575 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4576 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4577 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4578 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4579 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4580 echo "$as_me: error: libtool configure failed" >&2;}
4581 { (exit 1); exit 1; }; }
4583 # Reload cache, that may have been modified by ltconfig
4584 if test -r "$cache_file"; then
4585 # Some versions of bash will fail to source /dev/null (special
4586 # files actually), so we avoid doing that.
4587 if test -f "$cache_file"; then
4588 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4589 echo "$as_me: loading cache $cache_file" >&6;}
4591 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4592 *) . .
/$cache_file;;
4596 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4597 echo "$as_me: creating cache $cache_file" >&6;}
4602 # This can be used to rebuild libtool when needed
4603 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4605 # Always use our own libtool.
4606 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4608 # Redirect the config.log output again, so that the ltconfig log is not
4609 # clobbered by the next message.
4610 exec 5>>.
/config.log
4613 ac_cpp
='$CXXCPP $CPPFLAGS'
4614 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4615 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4616 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4617 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4618 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4619 if test -z "$CXXCPP"; then
4620 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4621 echo $ECHO_N "(cached) $ECHO_C" >&6
4623 # Double quotes because CXXCPP needs to be expanded
4624 for CXXCPP
in "$CXX -E" "/lib/cpp"
4627 for ac_cxx_preproc_warn_flag
in '' yes
4629 # Use a header file that comes with gcc, so configuring glibc
4630 # with a fresh cross-compiler works.
4631 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4632 # <limits.h> exists even on freestanding compilers.
4633 # On the NeXT, cc -E runs the code through the compiler's parser,
4634 # not just through cpp. "Syntax error" is here to catch this case.
4635 cat >conftest.
$ac_ext <<_ACEOF
4638 cat confdefs.h
>>conftest.
$ac_ext
4639 cat >>conftest.
$ac_ext <<_ACEOF
4640 /* end confdefs.h. */
4642 # include <limits.h>
4644 # include <assert.h>
4648 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4649 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4651 grep -v '^ *+' conftest.er1
>conftest.err
4653 cat conftest.err
>&5
4654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4655 (exit $ac_status); } >/dev
/null
; then
4656 if test -s conftest.err
; then
4657 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4658 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4665 if test -z "$ac_cpp_err"; then
4668 echo "$as_me: failed program was:" >&5
4669 sed 's/^/| /' conftest.
$ac_ext >&5
4671 # Broken: fails on valid input.
4674 rm -f conftest.err conftest.
$ac_ext
4676 # OK, works on sane cases. Now check whether non-existent headers
4677 # can be detected and how.
4678 cat >conftest.
$ac_ext <<_ACEOF
4681 cat confdefs.h
>>conftest.
$ac_ext
4682 cat >>conftest.
$ac_ext <<_ACEOF
4683 /* end confdefs.h. */
4684 #include <ac_nonexistent.h>
4686 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4687 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4689 grep -v '^ *+' conftest.er1
>conftest.err
4691 cat conftest.err
>&5
4692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4693 (exit $ac_status); } >/dev
/null
; then
4694 if test -s conftest.err
; then
4695 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4696 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4703 if test -z "$ac_cpp_err"; then
4704 # Broken: success on invalid input.
4707 echo "$as_me: failed program was:" >&5
4708 sed 's/^/| /' conftest.
$ac_ext >&5
4710 # Passes both tests.
4714 rm -f conftest.err conftest.
$ac_ext
4717 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4718 rm -f conftest.err conftest.
$ac_ext
4719 if $ac_preproc_ok; then
4724 ac_cv_prog_CXXCPP
=$CXXCPP
4727 CXXCPP
=$ac_cv_prog_CXXCPP
4729 ac_cv_prog_CXXCPP
=$CXXCPP
4731 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4732 echo "${ECHO_T}$CXXCPP" >&6
4734 for ac_cxx_preproc_warn_flag
in '' yes
4736 # Use a header file that comes with gcc, so configuring glibc
4737 # with a fresh cross-compiler works.
4738 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4739 # <limits.h> exists even on freestanding compilers.
4740 # On the NeXT, cc -E runs the code through the compiler's parser,
4741 # not just through cpp. "Syntax error" is here to catch this case.
4742 cat >conftest.
$ac_ext <<_ACEOF
4745 cat confdefs.h
>>conftest.
$ac_ext
4746 cat >>conftest.
$ac_ext <<_ACEOF
4747 /* end confdefs.h. */
4749 # include <limits.h>
4751 # include <assert.h>
4755 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4756 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4758 grep -v '^ *+' conftest.er1
>conftest.err
4760 cat conftest.err
>&5
4761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762 (exit $ac_status); } >/dev
/null
; then
4763 if test -s conftest.err
; then
4764 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4765 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4772 if test -z "$ac_cpp_err"; then
4775 echo "$as_me: failed program was:" >&5
4776 sed 's/^/| /' conftest.
$ac_ext >&5
4778 # Broken: fails on valid input.
4781 rm -f conftest.err conftest.
$ac_ext
4783 # OK, works on sane cases. Now check whether non-existent headers
4784 # can be detected and how.
4785 cat >conftest.
$ac_ext <<_ACEOF
4788 cat confdefs.h
>>conftest.
$ac_ext
4789 cat >>conftest.
$ac_ext <<_ACEOF
4790 /* end confdefs.h. */
4791 #include <ac_nonexistent.h>
4793 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4794 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4796 grep -v '^ *+' conftest.er1
>conftest.err
4798 cat conftest.err
>&5
4799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4800 (exit $ac_status); } >/dev
/null
; then
4801 if test -s conftest.err
; then
4802 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4803 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4810 if test -z "$ac_cpp_err"; then
4811 # Broken: success on invalid input.
4814 echo "$as_me: failed program was:" >&5
4815 sed 's/^/| /' conftest.
$ac_ext >&5
4817 # Passes both tests.
4821 rm -f conftest.err conftest.
$ac_ext
4824 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4825 rm -f conftest.err conftest.
$ac_ext
4826 if $ac_preproc_ok; then
4829 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4830 See \`config.log' for more details." >&5
4831 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4832 See \`config.log' for more details." >&2;}
4833 { (exit 1); exit 1; }; }
4837 ac_cpp
='$CPP $CPPFLAGS'
4838 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4839 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4840 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4844 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4846 lt_save_CFLAGS
="$CFLAGS"
4847 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
4848 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4849 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4850 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4851 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4852 deplibs_check_method
="$deplibs_check_method" \
4853 file_magic_cmd
="$file_magic_cmd" \
4854 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
4855 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
4856 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4857 echo "$as_me: error: libtool tag configuration failed" >&2;}
4858 { (exit 1); exit 1; }; }
4860 CFLAGS
="$lt_save_CFLAGS"
4862 # Redirect the config.log output again, so that the ltconfig log is not
4863 # clobbered by the next message.
4864 exec 5>>.
/config.log
4873 subdirs
="$subdirs $DIRLTDL"
4876 if test -z "$with_target_subdir" ||
test "$with_target_subdir" = "."; then
4883 # The -no-testsuite modules omit the test subdir.
4886 if test -d $srcdir/testsuite
; then
4888 TESTSUBDIR_FALSE
='#'
4894 # Should the runtime set system properties by examining the
4895 # environment variable GCJ_PROPERTIES?
4896 # Check whether --enable-getenv-properties or --disable-getenv-properties was given.
4897 if test "${enable_getenv_properties+set}" = set; then
4898 enableval
="$enable_getenv_properties"
4902 # Whether GCJ_PROPERTIES is used depends on the target.
4903 if test -z "$enable_getenv_properties"; then
4904 enable_getenv_properties
=${enable_getenv_properties_default-yes}
4906 if test "$enable_getenv_properties" = no
; then
4908 cat >>confdefs.h
<<\_ACEOF
4909 #define DISABLE_GETENV_PROPERTIES 1
4914 # Whether we should use arguments to main()
4915 if test -z "$enable_main_args"; then
4916 enable_main_args
=${enable_main_args_default-yes}
4918 if test "$enable_main_args" = no
; then
4920 cat >>confdefs.h
<<\_ACEOF
4921 #define DISABLE_MAIN_ARGS 1
4927 # Should we use hashtable-based synchronization?
4928 # Currently works only for Linux X86/ia64
4929 # Typically faster and more space-efficient
4930 # Check whether --enable-hash-synchronization or --disable-hash-synchronization was given.
4931 if test "${enable_hash_synchronization+set}" = set; then
4932 enableval
="$enable_hash_synchronization"
4936 if test -z "$enable_hash_synchronization"; then
4937 enable_hash_synchronization
=$enable_hash_synchronization_default
4940 # Do we allow intermodule optimizations (i.e. compiling many files at once)?
4941 # Check whether --enable-libgcj-multifile or --disable-libgcj-multifile was given.
4942 if test "${enable_libgcj_multifile+set}" = set; then
4943 enableval
="$enable_libgcj_multifile"
4944 case "${enableval}" in
4945 yes) enable_libgcj_multifile
=yes ;;
4946 no
) enable_libgcj_multifile
=no
;;
4947 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-libgcj-multifile" >&5
4948 echo "$as_me: error: bad value ${enableval} for --enable-libgcj-multifile" >&2;}
4949 { (exit 1); exit 1; }; } ;;
4952 enable_libgcj_multifile
=no
4956 if test "$enable_libgcj_multifile" = yes; then
4964 # What is the native OS API for MinGW?
4966 # Check whether --with-win32-nlsapi or --without-win32-nlsapi was given.
4967 if test "${with_win32_nlsapi+set}" = set; then
4968 withval
="$with_win32_nlsapi"
4969 case "${withval}" in
4970 ansi
) with_win32_nlsapi
=ansi
;;
4971 unicows
) with_win32_nlsapi
=unicows
;;
4972 unicode
) with_win32_nlsapi
=unicode
;;
4973 *) { { echo "$as_me:$LINENO: error: Bad value ${withval} for --with-win32-nlsapi." >&5
4974 echo "$as_me: error: Bad value ${withval} for --with-win32-nlsapi." >&2;}
4975 { (exit 1); exit 1; }; } ;;
4978 with_win32_nlsapi
=ansi
4981 case "${with_win32_nlsapi}" in
4984 cat >>confdefs.h
<<\_ACEOF
4985 #define MINGW_LIBGCJ_UNICODE 1
4991 # configure.host sets slow_pthread_self if the synchronization code should
4992 # try to avoid pthread_self calls by caching thread IDs in a hashtable.
4993 if test "${slow_pthread_self}" = "yes"; then
4995 cat >>confdefs.h
<<\_ACEOF
4996 #define SLOW_PTHREAD_SELF 1
5002 # See if the user has requested runtime debugging.
5005 # Check whether --enable-libgcj-debug or --disable-libgcj-debug was given.
5006 if test "${enable_libgcj_debug+set}" = set; then
5007 enableval
="$enable_libgcj_debug"
5008 if test "$enable_libgcj_debug" = yes; then
5010 cat >>confdefs.h
<<\_ACEOF
5018 # See if the user has the interpreter included.
5019 # Check whether --enable-interpreter or --disable-interpreter was given.
5020 if test "${enable_interpreter+set}" = set; then
5021 enableval
="$enable_interpreter"
5022 if test "$enable_interpreter" = yes; then
5023 # This can also be set in configure.host.
5024 libgcj_interpreter
=yes
5025 elif test "$enable_interpreter" = no
; then
5026 libgcj_interpreter
=no
5030 if test "$libgcj_interpreter" = yes; then
5032 cat >>confdefs.h
<<\_ACEOF
5033 #define INTERPRETER 1
5037 INTERPRETER
="$libgcj_interpreter"
5040 echo "$as_me:$LINENO: checking for exception model to use" >&5
5041 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
5045 ac_cpp
='$CXXCPP $CPPFLAGS'
5046 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5047 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5048 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5050 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
5051 if test "${enable_sjlj_exceptions+set}" = set; then
5052 enableval
="$enable_sjlj_exceptions"
5055 cat > conftest.
$ac_ext << EOF
5056 #line 5056 "configure"
5065 old_CXXFLAGS
="$CXXFLAGS"
5067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5068 (eval $ac_compile) 2>&5
5070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5071 (exit $ac_status); }; then
5072 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1 ; then
5073 enable_sjlj_exceptions
=yes
5074 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1 ; then
5075 enable_sjlj_exceptions
=no
5078 CXXFLAGS
="$old_CXXFLAGS"
5081 if test x
$enable_sjlj_exceptions = xyes
; then
5083 cat >>confdefs.h
<<\_ACEOF
5084 #define SJLJ_EXCEPTIONS 1
5087 ac_exception_model_name
=sjlj
5088 elif test x
$enable_sjlj_exceptions = xno
; then
5089 ac_exception_model_name
="call frame"
5091 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5092 echo "$as_me: error: unable to detect exception model" >&2;}
5093 { (exit 1); exit 1; }; }
5096 ac_cpp
='$CPP $CPPFLAGS'
5097 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5098 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5099 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5101 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5102 echo "${ECHO_T}$ac_exception_model_name" >&6
5104 # If we are non using SJLJ exceptions, and this host does not have support
5105 # for unwinding from a signal handler, enable checked dereferences and divides.
5106 if test $can_unwind_signal = no
&& test $enable_sjlj_exceptions = no
; then
5107 CHECKREFSPEC
=-fcheck-references
5108 DIVIDESPEC
=-fuse-divide-subroutine
5112 # See if the user wants to disable java.net. This is the mildly
5113 # ugly way that we admit that target-side configuration sucks.
5114 # Check whether --enable-java-net or --disable-java-net was given.
5115 if test "${enable_java_net+set}" = set; then
5116 enableval
="$enable_java_net"
5120 # Whether java.net is built by default can depend on the target.
5121 if test -z "$enable_java_net"; then
5122 enable_java_net
=${enable_java_net_default-yes}
5124 if test "$enable_java_net" = no
; then
5126 cat >>confdefs.h
<<\_ACEOF
5127 #define DISABLE_JAVA_NET 1
5132 # See if the user wants to configure without libffi. Some
5133 # architectures don't support it, and default values are set in
5136 # Check whether --with-libffi or --without-libffi was given.
5137 if test "${with_libffi+set}" = set; then
5138 withval
="$with_libffi"
5141 with_libffi
=${with_libffi_default-yes}
5146 if test "$with_libffi" != no
; then
5148 cat >>confdefs.h
<<\_ACEOF
5149 #define USE_LIBFFI 1
5152 LIBFFI
=..
/libffi
/libffi_convenience.la
5153 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
5158 # See if the user wants to disable JVMPI support.
5159 # Check whether --enable-jvmpi or --disable-jvmpi was given.
5160 if test "${enable_jvmpi+set}" = set; then
5161 enableval
="$enable_jvmpi"
5165 if test "$enable_jvmpi" != no
; then
5167 cat >>confdefs.h
<<\_ACEOF
5168 #define ENABLE_JVMPI 1
5173 # If the target is an eCos system, use the appropriate eCos
5175 # FIXME: this should not be a local option but a global target
5176 # system; at present there is no eCos target.
5177 TARGET_ECOS
=${PROCESS-"no"}
5179 # Check whether --with-ecos or --without-ecos was given.
5180 if test "${with_ecos+set}" = set; then
5181 withval
="$with_ecos"
5182 TARGET_ECOS
="$with_ecos"
5190 case "$TARGET_ECOS" in
5195 PLATFORMOBJS
=win32.lo
5198 echo "$as_me:$LINENO: checking whether 'ld' is at least 2.13" >&5
5199 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6
5200 LD_PROG
=`$CC --print-prog-name=ld`
5201 LD_VERSION
=`$LD_PROG --version`
5202 LD_VERSION_MAJOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
5203 LD_VERSION_MINOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
5204 if expr "$LD_VERSION_MAJOR" \
> 2 > /dev
/null
; then
5207 if expr "$LD_VERSION_MAJOR" = 2 && expr "$LD_VERSION_MINOR" \
>= 13 > /dev
/null
; then
5211 if test "x$LD_OK" != x
; then
5212 echo "$as_me:$LINENO: result: yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
5213 echo "${ECHO_T}yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
5215 echo "$as_me:$LINENO: result: no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
5216 echo "${ECHO_T}no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
5217 { echo "$as_me:$LINENO: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&5
5218 echo "$as_me: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&2;}
5220 cat >>confdefs.h
<<\_ACEOF
5221 #define JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS 1
5229 PLATFORMOBJS
=posix.lo
5238 cat >>confdefs.h
<<\_ACEOF
5242 PLATFORMOBJS
=posix.lo
5247 ac_config_links
="$ac_config_links include/platform.h:include/$PLATFORMH"
5251 ac_cpp
='$CPP $CPPFLAGS'
5252 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5253 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5254 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5255 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5256 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5257 # On Suns, sometimes $CPP names a directory.
5258 if test -n "$CPP" && test -d "$CPP"; then
5261 if test -z "$CPP"; then
5262 if test "${ac_cv_prog_CPP+set}" = set; then
5263 echo $ECHO_N "(cached) $ECHO_C" >&6
5265 # Double quotes because CPP needs to be expanded
5266 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5269 for ac_c_preproc_warn_flag
in '' yes
5271 # Use a header file that comes with gcc, so configuring glibc
5272 # with a fresh cross-compiler works.
5273 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5274 # <limits.h> exists even on freestanding compilers.
5275 # On the NeXT, cc -E runs the code through the compiler's parser,
5276 # not just through cpp. "Syntax error" is here to catch this case.
5277 cat >conftest.
$ac_ext <<_ACEOF
5280 cat confdefs.h
>>conftest.
$ac_ext
5281 cat >>conftest.
$ac_ext <<_ACEOF
5282 /* end confdefs.h. */
5284 # include <limits.h>
5286 # include <assert.h>
5290 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5291 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5293 grep -v '^ *+' conftest.er1
>conftest.err
5295 cat conftest.err
>&5
5296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5297 (exit $ac_status); } >/dev
/null
; then
5298 if test -s conftest.err
; then
5299 ac_cpp_err
=$ac_c_preproc_warn_flag
5300 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5307 if test -z "$ac_cpp_err"; then
5310 echo "$as_me: failed program was:" >&5
5311 sed 's/^/| /' conftest.
$ac_ext >&5
5313 # Broken: fails on valid input.
5316 rm -f conftest.err conftest.
$ac_ext
5318 # OK, works on sane cases. Now check whether non-existent headers
5319 # can be detected and how.
5320 cat >conftest.
$ac_ext <<_ACEOF
5323 cat confdefs.h
>>conftest.
$ac_ext
5324 cat >>conftest.
$ac_ext <<_ACEOF
5325 /* end confdefs.h. */
5326 #include <ac_nonexistent.h>
5328 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5329 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5331 grep -v '^ *+' conftest.er1
>conftest.err
5333 cat conftest.err
>&5
5334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5335 (exit $ac_status); } >/dev
/null
; then
5336 if test -s conftest.err
; then
5337 ac_cpp_err
=$ac_c_preproc_warn_flag
5338 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5345 if test -z "$ac_cpp_err"; then
5346 # Broken: success on invalid input.
5349 echo "$as_me: failed program was:" >&5
5350 sed 's/^/| /' conftest.
$ac_ext >&5
5352 # Passes both tests.
5356 rm -f conftest.err conftest.
$ac_ext
5359 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5360 rm -f conftest.err conftest.
$ac_ext
5361 if $ac_preproc_ok; then
5373 echo "$as_me:$LINENO: result: $CPP" >&5
5374 echo "${ECHO_T}$CPP" >&6
5376 for ac_c_preproc_warn_flag
in '' yes
5378 # Use a header file that comes with gcc, so configuring glibc
5379 # with a fresh cross-compiler works.
5380 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5381 # <limits.h> exists even on freestanding compilers.
5382 # On the NeXT, cc -E runs the code through the compiler's parser,
5383 # not just through cpp. "Syntax error" is here to catch this case.
5384 cat >conftest.
$ac_ext <<_ACEOF
5387 cat confdefs.h
>>conftest.
$ac_ext
5388 cat >>conftest.
$ac_ext <<_ACEOF
5389 /* end confdefs.h. */
5391 # include <limits.h>
5393 # include <assert.h>
5397 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5398 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5400 grep -v '^ *+' conftest.er1
>conftest.err
5402 cat conftest.err
>&5
5403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5404 (exit $ac_status); } >/dev
/null
; then
5405 if test -s conftest.err
; then
5406 ac_cpp_err
=$ac_c_preproc_warn_flag
5407 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5414 if test -z "$ac_cpp_err"; then
5417 echo "$as_me: failed program was:" >&5
5418 sed 's/^/| /' conftest.
$ac_ext >&5
5420 # Broken: fails on valid input.
5423 rm -f conftest.err conftest.
$ac_ext
5425 # OK, works on sane cases. Now check whether non-existent headers
5426 # can be detected and how.
5427 cat >conftest.
$ac_ext <<_ACEOF
5430 cat confdefs.h
>>conftest.
$ac_ext
5431 cat >>conftest.
$ac_ext <<_ACEOF
5432 /* end confdefs.h. */
5433 #include <ac_nonexistent.h>
5435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5436 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5438 grep -v '^ *+' conftest.er1
>conftest.err
5440 cat conftest.err
>&5
5441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5442 (exit $ac_status); } >/dev
/null
; then
5443 if test -s conftest.err
; then
5444 ac_cpp_err
=$ac_c_preproc_warn_flag
5445 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5452 if test -z "$ac_cpp_err"; then
5453 # Broken: success on invalid input.
5456 echo "$as_me: failed program was:" >&5
5457 sed 's/^/| /' conftest.
$ac_ext >&5
5459 # Passes both tests.
5463 rm -f conftest.err conftest.
$ac_ext
5466 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5467 rm -f conftest.err conftest.
$ac_ext
5468 if $ac_preproc_ok; then
5471 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5472 See \`config.log' for more details." >&5
5473 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5474 See \`config.log' for more details." >&2;}
5475 { (exit 1); exit 1; }; }
5479 ac_cpp
='$CPP $CPPFLAGS'
5480 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5481 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5482 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5485 echo "$as_me:$LINENO: checking for egrep" >&5
5486 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5487 if test "${ac_cv_prog_egrep+set}" = set; then
5488 echo $ECHO_N "(cached) $ECHO_C" >&6
5490 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5491 then ac_cv_prog_egrep
='grep -E'
5492 else ac_cv_prog_egrep
='egrep'
5495 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5496 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5497 EGREP
=$ac_cv_prog_egrep
5500 cat >conftest.
$ac_ext <<_ACEOF
5503 cat confdefs.h
>>conftest.
$ac_ext
5504 cat >>conftest.
$ac_ext <<_ACEOF
5505 /* end confdefs.h. */
5509 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5510 $EGREP "uint32_t" >/dev
/null
2>&1; then
5512 cat >>confdefs.h
<<\_ACEOF
5513 #define HAVE_INT32_DEFINED 1
5519 cat >conftest.
$ac_ext <<_ACEOF
5522 cat confdefs.h
>>conftest.
$ac_ext
5523 cat >>conftest.
$ac_ext <<_ACEOF
5524 /* end confdefs.h. */
5525 #include <inttypes.h>
5528 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5529 $EGREP "uint32_t" >/dev
/null
2>&1; then
5531 cat >>confdefs.h
<<\_ACEOF
5532 #define HAVE_INT32_DEFINED 1
5538 cat >conftest.
$ac_ext <<_ACEOF
5541 cat confdefs.h
>>conftest.
$ac_ext
5542 cat >>conftest.
$ac_ext <<_ACEOF
5543 /* end confdefs.h. */
5544 #include <sys/types.h>
5547 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5548 $EGREP "u_int32_t" >/dev
/null
2>&1; then
5550 cat >>confdefs.h
<<\_ACEOF
5551 #define HAVE_BSD_INT32_DEFINED 1
5557 cat >conftest.
$ac_ext <<_ACEOF
5560 cat confdefs.h
>>conftest.
$ac_ext
5561 cat >>conftest.
$ac_ext <<_ACEOF
5562 /* end confdefs.h. */
5563 #include <sys/config.h>
5566 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5567 $EGREP "u_int32_t" >/dev
/null
2>&1; then
5569 cat >>confdefs.h
<<\_ACEOF
5570 #define HAVE_BSD_INT32_DEFINED 1
5578 # These may not be defined in a non-ANS conformant embedded system.
5579 # FIXME: Should these case a runtime exception in that case?
5580 cat >conftest.
$ac_ext <<_ACEOF
5583 cat confdefs.h
>>conftest.
$ac_ext
5584 cat >>conftest.
$ac_ext <<_ACEOF
5585 /* end confdefs.h. */
5589 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5590 $EGREP "mktime" >/dev
/null
2>&1; then
5592 cat >>confdefs.h
<<\_ACEOF
5593 #define HAVE_MKTIME 1
5599 cat >conftest.
$ac_ext <<_ACEOF
5602 cat confdefs.h
>>conftest.
$ac_ext
5603 cat >>conftest.
$ac_ext <<_ACEOF
5604 /* end confdefs.h. */
5608 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5609 $EGREP "localtime" >/dev
/null
2>&1; then
5611 cat >>confdefs.h
<<\_ACEOF
5612 #define HAVE_LOCALTIME 1
5619 # Create the subdirectory for natFile.cc, or the attempt
5620 # to create the link will fail.
5621 test -d java || mkdir java
5622 test -d java
/io || mkdir java
/io
5623 test -d gnu || mkdir gnu
5624 ac_config_links
="$ac_config_links java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc"
5627 # Likewise for ConcreteProcess.java and natConcreteProcess.cc.
5628 test -d java
/lang || mkdir java
/lang
5629 ac_config_links
="$ac_config_links java/lang/ConcreteProcess.java:java/lang/${PLATFORM}Process.java"
5631 ac_config_links
="$ac_config_links java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc"
5634 # Likewise for natInetAddress.cc and natNetworkInterface.cc.
5635 test -d java
/net || mkdir java
/net
5636 ac_config_links
="$ac_config_links java/net/natInetAddress.cc:java/net/natInetAddress${PLATFORMNET}.cc"
5638 ac_config_links
="$ac_config_links java/net/natNetworkInterface.cc:java/net/natNetworkInterface${PLATFORMNET}.cc"
5641 # Likewise for natPlainSocketImpl.cc and natPlainDatagramSocketImpl.cc.
5642 test -d gnu
/java || mkdir gnu
/java
5643 test -d gnu
/java
/net || mkdir gnu
/java
/net
5644 ac_config_links
="$ac_config_links gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc"
5646 ac_config_links
="$ac_config_links gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc"
5649 # Likewise for natPipeImpl.cc and natSelectorImpl.cc.
5650 test -d gnu
/java
/nio || mkdir gnu
/java
/nio
5651 ac_config_links
="$ac_config_links gnu/java/nio/natPipeImpl.cc:gnu/java/nio/natPipeImpl${PLATFORM}.cc"
5653 ac_config_links
="$ac_config_links gnu/java/nio/natSelectorImpl.cc:gnu/java/nio/natSelectorImpl${PLATFORM}.cc"
5655 test -d gnu
/java
/nio
/channels || mkdir gnu
/java
/nio
/channels
5656 ac_config_links
="$ac_config_links gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc"
5661 SYSTEMSPEC
="-lgdi32 -lws2_32"
5662 if test "${with_win32_nlsapi}" = "unicows"; then
5663 SYSTEMSPEC
="-lunicows $SYSTEMSPEC"
5672 LIBGCJTESTSPEC
="-L`${PWDCMD-pwd}`/.libs -rpath `${PWDCMD-pwd}`/.libs"
5676 # Check whether --with-system-zlib or --without-system-zlib was given.
5677 if test "${with_system_zlib+set}" = set; then
5678 withval
="$with_system_zlib"
5687 if test "x$ac_path_x_has_been_run" != xyes
; then
5688 echo "$as_me:$LINENO: checking for X" >&5
5689 echo $ECHO_N "checking for X... $ECHO_C" >&6
5691 ac_path_x_has_been_run
=yes
5693 # Check whether --with-x or --without-x was given.
5694 if test "${with_x+set}" = set; then
5698 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
5699 if test "x$with_x" = xno
; then
5700 # The user explicitly disabled X.
5703 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
5704 # Both variables are already set.
5707 if test "${ac_cv_have_x+set}" = set; then
5708 echo $ECHO_N "(cached) $ECHO_C" >&6
5710 # One or both of the vars are not set, and there is no cached value.
5711 ac_x_includes
=no ac_x_libraries
=no
5713 if mkdir conftest.dir
; then
5715 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
5716 cat >Imakefile
<<'_ACEOF'
5718 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
5720 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
5721 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5722 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
5723 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
5724 for ac_extension
in a so sl
; do
5725 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
5726 test -f $ac_im_libdir/libX11.
$ac_extension; then
5727 ac_im_usrlibdir
=$ac_im_libdir; break
5730 # Screen out bogus values from the imake configuration. They are
5731 # bogus both because they are the default anyway, and because
5732 # using them would break gcc on systems where it needs fixed includes.
5733 case $ac_im_incroot in
5735 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
5737 case $ac_im_usrlibdir in
5739 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
5746 # Standard set of common directories for X headers.
5747 # Check X11 before X11Rn because it is often a symlink to the current release.
5759 /usr/local/X11/include
5760 /usr/local/X11R6/include
5761 /usr/local/X11R5/include
5762 /usr/local/X11R4/include
5764 /usr/local/include/X11
5765 /usr/local/include/X11R6
5766 /usr/local/include/X11R5
5767 /usr/local/include/X11R4
5771 /usr/XFree86/include/X11
5775 /usr/unsupported/include
5777 /usr/local/x11r5/include
5778 /usr/lpp/Xamples/include
5780 /usr/openwin/include
5781 /usr/openwin/share/include'
5783 if test "$ac_x_includes" = no
; then
5784 # Guess where to find include files, by looking for a specified header file.
5785 # First, try using that file with no special directory specified.
5786 cat >conftest.
$ac_ext <<_ACEOF
5789 cat confdefs.h
>>conftest.
$ac_ext
5790 cat >>conftest.
$ac_ext <<_ACEOF
5791 /* end confdefs.h. */
5792 #include <X11/Intrinsic.h>
5794 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5795 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5797 grep -v '^ *+' conftest.er1
>conftest.err
5799 cat conftest.err
>&5
5800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5801 (exit $ac_status); } >/dev
/null
; then
5802 if test -s conftest.err
; then
5803 ac_cpp_err
=$ac_c_preproc_warn_flag
5804 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5811 if test -z "$ac_cpp_err"; then
5812 # We can compile using X headers with no special include directory.
5815 echo "$as_me: failed program was:" >&5
5816 sed 's/^/| /' conftest.
$ac_ext >&5
5818 for ac_dir
in $ac_x_header_dirs; do
5819 if test -r "$ac_dir/X11/Intrinsic.h"; then
5820 ac_x_includes
=$ac_dir
5825 rm -f conftest.err conftest.
$ac_ext
5826 fi # $ac_x_includes = no
5828 if test "$ac_x_libraries" = no
; then
5829 # Check for the libraries.
5830 # See if we find them without any special options.
5831 # Don't add to $LIBS permanently.
5834 if test x
$gcc_no_link = xyes
; then
5835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5837 { (exit 1); exit 1; }; }
5839 cat >conftest.
$ac_ext <<_ACEOF
5842 cat confdefs.h
>>conftest.
$ac_ext
5843 cat >>conftest.
$ac_ext <<_ACEOF
5844 /* end confdefs.h. */
5845 #include <X11/Intrinsic.h>
5854 rm -f conftest.
$ac_objext conftest
$ac_exeext
5855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5856 (eval $ac_link) 2>conftest.er1
5858 grep -v '^ *+' conftest.er1
>conftest.err
5860 cat conftest.err
>&5
5861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5862 (exit $ac_status); } &&
5863 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5868 (exit $ac_status); }; } &&
5869 { ac_try
='test -s conftest$ac_exeext'
5870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5874 (exit $ac_status); }; }; then
5876 # We can link X programs with no special library path.
5879 echo "$as_me: failed program was:" >&5
5880 sed 's/^/| /' conftest.
$ac_ext >&5
5883 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
5885 # Don't even attempt the hair of trying to link an X program!
5886 for ac_extension
in a so sl
; do
5887 if test -r $ac_dir/libXt.
$ac_extension; then
5888 ac_x_libraries
=$ac_dir
5894 rm -f conftest.err conftest.
$ac_objext \
5895 conftest
$ac_exeext conftest.
$ac_ext
5896 fi # $ac_x_libraries = no
5898 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
5899 # Didn't find X anywhere. Cache the known absence of X.
5900 ac_cv_have_x
="have_x=no"
5902 # Record where we found X for the cache.
5903 ac_cv_have_x
="have_x=yes \
5904 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
5909 eval "$ac_cv_have_x"
5912 if test "$have_x" != yes; then
5913 echo "$as_me:$LINENO: result: $have_x" >&5
5914 echo "${ECHO_T}$have_x" >&6
5917 # If each of the values was on the command line, it overrides each guess.
5918 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
5919 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
5920 # Update the cache value to reflect the command line values.
5921 ac_cv_have_x
="have_x=yes \
5922 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5923 # It might be that x_includes is empty (headers are found in the
5924 # standard search path. Then output the corresponding message
5925 ac_out_x_includes
=$x_includes
5926 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
5927 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
5928 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
5932 if test "$no_x" = yes; then
5933 # Not all programs may use this symbol, but it does not hurt to define it.
5935 cat >>confdefs.h
<<\_ACEOF
5936 #define X_DISPLAY_MISSING 1
5939 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
5941 if test -n "$x_includes"; then
5942 X_CFLAGS
="$X_CFLAGS -I$x_includes"
5945 # It would also be nice to do this for all -L options, not just this one.
5946 if test -n "$x_libraries"; then
5947 X_LIBS
="$X_LIBS -L$x_libraries"
5948 # For Solaris; some versions of Sun CC require a space after -R and
5949 # others require no space. Words are not sufficient . . . .
5950 case `(uname -sr) 2>/dev/null` in
5952 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
5953 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
5954 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
5955 if test x
$gcc_no_link = xyes
; then
5956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5958 { (exit 1); exit 1; }; }
5960 cat >conftest.
$ac_ext <<_ACEOF
5963 cat confdefs.h
>>conftest.
$ac_ext
5964 cat >>conftest.
$ac_ext <<_ACEOF
5965 /* end confdefs.h. */
5975 rm -f conftest.
$ac_objext conftest
$ac_exeext
5976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5977 (eval $ac_link) 2>conftest.er1
5979 grep -v '^ *+' conftest.er1
>conftest.err
5981 cat conftest.err
>&5
5982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5983 (exit $ac_status); } &&
5984 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5989 (exit $ac_status); }; } &&
5990 { ac_try
='test -s conftest$ac_exeext'
5991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5995 (exit $ac_status); }; }; then
5998 echo "$as_me: failed program was:" >&5
5999 sed 's/^/| /' conftest.
$ac_ext >&5
6003 rm -f conftest.err conftest.
$ac_objext \
6004 conftest
$ac_exeext conftest.
$ac_ext
6005 if test $ac_R_nospace = yes; then
6006 echo "$as_me:$LINENO: result: no" >&5
6007 echo "${ECHO_T}no" >&6
6008 X_LIBS
="$X_LIBS -R$x_libraries"
6010 LIBS
="$ac_xsave_LIBS -R $x_libraries"
6011 if test x
$gcc_no_link = xyes
; then
6012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6014 { (exit 1); exit 1; }; }
6016 cat >conftest.
$ac_ext <<_ACEOF
6019 cat confdefs.h
>>conftest.
$ac_ext
6020 cat >>conftest.
$ac_ext <<_ACEOF
6021 /* end confdefs.h. */
6031 rm -f conftest.
$ac_objext conftest
$ac_exeext
6032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6033 (eval $ac_link) 2>conftest.er1
6035 grep -v '^ *+' conftest.er1
>conftest.err
6037 cat conftest.err
>&5
6038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6039 (exit $ac_status); } &&
6040 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6045 (exit $ac_status); }; } &&
6046 { ac_try
='test -s conftest$ac_exeext'
6047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6051 (exit $ac_status); }; }; then
6054 echo "$as_me: failed program was:" >&5
6055 sed 's/^/| /' conftest.
$ac_ext >&5
6059 rm -f conftest.err conftest.
$ac_objext \
6060 conftest
$ac_exeext conftest.
$ac_ext
6061 if test $ac_R_space = yes; then
6062 echo "$as_me:$LINENO: result: yes" >&5
6063 echo "${ECHO_T}yes" >&6
6064 X_LIBS
="$X_LIBS -R $x_libraries"
6066 echo "$as_me:$LINENO: result: neither works" >&5
6067 echo "${ECHO_T}neither works" >&6
6074 # Check for system-dependent libraries X programs must link with.
6075 # Do this before checking for the system-independent R6 libraries
6076 # (-lICE), since we may need -lsocket or whatever for X linking.
6078 if test "$ISC" = yes; then
6079 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
6081 # Martyn Johnson says this is needed for Ultrix, if the X
6082 # libraries were built with DECnet support. And Karl Berry says
6083 # the Alpha needs dnet_stub (dnet does not exist).
6084 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
6085 if test x
$gcc_no_link = xyes
; then
6086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6088 { (exit 1); exit 1; }; }
6090 cat >conftest.
$ac_ext <<_ACEOF
6093 cat confdefs.h
>>conftest.
$ac_ext
6094 cat >>conftest.
$ac_ext <<_ACEOF
6095 /* end confdefs.h. */
6097 /* Override any gcc2 internal prototype to avoid an error. */
6101 /* We use char because int might match the return type of a gcc2
6102 builtin and then its argument prototype would still apply. */
6103 char XOpenDisplay ();
6112 rm -f conftest.
$ac_objext conftest
$ac_exeext
6113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6114 (eval $ac_link) 2>conftest.er1
6116 grep -v '^ *+' conftest.er1
>conftest.err
6118 cat conftest.err
>&5
6119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6120 (exit $ac_status); } &&
6121 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6126 (exit $ac_status); }; } &&
6127 { ac_try
='test -s conftest$ac_exeext'
6128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6132 (exit $ac_status); }; }; then
6135 echo "$as_me: failed program was:" >&5
6136 sed 's/^/| /' conftest.
$ac_ext >&5
6138 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
6139 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
6140 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
6141 echo $ECHO_N "(cached) $ECHO_C" >&6
6143 ac_check_lib_save_LIBS
=$LIBS
6145 if test x
$gcc_no_link = xyes
; then
6146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6148 { (exit 1); exit 1; }; }
6150 cat >conftest.
$ac_ext <<_ACEOF
6153 cat confdefs.h
>>conftest.
$ac_ext
6154 cat >>conftest.
$ac_ext <<_ACEOF
6155 /* end confdefs.h. */
6157 /* Override any gcc2 internal prototype to avoid an error. */
6161 /* We use char because int might match the return type of a gcc2
6162 builtin and then its argument prototype would still apply. */
6172 rm -f conftest.
$ac_objext conftest
$ac_exeext
6173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6174 (eval $ac_link) 2>conftest.er1
6176 grep -v '^ *+' conftest.er1
>conftest.err
6178 cat conftest.err
>&5
6179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6180 (exit $ac_status); } &&
6181 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6186 (exit $ac_status); }; } &&
6187 { ac_try
='test -s conftest$ac_exeext'
6188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192 (exit $ac_status); }; }; then
6193 ac_cv_lib_dnet_dnet_ntoa
=yes
6195 echo "$as_me: failed program was:" >&5
6196 sed 's/^/| /' conftest.
$ac_ext >&5
6198 ac_cv_lib_dnet_dnet_ntoa
=no
6200 rm -f conftest.err conftest.
$ac_objext \
6201 conftest
$ac_exeext conftest.
$ac_ext
6202 LIBS
=$ac_check_lib_save_LIBS
6204 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
6205 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
6206 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
6207 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
6210 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
6211 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
6212 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
6213 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
6214 echo $ECHO_N "(cached) $ECHO_C" >&6
6216 ac_check_lib_save_LIBS
=$LIBS
6217 LIBS
="-ldnet_stub $LIBS"
6218 if test x
$gcc_no_link = xyes
; then
6219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6221 { (exit 1); exit 1; }; }
6223 cat >conftest.
$ac_ext <<_ACEOF
6226 cat confdefs.h
>>conftest.
$ac_ext
6227 cat >>conftest.
$ac_ext <<_ACEOF
6228 /* end confdefs.h. */
6230 /* Override any gcc2 internal prototype to avoid an error. */
6234 /* We use char because int might match the return type of a gcc2
6235 builtin and then its argument prototype would still apply. */
6245 rm -f conftest.
$ac_objext conftest
$ac_exeext
6246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6247 (eval $ac_link) 2>conftest.er1
6249 grep -v '^ *+' conftest.er1
>conftest.err
6251 cat conftest.err
>&5
6252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6253 (exit $ac_status); } &&
6254 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6259 (exit $ac_status); }; } &&
6260 { ac_try
='test -s conftest$ac_exeext'
6261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6265 (exit $ac_status); }; }; then
6266 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
6268 echo "$as_me: failed program was:" >&5
6269 sed 's/^/| /' conftest.
$ac_ext >&5
6271 ac_cv_lib_dnet_stub_dnet_ntoa
=no
6273 rm -f conftest.err conftest.
$ac_objext \
6274 conftest
$ac_exeext conftest.
$ac_ext
6275 LIBS
=$ac_check_lib_save_LIBS
6277 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
6278 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
6279 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
6280 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
6285 rm -f conftest.err conftest.
$ac_objext \
6286 conftest
$ac_exeext conftest.
$ac_ext
6287 LIBS
="$ac_xsave_LIBS"
6289 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
6290 # to get the SysV transport functions.
6291 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
6293 # The nsl library prevents programs from opening the X display
6294 # on Irix 5.2, according to T.E. Dickey.
6295 # The functions gethostbyname, getservbyname, and inet_addr are
6296 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
6297 echo "$as_me:$LINENO: checking for gethostbyname" >&5
6298 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
6299 if test "${ac_cv_func_gethostbyname+set}" = set; then
6300 echo $ECHO_N "(cached) $ECHO_C" >&6
6302 if test x
$gcc_no_link = xyes
; then
6303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6305 { (exit 1); exit 1; }; }
6307 cat >conftest.
$ac_ext <<_ACEOF
6310 cat confdefs.h
>>conftest.
$ac_ext
6311 cat >>conftest.
$ac_ext <<_ACEOF
6312 /* end confdefs.h. */
6313 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
6314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6315 #define gethostbyname innocuous_gethostbyname
6317 /* System header to define __stub macros and hopefully few prototypes,
6318 which can conflict with char gethostbyname (); below.
6319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6320 <limits.h> exists even on freestanding compilers. */
6323 # include <limits.h>
6325 # include <assert.h>
6328 #undef gethostbyname
6330 /* Override any gcc2 internal prototype to avoid an error. */
6335 /* We use char because int might match the return type of a gcc2
6336 builtin and then its argument prototype would still apply. */
6337 char gethostbyname ();
6338 /* The GNU C library defines this for functions which it implements
6339 to always fail with ENOSYS. Some functions are actually named
6340 something starting with __ and the normal name is an alias. */
6341 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
6344 char (*f) () = gethostbyname;
6353 return f != gethostbyname;
6358 rm -f conftest.
$ac_objext conftest
$ac_exeext
6359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6360 (eval $ac_link) 2>conftest.er1
6362 grep -v '^ *+' conftest.er1
>conftest.err
6364 cat conftest.err
>&5
6365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6366 (exit $ac_status); } &&
6367 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6372 (exit $ac_status); }; } &&
6373 { ac_try
='test -s conftest$ac_exeext'
6374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6378 (exit $ac_status); }; }; then
6379 ac_cv_func_gethostbyname
=yes
6381 echo "$as_me: failed program was:" >&5
6382 sed 's/^/| /' conftest.
$ac_ext >&5
6384 ac_cv_func_gethostbyname
=no
6386 rm -f conftest.err conftest.
$ac_objext \
6387 conftest
$ac_exeext conftest.
$ac_ext
6389 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
6390 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
6392 if test $ac_cv_func_gethostbyname = no
; then
6393 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6394 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6395 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6396 echo $ECHO_N "(cached) $ECHO_C" >&6
6398 ac_check_lib_save_LIBS
=$LIBS
6400 if test x
$gcc_no_link = xyes
; then
6401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6403 { (exit 1); exit 1; }; }
6405 cat >conftest.
$ac_ext <<_ACEOF
6408 cat confdefs.h
>>conftest.
$ac_ext
6409 cat >>conftest.
$ac_ext <<_ACEOF
6410 /* end confdefs.h. */
6412 /* Override any gcc2 internal prototype to avoid an error. */
6416 /* We use char because int might match the return type of a gcc2
6417 builtin and then its argument prototype would still apply. */
6418 char gethostbyname ();
6427 rm -f conftest.
$ac_objext conftest
$ac_exeext
6428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6429 (eval $ac_link) 2>conftest.er1
6431 grep -v '^ *+' conftest.er1
>conftest.err
6433 cat conftest.err
>&5
6434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435 (exit $ac_status); } &&
6436 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6441 (exit $ac_status); }; } &&
6442 { ac_try
='test -s conftest$ac_exeext'
6443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6447 (exit $ac_status); }; }; then
6448 ac_cv_lib_nsl_gethostbyname
=yes
6450 echo "$as_me: failed program was:" >&5
6451 sed 's/^/| /' conftest.
$ac_ext >&5
6453 ac_cv_lib_nsl_gethostbyname
=no
6455 rm -f conftest.err conftest.
$ac_objext \
6456 conftest
$ac_exeext conftest.
$ac_ext
6457 LIBS
=$ac_check_lib_save_LIBS
6459 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6460 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6461 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6462 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
6465 if test $ac_cv_lib_nsl_gethostbyname = no
; then
6466 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
6467 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
6468 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
6469 echo $ECHO_N "(cached) $ECHO_C" >&6
6471 ac_check_lib_save_LIBS
=$LIBS
6473 if test x
$gcc_no_link = xyes
; then
6474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6476 { (exit 1); exit 1; }; }
6478 cat >conftest.
$ac_ext <<_ACEOF
6481 cat confdefs.h
>>conftest.
$ac_ext
6482 cat >>conftest.
$ac_ext <<_ACEOF
6483 /* end confdefs.h. */
6485 /* Override any gcc2 internal prototype to avoid an error. */
6489 /* We use char because int might match the return type of a gcc2
6490 builtin and then its argument prototype would still apply. */
6491 char gethostbyname ();
6500 rm -f conftest.
$ac_objext conftest
$ac_exeext
6501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6502 (eval $ac_link) 2>conftest.er1
6504 grep -v '^ *+' conftest.er1
>conftest.err
6506 cat conftest.err
>&5
6507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508 (exit $ac_status); } &&
6509 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6514 (exit $ac_status); }; } &&
6515 { ac_try
='test -s conftest$ac_exeext'
6516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6520 (exit $ac_status); }; }; then
6521 ac_cv_lib_bsd_gethostbyname
=yes
6523 echo "$as_me: failed program was:" >&5
6524 sed 's/^/| /' conftest.
$ac_ext >&5
6526 ac_cv_lib_bsd_gethostbyname
=no
6528 rm -f conftest.err conftest.
$ac_objext \
6529 conftest
$ac_exeext conftest.
$ac_ext
6530 LIBS
=$ac_check_lib_save_LIBS
6532 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
6533 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
6534 if test $ac_cv_lib_bsd_gethostbyname = yes; then
6535 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
6541 # lieder@skyler.mavd.honeywell.com says without -lsocket,
6542 # socket/setsockopt and other routines are undefined under SCO ODT
6543 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
6544 # on later versions), says Simon Leinen: it contains gethostby*
6545 # variants that don't use the name server (or something). -lsocket
6546 # must be given before -lnsl if both are needed. We assume that
6547 # if connect needs -lnsl, so does gethostbyname.
6548 echo "$as_me:$LINENO: checking for connect" >&5
6549 echo $ECHO_N "checking for connect... $ECHO_C" >&6
6550 if test "${ac_cv_func_connect+set}" = set; then
6551 echo $ECHO_N "(cached) $ECHO_C" >&6
6553 if test x
$gcc_no_link = xyes
; then
6554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6556 { (exit 1); exit 1; }; }
6558 cat >conftest.
$ac_ext <<_ACEOF
6561 cat confdefs.h
>>conftest.
$ac_ext
6562 cat >>conftest.
$ac_ext <<_ACEOF
6563 /* end confdefs.h. */
6564 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
6565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6566 #define connect innocuous_connect
6568 /* System header to define __stub macros and hopefully few prototypes,
6569 which can conflict with char connect (); below.
6570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6571 <limits.h> exists even on freestanding compilers. */
6574 # include <limits.h>
6576 # include <assert.h>
6581 /* Override any gcc2 internal prototype to avoid an error. */
6586 /* We use char because int might match the return type of a gcc2
6587 builtin and then its argument prototype would still apply. */
6589 /* The GNU C library defines this for functions which it implements
6590 to always fail with ENOSYS. Some functions are actually named
6591 something starting with __ and the normal name is an alias. */
6592 #if defined (__stub_connect) || defined (__stub___connect)
6595 char (*f) () = connect;
6604 return f != connect;
6609 rm -f conftest.
$ac_objext conftest
$ac_exeext
6610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6611 (eval $ac_link) 2>conftest.er1
6613 grep -v '^ *+' conftest.er1
>conftest.err
6615 cat conftest.err
>&5
6616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6617 (exit $ac_status); } &&
6618 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6623 (exit $ac_status); }; } &&
6624 { ac_try
='test -s conftest$ac_exeext'
6625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6629 (exit $ac_status); }; }; then
6630 ac_cv_func_connect
=yes
6632 echo "$as_me: failed program was:" >&5
6633 sed 's/^/| /' conftest.
$ac_ext >&5
6635 ac_cv_func_connect
=no
6637 rm -f conftest.err conftest.
$ac_objext \
6638 conftest
$ac_exeext conftest.
$ac_ext
6640 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
6641 echo "${ECHO_T}$ac_cv_func_connect" >&6
6643 if test $ac_cv_func_connect = no
; then
6644 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6645 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6646 if test "${ac_cv_lib_socket_connect+set}" = set; then
6647 echo $ECHO_N "(cached) $ECHO_C" >&6
6649 ac_check_lib_save_LIBS
=$LIBS
6650 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
6651 if test x
$gcc_no_link = xyes
; then
6652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6654 { (exit 1); exit 1; }; }
6656 cat >conftest.
$ac_ext <<_ACEOF
6659 cat confdefs.h
>>conftest.
$ac_ext
6660 cat >>conftest.
$ac_ext <<_ACEOF
6661 /* end confdefs.h. */
6663 /* Override any gcc2 internal prototype to avoid an error. */
6667 /* We use char because int might match the return type of a gcc2
6668 builtin and then its argument prototype would still apply. */
6678 rm -f conftest.
$ac_objext conftest
$ac_exeext
6679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6680 (eval $ac_link) 2>conftest.er1
6682 grep -v '^ *+' conftest.er1
>conftest.err
6684 cat conftest.err
>&5
6685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6686 (exit $ac_status); } &&
6687 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6692 (exit $ac_status); }; } &&
6693 { ac_try
='test -s conftest$ac_exeext'
6694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6698 (exit $ac_status); }; }; then
6699 ac_cv_lib_socket_connect
=yes
6701 echo "$as_me: failed program was:" >&5
6702 sed 's/^/| /' conftest.
$ac_ext >&5
6704 ac_cv_lib_socket_connect
=no
6706 rm -f conftest.err conftest.
$ac_objext \
6707 conftest
$ac_exeext conftest.
$ac_ext
6708 LIBS
=$ac_check_lib_save_LIBS
6710 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6711 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6712 if test $ac_cv_lib_socket_connect = yes; then
6713 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
6718 # Guillermo Gomez says -lposix is necessary on A/UX.
6719 echo "$as_me:$LINENO: checking for remove" >&5
6720 echo $ECHO_N "checking for remove... $ECHO_C" >&6
6721 if test "${ac_cv_func_remove+set}" = set; then
6722 echo $ECHO_N "(cached) $ECHO_C" >&6
6724 if test x
$gcc_no_link = xyes
; then
6725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6727 { (exit 1); exit 1; }; }
6729 cat >conftest.
$ac_ext <<_ACEOF
6732 cat confdefs.h
>>conftest.
$ac_ext
6733 cat >>conftest.
$ac_ext <<_ACEOF
6734 /* end confdefs.h. */
6735 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
6736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6737 #define remove innocuous_remove
6739 /* System header to define __stub macros and hopefully few prototypes,
6740 which can conflict with char remove (); below.
6741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6742 <limits.h> exists even on freestanding compilers. */
6745 # include <limits.h>
6747 # include <assert.h>
6752 /* Override any gcc2 internal prototype to avoid an error. */
6757 /* We use char because int might match the return type of a gcc2
6758 builtin and then its argument prototype would still apply. */
6760 /* The GNU C library defines this for functions which it implements
6761 to always fail with ENOSYS. Some functions are actually named
6762 something starting with __ and the normal name is an alias. */
6763 #if defined (__stub_remove) || defined (__stub___remove)
6766 char (*f) () = remove;
6780 rm -f conftest.
$ac_objext conftest
$ac_exeext
6781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6782 (eval $ac_link) 2>conftest.er1
6784 grep -v '^ *+' conftest.er1
>conftest.err
6786 cat conftest.err
>&5
6787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6788 (exit $ac_status); } &&
6789 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6794 (exit $ac_status); }; } &&
6795 { ac_try
='test -s conftest$ac_exeext'
6796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6800 (exit $ac_status); }; }; then
6801 ac_cv_func_remove
=yes
6803 echo "$as_me: failed program was:" >&5
6804 sed 's/^/| /' conftest.
$ac_ext >&5
6806 ac_cv_func_remove
=no
6808 rm -f conftest.err conftest.
$ac_objext \
6809 conftest
$ac_exeext conftest.
$ac_ext
6811 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
6812 echo "${ECHO_T}$ac_cv_func_remove" >&6
6814 if test $ac_cv_func_remove = no
; then
6815 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
6816 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
6817 if test "${ac_cv_lib_posix_remove+set}" = set; then
6818 echo $ECHO_N "(cached) $ECHO_C" >&6
6820 ac_check_lib_save_LIBS
=$LIBS
6821 LIBS
="-lposix $LIBS"
6822 if test x
$gcc_no_link = xyes
; then
6823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6825 { (exit 1); exit 1; }; }
6827 cat >conftest.
$ac_ext <<_ACEOF
6830 cat confdefs.h
>>conftest.
$ac_ext
6831 cat >>conftest.
$ac_ext <<_ACEOF
6832 /* end confdefs.h. */
6834 /* Override any gcc2 internal prototype to avoid an error. */
6838 /* We use char because int might match the return type of a gcc2
6839 builtin and then its argument prototype would still apply. */
6849 rm -f conftest.
$ac_objext conftest
$ac_exeext
6850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6851 (eval $ac_link) 2>conftest.er1
6853 grep -v '^ *+' conftest.er1
>conftest.err
6855 cat conftest.err
>&5
6856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6857 (exit $ac_status); } &&
6858 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6863 (exit $ac_status); }; } &&
6864 { ac_try
='test -s conftest$ac_exeext'
6865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6869 (exit $ac_status); }; }; then
6870 ac_cv_lib_posix_remove
=yes
6872 echo "$as_me: failed program was:" >&5
6873 sed 's/^/| /' conftest.
$ac_ext >&5
6875 ac_cv_lib_posix_remove
=no
6877 rm -f conftest.err conftest.
$ac_objext \
6878 conftest
$ac_exeext conftest.
$ac_ext
6879 LIBS
=$ac_check_lib_save_LIBS
6881 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
6882 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
6883 if test $ac_cv_lib_posix_remove = yes; then
6884 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
6889 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
6890 echo "$as_me:$LINENO: checking for shmat" >&5
6891 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
6892 if test "${ac_cv_func_shmat+set}" = set; then
6893 echo $ECHO_N "(cached) $ECHO_C" >&6
6895 if test x
$gcc_no_link = xyes
; then
6896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6898 { (exit 1); exit 1; }; }
6900 cat >conftest.
$ac_ext <<_ACEOF
6903 cat confdefs.h
>>conftest.
$ac_ext
6904 cat >>conftest.
$ac_ext <<_ACEOF
6905 /* end confdefs.h. */
6906 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
6907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6908 #define shmat innocuous_shmat
6910 /* System header to define __stub macros and hopefully few prototypes,
6911 which can conflict with char shmat (); below.
6912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6913 <limits.h> exists even on freestanding compilers. */
6916 # include <limits.h>
6918 # include <assert.h>
6923 /* Override any gcc2 internal prototype to avoid an error. */
6928 /* We use char because int might match the return type of a gcc2
6929 builtin and then its argument prototype would still apply. */
6931 /* The GNU C library defines this for functions which it implements
6932 to always fail with ENOSYS. Some functions are actually named
6933 something starting with __ and the normal name is an alias. */
6934 #if defined (__stub_shmat) || defined (__stub___shmat)
6937 char (*f) () = shmat;
6951 rm -f conftest.
$ac_objext conftest
$ac_exeext
6952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6953 (eval $ac_link) 2>conftest.er1
6955 grep -v '^ *+' conftest.er1
>conftest.err
6957 cat conftest.err
>&5
6958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6959 (exit $ac_status); } &&
6960 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6965 (exit $ac_status); }; } &&
6966 { ac_try
='test -s conftest$ac_exeext'
6967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6971 (exit $ac_status); }; }; then
6972 ac_cv_func_shmat
=yes
6974 echo "$as_me: failed program was:" >&5
6975 sed 's/^/| /' conftest.
$ac_ext >&5
6979 rm -f conftest.err conftest.
$ac_objext \
6980 conftest
$ac_exeext conftest.
$ac_ext
6982 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
6983 echo "${ECHO_T}$ac_cv_func_shmat" >&6
6985 if test $ac_cv_func_shmat = no
; then
6986 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
6987 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
6988 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
6989 echo $ECHO_N "(cached) $ECHO_C" >&6
6991 ac_check_lib_save_LIBS
=$LIBS
6993 if test x
$gcc_no_link = xyes
; then
6994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6996 { (exit 1); exit 1; }; }
6998 cat >conftest.
$ac_ext <<_ACEOF
7001 cat confdefs.h
>>conftest.
$ac_ext
7002 cat >>conftest.
$ac_ext <<_ACEOF
7003 /* end confdefs.h. */
7005 /* Override any gcc2 internal prototype to avoid an error. */
7009 /* We use char because int might match the return type of a gcc2
7010 builtin and then its argument prototype would still apply. */
7020 rm -f conftest.
$ac_objext conftest
$ac_exeext
7021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7022 (eval $ac_link) 2>conftest.er1
7024 grep -v '^ *+' conftest.er1
>conftest.err
7026 cat conftest.err
>&5
7027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7028 (exit $ac_status); } &&
7029 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7034 (exit $ac_status); }; } &&
7035 { ac_try
='test -s conftest$ac_exeext'
7036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7040 (exit $ac_status); }; }; then
7041 ac_cv_lib_ipc_shmat
=yes
7043 echo "$as_me: failed program was:" >&5
7044 sed 's/^/| /' conftest.
$ac_ext >&5
7046 ac_cv_lib_ipc_shmat
=no
7048 rm -f conftest.err conftest.
$ac_objext \
7049 conftest
$ac_exeext conftest.
$ac_ext
7050 LIBS
=$ac_check_lib_save_LIBS
7052 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
7053 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
7054 if test $ac_cv_lib_ipc_shmat = yes; then
7055 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7061 # Check for libraries that X11R6 Xt/Xaw programs need.
7062 ac_save_LDFLAGS
=$LDFLAGS
7063 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7064 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7065 # check for ICE first), but we must link in the order -lSM -lICE or
7066 # we get undefined symbols. So assume we have SM if we have ICE.
7067 # These have to be linked with before -lX11, unlike the other
7068 # libraries we check for below, so use a different variable.
7069 # John Interrante, Karl Berry
7070 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
7071 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
7072 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
7073 echo $ECHO_N "(cached) $ECHO_C" >&6
7075 ac_check_lib_save_LIBS
=$LIBS
7076 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7077 if test x
$gcc_no_link = xyes
; then
7078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7080 { (exit 1); exit 1; }; }
7082 cat >conftest.
$ac_ext <<_ACEOF
7085 cat confdefs.h
>>conftest.
$ac_ext
7086 cat >>conftest.
$ac_ext <<_ACEOF
7087 /* end confdefs.h. */
7089 /* Override any gcc2 internal prototype to avoid an error. */
7093 /* We use char because int might match the return type of a gcc2
7094 builtin and then its argument prototype would still apply. */
7095 char IceConnectionNumber ();
7099 IceConnectionNumber ();
7104 rm -f conftest.
$ac_objext conftest
$ac_exeext
7105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7106 (eval $ac_link) 2>conftest.er1
7108 grep -v '^ *+' conftest.er1
>conftest.err
7110 cat conftest.err
>&5
7111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7112 (exit $ac_status); } &&
7113 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7118 (exit $ac_status); }; } &&
7119 { ac_try
='test -s conftest$ac_exeext'
7120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7124 (exit $ac_status); }; }; then
7125 ac_cv_lib_ICE_IceConnectionNumber
=yes
7127 echo "$as_me: failed program was:" >&5
7128 sed 's/^/| /' conftest.
$ac_ext >&5
7130 ac_cv_lib_ICE_IceConnectionNumber
=no
7132 rm -f conftest.err conftest.
$ac_objext \
7133 conftest
$ac_exeext conftest.
$ac_ext
7134 LIBS
=$ac_check_lib_save_LIBS
7136 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7137 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
7138 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
7139 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7142 LDFLAGS
=$ac_save_LDFLAGS
7147 # Determine which AWT peer libraries to build
7148 # Check whether --enable-java-awt or --disable-java-awt was given.
7149 if test "${enable_java_awt+set}" = set; then
7150 enableval
="$enable_java_awt"
7154 peerlibs
="`echo ${enable_java_awt} | tr ',' ' '`"
7157 # The default toolkit to use is the first one specified.
7161 for peer
in $peerlibs ; do
7164 if test "$no_x" = yes; then
7165 echo "*** xlib peers requested but no X library available" 1>&2
7169 if test -z "$TOOLKIT"; then
7170 TOOLKIT
=gnu.awt.xlib.XToolkit
7175 if test "$no_x" = yes; then
7176 echo "*** xlib peers requested but no X library available" 1>&2
7180 if test -z "$TOOLKIT"; then
7181 TOOLKIT
=gnu.java.awt.peer.gtk.GtkToolkit
7183 test -d jniinclude || mkdir jniinclude
7192 echo "*** unrecognised argument \"${peer}\" for --enable-java-awt" 1>&2
7199 if test "$use_xlib_awt" = yes; then
7208 if test "$use_gtk_awt" = yes; then
7216 # determine whether to enable the cairo GTK Graphics2D backend
7217 # Check whether --enable-gtk-cairo or --disable-gtk-cairo was given.
7218 if test "${enable_gtk_cairo+set}" = set; then
7219 enableval
="$enable_gtk_cairo"
7224 if test "x${enable_gtk_cairo}" = xyes
; then
7231 if test "x${enable_gtk_cairo}" = xyes
7236 if test -z "$PKG_CONFIG"; then
7237 # Extract the first word of "pkg-config", so it can be a program name with args.
7238 set dummy pkg-config
; ac_word
=$2
7239 echo "$as_me:$LINENO: checking for $ac_word" >&5
7240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7241 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
7242 echo $ECHO_N "(cached) $ECHO_C" >&6
7246 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
7249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7253 test -z "$as_dir" && as_dir
=.
7254 for ac_exec_ext
in '' $ac_executable_extensions; do
7255 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7256 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7263 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
7267 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
7269 if test -n "$PKG_CONFIG"; then
7270 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
7271 echo "${ECHO_T}$PKG_CONFIG" >&6
7273 echo "$as_me:$LINENO: result: no" >&5
7274 echo "${ECHO_T}no" >&6
7279 if test "$PKG_CONFIG" = "no" ; then
7280 echo "*** The pkg-config script could not be found. Make sure it is"
7281 echo "*** in your path, or set the PKG_CONFIG environment variable"
7282 echo "*** to the full path to pkg-config."
7283 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
7285 PKG_CONFIG_MIN_VERSION
=0.9.0
7286 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
7287 echo "$as_me:$LINENO: checking for cairo" >&5
7288 echo $ECHO_N "checking for cairo... $ECHO_C" >&6
7290 if $PKG_CONFIG --exists "cairo" ; then
7291 echo "$as_me:$LINENO: result: yes" >&5
7292 echo "${ECHO_T}yes" >&6
7295 echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5
7296 echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6
7297 CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo"`
7298 echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5
7299 echo "${ECHO_T}$CAIRO_CFLAGS" >&6
7301 echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5
7302 echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6
7303 CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo"`
7304 echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5
7305 echo "${ECHO_T}$CAIRO_LIBS" >&6
7309 ## If we have a custom action on failure, don't print errors, but
7310 ## do set a variable so people can do so.
7311 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
7312 echo $CAIRO_PKG_ERRORS
7318 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
7319 echo "*** See http://www.freedesktop.org/software/pkgconfig"
7323 if test $succeeded = yes; then
7326 { { echo "$as_me:$LINENO: error: Library requirements (cairo) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
7327 echo "$as_me: error: Library requirements (cairo) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
7328 { (exit 1); exit 1; }; }
7334 if test -z "$PKG_CONFIG"; then
7335 # Extract the first word of "pkg-config", so it can be a program name with args.
7336 set dummy pkg-config
; ac_word
=$2
7337 echo "$as_me:$LINENO: checking for $ac_word" >&5
7338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7339 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
7340 echo $ECHO_N "(cached) $ECHO_C" >&6
7344 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
7347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7351 test -z "$as_dir" && as_dir
=.
7352 for ac_exec_ext
in '' $ac_executable_extensions; do
7353 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7354 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7361 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
7365 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
7367 if test -n "$PKG_CONFIG"; then
7368 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
7369 echo "${ECHO_T}$PKG_CONFIG" >&6
7371 echo "$as_me:$LINENO: result: no" >&5
7372 echo "${ECHO_T}no" >&6
7377 if test "$PKG_CONFIG" = "no" ; then
7378 echo "*** The pkg-config script could not be found. Make sure it is"
7379 echo "*** in your path, or set the PKG_CONFIG environment variable"
7380 echo "*** to the full path to pkg-config."
7381 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
7383 PKG_CONFIG_MIN_VERSION
=0.9.0
7384 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
7385 echo "$as_me:$LINENO: checking for pangoft2" >&5
7386 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
7388 if $PKG_CONFIG --exists "pangoft2" ; then
7389 echo "$as_me:$LINENO: result: yes" >&5
7390 echo "${ECHO_T}yes" >&6
7393 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
7394 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
7395 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
7396 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
7397 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
7399 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
7400 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
7401 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
7402 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
7403 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
7407 ## If we have a custom action on failure, don't print errors, but
7408 ## do set a variable so people can do so.
7409 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
7410 echo $PANGOFT2_PKG_ERRORS
7416 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
7417 echo "*** See http://www.freedesktop.org/software/pkgconfig"
7421 if test $succeeded = yes; then
7424 { { echo "$as_me:$LINENO: error: Library requirements (pangoft2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
7425 echo "$as_me: error: Library requirements (pangoft2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
7426 { (exit 1); exit 1; }; }
7435 # FIXME: this should be _libs on some hosts.
7438 # Allow the GC to be disabled. Can be useful when debugging.
7439 echo "$as_me:$LINENO: checking for garbage collector to use" >&5
7440 echo $ECHO_N "checking for garbage collector to use... $ECHO_C" >&6
7441 # Check whether --enable-java-gc or --disable-java-gc was given.
7442 if test "${enable_java_gc+set}" = set; then
7443 enableval
="$enable_java_gc"
7457 echo "$as_me:$LINENO: result: boehm" >&5
7458 echo "${ECHO_T}boehm" >&6
7459 GCLIBS
=..
/boehm-gc
/libgcjgc_convenience.la
7460 JC1GCSPEC
='-fuse-boehm-gc'
7461 GCTESTSPEC
="-L`${PWDCMD-pwd}`/../boehm-gc/.libs -rpath `${PWDCMD-pwd}`/../boehm-gc/.libs"
7463 # We also want to pick up some cpp flags required when including
7464 # boehm-config.h. Yuck.
7465 GCINCS
="`cat ../boehm-gc/boehm-cflags`"
7468 # The POSIX thread support needs to know this.
7470 cat >>confdefs.h
<<\_ACEOF
7471 #define HAVE_BOEHM_GC 1
7476 echo "$as_me:$LINENO: result: none" >&5
7477 echo "${ECHO_T}none" >&6
7482 { { echo "$as_me:$LINENO: error: unrecognized collector \"$GC\"" >&5
7483 echo "$as_me: error: unrecognized collector \"$GC\"" >&2;}
7484 { (exit 1); exit 1; }; }
7494 ac_config_links
="$ac_config_links include/java-gc.h:include/$GCHDR"
7498 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7499 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7500 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
7501 echo "$as_me:$LINENO: result: $THREADS" >&5
7502 echo "${ECHO_T}$THREADS" >&6
7513 cat >>confdefs.h
<<\_ACEOF
7514 #define LINUX_THREADS 1
7522 decosf1 | irix | mach | os2 | solaris | dce | vxworks
)
7523 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
7524 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
7525 { (exit 1); exit 1; }; }
7528 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
7529 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
7530 { (exit 1); exit 1; }; }
7546 # Don't set THREADLIBS here. Cygwin doesn't have -lpthread.
7549 # Before FreeBSD 5, it didn't have -lpthread (or any library which
7550 # merely adds pthread_* functions) but it does have a -pthread switch
7551 # which is required at link-time to select -lc_r *instead* of -lc.
7552 THREADLDFLAGS
=-pthread
7553 # Don't set THREADSPEC here as might be expected since -pthread is
7554 # not processed when found within a spec file, it must come from
7555 # the command line. For now, the user must provide the -pthread
7556 # switch to link code compiled with gcj. In future, consider adding
7557 # support for weak references to pthread_* functions ala gthr.h API.
7558 THREADSPEC
='%{!pthread: %eUnder this configuration, the user must provide -pthread when linking.}'
7561 # FreeBSD 5 implements a model much closer to other modern UNIX
7562 # which support threads. However, it still does not support
7564 THREADLDFLAGS
=-pthread
7568 THREADCXXFLAGS
=-pthread
7569 # boehm-gc needs some functions from librt, so link that too.
7570 THREADLIBS
='-lpthread -lrt'
7571 THREADSPEC
='-lpthread -lrt'
7574 THREADLIBS
=-lpthread
7575 THREADSPEC
=-lpthread
7578 THREADOBJS
=posix-threads.lo
7579 THREADH
=posix-threads.h
7580 # MIT pthreads doesn't seem to have the mutexattr functions.
7581 # But for now we don't check for it. We just assume you aren't
7582 # using MIT pthreads.
7584 cat >>confdefs.h
<<\_ACEOF
7585 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
7589 # If we're using the Boehm GC, then we happen to know that it
7590 # defines _REENTRANT, so we don't bother. Eww.
7591 if test "$GC" != boehm
; then
7593 cat >>confdefs.h
<<\_ACEOF
7594 #define _REENTRANT 1
7599 cat >>confdefs.h
<<\_ACEOF
7600 #define _POSIX_PTHREAD_SEMANTICS 1
7606 THREADOBJS
=win32-threads.lo
7607 THREADH
=win32-threads.h
7611 THREADOBJS
=no-threads.lo
7612 THREADH
=no-threads.h
7615 ac_config_links
="$ac_config_links include/java-threads.h:include/$THREADH"
7625 if test -d sysdep
; then true
; else mkdir sysdep
; fi
7626 ac_config_links
="$ac_config_links sysdep/locks.h:sysdep/$sysdeps_dir/locks.h"
7630 # Hash synchronization is only useful with posix threads right now.
7631 if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then
7632 HASH_SYNC_SPEC
=-fhash-synchronization
7634 cat >>confdefs.h
<<\_ACEOF
7635 #define JV_HASH_SYNCHRONIZATION 1
7644 if test "$GCC" = yes; then
7652 # We're in the tree with gcc, and need to include some of its headers.
7653 GCC_UNWIND_INCLUDE
='-I$(libgcj_basedir)/../gcc'
7655 # Figure out where generated headers like libgcj-config.h get installed.
7656 gcc_version_trigger
=${libgcj_basedir}/..
/gcc
/version.c
7657 gcc_version_full
=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
7658 gcc_version
=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
7659 tool_include_dir
='$(libdir)/gcc/$(target_noncanonical)/'${gcc_version}/include
7663 if test "x${with_newlib}" = "xyes"; then
7664 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
7665 # may not work correctly, because the compiler may not be able to
7668 # We assume newlib. This lets us hard-code the functions we know
7671 cat >>confdefs.h
<<\_ACEOF
7672 #define HAVE_MEMMOVE 1
7676 cat >>confdefs.h
<<\_ACEOF
7677 #define HAVE_MEMCPY 1
7681 cat >>confdefs.h
<<\_ACEOF
7682 #define HAVE_STRERROR 1
7686 cat >>confdefs.h
<<\_ACEOF
7691 cat >>confdefs.h
<<\_ACEOF
7692 #define HAVE_GMTIME_R 1
7696 cat >>confdefs.h
<<\_ACEOF
7697 #define HAVE_LOCALTIME_R 1
7701 cat >>confdefs.h
<<\_ACEOF
7702 #define HAVE_USLEEP_DECL 1
7705 # This is only for POSIX threads.
7707 cat >>confdefs.h
<<\_ACEOF
7708 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
7711 # We also assume we are using gcc, which provides alloca.
7712 cat >>confdefs.h
<<\_ACEOF
7713 #define HAVE_ALLOCA 1
7717 # Assume we do not have getuid and friends.
7719 cat >>confdefs.h
<<\_ACEOF
7733 for ac_func
in strerror ioctl
select fstat open fsync
sleep opendir
7735 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7736 echo "$as_me:$LINENO: checking for $ac_func" >&5
7737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7738 if eval "test \"\${$as_ac_var+set}\" = set"; then
7739 echo $ECHO_N "(cached) $ECHO_C" >&6
7741 if test x
$gcc_no_link = xyes
; then
7742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7744 { (exit 1); exit 1; }; }
7746 cat >conftest.
$ac_ext <<_ACEOF
7749 cat confdefs.h
>>conftest.
$ac_ext
7750 cat >>conftest.
$ac_ext <<_ACEOF
7751 /* end confdefs.h. */
7752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7754 #define $ac_func innocuous_$ac_func
7756 /* System header to define __stub macros and hopefully few prototypes,
7757 which can conflict with char $ac_func (); below.
7758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7759 <limits.h> exists even on freestanding compilers. */
7762 # include <limits.h>
7764 # include <assert.h>
7769 /* Override any gcc2 internal prototype to avoid an error. */
7774 /* We use char because int might match the return type of a gcc2
7775 builtin and then its argument prototype would still apply. */
7777 /* The GNU C library defines this for functions which it implements
7778 to always fail with ENOSYS. Some functions are actually named
7779 something starting with __ and the normal name is an alias. */
7780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7783 char (*f) () = $ac_func;
7792 return f != $ac_func;
7797 rm -f conftest.
$ac_objext conftest
$ac_exeext
7798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7799 (eval $ac_link) 2>conftest.er1
7801 grep -v '^ *+' conftest.er1
>conftest.err
7803 cat conftest.err
>&5
7804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7805 (exit $ac_status); } &&
7806 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7811 (exit $ac_status); }; } &&
7812 { ac_try
='test -s conftest$ac_exeext'
7813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7817 (exit $ac_status); }; }; then
7818 eval "$as_ac_var=yes"
7820 echo "$as_me: failed program was:" >&5
7821 sed 's/^/| /' conftest.
$ac_ext >&5
7823 eval "$as_ac_var=no"
7825 rm -f conftest.err conftest.
$ac_objext \
7826 conftest
$ac_exeext conftest.
$ac_ext
7828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7830 if test `eval echo '${'$as_ac_var'}'` = yes; then
7831 cat >>confdefs.h
<<_ACEOF
7832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7843 for ac_func
in gmtime_r localtime_r readdir_r getpwuid_r getcwd
7845 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7846 echo "$as_me:$LINENO: checking for $ac_func" >&5
7847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7848 if eval "test \"\${$as_ac_var+set}\" = set"; then
7849 echo $ECHO_N "(cached) $ECHO_C" >&6
7851 if test x
$gcc_no_link = xyes
; then
7852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7854 { (exit 1); exit 1; }; }
7856 cat >conftest.
$ac_ext <<_ACEOF
7859 cat confdefs.h
>>conftest.
$ac_ext
7860 cat >>conftest.
$ac_ext <<_ACEOF
7861 /* end confdefs.h. */
7862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7864 #define $ac_func innocuous_$ac_func
7866 /* System header to define __stub macros and hopefully few prototypes,
7867 which can conflict with char $ac_func (); below.
7868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7869 <limits.h> exists even on freestanding compilers. */
7872 # include <limits.h>
7874 # include <assert.h>
7879 /* Override any gcc2 internal prototype to avoid an error. */
7884 /* We use char because int might match the return type of a gcc2
7885 builtin and then its argument prototype would still apply. */
7887 /* The GNU C library defines this for functions which it implements
7888 to always fail with ENOSYS. Some functions are actually named
7889 something starting with __ and the normal name is an alias. */
7890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7893 char (*f) () = $ac_func;
7902 return f != $ac_func;
7907 rm -f conftest.
$ac_objext conftest
$ac_exeext
7908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7909 (eval $ac_link) 2>conftest.er1
7911 grep -v '^ *+' conftest.er1
>conftest.err
7913 cat conftest.err
>&5
7914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7915 (exit $ac_status); } &&
7916 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7921 (exit $ac_status); }; } &&
7922 { ac_try
='test -s conftest$ac_exeext'
7923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7927 (exit $ac_status); }; }; then
7928 eval "$as_ac_var=yes"
7930 echo "$as_me: failed program was:" >&5
7931 sed 's/^/| /' conftest.
$ac_ext >&5
7933 eval "$as_ac_var=no"
7935 rm -f conftest.err conftest.
$ac_objext \
7936 conftest
$ac_exeext conftest.
$ac_ext
7938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7940 if test `eval echo '${'$as_ac_var'}'` = yes; then
7941 cat >>confdefs.h
<<_ACEOF
7942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7957 for ac_func
in access stat mkdir rename
rmdir unlink realpath utime
chmod
7959 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7960 echo "$as_me:$LINENO: checking for $ac_func" >&5
7961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7962 if eval "test \"\${$as_ac_var+set}\" = set"; then
7963 echo $ECHO_N "(cached) $ECHO_C" >&6
7965 if test x
$gcc_no_link = xyes
; then
7966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7968 { (exit 1); exit 1; }; }
7970 cat >conftest.
$ac_ext <<_ACEOF
7973 cat confdefs.h
>>conftest.
$ac_ext
7974 cat >>conftest.
$ac_ext <<_ACEOF
7975 /* end confdefs.h. */
7976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7978 #define $ac_func innocuous_$ac_func
7980 /* System header to define __stub macros and hopefully few prototypes,
7981 which can conflict with char $ac_func (); below.
7982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7983 <limits.h> exists even on freestanding compilers. */
7986 # include <limits.h>
7988 # include <assert.h>
7993 /* Override any gcc2 internal prototype to avoid an error. */
7998 /* We use char because int might match the return type of a gcc2
7999 builtin and then its argument prototype would still apply. */
8001 /* The GNU C library defines this for functions which it implements
8002 to always fail with ENOSYS. Some functions are actually named
8003 something starting with __ and the normal name is an alias. */
8004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8007 char (*f) () = $ac_func;
8016 return f != $ac_func;
8021 rm -f conftest.
$ac_objext conftest
$ac_exeext
8022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8023 (eval $ac_link) 2>conftest.er1
8025 grep -v '^ *+' conftest.er1
>conftest.err
8027 cat conftest.err
>&5
8028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8029 (exit $ac_status); } &&
8030 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8035 (exit $ac_status); }; } &&
8036 { ac_try
='test -s conftest$ac_exeext'
8037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8041 (exit $ac_status); }; }; then
8042 eval "$as_ac_var=yes"
8044 echo "$as_me: failed program was:" >&5
8045 sed 's/^/| /' conftest.
$ac_ext >&5
8047 eval "$as_ac_var=no"
8049 rm -f conftest.err conftest.
$ac_objext \
8050 conftest
$ac_exeext conftest.
$ac_ext
8052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8054 if test `eval echo '${'$as_ac_var'}'` = yes; then
8055 cat >>confdefs.h
<<_ACEOF
8056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8064 for ac_func
in nl_langinfo setlocale
8066 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8067 echo "$as_me:$LINENO: checking for $ac_func" >&5
8068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8069 if eval "test \"\${$as_ac_var+set}\" = set"; then
8070 echo $ECHO_N "(cached) $ECHO_C" >&6
8072 if test x
$gcc_no_link = xyes
; then
8073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8075 { (exit 1); exit 1; }; }
8077 cat >conftest.
$ac_ext <<_ACEOF
8080 cat confdefs.h
>>conftest.
$ac_ext
8081 cat >>conftest.
$ac_ext <<_ACEOF
8082 /* end confdefs.h. */
8083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8085 #define $ac_func innocuous_$ac_func
8087 /* System header to define __stub macros and hopefully few prototypes,
8088 which can conflict with char $ac_func (); below.
8089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8090 <limits.h> exists even on freestanding compilers. */
8093 # include <limits.h>
8095 # include <assert.h>
8100 /* Override any gcc2 internal prototype to avoid an error. */
8105 /* We use char because int might match the return type of a gcc2
8106 builtin and then its argument prototype would still apply. */
8108 /* The GNU C library defines this for functions which it implements
8109 to always fail with ENOSYS. Some functions are actually named
8110 something starting with __ and the normal name is an alias. */
8111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8114 char (*f) () = $ac_func;
8123 return f != $ac_func;
8128 rm -f conftest.
$ac_objext conftest
$ac_exeext
8129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8130 (eval $ac_link) 2>conftest.er1
8132 grep -v '^ *+' conftest.er1
>conftest.err
8134 cat conftest.err
>&5
8135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8136 (exit $ac_status); } &&
8137 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8142 (exit $ac_status); }; } &&
8143 { ac_try
='test -s conftest$ac_exeext'
8144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8148 (exit $ac_status); }; }; then
8149 eval "$as_ac_var=yes"
8151 echo "$as_me: failed program was:" >&5
8152 sed 's/^/| /' conftest.
$ac_ext >&5
8154 eval "$as_ac_var=no"
8156 rm -f conftest.err conftest.
$ac_objext \
8157 conftest
$ac_exeext conftest.
$ac_ext
8159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8161 if test `eval echo '${'$as_ac_var'}'` = yes; then
8162 cat >>confdefs.h
<<_ACEOF
8163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8171 for ac_func
in inet_aton inet_addr
8173 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8174 echo "$as_me:$LINENO: checking for $ac_func" >&5
8175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8176 if eval "test \"\${$as_ac_var+set}\" = set"; then
8177 echo $ECHO_N "(cached) $ECHO_C" >&6
8179 if test x
$gcc_no_link = xyes
; then
8180 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8182 { (exit 1); exit 1; }; }
8184 cat >conftest.
$ac_ext <<_ACEOF
8187 cat confdefs.h
>>conftest.
$ac_ext
8188 cat >>conftest.
$ac_ext <<_ACEOF
8189 /* end confdefs.h. */
8190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8192 #define $ac_func innocuous_$ac_func
8194 /* System header to define __stub macros and hopefully few prototypes,
8195 which can conflict with char $ac_func (); below.
8196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8197 <limits.h> exists even on freestanding compilers. */
8200 # include <limits.h>
8202 # include <assert.h>
8207 /* Override any gcc2 internal prototype to avoid an error. */
8212 /* We use char because int might match the return type of a gcc2
8213 builtin and then its argument prototype would still apply. */
8215 /* The GNU C library defines this for functions which it implements
8216 to always fail with ENOSYS. Some functions are actually named
8217 something starting with __ and the normal name is an alias. */
8218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8221 char (*f) () = $ac_func;
8230 return f != $ac_func;
8235 rm -f conftest.
$ac_objext conftest
$ac_exeext
8236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8237 (eval $ac_link) 2>conftest.er1
8239 grep -v '^ *+' conftest.er1
>conftest.err
8241 cat conftest.err
>&5
8242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8243 (exit $ac_status); } &&
8244 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8249 (exit $ac_status); }; } &&
8250 { ac_try
='test -s conftest$ac_exeext'
8251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8255 (exit $ac_status); }; }; then
8256 eval "$as_ac_var=yes"
8258 echo "$as_me: failed program was:" >&5
8259 sed 's/^/| /' conftest.
$ac_ext >&5
8261 eval "$as_ac_var=no"
8263 rm -f conftest.err conftest.
$ac_objext \
8264 conftest
$ac_exeext conftest.
$ac_ext
8266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8268 if test `eval echo '${'$as_ac_var'}'` = yes; then
8269 cat >>confdefs.h
<<_ACEOF
8270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8279 for ac_func
in inet_pton uname inet_ntoa
8281 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8282 echo "$as_me:$LINENO: checking for $ac_func" >&5
8283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8284 if eval "test \"\${$as_ac_var+set}\" = set"; then
8285 echo $ECHO_N "(cached) $ECHO_C" >&6
8287 if test x
$gcc_no_link = xyes
; then
8288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8290 { (exit 1); exit 1; }; }
8292 cat >conftest.
$ac_ext <<_ACEOF
8295 cat confdefs.h
>>conftest.
$ac_ext
8296 cat >>conftest.
$ac_ext <<_ACEOF
8297 /* end confdefs.h. */
8298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8300 #define $ac_func innocuous_$ac_func
8302 /* System header to define __stub macros and hopefully few prototypes,
8303 which can conflict with char $ac_func (); below.
8304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8305 <limits.h> exists even on freestanding compilers. */
8308 # include <limits.h>
8310 # include <assert.h>
8315 /* Override any gcc2 internal prototype to avoid an error. */
8320 /* We use char because int might match the return type of a gcc2
8321 builtin and then its argument prototype would still apply. */
8323 /* The GNU C library defines this for functions which it implements
8324 to always fail with ENOSYS. Some functions are actually named
8325 something starting with __ and the normal name is an alias. */
8326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8329 char (*f) () = $ac_func;
8338 return f != $ac_func;
8343 rm -f conftest.
$ac_objext conftest
$ac_exeext
8344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8345 (eval $ac_link) 2>conftest.er1
8347 grep -v '^ *+' conftest.er1
>conftest.err
8349 cat conftest.err
>&5
8350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8351 (exit $ac_status); } &&
8352 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8357 (exit $ac_status); }; } &&
8358 { ac_try
='test -s conftest$ac_exeext'
8359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8363 (exit $ac_status); }; }; then
8364 eval "$as_ac_var=yes"
8366 echo "$as_me: failed program was:" >&5
8367 sed 's/^/| /' conftest.
$ac_ext >&5
8369 eval "$as_ac_var=no"
8371 rm -f conftest.err conftest.
$ac_objext \
8372 conftest
$ac_exeext conftest.
$ac_ext
8374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8376 if test `eval echo '${'$as_ac_var'}'` = yes; then
8377 cat >>confdefs.h
<<_ACEOF
8378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8389 for ac_func
in fork execvp pipe sigaction ftruncate
8391 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8392 echo "$as_me:$LINENO: checking for $ac_func" >&5
8393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8394 if eval "test \"\${$as_ac_var+set}\" = set"; then
8395 echo $ECHO_N "(cached) $ECHO_C" >&6
8397 if test x
$gcc_no_link = xyes
; then
8398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8400 { (exit 1); exit 1; }; }
8402 cat >conftest.
$ac_ext <<_ACEOF
8405 cat confdefs.h
>>conftest.
$ac_ext
8406 cat >>conftest.
$ac_ext <<_ACEOF
8407 /* end confdefs.h. */
8408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8410 #define $ac_func innocuous_$ac_func
8412 /* System header to define __stub macros and hopefully few prototypes,
8413 which can conflict with char $ac_func (); below.
8414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8415 <limits.h> exists even on freestanding compilers. */
8418 # include <limits.h>
8420 # include <assert.h>
8425 /* Override any gcc2 internal prototype to avoid an error. */
8430 /* We use char because int might match the return type of a gcc2
8431 builtin and then its argument prototype would still apply. */
8433 /* The GNU C library defines this for functions which it implements
8434 to always fail with ENOSYS. Some functions are actually named
8435 something starting with __ and the normal name is an alias. */
8436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8439 char (*f) () = $ac_func;
8448 return f != $ac_func;
8453 rm -f conftest.
$ac_objext conftest
$ac_exeext
8454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8455 (eval $ac_link) 2>conftest.er1
8457 grep -v '^ *+' conftest.er1
>conftest.err
8459 cat conftest.err
>&5
8460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8461 (exit $ac_status); } &&
8462 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8467 (exit $ac_status); }; } &&
8468 { ac_try
='test -s conftest$ac_exeext'
8469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8473 (exit $ac_status); }; }; then
8474 eval "$as_ac_var=yes"
8476 echo "$as_me: failed program was:" >&5
8477 sed 's/^/| /' conftest.
$ac_ext >&5
8479 eval "$as_ac_var=no"
8481 rm -f conftest.err conftest.
$ac_objext \
8482 conftest
$ac_exeext conftest.
$ac_ext
8484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8486 if test `eval echo '${'$as_ac_var'}'` = yes; then
8487 cat >>confdefs.h
<<_ACEOF
8488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8494 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8495 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
8496 if test "${ac_cv_header_stdc+set}" = set; then
8497 echo $ECHO_N "(cached) $ECHO_C" >&6
8499 cat >conftest.
$ac_ext <<_ACEOF
8502 cat confdefs.h
>>conftest.
$ac_ext
8503 cat >>conftest.
$ac_ext <<_ACEOF
8504 /* end confdefs.h. */
8518 rm -f conftest.
$ac_objext
8519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8520 (eval $ac_compile) 2>conftest.er1
8522 grep -v '^ *+' conftest.er1
>conftest.err
8524 cat conftest.err
>&5
8525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8526 (exit $ac_status); } &&
8527 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8532 (exit $ac_status); }; } &&
8533 { ac_try
='test -s conftest.$ac_objext'
8534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8538 (exit $ac_status); }; }; then
8539 ac_cv_header_stdc
=yes
8541 echo "$as_me: failed program was:" >&5
8542 sed 's/^/| /' conftest.
$ac_ext >&5
8544 ac_cv_header_stdc
=no
8546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8548 if test $ac_cv_header_stdc = yes; then
8549 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8550 cat >conftest.
$ac_ext <<_ACEOF
8553 cat confdefs.h
>>conftest.
$ac_ext
8554 cat >>conftest.
$ac_ext <<_ACEOF
8555 /* end confdefs.h. */
8559 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8560 $EGREP "memchr" >/dev
/null
2>&1; then
8563 ac_cv_header_stdc
=no
8569 if test $ac_cv_header_stdc = yes; then
8570 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8571 cat >conftest.
$ac_ext <<_ACEOF
8574 cat confdefs.h
>>conftest.
$ac_ext
8575 cat >>conftest.
$ac_ext <<_ACEOF
8576 /* end confdefs.h. */
8580 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8581 $EGREP "free" >/dev
/null
2>&1; then
8584 ac_cv_header_stdc
=no
8590 if test $ac_cv_header_stdc = yes; then
8591 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8592 if test "$cross_compiling" = yes; then
8595 cat >conftest.
$ac_ext <<_ACEOF
8598 cat confdefs.h
>>conftest.
$ac_ext
8599 cat >>conftest.
$ac_ext <<_ACEOF
8600 /* end confdefs.h. */
8602 #if ((' ' & 0x0FF) == 0x020)
8603 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8604 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8606 # define ISLOWER(c) \
8607 (('a' <= (c) && (c) <= 'i') \
8608 || ('j' <= (c) && (c) <= 'r') \
8609 || ('s' <= (c) && (c) <= 'z'))
8610 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8613 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8618 for (i = 0; i < 256; i++)
8619 if (XOR (islower (i), ISLOWER (i))
8620 || toupper (i) != TOUPPER (i))
8625 rm -f conftest
$ac_exeext
8626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8627 (eval $ac_link) 2>&5
8629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8630 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8635 (exit $ac_status); }; }; then
8638 echo "$as_me: program exited with status $ac_status" >&5
8639 echo "$as_me: failed program was:" >&5
8640 sed 's/^/| /' conftest.
$ac_ext >&5
8643 ac_cv_header_stdc
=no
8645 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8649 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8650 echo "${ECHO_T}$ac_cv_header_stdc" >&6
8651 if test $ac_cv_header_stdc = yes; then
8653 cat >>confdefs.h
<<\_ACEOF
8654 #define STDC_HEADERS 1
8659 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8669 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8670 inttypes.h stdint.h unistd.h
8672 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8673 echo "$as_me:$LINENO: checking for $ac_header" >&5
8674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8675 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8676 echo $ECHO_N "(cached) $ECHO_C" >&6
8678 cat >conftest.
$ac_ext <<_ACEOF
8681 cat confdefs.h
>>conftest.
$ac_ext
8682 cat >>conftest.
$ac_ext <<_ACEOF
8683 /* end confdefs.h. */
8684 $ac_includes_default
8686 #include <$ac_header>
8688 rm -f conftest.
$ac_objext
8689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8690 (eval $ac_compile) 2>conftest.er1
8692 grep -v '^ *+' conftest.er1
>conftest.err
8694 cat conftest.err
>&5
8695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8696 (exit $ac_status); } &&
8697 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8702 (exit $ac_status); }; } &&
8703 { ac_try
='test -s conftest.$ac_objext'
8704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8708 (exit $ac_status); }; }; then
8709 eval "$as_ac_Header=yes"
8711 echo "$as_me: failed program was:" >&5
8712 sed 's/^/| /' conftest.
$ac_ext >&5
8714 eval "$as_ac_Header=no"
8716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8719 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8720 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8721 cat >>confdefs.h
<<_ACEOF
8722 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8733 for ac_header
in execinfo.h unistd.h dlfcn.h
8735 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8737 echo "$as_me:$LINENO: checking for $ac_header" >&5
8738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8740 echo $ECHO_N "(cached) $ECHO_C" >&6
8742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8743 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8745 # Is the header compilable?
8746 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8747 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8748 cat >conftest.
$ac_ext <<_ACEOF
8751 cat confdefs.h
>>conftest.
$ac_ext
8752 cat >>conftest.
$ac_ext <<_ACEOF
8753 /* end confdefs.h. */
8754 $ac_includes_default
8755 #include <$ac_header>
8757 rm -f conftest.
$ac_objext
8758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8759 (eval $ac_compile) 2>conftest.er1
8761 grep -v '^ *+' conftest.er1
>conftest.err
8763 cat conftest.err
>&5
8764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8765 (exit $ac_status); } &&
8766 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8771 (exit $ac_status); }; } &&
8772 { ac_try
='test -s conftest.$ac_objext'
8773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8777 (exit $ac_status); }; }; then
8778 ac_header_compiler
=yes
8780 echo "$as_me: failed program was:" >&5
8781 sed 's/^/| /' conftest.
$ac_ext >&5
8783 ac_header_compiler
=no
8785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8786 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8787 echo "${ECHO_T}$ac_header_compiler" >&6
8789 # Is the header present?
8790 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8791 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8792 cat >conftest.
$ac_ext <<_ACEOF
8795 cat confdefs.h
>>conftest.
$ac_ext
8796 cat >>conftest.
$ac_ext <<_ACEOF
8797 /* end confdefs.h. */
8798 #include <$ac_header>
8800 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8801 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8803 grep -v '^ *+' conftest.er1
>conftest.err
8805 cat conftest.err
>&5
8806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8807 (exit $ac_status); } >/dev
/null
; then
8808 if test -s conftest.err
; then
8809 ac_cpp_err
=$ac_c_preproc_warn_flag
8810 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8817 if test -z "$ac_cpp_err"; then
8818 ac_header_preproc
=yes
8820 echo "$as_me: failed program was:" >&5
8821 sed 's/^/| /' conftest.
$ac_ext >&5
8823 ac_header_preproc
=no
8825 rm -f conftest.err conftest.
$ac_ext
8826 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8827 echo "${ECHO_T}$ac_header_preproc" >&6
8829 # So? What about this header?
8830 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8832 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8833 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8834 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8835 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8836 ac_header_preproc
=yes
8839 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8840 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8841 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8842 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8843 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8844 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8845 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8846 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8847 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8848 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8849 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8850 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8853 ## ------------------------------------------ ##
8854 ## Report this to the AC_PACKAGE_NAME lists. ##
8855 ## ------------------------------------------ ##
8858 sed "s/^/$as_me: WARNING: /" >&2
8861 echo "$as_me:$LINENO: checking for $ac_header" >&5
8862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8863 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8864 echo $ECHO_N "(cached) $ECHO_C" >&6
8866 eval "$as_ac_Header=\$ac_header_preproc"
8868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8872 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8873 cat >>confdefs.h
<<_ACEOF
8874 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8881 echo "$as_me:$LINENO: checking for backtrace" >&5
8882 echo $ECHO_N "checking for backtrace... $ECHO_C" >&6
8883 if test "${ac_cv_func_backtrace+set}" = set; then
8884 echo $ECHO_N "(cached) $ECHO_C" >&6
8886 if test x
$gcc_no_link = xyes
; then
8887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8889 { (exit 1); exit 1; }; }
8891 cat >conftest.
$ac_ext <<_ACEOF
8894 cat confdefs.h
>>conftest.
$ac_ext
8895 cat >>conftest.
$ac_ext <<_ACEOF
8896 /* end confdefs.h. */
8897 /* Define backtrace to an innocuous variant, in case <limits.h> declares backtrace.
8898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8899 #define backtrace innocuous_backtrace
8901 /* System header to define __stub macros and hopefully few prototypes,
8902 which can conflict with char backtrace (); below.
8903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8904 <limits.h> exists even on freestanding compilers. */
8907 # include <limits.h>
8909 # include <assert.h>
8914 /* Override any gcc2 internal prototype to avoid an error. */
8919 /* We use char because int might match the return type of a gcc2
8920 builtin and then its argument prototype would still apply. */
8922 /* The GNU C library defines this for functions which it implements
8923 to always fail with ENOSYS. Some functions are actually named
8924 something starting with __ and the normal name is an alias. */
8925 #if defined (__stub_backtrace) || defined (__stub___backtrace)
8928 char (*f) () = backtrace;
8937 return f != backtrace;
8942 rm -f conftest.
$ac_objext conftest
$ac_exeext
8943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8944 (eval $ac_link) 2>conftest.er1
8946 grep -v '^ *+' conftest.er1
>conftest.err
8948 cat conftest.err
>&5
8949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8950 (exit $ac_status); } &&
8951 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8956 (exit $ac_status); }; } &&
8957 { ac_try
='test -s conftest$ac_exeext'
8958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8962 (exit $ac_status); }; }; then
8963 ac_cv_func_backtrace
=yes
8965 echo "$as_me: failed program was:" >&5
8966 sed 's/^/| /' conftest.
$ac_ext >&5
8968 ac_cv_func_backtrace
=no
8970 rm -f conftest.err conftest.
$ac_objext \
8971 conftest
$ac_exeext conftest.
$ac_ext
8973 echo "$as_me:$LINENO: result: $ac_cv_func_backtrace" >&5
8974 echo "${ECHO_T}$ac_cv_func_backtrace" >&6
8975 if test $ac_cv_func_backtrace = yes; then
8979 # Has broken backtrace()
8982 # Has broken backtrace(), but we supply our own.
8983 if test -d sysdep
; then true
; else mkdir
-p sysdep
; fi
8984 EXTRA_CC_FILES
="${EXTRA_CC_FILES} sysdep/dwarf2-backtrace.cc"
8986 cat >>confdefs.h
<<\_ACEOF
8987 #define HAVE_BACKTRACE 1
8993 cat >>confdefs.h
<<\_ACEOF
8994 #define HAVE_BACKTRACE 1
9004 # Has backtrace() defined in libgcj itself
9006 cat >>confdefs.h
<<\_ACEOF
9007 #define HAVE_BACKTRACE 1
9016 echo "$as_me:$LINENO: checking for dladdr in -ldl" >&5
9017 echo $ECHO_N "checking for dladdr in -ldl... $ECHO_C" >&6
9018 if test "${ac_cv_lib_dl_dladdr+set}" = set; then
9019 echo $ECHO_N "(cached) $ECHO_C" >&6
9021 ac_check_lib_save_LIBS
=$LIBS
9023 if test x
$gcc_no_link = xyes
; then
9024 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9026 { (exit 1); exit 1; }; }
9028 cat >conftest.
$ac_ext <<_ACEOF
9031 cat confdefs.h
>>conftest.
$ac_ext
9032 cat >>conftest.
$ac_ext <<_ACEOF
9033 /* end confdefs.h. */
9035 /* Override any gcc2 internal prototype to avoid an error. */
9039 /* We use char because int might match the return type of a gcc2
9040 builtin and then its argument prototype would still apply. */
9050 rm -f conftest.
$ac_objext conftest
$ac_exeext
9051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9052 (eval $ac_link) 2>conftest.er1
9054 grep -v '^ *+' conftest.er1
>conftest.err
9056 cat conftest.err
>&5
9057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9058 (exit $ac_status); } &&
9059 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9064 (exit $ac_status); }; } &&
9065 { ac_try
='test -s conftest$ac_exeext'
9066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9070 (exit $ac_status); }; }; then
9071 ac_cv_lib_dl_dladdr
=yes
9073 echo "$as_me: failed program was:" >&5
9074 sed 's/^/| /' conftest.
$ac_ext >&5
9076 ac_cv_lib_dl_dladdr
=no
9078 rm -f conftest.err conftest.
$ac_objext \
9079 conftest
$ac_exeext conftest.
$ac_ext
9080 LIBS
=$ac_check_lib_save_LIBS
9082 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dladdr" >&5
9083 echo "${ECHO_T}$ac_cv_lib_dl_dladdr" >&6
9084 if test $ac_cv_lib_dl_dladdr = yes; then
9086 if test "x${disable_dladdr}" = "xyes"; then
9091 cat >>confdefs.h
<<\_ACEOF
9092 #define HAVE_DLADDR 1
9099 if test x
"$build" = x
"$host"; then
9100 echo "$as_me:$LINENO: checking for /proc/self/exe" >&5
9101 echo $ECHO_N "checking for /proc/self/exe... $ECHO_C" >&6
9102 if test "${ac_cv_file__proc_self_exe+set}" = set; then
9103 echo $ECHO_N "(cached) $ECHO_C" >&6
9105 test "$cross_compiling" = yes &&
9106 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
9107 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
9108 { (exit 1); exit 1; }; }
9109 if test -r "/proc/self/exe"; then
9110 ac_cv_file__proc_self_exe
=yes
9112 ac_cv_file__proc_self_exe
=no
9115 echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_exe" >&5
9116 echo "${ECHO_T}$ac_cv_file__proc_self_exe" >&6
9117 if test $ac_cv_file__proc_self_exe = yes; then
9119 cat >>confdefs.h
<<_ACEOF
9120 #define HAVE__PROC_SELF_EXE 1
9125 cat >>confdefs.h
<<\_ACEOF
9126 #define HAVE_PROC_SELF_EXE 1
9135 cat >>confdefs.h
<<\_ACEOF
9136 #define HAVE_PROC_SELF_EXE 1
9145 am_cv_lib_iconv_ldpath
=
9147 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
9148 if test "${with_libiconv_prefix+set}" = set; then
9149 withval
="$with_libiconv_prefix"
9151 for dir
in `echo "$withval" | tr : ' '`; do
9152 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
9153 if test -d $dir/lib
; then am_cv_lib_iconv_ldpath
="-L$dir/lib"; fi
9158 echo "$as_me:$LINENO: checking for iconv" >&5
9159 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
9160 if test "${am_cv_func_iconv+set}" = set; then
9161 echo $ECHO_N "(cached) $ECHO_C" >&6
9164 am_cv_func_iconv
="no, consider installing GNU libiconv"
9166 if test x
$gcc_no_link = xyes
; then
9167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9169 { (exit 1); exit 1; }; }
9171 cat >conftest.
$ac_ext <<_ACEOF
9174 cat confdefs.h
>>conftest.
$ac_ext
9175 cat >>conftest.
$ac_ext <<_ACEOF
9176 /* end confdefs.h. */
9182 iconv_t cd = iconv_open("","");
9183 iconv(cd,NULL,NULL,NULL,NULL);
9189 rm -f conftest.
$ac_objext conftest
$ac_exeext
9190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9191 (eval $ac_link) 2>conftest.er1
9193 grep -v '^ *+' conftest.er1
>conftest.err
9195 cat conftest.err
>&5
9196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9197 (exit $ac_status); } &&
9198 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9203 (exit $ac_status); }; } &&
9204 { ac_try
='test -s conftest$ac_exeext'
9205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9209 (exit $ac_status); }; }; then
9210 am_cv_func_iconv
=yes
9212 echo "$as_me: failed program was:" >&5
9213 sed 's/^/| /' conftest.
$ac_ext >&5
9216 rm -f conftest.err conftest.
$ac_objext \
9217 conftest
$ac_exeext conftest.
$ac_ext
9218 if test "$am_cv_func_iconv" != yes; then
9219 am_save_LIBS
="$LIBS"
9220 LIBS
="$LIBS $am_cv_libiconv_ldpath -liconv"
9221 if test x
$gcc_no_link = xyes
; then
9222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9224 { (exit 1); exit 1; }; }
9226 cat >conftest.
$ac_ext <<_ACEOF
9229 cat confdefs.h
>>conftest.
$ac_ext
9230 cat >>conftest.
$ac_ext <<_ACEOF
9231 /* end confdefs.h. */
9237 iconv_t cd = iconv_open("","");
9238 iconv(cd,NULL,NULL,NULL,NULL);
9244 rm -f conftest.
$ac_objext conftest
$ac_exeext
9245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9246 (eval $ac_link) 2>conftest.er1
9248 grep -v '^ *+' conftest.er1
>conftest.err
9250 cat conftest.err
>&5
9251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9252 (exit $ac_status); } &&
9253 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9258 (exit $ac_status); }; } &&
9259 { ac_try
='test -s conftest$ac_exeext'
9260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9264 (exit $ac_status); }; }; then
9266 am_cv_func_iconv
=yes
9268 echo "$as_me: failed program was:" >&5
9269 sed 's/^/| /' conftest.
$ac_ext >&5
9272 rm -f conftest.err conftest.
$ac_objext \
9273 conftest
$ac_exeext conftest.
$ac_ext
9274 LIBS
="$am_save_LIBS"
9278 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
9279 echo "${ECHO_T}$am_cv_func_iconv" >&6
9280 if test "$am_cv_func_iconv" = yes; then
9282 cat >>confdefs.h
<<\_ACEOF
9283 #define HAVE_ICONV 1
9286 echo "$as_me:$LINENO: checking for iconv declaration" >&5
9287 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
9288 if test "${am_cv_proto_iconv+set}" = set; then
9289 echo $ECHO_N "(cached) $ECHO_C" >&6
9292 cat >conftest.
$ac_ext <<_ACEOF
9295 cat confdefs.h
>>conftest.
$ac_ext
9296 cat >>conftest.
$ac_ext <<_ACEOF
9297 /* end confdefs.h. */
9305 #if defined(__STDC__) || defined(__cplusplus)
9306 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
9319 rm -f conftest.
$ac_objext
9320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9321 (eval $ac_compile) 2>conftest.er1
9323 grep -v '^ *+' conftest.er1
>conftest.err
9325 cat conftest.err
>&5
9326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9327 (exit $ac_status); } &&
9328 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9333 (exit $ac_status); }; } &&
9334 { ac_try
='test -s conftest.$ac_objext'
9335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9339 (exit $ac_status); }; }; then
9340 am_cv_proto_iconv_arg1
=""
9342 echo "$as_me: failed program was:" >&5
9343 sed 's/^/| /' conftest.
$ac_ext >&5
9345 am_cv_proto_iconv_arg1
="const"
9347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9348 am_cv_proto_iconv
="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
9351 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
9352 echo "$as_me:$LINENO: result: ${ac_t:-
9353 }$am_cv_proto_iconv" >&5
9354 echo "${ECHO_T}${ac_t:-
9355 }$am_cv_proto_iconv" >&6
9357 cat >>confdefs.h
<<_ACEOF
9358 #define ICONV_CONST $am_cv_proto_iconv_arg1
9363 if test "$am_cv_lib_iconv" = yes; then
9364 LIBICONV
="$am_cv_lib_iconv_ldpath -liconv"
9369 for ac_header
in locale.h
9371 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9373 echo "$as_me:$LINENO: checking for $ac_header" >&5
9374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9376 echo $ECHO_N "(cached) $ECHO_C" >&6
9378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9381 # Is the header compilable?
9382 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9383 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9384 cat >conftest.
$ac_ext <<_ACEOF
9387 cat confdefs.h
>>conftest.
$ac_ext
9388 cat >>conftest.
$ac_ext <<_ACEOF
9389 /* end confdefs.h. */
9390 $ac_includes_default
9391 #include <$ac_header>
9393 rm -f conftest.
$ac_objext
9394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9395 (eval $ac_compile) 2>conftest.er1
9397 grep -v '^ *+' conftest.er1
>conftest.err
9399 cat conftest.err
>&5
9400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9401 (exit $ac_status); } &&
9402 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9407 (exit $ac_status); }; } &&
9408 { ac_try
='test -s conftest.$ac_objext'
9409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9413 (exit $ac_status); }; }; then
9414 ac_header_compiler
=yes
9416 echo "$as_me: failed program was:" >&5
9417 sed 's/^/| /' conftest.
$ac_ext >&5
9419 ac_header_compiler
=no
9421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9422 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9423 echo "${ECHO_T}$ac_header_compiler" >&6
9425 # Is the header present?
9426 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9427 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9428 cat >conftest.
$ac_ext <<_ACEOF
9431 cat confdefs.h
>>conftest.
$ac_ext
9432 cat >>conftest.
$ac_ext <<_ACEOF
9433 /* end confdefs.h. */
9434 #include <$ac_header>
9436 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9437 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9439 grep -v '^ *+' conftest.er1
>conftest.err
9441 cat conftest.err
>&5
9442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9443 (exit $ac_status); } >/dev
/null
; then
9444 if test -s conftest.err
; then
9445 ac_cpp_err
=$ac_c_preproc_warn_flag
9446 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9453 if test -z "$ac_cpp_err"; then
9454 ac_header_preproc
=yes
9456 echo "$as_me: failed program was:" >&5
9457 sed 's/^/| /' conftest.
$ac_ext >&5
9459 ac_header_preproc
=no
9461 rm -f conftest.err conftest.
$ac_ext
9462 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9463 echo "${ECHO_T}$ac_header_preproc" >&6
9465 # So? What about this header?
9466 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9468 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9469 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9471 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9472 ac_header_preproc
=yes
9475 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9476 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9477 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9478 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9479 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9480 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9481 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9482 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9484 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9485 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9486 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9489 ## ------------------------------------------ ##
9490 ## Report this to the AC_PACKAGE_NAME lists. ##
9491 ## ------------------------------------------ ##
9494 sed "s/^/$as_me: WARNING: /" >&2
9497 echo "$as_me:$LINENO: checking for $ac_header" >&5
9498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9500 echo $ECHO_N "(cached) $ECHO_C" >&6
9502 eval "$as_ac_Header=\$ac_header_preproc"
9504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9508 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9509 cat >>confdefs.h
<<_ACEOF
9510 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9517 if test $ac_cv_header_locale_h = yes; then
9518 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
9519 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
9520 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
9521 echo $ECHO_N "(cached) $ECHO_C" >&6
9523 if test x
$gcc_no_link = xyes
; then
9524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9526 { (exit 1); exit 1; }; }
9528 cat >conftest.
$ac_ext <<_ACEOF
9531 cat confdefs.h
>>conftest.
$ac_ext
9532 cat >>conftest.
$ac_ext <<_ACEOF
9533 /* end confdefs.h. */
9543 rm -f conftest.
$ac_objext conftest
$ac_exeext
9544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9545 (eval $ac_link) 2>conftest.er1
9547 grep -v '^ *+' conftest.er1
>conftest.err
9549 cat conftest.err
>&5
9550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9551 (exit $ac_status); } &&
9552 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9557 (exit $ac_status); }; } &&
9558 { ac_try
='test -s conftest$ac_exeext'
9559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9563 (exit $ac_status); }; }; then
9564 am_cv_val_LC_MESSAGES
=yes
9566 echo "$as_me: failed program was:" >&5
9567 sed 's/^/| /' conftest.
$ac_ext >&5
9569 am_cv_val_LC_MESSAGES
=no
9571 rm -f conftest.err conftest.
$ac_objext \
9572 conftest
$ac_exeext conftest.
$ac_ext
9574 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
9575 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
9576 if test $am_cv_val_LC_MESSAGES = yes; then
9578 cat >>confdefs.h
<<\_ACEOF
9579 #define HAVE_LC_MESSAGES 1
9584 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
9585 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
9586 if test "${ac_cv_struct_tm+set}" = set; then
9587 echo $ECHO_N "(cached) $ECHO_C" >&6
9589 cat >conftest.
$ac_ext <<_ACEOF
9592 cat confdefs.h
>>conftest.
$ac_ext
9593 cat >>conftest.
$ac_ext <<_ACEOF
9594 /* end confdefs.h. */
9595 #include <sys/types.h>
9601 struct tm *tp; tp->tm_sec;
9606 rm -f conftest.
$ac_objext
9607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9608 (eval $ac_compile) 2>conftest.er1
9610 grep -v '^ *+' conftest.er1
>conftest.err
9612 cat conftest.err
>&5
9613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9614 (exit $ac_status); } &&
9615 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9620 (exit $ac_status); }; } &&
9621 { ac_try
='test -s conftest.$ac_objext'
9622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9626 (exit $ac_status); }; }; then
9627 ac_cv_struct_tm
=time.h
9629 echo "$as_me: failed program was:" >&5
9630 sed 's/^/| /' conftest.
$ac_ext >&5
9632 ac_cv_struct_tm
=sys
/time.h
9634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9636 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
9637 echo "${ECHO_T}$ac_cv_struct_tm" >&6
9638 if test $ac_cv_struct_tm = sys
/time.h
; then
9640 cat >>confdefs.h
<<\_ACEOF
9641 #define TM_IN_SYS_TIME 1
9646 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
9647 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
9648 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
9649 echo $ECHO_N "(cached) $ECHO_C" >&6
9651 cat >conftest.
$ac_ext <<_ACEOF
9654 cat confdefs.h
>>conftest.
$ac_ext
9655 cat >>conftest.
$ac_ext <<_ACEOF
9656 /* end confdefs.h. */
9657 #include <sys/types.h>
9658 #include <$ac_cv_struct_tm>
9664 static struct tm ac_aggr;
9665 if (ac_aggr.tm_zone)
9671 rm -f conftest.
$ac_objext
9672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9673 (eval $ac_compile) 2>conftest.er1
9675 grep -v '^ *+' conftest.er1
>conftest.err
9677 cat conftest.err
>&5
9678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9679 (exit $ac_status); } &&
9680 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9685 (exit $ac_status); }; } &&
9686 { ac_try
='test -s conftest.$ac_objext'
9687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9691 (exit $ac_status); }; }; then
9692 ac_cv_member_struct_tm_tm_zone
=yes
9694 echo "$as_me: failed program was:" >&5
9695 sed 's/^/| /' conftest.
$ac_ext >&5
9697 cat >conftest.
$ac_ext <<_ACEOF
9700 cat confdefs.h
>>conftest.
$ac_ext
9701 cat >>conftest.
$ac_ext <<_ACEOF
9702 /* end confdefs.h. */
9703 #include <sys/types.h>
9704 #include <$ac_cv_struct_tm>
9710 static struct tm ac_aggr;
9711 if (sizeof ac_aggr.tm_zone)
9717 rm -f conftest.
$ac_objext
9718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9719 (eval $ac_compile) 2>conftest.er1
9721 grep -v '^ *+' conftest.er1
>conftest.err
9723 cat conftest.err
>&5
9724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9725 (exit $ac_status); } &&
9726 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9731 (exit $ac_status); }; } &&
9732 { ac_try
='test -s conftest.$ac_objext'
9733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9737 (exit $ac_status); }; }; then
9738 ac_cv_member_struct_tm_tm_zone
=yes
9740 echo "$as_me: failed program was:" >&5
9741 sed 's/^/| /' conftest.
$ac_ext >&5
9743 ac_cv_member_struct_tm_tm_zone
=no
9745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9747 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9749 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
9750 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
9751 if test $ac_cv_member_struct_tm_tm_zone = yes; then
9753 cat >>confdefs.h
<<_ACEOF
9754 #define HAVE_STRUCT_TM_TM_ZONE 1
9760 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
9762 cat >>confdefs.h
<<\_ACEOF
9763 #define HAVE_TM_ZONE 1
9767 echo "$as_me:$LINENO: checking for tzname" >&5
9768 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
9769 if test "${ac_cv_var_tzname+set}" = set; then
9770 echo $ECHO_N "(cached) $ECHO_C" >&6
9772 if test x
$gcc_no_link = xyes
; then
9773 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9775 { (exit 1); exit 1; }; }
9777 cat >conftest.
$ac_ext <<_ACEOF
9780 cat confdefs.h
>>conftest.
$ac_ext
9781 cat >>conftest.
$ac_ext <<_ACEOF
9782 /* end confdefs.h. */
9784 #ifndef tzname /* For SGI. */
9785 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
9796 rm -f conftest.
$ac_objext conftest
$ac_exeext
9797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9798 (eval $ac_link) 2>conftest.er1
9800 grep -v '^ *+' conftest.er1
>conftest.err
9802 cat conftest.err
>&5
9803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9804 (exit $ac_status); } &&
9805 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9810 (exit $ac_status); }; } &&
9811 { ac_try
='test -s conftest$ac_exeext'
9812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9816 (exit $ac_status); }; }; then
9817 ac_cv_var_tzname
=yes
9819 echo "$as_me: failed program was:" >&5
9820 sed 's/^/| /' conftest.
$ac_ext >&5
9824 rm -f conftest.err conftest.
$ac_objext \
9825 conftest
$ac_exeext conftest.
$ac_ext
9827 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
9828 echo "${ECHO_T}$ac_cv_var_tzname" >&6
9829 if test $ac_cv_var_tzname = yes; then
9831 cat >>confdefs.h
<<\_ACEOF
9832 #define HAVE_TZNAME 1
9841 for ac_func
in gethostbyname_r
9843 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9844 echo "$as_me:$LINENO: checking for $ac_func" >&5
9845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9846 if eval "test \"\${$as_ac_var+set}\" = set"; then
9847 echo $ECHO_N "(cached) $ECHO_C" >&6
9849 if test x
$gcc_no_link = xyes
; then
9850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9852 { (exit 1); exit 1; }; }
9854 cat >conftest.
$ac_ext <<_ACEOF
9857 cat confdefs.h
>>conftest.
$ac_ext
9858 cat >>conftest.
$ac_ext <<_ACEOF
9859 /* end confdefs.h. */
9860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9862 #define $ac_func innocuous_$ac_func
9864 /* System header to define __stub macros and hopefully few prototypes,
9865 which can conflict with char $ac_func (); below.
9866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9867 <limits.h> exists even on freestanding compilers. */
9870 # include <limits.h>
9872 # include <assert.h>
9877 /* Override any gcc2 internal prototype to avoid an error. */
9882 /* We use char because int might match the return type of a gcc2
9883 builtin and then its argument prototype would still apply. */
9885 /* The GNU C library defines this for functions which it implements
9886 to always fail with ENOSYS. Some functions are actually named
9887 something starting with __ and the normal name is an alias. */
9888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9891 char (*f) () = $ac_func;
9900 return f != $ac_func;
9905 rm -f conftest.
$ac_objext conftest
$ac_exeext
9906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9907 (eval $ac_link) 2>conftest.er1
9909 grep -v '^ *+' conftest.er1
>conftest.err
9911 cat conftest.err
>&5
9912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9913 (exit $ac_status); } &&
9914 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9919 (exit $ac_status); }; } &&
9920 { ac_try
='test -s conftest$ac_exeext'
9921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9925 (exit $ac_status); }; }; then
9926 eval "$as_ac_var=yes"
9928 echo "$as_me: failed program was:" >&5
9929 sed 's/^/| /' conftest.
$ac_ext >&5
9931 eval "$as_ac_var=no"
9933 rm -f conftest.err conftest.
$ac_objext \
9934 conftest
$ac_exeext conftest.
$ac_ext
9936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9938 if test `eval echo '${'$as_ac_var'}'` = yes; then
9939 cat >>confdefs.h
<<_ACEOF
9940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9944 cat >>confdefs.h
<<\_ACEOF
9945 #define HAVE_GETHOSTBYNAME_R 1
9948 # There are two different kinds of gethostbyname_r.
9949 # We look for the one that returns `int'.
9950 # Hopefully this check is robust enough.
9951 cat >conftest.
$ac_ext <<_ACEOF
9954 cat confdefs.h
>>conftest.
$ac_ext
9955 cat >>conftest.
$ac_ext <<_ACEOF
9956 /* end confdefs.h. */
9960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9961 $EGREP "int.*gethostbyname_r" >/dev
/null
2>&1; then
9964 cat >>confdefs.h
<<\_ACEOF
9965 #define GETHOSTBYNAME_R_RETURNS_INT 1
9973 *" -D_REENTRANT "*) ;;
9975 echo "$as_me:$LINENO: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5
9976 echo $ECHO_N "checking whether gethostbyname_r declaration requires -D_REENTRANT... $ECHO_C" >&6
9977 if test "${libjava_cv_gethostbyname_r_needs_reentrant+set}" = set; then
9978 echo $ECHO_N "(cached) $ECHO_C" >&6
9983 ac_cpp
='$CXXCPP $CPPFLAGS'
9984 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9985 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9986 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9988 cat >conftest.
$ac_ext <<_ACEOF
9991 cat confdefs.h
>>conftest.
$ac_ext
9992 cat >>conftest.
$ac_ext <<_ACEOF
9993 /* end confdefs.h. */
9998 gethostbyname_r("", 0, 0);
10003 rm -f conftest.
$ac_objext
10004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10005 (eval $ac_compile) 2>conftest.er1
10007 grep -v '^ *+' conftest.er1
>conftest.err
10009 cat conftest.err
>&5
10010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10011 (exit $ac_status); } &&
10012 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10014 (eval $ac_try) 2>&5
10016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10017 (exit $ac_status); }; } &&
10018 { ac_try
='test -s conftest.$ac_objext'
10019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10020 (eval $ac_try) 2>&5
10022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10023 (exit $ac_status); }; }; then
10024 libjava_cv_gethostbyname_r_needs_reentrant
=no
10026 echo "$as_me: failed program was:" >&5
10027 sed 's/^/| /' conftest.
$ac_ext >&5
10029 CPPFLAGS_SAVE
="$CPPFLAGS"
10030 CPPFLAGS
="$CPPFLAGS -D_REENTRANT"
10031 cat >conftest.
$ac_ext <<_ACEOF
10034 cat confdefs.h
>>conftest.
$ac_ext
10035 cat >>conftest.
$ac_ext <<_ACEOF
10036 /* end confdefs.h. */
10041 gethostbyname_r("", 0, 0);
10046 rm -f conftest.
$ac_objext
10047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10048 (eval $ac_compile) 2>conftest.er1
10050 grep -v '^ *+' conftest.er1
>conftest.err
10052 cat conftest.err
>&5
10053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10054 (exit $ac_status); } &&
10055 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10057 (eval $ac_try) 2>&5
10059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10060 (exit $ac_status); }; } &&
10061 { ac_try
='test -s conftest.$ac_objext'
10062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10063 (eval $ac_try) 2>&5
10065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10066 (exit $ac_status); }; }; then
10067 libjava_cv_gethostbyname_r_needs_reentrant
=yes
10069 echo "$as_me: failed program was:" >&5
10070 sed 's/^/| /' conftest.
$ac_ext >&5
10072 libjava_cv_gethostbyname_r_needs_reentrant
=fail
10074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10075 CPPFLAGS
="$CPPFLAGS_SAVE"
10078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10080 ac_cpp
='$CPP $CPPFLAGS'
10081 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10082 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10083 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10087 echo "$as_me:$LINENO: result: $libjava_cv_gethostbyname_r_needs_reentrant" >&5
10088 echo "${ECHO_T}$libjava_cv_gethostbyname_r_needs_reentrant" >&6
10089 if test "x$libjava_cv_gethostbyname_r_needs_reentrant" = xyes
; then
10091 cat >>confdefs.h
<<\_ACEOF
10092 #define _REENTRANT 1
10099 echo "$as_me:$LINENO: checking for struct hostent_data" >&5
10100 echo $ECHO_N "checking for struct hostent_data... $ECHO_C" >&6
10101 if test "${libjava_cv_struct_hostent_data+set}" = set; then
10102 echo $ECHO_N "(cached) $ECHO_C" >&6
10104 cat >conftest.
$ac_ext <<_ACEOF
10107 cat confdefs.h
>>conftest.
$ac_ext
10108 cat >>conftest.
$ac_ext <<_ACEOF
10109 /* end confdefs.h. */
10111 #if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
10112 # define _REENTRANT 1
10118 struct hostent_data data;
10123 rm -f conftest.
$ac_objext
10124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10125 (eval $ac_compile) 2>conftest.er1
10127 grep -v '^ *+' conftest.er1
>conftest.err
10129 cat conftest.err
>&5
10130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10131 (exit $ac_status); } &&
10132 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10134 (eval $ac_try) 2>&5
10136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10137 (exit $ac_status); }; } &&
10138 { ac_try
='test -s conftest.$ac_objext'
10139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10140 (eval $ac_try) 2>&5
10142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10143 (exit $ac_status); }; }; then
10144 libjava_cv_struct_hostent_data
=yes
10146 echo "$as_me: failed program was:" >&5
10147 sed 's/^/| /' conftest.
$ac_ext >&5
10149 libjava_cv_struct_hostent_data
=no
10151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10153 echo "$as_me:$LINENO: result: $libjava_cv_struct_hostent_data" >&5
10154 echo "${ECHO_T}$libjava_cv_struct_hostent_data" >&6
10155 if test "x$libjava_cv_struct_hostent_data" = xyes
; then
10157 cat >>confdefs.h
<<\_ACEOF
10158 #define HAVE_STRUCT_HOSTENT_DATA 1
10167 # FIXME: libjava source code expects to find a prototype for
10168 # gethostbyaddr_r in netdb.h. The outer check ensures that
10169 # HAVE_GETHOSTBYADDR_R will not be defined if the prototype fails
10170 # to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
10171 # linkage check is enough, yet C++ code requires proper prototypes.)
10172 cat >conftest.
$ac_ext <<_ACEOF
10175 cat confdefs.h
>>conftest.
$ac_ext
10176 cat >>conftest.
$ac_ext <<_ACEOF
10177 /* end confdefs.h. */
10181 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10182 $EGREP "gethostbyaddr_r" >/dev
/null
2>&1; then
10185 for ac_func
in gethostbyaddr_r
10187 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10188 echo "$as_me:$LINENO: checking for $ac_func" >&5
10189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10190 if eval "test \"\${$as_ac_var+set}\" = set"; then
10191 echo $ECHO_N "(cached) $ECHO_C" >&6
10193 if test x
$gcc_no_link = xyes
; then
10194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10196 { (exit 1); exit 1; }; }
10198 cat >conftest.
$ac_ext <<_ACEOF
10201 cat confdefs.h
>>conftest.
$ac_ext
10202 cat >>conftest.
$ac_ext <<_ACEOF
10203 /* end confdefs.h. */
10204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10206 #define $ac_func innocuous_$ac_func
10208 /* System header to define __stub macros and hopefully few prototypes,
10209 which can conflict with char $ac_func (); below.
10210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10211 <limits.h> exists even on freestanding compilers. */
10214 # include <limits.h>
10216 # include <assert.h>
10221 /* Override any gcc2 internal prototype to avoid an error. */
10226 /* We use char because int might match the return type of a gcc2
10227 builtin and then its argument prototype would still apply. */
10229 /* The GNU C library defines this for functions which it implements
10230 to always fail with ENOSYS. Some functions are actually named
10231 something starting with __ and the normal name is an alias. */
10232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10235 char (*f) () = $ac_func;
10244 return f != $ac_func;
10249 rm -f conftest.
$ac_objext conftest
$ac_exeext
10250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10251 (eval $ac_link) 2>conftest.er1
10253 grep -v '^ *+' conftest.er1
>conftest.err
10255 cat conftest.err
>&5
10256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10257 (exit $ac_status); } &&
10258 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10260 (eval $ac_try) 2>&5
10262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10263 (exit $ac_status); }; } &&
10264 { ac_try
='test -s conftest$ac_exeext'
10265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10266 (eval $ac_try) 2>&5
10268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10269 (exit $ac_status); }; }; then
10270 eval "$as_ac_var=yes"
10272 echo "$as_me: failed program was:" >&5
10273 sed 's/^/| /' conftest.
$ac_ext >&5
10275 eval "$as_ac_var=no"
10277 rm -f conftest.err conftest.
$ac_objext \
10278 conftest
$ac_exeext conftest.
$ac_ext
10280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10282 if test `eval echo '${'$as_ac_var'}'` = yes; then
10283 cat >>confdefs.h
<<_ACEOF
10284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10288 cat >>confdefs.h
<<\_ACEOF
10289 #define HAVE_GETHOSTBYADDR_R 1
10292 # There are two different kinds of gethostbyaddr_r.
10293 # We look for the one that returns `int'.
10294 # Hopefully this check is robust enough.
10295 cat >conftest.
$ac_ext <<_ACEOF
10298 cat confdefs.h
>>conftest.
$ac_ext
10299 cat >>conftest.
$ac_ext <<_ACEOF
10300 /* end confdefs.h. */
10304 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10305 $EGREP "int.*gethostbyaddr_r" >/dev
/null
2>&1; then
10308 cat >>confdefs.h
<<\_ACEOF
10309 #define GETHOSTBYADDR_R_RETURNS_INT 1
10323 for ac_func
in gethostname
10325 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10326 echo "$as_me:$LINENO: checking for $ac_func" >&5
10327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10328 if eval "test \"\${$as_ac_var+set}\" = set"; then
10329 echo $ECHO_N "(cached) $ECHO_C" >&6
10331 if test x
$gcc_no_link = xyes
; then
10332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10334 { (exit 1); exit 1; }; }
10336 cat >conftest.
$ac_ext <<_ACEOF
10339 cat confdefs.h
>>conftest.
$ac_ext
10340 cat >>conftest.
$ac_ext <<_ACEOF
10341 /* end confdefs.h. */
10342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10344 #define $ac_func innocuous_$ac_func
10346 /* System header to define __stub macros and hopefully few prototypes,
10347 which can conflict with char $ac_func (); below.
10348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10349 <limits.h> exists even on freestanding compilers. */
10352 # include <limits.h>
10354 # include <assert.h>
10359 /* Override any gcc2 internal prototype to avoid an error. */
10364 /* We use char because int might match the return type of a gcc2
10365 builtin and then its argument prototype would still apply. */
10367 /* The GNU C library defines this for functions which it implements
10368 to always fail with ENOSYS. Some functions are actually named
10369 something starting with __ and the normal name is an alias. */
10370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10373 char (*f) () = $ac_func;
10382 return f != $ac_func;
10387 rm -f conftest.
$ac_objext conftest
$ac_exeext
10388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10389 (eval $ac_link) 2>conftest.er1
10391 grep -v '^ *+' conftest.er1
>conftest.err
10393 cat conftest.err
>&5
10394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10395 (exit $ac_status); } &&
10396 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10398 (eval $ac_try) 2>&5
10400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10401 (exit $ac_status); }; } &&
10402 { ac_try
='test -s conftest$ac_exeext'
10403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10404 (eval $ac_try) 2>&5
10406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10407 (exit $ac_status); }; }; then
10408 eval "$as_ac_var=yes"
10410 echo "$as_me: failed program was:" >&5
10411 sed 's/^/| /' conftest.
$ac_ext >&5
10413 eval "$as_ac_var=no"
10415 rm -f conftest.err conftest.
$ac_objext \
10416 conftest
$ac_exeext conftest.
$ac_ext
10418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10420 if test `eval echo '${'$as_ac_var'}'` = yes; then
10421 cat >>confdefs.h
<<_ACEOF
10422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10426 cat >>confdefs.h
<<\_ACEOF
10427 #define HAVE_GETHOSTNAME 1
10430 cat >conftest.
$ac_ext <<_ACEOF
10433 cat confdefs.h
>>conftest.
$ac_ext
10434 cat >>conftest.
$ac_ext <<_ACEOF
10435 /* end confdefs.h. */
10436 #include <unistd.h>
10439 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10440 $EGREP "gethostname" >/dev
/null
2>&1; then
10443 cat >>confdefs.h
<<\_ACEOF
10444 #define HAVE_GETHOSTNAME_DECL 1
10455 for ac_func
in usleep
10457 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10458 echo "$as_me:$LINENO: checking for $ac_func" >&5
10459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10460 if eval "test \"\${$as_ac_var+set}\" = set"; then
10461 echo $ECHO_N "(cached) $ECHO_C" >&6
10463 if test x
$gcc_no_link = xyes
; then
10464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10466 { (exit 1); exit 1; }; }
10468 cat >conftest.
$ac_ext <<_ACEOF
10471 cat confdefs.h
>>conftest.
$ac_ext
10472 cat >>conftest.
$ac_ext <<_ACEOF
10473 /* end confdefs.h. */
10474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10476 #define $ac_func innocuous_$ac_func
10478 /* System header to define __stub macros and hopefully few prototypes,
10479 which can conflict with char $ac_func (); below.
10480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10481 <limits.h> exists even on freestanding compilers. */
10484 # include <limits.h>
10486 # include <assert.h>
10491 /* Override any gcc2 internal prototype to avoid an error. */
10496 /* We use char because int might match the return type of a gcc2
10497 builtin and then its argument prototype would still apply. */
10499 /* The GNU C library defines this for functions which it implements
10500 to always fail with ENOSYS. Some functions are actually named
10501 something starting with __ and the normal name is an alias. */
10502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10505 char (*f) () = $ac_func;
10514 return f != $ac_func;
10519 rm -f conftest.
$ac_objext conftest
$ac_exeext
10520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10521 (eval $ac_link) 2>conftest.er1
10523 grep -v '^ *+' conftest.er1
>conftest.err
10525 cat conftest.err
>&5
10526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10527 (exit $ac_status); } &&
10528 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10530 (eval $ac_try) 2>&5
10532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10533 (exit $ac_status); }; } &&
10534 { ac_try
='test -s conftest$ac_exeext'
10535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10536 (eval $ac_try) 2>&5
10538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10539 (exit $ac_status); }; }; then
10540 eval "$as_ac_var=yes"
10542 echo "$as_me: failed program was:" >&5
10543 sed 's/^/| /' conftest.
$ac_ext >&5
10545 eval "$as_ac_var=no"
10547 rm -f conftest.err conftest.
$ac_objext \
10548 conftest
$ac_exeext conftest.
$ac_ext
10550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10552 if test `eval echo '${'$as_ac_var'}'` = yes; then
10553 cat >>confdefs.h
<<_ACEOF
10554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10557 cat >conftest.
$ac_ext <<_ACEOF
10560 cat confdefs.h
>>conftest.
$ac_ext
10561 cat >>conftest.
$ac_ext <<_ACEOF
10562 /* end confdefs.h. */
10563 #include <unistd.h>
10566 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10567 $EGREP "usleep" >/dev
/null
2>&1; then
10570 cat >>confdefs.h
<<\_ACEOF
10571 #define HAVE_USLEEP_DECL 1
10581 # Look for these functions in the thread library, but only bother
10582 # if using POSIX threads.
10583 if test "$THREADS" = posix
; then
10585 LIBS
="$LIBS $THREADLIBS"
10586 # Some POSIX thread systems don't have pthread_mutexattr_settype.
10590 for ac_func
in pthread_mutexattr_settype pthread_mutexattr_setkind_np
10592 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10593 echo "$as_me:$LINENO: checking for $ac_func" >&5
10594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10595 if eval "test \"\${$as_ac_var+set}\" = set"; then
10596 echo $ECHO_N "(cached) $ECHO_C" >&6
10598 if test x
$gcc_no_link = xyes
; then
10599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10601 { (exit 1); exit 1; }; }
10603 cat >conftest.
$ac_ext <<_ACEOF
10606 cat confdefs.h
>>conftest.
$ac_ext
10607 cat >>conftest.
$ac_ext <<_ACEOF
10608 /* end confdefs.h. */
10609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10611 #define $ac_func innocuous_$ac_func
10613 /* System header to define __stub macros and hopefully few prototypes,
10614 which can conflict with char $ac_func (); below.
10615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10616 <limits.h> exists even on freestanding compilers. */
10619 # include <limits.h>
10621 # include <assert.h>
10626 /* Override any gcc2 internal prototype to avoid an error. */
10631 /* We use char because int might match the return type of a gcc2
10632 builtin and then its argument prototype would still apply. */
10634 /* The GNU C library defines this for functions which it implements
10635 to always fail with ENOSYS. Some functions are actually named
10636 something starting with __ and the normal name is an alias. */
10637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10640 char (*f) () = $ac_func;
10649 return f != $ac_func;
10654 rm -f conftest.
$ac_objext conftest
$ac_exeext
10655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10656 (eval $ac_link) 2>conftest.er1
10658 grep -v '^ *+' conftest.er1
>conftest.err
10660 cat conftest.err
>&5
10661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10662 (exit $ac_status); } &&
10663 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10665 (eval $ac_try) 2>&5
10667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10668 (exit $ac_status); }; } &&
10669 { ac_try
='test -s conftest$ac_exeext'
10670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10671 (eval $ac_try) 2>&5
10673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10674 (exit $ac_status); }; }; then
10675 eval "$as_ac_var=yes"
10677 echo "$as_me: failed program was:" >&5
10678 sed 's/^/| /' conftest.
$ac_ext >&5
10680 eval "$as_ac_var=no"
10682 rm -f conftest.err conftest.
$ac_objext \
10683 conftest
$ac_exeext conftest.
$ac_ext
10685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10687 if test `eval echo '${'$as_ac_var'}'` = yes; then
10688 cat >>confdefs.h
<<_ACEOF
10689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10696 # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since
10697 # Solaris 7 the name librt is preferred.
10699 for ac_func
in sched_yield
10701 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10702 echo "$as_me:$LINENO: checking for $ac_func" >&5
10703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10704 if eval "test \"\${$as_ac_var+set}\" = set"; then
10705 echo $ECHO_N "(cached) $ECHO_C" >&6
10707 if test x
$gcc_no_link = xyes
; then
10708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10710 { (exit 1); exit 1; }; }
10712 cat >conftest.
$ac_ext <<_ACEOF
10715 cat confdefs.h
>>conftest.
$ac_ext
10716 cat >>conftest.
$ac_ext <<_ACEOF
10717 /* end confdefs.h. */
10718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10720 #define $ac_func innocuous_$ac_func
10722 /* System header to define __stub macros and hopefully few prototypes,
10723 which can conflict with char $ac_func (); below.
10724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10725 <limits.h> exists even on freestanding compilers. */
10728 # include <limits.h>
10730 # include <assert.h>
10735 /* Override any gcc2 internal prototype to avoid an error. */
10740 /* We use char because int might match the return type of a gcc2
10741 builtin and then its argument prototype would still apply. */
10743 /* The GNU C library defines this for functions which it implements
10744 to always fail with ENOSYS. Some functions are actually named
10745 something starting with __ and the normal name is an alias. */
10746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10749 char (*f) () = $ac_func;
10758 return f != $ac_func;
10763 rm -f conftest.
$ac_objext conftest
$ac_exeext
10764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10765 (eval $ac_link) 2>conftest.er1
10767 grep -v '^ *+' conftest.er1
>conftest.err
10769 cat conftest.err
>&5
10770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10771 (exit $ac_status); } &&
10772 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10774 (eval $ac_try) 2>&5
10776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10777 (exit $ac_status); }; } &&
10778 { ac_try
='test -s conftest$ac_exeext'
10779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10780 (eval $ac_try) 2>&5
10782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10783 (exit $ac_status); }; }; then
10784 eval "$as_ac_var=yes"
10786 echo "$as_me: failed program was:" >&5
10787 sed 's/^/| /' conftest.
$ac_ext >&5
10789 eval "$as_ac_var=no"
10791 rm -f conftest.err conftest.
$ac_objext \
10792 conftest
$ac_exeext conftest.
$ac_ext
10794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10796 if test `eval echo '${'$as_ac_var'}'` = yes; then
10797 cat >>confdefs.h
<<_ACEOF
10798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10803 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
10804 echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
10805 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
10806 echo $ECHO_N "(cached) $ECHO_C" >&6
10808 ac_check_lib_save_LIBS
=$LIBS
10810 if test x
$gcc_no_link = xyes
; then
10811 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10813 { (exit 1); exit 1; }; }
10815 cat >conftest.
$ac_ext <<_ACEOF
10818 cat confdefs.h
>>conftest.
$ac_ext
10819 cat >>conftest.
$ac_ext <<_ACEOF
10820 /* end confdefs.h. */
10822 /* Override any gcc2 internal prototype to avoid an error. */
10826 /* We use char because int might match the return type of a gcc2
10827 builtin and then its argument prototype would still apply. */
10828 char sched_yield ();
10837 rm -f conftest.
$ac_objext conftest
$ac_exeext
10838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10839 (eval $ac_link) 2>conftest.er1
10841 grep -v '^ *+' conftest.er1
>conftest.err
10843 cat conftest.err
>&5
10844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10845 (exit $ac_status); } &&
10846 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10848 (eval $ac_try) 2>&5
10850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10851 (exit $ac_status); }; } &&
10852 { ac_try
='test -s conftest$ac_exeext'
10853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10854 (eval $ac_try) 2>&5
10856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10857 (exit $ac_status); }; }; then
10858 ac_cv_lib_rt_sched_yield
=yes
10860 echo "$as_me: failed program was:" >&5
10861 sed 's/^/| /' conftest.
$ac_ext >&5
10863 ac_cv_lib_rt_sched_yield
=no
10865 rm -f conftest.err conftest.
$ac_objext \
10866 conftest
$ac_exeext conftest.
$ac_ext
10867 LIBS
=$ac_check_lib_save_LIBS
10869 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
10870 echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
10871 if test $ac_cv_lib_rt_sched_yield = yes; then
10873 cat >>confdefs.h
<<\_ACEOF
10874 #define HAVE_SCHED_YIELD 1
10877 THREADLIBS
="$THREADLIBS -lrt"
10878 THREADSPEC
="$THREADSPEC -lrt"
10881 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
10882 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
10883 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
10884 echo $ECHO_N "(cached) $ECHO_C" >&6
10886 ac_check_lib_save_LIBS
=$LIBS
10887 LIBS
="-lposix4 $LIBS"
10888 if test x
$gcc_no_link = xyes
; then
10889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10891 { (exit 1); exit 1; }; }
10893 cat >conftest.
$ac_ext <<_ACEOF
10896 cat confdefs.h
>>conftest.
$ac_ext
10897 cat >>conftest.
$ac_ext <<_ACEOF
10898 /* end confdefs.h. */
10900 /* Override any gcc2 internal prototype to avoid an error. */
10904 /* We use char because int might match the return type of a gcc2
10905 builtin and then its argument prototype would still apply. */
10906 char sched_yield ();
10915 rm -f conftest.
$ac_objext conftest
$ac_exeext
10916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10917 (eval $ac_link) 2>conftest.er1
10919 grep -v '^ *+' conftest.er1
>conftest.err
10921 cat conftest.err
>&5
10922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10923 (exit $ac_status); } &&
10924 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10926 (eval $ac_try) 2>&5
10928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10929 (exit $ac_status); }; } &&
10930 { ac_try
='test -s conftest$ac_exeext'
10931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10932 (eval $ac_try) 2>&5
10934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10935 (exit $ac_status); }; }; then
10936 ac_cv_lib_posix4_sched_yield
=yes
10938 echo "$as_me: failed program was:" >&5
10939 sed 's/^/| /' conftest.
$ac_ext >&5
10941 ac_cv_lib_posix4_sched_yield
=no
10943 rm -f conftest.err conftest.
$ac_objext \
10944 conftest
$ac_exeext conftest.
$ac_ext
10945 LIBS
=$ac_check_lib_save_LIBS
10947 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
10948 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
10949 if test $ac_cv_lib_posix4_sched_yield = yes; then
10951 cat >>confdefs.h
<<\_ACEOF
10952 #define HAVE_SCHED_YIELD 1
10955 THREADLIBS
="$THREADLIBS -lposix4"
10956 THREADSPEC
="$THREADSPEC -lposix4"
10966 # We can save a little space at runtime if the mutex has m_count
10967 # or __m_count. This is a nice hack for Linux.
10968 cat >conftest.
$ac_ext <<_ACEOF
10971 cat confdefs.h
>>conftest.
$ac_ext
10972 cat >>conftest.
$ac_ext <<_ACEOF
10973 /* end confdefs.h. */
10974 #include <pthread.h>
10979 extern pthread_mutex_t *mutex; int q = mutex->m_count;
10985 rm -f conftest.
$ac_objext
10986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10987 (eval $ac_compile) 2>conftest.er1
10989 grep -v '^ *+' conftest.er1
>conftest.err
10991 cat conftest.err
>&5
10992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10993 (exit $ac_status); } &&
10994 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10996 (eval $ac_try) 2>&5
10998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10999 (exit $ac_status); }; } &&
11000 { ac_try
='test -s conftest.$ac_objext'
11001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11002 (eval $ac_try) 2>&5
11004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11005 (exit $ac_status); }; }; then
11007 cat >>confdefs.h
<<\_ACEOF
11008 #define PTHREAD_MUTEX_HAVE_M_COUNT 1
11012 echo "$as_me: failed program was:" >&5
11013 sed 's/^/| /' conftest.
$ac_ext >&5
11016 cat >conftest.
$ac_ext <<_ACEOF
11019 cat confdefs.h
>>conftest.
$ac_ext
11020 cat >>conftest.
$ac_ext <<_ACEOF
11021 /* end confdefs.h. */
11022 #include <pthread.h>
11027 extern pthread_mutex_t *mutex; int q = mutex->__m_count;
11033 rm -f conftest.
$ac_objext
11034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11035 (eval $ac_compile) 2>conftest.er1
11037 grep -v '^ *+' conftest.er1
>conftest.err
11039 cat conftest.err
>&5
11040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11041 (exit $ac_status); } &&
11042 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11044 (eval $ac_try) 2>&5
11046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047 (exit $ac_status); }; } &&
11048 { ac_try
='test -s conftest.$ac_objext'
11049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11050 (eval $ac_try) 2>&5
11052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11053 (exit $ac_status); }; }; then
11055 cat >>confdefs.h
<<\_ACEOF
11056 #define PTHREAD_MUTEX_HAVE___M_COUNT 1
11060 echo "$as_me: failed program was:" >&5
11061 sed 's/^/| /' conftest.
$ac_ext >&5
11064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11066 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11069 # We require a way to get the time.
11074 for ac_func
in gettimeofday
time ftime
11076 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11077 echo "$as_me:$LINENO: checking for $ac_func" >&5
11078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11079 if eval "test \"\${$as_ac_var+set}\" = set"; then
11080 echo $ECHO_N "(cached) $ECHO_C" >&6
11082 if test x
$gcc_no_link = xyes
; then
11083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11085 { (exit 1); exit 1; }; }
11087 cat >conftest.
$ac_ext <<_ACEOF
11090 cat confdefs.h
>>conftest.
$ac_ext
11091 cat >>conftest.
$ac_ext <<_ACEOF
11092 /* end confdefs.h. */
11093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11095 #define $ac_func innocuous_$ac_func
11097 /* System header to define __stub macros and hopefully few prototypes,
11098 which can conflict with char $ac_func (); below.
11099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11100 <limits.h> exists even on freestanding compilers. */
11103 # include <limits.h>
11105 # include <assert.h>
11110 /* Override any gcc2 internal prototype to avoid an error. */
11115 /* We use char because int might match the return type of a gcc2
11116 builtin and then its argument prototype would still apply. */
11118 /* The GNU C library defines this for functions which it implements
11119 to always fail with ENOSYS. Some functions are actually named
11120 something starting with __ and the normal name is an alias. */
11121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11124 char (*f) () = $ac_func;
11133 return f != $ac_func;
11138 rm -f conftest.
$ac_objext conftest
$ac_exeext
11139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11140 (eval $ac_link) 2>conftest.er1
11142 grep -v '^ *+' conftest.er1
>conftest.err
11144 cat conftest.err
>&5
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); } &&
11147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11149 (eval $ac_try) 2>&5
11151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11152 (exit $ac_status); }; } &&
11153 { ac_try
='test -s conftest$ac_exeext'
11154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11155 (eval $ac_try) 2>&5
11157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11158 (exit $ac_status); }; }; then
11159 eval "$as_ac_var=yes"
11161 echo "$as_me: failed program was:" >&5
11162 sed 's/^/| /' conftest.
$ac_ext >&5
11164 eval "$as_ac_var=no"
11166 rm -f conftest.err conftest.
$ac_objext \
11167 conftest
$ac_exeext conftest.
$ac_ext
11169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11171 if test `eval echo '${'$as_ac_var'}'` = yes; then
11172 cat >>confdefs.h
<<_ACEOF
11173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11179 if test "$time_found" = no
; then
11180 { { echo "$as_me:$LINENO: error: no function found to get the time" >&5
11181 echo "$as_me: error: no function found to get the time" >&2;}
11182 { (exit 1); exit 1; }; }
11186 for ac_func
in memmove
11188 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11189 echo "$as_me:$LINENO: checking for $ac_func" >&5
11190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11191 if eval "test \"\${$as_ac_var+set}\" = set"; then
11192 echo $ECHO_N "(cached) $ECHO_C" >&6
11194 if test x
$gcc_no_link = xyes
; then
11195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11197 { (exit 1); exit 1; }; }
11199 cat >conftest.
$ac_ext <<_ACEOF
11202 cat confdefs.h
>>conftest.
$ac_ext
11203 cat >>conftest.
$ac_ext <<_ACEOF
11204 /* end confdefs.h. */
11205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11207 #define $ac_func innocuous_$ac_func
11209 /* System header to define __stub macros and hopefully few prototypes,
11210 which can conflict with char $ac_func (); below.
11211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11212 <limits.h> exists even on freestanding compilers. */
11215 # include <limits.h>
11217 # include <assert.h>
11222 /* Override any gcc2 internal prototype to avoid an error. */
11227 /* We use char because int might match the return type of a gcc2
11228 builtin and then its argument prototype would still apply. */
11230 /* The GNU C library defines this for functions which it implements
11231 to always fail with ENOSYS. Some functions are actually named
11232 something starting with __ and the normal name is an alias. */
11233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11236 char (*f) () = $ac_func;
11245 return f != $ac_func;
11250 rm -f conftest.
$ac_objext conftest
$ac_exeext
11251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11252 (eval $ac_link) 2>conftest.er1
11254 grep -v '^ *+' conftest.er1
>conftest.err
11256 cat conftest.err
>&5
11257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11258 (exit $ac_status); } &&
11259 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11261 (eval $ac_try) 2>&5
11263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11264 (exit $ac_status); }; } &&
11265 { ac_try
='test -s conftest$ac_exeext'
11266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11267 (eval $ac_try) 2>&5
11269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11270 (exit $ac_status); }; }; then
11271 eval "$as_ac_var=yes"
11273 echo "$as_me: failed program was:" >&5
11274 sed 's/^/| /' conftest.
$ac_ext >&5
11276 eval "$as_ac_var=no"
11278 rm -f conftest.err conftest.
$ac_objext \
11279 conftest
$ac_exeext conftest.
$ac_ext
11281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11283 if test `eval echo '${'$as_ac_var'}'` = yes; then
11284 cat >>confdefs.h
<<_ACEOF
11285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11292 # We require memcpy.
11295 for ac_func
in memcpy
11297 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11298 echo "$as_me:$LINENO: checking for $ac_func" >&5
11299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11300 if eval "test \"\${$as_ac_var+set}\" = set"; then
11301 echo $ECHO_N "(cached) $ECHO_C" >&6
11303 if test x
$gcc_no_link = xyes
; then
11304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11306 { (exit 1); exit 1; }; }
11308 cat >conftest.
$ac_ext <<_ACEOF
11311 cat confdefs.h
>>conftest.
$ac_ext
11312 cat >>conftest.
$ac_ext <<_ACEOF
11313 /* end confdefs.h. */
11314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11316 #define $ac_func innocuous_$ac_func
11318 /* System header to define __stub macros and hopefully few prototypes,
11319 which can conflict with char $ac_func (); below.
11320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11321 <limits.h> exists even on freestanding compilers. */
11324 # include <limits.h>
11326 # include <assert.h>
11331 /* Override any gcc2 internal prototype to avoid an error. */
11336 /* We use char because int might match the return type of a gcc2
11337 builtin and then its argument prototype would still apply. */
11339 /* The GNU C library defines this for functions which it implements
11340 to always fail with ENOSYS. Some functions are actually named
11341 something starting with __ and the normal name is an alias. */
11342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11345 char (*f) () = $ac_func;
11354 return f != $ac_func;
11359 rm -f conftest.
$ac_objext conftest
$ac_exeext
11360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11361 (eval $ac_link) 2>conftest.er1
11363 grep -v '^ *+' conftest.er1
>conftest.err
11365 cat conftest.err
>&5
11366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11367 (exit $ac_status); } &&
11368 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11370 (eval $ac_try) 2>&5
11372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11373 (exit $ac_status); }; } &&
11374 { ac_try
='test -s conftest$ac_exeext'
11375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11376 (eval $ac_try) 2>&5
11378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11379 (exit $ac_status); }; }; then
11380 eval "$as_ac_var=yes"
11382 echo "$as_me: failed program was:" >&5
11383 sed 's/^/| /' conftest.
$ac_ext >&5
11385 eval "$as_ac_var=no"
11387 rm -f conftest.err conftest.
$ac_objext \
11388 conftest
$ac_exeext conftest.
$ac_ext
11390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11392 if test `eval echo '${'$as_ac_var'}'` = yes; then
11393 cat >>confdefs.h
<<_ACEOF
11394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11400 if test "$memcpy_found" = no
; then
11401 { { echo "$as_me:$LINENO: error: memcpy is required" >&5
11402 echo "$as_me: error: memcpy is required" >&2;}
11403 { (exit 1); exit 1; }; }
11406 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11407 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11408 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11409 echo $ECHO_N "(cached) $ECHO_C" >&6
11411 ac_check_lib_save_LIBS
=$LIBS
11413 if test x
$gcc_no_link = xyes
; then
11414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11416 { (exit 1); exit 1; }; }
11418 cat >conftest.
$ac_ext <<_ACEOF
11421 cat confdefs.h
>>conftest.
$ac_ext
11422 cat >>conftest.
$ac_ext <<_ACEOF
11423 /* end confdefs.h. */
11425 /* Override any gcc2 internal prototype to avoid an error. */
11429 /* We use char because int might match the return type of a gcc2
11430 builtin and then its argument prototype would still apply. */
11440 rm -f conftest.
$ac_objext conftest
$ac_exeext
11441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11442 (eval $ac_link) 2>conftest.er1
11444 grep -v '^ *+' conftest.er1
>conftest.err
11446 cat conftest.err
>&5
11447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11448 (exit $ac_status); } &&
11449 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11451 (eval $ac_try) 2>&5
11453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11454 (exit $ac_status); }; } &&
11455 { ac_try
='test -s conftest$ac_exeext'
11456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11457 (eval $ac_try) 2>&5
11459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11460 (exit $ac_status); }; }; then
11461 ac_cv_lib_dl_dlopen
=yes
11463 echo "$as_me: failed program was:" >&5
11464 sed 's/^/| /' conftest.
$ac_ext >&5
11466 ac_cv_lib_dl_dlopen
=no
11468 rm -f conftest.err conftest.
$ac_objext \
11469 conftest
$ac_exeext conftest.
$ac_ext
11470 LIBS
=$ac_check_lib_save_LIBS
11472 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11473 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11474 if test $ac_cv_lib_dl_dlopen = yes; then
11477 cat >>confdefs.h
<<\_ACEOF
11478 #define HAVE_DLOPEN 1
11484 # Some library-finding code we stole from Tcl.
11485 #--------------------------------------------------------------------
11486 # Check for the existence of the -lsocket and -lnsl libraries.
11487 # The order here is important, so that they end up in the right
11488 # order in the command line generated by make. Here are some
11489 # special considerations:
11490 # 1. Use "connect" and "accept" to check for -lsocket, and
11491 # "gethostbyname" to check for -lnsl.
11492 # 2. Use each function name only once: can't redo a check because
11493 # autoconf caches the results of the last check and won't redo it.
11494 # 3. Use -lnsl and -lsocket only if they supply procedures that
11495 # aren't already present in the normal libraries. This is because
11496 # IRIX 5.2 has libraries, but they aren't needed and they're
11497 # bogus: they goof up name resolution if used.
11498 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
11499 # To get around this problem, check for both libraries together
11500 # if -lsocket doesn't work by itself.
11501 #--------------------------------------------------------------------
11503 echo "$as_me:$LINENO: checking for socket libraries" >&5
11504 echo $ECHO_N "checking for socket libraries... $ECHO_C" >&6
11505 if test "${gcj_cv_lib_sockets+set}" = set; then
11506 echo $ECHO_N "(cached) $ECHO_C" >&6
11508 gcj_cv_lib_sockets
=
11510 unset ac_cv_func_connect
11511 echo "$as_me:$LINENO: checking for connect" >&5
11512 echo $ECHO_N "checking for connect... $ECHO_C" >&6
11513 if test "${ac_cv_func_connect+set}" = set; then
11514 echo $ECHO_N "(cached) $ECHO_C" >&6
11516 if test x
$gcc_no_link = xyes
; then
11517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11519 { (exit 1); exit 1; }; }
11521 cat >conftest.
$ac_ext <<_ACEOF
11524 cat confdefs.h
>>conftest.
$ac_ext
11525 cat >>conftest.
$ac_ext <<_ACEOF
11526 /* end confdefs.h. */
11527 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
11528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11529 #define connect innocuous_connect
11531 /* System header to define __stub macros and hopefully few prototypes,
11532 which can conflict with char connect (); below.
11533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11534 <limits.h> exists even on freestanding compilers. */
11537 # include <limits.h>
11539 # include <assert.h>
11544 /* Override any gcc2 internal prototype to avoid an error. */
11549 /* We use char because int might match the return type of a gcc2
11550 builtin and then its argument prototype would still apply. */
11552 /* The GNU C library defines this for functions which it implements
11553 to always fail with ENOSYS. Some functions are actually named
11554 something starting with __ and the normal name is an alias. */
11555 #if defined (__stub_connect) || defined (__stub___connect)
11558 char (*f) () = connect;
11567 return f != connect;
11572 rm -f conftest.
$ac_objext conftest
$ac_exeext
11573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11574 (eval $ac_link) 2>conftest.er1
11576 grep -v '^ *+' conftest.er1
>conftest.err
11578 cat conftest.err
>&5
11579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11580 (exit $ac_status); } &&
11581 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11583 (eval $ac_try) 2>&5
11585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11586 (exit $ac_status); }; } &&
11587 { ac_try
='test -s conftest$ac_exeext'
11588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11589 (eval $ac_try) 2>&5
11591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11592 (exit $ac_status); }; }; then
11593 ac_cv_func_connect
=yes
11595 echo "$as_me: failed program was:" >&5
11596 sed 's/^/| /' conftest.
$ac_ext >&5
11598 ac_cv_func_connect
=no
11600 rm -f conftest.err conftest.
$ac_objext \
11601 conftest
$ac_exeext conftest.
$ac_ext
11603 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
11604 echo "${ECHO_T}$ac_cv_func_connect" >&6
11605 if test $ac_cv_func_connect = yes; then
11611 if test "$gcj_checkSocket" = 1; then
11612 unset ac_cv_func_connect
11613 echo "$as_me:$LINENO: checking for main in -lsocket" >&5
11614 echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
11615 if test "${ac_cv_lib_socket_main+set}" = set; then
11616 echo $ECHO_N "(cached) $ECHO_C" >&6
11618 ac_check_lib_save_LIBS
=$LIBS
11619 LIBS
="-lsocket $LIBS"
11620 if test x
$gcc_no_link = xyes
; then
11621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11623 { (exit 1); exit 1; }; }
11625 cat >conftest.
$ac_ext <<_ACEOF
11628 cat confdefs.h
>>conftest.
$ac_ext
11629 cat >>conftest.
$ac_ext <<_ACEOF
11630 /* end confdefs.h. */
11641 rm -f conftest.
$ac_objext conftest
$ac_exeext
11642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11643 (eval $ac_link) 2>conftest.er1
11645 grep -v '^ *+' conftest.er1
>conftest.err
11647 cat conftest.err
>&5
11648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11649 (exit $ac_status); } &&
11650 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11652 (eval $ac_try) 2>&5
11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655 (exit $ac_status); }; } &&
11656 { ac_try
='test -s conftest$ac_exeext'
11657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11658 (eval $ac_try) 2>&5
11660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11661 (exit $ac_status); }; }; then
11662 ac_cv_lib_socket_main
=yes
11664 echo "$as_me: failed program was:" >&5
11665 sed 's/^/| /' conftest.
$ac_ext >&5
11667 ac_cv_lib_socket_main
=no
11669 rm -f conftest.err conftest.
$ac_objext \
11670 conftest
$ac_exeext conftest.
$ac_ext
11671 LIBS
=$ac_check_lib_save_LIBS
11673 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
11674 echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
11675 if test $ac_cv_lib_socket_main = yes; then
11676 gcj_cv_lib_sockets
="-lsocket"
11682 if test "$gcj_checkBoth" = 1; then
11684 LIBS
="$LIBS -lsocket -lnsl"
11685 unset ac_cv_func_accept
11686 echo "$as_me:$LINENO: checking for accept" >&5
11687 echo $ECHO_N "checking for accept... $ECHO_C" >&6
11688 if test "${ac_cv_func_accept+set}" = set; then
11689 echo $ECHO_N "(cached) $ECHO_C" >&6
11691 if test x
$gcc_no_link = xyes
; then
11692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11694 { (exit 1); exit 1; }; }
11696 cat >conftest.
$ac_ext <<_ACEOF
11699 cat confdefs.h
>>conftest.
$ac_ext
11700 cat >>conftest.
$ac_ext <<_ACEOF
11701 /* end confdefs.h. */
11702 /* Define accept to an innocuous variant, in case <limits.h> declares accept.
11703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11704 #define accept innocuous_accept
11706 /* System header to define __stub macros and hopefully few prototypes,
11707 which can conflict with char accept (); below.
11708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11709 <limits.h> exists even on freestanding compilers. */
11712 # include <limits.h>
11714 # include <assert.h>
11719 /* Override any gcc2 internal prototype to avoid an error. */
11724 /* We use char because int might match the return type of a gcc2
11725 builtin and then its argument prototype would still apply. */
11727 /* The GNU C library defines this for functions which it implements
11728 to always fail with ENOSYS. Some functions are actually named
11729 something starting with __ and the normal name is an alias. */
11730 #if defined (__stub_accept) || defined (__stub___accept)
11733 char (*f) () = accept;
11742 return f != accept;
11747 rm -f conftest.
$ac_objext conftest
$ac_exeext
11748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11749 (eval $ac_link) 2>conftest.er1
11751 grep -v '^ *+' conftest.er1
>conftest.err
11753 cat conftest.err
>&5
11754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11755 (exit $ac_status); } &&
11756 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11758 (eval $ac_try) 2>&5
11760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11761 (exit $ac_status); }; } &&
11762 { ac_try
='test -s conftest$ac_exeext'
11763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11764 (eval $ac_try) 2>&5
11766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11767 (exit $ac_status); }; }; then
11768 ac_cv_func_accept
=yes
11770 echo "$as_me: failed program was:" >&5
11771 sed 's/^/| /' conftest.
$ac_ext >&5
11773 ac_cv_func_accept
=no
11775 rm -f conftest.err conftest.
$ac_objext \
11776 conftest
$ac_exeext conftest.
$ac_ext
11778 echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5
11779 echo "${ECHO_T}$ac_cv_func_accept" >&6
11780 if test $ac_cv_func_accept = yes; then
11782 gcj_cv_lib_sockets
="-lsocket -lnsl"
11785 unset ac_cv_func_accept
11788 unset ac_cv_func_gethostbyname
11790 LIBS
="$LIBS $gcj_cv_lib_sockets"
11791 echo "$as_me:$LINENO: checking for gethostbyname" >&5
11792 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
11793 if test "${ac_cv_func_gethostbyname+set}" = set; then
11794 echo $ECHO_N "(cached) $ECHO_C" >&6
11796 if test x
$gcc_no_link = xyes
; then
11797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11799 { (exit 1); exit 1; }; }
11801 cat >conftest.
$ac_ext <<_ACEOF
11804 cat confdefs.h
>>conftest.
$ac_ext
11805 cat >>conftest.
$ac_ext <<_ACEOF
11806 /* end confdefs.h. */
11807 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
11808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11809 #define gethostbyname innocuous_gethostbyname
11811 /* System header to define __stub macros and hopefully few prototypes,
11812 which can conflict with char gethostbyname (); below.
11813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11814 <limits.h> exists even on freestanding compilers. */
11817 # include <limits.h>
11819 # include <assert.h>
11822 #undef gethostbyname
11824 /* Override any gcc2 internal prototype to avoid an error. */
11829 /* We use char because int might match the return type of a gcc2
11830 builtin and then its argument prototype would still apply. */
11831 char gethostbyname ();
11832 /* The GNU C library defines this for functions which it implements
11833 to always fail with ENOSYS. Some functions are actually named
11834 something starting with __ and the normal name is an alias. */
11835 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11838 char (*f) () = gethostbyname;
11847 return f != gethostbyname;
11852 rm -f conftest.
$ac_objext conftest
$ac_exeext
11853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11854 (eval $ac_link) 2>conftest.er1
11856 grep -v '^ *+' conftest.er1
>conftest.err
11858 cat conftest.err
>&5
11859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11860 (exit $ac_status); } &&
11861 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11863 (eval $ac_try) 2>&5
11865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11866 (exit $ac_status); }; } &&
11867 { ac_try
='test -s conftest$ac_exeext'
11868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11869 (eval $ac_try) 2>&5
11871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11872 (exit $ac_status); }; }; then
11873 ac_cv_func_gethostbyname
=yes
11875 echo "$as_me: failed program was:" >&5
11876 sed 's/^/| /' conftest.
$ac_ext >&5
11878 ac_cv_func_gethostbyname
=no
11880 rm -f conftest.err conftest.
$ac_objext \
11881 conftest
$ac_exeext conftest.
$ac_ext
11883 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
11884 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
11885 if test $ac_cv_func_gethostbyname = yes; then
11888 echo "$as_me:$LINENO: checking for main in -lnsl" >&5
11889 echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
11890 if test "${ac_cv_lib_nsl_main+set}" = set; then
11891 echo $ECHO_N "(cached) $ECHO_C" >&6
11893 ac_check_lib_save_LIBS
=$LIBS
11895 if test x
$gcc_no_link = xyes
; then
11896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11898 { (exit 1); exit 1; }; }
11900 cat >conftest.
$ac_ext <<_ACEOF
11903 cat confdefs.h
>>conftest.
$ac_ext
11904 cat >>conftest.
$ac_ext <<_ACEOF
11905 /* end confdefs.h. */
11916 rm -f conftest.
$ac_objext conftest
$ac_exeext
11917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11918 (eval $ac_link) 2>conftest.er1
11920 grep -v '^ *+' conftest.er1
>conftest.err
11922 cat conftest.err
>&5
11923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11924 (exit $ac_status); } &&
11925 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11927 (eval $ac_try) 2>&5
11929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11930 (exit $ac_status); }; } &&
11931 { ac_try
='test -s conftest$ac_exeext'
11932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11933 (eval $ac_try) 2>&5
11935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11936 (exit $ac_status); }; }; then
11937 ac_cv_lib_nsl_main
=yes
11939 echo "$as_me: failed program was:" >&5
11940 sed 's/^/| /' conftest.
$ac_ext >&5
11942 ac_cv_lib_nsl_main
=no
11944 rm -f conftest.err conftest.
$ac_objext \
11945 conftest
$ac_exeext conftest.
$ac_ext
11946 LIBS
=$ac_check_lib_save_LIBS
11948 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
11949 echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
11950 if test $ac_cv_lib_nsl_main = yes; then
11951 gcj_cv_lib_sockets
="$gcj_cv_lib_sockets -lnsl"
11956 unset ac_cv_func_gethostbyname
11960 echo "$as_me:$LINENO: result: $gcj_cv_lib_sockets" >&5
11961 echo "${ECHO_T}$gcj_cv_lib_sockets" >&6
11962 SYSTEMSPEC
="$SYSTEMSPEC $gcj_cv_lib_sockets"
11964 if test "$with_system_zlib" = yes; then
11965 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
11966 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
11967 if test "${ac_cv_lib_z_deflate+set}" = set; then
11968 echo $ECHO_N "(cached) $ECHO_C" >&6
11970 ac_check_lib_save_LIBS
=$LIBS
11972 if test x
$gcc_no_link = xyes
; then
11973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11975 { (exit 1); exit 1; }; }
11977 cat >conftest.
$ac_ext <<_ACEOF
11980 cat confdefs.h
>>conftest.
$ac_ext
11981 cat >>conftest.
$ac_ext <<_ACEOF
11982 /* end confdefs.h. */
11984 /* Override any gcc2 internal prototype to avoid an error. */
11988 /* We use char because int might match the return type of a gcc2
11989 builtin and then its argument prototype would still apply. */
11999 rm -f conftest.
$ac_objext conftest
$ac_exeext
12000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12001 (eval $ac_link) 2>conftest.er1
12003 grep -v '^ *+' conftest.er1
>conftest.err
12005 cat conftest.err
>&5
12006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12007 (exit $ac_status); } &&
12008 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12010 (eval $ac_try) 2>&5
12012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12013 (exit $ac_status); }; } &&
12014 { ac_try
='test -s conftest$ac_exeext'
12015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12016 (eval $ac_try) 2>&5
12018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12019 (exit $ac_status); }; }; then
12020 ac_cv_lib_z_deflate
=yes
12022 echo "$as_me: failed program was:" >&5
12023 sed 's/^/| /' conftest.
$ac_ext >&5
12025 ac_cv_lib_z_deflate
=no
12027 rm -f conftest.err conftest.
$ac_objext \
12028 conftest
$ac_exeext conftest.
$ac_ext
12029 LIBS
=$ac_check_lib_save_LIBS
12031 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
12032 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
12033 if test $ac_cv_lib_z_deflate = yes; then
12041 # Test for Gtk stuff, if asked for.
12042 if test "$use_gtk_awt" = yes; then
12046 if test -z "$PKG_CONFIG"; then
12047 # Extract the first word of "pkg-config", so it can be a program name with args.
12048 set dummy pkg-config
; ac_word
=$2
12049 echo "$as_me:$LINENO: checking for $ac_word" >&5
12050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12051 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12052 echo $ECHO_N "(cached) $ECHO_C" >&6
12054 case $PKG_CONFIG in
12056 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12060 for as_dir
in $PATH
12063 test -z "$as_dir" && as_dir
=.
12064 for ac_exec_ext
in '' $ac_executable_extensions; do
12065 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12066 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12073 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12077 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12079 if test -n "$PKG_CONFIG"; then
12080 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12081 echo "${ECHO_T}$PKG_CONFIG" >&6
12083 echo "$as_me:$LINENO: result: no" >&5
12084 echo "${ECHO_T}no" >&6
12089 if test "$PKG_CONFIG" = "no" ; then
12090 echo "*** The pkg-config script could not be found. Make sure it is"
12091 echo "*** in your path, or set the PKG_CONFIG environment variable"
12092 echo "*** to the full path to pkg-config."
12093 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12095 PKG_CONFIG_MIN_VERSION
=0.9.0
12096 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12097 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4" >&5
12098 echo $ECHO_N "checking for gtk+-2.0 >= 2.4... $ECHO_C" >&6
12100 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4" ; then
12101 echo "$as_me:$LINENO: result: yes" >&5
12102 echo "${ECHO_T}yes" >&6
12105 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
12106 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
12107 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4"`
12108 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
12109 echo "${ECHO_T}$GTK_CFLAGS" >&6
12111 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
12112 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
12113 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4"`
12114 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
12115 echo "${ECHO_T}$GTK_LIBS" >&6
12119 ## If we have a custom action on failure, don't print errors, but
12120 ## do set a variable so people can do so.
12121 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4"`
12122 echo $GTK_PKG_ERRORS
12128 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12129 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12133 if test $succeeded = yes; then
12136 { { echo "$as_me:$LINENO: error: Library requirements (gtk+-2.0 >= 2.4) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
12137 echo "$as_me: error: Library requirements (gtk+-2.0 >= 2.4) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
12138 { (exit 1); exit 1; }; }
12147 if test -z "$PKG_CONFIG"; then
12148 # Extract the first word of "pkg-config", so it can be a program name with args.
12149 set dummy pkg-config
; ac_word
=$2
12150 echo "$as_me:$LINENO: checking for $ac_word" >&5
12151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12152 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12153 echo $ECHO_N "(cached) $ECHO_C" >&6
12155 case $PKG_CONFIG in
12157 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12161 for as_dir
in $PATH
12164 test -z "$as_dir" && as_dir
=.
12165 for ac_exec_ext
in '' $ac_executable_extensions; do
12166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12167 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12174 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12178 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12180 if test -n "$PKG_CONFIG"; then
12181 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12182 echo "${ECHO_T}$PKG_CONFIG" >&6
12184 echo "$as_me:$LINENO: result: no" >&5
12185 echo "${ECHO_T}no" >&6
12190 if test "$PKG_CONFIG" = "no" ; then
12191 echo "*** The pkg-config script could not be found. Make sure it is"
12192 echo "*** in your path, or set the PKG_CONFIG environment variable"
12193 echo "*** to the full path to pkg-config."
12194 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12196 PKG_CONFIG_MIN_VERSION
=0.9.0
12197 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12198 echo "$as_me:$LINENO: checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4" >&5
12199 echo $ECHO_N "checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... $ECHO_C" >&6
12201 if $PKG_CONFIG --exists "glib-2.0 >= 2.4 gthread-2.0 >= 2.4" ; then
12202 echo "$as_me:$LINENO: result: yes" >&5
12203 echo "${ECHO_T}yes" >&6
12206 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
12207 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
12208 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
12209 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
12210 echo "${ECHO_T}$GLIB_CFLAGS" >&6
12212 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
12213 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
12214 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
12215 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
12216 echo "${ECHO_T}$GLIB_LIBS" >&6
12220 ## If we have a custom action on failure, don't print errors, but
12221 ## do set a variable so people can do so.
12222 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
12223 echo $GLIB_PKG_ERRORS
12229 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12230 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12234 if test $succeeded = yes; then
12237 { { echo "$as_me:$LINENO: error: Library requirements (glib-2.0 >= 2.4 gthread-2.0 >= 2.4) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
12238 echo "$as_me: error: Library requirements (glib-2.0 >= 2.4 gthread-2.0 >= 2.4) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
12239 { (exit 1); exit 1; }; }
12248 if test -z "$PKG_CONFIG"; then
12249 # Extract the first word of "pkg-config", so it can be a program name with args.
12250 set dummy pkg-config
; ac_word
=$2
12251 echo "$as_me:$LINENO: checking for $ac_word" >&5
12252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12253 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12254 echo $ECHO_N "(cached) $ECHO_C" >&6
12256 case $PKG_CONFIG in
12258 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12262 for as_dir
in $PATH
12265 test -z "$as_dir" && as_dir
=.
12266 for ac_exec_ext
in '' $ac_executable_extensions; do
12267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12268 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12275 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12279 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12281 if test -n "$PKG_CONFIG"; then
12282 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12283 echo "${ECHO_T}$PKG_CONFIG" >&6
12285 echo "$as_me:$LINENO: result: no" >&5
12286 echo "${ECHO_T}no" >&6
12291 if test "$PKG_CONFIG" = "no" ; then
12292 echo "*** The pkg-config script could not be found. Make sure it is"
12293 echo "*** in your path, or set the PKG_CONFIG environment variable"
12294 echo "*** to the full path to pkg-config."
12295 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12297 PKG_CONFIG_MIN_VERSION
=0.9.0
12298 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12299 echo "$as_me:$LINENO: checking for libart-2.0 >= 2.1" >&5
12300 echo $ECHO_N "checking for libart-2.0 >= 2.1... $ECHO_C" >&6
12302 if $PKG_CONFIG --exists "libart-2.0 >= 2.1" ; then
12303 echo "$as_me:$LINENO: result: yes" >&5
12304 echo "${ECHO_T}yes" >&6
12307 echo "$as_me:$LINENO: checking LIBART_CFLAGS" >&5
12308 echo $ECHO_N "checking LIBART_CFLAGS... $ECHO_C" >&6
12309 LIBART_CFLAGS
=`$PKG_CONFIG --cflags "libart-2.0 >= 2.1"`
12310 echo "$as_me:$LINENO: result: $LIBART_CFLAGS" >&5
12311 echo "${ECHO_T}$LIBART_CFLAGS" >&6
12313 echo "$as_me:$LINENO: checking LIBART_LIBS" >&5
12314 echo $ECHO_N "checking LIBART_LIBS... $ECHO_C" >&6
12315 LIBART_LIBS
=`$PKG_CONFIG --libs "libart-2.0 >= 2.1"`
12316 echo "$as_me:$LINENO: result: $LIBART_LIBS" >&5
12317 echo "${ECHO_T}$LIBART_LIBS" >&6
12321 ## If we have a custom action on failure, don't print errors, but
12322 ## do set a variable so people can do so.
12323 LIBART_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libart-2.0 >= 2.1"`
12324 echo $LIBART_PKG_ERRORS
12330 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12331 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12335 if test $succeeded = yes; then
12338 { { echo "$as_me:$LINENO: error: Library requirements (libart-2.0 >= 2.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
12339 echo "$as_me: error: Library requirements (libart-2.0 >= 2.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
12340 { (exit 1); exit 1; }; }
12347 # On Solaris, and maybe other architectures, the Boehm collector
12349 if test "$GC" = boehm
; then
12350 echo "$as_me:$LINENO: checking for main in -ldl" >&5
12351 echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6
12352 if test "${ac_cv_lib_dl_main+set}" = set; then
12353 echo $ECHO_N "(cached) $ECHO_C" >&6
12355 ac_check_lib_save_LIBS
=$LIBS
12357 if test x
$gcc_no_link = xyes
; then
12358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12360 { (exit 1); exit 1; }; }
12362 cat >conftest.
$ac_ext <<_ACEOF
12365 cat confdefs.h
>>conftest.
$ac_ext
12366 cat >>conftest.
$ac_ext <<_ACEOF
12367 /* end confdefs.h. */
12378 rm -f conftest.
$ac_objext conftest
$ac_exeext
12379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12380 (eval $ac_link) 2>conftest.er1
12382 grep -v '^ *+' conftest.er1
>conftest.err
12384 cat conftest.err
>&5
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); } &&
12387 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12389 (eval $ac_try) 2>&5
12391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12392 (exit $ac_status); }; } &&
12393 { ac_try
='test -s conftest$ac_exeext'
12394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12395 (eval $ac_try) 2>&5
12397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12398 (exit $ac_status); }; }; then
12399 ac_cv_lib_dl_main
=yes
12401 echo "$as_me: failed program was:" >&5
12402 sed 's/^/| /' conftest.
$ac_ext >&5
12404 ac_cv_lib_dl_main
=no
12406 rm -f conftest.err conftest.
$ac_objext \
12407 conftest
$ac_exeext conftest.
$ac_ext
12408 LIBS
=$ac_check_lib_save_LIBS
12410 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5
12411 echo "${ECHO_T}$ac_cv_lib_dl_main" >&6
12412 if test $ac_cv_lib_dl_main = yes; then
12413 SYSTEMSPEC
="$SYSTEMSPEC -ldl"
12419 if test -z "${with_multisubdir}"; then
12422 builddotdot
=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`
12427 # Which gcj do we use?
12429 built_gcc_dir
="`cd ${builddotdot}/../../gcc && ${PWDCMD-pwd}`"
12430 if test -n "${with_cross_host}"; then
12431 # We are being configured with a cross compiler. We can't
12432 # use ac_exeext, because that is for the target platform.
12435 case "${with_cross_host}" in
12436 *mingw
* |
*cygwin
*)
12437 cross_host_exeext
=.exe
12440 if test -x "${built_gcc_dir}/gcj${cross_host_exeext}"; then
12441 if test x
"$build_noncanonical" = x
"$with_cross_host"; then
12442 # Ordinary cross (host!=target and host=build)
12445 # Canadian cross (host!=target and host!=build)
12452 # We are being configured with a native or crossed-native compiler
12453 if test -x "${built_gcc_dir}/gcj${ac_exeext}"; then
12454 if test x
"$build" = x
"$host"; then
12455 # True native build (host=target and host=build)
12458 # Crossed-native build (host=target and host!=build)
12465 case "${which_gcj}" in
12467 GCJ
="$built_gcc_dir/gcj -B`${PWDCMD-pwd}`/ -B$built_gcc_dir/"
12468 GCJH
='$(MULTIBUILDTOP)../$(COMPPATH)/gcc/gcjh'
12469 ZIP
='$(MULTIBUILDTOP)../$(COMPPATH)/fastjar/fastjar'
12472 if test "x${with_newlib}" = "xyes"; then
12473 # FIXME (comment): Why is this needed?
12474 GCC_UNWIND_INCLUDE
=
12475 GCJ
="${target_noncanonical}-gcj"
12477 GCJ
="${target_noncanonical}-gcj -B`${PWDCMD-pwd}`/"
12480 GCJH
='$(target_noncanonical)-gcjh'
12483 GCJ
="gcj -B`${PWDCMD-pwd}`/"
12484 ## In this case, gcj is found outside the build tree. However, zip is
12485 ## found in the build tree.
12486 ZIP
='$(MULTIBUILDTOP)../$(COMPPATH)/fastjar/fastjar'
12494 # Create it, so that compile/link tests don't fail
12495 test -f libgcj.spec ||
touch libgcj.spec
12497 # We must search the source tree for java.lang, since we still don't
12498 # have libgcj.jar nor java/lang/*.class
12499 GCJ_SAVE_CPPFLAGS
=$CPPFLAGS
12500 CPPFLAGS
="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`"
12502 # Since some classes depend on this one, we need its source available
12503 # before we can do any GCJ compilation test :-(
12504 if test ! -f gnu
/classpath
/Configuration.java
; then
12505 test -d gnu || mkdir gnu
12506 test -d gnu
/classpath || mkdir gnu
/classpath
12507 sed -e 's,@LIBGCJDEBUG@,$LIBGCJDEBUG,' \
12508 -e 's,@TOOLKIT@,$TOOLKIT,' \
12509 < $srcdir/gnu
/classpath
/Configuration.java.
in \
12510 > gnu
/classpath
/Configuration.java
12511 # We do not want to redirect the output of the grep below to /dev/null,
12512 # but we add /dev/null to the input list so that grep will print the
12513 # filename of Configuration.java in case it finds any matches.
12514 if grep @ gnu
/classpath
/Configuration.java
/dev
/null
; then
12515 { { echo "$as_me:$LINENO: error: configure.in is missing the substitutions above" >&5
12516 echo "$as_me: error: configure.in is missing the substitutions above" >&2;}
12517 { (exit 1); exit 1; }; }
12521 if test -n "$ac_tool_prefix"; then
12522 # Extract the first word of "${ac_tool_prefix}gcj", so it can be a program name with args.
12523 set dummy
${ac_tool_prefix}gcj
; ac_word
=$2
12524 echo "$as_me:$LINENO: checking for $ac_word" >&5
12525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12526 if test "${ac_cv_prog_GCJ+set}" = set; then
12527 echo $ECHO_N "(cached) $ECHO_C" >&6
12529 if test -n "$GCJ"; then
12530 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
12532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12533 for as_dir
in $PATH
12536 test -z "$as_dir" && as_dir
=.
12537 for ac_exec_ext
in '' $ac_executable_extensions; do
12538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12539 ac_cv_prog_GCJ
="${ac_tool_prefix}gcj"
12540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12548 GCJ
=$ac_cv_prog_GCJ
12549 if test -n "$GCJ"; then
12550 echo "$as_me:$LINENO: result: $GCJ" >&5
12551 echo "${ECHO_T}$GCJ" >&6
12553 echo "$as_me:$LINENO: result: no" >&5
12554 echo "${ECHO_T}no" >&6
12558 if test -z "$ac_cv_prog_GCJ"; then
12560 # Extract the first word of "gcj", so it can be a program name with args.
12561 set dummy gcj
; ac_word
=$2
12562 echo "$as_me:$LINENO: checking for $ac_word" >&5
12563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12564 if test "${ac_cv_prog_ac_ct_GCJ+set}" = set; then
12565 echo $ECHO_N "(cached) $ECHO_C" >&6
12567 if test -n "$ac_ct_GCJ"; then
12568 ac_cv_prog_ac_ct_GCJ
="$ac_ct_GCJ" # Let the user override the test.
12570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12571 for as_dir
in $PATH
12574 test -z "$as_dir" && as_dir
=.
12575 for ac_exec_ext
in '' $ac_executable_extensions; do
12576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12577 ac_cv_prog_ac_ct_GCJ
="gcj"
12578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12584 test -z "$ac_cv_prog_ac_ct_GCJ" && ac_cv_prog_ac_ct_GCJ
="no"
12587 ac_ct_GCJ
=$ac_cv_prog_ac_ct_GCJ
12588 if test -n "$ac_ct_GCJ"; then
12589 echo "$as_me:$LINENO: result: $ac_ct_GCJ" >&5
12590 echo "${ECHO_T}$ac_ct_GCJ" >&6
12592 echo "$as_me:$LINENO: result: no" >&5
12593 echo "${ECHO_T}no" >&6
12598 GCJ
="$ac_cv_prog_GCJ"
12601 test "x${GCJFLAGS+set}" = xset || GCJFLAGS
="-g -O2"
12605 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-gcj.sh"
12607 lt_save_CFLAGS
="$CFLAGS"
12608 AR
="$AR" LTCC
="$CC" CC
="$GCJ" CFLAGS
="$GCJFLAGS" CPPFLAGS
="$CPPFLAGS" \
12609 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
12610 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
12611 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
12612 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
12613 deplibs_check_method
="$deplibs_check_method" \
12614 file_magic_cmd
="$file_magic_cmd" \
12615 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
12616 --build="$build" --add-tag=GCJ
$ac_aux_dir/ltcf-gcj.sh
$host \
12617 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
12618 echo "$as_me: error: libtool tag configuration failed" >&2;}
12619 { (exit 1); exit 1; }; }
12621 CFLAGS
="$lt_save_CFLAGS"
12623 # Redirect the config.log output again, so that the ltconfig log is not
12624 # clobbered by the next message.
12625 exec 5>>.
/config.log
12630 CPPFLAGS
=$GCJ_SAVE_CPPFLAGS
12632 echo "$as_me:$LINENO: checking size of void *" >&5
12633 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
12634 if test "${ac_cv_sizeof_void_p+set}" = set; then
12635 echo $ECHO_N "(cached) $ECHO_C" >&6
12637 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
12638 cat >conftest.
$ac_ext <<_ACEOF
12641 cat confdefs.h
>>conftest.
$ac_ext
12642 cat >>conftest.
$ac_ext <<_ACEOF
12643 /* end confdefs.h. */
12644 #include "confdefs.h"
12645 #include <sys/types.h>
12651 switch (0) case 0: case (sizeof (void *) == $ac_size):;
12656 rm -f conftest.
$ac_objext
12657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12658 (eval $ac_compile) 2>conftest.er1
12660 grep -v '^ *+' conftest.er1
>conftest.err
12662 cat conftest.err
>&5
12663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12664 (exit $ac_status); } &&
12665 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12667 (eval $ac_try) 2>&5
12669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12670 (exit $ac_status); }; } &&
12671 { ac_try
='test -s conftest.$ac_objext'
12672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12673 (eval $ac_try) 2>&5
12675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12676 (exit $ac_status); }; }; then
12677 ac_cv_sizeof_void_p
=$ac_size
12679 echo "$as_me: failed program was:" >&5
12680 sed 's/^/| /' conftest.
$ac_ext >&5
12683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12684 if test x
$ac_cv_sizeof_void_p != x
; then break; fi
12689 if test x
$ac_cv_sizeof_void_p = x
; then
12690 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
12691 echo "$as_me: error: cannot determine a size for void *" >&2;}
12692 { (exit 1); exit 1; }; }
12694 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
12695 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
12697 cat >>confdefs.h
<<_ACEOF
12698 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
12707 if test -z "$ZLIBSPEC"; then
12708 # Use zlib from the GCC tree.
12709 ZINCS
='-I$(top_srcdir)/../zlib'
12710 ZLIBS
=..
/zlib
/libzgcj_convenience.la
12713 SYS_ZLIBS
="$ZLIBSPEC"
12725 if test "$NATIVE" = yes; then
12734 if test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes; then
12735 NEEDS_DATA_START_TRUE
=
12736 NEEDS_DATA_START_FALSE
='#'
12738 NEEDS_DATA_START_TRUE
='#'
12739 NEEDS_DATA_START_FALSE
=
12743 # Process the option "--enable-version-specific-runtime-libs"
12744 # Calculate toolexeclibdir
12745 case ${version_specific_libs} in
12747 # Need the gcc compiler version to know where to install libraries
12748 # and header files if --enable-version-specific-runtime-libs option
12750 includedir
='${libdir}/gcc/${target_noncanonical}/'$gcc_version/include
/
12751 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
12752 toolexecmainlibdir
='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
12753 toolexeclibdir
=$toolexecmainlibdir
12756 if test -n "$with_cross_host" &&
12757 test x
"$with_cross_host" != x
"no"; then
12758 # Install a library built with a cross compiler in tooldir, not libdir.
12759 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
12760 toolexecmainlibdir
='$(toolexecdir)/lib'
12762 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
12763 toolexecmainlibdir
='$(libdir)'
12765 multi_os_directory
=`$CC -print-multi-os-directory`
12766 case $multi_os_directory in
12767 .
) toolexeclibdir
=$toolexecmainlibdir ;; # Avoid trailing /.
12768 *) toolexeclibdir
=$toolexecmainlibdir/$multi_os_directory ;;
12776 # Determine gcj version number.
12777 gcjversion
=`$GCJ -v 2>&1 | sed -n 's/^.*version \([^ ]*\).*$/\1/p'`
12778 GCJVERSION
=$gcjversion
12781 cat >>confdefs.h
<<_ACEOF
12782 #define GCJVERSION "$GCJVERSION"
12786 # We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
12787 # On that system, sys/ioctl.h will not include sys/filio.h unless
12788 # BSD_COMP is defined; just including sys/filio.h is simpler.
12808 for ac_header
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 net
/if.h
pwd.h sys
/config.h stdint.h langinfo.h locale.h
12810 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12812 echo "$as_me:$LINENO: checking for $ac_header" >&5
12813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12815 echo $ECHO_N "(cached) $ECHO_C" >&6
12817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12818 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12820 # Is the header compilable?
12821 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12822 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12823 cat >conftest.
$ac_ext <<_ACEOF
12826 cat confdefs.h
>>conftest.
$ac_ext
12827 cat >>conftest.
$ac_ext <<_ACEOF
12828 /* end confdefs.h. */
12829 $ac_includes_default
12830 #include <$ac_header>
12832 rm -f conftest.
$ac_objext
12833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12834 (eval $ac_compile) 2>conftest.er1
12836 grep -v '^ *+' conftest.er1
>conftest.err
12838 cat conftest.err
>&5
12839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12840 (exit $ac_status); } &&
12841 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12843 (eval $ac_try) 2>&5
12845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12846 (exit $ac_status); }; } &&
12847 { ac_try
='test -s conftest.$ac_objext'
12848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12849 (eval $ac_try) 2>&5
12851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12852 (exit $ac_status); }; }; then
12853 ac_header_compiler
=yes
12855 echo "$as_me: failed program was:" >&5
12856 sed 's/^/| /' conftest.
$ac_ext >&5
12858 ac_header_compiler
=no
12860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12861 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12862 echo "${ECHO_T}$ac_header_compiler" >&6
12864 # Is the header present?
12865 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12866 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12867 cat >conftest.
$ac_ext <<_ACEOF
12870 cat confdefs.h
>>conftest.
$ac_ext
12871 cat >>conftest.
$ac_ext <<_ACEOF
12872 /* end confdefs.h. */
12873 #include <$ac_header>
12875 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12876 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12878 grep -v '^ *+' conftest.er1
>conftest.err
12880 cat conftest.err
>&5
12881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12882 (exit $ac_status); } >/dev
/null
; then
12883 if test -s conftest.err
; then
12884 ac_cpp_err
=$ac_c_preproc_warn_flag
12885 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12892 if test -z "$ac_cpp_err"; then
12893 ac_header_preproc
=yes
12895 echo "$as_me: failed program was:" >&5
12896 sed 's/^/| /' conftest.
$ac_ext >&5
12898 ac_header_preproc
=no
12900 rm -f conftest.err conftest.
$ac_ext
12901 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12902 echo "${ECHO_T}$ac_header_preproc" >&6
12904 # So? What about this header?
12905 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12907 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12908 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12909 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12910 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12911 ac_header_preproc
=yes
12914 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12915 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12916 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12917 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12918 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12919 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12920 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12921 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12922 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12923 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12924 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12925 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12928 ## ------------------------------------------ ##
12929 ## Report this to the AC_PACKAGE_NAME lists. ##
12930 ## ------------------------------------------ ##
12933 sed "s/^/$as_me: WARNING: /" >&2
12936 echo "$as_me:$LINENO: checking for $ac_header" >&5
12937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12939 echo $ECHO_N "(cached) $ECHO_C" >&6
12941 eval "$as_ac_Header=\$ac_header_preproc"
12943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12944 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12947 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12948 cat >>confdefs.h
<<_ACEOF
12949 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12956 # We avoid AC_HEADER_DIRENT since we really only care about dirent.h
12957 # for now. If you change this, you also must update natFile.cc.
12959 for ac_header
in dirent.h
12961 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12963 echo "$as_me:$LINENO: checking for $ac_header" >&5
12964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12965 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12966 echo $ECHO_N "(cached) $ECHO_C" >&6
12968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12969 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12971 # Is the header compilable?
12972 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12973 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12974 cat >conftest.
$ac_ext <<_ACEOF
12977 cat confdefs.h
>>conftest.
$ac_ext
12978 cat >>conftest.
$ac_ext <<_ACEOF
12979 /* end confdefs.h. */
12980 $ac_includes_default
12981 #include <$ac_header>
12983 rm -f conftest.
$ac_objext
12984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12985 (eval $ac_compile) 2>conftest.er1
12987 grep -v '^ *+' conftest.er1
>conftest.err
12989 cat conftest.err
>&5
12990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12991 (exit $ac_status); } &&
12992 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12994 (eval $ac_try) 2>&5
12996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12997 (exit $ac_status); }; } &&
12998 { ac_try
='test -s conftest.$ac_objext'
12999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13000 (eval $ac_try) 2>&5
13002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13003 (exit $ac_status); }; }; then
13004 ac_header_compiler
=yes
13006 echo "$as_me: failed program was:" >&5
13007 sed 's/^/| /' conftest.
$ac_ext >&5
13009 ac_header_compiler
=no
13011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13012 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13013 echo "${ECHO_T}$ac_header_compiler" >&6
13015 # Is the header present?
13016 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13017 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13018 cat >conftest.
$ac_ext <<_ACEOF
13021 cat confdefs.h
>>conftest.
$ac_ext
13022 cat >>conftest.
$ac_ext <<_ACEOF
13023 /* end confdefs.h. */
13024 #include <$ac_header>
13026 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13027 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13029 grep -v '^ *+' conftest.er1
>conftest.err
13031 cat conftest.err
>&5
13032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13033 (exit $ac_status); } >/dev
/null
; then
13034 if test -s conftest.err
; then
13035 ac_cpp_err
=$ac_c_preproc_warn_flag
13036 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13043 if test -z "$ac_cpp_err"; then
13044 ac_header_preproc
=yes
13046 echo "$as_me: failed program was:" >&5
13047 sed 's/^/| /' conftest.
$ac_ext >&5
13049 ac_header_preproc
=no
13051 rm -f conftest.err conftest.
$ac_ext
13052 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13053 echo "${ECHO_T}$ac_header_preproc" >&6
13055 # So? What about this header?
13056 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13058 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13059 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13060 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13061 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13062 ac_header_preproc
=yes
13065 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13066 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13067 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13068 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13069 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13070 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13071 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13072 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13073 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13074 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13075 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13076 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13079 ## ------------------------------------------ ##
13080 ## Report this to the AC_PACKAGE_NAME lists. ##
13081 ## ------------------------------------------ ##
13084 sed "s/^/$as_me: WARNING: /" >&2
13087 echo "$as_me:$LINENO: checking for $ac_header" >&5
13088 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13089 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13090 echo $ECHO_N "(cached) $ECHO_C" >&6
13092 eval "$as_ac_Header=\$ac_header_preproc"
13094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13095 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13098 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13099 cat >>confdefs.h
<<_ACEOF
13100 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13108 for ac_header
in inttypes.h
13110 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13111 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13112 echo "$as_me:$LINENO: checking for $ac_header" >&5
13113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13115 echo $ECHO_N "(cached) $ECHO_C" >&6
13117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13118 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13120 # Is the header compilable?
13121 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13122 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13123 cat >conftest.
$ac_ext <<_ACEOF
13126 cat confdefs.h
>>conftest.
$ac_ext
13127 cat >>conftest.
$ac_ext <<_ACEOF
13128 /* end confdefs.h. */
13129 $ac_includes_default
13130 #include <$ac_header>
13132 rm -f conftest.
$ac_objext
13133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13134 (eval $ac_compile) 2>conftest.er1
13136 grep -v '^ *+' conftest.er1
>conftest.err
13138 cat conftest.err
>&5
13139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13140 (exit $ac_status); } &&
13141 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13143 (eval $ac_try) 2>&5
13145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13146 (exit $ac_status); }; } &&
13147 { ac_try
='test -s conftest.$ac_objext'
13148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13149 (eval $ac_try) 2>&5
13151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13152 (exit $ac_status); }; }; then
13153 ac_header_compiler
=yes
13155 echo "$as_me: failed program was:" >&5
13156 sed 's/^/| /' conftest.
$ac_ext >&5
13158 ac_header_compiler
=no
13160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13161 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13162 echo "${ECHO_T}$ac_header_compiler" >&6
13164 # Is the header present?
13165 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13166 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13167 cat >conftest.
$ac_ext <<_ACEOF
13170 cat confdefs.h
>>conftest.
$ac_ext
13171 cat >>conftest.
$ac_ext <<_ACEOF
13172 /* end confdefs.h. */
13173 #include <$ac_header>
13175 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13176 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13178 grep -v '^ *+' conftest.er1
>conftest.err
13180 cat conftest.err
>&5
13181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13182 (exit $ac_status); } >/dev
/null
; then
13183 if test -s conftest.err
; then
13184 ac_cpp_err
=$ac_c_preproc_warn_flag
13185 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13192 if test -z "$ac_cpp_err"; then
13193 ac_header_preproc
=yes
13195 echo "$as_me: failed program was:" >&5
13196 sed 's/^/| /' conftest.
$ac_ext >&5
13198 ac_header_preproc
=no
13200 rm -f conftest.err conftest.
$ac_ext
13201 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13202 echo "${ECHO_T}$ac_header_preproc" >&6
13204 # So? What about this header?
13205 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13207 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13208 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13209 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13210 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13211 ac_header_preproc
=yes
13214 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13215 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13216 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13217 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13218 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13219 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13220 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13221 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13222 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13223 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13224 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13225 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13228 ## ------------------------------------------ ##
13229 ## Report this to the AC_PACKAGE_NAME lists. ##
13230 ## ------------------------------------------ ##
13233 sed "s/^/$as_me: WARNING: /" >&2
13236 echo "$as_me:$LINENO: checking for $ac_header" >&5
13237 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13239 echo $ECHO_N "(cached) $ECHO_C" >&6
13241 eval "$as_ac_Header=\$ac_header_preproc"
13243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13247 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13248 cat >>confdefs.h
<<_ACEOF
13249 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13253 cat >>confdefs.h
<<\_ACEOF
13254 #define HAVE_INTTYPES_H 1
13258 cat >>confdefs.h
<<\_ACEOF
13259 #define JV_HAVE_INTTYPES_H 1
13267 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
13268 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
13269 if test "${ac_cv_header_sys_wait_h+set}" = set; then
13270 echo $ECHO_N "(cached) $ECHO_C" >&6
13272 cat >conftest.
$ac_ext <<_ACEOF
13275 cat confdefs.h
>>conftest.
$ac_ext
13276 cat >>conftest.
$ac_ext <<_ACEOF
13277 /* end confdefs.h. */
13278 #include <sys/types.h>
13279 #include <sys/wait.h>
13280 #ifndef WEXITSTATUS
13281 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
13284 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
13292 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
13297 rm -f conftest.
$ac_objext
13298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13299 (eval $ac_compile) 2>conftest.er1
13301 grep -v '^ *+' conftest.er1
>conftest.err
13303 cat conftest.err
>&5
13304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13305 (exit $ac_status); } &&
13306 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13308 (eval $ac_try) 2>&5
13310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13311 (exit $ac_status); }; } &&
13312 { ac_try
='test -s conftest.$ac_objext'
13313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13314 (eval $ac_try) 2>&5
13316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13317 (exit $ac_status); }; }; then
13318 ac_cv_header_sys_wait_h
=yes
13320 echo "$as_me: failed program was:" >&5
13321 sed 's/^/| /' conftest.
$ac_ext >&5
13323 ac_cv_header_sys_wait_h
=no
13325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13327 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
13328 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
13329 if test $ac_cv_header_sys_wait_h = yes; then
13331 cat >>confdefs.h
<<\_ACEOF
13332 #define HAVE_SYS_WAIT_H 1
13338 echo "$as_me:$LINENO: checking for ssize_t" >&5
13339 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
13340 if test "${ac_cv_type_ssize_t+set}" = set; then
13341 echo $ECHO_N "(cached) $ECHO_C" >&6
13343 cat >conftest.
$ac_ext <<_ACEOF
13346 cat confdefs.h
>>conftest.
$ac_ext
13347 cat >>conftest.
$ac_ext <<_ACEOF
13348 /* end confdefs.h. */
13349 $ac_includes_default
13355 if (sizeof (ssize_t))
13361 rm -f conftest.
$ac_objext
13362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13363 (eval $ac_compile) 2>conftest.er1
13365 grep -v '^ *+' conftest.er1
>conftest.err
13367 cat conftest.err
>&5
13368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13369 (exit $ac_status); } &&
13370 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13372 (eval $ac_try) 2>&5
13374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13375 (exit $ac_status); }; } &&
13376 { ac_try
='test -s conftest.$ac_objext'
13377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13378 (eval $ac_try) 2>&5
13380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381 (exit $ac_status); }; }; then
13382 ac_cv_type_ssize_t
=yes
13384 echo "$as_me: failed program was:" >&5
13385 sed 's/^/| /' conftest.
$ac_ext >&5
13387 ac_cv_type_ssize_t
=no
13389 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13391 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
13392 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
13393 if test $ac_cv_type_ssize_t = yes; then
13397 cat >>confdefs.h
<<_ACEOF
13398 #define ssize_t int
13404 echo "$as_me:$LINENO: checking for in_addr_t" >&5
13405 echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6
13406 cat >conftest.
$ac_ext <<_ACEOF
13409 cat confdefs.h
>>conftest.
$ac_ext
13410 cat >>conftest.
$ac_ext <<_ACEOF
13411 /* end confdefs.h. */
13412 #include <sys/types.h>
13414 #include <stdlib.h>
13415 #include <stddef.h>
13417 #if HAVE_NETINET_IN_H
13418 #include <netinet/in.h>
13428 rm -f conftest.
$ac_objext
13429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13430 (eval $ac_compile) 2>conftest.er1
13432 grep -v '^ *+' conftest.er1
>conftest.err
13434 cat conftest.err
>&5
13435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13436 (exit $ac_status); } &&
13437 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13439 (eval $ac_try) 2>&5
13441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13442 (exit $ac_status); }; } &&
13443 { ac_try
='test -s conftest.$ac_objext'
13444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13445 (eval $ac_try) 2>&5
13447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13448 (exit $ac_status); }; }; then
13450 cat >>confdefs.h
<<\_ACEOF
13451 #define HAVE_IN_ADDR_T 1
13454 echo "$as_me:$LINENO: result: yes" >&5
13455 echo "${ECHO_T}yes" >&6
13457 echo "$as_me: failed program was:" >&5
13458 sed 's/^/| /' conftest.
$ac_ext >&5
13460 echo "$as_me:$LINENO: result: no" >&5
13461 echo "${ECHO_T}no" >&6
13463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13465 echo "$as_me:$LINENO: checking whether struct ip_mreq is in netinet/in.h" >&5
13466 echo $ECHO_N "checking whether struct ip_mreq is in netinet/in.h... $ECHO_C" >&6
13467 cat >conftest.
$ac_ext <<_ACEOF
13470 cat confdefs.h
>>conftest.
$ac_ext
13471 cat >>conftest.
$ac_ext <<_ACEOF
13472 /* end confdefs.h. */
13473 #include <netinet/in.h>
13477 struct ip_mreq mreq;
13482 rm -f conftest.
$ac_objext
13483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13484 (eval $ac_compile) 2>conftest.er1
13486 grep -v '^ *+' conftest.er1
>conftest.err
13488 cat conftest.err
>&5
13489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13490 (exit $ac_status); } &&
13491 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13493 (eval $ac_try) 2>&5
13495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13496 (exit $ac_status); }; } &&
13497 { ac_try
='test -s conftest.$ac_objext'
13498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13499 (eval $ac_try) 2>&5
13501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13502 (exit $ac_status); }; }; then
13504 cat >>confdefs.h
<<\_ACEOF
13505 #define HAVE_STRUCT_IP_MREQ 1
13508 echo "$as_me:$LINENO: result: yes" >&5
13509 echo "${ECHO_T}yes" >&6
13511 echo "$as_me: failed program was:" >&5
13512 sed 's/^/| /' conftest.
$ac_ext >&5
13514 echo "$as_me:$LINENO: result: no" >&5
13515 echo "${ECHO_T}no" >&6
13517 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13519 echo "$as_me:$LINENO: checking whether struct ipv6_mreq is in netinet/in.h" >&5
13520 echo $ECHO_N "checking whether struct ipv6_mreq is in netinet/in.h... $ECHO_C" >&6
13521 cat >conftest.
$ac_ext <<_ACEOF
13524 cat confdefs.h
>>conftest.
$ac_ext
13525 cat >>conftest.
$ac_ext <<_ACEOF
13526 /* end confdefs.h. */
13527 #include <netinet/in.h>
13531 struct ipv6_mreq mreq6;
13536 rm -f conftest.
$ac_objext
13537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13538 (eval $ac_compile) 2>conftest.er1
13540 grep -v '^ *+' conftest.er1
>conftest.err
13542 cat conftest.err
>&5
13543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13544 (exit $ac_status); } &&
13545 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13547 (eval $ac_try) 2>&5
13549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13550 (exit $ac_status); }; } &&
13551 { ac_try
='test -s conftest.$ac_objext'
13552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13553 (eval $ac_try) 2>&5
13555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13556 (exit $ac_status); }; }; then
13558 cat >>confdefs.h
<<\_ACEOF
13559 #define HAVE_STRUCT_IPV6_MREQ 1
13562 echo "$as_me:$LINENO: result: yes" >&5
13563 echo "${ECHO_T}yes" >&6
13565 echo "$as_me: failed program was:" >&5
13566 sed 's/^/| /' conftest.
$ac_ext >&5
13568 echo "$as_me:$LINENO: result: no" >&5
13569 echo "${ECHO_T}no" >&6
13571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13573 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
13574 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
13575 cat >conftest.
$ac_ext <<_ACEOF
13578 cat confdefs.h
>>conftest.
$ac_ext
13579 cat >>conftest.
$ac_ext <<_ACEOF
13580 /* end confdefs.h. */
13581 #include <netinet/in.h>
13585 struct sockaddr_in6 addr6;
13590 rm -f conftest.
$ac_objext
13591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13592 (eval $ac_compile) 2>conftest.er1
13594 grep -v '^ *+' conftest.er1
>conftest.err
13596 cat conftest.err
>&5
13597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13598 (exit $ac_status); } &&
13599 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13601 (eval $ac_try) 2>&5
13603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13604 (exit $ac_status); }; } &&
13605 { ac_try
='test -s conftest.$ac_objext'
13606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13607 (eval $ac_try) 2>&5
13609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13610 (exit $ac_status); }; }; then
13612 cat >>confdefs.h
<<\_ACEOF
13613 #define HAVE_INET6 1
13616 echo "$as_me:$LINENO: result: yes" >&5
13617 echo "${ECHO_T}yes" >&6
13619 echo "$as_me: failed program was:" >&5
13620 sed 's/^/| /' conftest.
$ac_ext >&5
13622 echo "$as_me:$LINENO: result: no" >&5
13623 echo "${ECHO_T}no" >&6
13625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13627 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
13628 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
13629 cat >conftest.
$ac_ext <<_ACEOF
13632 cat confdefs.h
>>conftest.
$ac_ext
13633 cat >>conftest.
$ac_ext <<_ACEOF
13634 /* end confdefs.h. */
13635 #define _POSIX_PII_SOCKET
13636 #include <sys/types.h>
13637 #include <sys/socket.h>
13646 rm -f conftest.
$ac_objext
13647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13648 (eval $ac_compile) 2>conftest.er1
13650 grep -v '^ *+' conftest.er1
>conftest.err
13652 cat conftest.err
>&5
13653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13654 (exit $ac_status); } &&
13655 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13657 (eval $ac_try) 2>&5
13659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13660 (exit $ac_status); }; } &&
13661 { ac_try
='test -s conftest.$ac_objext'
13662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13663 (eval $ac_try) 2>&5
13665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13666 (exit $ac_status); }; }; then
13668 cat >>confdefs.h
<<\_ACEOF
13669 #define HAVE_SOCKLEN_T 1
13672 echo "$as_me:$LINENO: result: yes" >&5
13673 echo "${ECHO_T}yes" >&6
13675 echo "$as_me: failed program was:" >&5
13676 sed 's/^/| /' conftest.
$ac_ext >&5
13678 echo "$as_me:$LINENO: result: no" >&5
13679 echo "${ECHO_T}no" >&6
13681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13683 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
13684 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
13685 cat >conftest.
$ac_ext <<_ACEOF
13688 cat confdefs.h
>>conftest.
$ac_ext
13689 cat >>conftest.
$ac_ext <<_ACEOF
13690 /* end confdefs.h. */
13695 struct tm tim; tim.tm_gmtoff = 0;
13700 rm -f conftest.
$ac_objext
13701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13702 (eval $ac_compile) 2>conftest.er1
13704 grep -v '^ *+' conftest.er1
>conftest.err
13706 cat conftest.err
>&5
13707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13708 (exit $ac_status); } &&
13709 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13711 (eval $ac_try) 2>&5
13713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13714 (exit $ac_status); }; } &&
13715 { ac_try
='test -s conftest.$ac_objext'
13716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13717 (eval $ac_try) 2>&5
13719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13720 (exit $ac_status); }; }; then
13722 cat >>confdefs.h
<<\_ACEOF
13723 #define STRUCT_TM_HAS_GMTOFF 1
13726 echo "$as_me:$LINENO: result: yes" >&5
13727 echo "${ECHO_T}yes" >&6
13729 echo "$as_me: failed program was:" >&5
13730 sed 's/^/| /' conftest.
$ac_ext >&5
13732 echo "$as_me:$LINENO: result: no" >&5
13733 echo "${ECHO_T}no" >&6
13734 echo "$as_me:$LINENO: checking for global timezone variable" >&5
13735 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
13736 cat >conftest.
$ac_ext <<_ACEOF
13739 cat confdefs.h
>>conftest.
$ac_ext
13740 cat >>conftest.
$ac_ext <<_ACEOF
13741 /* end confdefs.h. */
13746 void i(){long z2 = 2*timezone;}
13751 rm -f conftest.
$ac_objext
13752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13753 (eval $ac_compile) 2>conftest.er1
13755 grep -v '^ *+' conftest.er1
>conftest.err
13757 cat conftest.err
>&5
13758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13759 (exit $ac_status); } &&
13760 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13762 (eval $ac_try) 2>&5
13764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13765 (exit $ac_status); }; } &&
13766 { ac_try
='test -s conftest.$ac_objext'
13767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13768 (eval $ac_try) 2>&5
13770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13771 (exit $ac_status); }; }; then
13773 cat >>confdefs.h
<<\_ACEOF
13774 #define HAVE_TIMEZONE 1
13777 echo "$as_me:$LINENO: result: yes" >&5
13778 echo "${ECHO_T}yes" >&6
13780 echo "$as_me: failed program was:" >&5
13781 sed 's/^/| /' conftest.
$ac_ext >&5
13783 echo "$as_me:$LINENO: result: no" >&5
13784 echo "${ECHO_T}no" >&6
13785 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
13786 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
13787 cat >conftest.
$ac_ext <<_ACEOF
13790 cat confdefs.h
>>conftest.
$ac_ext
13791 cat >>conftest.
$ac_ext <<_ACEOF
13792 /* end confdefs.h. */
13797 long z2 = _timezone;
13802 rm -f conftest.
$ac_objext
13803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13804 (eval $ac_compile) 2>conftest.er1
13806 grep -v '^ *+' conftest.er1
>conftest.err
13808 cat conftest.err
>&5
13809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13810 (exit $ac_status); } &&
13811 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13813 (eval $ac_try) 2>&5
13815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13816 (exit $ac_status); }; } &&
13817 { ac_try
='test -s conftest.$ac_objext'
13818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13819 (eval $ac_try) 2>&5
13821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13822 (exit $ac_status); }; }; then
13824 cat >>confdefs.h
<<\_ACEOF
13825 #define HAVE_UNDERSCORE_TIMEZONE 1
13828 echo "$as_me:$LINENO: result: yes" >&5
13829 echo "${ECHO_T}yes" >&6
13831 echo "$as_me: failed program was:" >&5
13832 sed 's/^/| /' conftest.
$ac_ext >&5
13834 echo "$as_me:$LINENO: result: no" >&5
13835 echo "${ECHO_T}no" >&6
13837 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13843 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
13844 # for constant arguments. Useless!
13845 echo "$as_me:$LINENO: checking for working alloca.h" >&5
13846 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
13847 if test "${ac_cv_working_alloca_h+set}" = set; then
13848 echo $ECHO_N "(cached) $ECHO_C" >&6
13850 if test x
$gcc_no_link = xyes
; then
13851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13853 { (exit 1); exit 1; }; }
13855 cat >conftest.
$ac_ext <<_ACEOF
13858 cat confdefs.h
>>conftest.
$ac_ext
13859 cat >>conftest.
$ac_ext <<_ACEOF
13860 /* end confdefs.h. */
13861 #include <alloca.h>
13865 char *p = (char *) alloca (2 * sizeof (int));
13870 rm -f conftest.
$ac_objext conftest
$ac_exeext
13871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13872 (eval $ac_link) 2>conftest.er1
13874 grep -v '^ *+' conftest.er1
>conftest.err
13876 cat conftest.err
>&5
13877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13878 (exit $ac_status); } &&
13879 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13881 (eval $ac_try) 2>&5
13883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13884 (exit $ac_status); }; } &&
13885 { ac_try
='test -s conftest$ac_exeext'
13886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13887 (eval $ac_try) 2>&5
13889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13890 (exit $ac_status); }; }; then
13891 ac_cv_working_alloca_h
=yes
13893 echo "$as_me: failed program was:" >&5
13894 sed 's/^/| /' conftest.
$ac_ext >&5
13896 ac_cv_working_alloca_h
=no
13898 rm -f conftest.err conftest.
$ac_objext \
13899 conftest
$ac_exeext conftest.
$ac_ext
13901 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
13902 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
13903 if test $ac_cv_working_alloca_h = yes; then
13905 cat >>confdefs.h
<<\_ACEOF
13906 #define HAVE_ALLOCA_H 1
13911 echo "$as_me:$LINENO: checking for alloca" >&5
13912 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
13913 if test "${ac_cv_func_alloca_works+set}" = set; then
13914 echo $ECHO_N "(cached) $ECHO_C" >&6
13916 if test x
$gcc_no_link = xyes
; then
13917 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13919 { (exit 1); exit 1; }; }
13921 cat >conftest.
$ac_ext <<_ACEOF
13924 cat confdefs.h
>>conftest.
$ac_ext
13925 cat >>conftest.
$ac_ext <<_ACEOF
13926 /* end confdefs.h. */
13928 # define alloca __builtin_alloca
13931 # include <malloc.h>
13932 # define alloca _alloca
13935 # include <alloca.h>
13940 # ifndef alloca /* predefined by HP cc +Olibcalls */
13951 char *p = (char *) alloca (1);
13956 rm -f conftest.
$ac_objext conftest
$ac_exeext
13957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13958 (eval $ac_link) 2>conftest.er1
13960 grep -v '^ *+' conftest.er1
>conftest.err
13962 cat conftest.err
>&5
13963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13964 (exit $ac_status); } &&
13965 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13967 (eval $ac_try) 2>&5
13969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13970 (exit $ac_status); }; } &&
13971 { ac_try
='test -s conftest$ac_exeext'
13972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13973 (eval $ac_try) 2>&5
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); }; }; then
13977 ac_cv_func_alloca_works
=yes
13979 echo "$as_me: failed program was:" >&5
13980 sed 's/^/| /' conftest.
$ac_ext >&5
13982 ac_cv_func_alloca_works
=no
13984 rm -f conftest.err conftest.
$ac_objext \
13985 conftest
$ac_exeext conftest.
$ac_ext
13987 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
13988 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
13990 if test $ac_cv_func_alloca_works = yes; then
13992 cat >>confdefs.h
<<\_ACEOF
13993 #define HAVE_ALLOCA 1
13997 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
13998 # that cause trouble. Some versions do not even contain alloca or
13999 # contain a buggy version. If you still want to use their alloca,
14000 # use ar to extract alloca.o from them instead of compiling alloca.c.
14002 ALLOCA
=alloca.
$ac_objext
14004 cat >>confdefs.h
<<\_ACEOF
14009 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
14010 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
14011 if test "${ac_cv_os_cray+set}" = set; then
14012 echo $ECHO_N "(cached) $ECHO_C" >&6
14014 cat >conftest.
$ac_ext <<_ACEOF
14017 cat confdefs.h
>>conftest.
$ac_ext
14018 cat >>conftest.
$ac_ext <<_ACEOF
14019 /* end confdefs.h. */
14020 #if defined(CRAY) && ! defined(CRAY2)
14027 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14028 $EGREP "webecray" >/dev
/null
2>&1; then
14036 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
14037 echo "${ECHO_T}$ac_cv_os_cray" >&6
14038 if test $ac_cv_os_cray = yes; then
14039 for ac_func
in _getb67 GETB67 getb67
; do
14040 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14041 echo "$as_me:$LINENO: checking for $ac_func" >&5
14042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14043 if eval "test \"\${$as_ac_var+set}\" = set"; then
14044 echo $ECHO_N "(cached) $ECHO_C" >&6
14046 if test x
$gcc_no_link = xyes
; then
14047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14049 { (exit 1); exit 1; }; }
14051 cat >conftest.
$ac_ext <<_ACEOF
14054 cat confdefs.h
>>conftest.
$ac_ext
14055 cat >>conftest.
$ac_ext <<_ACEOF
14056 /* end confdefs.h. */
14057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14059 #define $ac_func innocuous_$ac_func
14061 /* System header to define __stub macros and hopefully few prototypes,
14062 which can conflict with char $ac_func (); below.
14063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14064 <limits.h> exists even on freestanding compilers. */
14067 # include <limits.h>
14069 # include <assert.h>
14074 /* Override any gcc2 internal prototype to avoid an error. */
14079 /* We use char because int might match the return type of a gcc2
14080 builtin and then its argument prototype would still apply. */
14082 /* The GNU C library defines this for functions which it implements
14083 to always fail with ENOSYS. Some functions are actually named
14084 something starting with __ and the normal name is an alias. */
14085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14088 char (*f) () = $ac_func;
14097 return f != $ac_func;
14102 rm -f conftest.
$ac_objext conftest
$ac_exeext
14103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14104 (eval $ac_link) 2>conftest.er1
14106 grep -v '^ *+' conftest.er1
>conftest.err
14108 cat conftest.err
>&5
14109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14110 (exit $ac_status); } &&
14111 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14113 (eval $ac_try) 2>&5
14115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116 (exit $ac_status); }; } &&
14117 { ac_try
='test -s conftest$ac_exeext'
14118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14119 (eval $ac_try) 2>&5
14121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14122 (exit $ac_status); }; }; then
14123 eval "$as_ac_var=yes"
14125 echo "$as_me: failed program was:" >&5
14126 sed 's/^/| /' conftest.
$ac_ext >&5
14128 eval "$as_ac_var=no"
14130 rm -f conftest.err conftest.
$ac_objext \
14131 conftest
$ac_exeext conftest.
$ac_ext
14133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14135 if test `eval echo '${'$as_ac_var'}'` = yes; then
14137 cat >>confdefs.h
<<_ACEOF
14138 #define CRAY_STACKSEG_END $ac_func
14147 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
14148 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
14149 if test "${ac_cv_c_stack_direction+set}" = set; then
14150 echo $ECHO_N "(cached) $ECHO_C" >&6
14152 if test "$cross_compiling" = yes; then
14153 ac_cv_c_stack_direction
=0
14155 cat >conftest.
$ac_ext <<_ACEOF
14158 cat confdefs.h
>>conftest.
$ac_ext
14159 cat >>conftest.
$ac_ext <<_ACEOF
14160 /* end confdefs.h. */
14162 find_stack_direction ()
14164 static char *addr = 0;
14169 return find_stack_direction ();
14172 return (&dummy > addr) ? 1 : -1;
14178 exit (find_stack_direction () < 0);
14181 rm -f conftest
$ac_exeext
14182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14183 (eval $ac_link) 2>&5
14185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14186 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14188 (eval $ac_try) 2>&5
14190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14191 (exit $ac_status); }; }; then
14192 ac_cv_c_stack_direction
=1
14194 echo "$as_me: program exited with status $ac_status" >&5
14195 echo "$as_me: failed program was:" >&5
14196 sed 's/^/| /' conftest.
$ac_ext >&5
14198 ( exit $ac_status )
14199 ac_cv_c_stack_direction
=-1
14201 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14204 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
14205 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
14207 cat >>confdefs.h
<<_ACEOF
14208 #define STACK_DIRECTION $ac_cv_c_stack_direction
14214 if test x
$gcc_no_link = xyes
; then
14215 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset
; then
14216 ac_cv_func_mmap_fixed_mapped
=no
14219 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset
; then
14222 for ac_header
in stdlib.h unistd.h
14224 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14226 echo "$as_me:$LINENO: checking for $ac_header" >&5
14227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14229 echo $ECHO_N "(cached) $ECHO_C" >&6
14231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14232 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14234 # Is the header compilable?
14235 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14236 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14237 cat >conftest.
$ac_ext <<_ACEOF
14240 cat confdefs.h
>>conftest.
$ac_ext
14241 cat >>conftest.
$ac_ext <<_ACEOF
14242 /* end confdefs.h. */
14243 $ac_includes_default
14244 #include <$ac_header>
14246 rm -f conftest.
$ac_objext
14247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14248 (eval $ac_compile) 2>conftest.er1
14250 grep -v '^ *+' conftest.er1
>conftest.err
14252 cat conftest.err
>&5
14253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14254 (exit $ac_status); } &&
14255 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14257 (eval $ac_try) 2>&5
14259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14260 (exit $ac_status); }; } &&
14261 { ac_try
='test -s conftest.$ac_objext'
14262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14263 (eval $ac_try) 2>&5
14265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14266 (exit $ac_status); }; }; then
14267 ac_header_compiler
=yes
14269 echo "$as_me: failed program was:" >&5
14270 sed 's/^/| /' conftest.
$ac_ext >&5
14272 ac_header_compiler
=no
14274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14275 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14276 echo "${ECHO_T}$ac_header_compiler" >&6
14278 # Is the header present?
14279 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14280 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14281 cat >conftest.
$ac_ext <<_ACEOF
14284 cat confdefs.h
>>conftest.
$ac_ext
14285 cat >>conftest.
$ac_ext <<_ACEOF
14286 /* end confdefs.h. */
14287 #include <$ac_header>
14289 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14290 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14292 grep -v '^ *+' conftest.er1
>conftest.err
14294 cat conftest.err
>&5
14295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14296 (exit $ac_status); } >/dev
/null
; then
14297 if test -s conftest.err
; then
14298 ac_cpp_err
=$ac_c_preproc_warn_flag
14299 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14306 if test -z "$ac_cpp_err"; then
14307 ac_header_preproc
=yes
14309 echo "$as_me: failed program was:" >&5
14310 sed 's/^/| /' conftest.
$ac_ext >&5
14312 ac_header_preproc
=no
14314 rm -f conftest.err conftest.
$ac_ext
14315 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14316 echo "${ECHO_T}$ac_header_preproc" >&6
14318 # So? What about this header?
14319 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14321 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14322 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14323 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14324 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14325 ac_header_preproc
=yes
14328 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14329 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14330 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14331 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14332 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14333 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14334 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14335 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14336 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14337 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14338 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14339 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14342 ## ------------------------------------------ ##
14343 ## Report this to the AC_PACKAGE_NAME lists. ##
14344 ## ------------------------------------------ ##
14347 sed "s/^/$as_me: WARNING: /" >&2
14350 echo "$as_me:$LINENO: checking for $ac_header" >&5
14351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14353 echo $ECHO_N "(cached) $ECHO_C" >&6
14355 eval "$as_ac_Header=\$ac_header_preproc"
14357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14361 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14362 cat >>confdefs.h
<<_ACEOF
14363 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14371 for ac_func
in getpagesize
14373 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14374 echo "$as_me:$LINENO: checking for $ac_func" >&5
14375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14376 if eval "test \"\${$as_ac_var+set}\" = set"; then
14377 echo $ECHO_N "(cached) $ECHO_C" >&6
14379 if test x
$gcc_no_link = xyes
; then
14380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14382 { (exit 1); exit 1; }; }
14384 cat >conftest.
$ac_ext <<_ACEOF
14387 cat confdefs.h
>>conftest.
$ac_ext
14388 cat >>conftest.
$ac_ext <<_ACEOF
14389 /* end confdefs.h. */
14390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14392 #define $ac_func innocuous_$ac_func
14394 /* System header to define __stub macros and hopefully few prototypes,
14395 which can conflict with char $ac_func (); below.
14396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14397 <limits.h> exists even on freestanding compilers. */
14400 # include <limits.h>
14402 # include <assert.h>
14407 /* Override any gcc2 internal prototype to avoid an error. */
14412 /* We use char because int might match the return type of a gcc2
14413 builtin and then its argument prototype would still apply. */
14415 /* The GNU C library defines this for functions which it implements
14416 to always fail with ENOSYS. Some functions are actually named
14417 something starting with __ and the normal name is an alias. */
14418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14421 char (*f) () = $ac_func;
14430 return f != $ac_func;
14435 rm -f conftest.
$ac_objext conftest
$ac_exeext
14436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14437 (eval $ac_link) 2>conftest.er1
14439 grep -v '^ *+' conftest.er1
>conftest.err
14441 cat conftest.err
>&5
14442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14443 (exit $ac_status); } &&
14444 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14446 (eval $ac_try) 2>&5
14448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14449 (exit $ac_status); }; } &&
14450 { ac_try
='test -s conftest$ac_exeext'
14451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14452 (eval $ac_try) 2>&5
14454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14455 (exit $ac_status); }; }; then
14456 eval "$as_ac_var=yes"
14458 echo "$as_me: failed program was:" >&5
14459 sed 's/^/| /' conftest.
$ac_ext >&5
14461 eval "$as_ac_var=no"
14463 rm -f conftest.err conftest.
$ac_objext \
14464 conftest
$ac_exeext conftest.
$ac_ext
14466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14468 if test `eval echo '${'$as_ac_var'}'` = yes; then
14469 cat >>confdefs.h
<<_ACEOF
14470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14476 echo "$as_me:$LINENO: checking for working mmap" >&5
14477 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
14478 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
14479 echo $ECHO_N "(cached) $ECHO_C" >&6
14481 if test "$cross_compiling" = yes; then
14482 ac_cv_func_mmap_fixed_mapped
=no
14484 cat >conftest.
$ac_ext <<_ACEOF
14487 cat confdefs.h
>>conftest.
$ac_ext
14488 cat >>conftest.
$ac_ext <<_ACEOF
14489 /* end confdefs.h. */
14490 $ac_includes_default
14491 /* malloc might have been renamed as rpl_malloc. */
14494 /* Thanks to Mike Haertel and Jim Avera for this test.
14495 Here is a matrix of mmap possibilities:
14496 mmap private not fixed
14497 mmap private fixed at somewhere currently unmapped
14498 mmap private fixed at somewhere already mapped
14499 mmap shared not fixed
14500 mmap shared fixed at somewhere currently unmapped
14501 mmap shared fixed at somewhere already mapped
14502 For private mappings, we should verify that changes cannot be read()
14503 back from the file, nor mmap's back from the file at a different
14504 address. (There have been systems where private was not correctly
14505 implemented like the infamous i386 svr4.0, and systems where the
14506 VM page cache was not coherent with the file system buffer cache
14507 like early versions of FreeBSD and possibly contemporary NetBSD.)
14508 For shared mappings, we should conversely verify that changes get
14509 propagated back to all the places they're supposed to be.
14511 Grep wants private fixed already mapped.
14512 The main things grep needs to know about mmap are:
14513 * does it exist and is it safe to write into the mmap'd area
14514 * how to use it (BSD variants) */
14517 #include <sys/mman.h>
14519 #if !STDC_HEADERS && !HAVE_STDLIB_H
14523 /* This mess was copied from the GNU getpagesize.h. */
14524 #if !HAVE_GETPAGESIZE
14525 /* Assume that all systems that can run configure have sys/param.h. */
14526 # if !HAVE_SYS_PARAM_H
14527 # define HAVE_SYS_PARAM_H 1
14530 # ifdef _SC_PAGESIZE
14531 # define getpagesize() sysconf(_SC_PAGESIZE)
14532 # else /* no _SC_PAGESIZE */
14533 # if HAVE_SYS_PARAM_H
14534 # include <sys/param.h>
14535 # ifdef EXEC_PAGESIZE
14536 # define getpagesize() EXEC_PAGESIZE
14537 # else /* no EXEC_PAGESIZE */
14539 # define getpagesize() NBPG * CLSIZE
14542 # endif /* no CLSIZE */
14543 # else /* no NBPG */
14545 # define getpagesize() NBPC
14546 # else /* no NBPC */
14548 # define getpagesize() PAGESIZE
14549 # endif /* PAGESIZE */
14550 # endif /* no NBPC */
14551 # endif /* no NBPG */
14552 # endif /* no EXEC_PAGESIZE */
14553 # else /* no HAVE_SYS_PARAM_H */
14554 # define getpagesize() 8192 /* punt totally */
14555 # endif /* no HAVE_SYS_PARAM_H */
14556 # endif /* no _SC_PAGESIZE */
14558 #endif /* no HAVE_GETPAGESIZE */
14563 char *data, *data2, *data3;
14567 pagesize = getpagesize ();
14569 /* First, make a file with some known garbage in it. */
14570 data = (char *) malloc (pagesize);
14573 for (i = 0; i < pagesize; ++i)
14574 *(data + i) = rand ();
14576 fd = creat ("conftest.mmap", 0600);
14579 if (write (fd, data, pagesize) != pagesize)
14583 /* Next, try to mmap the file at a fixed address which already has
14584 something else allocated at it. If we can, also make sure that
14585 we see the same garbage. */
14586 fd = open ("conftest.mmap", O_RDWR);
14589 data2 = (char *) malloc (2 * pagesize);
14592 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
14593 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
14594 MAP_PRIVATE | MAP_FIXED, fd, 0L))
14596 for (i = 0; i < pagesize; ++i)
14597 if (*(data + i) != *(data2 + i))
14600 /* Finally, make sure that changes to the mapped area do not
14601 percolate back to the file as seen by read(). (This is a bug on
14602 some variants of i386 svr4.0.) */
14603 for (i = 0; i < pagesize; ++i)
14604 *(data2 + i) = *(data2 + i) + 1;
14605 data3 = (char *) malloc (pagesize);
14608 if (read (fd, data3, pagesize) != pagesize)
14610 for (i = 0; i < pagesize; ++i)
14611 if (*(data + i) != *(data3 + i))
14617 rm -f conftest
$ac_exeext
14618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14619 (eval $ac_link) 2>&5
14621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14622 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14624 (eval $ac_try) 2>&5
14626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14627 (exit $ac_status); }; }; then
14628 ac_cv_func_mmap_fixed_mapped
=yes
14630 echo "$as_me: program exited with status $ac_status" >&5
14631 echo "$as_me: failed program was:" >&5
14632 sed 's/^/| /' conftest.
$ac_ext >&5
14634 ( exit $ac_status )
14635 ac_cv_func_mmap_fixed_mapped
=no
14637 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14640 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
14641 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
14642 if test $ac_cv_func_mmap_fixed_mapped = yes; then
14644 cat >>confdefs.h
<<\_ACEOF
14645 #define HAVE_MMAP 1
14649 rm -f conftest.mmap
14653 for ac_prog
in perl
14655 # Extract the first word of "$ac_prog", so it can be a program name with args.
14656 set dummy
$ac_prog; ac_word
=$2
14657 echo "$as_me:$LINENO: checking for $ac_word" >&5
14658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14659 if test "${ac_cv_prog_PERL+set}" = set; then
14660 echo $ECHO_N "(cached) $ECHO_C" >&6
14662 if test -n "$PERL"; then
14663 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
14665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14666 for as_dir
in $PATH
14669 test -z "$as_dir" && as_dir
=.
14670 for ac_exec_ext
in '' $ac_executable_extensions; do
14671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14672 ac_cv_prog_PERL
="$ac_prog"
14673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14681 PERL
=$ac_cv_prog_PERL
14682 if test -n "$PERL"; then
14683 echo "$as_me:$LINENO: result: $PERL" >&5
14684 echo "${ECHO_T}$PERL" >&6
14686 echo "$as_me:$LINENO: result: no" >&5
14687 echo "${ECHO_T}no" >&6
14690 test -n "$PERL" && break
14692 test -n "$PERL" || PERL
="false"
14696 SIGNAL_HANDLER_AUX
=
14700 SIGNAL_HANDLER
=include
/i386-signal.h
14702 sparc
*-sun-solaris*)
14703 SIGNAL_HANDLER
=include
/sparc-signal.h
14706 # SYSDEP_SOURCES=sysdep/ia64.c
14707 # test -d sysdep || mkdir sysdep
14710 SIGNAL_HANDLER
=include
/pa-signal.h
14713 SIGNAL_HANDLER
=include
/dwarf2-signal.h
14716 SIGNAL_HANDLER
=include
/powerpc-signal.h
14719 SIGNAL_HANDLER
=include
/dwarf2-signal.h
14722 SIGNAL_HANDLER
=include
/s390-signal.h
14725 SIGNAL_HANDLER
=include
/x86_64-signal.h
14726 SIGNAL_HANDLER_AUX
=include
/i386-signal.h
14729 SIGNAL_HANDLER
=include
/dwarf2-signal.h
14731 sh-
*-linux* | sh
[34]*-*-linux*)
14732 SIGNAL_HANDLER
=include
/dwarf2-signal.h
14735 SIGNAL_HANDLER
=include
/win32-signal.h
14738 SIGNAL_HANDLER
=include
/mips-signal.h
14741 SIGNAL_HANDLER
=include
/darwin-signal.h
14744 SIGNAL_HANDLER
=include
/default-signal.h
14748 # If we're using sjlj exceptions, forget what we just learned.
14749 if test "$enable_sjlj_exceptions" = yes; then
14750 SIGNAL_HANDLER
=include
/default-signal.h
14751 SIGNAL_HANDLER_AUX
=
14754 # Define here any compiler flags that you need in order to make backtrace() work.
14757 x86_64
*-*-linux*|i?
86-*)
14758 BACKTRACESPEC
=-fno-omit-frame-pointer
14765 if test -z "$SIGNAL_HANDLER_AUX"; then
14766 SIGNAL_HANDLER_AUX
=$SIGNAL_HANDLER
14769 ac_config_links
="$ac_config_links include/java-signal.h:$SIGNAL_HANDLER include/java-signal-aux.h:$SIGNAL_HANDLER_AUX"
14772 if test "${multilib}" = "yes"; then
14773 multilib_arg
="--enable-multilib"
14780 here
=`${PWDCMD-pwd}`
14783 # We get this from the environment.
14786 ac_config_files
="$ac_config_files Makefile libgcj.pc libgcj.spec libgcj-test.spec gnu/classpath/Configuration.java gcj/Makefile include/Makefile testsuite/Makefile"
14787 ac_config_commands
="$ac_config_commands default"
14788 cat >confcache
<<\_ACEOF
14789 # This file is a shell script that caches the results of configure
14790 # tests run on this system so they can be shared between configure
14791 # scripts and configure runs, see configure's option --config-cache.
14792 # It is not useful on other systems. If it contains results you don't
14793 # want to keep, you may remove or edit it.
14795 # config.status only pays attention to the cache file if you give it
14796 # the --recheck option to rerun configure.
14798 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14799 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14800 # following values.
14804 # The following way of writing the cache mishandles newlines in values,
14805 # but we know of no workaround that is simple, portable, and efficient.
14806 # So, don't put newlines in cache variables' values.
14807 # Ultrix sh set writes to stderr and can't be redirected directly,
14808 # and sets the high bit in the cache file unless we assign to the vars.
14811 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14813 # `set' does not quote correctly, so add quotes (double-quote
14814 # substitution turns \\\\ into \\, and sed turns \\ into \).
14817 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14820 # `set' quotes correctly as required by POSIX, so do not add quotes.
14822 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
14829 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14831 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14833 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
14834 if test -w $cache_file; then
14835 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
14836 cat confcache
>$cache_file
14838 echo "not updating unwritable cache $cache_file"
14843 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14844 # Let make expand exec_prefix.
14845 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14847 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14848 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14849 # trailing colons and then remove the whole line if VPATH becomes empty
14850 # (actually we leave an empty line to preserve line numbers).
14851 if test "x$srcdir" = x.
; then
14852 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
14853 s/:*\$(srcdir):*/:/;
14854 s/:*\${srcdir}:*/:/;
14856 s/^\([^=]*=[ ]*\):*/\1/;
14862 DEFS
=-DHAVE_CONFIG_H
14866 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14867 # 1. Remove the extension, and $U if already installed.
14868 ac_i
=`echo "$ac_i" |
14869 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
14871 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
14872 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
14874 LIBOBJS
=$ac_libobjs
14876 LTLIBOBJS
=$ac_ltlibobjs
14880 : ${CONFIG_STATUS=./config.status}
14881 ac_clean_files_save
=$ac_clean_files
14882 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14883 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14884 echo "$as_me: creating $CONFIG_STATUS" >&6;}
14885 cat >$CONFIG_STATUS <<_ACEOF
14887 # Generated by $as_me.
14888 # Run this file to recreate the current configuration.
14889 # Compiler output produced by configure, useful for debugging
14890 # configure, is in config.log if it exists.
14893 ac_cs_recheck=false
14895 SHELL=\${CONFIG_SHELL-$SHELL}
14898 cat >>$CONFIG_STATUS <<\_ACEOF
14899 ## --------------------- ##
14900 ## M4sh Initialization. ##
14901 ## --------------------- ##
14903 # Be Bourne compatible
14904 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
14907 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
14908 # is contrary to our usage. Disable this feature.
14909 alias -g '${1+"$@"}'='"$@"'
14910 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
14913 DUALCASE
=1; export DUALCASE
# for MKS sh
14915 # Support unset when possible.
14916 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
14923 # Work around bugs in pre-3.0 UWIN ksh.
14924 $as_unset ENV MAIL MAILPATH
14931 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
14932 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
14933 LC_TELEPHONE LC_TIME
14935 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
14936 eval $as_var=C
; export $as_var
14942 # Required to use basename.
14943 if expr a
: '\(a\)' >/dev
/null
2>&1; then
14949 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
14950 as_basename
=basename
14956 # Name of the executable.
14957 as_me
=`$as_basename "$0" ||
14958 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14959 X"$0" : 'X\(//\)$' \| \
14960 X"$0" : 'X\(/\)$' \| \
14961 . : '\(.\)' 2>/dev/null ||
14963 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
14964 /^X\/\(\/\/\)$/{ s//\1/; q; }
14965 /^X\/\(\/\).*/{ s//\1/; q; }
14969 # PATH needs CR, and LINENO needs CR and PATH.
14970 # Avoid depending upon Character Ranges.
14971 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14972 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14973 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14974 as_cr_digits
='0123456789'
14975 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14977 # The user is always right.
14978 if test "${PATH_SEPARATOR+set}" != set; then
14979 echo "#! /bin/sh" >conf$$.sh
14980 echo "exit 0" >>conf$$.sh
14982 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14991 as_lineno_1
=$LINENO
14992 as_lineno_2
=$LINENO
14993 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
14994 test "x$as_lineno_1" != "x$as_lineno_2" &&
14995 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
14996 # Find who we are. Look in the path if we contain no path at all
14999 *[\\/]* ) as_myself
=$0 ;;
15000 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15001 for as_dir
in $PATH
15004 test -z "$as_dir" && as_dir
=.
15005 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15010 # We did not find ourselves, most probably we were run as `sh COMMAND'
15011 # in which case we are not to be found in the path.
15012 if test "x$as_myself" = x
; then
15015 if test ! -f "$as_myself"; then
15016 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
15017 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
15018 { (exit 1); exit 1; }; }
15020 case $CONFIG_SHELL in
15022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15023 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
15026 test -z "$as_dir" && as_dir
=.
15027 for as_base
in sh bash ksh sh5
; do
15030 if ("$as_dir/$as_base" -c '
15031 as_lineno_1=$LINENO
15032 as_lineno_2=$LINENO
15033 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15034 test "x$as_lineno_1" != "x$as_lineno_2" &&
15035 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
15036 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
15037 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
15038 CONFIG_SHELL
=$as_dir/$as_base
15039 export CONFIG_SHELL
15040 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
15048 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15049 # uniformly replaced by the line number. The first 'sed' inserts a
15050 # line-number line before each line; the second 'sed' does the real
15051 # work. The second script uses 'N' to pair each line-number line
15052 # with the numbered line, and appends trailing '-' during
15053 # substitution so that $LINENO is not a special case at line end.
15054 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15055 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
15056 sed '=' <$as_myself |
15061 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
15064 s,^['$as_cr_digits']*\n,,
15065 ' >$as_me.lineno
&&
15066 chmod +x
$as_me.lineno ||
15067 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
15068 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
15069 { (exit 1); exit 1; }; }
15071 # Don't try to exec as it changes $[0], causing all sort of problems
15072 # (the dirname of $[0] is not the place where we might find the
15073 # original and so on. Autoconf is especially sensible to this).
15075 # Exit status is that of the last command.
15080 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
15081 *c
*,-n*) ECHO_N
= ECHO_C
='
15083 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
15084 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
15087 if expr a
: '\(a\)' >/dev
/null
2>&1; then
15093 rm -f conf$$ conf$$.exe conf$$.
file
15095 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15096 # We could just check for DJGPP; but this test a) works b) is more generic
15097 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
15098 if test -f conf$$.exe
; then
15099 # Don't use ln at all; we don't have any links
15104 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15109 rm -f conf$$ conf$$.exe conf$$.
file
15111 if mkdir
-p .
2>/dev
/null
; then
15114 test -d .
/-p && rmdir .
/-p
15118 as_executable_p
="test -f"
15120 # Sed expression to map a string onto a valid CPP name.
15121 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15123 # Sed expression to map a string onto a valid variable name.
15124 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15128 # We need space, tab and new line, in precisely that order.
15138 # Open the log real soon, to keep \$[0] and so on meaningful, and to
15139 # report actual input values of CONFIG_FILES etc. instead of their
15140 # values after options handling. Logging --version etc. is OK.
15144 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15145 ## Running $as_me. ##
15150 This file was extended by $as_me, which was
15151 generated by GNU Autoconf 2.59. Invocation command line was
15153 CONFIG_FILES = $CONFIG_FILES
15154 CONFIG_HEADERS = $CONFIG_HEADERS
15155 CONFIG_LINKS = $CONFIG_LINKS
15156 CONFIG_COMMANDS = $CONFIG_COMMANDS
15160 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
15164 # Files that config.status was made for.
15165 if test -n "$ac_config_files"; then
15166 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
15169 if test -n "$ac_config_headers"; then
15170 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
15173 if test -n "$ac_config_links"; then
15174 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
15177 if test -n "$ac_config_commands"; then
15178 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
15181 cat >>$CONFIG_STATUS <<\_ACEOF
15184 \`$as_me' instantiates files from templates according to the
15185 current configuration.
15187 Usage: $0 [OPTIONS] [FILE]...
15189 -h, --help print this help, then exit
15190 -V, --version print version number, then exit
15191 -q, --quiet do not print progress messages
15192 -d, --debug don't remove temporary files
15193 --recheck update $as_me by reconfiguring in the same conditions
15194 --file=FILE[:TEMPLATE]
15195 instantiate the configuration file FILE
15196 --header=FILE[:TEMPLATE]
15197 instantiate the configuration header FILE
15199 Configuration files:
15202 Configuration headers:
15205 Configuration links:
15208 Configuration commands:
15211 Report bugs to <bug-autoconf@gnu.org>."
15214 cat >>$CONFIG_STATUS <<_ACEOF
15217 configured by $0, generated by GNU Autoconf 2.59,
15218 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
15220 Copyright (C) 2003 Free Software Foundation, Inc.
15221 This config.status script is free software; the Free Software Foundation
15222 gives unlimited permission to copy, distribute and modify it."
15227 cat >>$CONFIG_STATUS <<\_ACEOF
15228 # If no file are specified by the user, then we need to provide default
15229 # value. By we need to know if files were specified by the user.
15235 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
15236 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
15244 *) # This is not an option, so the user has probably given explicit
15247 ac_need_defaults
=false
;;
15251 # Handling of the options.
15253 cat >>$CONFIG_STATUS <<\_ACEOF
15254 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15256 --version |
--vers* |
-V )
15257 echo "$ac_cs_version"; exit 0 ;;
15259 # Conflict between --help and --header
15260 { { echo "$as_me:$LINENO: error: ambiguous option: $1
15261 Try \`$0 --help' for more information." >&5
15262 echo "$as_me: error: ambiguous option: $1
15263 Try \`$0 --help' for more information." >&2;}
15264 { (exit 1); exit 1; }; };;
15265 --help |
--hel |
-h )
15266 echo "$ac_cs_usage"; exit 0 ;;
15267 --debug |
--d* |
-d )
15269 --file |
--fil |
--fi |
--f )
15271 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
15272 ac_need_defaults
=false
;;
15273 --header |
--heade |
--head |
--hea )
15275 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
15276 ac_need_defaults
=false
;;
15277 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15278 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15281 # This is an error.
15282 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
15283 Try \`$0 --help' for more information." >&5
15284 echo "$as_me: error: unrecognized option: $1
15285 Try \`$0 --help' for more information." >&2;}
15286 { (exit 1); exit 1; }; } ;;
15288 *) ac_config_targets
="$ac_config_targets $1" ;;
15294 ac_configure_extra_args
=
15296 if $ac_cs_silent; then
15298 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15302 cat >>$CONFIG_STATUS <<_ACEOF
15303 if \$ac_cs_recheck; then
15304 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15305 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15310 cat >>$CONFIG_STATUS <<_ACEOF
15312 # INIT-COMMANDS section.
15319 with_multisubdir=${with_multisubdir}
15320 ac_configure_args="${multilib_arg} ${ac_configure_args}"
15321 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15322 libgcj_basedir=${libgcj_basedir}
15325 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
15332 cat >>$CONFIG_STATUS <<\_ACEOF
15333 for ac_config_target
in $ac_config_targets
15335 case "$ac_config_target" in
15336 # Handling of arguments.
15337 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15338 "libgcj.pc" ) CONFIG_FILES
="$CONFIG_FILES libgcj.pc" ;;
15339 "libgcj.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj.spec" ;;
15340 "libgcj-test.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj-test.spec" ;;
15341 "gnu/classpath/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
15342 "gcj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gcj/Makefile" ;;
15343 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
15344 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
15345 "include/platform.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/platform.h:include/$PLATFORMH" ;;
15346 "java/io/natFile.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc" ;;
15347 "java/lang/ConcreteProcess.java" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/ConcreteProcess.java:java/lang/${PLATFORM}Process.java" ;;
15348 "java/lang/natConcreteProcess.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc" ;;
15349 "java/net/natInetAddress.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natInetAddress.cc:java/net/natInetAddress${PLATFORMNET}.cc" ;;
15350 "java/net/natNetworkInterface.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natNetworkInterface.cc:java/net/natNetworkInterface${PLATFORMNET}.cc" ;;
15351 "gnu/java/net/natPlainSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc" ;;
15352 "gnu/java/net/natPlainDatagramSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc" ;;
15353 "gnu/java/nio/natPipeImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natPipeImpl.cc:gnu/java/nio/natPipeImpl${PLATFORM}.cc" ;;
15354 "gnu/java/nio/natSelectorImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natSelectorImpl.cc:gnu/java/nio/natSelectorImpl${PLATFORM}.cc" ;;
15355 "gnu/java/nio/channels/natFileChannelImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc" ;;
15356 "include/java-gc.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-gc.h:include/$GCHDR" ;;
15357 "include/java-threads.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-threads.h:include/$THREADH" ;;
15358 "sysdep/locks.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/locks.h:sysdep/$sysdeps_dir/locks.h" ;;
15359 "include/java-signal.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal.h:$SIGNAL_HANDLER" ;;
15360 "include/java-signal-aux.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal-aux.h:$SIGNAL_HANDLER_AUX" ;;
15361 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15362 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
15363 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
15364 "gcj/libgcj-config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS gcj/libgcj-config.h" ;;
15365 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15366 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15367 { (exit 1); exit 1; }; };;
15371 # If the user did not use the arguments to specify the items to instantiate,
15372 # then the envvar interface is used. Set only those that are not.
15373 # We use the long form for the default assignment because of an extremely
15374 # bizarre bug on SunOS 4.1.3.
15375 if $ac_need_defaults; then
15376 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15377 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15378 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
15379 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15382 # Have a temporary directory for convenience. Make it in the build tree
15383 # simply because there is no reason to put it here, and in addition,
15384 # creating and moving files from /tmp can sometimes cause problems.
15385 # Create a temporary directory, and hook for its removal unless debugging.
15388 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
15389 trap '{ (exit 1); exit 1; }' 1 2 13 15
15392 # Create a (secure) tmp directory for tmp files.
15395 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
15396 test -n "$tmp" && test -d "$tmp"
15399 tmp
=.
/confstat$$
-$RANDOM
15400 (umask 077 && mkdir
$tmp)
15403 echo "$me: cannot create a temporary directory in ." >&2
15404 { (exit 1); exit 1; }
15409 cat >>$CONFIG_STATUS <<_ACEOF
15412 # CONFIG_FILES section.
15415 # No need to generate the scripts if there are no CONFIG_FILES.
15416 # This happens for instance when ./config.status config.h
15417 if test -n "\$CONFIG_FILES"; then
15418 # Protect against being on the right side of a sed subst in config.status.
15419 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
15420 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
15421 s,@SHELL@,$SHELL,;t t
15422 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
15423 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
15424 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
15425 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
15426 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
15427 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
15428 s,@exec_prefix@,$exec_prefix,;t t
15429 s,@prefix@,$prefix,;t t
15430 s,@program_transform_name@,$program_transform_name,;t t
15431 s,@bindir@,$bindir,;t t
15432 s,@sbindir@,$sbindir,;t t
15433 s,@libexecdir@,$libexecdir,;t t
15434 s,@datadir@,$datadir,;t t
15435 s,@sysconfdir@,$sysconfdir,;t t
15436 s,@sharedstatedir@,$sharedstatedir,;t t
15437 s,@localstatedir@,$localstatedir,;t t
15438 s,@libdir@,$libdir,;t t
15439 s,@includedir@,$includedir,;t t
15440 s,@oldincludedir@,$oldincludedir,;t t
15441 s,@infodir@,$infodir,;t t
15442 s,@mandir@,$mandir,;t t
15443 s,@build_alias@,$build_alias,;t t
15444 s,@host_alias@,$host_alias,;t t
15445 s,@target_alias@,$target_alias,;t t
15446 s,@DEFS@,$DEFS,;t t
15447 s,@ECHO_C@,$ECHO_C,;t t
15448 s,@ECHO_N@,$ECHO_N,;t t
15449 s,@ECHO_T@,$ECHO_T,;t t
15450 s,@LIBS@,$LIBS,;t t
15451 s,@libgcj_basedir@,$libgcj_basedir,;t t
15452 s,@build@,$build,;t t
15453 s,@build_cpu@,$build_cpu,;t t
15454 s,@build_vendor@,$build_vendor,;t t
15455 s,@build_os@,$build_os,;t t
15456 s,@host@,$host,;t t
15457 s,@host_cpu@,$host_cpu,;t t
15458 s,@host_vendor@,$host_vendor,;t t
15459 s,@host_os@,$host_os,;t t
15460 s,@target@,$target,;t t
15461 s,@target_cpu@,$target_cpu,;t t
15462 s,@target_vendor@,$target_vendor,;t t
15463 s,@target_os@,$target_os,;t t
15464 s,@target_noncanonical@,$target_noncanonical,;t t
15465 s,@LN_S@,$LN_S,;t t
15466 s,@mkinstalldirs@,$mkinstalldirs,;t t
15468 s,@ac_ct_CC@,$ac_ct_CC,;t t
15469 s,@EXEEXT@,$EXEEXT,;t t
15470 s,@OBJEXT@,$OBJEXT,;t t
15472 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
15473 s,@CFLAGS@,$CFLAGS,;t t
15474 s,@CXXFLAGS@,$CXXFLAGS,;t t
15475 s,@LDFLAGS@,$LDFLAGS,;t t
15476 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
15477 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
15478 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
15479 s,@PACKAGE@,$PACKAGE,;t t
15480 s,@VERSION@,$VERSION,;t t
15481 s,@ACLOCAL@,$ACLOCAL,;t t
15482 s,@AUTOCONF@,$AUTOCONF,;t t
15483 s,@AUTOMAKE@,$AUTOMAKE,;t t
15484 s,@AUTOHEADER@,$AUTOHEADER,;t t
15485 s,@MAKEINFO@,$MAKEINFO,;t t
15486 s,@SET_MAKE@,$SET_MAKE,;t t
15488 s,@ac_ct_AS@,$ac_ct_AS,;t t
15490 s,@ac_ct_AR@,$ac_ct_AR,;t t
15491 s,@RANLIB@,$RANLIB,;t t
15492 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
15493 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
15494 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
15495 s,@MAINT@,$MAINT,;t t
15496 s,@LIBGCJ_CFLAGS@,$LIBGCJ_CFLAGS,;t t
15497 s,@LIBGCJ_CXXFLAGS@,$LIBGCJ_CXXFLAGS,;t t
15498 s,@LIBGCJ_JAVAFLAGS@,$LIBGCJ_JAVAFLAGS,;t t
15499 s,@INCLTDL@,$INCLTDL,;t t
15500 s,@LIBLTDL@,$LIBLTDL,;t t
15501 s,@DIRLTDL@,$DIRLTDL,;t t
15502 s,@STRIP@,$STRIP,;t t
15503 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
15504 s,@LIBTOOL@,$LIBTOOL,;t t
15505 s,@CXXCPP@,$CXXCPP,;t t
15506 s,@CPPFLAGS@,$CPPFLAGS,;t t
15507 s,@subdirs@,$subdirs,;t t
15508 s,@COMPPATH@,$COMPPATH,;t t
15509 s,@TESTSUBDIR_TRUE@,$TESTSUBDIR_TRUE,;t t
15510 s,@TESTSUBDIR_FALSE@,$TESTSUBDIR_FALSE,;t t
15511 s,@ONESTEP_TRUE@,$ONESTEP_TRUE,;t t
15512 s,@ONESTEP_FALSE@,$ONESTEP_FALSE,;t t
15513 s,@LIBGCJDEBUG@,$LIBGCJDEBUG,;t t
15514 s,@INTERPRETER@,$INTERPRETER,;t t
15515 s,@LIBFFI@,$LIBFFI,;t t
15516 s,@LIBFFIINCS@,$LIBFFIINCS,;t t
15517 s,@EXTRA_CC_FILES@,$EXTRA_CC_FILES,;t t
15518 s,@PLATFORMOBJS@,$PLATFORMOBJS,;t t
15520 s,@EGREP@,$EGREP,;t t
15521 s,@SYSTEMSPEC@,$SYSTEMSPEC,;t t
15522 s,@LIBGCJTESTSPEC@,$LIBGCJTESTSPEC,;t t
15523 s,@ZLIBSPEC@,$ZLIBSPEC,;t t
15524 s,@ZLIBTESTSPEC@,$ZLIBTESTSPEC,;t t
15525 s,@X_CFLAGS@,$X_CFLAGS,;t t
15526 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
15527 s,@X_LIBS@,$X_LIBS,;t t
15528 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
15529 s,@TOOLKIT@,$TOOLKIT,;t t
15530 s,@XLIB_AWT_TRUE@,$XLIB_AWT_TRUE,;t t
15531 s,@XLIB_AWT_FALSE@,$XLIB_AWT_FALSE,;t t
15532 s,@GTK_AWT_TRUE@,$GTK_AWT_TRUE,;t t
15533 s,@GTK_AWT_FALSE@,$GTK_AWT_FALSE,;t t
15534 s,@GTK_CAIRO_TRUE@,$GTK_CAIRO_TRUE,;t t
15535 s,@GTK_CAIRO_FALSE@,$GTK_CAIRO_FALSE,;t t
15536 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
15537 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
15538 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
15539 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
15540 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
15541 s,@GCLIBS@,$GCLIBS,;t t
15542 s,@GCINCS@,$GCINCS,;t t
15543 s,@GCDEPS@,$GCDEPS,;t t
15544 s,@GCOBJS@,$GCOBJS,;t t
15545 s,@GCSPEC@,$GCSPEC,;t t
15546 s,@JC1GCSPEC@,$JC1GCSPEC,;t t
15547 s,@GCTESTSPEC@,$GCTESTSPEC,;t t
15548 s,@THREADLIBS@,$THREADLIBS,;t t
15549 s,@THREADINCS@,$THREADINCS,;t t
15550 s,@THREADDEPS@,$THREADDEPS,;t t
15551 s,@THREADOBJS@,$THREADOBJS,;t t
15552 s,@THREADSPEC@,$THREADSPEC,;t t
15553 s,@THREADLDFLAGS@,$THREADLDFLAGS,;t t
15554 s,@THREADCXXFLAGS@,$THREADCXXFLAGS,;t t
15555 s,@HASH_SYNC_SPEC@,$HASH_SYNC_SPEC,;t t
15556 s,@USING_GCC_TRUE@,$USING_GCC_TRUE,;t t
15557 s,@USING_GCC_FALSE@,$USING_GCC_FALSE,;t t
15558 s,@tool_include_dir@,$tool_include_dir,;t t
15559 s,@gcc_version@,$gcc_version,;t t
15560 s,@LIBICONV@,$LIBICONV,;t t
15561 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
15562 s,@GTK_LIBS@,$GTK_LIBS,;t t
15563 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
15564 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
15565 s,@LIBART_CFLAGS@,$LIBART_CFLAGS,;t t
15566 s,@LIBART_LIBS@,$LIBART_LIBS,;t t
15567 s,@GCJH@,$GCJH,;t t
15570 s,@ac_ct_GCJ@,$ac_ct_GCJ,;t t
15571 s,@GCJFLAGS@,$GCJFLAGS,;t t
15572 s,@ZLIBS@,$ZLIBS,;t t
15573 s,@SYS_ZLIBS@,$SYS_ZLIBS,;t t
15574 s,@ZINCS@,$ZINCS,;t t
15575 s,@DIVIDESPEC@,$DIVIDESPEC,;t t
15576 s,@CHECKREFSPEC@,$CHECKREFSPEC,;t t
15577 s,@EXCEPTIONSPEC@,$EXCEPTIONSPEC,;t t
15578 s,@IEEESPEC@,$IEEESPEC,;t t
15579 s,@NATIVE_TRUE@,$NATIVE_TRUE,;t t
15580 s,@NATIVE_FALSE@,$NATIVE_FALSE,;t t
15581 s,@NEEDS_DATA_START_TRUE@,$NEEDS_DATA_START_TRUE,;t t
15582 s,@NEEDS_DATA_START_FALSE@,$NEEDS_DATA_START_FALSE,;t t
15583 s,@GCC_UNWIND_INCLUDE@,$GCC_UNWIND_INCLUDE,;t t
15584 s,@toolexecdir@,$toolexecdir,;t t
15585 s,@toolexecmainlibdir@,$toolexecmainlibdir,;t t
15586 s,@toolexeclibdir@,$toolexeclibdir,;t t
15587 s,@GCJVERSION@,$GCJVERSION,;t t
15588 s,@ALLOCA@,$ALLOCA,;t t
15589 s,@PERL@,$PERL,;t t
15590 s,@BACKTRACESPEC@,$BACKTRACESPEC,;t t
15591 s,@SYSDEP_SOURCES@,$SYSDEP_SOURCES,;t t
15592 s,@here@,$here,;t t
15593 s,@LIBOBJS@,$LIBOBJS,;t t
15594 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
15599 cat >>$CONFIG_STATUS <<\_ACEOF
15600 # Split the substitutions into bite-sized pieces for seds with
15601 # small command number limits, like on Digital OSF/1 and HP-UX.
15602 ac_max_sed_lines
=48
15603 ac_sed_frag
=1 # Number of current file.
15604 ac_beg
=1 # First line for current file.
15605 ac_end
=$ac_max_sed_lines # Line after last line for current file.
15608 while $ac_more_lines; do
15609 if test $ac_beg -gt 1; then
15610 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
15612 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
15614 if test ! -s $tmp/subs.frag
; then
15615 ac_more_lines
=false
15617 # The purpose of the label and of the branching condition is to
15618 # speed up the sed processing (if there are no `@' at all, there
15619 # is no need to browse any of the substitutions).
15620 # These are the two extra sed commands mentioned above.
15622 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
15623 if test -z "$ac_sed_cmds"; then
15624 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
15626 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
15628 ac_sed_frag
=`expr $ac_sed_frag + 1`
15630 ac_end
=`expr $ac_end + $ac_max_sed_lines`
15633 if test -z "$ac_sed_cmds"; then
15636 fi # test -n "$CONFIG_FILES"
15639 cat >>$CONFIG_STATUS <<\_ACEOF
15640 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
15641 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15643 - |
*:- |
*:-:* ) # input from stdin
15645 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15646 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15647 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15648 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15649 * ) ac_file_in
=$ac_file.
in ;;
15652 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
15653 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
15654 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15655 X"$ac_file" : 'X\(//\)[^/]' \| \
15656 X"$ac_file" : 'X\(//\)$' \| \
15657 X"$ac_file" : 'X\(/\)' \| \
15658 . : '\(.\)' 2>/dev/null ||
15660 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15661 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15662 /^X\(\/\/\)$/{ s//\1/; q; }
15663 /^X\(\/\).*/{ s//\1/; q; }
15665 { if $as_mkdir_p; then
15670 while test ! -d "$as_dir"; do
15671 as_dirs
="$as_dir $as_dirs"
15672 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15673 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15674 X"$as_dir" : 'X\(//\)[^/]' \| \
15675 X"$as_dir" : 'X\(//\)$' \| \
15676 X"$as_dir" : 'X\(/\)' \| \
15677 . : '\(.\)' 2>/dev/null ||
15679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15681 /^X\(\/\/\)$/{ s//\1/; q; }
15682 /^X\(\/\).*/{ s//\1/; q; }
15685 test ! -n "$as_dirs" || mkdir
$as_dirs
15686 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15687 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15688 { (exit 1); exit 1; }; }; }
15692 if test "$ac_dir" != .
; then
15693 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15694 # A "../" for each directory in $ac_dir_suffix.
15695 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15697 ac_dir_suffix
= ac_top_builddir
=
15701 .
) # No --srcdir option. We are building in place.
15703 if test -z "$ac_top_builddir"; then
15706 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
15708 [\\/]* | ?
:[\\/]* ) # Absolute path.
15709 ac_srcdir
=$srcdir$ac_dir_suffix;
15710 ac_top_srcdir
=$srcdir ;;
15711 *) # Relative path.
15712 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
15713 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
15716 # Do not use `cd foo && pwd` to compute absolute paths, because
15717 # the directories may not exist.
15719 .
) ac_abs_builddir
="$ac_dir";;
15722 .
) ac_abs_builddir
=`pwd`;;
15723 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
15724 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
15727 case $ac_abs_builddir in
15728 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15730 case ${ac_top_builddir}.
in
15731 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
15732 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15733 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
15736 case $ac_abs_builddir in
15737 .
) ac_abs_srcdir
=$ac_srcdir;;
15740 .
) ac_abs_srcdir
=$ac_abs_builddir;;
15741 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
15742 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
15745 case $ac_abs_builddir in
15746 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
15748 case $ac_top_srcdir in
15749 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
15750 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
15751 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
15757 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15758 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
15761 # Let's still pretend it is `configure' which instantiates (i.e., don't
15762 # use $as_me), people would be surprised to read:
15763 # /* config.h. Generated by config.status. */
15764 if test x
"$ac_file" = x-
; then
15767 configure_input
="$ac_file. "
15769 configure_input
=$configure_input"Generated from `echo $ac_file_in |
15770 sed 's,.*/,,'` by configure."
15772 # First look for the input files in the build tree, otherwise in the
15774 ac_file_inputs
=`IFS=:
15775 for f in $ac_file_in; do
15777 -) echo $tmp/stdin ;;
15779 # Absolute (can't be DOS-style, as IFS=:)
15780 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15781 echo "$as_me: error: cannot find input file: $f" >&2;}
15782 { (exit 1); exit 1; }; }
15785 if test -f "$f"; then
15788 elif test -f "$srcdir/$f"; then
15793 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15794 echo "$as_me: error: cannot find input file: $f" >&2;}
15795 { (exit 1); exit 1; }; }
15798 done` ||
{ (exit 1); exit 1; }
15800 if test x
"$ac_file" != x-
; then
15801 { echo "$as_me:$LINENO: creating $ac_file" >&5
15802 echo "$as_me: creating $ac_file" >&6;}
15806 cat >>$CONFIG_STATUS <<_ACEOF
15810 cat >>$CONFIG_STATUS <<\_ACEOF
15812 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15813 s
,@configure_input@
,$configure_input,;t t
15814 s
,@srcdir@
,$ac_srcdir,;t t
15815 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
15816 s
,@top_srcdir@
,$ac_top_srcdir,;t t
15817 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
15818 s
,@builddir@
,$ac_builddir,;t t
15819 s
,@abs_builddir@
,$ac_abs_builddir,;t t
15820 s
,@top_builddir@
,$ac_top_builddir,;t t
15821 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
15822 s
,@INSTALL@
,$ac_INSTALL,;t t
15823 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
15825 if test x"$ac_file" != x-; then
15826 mv $tmp/out $ac_file
15834 cat >>$CONFIG_STATUS <<\_ACEOF
15837 # CONFIG_HEADER section.
15840 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
15841 # NAME is the cpp macro being defined and VALUE is the value it is being given.
15843 # ac_d sets the value in "#define NAME VALUE" lines.
15844 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
15845 ac_dB
='[ ].*$,\1#\2'
15848 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15849 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15850 ac_uB
='$,\1#\2define\3'
15854 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
15855 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15857 - |
*:- |
*:-:* ) # input from stdin
15859 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15860 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15861 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15862 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15863 * ) ac_file_in
=$ac_file.
in ;;
15866 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
15867 echo "$as_me: creating $ac_file" >&6;}
15869 # First look for the input files in the build tree, otherwise in the
15871 ac_file_inputs
=`IFS=:
15872 for f in $ac_file_in; do
15874 -) echo $tmp/stdin ;;
15876 # Absolute (can't be DOS-style, as IFS=:)
15877 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15878 echo "$as_me: error: cannot find input file: $f" >&2;}
15879 { (exit 1); exit 1; }; }
15880 # Do quote $f, to prevent DOS paths from being IFS'd.
15883 if test -f "$f"; then
15886 elif test -f "$srcdir/$f"; then
15891 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15892 echo "$as_me: error: cannot find input file: $f" >&2;}
15893 { (exit 1); exit 1; }; }
15896 done` ||
{ (exit 1); exit 1; }
15897 # Remove the trailing spaces.
15898 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
15902 # Transform confdefs.h into two sed scripts, `conftest.defines' and
15903 # `conftest.undefs', that substitutes the proper values into
15904 # config.h.in to produce config.h. The first handles `#define'
15905 # templates, and the second `#undef' templates.
15906 # And first: Protect against being on the right side of a sed subst in
15907 # config.status. Protect against being in an unquoted here document
15908 # in config.status.
15909 rm -f conftest.defines conftest.undefs
15910 # Using a here document instead of a string reduces the quoting nightmare.
15911 # Putting comments in sed scripts is not portable.
15913 # `end' is used to avoid that the second main sed command (meant for
15914 # 0-ary CPP macros) applies to n-ary macro definitions.
15915 # See the Autoconf documentation for `clear'.
15916 cat >confdef2sed.
sed <<\_ACEOF
15921 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
15923 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
15926 # If some macros were called several times there might be several times
15927 # the same #defines, which is useless. Nevertheless, we may not want to
15928 # sort them, since we want the *last* AC-DEFINE to be honored.
15929 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
15930 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
15931 rm -f confdef2sed.sed
15933 # This sed command replaces #undef with comments. This is necessary, for
15934 # example, in the case of _POSIX_SOURCE, which is predefined and required
15935 # on some systems where configure will not decide to define it.
15936 cat >>conftest.undefs <<\_ACEOF
15937 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
15940 # Break up conftest.defines because some shells have a limit on the size
15941 # of here documents, and old seds have small limits too (100 cmds).
15942 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
15943 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
15944 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
15945 echo ' :' >>$CONFIG_STATUS
15946 rm -f conftest.tail
15947 while grep . conftest.defines >/dev/null
15949 # Write a limited-size here document to $tmp/defines.sed.
15950 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
15951 # Speed up: don't consider the non `#define' lines.
15952 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
15953 # Work around the forget-to-reset-the-flag bug.
15954 echo 't clr' >>$CONFIG_STATUS
15955 echo ': clr' >>$CONFIG_STATUS
15956 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
15958 sed -f $tmp/defines.sed $tmp/in >$tmp/out
15960 mv $tmp/out $tmp/in
15962 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
15963 rm -f conftest.defines
15964 mv conftest.
tail conftest.defines
15966 rm -f conftest.defines
15967 echo ' fi # grep' >>$CONFIG_STATUS
15968 echo >>$CONFIG_STATUS
15970 # Break up conftest.undefs because some shells have a limit on the size
15971 # of here documents, and old seds have small limits too (100 cmds).
15972 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
15973 rm -f conftest.
tail
15974 while grep . conftest.undefs
>/dev
/null
15976 # Write a limited-size here document to $tmp/undefs.sed.
15977 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
15978 # Speed up: don't consider the non
`#undef'
15979 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
15980 # Work around the forget-to-reset-the-flag bug.
15981 echo 't clr' >>$CONFIG_STATUS
15982 echo ': clr' >>$CONFIG_STATUS
15983 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
15985 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
15987 mv $tmp/out $tmp/in
15989 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
15990 rm -f conftest.undefs
15991 mv conftest.tail conftest.undefs
15993 rm -f conftest.undefs
15995 cat >>$CONFIG_STATUS <<\_ACEOF
15996 # Let's still pretend it is `configure
' which instantiates (i.e., don't
15997 # use $as_me), people would be surprised to read:
15998 # /* config.h. Generated by config.status. */
15999 if test x
"$ac_file" = x-
; then
16000 echo "/* Generated by configure. */" >$tmp/config.h
16002 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
16004 cat $tmp/in >>$tmp/config.h
16006 if test x
"$ac_file" != x-
; then
16007 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
16008 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16009 echo "$as_me: $ac_file is unchanged" >&6;}
16011 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
16012 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16013 X"$ac_file" : 'X\(//\)[^/]' \| \
16014 X"$ac_file" : 'X\(//\)$' \| \
16015 X"$ac_file" : 'X\(/\)' \| \
16016 . : '\(.\)' 2>/dev/null ||
16018 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16019 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16020 /^X\(\/\/\)$/{ s//\1/; q; }
16021 /^X\(\/\).*/{ s//\1/; q; }
16023 { if $as_mkdir_p; then
16028 while test ! -d "$as_dir"; do
16029 as_dirs
="$as_dir $as_dirs"
16030 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16031 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16032 X"$as_dir" : 'X\(//\)[^/]' \| \
16033 X"$as_dir" : 'X\(//\)$' \| \
16034 X"$as_dir" : 'X\(/\)' \| \
16035 . : '\(.\)' 2>/dev/null ||
16037 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16038 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16039 /^X\(\/\/\)$/{ s//\1/; q; }
16040 /^X\(\/\).*/{ s//\1/; q; }
16043 test ! -n "$as_dirs" || mkdir
$as_dirs
16044 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16045 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16046 { (exit 1); exit 1; }; }; }
16049 mv $tmp/config.h
$ac_file
16053 rm -f $tmp/config.h
16057 cat >>$CONFIG_STATUS <<\_ACEOF
16060 # CONFIG_LINKS section.
16063 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
16064 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
16065 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16067 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
16068 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
16070 if test ! -r $srcdir/$ac_source; then
16071 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
16072 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
16073 { (exit 1); exit 1; }; }
16077 # Make relative symlinks.
16078 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
16079 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16080 X"$ac_dest" : 'X\(//\)[^/]' \| \
16081 X"$ac_dest" : 'X\(//\)$' \| \
16082 X"$ac_dest" : 'X\(/\)' \| \
16083 . : '\(.\)' 2>/dev/null ||
16085 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16086 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16087 /^X\(\/\/\)$/{ s//\1/; q; }
16088 /^X\(\/\).*/{ s//\1/; q; }
16090 { if $as_mkdir_p; then
16091 mkdir
-p "$ac_dest_dir"
16093 as_dir
="$ac_dest_dir"
16095 while test ! -d "$as_dir"; do
16096 as_dirs
="$as_dir $as_dirs"
16097 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16098 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16099 X"$as_dir" : 'X\(//\)[^/]' \| \
16100 X"$as_dir" : 'X\(//\)$' \| \
16101 X"$as_dir" : 'X\(/\)' \| \
16102 . : '\(.\)' 2>/dev/null ||
16104 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16105 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16106 /^X\(\/\/\)$/{ s//\1/; q; }
16107 /^X\(\/\).*/{ s//\1/; q; }
16110 test ! -n "$as_dirs" || mkdir
$as_dirs
16111 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
16112 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
16113 { (exit 1); exit 1; }; }; }
16117 if test "$ac_dest_dir" != .
; then
16118 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
16119 # A "../" for each directory in $ac_dir_suffix.
16120 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16122 ac_dir_suffix
= ac_top_builddir
=
16126 .
) # No --srcdir option. We are building in place.
16128 if test -z "$ac_top_builddir"; then
16131 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
16133 [\\/]* | ?
:[\\/]* ) # Absolute path.
16134 ac_srcdir
=$srcdir$ac_dir_suffix;
16135 ac_top_srcdir
=$srcdir ;;
16136 *) # Relative path.
16137 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
16138 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
16141 # Do not use `cd foo && pwd` to compute absolute paths, because
16142 # the directories may not exist.
16144 .
) ac_abs_builddir
="$ac_dest_dir";;
16146 case "$ac_dest_dir" in
16147 .
) ac_abs_builddir
=`pwd`;;
16148 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
16149 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
16152 case $ac_abs_builddir in
16153 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16155 case ${ac_top_builddir}.
in
16156 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
16157 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16158 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
16161 case $ac_abs_builddir in
16162 .
) ac_abs_srcdir
=$ac_srcdir;;
16165 .
) ac_abs_srcdir
=$ac_abs_builddir;;
16166 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
16167 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
16170 case $ac_abs_builddir in
16171 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
16173 case $ac_top_srcdir in
16174 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
16175 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
16176 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
16182 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
16183 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
16186 # Try a symlink, then a hard link, then a copy.
16187 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
16188 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
16189 cp -p $srcdir/$ac_source $ac_dest ||
16190 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
16191 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
16192 { (exit 1); exit 1; }; }
16195 cat >>$CONFIG_STATUS <<\_ACEOF
16198 # CONFIG_COMMANDS section.
16200 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
16201 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
16202 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16203 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
16204 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16205 X"$ac_dest" : 'X\(//\)[^/]' \| \
16206 X"$ac_dest" : 'X\(//\)$' \| \
16207 X"$ac_dest" : 'X\(/\)' \| \
16208 . : '\(.\)' 2>/dev/null ||
16210 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16211 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16212 /^X\(\/\/\)$/{ s//\1/; q; }
16213 /^X\(\/\).*/{ s//\1/; q; }
16215 { if $as_mkdir_p; then
16220 while test ! -d "$as_dir"; do
16221 as_dirs
="$as_dir $as_dirs"
16222 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16223 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16224 X"$as_dir" : 'X\(//\)[^/]' \| \
16225 X"$as_dir" : 'X\(//\)$' \| \
16226 X"$as_dir" : 'X\(/\)' \| \
16227 . : '\(.\)' 2>/dev/null ||
16229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16230 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16231 /^X\(\/\/\)$/{ s//\1/; q; }
16232 /^X\(\/\).*/{ s//\1/; q; }
16235 test ! -n "$as_dirs" || mkdir
$as_dirs
16236 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16237 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16238 { (exit 1); exit 1; }; }; }
16242 if test "$ac_dir" != .
; then
16243 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16244 # A "../" for each directory in $ac_dir_suffix.
16245 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16247 ac_dir_suffix
= ac_top_builddir
=
16251 .
) # No --srcdir option. We are building in place.
16253 if test -z "$ac_top_builddir"; then
16256 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
16258 [\\/]* | ?
:[\\/]* ) # Absolute path.
16259 ac_srcdir
=$srcdir$ac_dir_suffix;
16260 ac_top_srcdir
=$srcdir ;;
16261 *) # Relative path.
16262 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
16263 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
16266 # Do not use `cd foo && pwd` to compute absolute paths, because
16267 # the directories may not exist.
16269 .
) ac_abs_builddir
="$ac_dir";;
16272 .
) ac_abs_builddir
=`pwd`;;
16273 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
16274 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
16277 case $ac_abs_builddir in
16278 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16280 case ${ac_top_builddir}.
in
16281 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
16282 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16283 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
16286 case $ac_abs_builddir in
16287 .
) ac_abs_srcdir
=$ac_srcdir;;
16290 .
) ac_abs_srcdir
=$ac_abs_builddir;;
16291 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
16292 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
16295 case $ac_abs_builddir in
16296 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
16298 case $ac_top_srcdir in
16299 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
16300 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
16301 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
16306 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
16307 echo "$as_me: executing $ac_dest commands" >&6;}
16309 default-1
) am_indx
=1
16310 for am_file
in include
/config.h gcj
/libgcj-config.h
; do
16311 case " $CONFIG_HEADERS " in
16313 echo timestamp
> `echo $am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h
$am_indx
16316 am_indx
=`expr "$am_indx" + 1`
16318 default
) # Only add multilib support code if we just rebuilt top-level Makefile.
16319 case " $CONFIG_FILES " in
16321 LD
="${ORIGINAL_LD_FOR_MULTILIBS}"
16322 ac_file
=Makefile .
${libgcj_basedir}/..
/config-ml.
in
16326 # Make subdirectories and `.d' files. Look in both srcdir and
16327 # builddir for the .java files.
16330 ( (cd $srcdir && find . \
( -name '*.java' -o -name '*.cc' -o -name '*.c' \
) -print) ;
16331 find . \
( -name '*.java' -o -name '*.cc' -o -name '*.c' \
) -print) | \
16332 fgrep
-v testsuite | \
16333 sed -e 's/\.java/.d/'\
;'s/\.cc/.d/'\
;'s/\.c/.d/' | \
16335 echo "include $f" >> deps.mk
16337 d
=`echo $f | sed -e 's,/[^/]*$,,'`
16338 if test ! -d $d; then
16339 $libgcj_basedir/..
/mkinstalldirs
$d
16349 cat >>$CONFIG_STATUS <<\_ACEOF
16351 { (exit 0); exit 0; }
16353 chmod +x
$CONFIG_STATUS
16354 ac_clean_files
=$ac_clean_files_save
16357 # configure is writing to config.log, and then calls config.status.
16358 # config.status does its own redirection, appending to config.log.
16359 # Unfortunately, on DOS this fails, as config.log is still kept open
16360 # by configure, so config.status won't be able to write to it; its
16361 # output is simply discarded. So we exec the FD to /dev/null,
16362 # effectively closing config.log, so it can be properly (re)opened and
16363 # appended to by config.status. When coming back to configure, we
16364 # need to make the FD available again.
16365 if test "$no_create" != yes; then
16367 ac_config_status_args
=
16368 test "$silent" = yes &&
16369 ac_config_status_args
="$ac_config_status_args --quiet"
16371 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16373 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16374 # would make configure fail if this is the last instruction.
16375 $ac_cs_success ||
{ (exit 1); exit 1; }
16379 # CONFIG_SUBDIRS section.
16381 if test "$no_recursion" != yes; then
16383 # Remove --cache-file and --srcdir arguments so they do not pile up.
16384 ac_sub_configure_args
=
16386 for ac_arg
in $ac_configure_args; do
16387 if test -n "$ac_prev"; then
16392 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
16393 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
16394 ac_prev
=cache_file
;;
16395 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
16396 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
16399 --config-cache |
-C)
16401 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
16403 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
16405 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
16407 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
16409 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
16413 # Always prepend --prefix to ensure using the same prefix
16414 # in subdir configurations.
16415 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
16418 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
16420 # Do not complain, so a configure script can configure whichever
16421 # parts of a large source tree are present.
16422 test -d $srcdir/$ac_dir ||
continue
16424 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
16425 echo "$as_me: configuring in $ac_dir" >&6;}
16426 { if $as_mkdir_p; then
16431 while test ! -d "$as_dir"; do
16432 as_dirs
="$as_dir $as_dirs"
16433 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16434 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16435 X"$as_dir" : 'X\(//\)[^/]' \| \
16436 X"$as_dir" : 'X\(//\)$' \| \
16437 X"$as_dir" : 'X\(/\)' \| \
16438 . : '\(.\)' 2>/dev/null ||
16440 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16441 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16442 /^X\(\/\/\)$/{ s//\1/; q; }
16443 /^X\(\/\).*/{ s//\1/; q; }
16446 test ! -n "$as_dirs" || mkdir
$as_dirs
16447 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16448 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16449 { (exit 1); exit 1; }; }; }
16453 if test "$ac_dir" != .
; then
16454 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16455 # A "../" for each directory in $ac_dir_suffix.
16456 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16458 ac_dir_suffix
= ac_top_builddir
=
16462 .
) # No --srcdir option. We are building in place.
16464 if test -z "$ac_top_builddir"; then
16467 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
16469 [\\/]* | ?
:[\\/]* ) # Absolute path.
16470 ac_srcdir
=$srcdir$ac_dir_suffix;
16471 ac_top_srcdir
=$srcdir ;;
16472 *) # Relative path.
16473 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
16474 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
16477 # Do not use `cd foo && pwd` to compute absolute paths, because
16478 # the directories may not exist.
16480 .
) ac_abs_builddir
="$ac_dir";;
16483 .
) ac_abs_builddir
=`pwd`;;
16484 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
16485 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
16488 case $ac_abs_builddir in
16489 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16491 case ${ac_top_builddir}.
in
16492 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
16493 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16494 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
16497 case $ac_abs_builddir in
16498 .
) ac_abs_srcdir
=$ac_srcdir;;
16501 .
) ac_abs_srcdir
=$ac_abs_builddir;;
16502 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
16503 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
16506 case $ac_abs_builddir in
16507 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
16509 case $ac_top_srcdir in
16510 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
16511 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
16512 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
16519 # Check for guested configure; otherwise get Cygnus style configure.
16520 if test -f $ac_srcdir/configure.gnu
; then
16521 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
16522 elif test -f $ac_srcdir/configure
; then
16523 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
16524 elif test -f $ac_srcdir/configure.
in; then
16525 ac_sub_configure
=$ac_configure
16527 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
16528 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16532 # The recursion is here.
16533 if test -n "$ac_sub_configure"; then
16534 # Make the cache file name correct relative to the subdirectory.
16535 case $cache_file in
16536 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
16537 *) # Relative path.
16538 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
16541 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
16542 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16543 # The eval makes quoting arguments work.
16544 eval $ac_sub_configure $ac_sub_configure_args \
16545 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
16546 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
16547 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
16548 { (exit 1); exit 1; }; }