2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libjava version-unused.
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.
268 PACKAGE_NAME
='libjava'
269 PACKAGE_TARNAME
='libjava'
270 PACKAGE_VERSION
='version-unused'
271 PACKAGE_STRING
='libjava version-unused'
274 ac_unique_file
="java/lang/System.java"
275 ac_subdirs_all
="$ac_subdirs_all libltdl"
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 build build_cpu build_vendor build_os build_subdir host_subdir target_subdir libgcj_basedir 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 CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE 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 LIBGCJ_LD_SYMBOLIC INCLTDL LIBLTDL DIRLTDL LIBTOOL CXXCPP CPPFLAGS GCJ GCJFLAGS GCJDEPMODE am__fastdepGCJ_TRUE am__fastdepGCJ_FALSE subdirs TESTSUBDIR_TRUE TESTSUBDIR_FALSE ONESTEP_TRUE ONESTEP_FALSE JAVA_HOME_SET_TRUE JAVA_HOME_SET_FALSE JAVA_HOME LIBGCJDEBUG INTERPRETER LIBFFI LIBFFIINCS PLATFORM_INNER_NAT_HDRS CPP EGREP USING_WIN32_PLATFORM_TRUE USING_WIN32_PLATFORM_FALSE USING_POSIX_PLATFORM_TRUE USING_POSIX_PLATFORM_FALSE USING_ECOS_PLATFORM_TRUE USING_ECOS_PLATFORM_FALSE USING_DARWIN_CRT_TRUE USING_DARWIN_CRT_FALSE 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 GCSPEC JC1GCSPEC GCTESTSPEC USING_BOEHMGC_TRUE USING_BOEHMGC_FALSE USING_NOGC_TRUE USING_NOGC_FALSE THREADLIBS THREADINCS THREADDEPS THREADSPEC THREADLDFLAGS THREADCXXFLAGS USING_POSIX_THREADS_TRUE USING_POSIX_THREADS_FALSE USING_WIN32_THREADS_TRUE USING_WIN32_THREADS_FALSE USING_NO_THREADS_TRUE USING_NO_THREADS_FALSE HASH_SYNC_SPEC USING_GCC_TRUE USING_GCC_FALSE LIBICONV LTLIBICONV GTK_CFLAGS GTK_LIBS GLIB_CFLAGS GLIB_LIBS LIBART_CFLAGS LIBART_LIBS SUPPLY_BACKTRACE_TRUE SUPPLY_BACKTRACE_FALSE GCJH ZIP CLASSPATH_SEPARATOR ac_ct_GCJ 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 gxx_include_dir libstdcxx_incdir 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 libjava version-unused 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
844 case $ac_init_help in
845 short | recursive
) echo "Configuration of libjava version-unused:";;
850 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
851 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
852 --enable-version-specific-runtime-libs
853 specify that runtime libraries should be installed
854 in a compiler-specific directory
855 --enable-multilib build many library versions
(default
)
856 --disable-dependency-tracking speeds up one-time build
857 --enable-dependency-tracking do not reject slow dependency extractors
858 --enable-maintainer-mode enable make rules and dependencies not useful
859 (and sometimes confusing
) to the casual installer
860 --enable-shared=PKGS build shared libraries default
=yes
861 --enable-static=PKGS build static libraries default
=yes
862 --enable-fast-install=PKGS optimize
for fast installation default
=yes
863 --disable-libtool-lock avoid locking
(might
break parallel builds
)
864 --disable-getenv-properties
865 don
't set system properties from GCJ_PROPERTIES
866 --enable-hash-synchronization
867 use global hash table for monitor locks
868 --enable-libgcj-multifile
869 allow compilation of several files at once
871 --enable-libgcj-debug enable runtime debugging code
872 --enable-gc-debug include full support for pointer backtracing etc.
873 --enable-interpreter enable interpreter
874 --enable-sjlj-exceptions
875 force use of builtin_setjmp for exceptions
876 --disable-java-net disable java.net
877 --disable-jvmpi disable JVMPI support
878 --enable-java-awt list of AWT peer implementations to be built
879 --enable-gtk-cairo build the cairo Graphics2D implementation on GTK
880 --enable-java-gc=TYPE choose garbage collector (default is boehm)
881 --disable-rpath do not hardcode runtime library paths
884 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
885 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
886 --with-target-subdir=SUBDIR
887 configure in a subdirectory
888 --with-cross-host=HOST configure with a cross compiler from HOST
889 --with-newlib configure with newlib
890 --with-gnu-ld assume the C compiler uses GNU ld default=no
891 --with-pic try to use only PIC/non-PIC objects default=use both
892 --with-java-home=DIRECTORY
893 value of java.home system property
894 --with-win32-nlsapi=ansi or unicows or unicode
895 native MinGW libgcj Win32 OS API (default is ansi)
896 --without-libffi don't use libffi
897 --with-ecos enable runtime eCos target support
898 --with-system-zlib use installed libz
899 --with-x use the X Window System
900 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
901 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
903 Some influential environment variables:
904 CC C compiler command
905 CFLAGS C compiler flags
906 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
907 nonstandard directory <lib dir>
908 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
909 headers in a nonstandard directory <include dir>
910 CXX C++ compiler command
911 CXXFLAGS C++ compiler flags
912 CXXCPP C++ preprocessor
915 Use these variables to override the choices made by `configure' or to
help
916 it to
find libraries and programs with nonstandard names
/locations.
921 if test "$ac_init_help" = "recursive"; then
922 # If there are subdirs, report their specific --help.
924 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
925 test -d $ac_dir ||
continue
928 if test "$ac_dir" != .
; then
929 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
930 # A "../" for each directory in $ac_dir_suffix.
931 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
933 ac_dir_suffix
= ac_top_builddir
=
937 .
) # No --srcdir option. We are building in place.
939 if test -z "$ac_top_builddir"; then
942 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
944 [\\/]* | ?
:[\\/]* ) # Absolute path.
945 ac_srcdir
=$srcdir$ac_dir_suffix;
946 ac_top_srcdir
=$srcdir ;;
948 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
949 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
952 # Do not use `cd foo && pwd` to compute absolute paths, because
953 # the directories may not exist.
955 .
) ac_abs_builddir
="$ac_dir";;
958 .
) ac_abs_builddir
=`pwd`;;
959 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
960 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
963 case $ac_abs_builddir in
964 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
966 case ${ac_top_builddir}.
in
967 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
968 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
969 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
972 case $ac_abs_builddir in
973 .
) ac_abs_srcdir
=$ac_srcdir;;
976 .
) ac_abs_srcdir
=$ac_abs_builddir;;
977 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
978 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
981 case $ac_abs_builddir in
982 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
984 case $ac_top_srcdir in
985 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
986 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
987 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
992 # Check for guested configure; otherwise get Cygnus style configure.
993 if test -f $ac_srcdir/configure.gnu
; then
995 $SHELL $ac_srcdir/configure.gnu
--help=recursive
996 elif test -f $ac_srcdir/configure
; then
998 $SHELL $ac_srcdir/configure
--help=recursive
999 elif test -f $ac_srcdir/configure.ac ||
1000 test -f $ac_srcdir/configure.
in; then
1002 $ac_configure --help
1004 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1010 test -n "$ac_init_help" && exit 0
1011 if $ac_init_version; then
1013 libjava configure version-unused
1014 generated by GNU Autoconf
2.59
1016 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1017 This configure
script is free software
; the Free Software Foundation
1018 gives unlimited permission to copy
, distribute and modify it.
1024 This file contains any messages produced by compilers while
1025 running configure, to aid debugging if configure makes a mistake.
1027 It was created by libjava $as_me version-unused, which was
1028 generated by GNU Autoconf 2.59. Invocation command line was
1039 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1040 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1041 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1042 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1043 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1045 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1046 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1048 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1049 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1050 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1051 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1052 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1053 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1054 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1062 test -z "$as_dir" && as_dir
=.
1063 echo "PATH: $as_dir"
1078 # Keep a trace of the command line.
1079 # Strip out --no-create and --no-recursion so they do not pile up.
1080 # Strip out --silent because we don't want to record it for future runs.
1081 # Also quote any args containing shell meta-characters.
1082 # Make two passes to allow for proper duplicate-argument suppression.
1087 ac_must_keep_next
=false
1093 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1094 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1095 |
-silent |
--silent |
--silen |
--sile |
--sil)
1097 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1098 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1101 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1103 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1104 if test $ac_must_keep_next = true
; then
1105 ac_must_keep_next
=false
# Got value, back to normal.
1108 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1109 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1110 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1111 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1112 case "$ac_configure_args0 " in
1113 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1116 -* ) ac_must_keep_next
=true
;;
1119 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1120 # Get rid of the leading space.
1126 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1127 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1129 # When interrupted or exit'd, cleanup temporary files, and complete
1130 # config.log. We remove comments because anyway the quotes in there
1131 # would cause problems or look ugly.
1132 # WARNING: Be sure not to use single quotes in there, as some shells,
1133 # such as our DU 5.0 friend, will then `close' the trap.
1134 trap 'exit_status=$?
1135 # Save into config.log some information that might help in debugging.
1140 ## ---------------- ##
1141 ## Cache variables. ##
1142 ## ---------------- ##
1145 # The following way of writing the cache mishandles newlines in values,
1148 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1151 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1152 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1156 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1163 ## ----------------- ##
1164 ## Output variables. ##
1165 ## ----------------- ##
1168 for ac_var in $ac_subst_vars
1170 eval ac_val=$`echo $ac_var`
1171 echo "$ac_var='"'"'$ac_val'"'"'"
1175 if test -n "$ac_subst_files"; then
1182 for ac_var in $ac_subst_files
1184 eval ac_val=$`echo $ac_var`
1185 echo "$ac_var='"'"'$ac_val'"'"'"
1190 if test -s confdefs.h; then
1197 sed "/^$/d" confdefs.h | sort
1200 test "$ac_signal" != 0 &&
1201 echo "$as_me: caught signal $ac_signal"
1202 echo "$as_me: exit $exit_status"
1204 rm -f core *.core &&
1205 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1208 for ac_signal
in 1 2 13 15; do
1209 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1213 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1214 rm -rf conftest
* confdefs.h
1215 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1218 # Predefined preprocessor variables.
1220 cat >>confdefs.h
<<_ACEOF
1221 #define PACKAGE_NAME "$PACKAGE_NAME"
1225 cat >>confdefs.h
<<_ACEOF
1226 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1230 cat >>confdefs.h
<<_ACEOF
1231 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1235 cat >>confdefs.h
<<_ACEOF
1236 #define PACKAGE_STRING "$PACKAGE_STRING"
1240 cat >>confdefs.h
<<_ACEOF
1241 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1245 # Let the site file select an alternate cache file if it wants to.
1246 # Prefer explicitly selected file to automatically selected ones.
1247 if test -z "$CONFIG_SITE"; then
1248 if test "x$prefix" != xNONE
; then
1249 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1251 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1254 for ac_site_file
in $CONFIG_SITE; do
1255 if test -r "$ac_site_file"; then
1256 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1257 echo "$as_me: loading site script $ac_site_file" >&6;}
1258 sed 's/^/| /' "$ac_site_file" >&5
1263 if test -r "$cache_file"; then
1264 # Some versions of bash will fail to source /dev/null (special
1265 # files actually), so we avoid doing that.
1266 if test -f "$cache_file"; then
1267 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1268 echo "$as_me: loading cache $cache_file" >&6;}
1270 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1271 *) . .
/$cache_file;;
1275 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1276 echo "$as_me: creating cache $cache_file" >&6;}
1280 # Check that the precious variables saved in the cache have kept the same
1282 ac_cache_corrupted
=false
1283 for ac_var
in `(set) 2>&1 |
1284 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1285 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1286 eval ac_new_set
=\
$ac_env_${ac_var}_set
1287 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1288 eval ac_new_val
="\$ac_env_${ac_var}_value"
1289 case $ac_old_set,$ac_new_set in
1291 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1292 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1293 ac_cache_corrupted
=: ;;
1295 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1296 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1297 ac_cache_corrupted
=: ;;
1300 if test "x$ac_old_val" != "x$ac_new_val"; then
1301 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1302 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1303 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1304 echo "$as_me: former value: $ac_old_val" >&2;}
1305 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1306 echo "$as_me: current value: $ac_new_val" >&2;}
1307 ac_cache_corrupted
=:
1310 # Pass precious variables to config.status.
1311 if test "$ac_new_set" = set; then
1313 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1314 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1315 *) ac_arg
=$ac_var=$ac_new_val ;;
1317 case " $ac_configure_args " in
1318 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1319 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1323 if $ac_cache_corrupted; then
1324 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1325 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1326 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1327 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1328 { (exit 1); exit 1; }; }
1332 ac_cpp
='$CPP $CPPFLAGS'
1333 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1334 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1335 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1367 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1368 if test -f $ac_dir/install-sh
; then
1370 ac_install_sh
="$ac_aux_dir/install-sh -c"
1372 elif test -f $ac_dir/install.sh
; then
1374 ac_install_sh
="$ac_aux_dir/install.sh -c"
1376 elif test -f $ac_dir/shtool
; then
1378 ac_install_sh
="$ac_aux_dir/shtool install -c"
1382 if test -z "$ac_aux_dir"; then
1383 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1384 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1385 { (exit 1); exit 1; }; }
1387 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1388 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1389 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1391 # Make sure we can run config.sub.
1392 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1393 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1394 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1395 { (exit 1); exit 1; }; }
1397 echo "$as_me:$LINENO: checking build system type" >&5
1398 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1399 if test "${ac_cv_build+set}" = set; then
1400 echo $ECHO_N "(cached) $ECHO_C" >&6
1402 ac_cv_build_alias
=$build_alias
1403 test -z "$ac_cv_build_alias" &&
1404 ac_cv_build_alias
=`$ac_config_guess`
1405 test -z "$ac_cv_build_alias" &&
1406 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1407 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1408 { (exit 1); exit 1; }; }
1409 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1410 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1411 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1412 { (exit 1); exit 1; }; }
1415 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1416 echo "${ECHO_T}$ac_cv_build" >&6
1418 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1419 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1420 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1423 case ${build_alias} in
1424 "") build_noncanonical
=${build} ;;
1425 *) build_noncanonical
=${build_alias} ;;
1428 case ${host_alias} in
1429 "") host_noncanonical
=${build_noncanonical} ;;
1430 *) host_noncanonical
=${host_alias} ;;
1433 case ${target_alias} in
1434 "") target_noncanonical
=${host_noncanonical} ;;
1435 *) target_noncanonical
=${target_alias} ;;
1438 # Prefix 'build-' so this never conflicts with target_subdir.
1439 build_subdir
="build-${build_noncanonical}"
1440 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1441 if ( test $srcdir = .
&& test -d gcc
) \
1442 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1443 host_subdir
="host-${host_noncanonical}"
1448 target_subdir
=${target_noncanonical}
1451 # We use these options to decide which functions to include.
1453 # Check whether --with-target-subdir or --without-target-subdir was given.
1454 if test "${with_target_subdir+set}" = set; then
1455 withval
="$with_target_subdir"
1459 # We may get other options which we don't document:
1460 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1462 # When building with srcdir == objdir, links to the source files will
1463 # be created in directories within the target_subdir. We have to
1464 # adjust toplevel_srcdir accordingly, so that configure finds
1465 # install-sh and other auxiliary files that live in the top-level
1467 if test "${srcdir}" = "."; then
1468 if test -z "${with_target_subdir}"; then
1471 if test "${with_target_subdir}" != "."; then
1472 toprel
="${with_multisrctop}../.."
1474 toprel
="${with_multisrctop}.."
1481 libgcj_basedir
=$srcdir/$toprel/.
/libjava
1484 echo "$as_me:$LINENO: checking host system type" >&5
1485 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1486 if test "${ac_cv_host+set}" = set; then
1487 echo $ECHO_N "(cached) $ECHO_C" >&6
1489 ac_cv_host_alias
=$host_alias
1490 test -z "$ac_cv_host_alias" &&
1491 ac_cv_host_alias
=$ac_cv_build_alias
1492 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1493 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1494 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1495 { (exit 1); exit 1; }; }
1498 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1499 echo "${ECHO_T}$ac_cv_host" >&6
1501 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1502 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1503 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1506 echo "$as_me:$LINENO: checking target system type" >&5
1507 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1508 if test "${ac_cv_target+set}" = set; then
1509 echo $ECHO_N "(cached) $ECHO_C" >&6
1511 ac_cv_target_alias
=$target_alias
1512 test "x$ac_cv_target_alias" = "x" &&
1513 ac_cv_target_alias
=$ac_cv_host_alias
1514 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1515 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1516 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1517 { (exit 1); exit 1; }; }
1520 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1521 echo "${ECHO_T}$ac_cv_target" >&6
1522 target
=$ac_cv_target
1523 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1524 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1525 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1528 # The aliases save the names the user supplied, while $host etc.
1529 # will get canonicalized.
1530 test -n "$target_alias" &&
1531 test "$program_prefix$program_suffix$program_transform_name" = \
1533 program_prefix
=${target_alias}-
1534 case ${build_alias} in
1535 "") build_noncanonical
=${build} ;;
1536 *) build_noncanonical
=${build_alias} ;;
1539 case ${target_alias} in
1540 "") target_noncanonical
=${host_noncanonical} ;;
1541 *) target_noncanonical
=${target_alias} ;;
1547 # This works around the fact that libtool configuration may change LD
1548 # for this particular configuration, but some shells, instead of
1549 # keeping the changes in LD private, export them just because LD is
1551 ORIGINAL_LD_FOR_MULTILIBS
=$LD
1553 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1554 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1556 if test "$LN_S" = "ln -s"; then
1557 echo "$as_me:$LINENO: result: yes" >&5
1558 echo "${ECHO_T}yes" >&6
1560 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1561 echo "${ECHO_T}no, using $LN_S" >&6
1565 # This works around an automake problem.
1566 mkinstalldirs
="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
1570 # Check whether --with-cross-host or --without-cross-host was given.
1571 if test "${with_cross_host+set}" = set; then
1572 withval
="$with_cross_host"
1577 # Check whether --with-newlib or --without-newlib was given.
1578 if test "${with_newlib+set}" = set; then
1579 withval
="$with_newlib"
1583 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1584 if test "${enable_version_specific_runtime_libs+set}" = set; then
1585 enableval
="$enable_version_specific_runtime_libs"
1586 case "$enableval" in
1587 yes) version_specific_libs
=yes ;;
1588 no
) version_specific_libs
=no
;;
1589 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1590 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1591 { (exit 1); exit 1; }; };;
1594 version_specific_libs
=no
1598 # Default to --enable-multilib
1599 # Check whether --enable-multilib or --disable-multilib was given.
1600 if test "${enable_multilib+set}" = set; then
1601 enableval
="$enable_multilib"
1602 case "${enableval}" in
1603 yes) multilib
=yes ;;
1605 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
1606 echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
1607 { (exit 1); exit 1; }; } ;;
1612 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
1615 # (1) We use an abnormal CXX (without library references), so we
1616 # must cache it under a different name.
1617 # (2) CC, CFLAGS, CXX, CXXFLAGS, LDFLAGS must not be 'precious', or
1618 # the non-multilib-adjusted value will be used in multilibs.
1619 # (3) As a side effect, we must SUBST CXXFLAGS, CFLAGS, and LDFLAGS ourselves.
1620 # (4) As another side effect, automake doesn't automatically include them
1622 # (5) For libstdc++-v3, -fno-builtin must be present here so that a
1623 # non-conflicting form of std::exit can be guessed by AC_PROG_CXX, and
1624 # used in later tests. This may not be necessary in libjava; I don't know.
1628 save_CXXFLAGS
="$CXXFLAGS"
1629 CXXFLAGS
="$CXXFLAGS -fno-builtin"
1631 ac_cpp
='$CPP $CPPFLAGS'
1632 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1633 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1634 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1635 if test -n "$ac_tool_prefix"; then
1636 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1637 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1638 echo "$as_me:$LINENO: checking for $ac_word" >&5
1639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1640 if test "${ac_cv_prog_CC+set}" = set; then
1641 echo $ECHO_N "(cached) $ECHO_C" >&6
1643 if test -n "$CC"; then
1644 ac_cv_prog_CC
="$CC" # Let the user override the test.
1646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1650 test -z "$as_dir" && as_dir
=.
1651 for ac_exec_ext
in '' $ac_executable_extensions; do
1652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1653 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1663 if test -n "$CC"; then
1664 echo "$as_me:$LINENO: result: $CC" >&5
1665 echo "${ECHO_T}$CC" >&6
1667 echo "$as_me:$LINENO: result: no" >&5
1668 echo "${ECHO_T}no" >&6
1672 if test -z "$ac_cv_prog_CC"; then
1674 # Extract the first word of "gcc", so it can be a program name with args.
1675 set dummy gcc
; ac_word
=$2
1676 echo "$as_me:$LINENO: checking for $ac_word" >&5
1677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1678 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1679 echo $ECHO_N "(cached) $ECHO_C" >&6
1681 if test -n "$ac_ct_CC"; then
1682 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1688 test -z "$as_dir" && as_dir
=.
1689 for ac_exec_ext
in '' $ac_executable_extensions; do
1690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1691 ac_cv_prog_ac_ct_CC
="gcc"
1692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1700 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1701 if test -n "$ac_ct_CC"; then
1702 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1703 echo "${ECHO_T}$ac_ct_CC" >&6
1705 echo "$as_me:$LINENO: result: no" >&5
1706 echo "${ECHO_T}no" >&6
1714 if test -z "$CC"; then
1715 if test -n "$ac_tool_prefix"; then
1716 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1717 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1718 echo "$as_me:$LINENO: checking for $ac_word" >&5
1719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1720 if test "${ac_cv_prog_CC+set}" = set; then
1721 echo $ECHO_N "(cached) $ECHO_C" >&6
1723 if test -n "$CC"; then
1724 ac_cv_prog_CC
="$CC" # Let the user override the test.
1726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1730 test -z "$as_dir" && as_dir
=.
1731 for ac_exec_ext
in '' $ac_executable_extensions; do
1732 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1733 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1743 if test -n "$CC"; then
1744 echo "$as_me:$LINENO: result: $CC" >&5
1745 echo "${ECHO_T}$CC" >&6
1747 echo "$as_me:$LINENO: result: no" >&5
1748 echo "${ECHO_T}no" >&6
1752 if test -z "$ac_cv_prog_CC"; then
1754 # Extract the first word of "cc", so it can be a program name with args.
1755 set dummy cc
; ac_word
=$2
1756 echo "$as_me:$LINENO: checking for $ac_word" >&5
1757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1758 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1759 echo $ECHO_N "(cached) $ECHO_C" >&6
1761 if test -n "$ac_ct_CC"; then
1762 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1768 test -z "$as_dir" && as_dir
=.
1769 for ac_exec_ext
in '' $ac_executable_extensions; do
1770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1771 ac_cv_prog_ac_ct_CC
="cc"
1772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1780 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1781 if test -n "$ac_ct_CC"; then
1782 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1783 echo "${ECHO_T}$ac_ct_CC" >&6
1785 echo "$as_me:$LINENO: result: no" >&5
1786 echo "${ECHO_T}no" >&6
1795 if test -z "$CC"; then
1796 # Extract the first word of "cc", so it can be a program name with args.
1797 set dummy cc
; ac_word
=$2
1798 echo "$as_me:$LINENO: checking for $ac_word" >&5
1799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1800 if test "${ac_cv_prog_CC+set}" = set; then
1801 echo $ECHO_N "(cached) $ECHO_C" >&6
1803 if test -n "$CC"; then
1804 ac_cv_prog_CC
="$CC" # Let the user override the test.
1807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1811 test -z "$as_dir" && as_dir
=.
1812 for ac_exec_ext
in '' $ac_executable_extensions; do
1813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1814 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1815 ac_prog_rejected
=yes
1819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1825 if test $ac_prog_rejected = yes; then
1826 # We found a bogon in the path, so make sure we never use it.
1827 set dummy
$ac_cv_prog_CC
1829 if test $# != 0; then
1830 # We chose a different compiler from the bogus one.
1831 # However, it has the same basename, so the bogon will be chosen
1832 # first if we set CC to just the basename; use the full file name.
1834 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1840 if test -n "$CC"; then
1841 echo "$as_me:$LINENO: result: $CC" >&5
1842 echo "${ECHO_T}$CC" >&6
1844 echo "$as_me:$LINENO: result: no" >&5
1845 echo "${ECHO_T}no" >&6
1849 if test -z "$CC"; then
1850 if test -n "$ac_tool_prefix"; then
1853 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1854 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1855 echo "$as_me:$LINENO: checking for $ac_word" >&5
1856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1857 if test "${ac_cv_prog_CC+set}" = set; then
1858 echo $ECHO_N "(cached) $ECHO_C" >&6
1860 if test -n "$CC"; then
1861 ac_cv_prog_CC
="$CC" # Let the user override the test.
1863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1867 test -z "$as_dir" && as_dir
=.
1868 for ac_exec_ext
in '' $ac_executable_extensions; do
1869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1870 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1880 if test -n "$CC"; then
1881 echo "$as_me:$LINENO: result: $CC" >&5
1882 echo "${ECHO_T}$CC" >&6
1884 echo "$as_me:$LINENO: result: no" >&5
1885 echo "${ECHO_T}no" >&6
1888 test -n "$CC" && break
1891 if test -z "$CC"; then
1895 # Extract the first word of "$ac_prog", so it can be a program name with args.
1896 set dummy
$ac_prog; ac_word
=$2
1897 echo "$as_me:$LINENO: checking for $ac_word" >&5
1898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1899 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1900 echo $ECHO_N "(cached) $ECHO_C" >&6
1902 if test -n "$ac_ct_CC"; then
1903 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1909 test -z "$as_dir" && as_dir
=.
1910 for ac_exec_ext
in '' $ac_executable_extensions; do
1911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1912 ac_cv_prog_ac_ct_CC
="$ac_prog"
1913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1921 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1922 if test -n "$ac_ct_CC"; then
1923 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1924 echo "${ECHO_T}$ac_ct_CC" >&6
1926 echo "$as_me:$LINENO: result: no" >&5
1927 echo "${ECHO_T}no" >&6
1930 test -n "$ac_ct_CC" && break
1939 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1940 See \`config.log' for more details." >&5
1941 echo "$as_me: error: no acceptable C compiler found in \$PATH
1942 See \`config.log' for more details." >&2;}
1943 { (exit 1); exit 1; }; }
1945 # Provide some information about the compiler.
1946 echo "$as_me:$LINENO:" \
1947 "checking for C compiler version" >&5
1948 ac_compiler
=`set X $ac_compile; echo $2`
1949 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1950 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1953 (exit $ac_status); }
1954 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1955 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1958 (exit $ac_status); }
1959 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1960 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1963 (exit $ac_status); }
1965 cat >conftest.
$ac_ext <<_ACEOF
1968 cat confdefs.h
>>conftest.
$ac_ext
1969 cat >>conftest.
$ac_ext <<_ACEOF
1970 /* end confdefs.h. */
1981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1982 (eval $ac_link) 2>&5
1984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1985 (exit $ac_status); }; then
1991 if test x
$gcc_no_link = xyes
; then
1992 # Setting cross_compile will disable run tests; it will
1993 # also disable AC_CHECK_FILE but that's generally
1994 # correct if we can't link.
1998 cat >conftest.
$ac_ext <<_ACEOF
2001 cat confdefs.h
>>conftest.
$ac_ext
2002 cat >>conftest.
$ac_ext <<_ACEOF
2003 /* end confdefs.h. */
2013 ac_clean_files_save
=$ac_clean_files
2014 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2015 # Try to create an executable without -o first, disregard a.out.
2016 # It will help us diagnose broken compilers, and finding out an intuition
2018 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2019 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2020 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2021 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2022 (eval $ac_link_default) 2>&5
2024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2025 (exit $ac_status); }; then
2026 # Find the output, starting from the most likely. This scheme is
2027 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2030 # Be careful to initialize this variable, since it used to be cached.
2031 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2033 # b.out is created by i960 compilers.
2034 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2036 test -f "$ac_file" ||
continue
2038 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2041 # This is the source file.
2044 # We found the default executable, but exeext='' is most
2048 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2049 # FIXME: I believe we export ac_cv_exeext for Libtool,
2050 # but it would be cool to find out if it's true. Does anybody
2051 # maintain Libtool? --akim.
2059 echo "$as_me: failed program was:" >&5
2060 sed 's/^/| /' conftest.
$ac_ext >&5
2062 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2063 See \`config.log' for more details." >&5
2064 echo "$as_me: error: C compiler cannot create executables
2065 See \`config.log' for more details." >&2;}
2066 { (exit 77); exit 77; }; }
2069 ac_exeext
=$ac_cv_exeext
2070 echo "$as_me:$LINENO: result: $ac_file" >&5
2071 echo "${ECHO_T}$ac_file" >&6
2073 # Check the compiler produces executables we can run. If not, either
2074 # the compiler is broken, or we cross compile.
2075 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2076 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2077 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2078 # If not cross compiling, check that we can run a simple program.
2079 if test "$cross_compiling" != yes; then
2080 if { ac_try
='./$ac_file'
2081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2085 (exit $ac_status); }; }; then
2088 if test "$cross_compiling" = maybe
; then
2091 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2092 If you meant to cross compile, use \`--host'.
2093 See \`config.log' for more details." >&5
2094 echo "$as_me: error: cannot run C compiled programs.
2095 If you meant to cross compile, use \`--host'.
2096 See \`config.log' for more details." >&2;}
2097 { (exit 1); exit 1; }; }
2101 echo "$as_me:$LINENO: result: yes" >&5
2102 echo "${ECHO_T}yes" >&6
2104 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2105 ac_clean_files
=$ac_clean_files_save
2106 # Check the compiler produces executables we can run. If not, either
2107 # the compiler is broken, or we cross compile.
2108 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2109 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2110 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2111 echo "${ECHO_T}$cross_compiling" >&6
2113 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2114 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2116 (eval $ac_link) 2>&5
2118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2119 (exit $ac_status); }; then
2120 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2121 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2122 # work properly (i.e., refer to `conftest.exe'), while it won't with
2124 for ac_file
in conftest.exe conftest conftest.
*; do
2125 test -f "$ac_file" ||
continue
2127 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2128 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2135 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2136 See \`config.log' for more details." >&5
2137 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2138 See \`config.log' for more details." >&2;}
2139 { (exit 1); exit 1; }; }
2142 rm -f conftest
$ac_cv_exeext
2143 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2144 echo "${ECHO_T}$ac_cv_exeext" >&6
2146 rm -f conftest.
$ac_ext
2147 EXEEXT
=$ac_cv_exeext
2150 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2151 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2152 if test "${ac_cv_objext+set}" = set; then
2153 echo $ECHO_N "(cached) $ECHO_C" >&6
2155 cat >conftest.
$ac_ext <<_ACEOF
2158 cat confdefs.h
>>conftest.
$ac_ext
2159 cat >>conftest.
$ac_ext <<_ACEOF
2160 /* end confdefs.h. */
2170 rm -f conftest.o conftest.obj
2171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2172 (eval $ac_compile) 2>&5
2174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2175 (exit $ac_status); }; then
2176 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2178 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2179 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2184 echo "$as_me: failed program was:" >&5
2185 sed 's/^/| /' conftest.
$ac_ext >&5
2187 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2188 See \`config.log' for more details." >&5
2189 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2190 See \`config.log' for more details." >&2;}
2191 { (exit 1); exit 1; }; }
2194 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2196 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2197 echo "${ECHO_T}$ac_cv_objext" >&6
2198 OBJEXT
=$ac_cv_objext
2200 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2201 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2202 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2203 echo $ECHO_N "(cached) $ECHO_C" >&6
2205 cat >conftest.
$ac_ext <<_ACEOF
2208 cat confdefs.h
>>conftest.
$ac_ext
2209 cat >>conftest.
$ac_ext <<_ACEOF
2210 /* end confdefs.h. */
2223 rm -f conftest.
$ac_objext
2224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2225 (eval $ac_compile) 2>conftest.er1
2227 grep -v '^ *+' conftest.er1
>conftest.err
2229 cat conftest.err
>&5
2230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2231 (exit $ac_status); } &&
2232 { ac_try
='test -z "$ac_c_werror_flag"
2233 || test ! -s conftest.err'
2234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2238 (exit $ac_status); }; } &&
2239 { ac_try
='test -s conftest.$ac_objext'
2240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2244 (exit $ac_status); }; }; then
2247 echo "$as_me: failed program was:" >&5
2248 sed 's/^/| /' conftest.
$ac_ext >&5
2252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2253 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2256 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2257 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2258 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2259 ac_test_CFLAGS
=${CFLAGS+set}
2260 ac_save_CFLAGS
=$CFLAGS
2262 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2263 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2264 if test "${ac_cv_prog_cc_g+set}" = set; then
2265 echo $ECHO_N "(cached) $ECHO_C" >&6
2267 cat >conftest.
$ac_ext <<_ACEOF
2270 cat confdefs.h
>>conftest.
$ac_ext
2271 cat >>conftest.
$ac_ext <<_ACEOF
2272 /* end confdefs.h. */
2282 rm -f conftest.
$ac_objext
2283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2284 (eval $ac_compile) 2>conftest.er1
2286 grep -v '^ *+' conftest.er1
>conftest.err
2288 cat conftest.err
>&5
2289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2290 (exit $ac_status); } &&
2291 { ac_try
='test -z "$ac_c_werror_flag"
2292 || test ! -s conftest.err'
2293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2297 (exit $ac_status); }; } &&
2298 { ac_try
='test -s conftest.$ac_objext'
2299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2303 (exit $ac_status); }; }; then
2306 echo "$as_me: failed program was:" >&5
2307 sed 's/^/| /' conftest.
$ac_ext >&5
2311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2313 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2314 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2315 if test "$ac_test_CFLAGS" = set; then
2316 CFLAGS
=$ac_save_CFLAGS
2317 elif test $ac_cv_prog_cc_g = yes; then
2318 if test "$GCC" = yes; then
2324 if test "$GCC" = yes; then
2330 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2331 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2332 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2333 echo $ECHO_N "(cached) $ECHO_C" >&6
2335 ac_cv_prog_cc_stdc
=no
2337 cat >conftest.
$ac_ext <<_ACEOF
2340 cat confdefs.h
>>conftest.
$ac_ext
2341 cat >>conftest.
$ac_ext <<_ACEOF
2342 /* end confdefs.h. */
2345 #include <sys/types.h>
2346 #include <sys/stat.h>
2347 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2348 struct buf { int x; };
2349 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2350 static char *e (p, i)
2356 static char *f (char * (*g) (char **, int), char **p, ...)
2361 s = g (p, va_arg (v,int));
2366 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2367 function prototypes and stuff, but not '\xHH' hex character constants.
2368 These don't provoke an error unfortunately, instead are silently treated
2369 as 'x'. The following induces an error, until -std1 is added to get
2370 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2371 array size at least. It's necessary to write '\x00'==0 to get something
2372 that's true only with -std1. */
2373 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2375 int test (int i, double x);
2376 struct s1 {int (*f) (int a);};
2377 struct s2 {int (*f) (double a);};
2378 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2384 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2389 # Don't try gcc -ansi; that turns off useful extensions and
2390 # breaks some systems' header files.
2391 # AIX -qlanglvl=ansi
2392 # Ultrix and OSF/1 -std1
2393 # HP-UX 10.20 and later -Ae
2394 # HP-UX older versions -Aa -D_HPUX_SOURCE
2395 # SVR4 -Xc -D__EXTENSIONS__
2396 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2398 CC
="$ac_save_CC $ac_arg"
2399 rm -f conftest.
$ac_objext
2400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2401 (eval $ac_compile) 2>conftest.er1
2403 grep -v '^ *+' conftest.er1
>conftest.err
2405 cat conftest.err
>&5
2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407 (exit $ac_status); } &&
2408 { ac_try
='test -z "$ac_c_werror_flag"
2409 || test ! -s conftest.err'
2410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2414 (exit $ac_status); }; } &&
2415 { ac_try
='test -s conftest.$ac_objext'
2416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420 (exit $ac_status); }; }; then
2421 ac_cv_prog_cc_stdc
=$ac_arg
2424 echo "$as_me: failed program was:" >&5
2425 sed 's/^/| /' conftest.
$ac_ext >&5
2428 rm -f conftest.err conftest.
$ac_objext
2430 rm -f conftest.
$ac_ext conftest.
$ac_objext
2435 case "x$ac_cv_prog_cc_stdc" in
2437 echo "$as_me:$LINENO: result: none needed" >&5
2438 echo "${ECHO_T}none needed" >&6 ;;
2440 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2441 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2442 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2445 # Some people use a C++ compiler to compile C. Since we use `exit',
2446 # in C++ we need to declare it. In case someone uses the same compiler
2447 # for both compiling C and C++ we need to have the C++ compiler decide
2448 # the declaration of exit, since it's the most demanding environment.
2449 cat >conftest.
$ac_ext <<_ACEOF
2454 rm -f conftest.
$ac_objext
2455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2456 (eval $ac_compile) 2>conftest.er1
2458 grep -v '^ *+' conftest.er1
>conftest.err
2460 cat conftest.err
>&5
2461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); } &&
2463 { ac_try
='test -z "$ac_c_werror_flag"
2464 || test ! -s conftest.err'
2465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2469 (exit $ac_status); }; } &&
2470 { ac_try
='test -s conftest.$ac_objext'
2471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); }; }; then
2476 for ac_declaration
in \
2478 'extern "C" void std::exit (int) throw (); using std::exit;' \
2479 'extern "C" void std::exit (int); using std::exit;' \
2480 'extern "C" void exit (int) throw ();' \
2481 'extern "C" void exit (int);' \
2484 cat >conftest.
$ac_ext <<_ACEOF
2487 cat confdefs.h
>>conftest.
$ac_ext
2488 cat >>conftest.
$ac_ext <<_ACEOF
2489 /* end confdefs.h. */
2500 rm -f conftest.
$ac_objext
2501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2502 (eval $ac_compile) 2>conftest.er1
2504 grep -v '^ *+' conftest.er1
>conftest.err
2506 cat conftest.err
>&5
2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); } &&
2509 { ac_try
='test -z "$ac_c_werror_flag"
2510 || test ! -s conftest.err'
2511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2515 (exit $ac_status); }; } &&
2516 { ac_try
='test -s conftest.$ac_objext'
2517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); }; }; then
2524 echo "$as_me: failed program was:" >&5
2525 sed 's/^/| /' conftest.
$ac_ext >&5
2529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2530 cat >conftest.
$ac_ext <<_ACEOF
2533 cat confdefs.h
>>conftest.
$ac_ext
2534 cat >>conftest.
$ac_ext <<_ACEOF
2535 /* end confdefs.h. */
2545 rm -f conftest.
$ac_objext
2546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2547 (eval $ac_compile) 2>conftest.er1
2549 grep -v '^ *+' conftest.er1
>conftest.err
2551 cat conftest.err
>&5
2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553 (exit $ac_status); } &&
2554 { ac_try
='test -z "$ac_c_werror_flag"
2555 || test ! -s conftest.err'
2556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2560 (exit $ac_status); }; } &&
2561 { ac_try
='test -s conftest.$ac_objext'
2562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566 (exit $ac_status); }; }; then
2569 echo "$as_me: failed program was:" >&5
2570 sed 's/^/| /' conftest.
$ac_ext >&5
2573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2576 if test -n "$ac_declaration"; then
2577 echo '#ifdef __cplusplus' >>confdefs.h
2578 echo $ac_declaration >>confdefs.h
2579 echo '#endif' >>confdefs.h
2583 echo "$as_me: failed program was:" >&5
2584 sed 's/^/| /' conftest.
$ac_ext >&5
2587 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2589 ac_cpp
='$CPP $CPPFLAGS'
2590 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2591 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2592 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2595 ac_cpp
='$CXXCPP $CPPFLAGS'
2596 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2597 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2598 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2599 if test -n "$ac_tool_prefix"; then
2600 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2602 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2603 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2604 echo "$as_me:$LINENO: checking for $ac_word" >&5
2605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2606 if test "${glibcxx_cv_prog_CXX+set}" = set; then
2607 echo $ECHO_N "(cached) $ECHO_C" >&6
2609 if test -n "$CXX"; then
2610 glibcxx_cv_prog_CXX
="$CXX" # Let the user override the test.
2612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2616 test -z "$as_dir" && as_dir
=.
2617 for ac_exec_ext
in '' $ac_executable_extensions; do
2618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2619 glibcxx_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2628 CXX
=$glibcxx_cv_prog_CXX
2629 if test -n "$CXX"; then
2630 echo "$as_me:$LINENO: result: $CXX" >&5
2631 echo "${ECHO_T}$CXX" >&6
2633 echo "$as_me:$LINENO: result: no" >&5
2634 echo "${ECHO_T}no" >&6
2637 test -n "$CXX" && break
2640 if test -z "$CXX"; then
2642 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2644 # Extract the first word of "$ac_prog", so it can be a program name with args.
2645 set dummy
$ac_prog; ac_word
=$2
2646 echo "$as_me:$LINENO: checking for $ac_word" >&5
2647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2648 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2649 echo $ECHO_N "(cached) $ECHO_C" >&6
2651 if test -n "$ac_ct_CXX"; then
2652 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2658 test -z "$as_dir" && as_dir
=.
2659 for ac_exec_ext
in '' $ac_executable_extensions; do
2660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2661 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2670 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2671 if test -n "$ac_ct_CXX"; then
2672 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2673 echo "${ECHO_T}$ac_ct_CXX" >&6
2675 echo "$as_me:$LINENO: result: no" >&5
2676 echo "${ECHO_T}no" >&6
2679 test -n "$ac_ct_CXX" && break
2681 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2687 # Provide some information about the compiler.
2688 echo "$as_me:$LINENO:" \
2689 "checking for C++ compiler version" >&5
2690 ac_compiler
=`set X $ac_compile; echo $2`
2691 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2692 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2695 (exit $ac_status); }
2696 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2697 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700 (exit $ac_status); }
2701 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2702 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705 (exit $ac_status); }
2707 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2708 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2709 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2710 echo $ECHO_N "(cached) $ECHO_C" >&6
2712 cat >conftest.
$ac_ext <<_ACEOF
2715 cat confdefs.h
>>conftest.
$ac_ext
2716 cat >>conftest.
$ac_ext <<_ACEOF
2717 /* end confdefs.h. */
2730 rm -f conftest.
$ac_objext
2731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2732 (eval $ac_compile) 2>conftest.er1
2734 grep -v '^ *+' conftest.er1
>conftest.err
2736 cat conftest.err
>&5
2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738 (exit $ac_status); } &&
2739 { ac_try
='test -z "$ac_cxx_werror_flag"
2740 || test ! -s conftest.err'
2741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745 (exit $ac_status); }; } &&
2746 { ac_try
='test -s conftest.$ac_objext'
2747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); }; }; then
2754 echo "$as_me: failed program was:" >&5
2755 sed 's/^/| /' conftest.
$ac_ext >&5
2759 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2760 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2763 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2764 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2765 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2766 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2767 ac_save_CXXFLAGS
=$CXXFLAGS
2769 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2770 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2771 if test "${ac_cv_prog_cxx_g+set}" = set; then
2772 echo $ECHO_N "(cached) $ECHO_C" >&6
2774 cat >conftest.
$ac_ext <<_ACEOF
2777 cat confdefs.h
>>conftest.
$ac_ext
2778 cat >>conftest.
$ac_ext <<_ACEOF
2779 /* end confdefs.h. */
2789 rm -f conftest.
$ac_objext
2790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2791 (eval $ac_compile) 2>conftest.er1
2793 grep -v '^ *+' conftest.er1
>conftest.err
2795 cat conftest.err
>&5
2796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797 (exit $ac_status); } &&
2798 { ac_try
='test -z "$ac_cxx_werror_flag"
2799 || test ! -s conftest.err'
2800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); }; } &&
2805 { ac_try
='test -s conftest.$ac_objext'
2806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); }; }; then
2811 ac_cv_prog_cxx_g
=yes
2813 echo "$as_me: failed program was:" >&5
2814 sed 's/^/| /' conftest.
$ac_ext >&5
2818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2820 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2821 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2822 if test "$ac_test_CXXFLAGS" = set; then
2823 CXXFLAGS
=$ac_save_CXXFLAGS
2824 elif test $ac_cv_prog_cxx_g = yes; then
2825 if test "$GXX" = yes; then
2831 if test "$GXX" = yes; then
2837 for ac_declaration
in \
2839 'extern "C" void std::exit (int) throw (); using std::exit;' \
2840 'extern "C" void std::exit (int); using std::exit;' \
2841 'extern "C" void exit (int) throw ();' \
2842 'extern "C" void exit (int);' \
2845 cat >conftest.
$ac_ext <<_ACEOF
2848 cat confdefs.h
>>conftest.
$ac_ext
2849 cat >>conftest.
$ac_ext <<_ACEOF
2850 /* end confdefs.h. */
2861 rm -f conftest.
$ac_objext
2862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2863 (eval $ac_compile) 2>conftest.er1
2865 grep -v '^ *+' conftest.er1
>conftest.err
2867 cat conftest.err
>&5
2868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2869 (exit $ac_status); } &&
2870 { ac_try
='test -z "$ac_cxx_werror_flag"
2871 || test ! -s conftest.err'
2872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876 (exit $ac_status); }; } &&
2877 { ac_try
='test -s conftest.$ac_objext'
2878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882 (exit $ac_status); }; }; then
2885 echo "$as_me: failed program was:" >&5
2886 sed 's/^/| /' conftest.
$ac_ext >&5
2890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2891 cat >conftest.
$ac_ext <<_ACEOF
2894 cat confdefs.h
>>conftest.
$ac_ext
2895 cat >>conftest.
$ac_ext <<_ACEOF
2896 /* end confdefs.h. */
2906 rm -f conftest.
$ac_objext
2907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2908 (eval $ac_compile) 2>conftest.er1
2910 grep -v '^ *+' conftest.er1
>conftest.err
2912 cat conftest.err
>&5
2913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914 (exit $ac_status); } &&
2915 { ac_try
='test -z "$ac_cxx_werror_flag"
2916 || test ! -s conftest.err'
2917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); }; } &&
2922 { ac_try
='test -s conftest.$ac_objext'
2923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927 (exit $ac_status); }; }; then
2930 echo "$as_me: failed program was:" >&5
2931 sed 's/^/| /' conftest.
$ac_ext >&5
2934 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2937 if test -n "$ac_declaration"; then
2938 echo '#ifdef __cplusplus' >>confdefs.h
2939 echo $ac_declaration >>confdefs.h
2940 echo '#endif' >>confdefs.h
2944 ac_cpp
='$CPP $CPPFLAGS'
2945 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2946 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2947 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2949 CXXFLAGS
="$save_CXXFLAGS"
2955 am__api_version
="1.9"
2956 # Find a good install program. We prefer a C program (faster),
2957 # so one script is as good as another. But avoid the broken or
2958 # incompatible versions:
2959 # SysV /etc/install, /usr/sbin/install
2960 # SunOS /usr/etc/install
2961 # IRIX /sbin/install
2963 # AmigaOS /C/install, which installs bootblocks on floppy discs
2964 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2965 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2966 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2967 # OS/2's system install, which has a completely different semantic
2968 # ./install, which can be erroneously created by make from ./install.sh.
2969 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2970 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2971 if test -z "$INSTALL"; then
2972 if test "${ac_cv_path_install+set}" = set; then
2973 echo $ECHO_N "(cached) $ECHO_C" >&6
2975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2979 test -z "$as_dir" && as_dir
=.
2980 # Account for people who put trailing slashes in PATH elements.
2982 .
/ | .
// |
/cC
/* | \
2983 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2984 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2987 # OSF1 and SCO ODT 3.0 have their own names for install.
2988 # Don't use installbsd from OSF since it installs stuff as root
2990 for ac_prog
in ginstall scoinst
install; do
2991 for ac_exec_ext
in '' $ac_executable_extensions; do
2992 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2993 if test $ac_prog = install &&
2994 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2995 # AIX install. It has an incompatible calling convention.
2997 elif test $ac_prog = install &&
2998 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2999 # program-specific install script used by HP pwplus--don't use.
3002 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3014 if test "${ac_cv_path_install+set}" = set; then
3015 INSTALL
=$ac_cv_path_install
3017 # As a last resort, use the slow shell script. We don't cache a
3018 # path for INSTALL within a source directory, because that will
3019 # break other packages using the cache if that directory is
3020 # removed, or if the path is relative.
3021 INSTALL
=$ac_install_sh
3024 echo "$as_me:$LINENO: result: $INSTALL" >&5
3025 echo "${ECHO_T}$INSTALL" >&6
3027 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3028 # It thinks the first close brace ends the variable substitution.
3029 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3031 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3033 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3035 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3036 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
3039 echo timestamp
> conftest.
file
3040 # Do `set' in a subshell so we don't clobber the current shell's
3041 # arguments. Must try -L first in case configure is actually a
3042 # symlink; some systems play weird games with the mod time of symlinks
3043 # (eg FreeBSD returns the mod time of the symlink's containing
3046 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
3047 if test "$*" = "X"; then
3049 set X
`ls -t $srcdir/configure conftest.file`
3052 if test "$*" != "X $srcdir/configure conftest.file" \
3053 && test "$*" != "X conftest.file $srcdir/configure"; then
3055 # If neither matched, then we have a broken ls. This can happen
3056 # if, for instance, CONFIG_SHELL is bash and it inherits a
3057 # broken ls alias from the environment. This has actually
3058 # happened. Such a system could not be considered "sane".
3059 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
3060 alias in your environment" >&5
3061 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
3062 alias in your environment" >&2;}
3063 { (exit 1); exit 1; }; }
3066 test "$2" = conftest.
file
3072 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3073 Check your system clock" >&5
3074 echo "$as_me: error: newly created file is older than distributed files!
3075 Check your system clock" >&2;}
3076 { (exit 1); exit 1; }; }
3078 echo "$as_me:$LINENO: result: yes" >&5
3079 echo "${ECHO_T}yes" >&6
3080 test "$program_prefix" != NONE
&&
3081 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
3082 # Use a double $ so make ignores it.
3083 test "$program_suffix" != NONE
&&
3084 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
3085 # Double any \ or $. echo might interpret backslashes.
3086 # By default was `s,x,x', remove it if useless.
3087 cat <<\_ACEOF
>conftest.
sed
3088 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
3090 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
3093 # expand $ac_aux_dir to an absolute path
3094 am_aux_dir
=`cd $ac_aux_dir && pwd`
3096 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
3097 # Use eval to expand $SHELL
3098 if eval "$MISSING --run true"; then
3099 am_missing_run
="$MISSING --run "
3102 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3103 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3106 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
3107 # We used to keeping the `.' as first argument, in order to
3108 # allow $(mkdir_p) to be used without argument. As in
3109 # $(mkdir_p) $(somedir)
3110 # where $(somedir) is conditionally defined. However this is wrong
3112 # 1. if the package is installed by a user who cannot write `.'
3113 # make install will fail,
3114 # 2. the above comment should most certainly read
3115 # $(mkdir_p) $(DESTDIR)$(somedir)
3116 # so it does not work when $(somedir) is undefined and
3117 # $(DESTDIR) is not.
3118 # To support the latter case, we have to write
3119 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
3120 # so the `.' trick is pointless.
3121 mkdir_p
='mkdir -p --'
3123 # On NextStep and OpenStep, the `mkdir' command does not
3124 # recognize any option. It will interpret all options as
3125 # directories to create, and then abort because `.' already
3127 for d
in .
/-p .
/--version;
3129 test -d $d && rmdir $d
3131 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
3132 if test -f "$ac_aux_dir/mkinstalldirs"; then
3133 mkdir_p
='$(mkinstalldirs)'
3135 mkdir_p
='$(install_sh) -d'
3139 for ac_prog
in gawk mawk nawk
awk
3141 # Extract the first word of "$ac_prog", so it can be a program name with args.
3142 set dummy
$ac_prog; ac_word
=$2
3143 echo "$as_me:$LINENO: checking for $ac_word" >&5
3144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3145 if test "${ac_cv_prog_AWK+set}" = set; then
3146 echo $ECHO_N "(cached) $ECHO_C" >&6
3148 if test -n "$AWK"; then
3149 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3155 test -z "$as_dir" && as_dir
=.
3156 for ac_exec_ext
in '' $ac_executable_extensions; do
3157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3158 ac_cv_prog_AWK
="$ac_prog"
3159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3168 if test -n "$AWK"; then
3169 echo "$as_me:$LINENO: result: $AWK" >&5
3170 echo "${ECHO_T}$AWK" >&6
3172 echo "$as_me:$LINENO: result: no" >&5
3173 echo "${ECHO_T}no" >&6
3176 test -n "$AWK" && break
3179 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3180 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3181 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3182 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3183 echo $ECHO_N "(cached) $ECHO_C" >&6
3185 cat >conftest.
make <<\_ACEOF
3187 @
echo 'ac_maketemp="$(MAKE)"'
3189 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3190 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3191 if test -n "$ac_maketemp"; then
3192 eval ac_cv_prog_make_
${ac_make}_set
=yes
3194 eval ac_cv_prog_make_
${ac_make}_set
=no
3198 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3199 echo "$as_me:$LINENO: result: yes" >&5
3200 echo "${ECHO_T}yes" >&6
3203 echo "$as_me:$LINENO: result: no" >&5
3204 echo "${ECHO_T}no" >&6
3205 SET_MAKE
="MAKE=${MAKE-make}"
3208 rm -rf .tst
2>/dev
/null
3209 mkdir .tst
2>/dev
/null
3210 if test -d .tst
; then
3215 rmdir .tst
2>/dev
/null
3217 DEPDIR
="${am__leading_dot}deps"
3219 ac_config_commands
="$ac_config_commands depfiles"
3222 am_make
=${MAKE-make}
3223 cat > confinc
<< 'END'
3228 # If we don't find an include directive, just comment out the code.
3229 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3230 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3234 # First try GNU make style include.
3235 echo "include confinc" > confmf
3236 # We grep out `Entering directory' and `Leaving directory'
3237 # messages which can occur if `w' ends up in MAKEFLAGS.
3238 # In particular we don't look at `^make:' because GNU make might
3239 # be invoked under some other name (usually "gmake"), in which
3240 # case it prints its new name instead of `make'.
3241 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3246 # Now try BSD make style include.
3247 if test "$am__include" = "#"; then
3248 echo '.include "confinc"' > confmf
3249 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3250 am__include
=.include
3257 echo "$as_me:$LINENO: result: $_am_result" >&5
3258 echo "${ECHO_T}$_am_result" >&6
3259 rm -f confinc confmf
3261 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3262 if test "${enable_dependency_tracking+set}" = set; then
3263 enableval
="$enable_dependency_tracking"
3266 if test "x$enable_dependency_tracking" != xno
; then
3267 am_depcomp
="$ac_aux_dir/depcomp"
3272 if test "x$enable_dependency_tracking" != xno; then
3282 # test to see if srcdir already configured
3283 if test "`cd $srcdir && pwd`" != "`pwd`" &&
3284 test -f $srcdir/config.status
; then
3285 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3286 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3287 { (exit 1); exit 1; }; }
3290 # test whether we have cygpath
3291 if test -z "$CYGPATH_W"; then
3292 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3293 CYGPATH_W
='cygpath -w'
3300 # Define the identity of the package.
3302 VERSION
='version-unused'
3305 cat >>confdefs.h
<<_ACEOF
3306 #define PACKAGE "$PACKAGE"
3310 cat >>confdefs.h
<<_ACEOF
3311 #define VERSION "$VERSION"
3314 # Some tools Automake needs.
3316 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3319 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3322 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3325 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3328 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3330 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3332 # Installed binaries are usually stripped using `strip' when the user
3333 # run `make install-strip'. However `strip' might not be the right
3334 # tool to use in cross-compilation environments, therefore Automake
3335 # will honor the `STRIP' environment variable to overrule this program.
3336 if test "$cross_compiling" != no
; then
3337 if test -n "$ac_tool_prefix"; then
3338 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3339 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3340 echo "$as_me:$LINENO: checking for $ac_word" >&5
3341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3342 if test "${ac_cv_prog_STRIP+set}" = set; then
3343 echo $ECHO_N "(cached) $ECHO_C" >&6
3345 if test -n "$STRIP"; then
3346 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3352 test -z "$as_dir" && as_dir
=.
3353 for ac_exec_ext
in '' $ac_executable_extensions; do
3354 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3355 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3364 STRIP
=$ac_cv_prog_STRIP
3365 if test -n "$STRIP"; then
3366 echo "$as_me:$LINENO: result: $STRIP" >&5
3367 echo "${ECHO_T}$STRIP" >&6
3369 echo "$as_me:$LINENO: result: no" >&5
3370 echo "${ECHO_T}no" >&6
3374 if test -z "$ac_cv_prog_STRIP"; then
3376 # Extract the first word of "strip", so it can be a program name with args.
3377 set dummy strip
; ac_word
=$2
3378 echo "$as_me:$LINENO: checking for $ac_word" >&5
3379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3380 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3381 echo $ECHO_N "(cached) $ECHO_C" >&6
3383 if test -n "$ac_ct_STRIP"; then
3384 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3390 test -z "$as_dir" && as_dir
=.
3391 for ac_exec_ext
in '' $ac_executable_extensions; do
3392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3393 ac_cv_prog_ac_ct_STRIP
="strip"
3394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3400 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3403 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3404 if test -n "$ac_ct_STRIP"; then
3405 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3406 echo "${ECHO_T}$ac_ct_STRIP" >&6
3408 echo "$as_me:$LINENO: result: no" >&5
3409 echo "${ECHO_T}no" >&6
3414 STRIP
="$ac_cv_prog_STRIP"
3418 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3420 # We need awk for the "check" target. The system "awk" is bad on
3422 # Always define AMTAR for backward compatibility.
3424 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3426 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3431 depcc
="$CC" am_compiler_list
=
3433 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3434 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3435 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3436 echo $ECHO_N "(cached) $ECHO_C" >&6
3438 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3439 # We make a subdir and do the tests there. Otherwise we can end up
3440 # making bogus files that we don't know about and never remove. For
3441 # instance it was reported that on HP-UX the gcc test will end up
3442 # making a dummy file named `D' -- because `-MD' means `put the output
3445 # Copy depcomp to subdir because otherwise we won't find it if we're
3446 # using a relative directory.
3447 cp "$am_depcomp" conftest.dir
3449 # We will build objects and dependencies in a subdirectory because
3450 # it helps to detect inapplicable dependency modes. For instance
3451 # both Tru64's cc and ICC support -MD to output dependencies as a
3452 # side effect of compilation, but ICC will put the dependencies in
3453 # the current directory while Tru64 will put them in the object
3457 am_cv_CC_dependencies_compiler_type
=none
3458 if test "$am_compiler_list" = ""; then
3459 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3461 for depmode
in $am_compiler_list; do
3462 # Setup a source with many dependencies, because some compilers
3463 # like to wrap large dependency lists on column 80 (with \), and
3464 # we should not choose a depcomp mode which is confused by this.
3466 # We need to recreate these files for each test, as the compiler may
3467 # overwrite some of them when testing with obscure command lines.
3468 # This happens at least with the AIX C compiler.
3470 for i
in 1 2 3 4 5 6; do
3471 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3472 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3473 # Solaris 8's {/usr,}/bin/sh.
3474 touch sub
/conftst
$i.h
3476 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3480 # after this tag, mechanisms are not by side-effect, so they'll
3481 # only be used when explicitly requested
3482 if test "x$enable_dependency_tracking" = xyes
; then
3490 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3491 # mode. It turns out that the SunPro C++ compiler does not properly
3492 # handle `-M -o', and we need to detect this.
3493 if depmode
=$depmode \
3494 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3495 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3496 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3497 >/dev
/null
2>conftest.err
&&
3498 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3499 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3500 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3501 # icc doesn't choke on unknown options, it will just issue warnings
3502 # or remarks (even with -Werror). So we grep stderr for any message
3503 # that says an option was ignored or not supported.
3504 # When given -MP, icc 7.0 and 7.1 complain thusly:
3505 # icc: Command line warning: ignoring option '-M'; no argument required
3506 # The diagnosis changed in icc 8.0:
3507 # icc: Command line remark: option '-MP' not supported
3508 if (grep 'ignoring option' conftest.err ||
3509 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3510 am_cv_CC_dependencies_compiler_type
=$depmode
3519 am_cv_CC_dependencies_compiler_type
=none
3523 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3524 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3525 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3530 test "x$enable_dependency_tracking" != xno \
3531 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3533 am__fastdepCC_FALSE
='#'
3535 am__fastdepCC_TRUE
='#'
3536 am__fastdepCC_FALSE
=
3540 depcc
="$CXX" am_compiler_list
=
3542 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3543 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3544 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3545 echo $ECHO_N "(cached) $ECHO_C" >&6
3547 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3548 # We make a subdir and do the tests there. Otherwise we can end up
3549 # making bogus files that we don't know about and never remove. For
3550 # instance it was reported that on HP-UX the gcc test will end up
3551 # making a dummy file named `D' -- because `-MD' means `put the output
3554 # Copy depcomp to subdir because otherwise we won't find it if we're
3555 # using a relative directory.
3556 cp "$am_depcomp" conftest.dir
3558 # We will build objects and dependencies in a subdirectory because
3559 # it helps to detect inapplicable dependency modes. For instance
3560 # both Tru64's cc and ICC support -MD to output dependencies as a
3561 # side effect of compilation, but ICC will put the dependencies in
3562 # the current directory while Tru64 will put them in the object
3566 am_cv_CXX_dependencies_compiler_type
=none
3567 if test "$am_compiler_list" = ""; then
3568 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3570 for depmode
in $am_compiler_list; do
3571 # Setup a source with many dependencies, because some compilers
3572 # like to wrap large dependency lists on column 80 (with \), and
3573 # we should not choose a depcomp mode which is confused by this.
3575 # We need to recreate these files for each test, as the compiler may
3576 # overwrite some of them when testing with obscure command lines.
3577 # This happens at least with the AIX C compiler.
3579 for i
in 1 2 3 4 5 6; do
3580 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3581 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3582 # Solaris 8's {/usr,}/bin/sh.
3583 touch sub
/conftst
$i.h
3585 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3589 # after this tag, mechanisms are not by side-effect, so they'll
3590 # only be used when explicitly requested
3591 if test "x$enable_dependency_tracking" = xyes
; then
3599 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3600 # mode. It turns out that the SunPro C++ compiler does not properly
3601 # handle `-M -o', and we need to detect this.
3602 if depmode
=$depmode \
3603 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3604 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3605 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3606 >/dev
/null
2>conftest.err
&&
3607 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3608 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3609 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3610 # icc doesn't choke on unknown options, it will just issue warnings
3611 # or remarks (even with -Werror). So we grep stderr for any message
3612 # that says an option was ignored or not supported.
3613 # When given -MP, icc 7.0 and 7.1 complain thusly:
3614 # icc: Command line warning: ignoring option '-M'; no argument required
3615 # The diagnosis changed in icc 8.0:
3616 # icc: Command line remark: option '-MP' not supported
3617 if (grep 'ignoring option' conftest.err ||
3618 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3619 am_cv_CXX_dependencies_compiler_type
=$depmode
3628 am_cv_CXX_dependencies_compiler_type
=none
3632 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3633 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3634 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3639 test "x$enable_dependency_tracking" != xno \
3640 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3641 am__fastdepCXX_TRUE
=
3642 am__fastdepCXX_FALSE
='#'
3644 am__fastdepCXX_TRUE
='#'
3645 am__fastdepCXX_FALSE
=
3651 if test -n "$ac_tool_prefix"; then
3652 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3653 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3654 echo "$as_me:$LINENO: checking for $ac_word" >&5
3655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3656 if test "${ac_cv_prog_AS+set}" = set; then
3657 echo $ECHO_N "(cached) $ECHO_C" >&6
3659 if test -n "$AS"; then
3660 ac_cv_prog_AS
="$AS" # Let the user override the test.
3662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3666 test -z "$as_dir" && as_dir
=.
3667 for ac_exec_ext
in '' $ac_executable_extensions; do
3668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3669 ac_cv_prog_AS
="${ac_tool_prefix}as"
3670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3679 if test -n "$AS"; then
3680 echo "$as_me:$LINENO: result: $AS" >&5
3681 echo "${ECHO_T}$AS" >&6
3683 echo "$as_me:$LINENO: result: no" >&5
3684 echo "${ECHO_T}no" >&6
3688 if test -z "$ac_cv_prog_AS"; then
3690 # Extract the first word of "as", so it can be a program name with args.
3691 set dummy as
; ac_word
=$2
3692 echo "$as_me:$LINENO: checking for $ac_word" >&5
3693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3694 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3695 echo $ECHO_N "(cached) $ECHO_C" >&6
3697 if test -n "$ac_ct_AS"; then
3698 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3704 test -z "$as_dir" && as_dir
=.
3705 for ac_exec_ext
in '' $ac_executable_extensions; do
3706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3707 ac_cv_prog_ac_ct_AS
="as"
3708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3716 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3717 if test -n "$ac_ct_AS"; then
3718 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3719 echo "${ECHO_T}$ac_ct_AS" >&6
3721 echo "$as_me:$LINENO: result: no" >&5
3722 echo "${ECHO_T}no" >&6
3730 if test -n "$ac_tool_prefix"; then
3731 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3732 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3733 echo "$as_me:$LINENO: checking for $ac_word" >&5
3734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3735 if test "${ac_cv_prog_AR+set}" = set; then
3736 echo $ECHO_N "(cached) $ECHO_C" >&6
3738 if test -n "$AR"; then
3739 ac_cv_prog_AR
="$AR" # Let the user override the test.
3741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3745 test -z "$as_dir" && as_dir
=.
3746 for ac_exec_ext
in '' $ac_executable_extensions; do
3747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3748 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3758 if test -n "$AR"; then
3759 echo "$as_me:$LINENO: result: $AR" >&5
3760 echo "${ECHO_T}$AR" >&6
3762 echo "$as_me:$LINENO: result: no" >&5
3763 echo "${ECHO_T}no" >&6
3767 if test -z "$ac_cv_prog_AR"; then
3769 # Extract the first word of "ar", so it can be a program name with args.
3770 set dummy
ar; ac_word
=$2
3771 echo "$as_me:$LINENO: checking for $ac_word" >&5
3772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3773 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3774 echo $ECHO_N "(cached) $ECHO_C" >&6
3776 if test -n "$ac_ct_AR"; then
3777 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3783 test -z "$as_dir" && as_dir
=.
3784 for ac_exec_ext
in '' $ac_executable_extensions; do
3785 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3786 ac_cv_prog_ac_ct_AR
="ar"
3787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3795 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3796 if test -n "$ac_ct_AR"; then
3797 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3798 echo "${ECHO_T}$ac_ct_AR" >&6
3800 echo "$as_me:$LINENO: result: no" >&5
3801 echo "${ECHO_T}no" >&6
3809 if test -n "$ac_tool_prefix"; then
3810 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3811 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3812 echo "$as_me:$LINENO: checking for $ac_word" >&5
3813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3814 if test "${ac_cv_prog_RANLIB+set}" = set; then
3815 echo $ECHO_N "(cached) $ECHO_C" >&6
3817 if test -n "$RANLIB"; then
3818 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3824 test -z "$as_dir" && as_dir
=.
3825 for ac_exec_ext
in '' $ac_executable_extensions; do
3826 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3827 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3836 RANLIB
=$ac_cv_prog_RANLIB
3837 if test -n "$RANLIB"; then
3838 echo "$as_me:$LINENO: result: $RANLIB" >&5
3839 echo "${ECHO_T}$RANLIB" >&6
3841 echo "$as_me:$LINENO: result: no" >&5
3842 echo "${ECHO_T}no" >&6
3846 if test -z "$ac_cv_prog_RANLIB"; then
3847 ac_ct_RANLIB
=$RANLIB
3848 # Extract the first word of "ranlib", so it can be a program name with args.
3849 set dummy ranlib
; ac_word
=$2
3850 echo "$as_me:$LINENO: checking for $ac_word" >&5
3851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3852 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3853 echo $ECHO_N "(cached) $ECHO_C" >&6
3855 if test -n "$ac_ct_RANLIB"; then
3856 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3862 test -z "$as_dir" && as_dir
=.
3863 for ac_exec_ext
in '' $ac_executable_extensions; do
3864 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3865 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3872 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3875 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3876 if test -n "$ac_ct_RANLIB"; then
3877 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3878 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3880 echo "$as_me:$LINENO: result: no" >&5
3881 echo "${ECHO_T}no" >&6
3884 RANLIB
=$ac_ct_RANLIB
3886 RANLIB
="$ac_cv_prog_RANLIB"
3890 # Find a good install program. We prefer a C program (faster),
3891 # so one script is as good as another. But avoid the broken or
3892 # incompatible versions:
3893 # SysV /etc/install, /usr/sbin/install
3894 # SunOS /usr/etc/install
3895 # IRIX /sbin/install
3897 # AmigaOS /C/install, which installs bootblocks on floppy discs
3898 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3899 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3900 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3901 # OS/2's system install, which has a completely different semantic
3902 # ./install, which can be erroneously created by make from ./install.sh.
3903 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3904 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3905 if test -z "$INSTALL"; then
3906 if test "${ac_cv_path_install+set}" = set; then
3907 echo $ECHO_N "(cached) $ECHO_C" >&6
3909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3913 test -z "$as_dir" && as_dir
=.
3914 # Account for people who put trailing slashes in PATH elements.
3916 .
/ | .
// |
/cC
/* | \
3917 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3918 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3921 # OSF1 and SCO ODT 3.0 have their own names for install.
3922 # Don't use installbsd from OSF since it installs stuff as root
3924 for ac_prog
in ginstall scoinst
install; do
3925 for ac_exec_ext
in '' $ac_executable_extensions; do
3926 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3927 if test $ac_prog = install &&
3928 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3929 # AIX install. It has an incompatible calling convention.
3931 elif test $ac_prog = install &&
3932 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3933 # program-specific install script used by HP pwplus--don't use.
3936 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3948 if test "${ac_cv_path_install+set}" = set; then
3949 INSTALL
=$ac_cv_path_install
3951 # As a last resort, use the slow shell script. We don't cache a
3952 # path for INSTALL within a source directory, because that will
3953 # break other packages using the cache if that directory is
3954 # removed, or if the path is relative.
3955 INSTALL
=$ac_install_sh
3958 echo "$as_me:$LINENO: result: $INSTALL" >&5
3959 echo "${ECHO_T}$INSTALL" >&6
3961 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3962 # It thinks the first close brace ends the variable substitution.
3963 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3965 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3967 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3970 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3971 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3972 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3973 if test "${enable_maintainer_mode+set}" = set; then
3974 enableval
="$enable_maintainer_mode"
3975 USE_MAINTAINER_MODE
=$enableval
3977 USE_MAINTAINER_MODE
=no
3979 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3980 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3983 if test $USE_MAINTAINER_MODE = yes; then
3984 MAINTAINER_MODE_TRUE
=
3985 MAINTAINER_MODE_FALSE
='#'
3987 MAINTAINER_MODE_TRUE
='#'
3988 MAINTAINER_MODE_FALSE
=
3991 MAINT
=$MAINTAINER_MODE_TRUE
3997 # configure.host sets the following important variables
3998 # libgcj_cflags - host specific C compiler flags
3999 # libgcj_cxxflags - host specific C++ compiler flags
4000 # libgcj_javaflags - host specific Java compiler flags
4006 .
${srcdir}/configure.
host
4008 LIBGCJ_CFLAGS
="${libgcj_cflags}"
4009 LIBGCJ_CXXFLAGS
="${libgcj_cxxflags}"
4010 LIBGCJ_JAVAFLAGS
="${libgcj_javaflags}"
4011 LIBGCJ_LD_SYMBOLIC
="${libgcj_ld_symbolic}"
4017 ac_config_headers
="$ac_config_headers include/config.h gcj/libgcj-config.h"
4020 # Only use libltdl for non-newlib builds.
4021 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
4022 case $enable_ltdl_convenience in
4023 no
) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
4024 echo "$as_me: error: this package needs a convenience libltdl" >&2;}
4025 { (exit 1); exit 1; }; } ;;
4026 "") enable_ltdl_convenience
=yes
4027 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
4029 LIBLTDL
='${top_builddir}/''libltdl'/libltdlc.la
4030 INCLTDL
='-I${top_srcdir}/''libltdl'
4035 cat >>confdefs.h
<<\_ACEOF
4039 # Sigh. Libtool's macro doesn't do the right thing.
4040 INCLTDL
="-I\$(top_srcdir)/libltdl $INCLTDL"
4041 # FIXME: this is a hack.
4042 sub_auxdir
="`cd $ac_aux_dir && ${PWDCMD-pwd}`"
4043 ac_configure_args
="$ac_configure_args --with-auxdir=$sub_auxdir"
4048 # Check whether --enable-shared or --disable-shared was given.
4049 if test "${enable_shared+set}" = set; then
4050 enableval
="$enable_shared"
4051 p
=${PACKAGE-default}
4053 yes) enable_shared
=yes ;;
4054 no
) enable_shared
=no
;;
4057 # Look at the argument we got. We use all the common list separators.
4058 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4059 for pkg
in $enableval; do
4060 if test "X$pkg" = "X$p"; then
4070 # Check whether --enable-static or --disable-static was given.
4071 if test "${enable_static+set}" = set; then
4072 enableval
="$enable_static"
4073 p
=${PACKAGE-default}
4075 yes) enable_static
=yes ;;
4076 no
) enable_static
=no
;;
4079 # Look at the argument we got. We use all the common list separators.
4080 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4081 for pkg
in $enableval; do
4082 if test "X$pkg" = "X$p"; then
4092 # Check whether --enable-fast-install or --disable-fast-install was given.
4093 if test "${enable_fast_install+set}" = set; then
4094 enableval
="$enable_fast_install"
4095 p
=${PACKAGE-default}
4097 yes) enable_fast_install
=yes ;;
4098 no
) enable_fast_install
=no
;;
4100 enable_fast_install
=no
4101 # Look at the argument we got. We use all the common list separators.
4102 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4103 for pkg
in $enableval; do
4104 if test "X$pkg" = "X$p"; then
4105 enable_fast_install
=yes
4112 enable_fast_install
=yes
4115 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4116 if test "${with_gnu_ld+set}" = set; then
4117 withval
="$with_gnu_ld"
4118 test "$withval" = no || with_gnu_ld
=yes
4123 if test "$GCC" = yes; then
4124 # Check if gcc -print-prog-name=ld gives a path.
4125 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4126 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4129 # gcc leaves a trailing carriage return which upsets mingw
4130 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4132 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4135 # Accept absolute paths.
4136 [\\/]* |
[A-Za-z
]:[\\/]*)
4137 re_direlt
='/[^/][^/]*/\.\./'
4138 # Canonicalize the path of ld
4139 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
4140 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4141 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
4143 test -z "$LD" && LD
="$ac_prog"
4146 # If it fails, then pretend we aren't using GCC.
4150 # If it is relative, then search for the first ld in PATH.
4154 elif test "$with_gnu_ld" = yes; then
4155 echo "$as_me:$LINENO: checking for GNU ld" >&5
4156 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4158 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4159 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4161 if test "${lt_cv_path_LD+set}" = set; then
4162 echo $ECHO_N "(cached) $ECHO_C" >&6
4164 if test -z "$LD"; then
4165 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4166 for ac_dir
in $PATH; do
4167 test -z "$ac_dir" && ac_dir
=.
4168 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4169 lt_cv_path_LD
="$ac_dir/$ac_prog"
4170 # Check to see if the program is GNU ld. I'd rather use --version,
4171 # but apparently some GNU ld's only accept -v.
4172 # Break only if it was the GNU/non-GNU ld that we prefer.
4173 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
4174 test "$with_gnu_ld" != no
&& break
4176 test "$with_gnu_ld" != yes && break
4182 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4187 if test -n "$LD"; then
4188 echo "$as_me:$LINENO: result: $LD" >&5
4189 echo "${ECHO_T}$LD" >&6
4191 echo "$as_me:$LINENO: result: no" >&5
4192 echo "${ECHO_T}no" >&6
4194 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4195 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4196 { (exit 1); exit 1; }; }
4197 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4198 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4199 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4200 echo $ECHO_N "(cached) $ECHO_C" >&6
4202 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4203 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4204 lt_cv_prog_gnu_ld
=yes
4206 lt_cv_prog_gnu_ld
=no
4209 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4210 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4211 with_gnu_ld
=$lt_cv_prog_gnu_ld
4214 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4215 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4216 if test "${lt_cv_ld_reload_flag+set}" = set; then
4217 echo $ECHO_N "(cached) $ECHO_C" >&6
4219 lt_cv_ld_reload_flag
='-r'
4221 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4222 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4223 reload_flag
=$lt_cv_ld_reload_flag
4224 test -n "$reload_flag" && reload_flag
=" $reload_flag"
4226 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4227 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4228 if test "${lt_cv_path_NM+set}" = set; then
4229 echo $ECHO_N "(cached) $ECHO_C" >&6
4231 if test -n "$NM"; then
4232 # Let the user override the test.
4235 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4236 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
4237 test -z "$ac_dir" && ac_dir
=.
4238 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
4239 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
4240 # Check to see if the nm accepts a BSD-compat flag.
4241 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4242 # nm: unknown option "B" ignored
4243 # Tru64's nm complains that /dev/null is an invalid object file
4244 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
4245 lt_cv_path_NM
="$tmp_nm -B"
4247 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
4248 lt_cv_path_NM
="$tmp_nm -p"
4251 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4252 continue # so that we can try to find one that supports BSD flags
4257 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4262 echo "$as_me:$LINENO: result: $NM" >&5
4263 echo "${ECHO_T}$NM" >&6
4265 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4266 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4267 if test "${lt_cv_deplibs_check_method+set}" = set; then
4268 echo $ECHO_N "(cached) $ECHO_C" >&6
4270 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4271 lt_cv_file_magic_test_file
=
4272 lt_cv_deplibs_check_method
='unknown'
4273 # Need to set the preceding variable on all platforms that support
4274 # interlibrary dependencies.
4275 # 'none' -- dependencies not supported.
4276 # `unknown' -- same as none, but documents that we really don't know.
4277 # 'pass_all' -- all dependencies passed with no checks.
4278 # 'test_compile' -- check by making test program.
4279 # 'file_magic [regex]' -- check by looking for files in library path
4280 # which responds to the $file_magic_cmd with a given egrep regex.
4281 # If you have `file' or equivalent on your system and you're not sure
4282 # whether `pass_all' will *always* work, you probably want this one.
4286 lt_cv_deplibs_check_method
=pass_all
4290 lt_cv_deplibs_check_method
=pass_all
4294 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4295 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4296 lt_cv_file_magic_test_file
=/shlib
/libc.so
4299 cygwin
* | mingw
* |pw32
*)
4300 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4301 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4304 darwin
* | rhapsody
*)
4305 # this will be overwritten by pass_all, but leave it in just in case
4306 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
4307 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4309 rhapsody
* | darwin1.012
)
4310 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
4313 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
4316 lt_cv_deplibs_check_method
=pass_all
4319 freebsd
* | kfreebsd
*-gnu)
4320 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4323 # Not sure whether the presence of OpenBSD here was a mistake.
4324 # Let's accept both of them until this is cleared up.
4325 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4326 lt_cv_file_magic_cmd
=/usr
/bin
/file
4327 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4331 lt_cv_deplibs_check_method
=pass_all
4336 lt_cv_deplibs_check_method
=pass_all
4342 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4343 lt_cv_file_magic_cmd
=/usr
/bin
/file
4344 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4347 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4348 lt_cv_file_magic_cmd
=/usr
/bin
/file
4349 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4357 # this will be overridden with pass_all, but let us keep it just in case
4358 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4362 *-32|
*"-32 ") libmagic
=32-bit;;
4363 *-n32|
*"-n32 ") libmagic
=N32
;;
4364 *-64|
*"-64 ") libmagic
=64-bit;;
4365 *) libmagic
=never-match
;;
4367 # this will be overridden with pass_all, but let us keep it just in case
4368 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4371 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
4372 lt_cv_deplibs_check_method
=pass_all
4375 # This must be Linux ELF.
4377 lt_cv_deplibs_check_method
=pass_all
4380 netbsd
* | knetbsd
*-gnu)
4381 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4382 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4384 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
4389 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4390 lt_cv_file_magic_cmd
=/usr
/bin
/file
4391 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4394 osf3
* | osf4
* | osf5
*)
4395 # this will be overridden with pass_all, but let us keep it just in case
4396 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
4397 lt_cv_file_magic_test_file
=/shlib
/libc.so
4398 lt_cv_deplibs_check_method
=pass_all
4402 lt_cv_deplibs_check_method
=pass_all
4406 lt_cv_deplibs_check_method
=pass_all
4407 lt_cv_file_magic_test_file
=/lib
/libc.so
4410 sysv5uw
[78]* | sysv4
*uw2
*)
4411 lt_cv_deplibs_check_method
=pass_all
4414 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
4415 case $host_vendor in
4417 lt_cv_deplibs_check_method
=pass_all
4420 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]'
4421 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4428 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4429 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4430 file_magic_cmd
=$lt_cv_file_magic_cmd
4431 deplibs_check_method
=$lt_cv_deplibs_check_method
4436 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4438 # find the maximum length of command line arguments
4439 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4440 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4441 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4442 echo $ECHO_N "(cached) $ECHO_C" >&6
4449 # On DJGPP, this test can blow up pretty badly due to problems in libc
4450 # (any single argument exceeding 2000 bytes causes a buffer overrun
4451 # during glob expansion). Even if it were fixed, the result of this
4452 # check would be larger than it should be.
4453 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4457 # On Win9x/ME, this test blows up -- it succeeds, but takes
4458 # about 5 minutes as the teststring grows exponentially.
4459 # Worse, since 9x/ME are not pre-emptively multitasking,
4460 # you end up with a "frozen" computer, even though with patience
4461 # the test eventually succeeds (with a max line length of 256k).
4462 # Instead, let's just punt: use the minimum linelength reported by
4463 # all of the supported platforms: 8192 (on NT/2K/XP).
4464 lt_cv_sys_max_cmd_len
=8192;
4468 # On AmigaOS with pdksh, this test takes hours, literally.
4469 # So we just punt and use a minimum line length of 8192.
4470 lt_cv_sys_max_cmd_len
=8192;
4473 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4474 # This has been around since 386BSD, at least. Likely further.
4475 if test -x /sbin
/sysctl
; then
4476 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4477 elif test -x /usr
/sbin
/sysctl
; then
4478 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4480 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
4482 # And add a safety zone
4483 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4484 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4490 if test -n "$lt_cv_sys_max_cmd_len" ; then
4491 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4492 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4494 echo "$as_me:$LINENO: result: none" >&5
4495 echo "${ECHO_T}none" >&6
4499 # Only perform the check for file, if the check method requires it
4500 case $deplibs_check_method in
4502 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4503 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4504 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4505 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4506 echo $ECHO_N "(cached) $ECHO_C" >&6
4510 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
4513 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
4516 ac_save_MAGIC_CMD
="$MAGIC_CMD"
4517 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
4518 ac_dummy
="/usr/bin:$PATH"
4519 for ac_dir
in $ac_dummy; do
4520 test -z "$ac_dir" && ac_dir
=.
4521 if test -f $ac_dir/${ac_tool_prefix}file; then
4522 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
4523 if test -n "$file_magic_test_file"; then
4524 case $deplibs_check_method in
4526 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4527 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4528 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
4529 egrep "$file_magic_regex" > /dev
/null
; then
4534 *** Warning: the command libtool uses to detect shared libraries,
4535 *** $file_magic_cmd, produces output that libtool cannot recognize.
4536 *** The result is that libtool may fail to recognize shared libraries
4537 *** as such. This will affect the creation of libtool libraries that
4538 *** depend on shared libraries, but programs linked with such libtool
4539 *** libraries will work regardless of this problem. Nevertheless, you
4540 *** may want to report the problem to your system manager and/or to
4541 *** bug-libtool@gnu.org
4551 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4556 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4557 if test -n "$MAGIC_CMD"; then
4558 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4559 echo "${ECHO_T}$MAGIC_CMD" >&6
4561 echo "$as_me:$LINENO: result: no" >&5
4562 echo "${ECHO_T}no" >&6
4565 if test -z "$lt_cv_path_MAGIC_CMD"; then
4566 if test -n "$ac_tool_prefix"; then
4567 echo "$as_me:$LINENO: checking for file" >&5
4568 echo $ECHO_N "checking for file... $ECHO_C" >&6
4569 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4570 echo $ECHO_N "(cached) $ECHO_C" >&6
4574 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
4577 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
4580 ac_save_MAGIC_CMD
="$MAGIC_CMD"
4581 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
4582 ac_dummy
="/usr/bin:$PATH"
4583 for ac_dir
in $ac_dummy; do
4584 test -z "$ac_dir" && ac_dir
=.
4585 if test -f $ac_dir/file; then
4586 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
4587 if test -n "$file_magic_test_file"; then
4588 case $deplibs_check_method in
4590 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4591 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4592 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
4593 egrep "$file_magic_regex" > /dev
/null
; then
4598 *** Warning: the command libtool uses to detect shared libraries,
4599 *** $file_magic_cmd, produces output that libtool cannot recognize.
4600 *** The result is that libtool may fail to recognize shared libraries
4601 *** as such. This will affect the creation of libtool libraries that
4602 *** depend on shared libraries, but programs linked with such libtool
4603 *** libraries will work regardless of this problem. Nevertheless, you
4604 *** may want to report the problem to your system manager and/or to
4605 *** bug-libtool@gnu.org
4615 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4620 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4621 if test -n "$MAGIC_CMD"; then
4622 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4623 echo "${ECHO_T}$MAGIC_CMD" >&6
4625 echo "$as_me:$LINENO: result: no" >&5
4626 echo "${ECHO_T}no" >&6
4638 if test -n "$ac_tool_prefix"; then
4639 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4640 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4641 echo "$as_me:$LINENO: checking for $ac_word" >&5
4642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4643 if test "${ac_cv_prog_RANLIB+set}" = set; then
4644 echo $ECHO_N "(cached) $ECHO_C" >&6
4646 if test -n "$RANLIB"; then
4647 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4653 test -z "$as_dir" && as_dir
=.
4654 for ac_exec_ext
in '' $ac_executable_extensions; do
4655 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4656 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4665 RANLIB
=$ac_cv_prog_RANLIB
4666 if test -n "$RANLIB"; then
4667 echo "$as_me:$LINENO: result: $RANLIB" >&5
4668 echo "${ECHO_T}$RANLIB" >&6
4670 echo "$as_me:$LINENO: result: no" >&5
4671 echo "${ECHO_T}no" >&6
4675 if test -z "$ac_cv_prog_RANLIB"; then
4676 ac_ct_RANLIB
=$RANLIB
4677 # Extract the first word of "ranlib", so it can be a program name with args.
4678 set dummy ranlib
; ac_word
=$2
4679 echo "$as_me:$LINENO: checking for $ac_word" >&5
4680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4681 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4682 echo $ECHO_N "(cached) $ECHO_C" >&6
4684 if test -n "$ac_ct_RANLIB"; then
4685 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4691 test -z "$as_dir" && as_dir
=.
4692 for ac_exec_ext
in '' $ac_executable_extensions; do
4693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4694 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4701 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4704 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4705 if test -n "$ac_ct_RANLIB"; then
4706 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4707 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4709 echo "$as_me:$LINENO: result: no" >&5
4710 echo "${ECHO_T}no" >&6
4713 RANLIB
=$ac_ct_RANLIB
4715 RANLIB
="$ac_cv_prog_RANLIB"
4718 if test -n "$ac_tool_prefix"; then
4719 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4720 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4721 echo "$as_me:$LINENO: checking for $ac_word" >&5
4722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4723 if test "${ac_cv_prog_STRIP+set}" = set; then
4724 echo $ECHO_N "(cached) $ECHO_C" >&6
4726 if test -n "$STRIP"; then
4727 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4733 test -z "$as_dir" && as_dir
=.
4734 for ac_exec_ext
in '' $ac_executable_extensions; do
4735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4736 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4745 STRIP
=$ac_cv_prog_STRIP
4746 if test -n "$STRIP"; then
4747 echo "$as_me:$LINENO: result: $STRIP" >&5
4748 echo "${ECHO_T}$STRIP" >&6
4750 echo "$as_me:$LINENO: result: no" >&5
4751 echo "${ECHO_T}no" >&6
4755 if test -z "$ac_cv_prog_STRIP"; then
4757 # Extract the first word of "strip", so it can be a program name with args.
4758 set dummy strip
; ac_word
=$2
4759 echo "$as_me:$LINENO: checking for $ac_word" >&5
4760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4761 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4762 echo $ECHO_N "(cached) $ECHO_C" >&6
4764 if test -n "$ac_ct_STRIP"; then
4765 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4771 test -z "$as_dir" && as_dir
=.
4772 for ac_exec_ext
in '' $ac_executable_extensions; do
4773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4774 ac_cv_prog_ac_ct_STRIP
="strip"
4775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4781 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
4784 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4785 if test -n "$ac_ct_STRIP"; then
4786 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4787 echo "${ECHO_T}$ac_ct_STRIP" >&6
4789 echo "$as_me:$LINENO: result: no" >&5
4790 echo "${ECHO_T}no" >&6
4795 STRIP
="$ac_cv_prog_STRIP"
4799 # Check for any special flags to pass to ltconfig.
4800 libtool_flags
="--cache-file=$cache_file"
4801 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
4802 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
4803 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
4804 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
4805 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
4808 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4809 if test "${enable_libtool_lock+set}" = set; then
4810 enableval
="$enable_libtool_lock"
4813 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
4814 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
4817 # Check whether --with-pic or --without-pic was given.
4818 if test "${with_pic+set}" = set; then
4824 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
4825 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
4827 # Some flags need to be propagated to the compiler or linker for good
4831 # Find out which ABI we are using.
4832 echo '#line 4832 "configure"' > conftest.
$ac_ext
4833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4834 (eval $ac_compile) 2>&5
4836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4837 (exit $ac_status); }; then
4838 if test "$lt_cv_prog_gnu_ld" = yes; then
4839 case `/usr/bin/file conftest.$ac_objext` in
4841 LD
="${LD-ld} -melf32bsmip"
4844 LD
="${LD-ld} -melf32bmipn32"
4847 LD
="${LD-ld} -melf64bmip"
4851 case `/usr/bin/file conftest.$ac_objext` in
4868 # Find out which ABI we are using.
4869 echo 'int i;' > conftest.
$ac_ext
4870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4871 (eval $ac_compile) 2>&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); }; then
4875 case "`/usr/bin/file conftest.o`" in
4887 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4888 # Find out which ABI we are using.
4889 echo 'int i;' > conftest.
$ac_ext
4890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4891 (eval $ac_compile) 2>&5
4893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4894 (exit $ac_status); }; then
4895 case "`/usr/bin/file conftest.o`" in
4899 LD
="${LD-ld} -m elf_i386"
4901 ppc64-
*linux
*|powerpc64-
*linux
*)
4902 LD
="${LD-ld} -m elf32ppclinux"
4905 LD
="${LD-ld} -m elf_s390"
4908 LD
="${LD-ld} -m elf32_sparc"
4915 LD
="${LD-ld} -m elf_x86_64"
4917 ppc
*-*linux
*|powerpc
*-*linux
*)
4918 LD
="${LD-ld} -m elf64ppc"
4921 LD
="${LD-ld} -m elf64_s390"
4924 LD
="${LD-ld} -m elf64_sparc"
4934 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4935 SAVE_CFLAGS
="$CFLAGS"
4936 CFLAGS
="$CFLAGS -belf"
4937 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4938 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4939 if test "${lt_cv_cc_needs_belf+set}" = set; then
4940 echo $ECHO_N "(cached) $ECHO_C" >&6
4945 ac_cpp
='$CPP $CPPFLAGS'
4946 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4947 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4948 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4950 if test x
$gcc_no_link = xyes
; then
4951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4953 { (exit 1); exit 1; }; }
4955 cat >conftest.
$ac_ext <<_ACEOF
4958 cat confdefs.h
>>conftest.
$ac_ext
4959 cat >>conftest.
$ac_ext <<_ACEOF
4960 /* end confdefs.h. */
4970 rm -f conftest.
$ac_objext conftest
$ac_exeext
4971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4972 (eval $ac_link) 2>conftest.er1
4974 grep -v '^ *+' conftest.er1
>conftest.err
4976 cat conftest.err
>&5
4977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4978 (exit $ac_status); } &&
4979 { ac_try
='test -z "$ac_c_werror_flag"
4980 || test ! -s conftest.err'
4981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4985 (exit $ac_status); }; } &&
4986 { ac_try
='test -s conftest$ac_exeext'
4987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4991 (exit $ac_status); }; }; then
4992 lt_cv_cc_needs_belf
=yes
4994 echo "$as_me: failed program was:" >&5
4995 sed 's/^/| /' conftest.
$ac_ext >&5
4997 lt_cv_cc_needs_belf
=no
4999 rm -f conftest.err conftest.
$ac_objext \
5000 conftest
$ac_exeext conftest.
$ac_ext
5002 ac_cpp
='$CPP $CPPFLAGS'
5003 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5004 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5005 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5008 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5009 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5010 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5011 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5012 CFLAGS
="$SAVE_CFLAGS"
5020 # Save cache, so that ltconfig can load it
5021 cat >confcache
<<\_ACEOF
5022 # This file is a shell script that caches the results of configure
5023 # tests run on this system so they can be shared between configure
5024 # scripts and configure runs, see configure's option --config-cache.
5025 # It is not useful on other systems. If it contains results you don't
5026 # want to keep, you may remove or edit it.
5028 # config.status only pays attention to the cache file if you give it
5029 # the --recheck option to rerun configure.
5031 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5032 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5037 # The following way of writing the cache mishandles newlines in values,
5038 # but we know of no workaround that is simple, portable, and efficient.
5039 # So, don't put newlines in cache variables' values.
5040 # Ultrix sh set writes to stderr and can't be redirected directly,
5041 # and sets the high bit in the cache file unless we assign to the vars.
5044 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5046 # `set' does not quote correctly, so add quotes (double-quote
5047 # substitution turns \\\\ into \\, and sed turns \\ into \).
5050 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5053 # `set' quotes correctly as required by POSIX, so do not add quotes.
5055 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5062 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5064 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5066 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5067 if test -w $cache_file; then
5068 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5069 cat confcache
>$cache_file
5071 echo "not updating unwritable cache $cache_file"
5076 # Actually configure libtool. ac_aux_dir is where install-sh is found.
5077 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
5078 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
5079 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
5080 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
5081 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
5082 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
5083 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
5084 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
5085 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
5086 echo "$as_me: error: libtool configure failed" >&2;}
5087 { (exit 1); exit 1; }; }
5089 # Reload cache, that may have been modified by ltconfig
5090 if test -r "$cache_file"; then
5091 # Some versions of bash will fail to source /dev/null (special
5092 # files actually), so we avoid doing that.
5093 if test -f "$cache_file"; then
5094 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5095 echo "$as_me: loading cache $cache_file" >&6;}
5097 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
5098 *) . .
/$cache_file;;
5102 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5103 echo "$as_me: creating cache $cache_file" >&6;}
5108 # This can be used to rebuild libtool when needed
5109 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5111 # Always use our own libtool.
5112 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
5114 # Redirect the config.log output again, so that the ltconfig log is not
5115 # clobbered by the next message.
5116 exec 5>>.
/config.log
5119 ac_cpp
='$CXXCPP $CPPFLAGS'
5120 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5121 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5122 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5123 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5124 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5125 if test -z "$CXXCPP"; then
5126 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5127 echo $ECHO_N "(cached) $ECHO_C" >&6
5129 # Double quotes because CXXCPP needs to be expanded
5130 for CXXCPP
in "$CXX -E" "/lib/cpp"
5133 for ac_cxx_preproc_warn_flag
in '' yes
5135 # Use a header file that comes with gcc, so configuring glibc
5136 # with a fresh cross-compiler works.
5137 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5138 # <limits.h> exists even on freestanding compilers.
5139 # On the NeXT, cc -E runs the code through the compiler's parser,
5140 # not just through cpp. "Syntax error" is here to catch this case.
5141 cat >conftest.
$ac_ext <<_ACEOF
5144 cat confdefs.h
>>conftest.
$ac_ext
5145 cat >>conftest.
$ac_ext <<_ACEOF
5146 /* end confdefs.h. */
5148 # include <limits.h>
5150 # include <assert.h>
5154 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5155 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5157 grep -v '^ *+' conftest.er1
>conftest.err
5159 cat conftest.err
>&5
5160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5161 (exit $ac_status); } >/dev
/null
; then
5162 if test -s conftest.err
; then
5163 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5164 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5171 if test -z "$ac_cpp_err"; then
5174 echo "$as_me: failed program was:" >&5
5175 sed 's/^/| /' conftest.
$ac_ext >&5
5177 # Broken: fails on valid input.
5180 rm -f conftest.err conftest.
$ac_ext
5182 # OK, works on sane cases. Now check whether non-existent headers
5183 # can be detected and how.
5184 cat >conftest.
$ac_ext <<_ACEOF
5187 cat confdefs.h
>>conftest.
$ac_ext
5188 cat >>conftest.
$ac_ext <<_ACEOF
5189 /* end confdefs.h. */
5190 #include <ac_nonexistent.h>
5192 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5193 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5195 grep -v '^ *+' conftest.er1
>conftest.err
5197 cat conftest.err
>&5
5198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5199 (exit $ac_status); } >/dev
/null
; then
5200 if test -s conftest.err
; then
5201 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5202 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5209 if test -z "$ac_cpp_err"; then
5210 # Broken: success on invalid input.
5213 echo "$as_me: failed program was:" >&5
5214 sed 's/^/| /' conftest.
$ac_ext >&5
5216 # Passes both tests.
5220 rm -f conftest.err conftest.
$ac_ext
5223 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5224 rm -f conftest.err conftest.
$ac_ext
5225 if $ac_preproc_ok; then
5230 ac_cv_prog_CXXCPP
=$CXXCPP
5233 CXXCPP
=$ac_cv_prog_CXXCPP
5235 ac_cv_prog_CXXCPP
=$CXXCPP
5237 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5238 echo "${ECHO_T}$CXXCPP" >&6
5240 for ac_cxx_preproc_warn_flag
in '' yes
5242 # Use a header file that comes with gcc, so configuring glibc
5243 # with a fresh cross-compiler works.
5244 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5245 # <limits.h> exists even on freestanding compilers.
5246 # On the NeXT, cc -E runs the code through the compiler's parser,
5247 # not just through cpp. "Syntax error" is here to catch this case.
5248 cat >conftest.
$ac_ext <<_ACEOF
5251 cat confdefs.h
>>conftest.
$ac_ext
5252 cat >>conftest.
$ac_ext <<_ACEOF
5253 /* end confdefs.h. */
5255 # include <limits.h>
5257 # include <assert.h>
5261 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5262 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5264 grep -v '^ *+' conftest.er1
>conftest.err
5266 cat conftest.err
>&5
5267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5268 (exit $ac_status); } >/dev
/null
; then
5269 if test -s conftest.err
; then
5270 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5271 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5278 if test -z "$ac_cpp_err"; then
5281 echo "$as_me: failed program was:" >&5
5282 sed 's/^/| /' conftest.
$ac_ext >&5
5284 # Broken: fails on valid input.
5287 rm -f conftest.err conftest.
$ac_ext
5289 # OK, works on sane cases. Now check whether non-existent headers
5290 # can be detected and how.
5291 cat >conftest.
$ac_ext <<_ACEOF
5294 cat confdefs.h
>>conftest.
$ac_ext
5295 cat >>conftest.
$ac_ext <<_ACEOF
5296 /* end confdefs.h. */
5297 #include <ac_nonexistent.h>
5299 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5300 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5302 grep -v '^ *+' conftest.er1
>conftest.err
5304 cat conftest.err
>&5
5305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5306 (exit $ac_status); } >/dev
/null
; then
5307 if test -s conftest.err
; then
5308 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5309 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5316 if test -z "$ac_cpp_err"; then
5317 # Broken: success on invalid input.
5320 echo "$as_me: failed program was:" >&5
5321 sed 's/^/| /' conftest.
$ac_ext >&5
5323 # Passes both tests.
5327 rm -f conftest.err conftest.
$ac_ext
5330 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5331 rm -f conftest.err conftest.
$ac_ext
5332 if $ac_preproc_ok; then
5335 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5336 See \`config.log' for more details." >&5
5337 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5338 See \`config.log' for more details." >&2;}
5339 { (exit 1); exit 1; }; }
5343 ac_cpp
='$CPP $CPPFLAGS'
5344 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5345 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5346 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5350 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
5352 lt_save_CFLAGS
="$CFLAGS"
5353 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
5354 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
5355 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
5356 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
5357 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
5358 deplibs_check_method
="$deplibs_check_method" \
5359 file_magic_cmd
="$file_magic_cmd" \
5360 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
5361 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
5362 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
5363 echo "$as_me: error: libtool tag configuration failed" >&2;}
5364 { (exit 1); exit 1; }; }
5366 CFLAGS
="$lt_save_CFLAGS"
5368 # Redirect the config.log output again, so that the ltconfig log is not
5369 # clobbered by the next message.
5370 exec 5>>.
/config.log
5380 # Extract the first word of "$ac_prog", so it can be a program name with args.
5381 set dummy
$ac_prog; ac_word
=$2
5382 echo "$as_me:$LINENO: checking for $ac_word" >&5
5383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5384 if test "${ac_cv_prog_GCJ+set}" = set; then
5385 echo $ECHO_N "(cached) $ECHO_C" >&6
5387 if test -n "$GCJ"; then
5388 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
5390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5394 test -z "$as_dir" && as_dir
=.
5395 for ac_exec_ext
in '' $ac_executable_extensions; do
5396 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5397 ac_cv_prog_GCJ
="$ac_prog"
5398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5407 if test -n "$GCJ"; then
5408 echo "$as_me:$LINENO: result: $GCJ" >&5
5409 echo "${ECHO_T}$GCJ" >&6
5411 echo "$as_me:$LINENO: result: no" >&5
5412 echo "${ECHO_T}no" >&6
5415 test -n "$GCJ" && break
5417 test -n "$GCJ" || GCJ
="gcj"
5419 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
5420 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
5421 { (exit 1); exit 1; }; }
5422 if test "x${GCJFLAGS-unset}" = xunset
; then
5427 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
5429 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5430 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5431 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
5432 echo $ECHO_N "(cached) $ECHO_C" >&6
5434 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5435 # We make a subdir and do the tests there. Otherwise we can end up
5436 # making bogus files that we don't know about and never remove. For
5437 # instance it was reported that on HP-UX the gcc test will end up
5438 # making a dummy file named `D' -- because `-MD' means `put the output
5441 # Copy depcomp to subdir because otherwise we won't find it if we're
5442 # using a relative directory.
5443 cp "$am_depcomp" conftest.dir
5445 # We will build objects and dependencies in a subdirectory because
5446 # it helps to detect inapplicable dependency modes. For instance
5447 # both Tru64's cc and ICC support -MD to output dependencies as a
5448 # side effect of compilation, but ICC will put the dependencies in
5449 # the current directory while Tru64 will put them in the object
5453 am_cv_GCJ_dependencies_compiler_type
=none
5454 if test "$am_compiler_list" = ""; then
5455 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5457 for depmode
in $am_compiler_list; do
5458 # Setup a source with many dependencies, because some compilers
5459 # like to wrap large dependency lists on column 80 (with \), and
5460 # we should not choose a depcomp mode which is confused by this.
5462 # We need to recreate these files for each test, as the compiler may
5463 # overwrite some of them when testing with obscure command lines.
5464 # This happens at least with the AIX C compiler.
5466 for i
in 1 2 3 4 5 6; do
5467 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5468 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5469 # Solaris 8's {/usr,}/bin/sh.
5470 touch sub
/conftst
$i.h
5472 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5476 # after this tag, mechanisms are not by side-effect, so they'll
5477 # only be used when explicitly requested
5478 if test "x$enable_dependency_tracking" = xyes
; then
5486 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5487 # mode. It turns out that the SunPro C++ compiler does not properly
5488 # handle `-M -o', and we need to detect this.
5489 if depmode
=$depmode \
5490 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5491 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5492 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5493 >/dev
/null
2>conftest.err
&&
5494 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5495 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5496 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5497 # icc doesn't choke on unknown options, it will just issue warnings
5498 # or remarks (even with -Werror). So we grep stderr for any message
5499 # that says an option was ignored or not supported.
5500 # When given -MP, icc 7.0 and 7.1 complain thusly:
5501 # icc: Command line warning: ignoring option '-M'; no argument required
5502 # The diagnosis changed in icc 8.0:
5503 # icc: Command line remark: option '-MP' not supported
5504 if (grep 'ignoring option' conftest.err ||
5505 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5506 am_cv_GCJ_dependencies_compiler_type
=$depmode
5515 am_cv_GCJ_dependencies_compiler_type
=none
5519 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
5520 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
5521 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
5526 test "x$enable_dependency_tracking" != xno \
5527 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
5528 am__fastdepGCJ_TRUE
=
5529 am__fastdepGCJ_FALSE
='#'
5531 am__fastdepGCJ_TRUE
='#'
5532 am__fastdepGCJ_FALSE
=
5538 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-gcj.sh"
5540 lt_save_CFLAGS
="$CFLAGS"
5541 AR
="$AR" LTCC
="$CC" CC
="$GCJ" CFLAGS
="$GCJFLAGS" CPPFLAGS
="$CPPFLAGS" \
5542 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
5543 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
5544 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
5545 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
5546 deplibs_check_method
="$deplibs_check_method" \
5547 file_magic_cmd
="$file_magic_cmd" \
5548 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
5549 --build="$build" --add-tag=GCJ
$ac_aux_dir/ltcf-gcj.sh
$host \
5550 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
5551 echo "$as_me: error: libtool tag configuration failed" >&2;}
5552 { (exit 1); exit 1; }; }
5554 CFLAGS
="$lt_save_CFLAGS"
5556 # Redirect the config.log output again, so that the ltconfig log is not
5557 # clobbered by the next message.
5558 exec 5>>.
/config.log
5562 if test "x$CC" != xcc
; then
5563 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
5564 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
5566 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
5567 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
5569 set dummy
$CC; ac_cc
=`echo $2 |
5570 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5571 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
5572 echo $ECHO_N "(cached) $ECHO_C" >&6
5574 cat >conftest.
$ac_ext <<_ACEOF
5577 cat confdefs.h
>>conftest.
$ac_ext
5578 cat >>conftest.
$ac_ext <<_ACEOF
5579 /* end confdefs.h. */
5589 # Make sure it works both with $CC and with simple cc.
5590 # We do the test twice because some compilers refuse to overwrite an
5591 # existing .o file with -o, though they will create one.
5592 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
5593 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5597 (exit $ac_status); } &&
5598 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5602 (exit $ac_status); };
5604 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
5605 if test "x$CC" != xcc
; then
5606 # Test first that cc exists at all.
5607 if { ac_try
='cc -c conftest.$ac_ext >&5'
5608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612 (exit $ac_status); }; }; then
5613 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
5614 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5618 (exit $ac_status); } &&
5619 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5623 (exit $ac_status); };
5628 # cc exists but doesn't like -o.
5629 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
5634 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
5639 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
5640 echo "$as_me:$LINENO: result: yes" >&5
5641 echo "${ECHO_T}yes" >&6
5643 echo "$as_me:$LINENO: result: no" >&5
5644 echo "${ECHO_T}no" >&6
5646 cat >>confdefs.h
<<\_ACEOF
5647 #define NO_MINUS_C_MINUS_O 1
5652 # FIXME: we rely on the cache variable name because
5653 # there is no other way.
5655 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5656 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
5657 # Losing compiler, so override with the script.
5658 # FIXME: It is wrong to rewrite CC.
5659 # But if we don't then we get into trouble of one sort or another.
5660 # A longer-term fix would be to have automake use am__CC in this case,
5661 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5662 CC
="$am_aux_dir/compile $CC"
5667 subdirs
="$subdirs libltdl"
5670 # The -no-testsuite modules omit the test subdir.
5673 if test -d $srcdir/testsuite
; then
5675 TESTSUBDIR_FALSE
='#'
5682 # Should the runtime set system properties by examining the
5683 # environment variable GCJ_PROPERTIES?
5684 # Check whether --enable-getenv-properties or --disable-getenv-properties was given.
5685 if test "${enable_getenv_properties+set}" = set; then
5686 enableval
="$enable_getenv_properties"
5690 # Whether GCJ_PROPERTIES is used depends on the target.
5691 if test -z "$enable_getenv_properties"; then
5692 enable_getenv_properties
=${enable_getenv_properties_default-yes}
5694 if test "$enable_getenv_properties" = no
; then
5696 cat >>confdefs.h
<<\_ACEOF
5697 #define DISABLE_GETENV_PROPERTIES 1
5702 # Whether we should use arguments to main()
5703 if test -z "$enable_main_args"; then
5704 enable_main_args
=${enable_main_args_default-yes}
5706 if test "$enable_main_args" = no
; then
5708 cat >>confdefs.h
<<\_ACEOF
5709 #define DISABLE_MAIN_ARGS 1
5715 # Should we use hashtable-based synchronization?
5716 # Currently works only for Linux X86/ia64
5717 # Typically faster and more space-efficient
5718 # Check whether --enable-hash-synchronization or --disable-hash-synchronization was given.
5719 if test "${enable_hash_synchronization+set}" = set; then
5720 enableval
="$enable_hash_synchronization"
5724 if test -z "$enable_hash_synchronization"; then
5725 enable_hash_synchronization
=$enable_hash_synchronization_default
5728 # Do we allow intermodule optimizations (i.e. compiling many files at once)?
5729 # Check whether --enable-libgcj-multifile or --disable-libgcj-multifile was given.
5730 if test "${enable_libgcj_multifile+set}" = set; then
5731 enableval
="$enable_libgcj_multifile"
5732 case "${enableval}" in
5733 yes) enable_libgcj_multifile
=yes ;;
5734 no
) enable_libgcj_multifile
=no
;;
5735 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-libgcj-multifile" >&5
5736 echo "$as_me: error: bad value ${enableval} for --enable-libgcj-multifile" >&2;}
5737 { (exit 1); exit 1; }; } ;;
5740 enable_libgcj_multifile
=no
5744 if test "$enable_libgcj_multifile" = yes; then
5754 # Check whether --with-java-home or --without-java-home was given.
5755 if test "${with_java_home+set}" = set; then
5756 withval
="$with_java_home"
5757 JAVA_HOME
="${withval}"
5763 if test ! -z "$JAVA_HOME"; then
5765 JAVA_HOME_SET_FALSE
='#'
5767 JAVA_HOME_SET_TRUE
='#'
5768 JAVA_HOME_SET_FALSE
=
5773 # What is the native OS API for MinGW?
5775 # Check whether --with-win32-nlsapi or --without-win32-nlsapi was given.
5776 if test "${with_win32_nlsapi+set}" = set; then
5777 withval
="$with_win32_nlsapi"
5778 case "${withval}" in
5779 ansi
) with_win32_nlsapi
=ansi
;;
5780 unicows
) with_win32_nlsapi
=unicows
;;
5781 unicode
) with_win32_nlsapi
=unicode
;;
5782 *) { { echo "$as_me:$LINENO: error: Bad value ${withval} for --with-win32-nlsapi." >&5
5783 echo "$as_me: error: Bad value ${withval} for --with-win32-nlsapi." >&2;}
5784 { (exit 1); exit 1; }; } ;;
5787 with_win32_nlsapi
=ansi
5790 case "${with_win32_nlsapi}" in
5793 cat >>confdefs.h
<<\_ACEOF
5794 #define MINGW_LIBGCJ_UNICODE 1
5800 # configure.host sets slow_pthread_self if the synchronization code should
5801 # try to avoid pthread_self calls by caching thread IDs in a hashtable.
5802 if test "${slow_pthread_self}" = "yes"; then
5804 cat >>confdefs.h
<<\_ACEOF
5805 #define SLOW_PTHREAD_SELF 1
5811 # See if the user has requested runtime debugging.
5814 # Check whether --enable-libgcj-debug or --disable-libgcj-debug was given.
5815 if test "${enable_libgcj_debug+set}" = set; then
5816 enableval
="$enable_libgcj_debug"
5817 if test "$enable_libgcj_debug" = yes; then
5819 cat >>confdefs.h
<<\_ACEOF
5827 # Check for gc debugging. This option is handled both here and in the GC.
5828 # Check whether --enable-gc-debug or --disable-gc-debug was given.
5829 if test "${enable_gc_debug+set}" = set; then
5830 enableval
="$enable_gc_debug"
5831 if test "$enable_gc_debug" = "yes"; then
5833 cat >>confdefs.h
<<\_ACEOF
5834 #define LIBGCJ_GC_DEBUG 1
5840 # See if the user has the interpreter included.
5841 # Check whether --enable-interpreter or --disable-interpreter was given.
5842 if test "${enable_interpreter+set}" = set; then
5843 enableval
="$enable_interpreter"
5844 if test "$enable_interpreter" = yes; then
5845 # This can also be set in configure.host.
5846 libgcj_interpreter
=yes
5847 elif test "$enable_interpreter" = no
; then
5848 libgcj_interpreter
=no
5852 if test "$libgcj_interpreter" = yes; then
5854 cat >>confdefs.h
<<\_ACEOF
5855 #define INTERPRETER 1
5859 INTERPRETER
="$libgcj_interpreter"
5862 echo "$as_me:$LINENO: checking for exception model to use" >&5
5863 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
5865 ac_cpp
='$CXXCPP $CPPFLAGS'
5866 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5867 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5868 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5870 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
5871 if test "${enable_sjlj_exceptions+set}" = set; then
5872 enableval
="$enable_sjlj_exceptions"
5875 cat > conftest.
$ac_ext << EOF
5876 #line 5876 "configure"
5885 old_CXXFLAGS
="$CXXFLAGS"
5887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5888 (eval $ac_compile) 2>&5
5890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5891 (exit $ac_status); }; then
5892 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1 ; then
5893 enable_sjlj_exceptions
=yes
5894 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1 ; then
5895 enable_sjlj_exceptions
=no
5898 CXXFLAGS
="$old_CXXFLAGS"
5901 if test x
$enable_sjlj_exceptions = xyes
; then
5903 cat >>confdefs.h
<<\_ACEOF
5904 #define SJLJ_EXCEPTIONS 1
5907 ac_exception_model_name
=sjlj
5908 elif test x
$enable_sjlj_exceptions = xno
; then
5909 ac_exception_model_name
="call frame"
5911 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5912 echo "$as_me: error: unable to detect exception model" >&2;}
5913 { (exit 1); exit 1; }; }
5916 ac_cpp
='$CPP $CPPFLAGS'
5917 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5918 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5919 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5921 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5922 echo "${ECHO_T}$ac_exception_model_name" >&6
5924 # If we are non using SJLJ exceptions, and this host does not have support
5925 # for unwinding from a signal handler, enable checked dereferences and divides.
5926 if test $can_unwind_signal = no
&& test $enable_sjlj_exceptions = no
; then
5927 CHECKREFSPEC
=-fcheck-references
5928 DIVIDESPEC
=-fuse-divide-subroutine
5932 # See if the user wants to disable java.net. This is the mildly
5933 # ugly way that we admit that target-side configuration sucks.
5934 # Check whether --enable-java-net or --disable-java-net was given.
5935 if test "${enable_java_net+set}" = set; then
5936 enableval
="$enable_java_net"
5940 # Whether java.net is built by default can depend on the target.
5941 if test -z "$enable_java_net"; then
5942 enable_java_net
=${enable_java_net_default-yes}
5944 if test "$enable_java_net" = no
; then
5946 cat >>confdefs.h
<<\_ACEOF
5947 #define DISABLE_JAVA_NET 1
5952 # See if the user wants to configure without libffi. Some
5953 # architectures don't support it, and default values are set in
5956 # Check whether --with-libffi or --without-libffi was given.
5957 if test "${with_libffi+set}" = set; then
5958 withval
="$with_libffi"
5961 with_libffi
=${with_libffi_default-yes}
5966 if test "$with_libffi" != no
; then
5968 cat >>confdefs.h
<<\_ACEOF
5969 #define USE_LIBFFI 1
5972 LIBFFI
=..
/libffi
/libffi_convenience.la
5973 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
5978 # See if the user wants to disable JVMPI support.
5979 # Check whether --enable-jvmpi or --disable-jvmpi was given.
5980 if test "${enable_jvmpi+set}" = set; then
5981 enableval
="$enable_jvmpi"
5985 if test "$enable_jvmpi" != no
; then
5987 cat >>confdefs.h
<<\_ACEOF
5988 #define ENABLE_JVMPI 1
5993 # If the target is an eCos system, use the appropriate eCos
5995 # FIXME: this should not be a local option but a global target
5996 # system; at present there is no eCos target.
5997 TARGET_ECOS
=${PROCESS-"no"}
5999 # Check whether --with-ecos or --without-ecos was given.
6000 if test "${with_ecos+set}" = set; then
6001 withval
="$with_ecos"
6002 TARGET_ECOS
="$with_ecos"
6008 PLATFORM_INNER_NAT_HDRS
=
6009 case "$TARGET_ECOS" in
6016 echo "$as_me:$LINENO: checking whether 'ld' is at least 2.13" >&5
6017 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6
6018 LD_PROG
=`$CC --print-prog-name=ld`
6019 LD_VERSION
=`$LD_PROG --version`
6020 LD_VERSION_MAJOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
6021 LD_VERSION_MINOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
6022 if expr "$LD_VERSION_MAJOR" \
> 2 > /dev
/null
; then
6025 if expr "$LD_VERSION_MAJOR" = 2 && expr "$LD_VERSION_MINOR" \
>= 13 > /dev
/null
; then
6029 if test "x$LD_OK" != x
; then
6030 echo "$as_me:$LINENO: result: yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
6031 echo "${ECHO_T}yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
6033 echo "$as_me:$LINENO: result: no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
6034 echo "${ECHO_T}no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
6035 { echo "$as_me:$LINENO: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&5
6036 echo "$as_me: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&2;}
6038 cat >>confdefs.h
<<\_ACEOF
6039 #define JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS 1
6048 PLATFORM_INNER_NAT_HDRS
='java/lang/ConcreteProcess$$ProcessManager.h'
6056 cat >>confdefs.h
<<\_ACEOF
6064 ac_config_links
="$ac_config_links include/platform.h:include/$PLATFORMH"
6068 ac_cpp
='$CPP $CPPFLAGS'
6069 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6070 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6071 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6072 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6073 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6074 # On Suns, sometimes $CPP names a directory.
6075 if test -n "$CPP" && test -d "$CPP"; then
6078 if test -z "$CPP"; then
6079 if test "${ac_cv_prog_CPP+set}" = set; then
6080 echo $ECHO_N "(cached) $ECHO_C" >&6
6082 # Double quotes because CPP needs to be expanded
6083 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6086 for ac_c_preproc_warn_flag
in '' yes
6088 # Use a header file that comes with gcc, so configuring glibc
6089 # with a fresh cross-compiler works.
6090 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6091 # <limits.h> exists even on freestanding compilers.
6092 # On the NeXT, cc -E runs the code through the compiler's parser,
6093 # not just through cpp. "Syntax error" is here to catch this case.
6094 cat >conftest.
$ac_ext <<_ACEOF
6097 cat confdefs.h
>>conftest.
$ac_ext
6098 cat >>conftest.
$ac_ext <<_ACEOF
6099 /* end confdefs.h. */
6101 # include <limits.h>
6103 # include <assert.h>
6107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6108 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6110 grep -v '^ *+' conftest.er1
>conftest.err
6112 cat conftest.err
>&5
6113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6114 (exit $ac_status); } >/dev
/null
; then
6115 if test -s conftest.err
; then
6116 ac_cpp_err
=$ac_c_preproc_warn_flag
6117 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6124 if test -z "$ac_cpp_err"; then
6127 echo "$as_me: failed program was:" >&5
6128 sed 's/^/| /' conftest.
$ac_ext >&5
6130 # Broken: fails on valid input.
6133 rm -f conftest.err conftest.
$ac_ext
6135 # OK, works on sane cases. Now check whether non-existent headers
6136 # can be detected and how.
6137 cat >conftest.
$ac_ext <<_ACEOF
6140 cat confdefs.h
>>conftest.
$ac_ext
6141 cat >>conftest.
$ac_ext <<_ACEOF
6142 /* end confdefs.h. */
6143 #include <ac_nonexistent.h>
6145 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6146 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6148 grep -v '^ *+' conftest.er1
>conftest.err
6150 cat conftest.err
>&5
6151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152 (exit $ac_status); } >/dev
/null
; then
6153 if test -s conftest.err
; then
6154 ac_cpp_err
=$ac_c_preproc_warn_flag
6155 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6162 if test -z "$ac_cpp_err"; then
6163 # Broken: success on invalid input.
6166 echo "$as_me: failed program was:" >&5
6167 sed 's/^/| /' conftest.
$ac_ext >&5
6169 # Passes both tests.
6173 rm -f conftest.err conftest.
$ac_ext
6176 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6177 rm -f conftest.err conftest.
$ac_ext
6178 if $ac_preproc_ok; then
6190 echo "$as_me:$LINENO: result: $CPP" >&5
6191 echo "${ECHO_T}$CPP" >&6
6193 for ac_c_preproc_warn_flag
in '' yes
6195 # Use a header file that comes with gcc, so configuring glibc
6196 # with a fresh cross-compiler works.
6197 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6198 # <limits.h> exists even on freestanding compilers.
6199 # On the NeXT, cc -E runs the code through the compiler's parser,
6200 # not just through cpp. "Syntax error" is here to catch this case.
6201 cat >conftest.
$ac_ext <<_ACEOF
6204 cat confdefs.h
>>conftest.
$ac_ext
6205 cat >>conftest.
$ac_ext <<_ACEOF
6206 /* end confdefs.h. */
6208 # include <limits.h>
6210 # include <assert.h>
6214 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6215 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6217 grep -v '^ *+' conftest.er1
>conftest.err
6219 cat conftest.err
>&5
6220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221 (exit $ac_status); } >/dev
/null
; then
6222 if test -s conftest.err
; then
6223 ac_cpp_err
=$ac_c_preproc_warn_flag
6224 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6231 if test -z "$ac_cpp_err"; then
6234 echo "$as_me: failed program was:" >&5
6235 sed 's/^/| /' conftest.
$ac_ext >&5
6237 # Broken: fails on valid input.
6240 rm -f conftest.err conftest.
$ac_ext
6242 # OK, works on sane cases. Now check whether non-existent headers
6243 # can be detected and how.
6244 cat >conftest.
$ac_ext <<_ACEOF
6247 cat confdefs.h
>>conftest.
$ac_ext
6248 cat >>conftest.
$ac_ext <<_ACEOF
6249 /* end confdefs.h. */
6250 #include <ac_nonexistent.h>
6252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6253 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6255 grep -v '^ *+' conftest.er1
>conftest.err
6257 cat conftest.err
>&5
6258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6259 (exit $ac_status); } >/dev
/null
; then
6260 if test -s conftest.err
; then
6261 ac_cpp_err
=$ac_c_preproc_warn_flag
6262 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6269 if test -z "$ac_cpp_err"; then
6270 # Broken: success on invalid input.
6273 echo "$as_me: failed program was:" >&5
6274 sed 's/^/| /' conftest.
$ac_ext >&5
6276 # Passes both tests.
6280 rm -f conftest.err conftest.
$ac_ext
6283 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6284 rm -f conftest.err conftest.
$ac_ext
6285 if $ac_preproc_ok; then
6288 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6289 See \`config.log' for more details." >&5
6290 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6291 See \`config.log' for more details." >&2;}
6292 { (exit 1); exit 1; }; }
6296 ac_cpp
='$CPP $CPPFLAGS'
6297 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6298 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6299 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6302 echo "$as_me:$LINENO: checking for egrep" >&5
6303 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6304 if test "${ac_cv_prog_egrep+set}" = set; then
6305 echo $ECHO_N "(cached) $ECHO_C" >&6
6307 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
6308 then ac_cv_prog_egrep
='grep -E'
6309 else ac_cv_prog_egrep
='egrep'
6312 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6313 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6314 EGREP
=$ac_cv_prog_egrep
6317 cat >conftest.
$ac_ext <<_ACEOF
6320 cat confdefs.h
>>conftest.
$ac_ext
6321 cat >>conftest.
$ac_ext <<_ACEOF
6322 /* end confdefs.h. */
6326 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6327 $EGREP "uint32_t" >/dev
/null
2>&1; then
6329 cat >>confdefs.h
<<\_ACEOF
6330 #define HAVE_INT32_DEFINED 1
6336 cat >conftest.
$ac_ext <<_ACEOF
6339 cat confdefs.h
>>conftest.
$ac_ext
6340 cat >>conftest.
$ac_ext <<_ACEOF
6341 /* end confdefs.h. */
6342 #include <inttypes.h>
6345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6346 $EGREP "uint32_t" >/dev
/null
2>&1; then
6348 cat >>confdefs.h
<<\_ACEOF
6349 #define HAVE_INT32_DEFINED 1
6355 cat >conftest.
$ac_ext <<_ACEOF
6358 cat confdefs.h
>>conftest.
$ac_ext
6359 cat >>conftest.
$ac_ext <<_ACEOF
6360 /* end confdefs.h. */
6361 #include <sys/types.h>
6364 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6365 $EGREP "u_int32_t" >/dev
/null
2>&1; then
6367 cat >>confdefs.h
<<\_ACEOF
6368 #define HAVE_BSD_INT32_DEFINED 1
6374 cat >conftest.
$ac_ext <<_ACEOF
6377 cat confdefs.h
>>conftest.
$ac_ext
6378 cat >>conftest.
$ac_ext <<_ACEOF
6379 /* end confdefs.h. */
6380 #include <sys/config.h>
6383 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6384 $EGREP "u_int32_t" >/dev
/null
2>&1; then
6386 cat >>confdefs.h
<<\_ACEOF
6387 #define HAVE_BSD_INT32_DEFINED 1
6396 if test "$PLATFORM" = Win32
; then
6397 USING_WIN32_PLATFORM_TRUE
=
6398 USING_WIN32_PLATFORM_FALSE
='#'
6400 USING_WIN32_PLATFORM_TRUE
='#'
6401 USING_WIN32_PLATFORM_FALSE
=
6406 if test "$PLATFORM" = Posix
; then
6407 USING_POSIX_PLATFORM_TRUE
=
6408 USING_POSIX_PLATFORM_FALSE
='#'
6410 USING_POSIX_PLATFORM_TRUE
='#'
6411 USING_POSIX_PLATFORM_FALSE
=
6416 if test "$PLATFORM" = Ecos
; then
6417 USING_ECOS_PLATFORM_TRUE
=
6418 USING_ECOS_PLATFORM_FALSE
='#'
6420 USING_ECOS_PLATFORM_TRUE
='#'
6421 USING_ECOS_PLATFORM_FALSE
=
6426 *-darwin*) DARWIN_CRT
=true
;;
6427 *) DARWIN_CRT
=false
;;
6431 if $DARWIN_CRT; then
6432 USING_DARWIN_CRT_TRUE
=
6433 USING_DARWIN_CRT_FALSE
='#'
6435 USING_DARWIN_CRT_TRUE
='#'
6436 USING_DARWIN_CRT_FALSE
=
6440 # These may not be defined in a non-ANS conformant embedded system.
6441 # FIXME: Should these case a runtime exception in that case?
6442 cat >conftest.
$ac_ext <<_ACEOF
6445 cat confdefs.h
>>conftest.
$ac_ext
6446 cat >>conftest.
$ac_ext <<_ACEOF
6447 /* end confdefs.h. */
6451 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6452 $EGREP "mktime" >/dev
/null
2>&1; then
6454 cat >>confdefs.h
<<\_ACEOF
6455 #define HAVE_MKTIME 1
6461 cat >conftest.
$ac_ext <<_ACEOF
6464 cat confdefs.h
>>conftest.
$ac_ext
6465 cat >>conftest.
$ac_ext <<_ACEOF
6466 /* end confdefs.h. */
6470 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6471 $EGREP "localtime" >/dev
/null
2>&1; then
6473 cat >>confdefs.h
<<\_ACEOF
6474 #define HAVE_LOCALTIME 1
6481 # Create the subdirectory for natFile.cc, or the attempt
6482 # to create the link will fail.
6483 test -d java || mkdir java
6484 test -d java
/io || mkdir java
/io
6485 test -d gnu || mkdir gnu
6486 ac_config_links
="$ac_config_links java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc"
6489 # Likewise for ConcreteProcess.java and natConcreteProcess.cc.
6490 test -d java
/lang || mkdir java
/lang
6491 ac_config_links
="$ac_config_links java/lang/ConcreteProcess.java:java/lang/${PLATFORM}Process.java"
6493 ac_config_links
="$ac_config_links java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc"
6496 # Likewise for natInetAddress.cc and natVMNetworkInterface.cc.
6497 test -d java
/net || mkdir java
/net
6498 ac_config_links
="$ac_config_links java/net/natInetAddress.cc:java/net/natInetAddress${PLATFORMNET}.cc"
6500 ac_config_links
="$ac_config_links java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc"
6503 # Likewise for natPlainSocketImpl.cc and natPlainDatagramSocketImpl.cc.
6504 test -d gnu
/java || mkdir gnu
/java
6505 test -d gnu
/java
/net || mkdir gnu
/java
/net
6506 ac_config_links
="$ac_config_links gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc"
6508 ac_config_links
="$ac_config_links gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc"
6511 # Likewise for natPipeImpl.cc and natSelectorImpl.cc.
6512 test -d gnu
/java
/nio || mkdir gnu
/java
/nio
6513 ac_config_links
="$ac_config_links gnu/java/nio/natPipeImpl.cc:gnu/java/nio/natPipeImpl${PLATFORM}.cc"
6515 ac_config_links
="$ac_config_links gnu/java/nio/natSelectorImpl.cc:gnu/java/nio/natSelectorImpl${PLATFORM}.cc"
6517 test -d gnu
/java
/nio
/channels || mkdir gnu
/java
/nio
/channels
6518 ac_config_links
="$ac_config_links gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc"
6523 SYSTEMSPEC
="-lgdi32 -lws2_32"
6524 if test "${with_win32_nlsapi}" = "unicows"; then
6525 SYSTEMSPEC
="-lunicows $SYSTEMSPEC"
6534 LIBGCJTESTSPEC
="-L`${PWDCMD-pwd}`/.libs -rpath `${PWDCMD-pwd}`/.libs"
6538 # Check whether --with-system-zlib or --without-system-zlib was given.
6539 if test "${with_system_zlib+set}" = set; then
6540 withval
="$with_system_zlib"
6548 echo "$as_me:$LINENO: checking for X" >&5
6549 echo $ECHO_N "checking for X... $ECHO_C" >&6
6552 # Check whether --with-x or --without-x was given.
6553 if test "${with_x+set}" = set; then
6557 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
6558 if test "x$with_x" = xno
; then
6559 # The user explicitly disabled X.
6562 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
6563 # Both variables are already set.
6566 if test "${ac_cv_have_x+set}" = set; then
6567 echo $ECHO_N "(cached) $ECHO_C" >&6
6569 # One or both of the vars are not set, and there is no cached value.
6570 ac_x_includes
=no ac_x_libraries
=no
6572 if mkdir conftest.dir
; then
6574 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
6575 cat >Imakefile
<<'_ACEOF'
6577 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
6579 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
6580 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6581 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
6582 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
6583 for ac_extension
in a so sl
; do
6584 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
6585 test -f $ac_im_libdir/libX11.
$ac_extension; then
6586 ac_im_usrlibdir
=$ac_im_libdir; break
6589 # Screen out bogus values from the imake configuration. They are
6590 # bogus both because they are the default anyway, and because
6591 # using them would break gcc on systems where it needs fixed includes.
6592 case $ac_im_incroot in
6594 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
6596 case $ac_im_usrlibdir in
6598 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
6605 # Standard set of common directories for X headers.
6606 # Check X11 before X11Rn because it is often a symlink to the current release.
6618 /usr/local/X11/include
6619 /usr/local/X11R6/include
6620 /usr/local/X11R5/include
6621 /usr/local/X11R4/include
6623 /usr/local/include/X11
6624 /usr/local/include/X11R6
6625 /usr/local/include/X11R5
6626 /usr/local/include/X11R4
6630 /usr/XFree86/include/X11
6634 /usr/unsupported/include
6636 /usr/local/x11r5/include
6637 /usr/lpp/Xamples/include
6639 /usr/openwin/include
6640 /usr/openwin/share/include'
6642 if test "$ac_x_includes" = no
; then
6643 # Guess where to find include files, by looking for Intrinsic.h.
6644 # First, try using that file with no special directory specified.
6645 cat >conftest.
$ac_ext <<_ACEOF
6648 cat confdefs.h
>>conftest.
$ac_ext
6649 cat >>conftest.
$ac_ext <<_ACEOF
6650 /* end confdefs.h. */
6651 #include <X11/Intrinsic.h>
6653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6654 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6656 grep -v '^ *+' conftest.er1
>conftest.err
6658 cat conftest.err
>&5
6659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6660 (exit $ac_status); } >/dev
/null
; then
6661 if test -s conftest.err
; then
6662 ac_cpp_err
=$ac_c_preproc_warn_flag
6663 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6670 if test -z "$ac_cpp_err"; then
6671 # We can compile using X headers with no special include directory.
6674 echo "$as_me: failed program was:" >&5
6675 sed 's/^/| /' conftest.
$ac_ext >&5
6677 for ac_dir
in $ac_x_header_dirs; do
6678 if test -r "$ac_dir/X11/Intrinsic.h"; then
6679 ac_x_includes
=$ac_dir
6684 rm -f conftest.err conftest.
$ac_ext
6685 fi # $ac_x_includes = no
6687 if test "$ac_x_libraries" = no
; then
6688 # Check for the libraries.
6689 # See if we find them without any special options.
6690 # Don't add to $LIBS permanently.
6693 if test x
$gcc_no_link = xyes
; then
6694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6696 { (exit 1); exit 1; }; }
6698 cat >conftest.
$ac_ext <<_ACEOF
6701 cat confdefs.h
>>conftest.
$ac_ext
6702 cat >>conftest.
$ac_ext <<_ACEOF
6703 /* end confdefs.h. */
6704 #include <X11/Intrinsic.h>
6713 rm -f conftest.
$ac_objext conftest
$ac_exeext
6714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6715 (eval $ac_link) 2>conftest.er1
6717 grep -v '^ *+' conftest.er1
>conftest.err
6719 cat conftest.err
>&5
6720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6721 (exit $ac_status); } &&
6722 { ac_try
='test -z "$ac_c_werror_flag"
6723 || test ! -s conftest.err'
6724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6728 (exit $ac_status); }; } &&
6729 { ac_try
='test -s conftest$ac_exeext'
6730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6734 (exit $ac_status); }; }; then
6736 # We can link X programs with no special library path.
6739 echo "$as_me: failed program was:" >&5
6740 sed 's/^/| /' conftest.
$ac_ext >&5
6743 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
6745 # Don't even attempt the hair of trying to link an X program!
6746 for ac_extension
in a so sl
; do
6747 if test -r $ac_dir/libXt.
$ac_extension; then
6748 ac_x_libraries
=$ac_dir
6754 rm -f conftest.err conftest.
$ac_objext \
6755 conftest
$ac_exeext conftest.
$ac_ext
6756 fi # $ac_x_libraries = no
6758 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
6759 # Didn't find X anywhere. Cache the known absence of X.
6760 ac_cv_have_x
="have_x=no"
6762 # Record where we found X for the cache.
6763 ac_cv_have_x
="have_x=yes \
6764 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
6769 eval "$ac_cv_have_x"
6772 if test "$have_x" != yes; then
6773 echo "$as_me:$LINENO: result: $have_x" >&5
6774 echo "${ECHO_T}$have_x" >&6
6777 # If each of the values was on the command line, it overrides each guess.
6778 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
6779 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
6780 # Update the cache value to reflect the command line values.
6781 ac_cv_have_x
="have_x=yes \
6782 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
6783 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
6784 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
6787 if test "$no_x" = yes; then
6788 # Not all programs may use this symbol, but it does not hurt to define it.
6790 cat >>confdefs.h
<<\_ACEOF
6791 #define X_DISPLAY_MISSING 1
6794 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
6796 if test -n "$x_includes"; then
6797 X_CFLAGS
="$X_CFLAGS -I$x_includes"
6800 # It would also be nice to do this for all -L options, not just this one.
6801 if test -n "$x_libraries"; then
6802 X_LIBS
="$X_LIBS -L$x_libraries"
6803 # For Solaris; some versions of Sun CC require a space after -R and
6804 # others require no space. Words are not sufficient . . . .
6805 case `(uname -sr) 2>/dev/null` in
6807 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
6808 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
6809 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
6810 if test x
$gcc_no_link = xyes
; then
6811 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6813 { (exit 1); exit 1; }; }
6815 cat >conftest.
$ac_ext <<_ACEOF
6818 cat confdefs.h
>>conftest.
$ac_ext
6819 cat >>conftest.
$ac_ext <<_ACEOF
6820 /* end confdefs.h. */
6830 rm -f conftest.
$ac_objext conftest
$ac_exeext
6831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6832 (eval $ac_link) 2>conftest.er1
6834 grep -v '^ *+' conftest.er1
>conftest.err
6836 cat conftest.err
>&5
6837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6838 (exit $ac_status); } &&
6839 { ac_try
='test -z "$ac_c_werror_flag"
6840 || test ! -s conftest.err'
6841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6845 (exit $ac_status); }; } &&
6846 { ac_try
='test -s conftest$ac_exeext'
6847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6851 (exit $ac_status); }; }; then
6854 echo "$as_me: failed program was:" >&5
6855 sed 's/^/| /' conftest.
$ac_ext >&5
6859 rm -f conftest.err conftest.
$ac_objext \
6860 conftest
$ac_exeext conftest.
$ac_ext
6861 if test $ac_R_nospace = yes; then
6862 echo "$as_me:$LINENO: result: no" >&5
6863 echo "${ECHO_T}no" >&6
6864 X_LIBS
="$X_LIBS -R$x_libraries"
6866 LIBS
="$ac_xsave_LIBS -R $x_libraries"
6867 if test x
$gcc_no_link = xyes
; then
6868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6870 { (exit 1); exit 1; }; }
6872 cat >conftest.
$ac_ext <<_ACEOF
6875 cat confdefs.h
>>conftest.
$ac_ext
6876 cat >>conftest.
$ac_ext <<_ACEOF
6877 /* end confdefs.h. */
6887 rm -f conftest.
$ac_objext conftest
$ac_exeext
6888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6889 (eval $ac_link) 2>conftest.er1
6891 grep -v '^ *+' conftest.er1
>conftest.err
6893 cat conftest.err
>&5
6894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6895 (exit $ac_status); } &&
6896 { ac_try
='test -z "$ac_c_werror_flag"
6897 || test ! -s conftest.err'
6898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6902 (exit $ac_status); }; } &&
6903 { ac_try
='test -s conftest$ac_exeext'
6904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6908 (exit $ac_status); }; }; then
6911 echo "$as_me: failed program was:" >&5
6912 sed 's/^/| /' conftest.
$ac_ext >&5
6916 rm -f conftest.err conftest.
$ac_objext \
6917 conftest
$ac_exeext conftest.
$ac_ext
6918 if test $ac_R_space = yes; then
6919 echo "$as_me:$LINENO: result: yes" >&5
6920 echo "${ECHO_T}yes" >&6
6921 X_LIBS
="$X_LIBS -R $x_libraries"
6923 echo "$as_me:$LINENO: result: neither works" >&5
6924 echo "${ECHO_T}neither works" >&6
6931 # Check for system-dependent libraries X programs must link with.
6932 # Do this before checking for the system-independent R6 libraries
6933 # (-lICE), since we may need -lsocket or whatever for X linking.
6935 if test "$ISC" = yes; then
6936 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
6938 # Martyn Johnson says this is needed for Ultrix, if the X
6939 # libraries were built with DECnet support. And Karl Berry says
6940 # the Alpha needs dnet_stub (dnet does not exist).
6941 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
6942 if test x
$gcc_no_link = xyes
; then
6943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6945 { (exit 1); exit 1; }; }
6947 cat >conftest.
$ac_ext <<_ACEOF
6950 cat confdefs.h
>>conftest.
$ac_ext
6951 cat >>conftest.
$ac_ext <<_ACEOF
6952 /* end confdefs.h. */
6954 /* Override any gcc2 internal prototype to avoid an error. */
6958 /* We use char because int might match the return type of a gcc2
6959 builtin and then its argument prototype would still apply. */
6960 char XOpenDisplay ();
6969 rm -f conftest.
$ac_objext conftest
$ac_exeext
6970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6971 (eval $ac_link) 2>conftest.er1
6973 grep -v '^ *+' conftest.er1
>conftest.err
6975 cat conftest.err
>&5
6976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6977 (exit $ac_status); } &&
6978 { ac_try
='test -z "$ac_c_werror_flag"
6979 || test ! -s conftest.err'
6980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6984 (exit $ac_status); }; } &&
6985 { ac_try
='test -s conftest$ac_exeext'
6986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6990 (exit $ac_status); }; }; then
6993 echo "$as_me: failed program was:" >&5
6994 sed 's/^/| /' conftest.
$ac_ext >&5
6996 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
6997 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
6998 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
6999 echo $ECHO_N "(cached) $ECHO_C" >&6
7001 ac_check_lib_save_LIBS
=$LIBS
7003 if test x
$gcc_no_link = xyes
; then
7004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7006 { (exit 1); exit 1; }; }
7008 cat >conftest.
$ac_ext <<_ACEOF
7011 cat confdefs.h
>>conftest.
$ac_ext
7012 cat >>conftest.
$ac_ext <<_ACEOF
7013 /* end confdefs.h. */
7015 /* Override any gcc2 internal prototype to avoid an error. */
7019 /* We use char because int might match the return type of a gcc2
7020 builtin and then its argument prototype would still apply. */
7030 rm -f conftest.
$ac_objext conftest
$ac_exeext
7031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7032 (eval $ac_link) 2>conftest.er1
7034 grep -v '^ *+' conftest.er1
>conftest.err
7036 cat conftest.err
>&5
7037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7038 (exit $ac_status); } &&
7039 { ac_try
='test -z "$ac_c_werror_flag"
7040 || test ! -s conftest.err'
7041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7045 (exit $ac_status); }; } &&
7046 { ac_try
='test -s conftest$ac_exeext'
7047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7051 (exit $ac_status); }; }; then
7052 ac_cv_lib_dnet_dnet_ntoa
=yes
7054 echo "$as_me: failed program was:" >&5
7055 sed 's/^/| /' conftest.
$ac_ext >&5
7057 ac_cv_lib_dnet_dnet_ntoa
=no
7059 rm -f conftest.err conftest.
$ac_objext \
7060 conftest
$ac_exeext conftest.
$ac_ext
7061 LIBS
=$ac_check_lib_save_LIBS
7063 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7064 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
7065 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
7066 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7069 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7070 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
7071 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
7072 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
7073 echo $ECHO_N "(cached) $ECHO_C" >&6
7075 ac_check_lib_save_LIBS
=$LIBS
7076 LIBS
="-ldnet_stub $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. */
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"
7114 || test ! -s conftest.err'
7115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7119 (exit $ac_status); }; } &&
7120 { ac_try
='test -s conftest$ac_exeext'
7121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7125 (exit $ac_status); }; }; then
7126 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
7128 echo "$as_me: failed program was:" >&5
7129 sed 's/^/| /' conftest.
$ac_ext >&5
7131 ac_cv_lib_dnet_stub_dnet_ntoa
=no
7133 rm -f conftest.err conftest.
$ac_objext \
7134 conftest
$ac_exeext conftest.
$ac_ext
7135 LIBS
=$ac_check_lib_save_LIBS
7137 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7138 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
7139 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
7140 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7145 rm -f conftest.err conftest.
$ac_objext \
7146 conftest
$ac_exeext conftest.
$ac_ext
7147 LIBS
="$ac_xsave_LIBS"
7149 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7150 # to get the SysV transport functions.
7151 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7153 # The nsl library prevents programs from opening the X display
7154 # on Irix 5.2, according to T.E. Dickey.
7155 # The functions gethostbyname, getservbyname, and inet_addr are
7156 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7157 echo "$as_me:$LINENO: checking for gethostbyname" >&5
7158 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
7159 if test "${ac_cv_func_gethostbyname+set}" = set; then
7160 echo $ECHO_N "(cached) $ECHO_C" >&6
7162 if test x
$gcc_no_link = xyes
; then
7163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7165 { (exit 1); exit 1; }; }
7167 cat >conftest.
$ac_ext <<_ACEOF
7170 cat confdefs.h
>>conftest.
$ac_ext
7171 cat >>conftest.
$ac_ext <<_ACEOF
7172 /* end confdefs.h. */
7173 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
7174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7175 #define gethostbyname innocuous_gethostbyname
7177 /* System header to define __stub macros and hopefully few prototypes,
7178 which can conflict with char gethostbyname (); below.
7179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7180 <limits.h> exists even on freestanding compilers. */
7183 # include <limits.h>
7185 # include <assert.h>
7188 #undef gethostbyname
7190 /* Override any gcc2 internal prototype to avoid an error. */
7195 /* We use char because int might match the return type of a gcc2
7196 builtin and then its argument prototype would still apply. */
7197 char gethostbyname ();
7198 /* The GNU C library defines this for functions which it implements
7199 to always fail with ENOSYS. Some functions are actually named
7200 something starting with __ and the normal name is an alias. */
7201 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7204 char (*f) () = gethostbyname;
7213 return f != gethostbyname;
7218 rm -f conftest.
$ac_objext conftest
$ac_exeext
7219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7220 (eval $ac_link) 2>conftest.er1
7222 grep -v '^ *+' conftest.er1
>conftest.err
7224 cat conftest.err
>&5
7225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7226 (exit $ac_status); } &&
7227 { ac_try
='test -z "$ac_c_werror_flag"
7228 || test ! -s conftest.err'
7229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7233 (exit $ac_status); }; } &&
7234 { ac_try
='test -s conftest$ac_exeext'
7235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7239 (exit $ac_status); }; }; then
7240 ac_cv_func_gethostbyname
=yes
7242 echo "$as_me: failed program was:" >&5
7243 sed 's/^/| /' conftest.
$ac_ext >&5
7245 ac_cv_func_gethostbyname
=no
7247 rm -f conftest.err conftest.
$ac_objext \
7248 conftest
$ac_exeext conftest.
$ac_ext
7250 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
7251 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
7253 if test $ac_cv_func_gethostbyname = no
; then
7254 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
7255 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
7256 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
7257 echo $ECHO_N "(cached) $ECHO_C" >&6
7259 ac_check_lib_save_LIBS
=$LIBS
7261 if test x
$gcc_no_link = xyes
; then
7262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7264 { (exit 1); exit 1; }; }
7266 cat >conftest.
$ac_ext <<_ACEOF
7269 cat confdefs.h
>>conftest.
$ac_ext
7270 cat >>conftest.
$ac_ext <<_ACEOF
7271 /* end confdefs.h. */
7273 /* Override any gcc2 internal prototype to avoid an error. */
7277 /* We use char because int might match the return type of a gcc2
7278 builtin and then its argument prototype would still apply. */
7279 char gethostbyname ();
7288 rm -f conftest.
$ac_objext conftest
$ac_exeext
7289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7290 (eval $ac_link) 2>conftest.er1
7292 grep -v '^ *+' conftest.er1
>conftest.err
7294 cat conftest.err
>&5
7295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7296 (exit $ac_status); } &&
7297 { ac_try
='test -z "$ac_c_werror_flag"
7298 || test ! -s conftest.err'
7299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7303 (exit $ac_status); }; } &&
7304 { ac_try
='test -s conftest$ac_exeext'
7305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7309 (exit $ac_status); }; }; then
7310 ac_cv_lib_nsl_gethostbyname
=yes
7312 echo "$as_me: failed program was:" >&5
7313 sed 's/^/| /' conftest.
$ac_ext >&5
7315 ac_cv_lib_nsl_gethostbyname
=no
7317 rm -f conftest.err conftest.
$ac_objext \
7318 conftest
$ac_exeext conftest.
$ac_ext
7319 LIBS
=$ac_check_lib_save_LIBS
7321 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
7322 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
7323 if test $ac_cv_lib_nsl_gethostbyname = yes; then
7324 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7327 if test $ac_cv_lib_nsl_gethostbyname = no
; then
7328 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
7329 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
7330 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
7331 echo $ECHO_N "(cached) $ECHO_C" >&6
7333 ac_check_lib_save_LIBS
=$LIBS
7335 if test x
$gcc_no_link = xyes
; then
7336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7338 { (exit 1); exit 1; }; }
7340 cat >conftest.
$ac_ext <<_ACEOF
7343 cat confdefs.h
>>conftest.
$ac_ext
7344 cat >>conftest.
$ac_ext <<_ACEOF
7345 /* end confdefs.h. */
7347 /* Override any gcc2 internal prototype to avoid an error. */
7351 /* We use char because int might match the return type of a gcc2
7352 builtin and then its argument prototype would still apply. */
7353 char gethostbyname ();
7362 rm -f conftest.
$ac_objext conftest
$ac_exeext
7363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7364 (eval $ac_link) 2>conftest.er1
7366 grep -v '^ *+' conftest.er1
>conftest.err
7368 cat conftest.err
>&5
7369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370 (exit $ac_status); } &&
7371 { ac_try
='test -z "$ac_c_werror_flag"
7372 || test ! -s conftest.err'
7373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7377 (exit $ac_status); }; } &&
7378 { ac_try
='test -s conftest$ac_exeext'
7379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7383 (exit $ac_status); }; }; then
7384 ac_cv_lib_bsd_gethostbyname
=yes
7386 echo "$as_me: failed program was:" >&5
7387 sed 's/^/| /' conftest.
$ac_ext >&5
7389 ac_cv_lib_bsd_gethostbyname
=no
7391 rm -f conftest.err conftest.
$ac_objext \
7392 conftest
$ac_exeext conftest.
$ac_ext
7393 LIBS
=$ac_check_lib_save_LIBS
7395 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
7396 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
7397 if test $ac_cv_lib_bsd_gethostbyname = yes; then
7398 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
7404 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7405 # socket/setsockopt and other routines are undefined under SCO ODT
7406 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7407 # on later versions), says Simon Leinen: it contains gethostby*
7408 # variants that don't use the name server (or something). -lsocket
7409 # must be given before -lnsl if both are needed. We assume that
7410 # if connect needs -lnsl, so does gethostbyname.
7411 echo "$as_me:$LINENO: checking for connect" >&5
7412 echo $ECHO_N "checking for connect... $ECHO_C" >&6
7413 if test "${ac_cv_func_connect+set}" = set; then
7414 echo $ECHO_N "(cached) $ECHO_C" >&6
7416 if test x
$gcc_no_link = xyes
; then
7417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7419 { (exit 1); exit 1; }; }
7421 cat >conftest.
$ac_ext <<_ACEOF
7424 cat confdefs.h
>>conftest.
$ac_ext
7425 cat >>conftest.
$ac_ext <<_ACEOF
7426 /* end confdefs.h. */
7427 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
7428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7429 #define connect innocuous_connect
7431 /* System header to define __stub macros and hopefully few prototypes,
7432 which can conflict with char connect (); below.
7433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7434 <limits.h> exists even on freestanding compilers. */
7437 # include <limits.h>
7439 # include <assert.h>
7444 /* Override any gcc2 internal prototype to avoid an error. */
7449 /* We use char because int might match the return type of a gcc2
7450 builtin and then its argument prototype would still apply. */
7452 /* The GNU C library defines this for functions which it implements
7453 to always fail with ENOSYS. Some functions are actually named
7454 something starting with __ and the normal name is an alias. */
7455 #if defined (__stub_connect) || defined (__stub___connect)
7458 char (*f) () = connect;
7467 return f != connect;
7472 rm -f conftest.
$ac_objext conftest
$ac_exeext
7473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7474 (eval $ac_link) 2>conftest.er1
7476 grep -v '^ *+' conftest.er1
>conftest.err
7478 cat conftest.err
>&5
7479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7480 (exit $ac_status); } &&
7481 { ac_try
='test -z "$ac_c_werror_flag"
7482 || test ! -s conftest.err'
7483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7487 (exit $ac_status); }; } &&
7488 { ac_try
='test -s conftest$ac_exeext'
7489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7493 (exit $ac_status); }; }; then
7494 ac_cv_func_connect
=yes
7496 echo "$as_me: failed program was:" >&5
7497 sed 's/^/| /' conftest.
$ac_ext >&5
7499 ac_cv_func_connect
=no
7501 rm -f conftest.err conftest.
$ac_objext \
7502 conftest
$ac_exeext conftest.
$ac_ext
7504 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
7505 echo "${ECHO_T}$ac_cv_func_connect" >&6
7507 if test $ac_cv_func_connect = no
; then
7508 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
7509 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
7510 if test "${ac_cv_lib_socket_connect+set}" = set; then
7511 echo $ECHO_N "(cached) $ECHO_C" >&6
7513 ac_check_lib_save_LIBS
=$LIBS
7514 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7515 if test x
$gcc_no_link = xyes
; then
7516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7518 { (exit 1); exit 1; }; }
7520 cat >conftest.
$ac_ext <<_ACEOF
7523 cat confdefs.h
>>conftest.
$ac_ext
7524 cat >>conftest.
$ac_ext <<_ACEOF
7525 /* end confdefs.h. */
7527 /* Override any gcc2 internal prototype to avoid an error. */
7531 /* We use char because int might match the return type of a gcc2
7532 builtin and then its argument prototype would still apply. */
7542 rm -f conftest.
$ac_objext conftest
$ac_exeext
7543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7544 (eval $ac_link) 2>conftest.er1
7546 grep -v '^ *+' conftest.er1
>conftest.err
7548 cat conftest.err
>&5
7549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7550 (exit $ac_status); } &&
7551 { ac_try
='test -z "$ac_c_werror_flag"
7552 || test ! -s conftest.err'
7553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7557 (exit $ac_status); }; } &&
7558 { ac_try
='test -s conftest$ac_exeext'
7559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7563 (exit $ac_status); }; }; then
7564 ac_cv_lib_socket_connect
=yes
7566 echo "$as_me: failed program was:" >&5
7567 sed 's/^/| /' conftest.
$ac_ext >&5
7569 ac_cv_lib_socket_connect
=no
7571 rm -f conftest.err conftest.
$ac_objext \
7572 conftest
$ac_exeext conftest.
$ac_ext
7573 LIBS
=$ac_check_lib_save_LIBS
7575 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
7576 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
7577 if test $ac_cv_lib_socket_connect = yes; then
7578 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7583 # Guillermo Gomez says -lposix is necessary on A/UX.
7584 echo "$as_me:$LINENO: checking for remove" >&5
7585 echo $ECHO_N "checking for remove... $ECHO_C" >&6
7586 if test "${ac_cv_func_remove+set}" = set; then
7587 echo $ECHO_N "(cached) $ECHO_C" >&6
7589 if test x
$gcc_no_link = xyes
; then
7590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7592 { (exit 1); exit 1; }; }
7594 cat >conftest.
$ac_ext <<_ACEOF
7597 cat confdefs.h
>>conftest.
$ac_ext
7598 cat >>conftest.
$ac_ext <<_ACEOF
7599 /* end confdefs.h. */
7600 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
7601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7602 #define remove innocuous_remove
7604 /* System header to define __stub macros and hopefully few prototypes,
7605 which can conflict with char remove (); below.
7606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7607 <limits.h> exists even on freestanding compilers. */
7610 # include <limits.h>
7612 # include <assert.h>
7617 /* Override any gcc2 internal prototype to avoid an error. */
7622 /* We use char because int might match the return type of a gcc2
7623 builtin and then its argument prototype would still apply. */
7625 /* The GNU C library defines this for functions which it implements
7626 to always fail with ENOSYS. Some functions are actually named
7627 something starting with __ and the normal name is an alias. */
7628 #if defined (__stub_remove) || defined (__stub___remove)
7631 char (*f) () = remove;
7645 rm -f conftest.
$ac_objext conftest
$ac_exeext
7646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7647 (eval $ac_link) 2>conftest.er1
7649 grep -v '^ *+' conftest.er1
>conftest.err
7651 cat conftest.err
>&5
7652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7653 (exit $ac_status); } &&
7654 { ac_try
='test -z "$ac_c_werror_flag"
7655 || test ! -s conftest.err'
7656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7660 (exit $ac_status); }; } &&
7661 { ac_try
='test -s conftest$ac_exeext'
7662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7666 (exit $ac_status); }; }; then
7667 ac_cv_func_remove
=yes
7669 echo "$as_me: failed program was:" >&5
7670 sed 's/^/| /' conftest.
$ac_ext >&5
7672 ac_cv_func_remove
=no
7674 rm -f conftest.err conftest.
$ac_objext \
7675 conftest
$ac_exeext conftest.
$ac_ext
7677 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
7678 echo "${ECHO_T}$ac_cv_func_remove" >&6
7680 if test $ac_cv_func_remove = no
; then
7681 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
7682 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
7683 if test "${ac_cv_lib_posix_remove+set}" = set; then
7684 echo $ECHO_N "(cached) $ECHO_C" >&6
7686 ac_check_lib_save_LIBS
=$LIBS
7687 LIBS
="-lposix $LIBS"
7688 if test x
$gcc_no_link = xyes
; then
7689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7691 { (exit 1); exit 1; }; }
7693 cat >conftest.
$ac_ext <<_ACEOF
7696 cat confdefs.h
>>conftest.
$ac_ext
7697 cat >>conftest.
$ac_ext <<_ACEOF
7698 /* end confdefs.h. */
7700 /* Override any gcc2 internal prototype to avoid an error. */
7704 /* We use char because int might match the return type of a gcc2
7705 builtin and then its argument prototype would still apply. */
7715 rm -f conftest.
$ac_objext conftest
$ac_exeext
7716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7717 (eval $ac_link) 2>conftest.er1
7719 grep -v '^ *+' conftest.er1
>conftest.err
7721 cat conftest.err
>&5
7722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7723 (exit $ac_status); } &&
7724 { ac_try
='test -z "$ac_c_werror_flag"
7725 || test ! -s conftest.err'
7726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7730 (exit $ac_status); }; } &&
7731 { ac_try
='test -s conftest$ac_exeext'
7732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7736 (exit $ac_status); }; }; then
7737 ac_cv_lib_posix_remove
=yes
7739 echo "$as_me: failed program was:" >&5
7740 sed 's/^/| /' conftest.
$ac_ext >&5
7742 ac_cv_lib_posix_remove
=no
7744 rm -f conftest.err conftest.
$ac_objext \
7745 conftest
$ac_exeext conftest.
$ac_ext
7746 LIBS
=$ac_check_lib_save_LIBS
7748 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
7749 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
7750 if test $ac_cv_lib_posix_remove = yes; then
7751 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7756 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7757 echo "$as_me:$LINENO: checking for shmat" >&5
7758 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
7759 if test "${ac_cv_func_shmat+set}" = set; then
7760 echo $ECHO_N "(cached) $ECHO_C" >&6
7762 if test x
$gcc_no_link = xyes
; then
7763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7765 { (exit 1); exit 1; }; }
7767 cat >conftest.
$ac_ext <<_ACEOF
7770 cat confdefs.h
>>conftest.
$ac_ext
7771 cat >>conftest.
$ac_ext <<_ACEOF
7772 /* end confdefs.h. */
7773 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
7774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7775 #define shmat innocuous_shmat
7777 /* System header to define __stub macros and hopefully few prototypes,
7778 which can conflict with char shmat (); below.
7779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7780 <limits.h> exists even on freestanding compilers. */
7783 # include <limits.h>
7785 # include <assert.h>
7790 /* Override any gcc2 internal prototype to avoid an error. */
7795 /* We use char because int might match the return type of a gcc2
7796 builtin and then its argument prototype would still apply. */
7798 /* The GNU C library defines this for functions which it implements
7799 to always fail with ENOSYS. Some functions are actually named
7800 something starting with __ and the normal name is an alias. */
7801 #if defined (__stub_shmat) || defined (__stub___shmat)
7804 char (*f) () = shmat;
7818 rm -f conftest.
$ac_objext conftest
$ac_exeext
7819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7820 (eval $ac_link) 2>conftest.er1
7822 grep -v '^ *+' conftest.er1
>conftest.err
7824 cat conftest.err
>&5
7825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7826 (exit $ac_status); } &&
7827 { ac_try
='test -z "$ac_c_werror_flag"
7828 || test ! -s conftest.err'
7829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7833 (exit $ac_status); }; } &&
7834 { ac_try
='test -s conftest$ac_exeext'
7835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7839 (exit $ac_status); }; }; then
7840 ac_cv_func_shmat
=yes
7842 echo "$as_me: failed program was:" >&5
7843 sed 's/^/| /' conftest.
$ac_ext >&5
7847 rm -f conftest.err conftest.
$ac_objext \
7848 conftest
$ac_exeext conftest.
$ac_ext
7850 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
7851 echo "${ECHO_T}$ac_cv_func_shmat" >&6
7853 if test $ac_cv_func_shmat = no
; then
7854 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
7855 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
7856 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
7857 echo $ECHO_N "(cached) $ECHO_C" >&6
7859 ac_check_lib_save_LIBS
=$LIBS
7861 if test x
$gcc_no_link = xyes
; then
7862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7864 { (exit 1); exit 1; }; }
7866 cat >conftest.
$ac_ext <<_ACEOF
7869 cat confdefs.h
>>conftest.
$ac_ext
7870 cat >>conftest.
$ac_ext <<_ACEOF
7871 /* end confdefs.h. */
7873 /* Override any gcc2 internal prototype to avoid an error. */
7877 /* We use char because int might match the return type of a gcc2
7878 builtin and then its argument prototype would still apply. */
7888 rm -f conftest.
$ac_objext conftest
$ac_exeext
7889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7890 (eval $ac_link) 2>conftest.er1
7892 grep -v '^ *+' conftest.er1
>conftest.err
7894 cat conftest.err
>&5
7895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7896 (exit $ac_status); } &&
7897 { ac_try
='test -z "$ac_c_werror_flag"
7898 || test ! -s conftest.err'
7899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7903 (exit $ac_status); }; } &&
7904 { ac_try
='test -s conftest$ac_exeext'
7905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7909 (exit $ac_status); }; }; then
7910 ac_cv_lib_ipc_shmat
=yes
7912 echo "$as_me: failed program was:" >&5
7913 sed 's/^/| /' conftest.
$ac_ext >&5
7915 ac_cv_lib_ipc_shmat
=no
7917 rm -f conftest.err conftest.
$ac_objext \
7918 conftest
$ac_exeext conftest.
$ac_ext
7919 LIBS
=$ac_check_lib_save_LIBS
7921 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
7922 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
7923 if test $ac_cv_lib_ipc_shmat = yes; then
7924 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7930 # Check for libraries that X11R6 Xt/Xaw programs need.
7931 ac_save_LDFLAGS
=$LDFLAGS
7932 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7933 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7934 # check for ICE first), but we must link in the order -lSM -lICE or
7935 # we get undefined symbols. So assume we have SM if we have ICE.
7936 # These have to be linked with before -lX11, unlike the other
7937 # libraries we check for below, so use a different variable.
7938 # John Interrante, Karl Berry
7939 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
7940 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
7941 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
7942 echo $ECHO_N "(cached) $ECHO_C" >&6
7944 ac_check_lib_save_LIBS
=$LIBS
7945 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7946 if test x
$gcc_no_link = xyes
; then
7947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7949 { (exit 1); exit 1; }; }
7951 cat >conftest.
$ac_ext <<_ACEOF
7954 cat confdefs.h
>>conftest.
$ac_ext
7955 cat >>conftest.
$ac_ext <<_ACEOF
7956 /* end confdefs.h. */
7958 /* Override any gcc2 internal prototype to avoid an error. */
7962 /* We use char because int might match the return type of a gcc2
7963 builtin and then its argument prototype would still apply. */
7964 char IceConnectionNumber ();
7968 IceConnectionNumber ();
7973 rm -f conftest.
$ac_objext conftest
$ac_exeext
7974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7975 (eval $ac_link) 2>conftest.er1
7977 grep -v '^ *+' conftest.er1
>conftest.err
7979 cat conftest.err
>&5
7980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7981 (exit $ac_status); } &&
7982 { ac_try
='test -z "$ac_c_werror_flag"
7983 || test ! -s conftest.err'
7984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7988 (exit $ac_status); }; } &&
7989 { ac_try
='test -s conftest$ac_exeext'
7990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7994 (exit $ac_status); }; }; then
7995 ac_cv_lib_ICE_IceConnectionNumber
=yes
7997 echo "$as_me: failed program was:" >&5
7998 sed 's/^/| /' conftest.
$ac_ext >&5
8000 ac_cv_lib_ICE_IceConnectionNumber
=no
8002 rm -f conftest.err conftest.
$ac_objext \
8003 conftest
$ac_exeext conftest.
$ac_ext
8004 LIBS
=$ac_check_lib_save_LIBS
8006 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8007 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
8008 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
8009 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8012 LDFLAGS
=$ac_save_LDFLAGS
8017 # Determine which AWT peer libraries to build
8018 # Check whether --enable-java-awt or --disable-java-awt was given.
8019 if test "${enable_java_awt+set}" = set; then
8020 enableval
="$enable_java_awt"
8024 peerlibs
="`echo ${enable_java_awt} | tr ',' ' '`"
8027 # The default toolkit to use is the first one specified.
8031 for peer
in $peerlibs ; do
8034 if test "$no_x" = yes; then
8035 echo "*** xlib peers requested but no X library available" 1>&2
8039 if test -z "$TOOLKIT"; then
8040 TOOLKIT
=gnu.awt.xlib.XToolkit
8045 if test "$no_x" = yes; then
8046 echo "*** xlib peers requested but no X library available" 1>&2
8050 if test -z "$TOOLKIT"; then
8051 TOOLKIT
=gnu.java.awt.peer.gtk.GtkToolkit
8053 test -d jniinclude || mkdir jniinclude
8062 echo "*** unrecognised argument \"${peer}\" for --enable-java-awt" 1>&2
8069 if test "$use_xlib_awt" = yes; then
8079 if test "$use_gtk_awt" = yes; then
8088 # determine whether to enable the cairo GTK Graphics2D backend
8089 # Check whether --enable-gtk-cairo or --disable-gtk-cairo was given.
8090 if test "${enable_gtk_cairo+set}" = set; then
8091 enableval
="$enable_gtk_cairo"
8096 if test "x${enable_gtk_cairo}" = xyes
; then
8104 if test "x${enable_gtk_cairo}" = xyes
8109 if test -z "$PKG_CONFIG"; then
8110 # Extract the first word of "pkg-config", so it can be a program name with args.
8111 set dummy pkg-config
; ac_word
=$2
8112 echo "$as_me:$LINENO: checking for $ac_word" >&5
8113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8114 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
8115 echo $ECHO_N "(cached) $ECHO_C" >&6
8119 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
8122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8126 test -z "$as_dir" && as_dir
=.
8127 for ac_exec_ext
in '' $ac_executable_extensions; do
8128 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8129 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
8130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8136 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
8140 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
8142 if test -n "$PKG_CONFIG"; then
8143 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8144 echo "${ECHO_T}$PKG_CONFIG" >&6
8146 echo "$as_me:$LINENO: result: no" >&5
8147 echo "${ECHO_T}no" >&6
8152 if test "$PKG_CONFIG" = "no" ; then
8153 echo "*** The pkg-config script could not be found. Make sure it is"
8154 echo "*** in your path, or set the PKG_CONFIG environment variable"
8155 echo "*** to the full path to pkg-config."
8156 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
8158 PKG_CONFIG_MIN_VERSION
=0.9.0
8159 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
8160 echo "$as_me:$LINENO: checking for cairo" >&5
8161 echo $ECHO_N "checking for cairo... $ECHO_C" >&6
8163 if $PKG_CONFIG --exists "cairo" ; then
8164 echo "$as_me:$LINENO: result: yes" >&5
8165 echo "${ECHO_T}yes" >&6
8168 echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5
8169 echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6
8170 CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo"`
8171 echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5
8172 echo "${ECHO_T}$CAIRO_CFLAGS" >&6
8174 echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5
8175 echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6
8176 CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo"`
8177 echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5
8178 echo "${ECHO_T}$CAIRO_LIBS" >&6
8182 ## If we have a custom action on failure, don't print errors, but
8183 ## do set a variable so people can do so.
8184 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
8185 echo $CAIRO_PKG_ERRORS
8191 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
8192 echo "*** See http://www.freedesktop.org/software/pkgconfig"
8196 if test $succeeded = yes; then
8199 { { 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
8200 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;}
8201 { (exit 1); exit 1; }; }
8207 if test -z "$PKG_CONFIG"; then
8208 # Extract the first word of "pkg-config", so it can be a program name with args.
8209 set dummy pkg-config
; ac_word
=$2
8210 echo "$as_me:$LINENO: checking for $ac_word" >&5
8211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8212 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
8213 echo $ECHO_N "(cached) $ECHO_C" >&6
8217 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
8220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8224 test -z "$as_dir" && as_dir
=.
8225 for ac_exec_ext
in '' $ac_executable_extensions; do
8226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8227 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
8228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8234 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
8238 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
8240 if test -n "$PKG_CONFIG"; then
8241 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8242 echo "${ECHO_T}$PKG_CONFIG" >&6
8244 echo "$as_me:$LINENO: result: no" >&5
8245 echo "${ECHO_T}no" >&6
8250 if test "$PKG_CONFIG" = "no" ; then
8251 echo "*** The pkg-config script could not be found. Make sure it is"
8252 echo "*** in your path, or set the PKG_CONFIG environment variable"
8253 echo "*** to the full path to pkg-config."
8254 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
8256 PKG_CONFIG_MIN_VERSION
=0.9.0
8257 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
8258 echo "$as_me:$LINENO: checking for pangoft2" >&5
8259 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
8261 if $PKG_CONFIG --exists "pangoft2" ; then
8262 echo "$as_me:$LINENO: result: yes" >&5
8263 echo "${ECHO_T}yes" >&6
8266 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
8267 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
8268 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
8269 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
8270 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
8272 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
8273 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
8274 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
8275 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
8276 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
8280 ## If we have a custom action on failure, don't print errors, but
8281 ## do set a variable so people can do so.
8282 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
8283 echo $PANGOFT2_PKG_ERRORS
8289 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
8290 echo "*** See http://www.freedesktop.org/software/pkgconfig"
8294 if test $succeeded = yes; then
8297 { { 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
8298 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;}
8299 { (exit 1); exit 1; }; }
8308 # FIXME: this should be _libs on some hosts.
8311 # Allow the GC to be disabled. Can be useful when debugging.
8312 echo "$as_me:$LINENO: checking for garbage collector to use" >&5
8313 echo $ECHO_N "checking for garbage collector to use... $ECHO_C" >&6
8314 # Check whether --enable-java-gc or --disable-java-gc was given.
8315 if test "${enable_java_gc+set}" = set; then
8316 enableval
="$enable_java_gc"
8329 echo "$as_me:$LINENO: result: boehm" >&5
8330 echo "${ECHO_T}boehm" >&6
8331 GCLIBS
=..
/boehm-gc
/libgcjgc_convenience.la
8332 JC1GCSPEC
='-fuse-boehm-gc'
8333 GCTESTSPEC
="-L`${PWDCMD-pwd}`/../boehm-gc/.libs -rpath `${PWDCMD-pwd}`/../boehm-gc/.libs"
8334 GCINCS
='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include'
8337 # The POSIX thread support needs to know this.
8339 cat >>confdefs.h
<<\_ACEOF
8340 #define HAVE_BOEHM_GC 1
8345 echo "$as_me:$LINENO: result: none" >&5
8346 echo "${ECHO_T}none" >&6
8350 { { echo "$as_me:$LINENO: error: unrecognized collector \"$GC\"" >&5
8351 echo "$as_me: error: unrecognized collector \"$GC\"" >&2;}
8352 { (exit 1); exit 1; }; }
8361 ac_config_links
="$ac_config_links include/java-gc.h:include/$GCHDR"
8365 if test "$GC" = boehm
; then
8367 USING_BOEHMGC_FALSE
='#'
8369 USING_BOEHMGC_TRUE
='#'
8370 USING_BOEHMGC_FALSE
=
8375 if test "$GC" = no
; then
8377 USING_NOGC_FALSE
='#'
8385 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
8386 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
8387 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
8388 echo "$as_me:$LINENO: result: $THREADS" >&5
8389 echo "${ECHO_T}$THREADS" >&6
8395 posix | posix95 | pthreads
)
8400 cat >>confdefs.h
<<\_ACEOF
8401 #define LINUX_THREADS 1
8409 decosf1 | irix | mach | os2 | solaris | dce | vxworks
)
8410 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
8411 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
8412 { (exit 1); exit 1; }; }
8415 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
8416 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
8417 { (exit 1); exit 1; }; }
8432 # Don't set THREADLIBS here. Cygwin doesn't have -lpthread.
8435 # Before FreeBSD 5, it didn't have -lpthread (or any library which
8436 # merely adds pthread_* functions) but it does have a -pthread switch
8437 # which is required at link-time to select -lc_r *instead* of -lc.
8438 THREADLDFLAGS
=-pthread
8439 # Don't set THREADSPEC here as might be expected since -pthread is
8440 # not processed when found within a spec file, it must come from
8441 # the command line. For now, the user must provide the -pthread
8442 # switch to link code compiled with gcj. In future, consider adding
8443 # support for weak references to pthread_* functions ala gthr.h API.
8444 THREADSPEC
='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
8447 # FreeBSD 5 implements a model much closer to other modern UNIX
8448 # which support threads. However, it still does not support
8450 THREADLDFLAGS
=-pthread
8454 THREADCXXFLAGS
=-pthread
8455 # boehm-gc needs some functions from librt, so link that too.
8456 THREADLIBS
='-lpthread -lrt'
8457 THREADSPEC
='-lpthread -lrt'
8460 THREADLIBS
=-lpthread
8461 THREADSPEC
=-lpthread
8464 THREADH
=posix-threads.h
8465 # MIT pthreads doesn't seem to have the mutexattr functions.
8466 # But for now we don't check for it. We just assume you aren't
8467 # using MIT pthreads.
8469 cat >>confdefs.h
<<\_ACEOF
8470 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
8474 # If we're using the Boehm GC, then we happen to know that it
8475 # defines _REENTRANT, so we don't bother. Eww.
8476 if test "$GC" != boehm
; then
8478 cat >>confdefs.h
<<\_ACEOF
8479 #define _REENTRANT 1
8484 cat >>confdefs.h
<<\_ACEOF
8485 #define _POSIX_PTHREAD_SEMANTICS 1
8491 THREADH
=win32-threads.h
8495 THREADH
=no-threads.h
8498 ac_config_links
="$ac_config_links include/java-threads.h:include/$THREADH"
8508 if test "$THREADS" = posix
; then
8509 USING_POSIX_THREADS_TRUE
=
8510 USING_POSIX_THREADS_FALSE
='#'
8512 USING_POSIX_THREADS_TRUE
='#'
8513 USING_POSIX_THREADS_FALSE
=
8518 if test "$THREADS" = win32
; then
8519 USING_WIN32_THREADS_TRUE
=
8520 USING_WIN32_THREADS_FALSE
='#'
8522 USING_WIN32_THREADS_TRUE
='#'
8523 USING_WIN32_THREADS_FALSE
=
8528 if test "$THREADS" = none
; then
8529 USING_NO_THREADS_TRUE
=
8530 USING_NO_THREADS_FALSE
='#'
8532 USING_NO_THREADS_TRUE
='#'
8533 USING_NO_THREADS_FALSE
=
8537 if test -d sysdep
; then true
; else mkdir sysdep
; fi
8538 ac_config_links
="$ac_config_links sysdep/locks.h:sysdep/$sysdeps_dir/locks.h"
8540 ac_config_links
="$ac_config_links sysdep/backtrace.h:$fallback_backtrace_h"
8544 # Hash synchronization is only useful with posix threads right now.
8545 if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then
8546 HASH_SYNC_SPEC
=-fhash-synchronization
8548 cat >>confdefs.h
<<\_ACEOF
8549 #define JV_HASH_SYNCHRONIZATION 1
8557 if test "$GCC" = yes; then
8566 # We're in the tree with gcc, and need to include some of its headers.
8567 GCC_UNWIND_INCLUDE
='-I$(libgcj_basedir)/../gcc'
8569 if test "x${with_newlib}" = "xyes"; then
8570 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
8571 # may not work correctly, because the compiler may not be able to
8574 # We assume newlib. This lets us hard-code the functions we know
8577 cat >>confdefs.h
<<\_ACEOF
8578 #define HAVE_MEMMOVE 1
8582 cat >>confdefs.h
<<\_ACEOF
8583 #define HAVE_MEMCPY 1
8587 cat >>confdefs.h
<<\_ACEOF
8588 #define HAVE_STRERROR 1
8592 cat >>confdefs.h
<<\_ACEOF
8597 cat >>confdefs.h
<<\_ACEOF
8598 #define HAVE_GMTIME_R 1
8602 cat >>confdefs.h
<<\_ACEOF
8603 #define HAVE_LOCALTIME_R 1
8607 cat >>confdefs.h
<<\_ACEOF
8608 #define HAVE_USLEEP_DECL 1
8611 # This is only for POSIX threads.
8613 cat >>confdefs.h
<<\_ACEOF
8614 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
8617 # We also assume we are using gcc, which provides alloca.
8618 cat >>confdefs.h
<<\_ACEOF
8619 #define HAVE_ALLOCA 1
8623 # Assume we do not have getuid and friends.
8625 cat >>confdefs.h
<<\_ACEOF
8663 for ac_func
in strerror ioctl
select fstat open fsync
sleep opendir \
8664 gmtime_r localtime_r readdir_r getpwuid_r getcwd \
8665 access stat mkdir rename
rmdir unlink realpath utime
chmod \
8666 nl_langinfo setlocale \
8667 inet_pton uname inet_ntoa \
8668 fork execvp pipe sigaction ftruncate
8670 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8671 echo "$as_me:$LINENO: checking for $ac_func" >&5
8672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8673 if eval "test \"\${$as_ac_var+set}\" = set"; then
8674 echo $ECHO_N "(cached) $ECHO_C" >&6
8676 if test x
$gcc_no_link = xyes
; then
8677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8679 { (exit 1); exit 1; }; }
8681 cat >conftest.
$ac_ext <<_ACEOF
8684 cat confdefs.h
>>conftest.
$ac_ext
8685 cat >>conftest.
$ac_ext <<_ACEOF
8686 /* end confdefs.h. */
8687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8689 #define $ac_func innocuous_$ac_func
8691 /* System header to define __stub macros and hopefully few prototypes,
8692 which can conflict with char $ac_func (); below.
8693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8694 <limits.h> exists even on freestanding compilers. */
8697 # include <limits.h>
8699 # include <assert.h>
8704 /* Override any gcc2 internal prototype to avoid an error. */
8709 /* We use char because int might match the return type of a gcc2
8710 builtin and then its argument prototype would still apply. */
8712 /* The GNU C library defines this for functions which it implements
8713 to always fail with ENOSYS. Some functions are actually named
8714 something starting with __ and the normal name is an alias. */
8715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8718 char (*f) () = $ac_func;
8727 return f != $ac_func;
8732 rm -f conftest.
$ac_objext conftest
$ac_exeext
8733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8734 (eval $ac_link) 2>conftest.er1
8736 grep -v '^ *+' conftest.er1
>conftest.err
8738 cat conftest.err
>&5
8739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8740 (exit $ac_status); } &&
8741 { ac_try
='test -z "$ac_c_werror_flag"
8742 || test ! -s conftest.err'
8743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747 (exit $ac_status); }; } &&
8748 { ac_try
='test -s conftest$ac_exeext'
8749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8753 (exit $ac_status); }; }; then
8754 eval "$as_ac_var=yes"
8756 echo "$as_me: failed program was:" >&5
8757 sed 's/^/| /' conftest.
$ac_ext >&5
8759 eval "$as_ac_var=no"
8761 rm -f conftest.err conftest.
$ac_objext \
8762 conftest
$ac_exeext conftest.
$ac_ext
8764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8766 if test `eval echo '${'$as_ac_var'}'` = yes; then
8767 cat >>confdefs.h
<<_ACEOF
8768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8776 for ac_func
in inet_aton inet_addr
8778 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8779 echo "$as_me:$LINENO: checking for $ac_func" >&5
8780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8781 if eval "test \"\${$as_ac_var+set}\" = set"; then
8782 echo $ECHO_N "(cached) $ECHO_C" >&6
8784 if test x
$gcc_no_link = xyes
; then
8785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8787 { (exit 1); exit 1; }; }
8789 cat >conftest.
$ac_ext <<_ACEOF
8792 cat confdefs.h
>>conftest.
$ac_ext
8793 cat >>conftest.
$ac_ext <<_ACEOF
8794 /* end confdefs.h. */
8795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8797 #define $ac_func innocuous_$ac_func
8799 /* System header to define __stub macros and hopefully few prototypes,
8800 which can conflict with char $ac_func (); below.
8801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8802 <limits.h> exists even on freestanding compilers. */
8805 # include <limits.h>
8807 # include <assert.h>
8812 /* Override any gcc2 internal prototype to avoid an error. */
8817 /* We use char because int might match the return type of a gcc2
8818 builtin and then its argument prototype would still apply. */
8820 /* The GNU C library defines this for functions which it implements
8821 to always fail with ENOSYS. Some functions are actually named
8822 something starting with __ and the normal name is an alias. */
8823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8826 char (*f) () = $ac_func;
8835 return f != $ac_func;
8840 rm -f conftest.
$ac_objext conftest
$ac_exeext
8841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8842 (eval $ac_link) 2>conftest.er1
8844 grep -v '^ *+' conftest.er1
>conftest.err
8846 cat conftest.err
>&5
8847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8848 (exit $ac_status); } &&
8849 { ac_try
='test -z "$ac_c_werror_flag"
8850 || test ! -s conftest.err'
8851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8855 (exit $ac_status); }; } &&
8856 { ac_try
='test -s conftest$ac_exeext'
8857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8861 (exit $ac_status); }; }; then
8862 eval "$as_ac_var=yes"
8864 echo "$as_me: failed program was:" >&5
8865 sed 's/^/| /' conftest.
$ac_ext >&5
8867 eval "$as_ac_var=no"
8869 rm -f conftest.err conftest.
$ac_objext \
8870 conftest
$ac_exeext conftest.
$ac_ext
8872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8874 if test `eval echo '${'$as_ac_var'}'` = yes; then
8875 cat >>confdefs.h
<<_ACEOF
8876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8882 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8883 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
8884 if test "${ac_cv_header_stdc+set}" = set; then
8885 echo $ECHO_N "(cached) $ECHO_C" >&6
8887 cat >conftest.
$ac_ext <<_ACEOF
8890 cat confdefs.h
>>conftest.
$ac_ext
8891 cat >>conftest.
$ac_ext <<_ACEOF
8892 /* end confdefs.h. */
8906 rm -f conftest.
$ac_objext
8907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8908 (eval $ac_compile) 2>conftest.er1
8910 grep -v '^ *+' conftest.er1
>conftest.err
8912 cat conftest.err
>&5
8913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8914 (exit $ac_status); } &&
8915 { ac_try
='test -z "$ac_c_werror_flag"
8916 || test ! -s conftest.err'
8917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8921 (exit $ac_status); }; } &&
8922 { ac_try
='test -s conftest.$ac_objext'
8923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8927 (exit $ac_status); }; }; then
8928 ac_cv_header_stdc
=yes
8930 echo "$as_me: failed program was:" >&5
8931 sed 's/^/| /' conftest.
$ac_ext >&5
8933 ac_cv_header_stdc
=no
8935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8937 if test $ac_cv_header_stdc = yes; then
8938 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8939 cat >conftest.
$ac_ext <<_ACEOF
8942 cat confdefs.h
>>conftest.
$ac_ext
8943 cat >>conftest.
$ac_ext <<_ACEOF
8944 /* end confdefs.h. */
8948 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8949 $EGREP "memchr" >/dev
/null
2>&1; then
8952 ac_cv_header_stdc
=no
8958 if test $ac_cv_header_stdc = yes; then
8959 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8960 cat >conftest.
$ac_ext <<_ACEOF
8963 cat confdefs.h
>>conftest.
$ac_ext
8964 cat >>conftest.
$ac_ext <<_ACEOF
8965 /* end confdefs.h. */
8969 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8970 $EGREP "free" >/dev
/null
2>&1; then
8973 ac_cv_header_stdc
=no
8979 if test $ac_cv_header_stdc = yes; then
8980 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8981 if test "$cross_compiling" = yes; then
8984 cat >conftest.
$ac_ext <<_ACEOF
8987 cat confdefs.h
>>conftest.
$ac_ext
8988 cat >>conftest.
$ac_ext <<_ACEOF
8989 /* end confdefs.h. */
8991 #if ((' ' & 0x0FF) == 0x020)
8992 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8993 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8995 # define ISLOWER(c) \
8996 (('a' <= (c) && (c) <= 'i') \
8997 || ('j' <= (c) && (c) <= 'r') \
8998 || ('s' <= (c) && (c) <= 'z'))
8999 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9002 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9007 for (i = 0; i < 256; i++)
9008 if (XOR (islower (i), ISLOWER (i))
9009 || toupper (i) != TOUPPER (i))
9014 rm -f conftest
$ac_exeext
9015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9016 (eval $ac_link) 2>&5
9018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9019 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9024 (exit $ac_status); }; }; then
9027 echo "$as_me: program exited with status $ac_status" >&5
9028 echo "$as_me: failed program was:" >&5
9029 sed 's/^/| /' conftest.
$ac_ext >&5
9032 ac_cv_header_stdc
=no
9034 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9038 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
9039 echo "${ECHO_T}$ac_cv_header_stdc" >&6
9040 if test $ac_cv_header_stdc = yes; then
9042 cat >>confdefs.h
<<\_ACEOF
9043 #define STDC_HEADERS 1
9048 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9058 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
9059 inttypes.h stdint.h unistd.h
9061 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9062 echo "$as_me:$LINENO: checking for $ac_header" >&5
9063 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9065 echo $ECHO_N "(cached) $ECHO_C" >&6
9067 cat >conftest.
$ac_ext <<_ACEOF
9070 cat confdefs.h
>>conftest.
$ac_ext
9071 cat >>conftest.
$ac_ext <<_ACEOF
9072 /* end confdefs.h. */
9073 $ac_includes_default
9075 #include <$ac_header>
9077 rm -f conftest.
$ac_objext
9078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9079 (eval $ac_compile) 2>conftest.er1
9081 grep -v '^ *+' conftest.er1
>conftest.err
9083 cat conftest.err
>&5
9084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9085 (exit $ac_status); } &&
9086 { ac_try
='test -z "$ac_c_werror_flag"
9087 || test ! -s conftest.err'
9088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9092 (exit $ac_status); }; } &&
9093 { ac_try
='test -s conftest.$ac_objext'
9094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9098 (exit $ac_status); }; }; then
9099 eval "$as_ac_Header=yes"
9101 echo "$as_me: failed program was:" >&5
9102 sed 's/^/| /' conftest.
$ac_ext >&5
9104 eval "$as_ac_Header=no"
9106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9109 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9110 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9111 cat >>confdefs.h
<<_ACEOF
9112 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9123 for ac_header
in execinfo.h unistd.h dlfcn.h
9125 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9127 echo "$as_me:$LINENO: checking for $ac_header" >&5
9128 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9129 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9130 echo $ECHO_N "(cached) $ECHO_C" >&6
9132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9133 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9135 # Is the header compilable?
9136 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9137 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9138 cat >conftest.
$ac_ext <<_ACEOF
9141 cat confdefs.h
>>conftest.
$ac_ext
9142 cat >>conftest.
$ac_ext <<_ACEOF
9143 /* end confdefs.h. */
9144 $ac_includes_default
9145 #include <$ac_header>
9147 rm -f conftest.
$ac_objext
9148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9149 (eval $ac_compile) 2>conftest.er1
9151 grep -v '^ *+' conftest.er1
>conftest.err
9153 cat conftest.err
>&5
9154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9155 (exit $ac_status); } &&
9156 { ac_try
='test -z "$ac_c_werror_flag"
9157 || test ! -s conftest.err'
9158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9162 (exit $ac_status); }; } &&
9163 { ac_try
='test -s conftest.$ac_objext'
9164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9168 (exit $ac_status); }; }; then
9169 ac_header_compiler
=yes
9171 echo "$as_me: failed program was:" >&5
9172 sed 's/^/| /' conftest.
$ac_ext >&5
9174 ac_header_compiler
=no
9176 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9177 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9178 echo "${ECHO_T}$ac_header_compiler" >&6
9180 # Is the header present?
9181 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9182 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9183 cat >conftest.
$ac_ext <<_ACEOF
9186 cat confdefs.h
>>conftest.
$ac_ext
9187 cat >>conftest.
$ac_ext <<_ACEOF
9188 /* end confdefs.h. */
9189 #include <$ac_header>
9191 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9192 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9194 grep -v '^ *+' conftest.er1
>conftest.err
9196 cat conftest.err
>&5
9197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9198 (exit $ac_status); } >/dev
/null
; then
9199 if test -s conftest.err
; then
9200 ac_cpp_err
=$ac_c_preproc_warn_flag
9201 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9208 if test -z "$ac_cpp_err"; then
9209 ac_header_preproc
=yes
9211 echo "$as_me: failed program was:" >&5
9212 sed 's/^/| /' conftest.
$ac_ext >&5
9214 ac_header_preproc
=no
9216 rm -f conftest.err conftest.
$ac_ext
9217 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9218 echo "${ECHO_T}$ac_header_preproc" >&6
9220 # So? What about this header?
9221 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9223 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9224 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9225 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9226 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9227 ac_header_preproc
=yes
9230 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9231 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9232 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9233 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9234 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9235 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9236 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9237 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9239 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9240 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9241 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9244 ## ---------------------------------- ##
9245 ## Report this to the libjava lists. ##
9246 ## ---------------------------------- ##
9249 sed "s/^/$as_me: WARNING: /" >&2
9252 echo "$as_me:$LINENO: checking for $ac_header" >&5
9253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9254 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9255 echo $ECHO_N "(cached) $ECHO_C" >&6
9257 eval "$as_ac_Header=\$ac_header_preproc"
9259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9260 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9263 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9264 cat >>confdefs.h
<<_ACEOF
9265 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9272 echo "$as_me:$LINENO: checking for backtrace" >&5
9273 echo $ECHO_N "checking for backtrace... $ECHO_C" >&6
9274 if test "${ac_cv_func_backtrace+set}" = set; then
9275 echo $ECHO_N "(cached) $ECHO_C" >&6
9277 if test x
$gcc_no_link = xyes
; then
9278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9280 { (exit 1); exit 1; }; }
9282 cat >conftest.
$ac_ext <<_ACEOF
9285 cat confdefs.h
>>conftest.
$ac_ext
9286 cat >>conftest.
$ac_ext <<_ACEOF
9287 /* end confdefs.h. */
9288 /* Define backtrace to an innocuous variant, in case <limits.h> declares backtrace.
9289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9290 #define backtrace innocuous_backtrace
9292 /* System header to define __stub macros and hopefully few prototypes,
9293 which can conflict with char backtrace (); below.
9294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9295 <limits.h> exists even on freestanding compilers. */
9298 # include <limits.h>
9300 # include <assert.h>
9305 /* Override any gcc2 internal prototype to avoid an error. */
9310 /* We use char because int might match the return type of a gcc2
9311 builtin and then its argument prototype would still apply. */
9313 /* The GNU C library defines this for functions which it implements
9314 to always fail with ENOSYS. Some functions are actually named
9315 something starting with __ and the normal name is an alias. */
9316 #if defined (__stub_backtrace) || defined (__stub___backtrace)
9319 char (*f) () = backtrace;
9328 return f != backtrace;
9333 rm -f conftest.
$ac_objext conftest
$ac_exeext
9334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9335 (eval $ac_link) 2>conftest.er1
9337 grep -v '^ *+' conftest.er1
>conftest.err
9339 cat conftest.err
>&5
9340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9341 (exit $ac_status); } &&
9342 { ac_try
='test -z "$ac_c_werror_flag"
9343 || test ! -s conftest.err'
9344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9348 (exit $ac_status); }; } &&
9349 { ac_try
='test -s conftest$ac_exeext'
9350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9354 (exit $ac_status); }; }; then
9355 ac_cv_func_backtrace
=yes
9357 echo "$as_me: failed program was:" >&5
9358 sed 's/^/| /' conftest.
$ac_ext >&5
9360 ac_cv_func_backtrace
=no
9362 rm -f conftest.err conftest.
$ac_objext \
9363 conftest
$ac_exeext conftest.
$ac_ext
9365 echo "$as_me:$LINENO: result: $ac_cv_func_backtrace" >&5
9366 echo "${ECHO_T}$ac_cv_func_backtrace" >&6
9367 if test $ac_cv_func_backtrace = yes; then
9371 # Has broken backtrace()
9374 # Has broken backtrace(), but we supply our own.
9375 if test -d sysdep
; then true
; else mkdir
-p sysdep
; fi
9376 supply_backtrace
=yes
9378 cat >>confdefs.h
<<\_ACEOF
9379 #define HAVE_BACKTRACE 1
9385 cat >>confdefs.h
<<\_ACEOF
9386 #define HAVE_BACKTRACE 1
9396 # Has backtrace() defined in libgcj itself
9398 cat >>confdefs.h
<<\_ACEOF
9399 #define HAVE_BACKTRACE 1
9408 echo "$as_me:$LINENO: checking for dladdr in -ldl" >&5
9409 echo $ECHO_N "checking for dladdr in -ldl... $ECHO_C" >&6
9410 if test "${ac_cv_lib_dl_dladdr+set}" = set; then
9411 echo $ECHO_N "(cached) $ECHO_C" >&6
9413 ac_check_lib_save_LIBS
=$LIBS
9415 if test x
$gcc_no_link = xyes
; then
9416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9418 { (exit 1); exit 1; }; }
9420 cat >conftest.
$ac_ext <<_ACEOF
9423 cat confdefs.h
>>conftest.
$ac_ext
9424 cat >>conftest.
$ac_ext <<_ACEOF
9425 /* end confdefs.h. */
9427 /* Override any gcc2 internal prototype to avoid an error. */
9431 /* We use char because int might match the return type of a gcc2
9432 builtin and then its argument prototype would still apply. */
9442 rm -f conftest.
$ac_objext conftest
$ac_exeext
9443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9444 (eval $ac_link) 2>conftest.er1
9446 grep -v '^ *+' conftest.er1
>conftest.err
9448 cat conftest.err
>&5
9449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9450 (exit $ac_status); } &&
9451 { ac_try
='test -z "$ac_c_werror_flag"
9452 || test ! -s conftest.err'
9453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9457 (exit $ac_status); }; } &&
9458 { ac_try
='test -s conftest$ac_exeext'
9459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9463 (exit $ac_status); }; }; then
9464 ac_cv_lib_dl_dladdr
=yes
9466 echo "$as_me: failed program was:" >&5
9467 sed 's/^/| /' conftest.
$ac_ext >&5
9469 ac_cv_lib_dl_dladdr
=no
9471 rm -f conftest.err conftest.
$ac_objext \
9472 conftest
$ac_exeext conftest.
$ac_ext
9473 LIBS
=$ac_check_lib_save_LIBS
9475 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dladdr" >&5
9476 echo "${ECHO_T}$ac_cv_lib_dl_dladdr" >&6
9477 if test $ac_cv_lib_dl_dladdr = yes; then
9479 if test "x${disable_dladdr}" = "xyes"; then
9484 cat >>confdefs.h
<<\_ACEOF
9485 #define HAVE_DLADDR 1
9492 if test x
"$build" = x
"$host"; then
9493 echo "$as_me:$LINENO: checking for /proc/self/exe" >&5
9494 echo $ECHO_N "checking for /proc/self/exe... $ECHO_C" >&6
9495 if test "${ac_cv_file__proc_self_exe+set}" = set; then
9496 echo $ECHO_N "(cached) $ECHO_C" >&6
9498 test "$cross_compiling" = yes &&
9499 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
9500 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
9501 { (exit 1); exit 1; }; }
9502 if test -r "/proc/self/exe"; then
9503 ac_cv_file__proc_self_exe
=yes
9505 ac_cv_file__proc_self_exe
=no
9508 echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_exe" >&5
9509 echo "${ECHO_T}$ac_cv_file__proc_self_exe" >&6
9510 if test $ac_cv_file__proc_self_exe = yes; then
9512 cat >>confdefs.h
<<_ACEOF
9513 #define HAVE__PROC_SELF_EXE 1
9518 cat >>confdefs.h
<<\_ACEOF
9519 #define HAVE_PROC_SELF_EXE 1
9528 cat >>confdefs.h
<<\_ACEOF
9529 #define HAVE_PROC_SELF_EXE 1
9537 if test "X$prefix" = "XNONE"; then
9538 acl_final_prefix
="$ac_default_prefix"
9540 acl_final_prefix
="$prefix"
9542 if test "X$exec_prefix" = "XNONE"; then
9543 acl_final_exec_prefix
='${prefix}'
9545 acl_final_exec_prefix
="$exec_prefix"
9547 acl_save_prefix
="$prefix"
9548 prefix
="$acl_final_prefix"
9549 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
9550 prefix
="$acl_save_prefix"
9553 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9554 if test "${with_gnu_ld+set}" = set; then
9555 withval
="$with_gnu_ld"
9556 test "$withval" = no || with_gnu_ld
=yes
9560 # Prepare PATH_SEPARATOR.
9561 # The user is always right.
9562 if test "${PATH_SEPARATOR+set}" != set; then
9563 echo "#! /bin/sh" >conf$$.sh
9564 echo "exit 0" >>conf$$.sh
9566 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9574 if test "$GCC" = yes; then
9575 # Check if gcc -print-prog-name=ld gives a path.
9576 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
9577 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
9580 # gcc leaves a trailing carriage return which upsets mingw
9581 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9583 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
9586 # Accept absolute paths.
9587 [\\/]* |
[A-Za-z
]:[\\/]*)
9588 re_direlt
='/[^/][^/]*/\.\./'
9589 # Canonicalize the path of ld
9590 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
9591 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
9592 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
9594 test -z "$LD" && LD
="$ac_prog"
9597 # If it fails, then pretend we aren't using GCC.
9601 # If it is relative, then search for the first ld in PATH.
9605 elif test "$with_gnu_ld" = yes; then
9606 echo "$as_me:$LINENO: checking for GNU ld" >&5
9607 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9609 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9610 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9612 if test "${acl_cv_path_LD+set}" = set; then
9613 echo $ECHO_N "(cached) $ECHO_C" >&6
9615 if test -z "$LD"; then
9616 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
9617 for ac_dir
in $PATH; do
9618 test -z "$ac_dir" && ac_dir
=.
9619 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
9620 acl_cv_path_LD
="$ac_dir/$ac_prog"
9621 # Check to see if the program is GNU ld. I'd rather use --version,
9622 # but apparently some GNU ld's only accept -v.
9623 # Break only if it was the GNU/non-GNU ld that we prefer.
9624 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
9625 test "$with_gnu_ld" != no
&& break
9627 test "$with_gnu_ld" != yes && break
9633 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
9637 LD
="$acl_cv_path_LD"
9638 if test -n "$LD"; then
9639 echo "$as_me:$LINENO: result: $LD" >&5
9640 echo "${ECHO_T}$LD" >&6
9642 echo "$as_me:$LINENO: result: no" >&5
9643 echo "${ECHO_T}no" >&6
9645 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9646 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9647 { (exit 1); exit 1; }; }
9648 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9649 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9650 if test "${acl_cv_prog_gnu_ld+set}" = set; then
9651 echo $ECHO_N "(cached) $ECHO_C" >&6
9653 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9654 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
9655 acl_cv_prog_gnu_ld
=yes
9657 acl_cv_prog_gnu_ld
=no
9660 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
9661 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
9662 with_gnu_ld
=$acl_cv_prog_gnu_ld
9666 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
9667 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
9668 if test "${acl_cv_rpath+set}" = set; then
9669 echo $ECHO_N "(cached) $ECHO_C" >&6
9672 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
9673 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
9679 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
9680 echo "${ECHO_T}$acl_cv_rpath" >&6
9682 libext
="$acl_cv_libext"
9683 shlibext
="$acl_cv_shlibext"
9684 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
9685 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
9686 hardcode_direct
="$acl_cv_hardcode_direct"
9687 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
9688 # Check whether --enable-rpath or --disable-rpath was given.
9689 if test "${enable_rpath+set}" = set; then
9690 enableval
="$enable_rpath"
9704 acl_save_prefix
="$prefix"
9705 prefix
="$acl_final_prefix"
9706 acl_save_exec_prefix
="$exec_prefix"
9707 exec_prefix
="$acl_final_exec_prefix"
9709 eval additional_includedir
=\"$includedir\"
9710 eval additional_libdir
=\"$libdir\"
9712 exec_prefix
="$acl_save_exec_prefix"
9713 prefix
="$acl_save_prefix"
9716 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
9717 if test "${with_libiconv_prefix+set}" = set; then
9718 withval
="$with_libiconv_prefix"
9720 if test "X$withval" = "Xno"; then
9723 if test "X$withval" = "X"; then
9725 acl_save_prefix
="$prefix"
9726 prefix
="$acl_final_prefix"
9727 acl_save_exec_prefix
="$exec_prefix"
9728 exec_prefix
="$acl_final_exec_prefix"
9730 eval additional_includedir
=\"$includedir\"
9731 eval additional_libdir
=\"$libdir\"
9733 exec_prefix
="$acl_save_exec_prefix"
9734 prefix
="$acl_save_prefix"
9737 additional_includedir
="$withval/include"
9738 additional_libdir
="$withval/lib"
9748 names_already_handled
=
9749 names_next_round
='iconv '
9750 while test -n "$names_next_round"; do
9751 names_this_round
="$names_next_round"
9753 for name
in $names_this_round; do
9755 for n
in $names_already_handled; do
9756 if test "$n" = "$name"; then
9761 if test -z "$already_handled"; then
9762 names_already_handled
="$names_already_handled $name"
9763 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
9764 eval value
=\"\
$HAVE_LIB$uppername\"
9765 if test -n "$value"; then
9766 if test "$value" = yes; then
9767 eval value
=\"\
$LIB$uppername\"
9768 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
9769 eval value
=\"\
$LTLIB$uppername\"
9770 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
9779 if test $use_additional = yes; then
9780 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
9781 found_dir
="$additional_libdir"
9782 found_so
="$additional_libdir/lib$name.$shlibext"
9783 if test -f "$additional_libdir/lib$name.la"; then
9784 found_la
="$additional_libdir/lib$name.la"
9787 if test -f "$additional_libdir/lib$name.$libext"; then
9788 found_dir
="$additional_libdir"
9789 found_a
="$additional_libdir/lib$name.$libext"
9790 if test -f "$additional_libdir/lib$name.la"; then
9791 found_la
="$additional_libdir/lib$name.la"
9796 if test "X$found_dir" = "X"; then
9797 for x
in $LDFLAGS $LTLIBICONV; do
9799 acl_save_prefix
="$prefix"
9800 prefix
="$acl_final_prefix"
9801 acl_save_exec_prefix
="$exec_prefix"
9802 exec_prefix
="$acl_final_exec_prefix"
9804 exec_prefix
="$acl_save_exec_prefix"
9805 prefix
="$acl_save_prefix"
9809 dir
=`echo "X$x" | sed -e 's/^X-L//'`
9810 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
9812 found_so
="$dir/lib$name.$shlibext"
9813 if test -f "$dir/lib$name.la"; then
9814 found_la
="$dir/lib$name.la"
9817 if test -f "$dir/lib$name.$libext"; then
9819 found_a
="$dir/lib$name.$libext"
9820 if test -f "$dir/lib$name.la"; then
9821 found_la
="$dir/lib$name.la"
9827 if test "X$found_dir" != "X"; then
9832 if test "X$found_dir" != "X"; then
9833 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
9834 if test "X$found_so" != "X"; then
9835 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
9836 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9839 for x
in $ltrpathdirs; do
9840 if test "X$x" = "X$found_dir"; then
9845 if test -z "$haveit"; then
9846 ltrpathdirs
="$ltrpathdirs $found_dir"
9848 if test "$hardcode_direct" = yes; then
9849 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9851 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
9852 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9854 for x
in $rpathdirs; do
9855 if test "X$x" = "X$found_dir"; then
9860 if test -z "$haveit"; then
9861 rpathdirs
="$rpathdirs $found_dir"
9865 for x
in $LDFLAGS $LIBICONV; do
9867 acl_save_prefix
="$prefix"
9868 prefix
="$acl_final_prefix"
9869 acl_save_exec_prefix
="$exec_prefix"
9870 exec_prefix
="$acl_final_exec_prefix"
9872 exec_prefix
="$acl_save_exec_prefix"
9873 prefix
="$acl_save_prefix"
9875 if test "X$x" = "X-L$found_dir"; then
9880 if test -z "$haveit"; then
9881 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
9883 if test "$hardcode_minus_L" != no
; then
9884 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9886 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
9892 if test "X$found_a" != "X"; then
9893 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
9895 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
9898 additional_includedir
=
9899 case "$found_dir" in
9901 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
9902 additional_includedir
="$basedir/include"
9905 if test "X$additional_includedir" != "X"; then
9906 if test "X$additional_includedir" != "X/usr/include"; then
9908 if test "X$additional_includedir" = "X/usr/local/include"; then
9909 if test -n "$GCC"; then
9911 linux
*) haveit
=yes;;
9915 if test -z "$haveit"; then
9916 for x
in $CPPFLAGS $INCICONV; do
9918 acl_save_prefix
="$prefix"
9919 prefix
="$acl_final_prefix"
9920 acl_save_exec_prefix
="$exec_prefix"
9921 exec_prefix
="$acl_final_exec_prefix"
9923 exec_prefix
="$acl_save_exec_prefix"
9924 prefix
="$acl_save_prefix"
9926 if test "X$x" = "X-I$additional_includedir"; then
9931 if test -z "$haveit"; then
9932 if test -d "$additional_includedir"; then
9933 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
9939 if test -n "$found_la"; then
9940 save_libdir
="$libdir"
9942 */* |
*\\*) .
"$found_la" ;;
9943 *) .
"./$found_la" ;;
9945 libdir
="$save_libdir"
9946 for dep
in $dependency_libs; do
9949 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
9950 if test "X$additional_libdir" != "X/usr/lib"; then
9952 if test "X$additional_libdir" = "X/usr/local/lib"; then
9953 if test -n "$GCC"; then
9955 linux
*) haveit
=yes;;
9959 if test -z "$haveit"; then
9961 for x
in $LDFLAGS $LIBICONV; do
9963 acl_save_prefix
="$prefix"
9964 prefix
="$acl_final_prefix"
9965 acl_save_exec_prefix
="$exec_prefix"
9966 exec_prefix
="$acl_final_exec_prefix"
9968 exec_prefix
="$acl_save_exec_prefix"
9969 prefix
="$acl_save_prefix"
9971 if test "X$x" = "X-L$additional_libdir"; then
9976 if test -z "$haveit"; then
9977 if test -d "$additional_libdir"; then
9978 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
9982 for x
in $LDFLAGS $LTLIBICONV; do
9984 acl_save_prefix
="$prefix"
9985 prefix
="$acl_final_prefix"
9986 acl_save_exec_prefix
="$exec_prefix"
9987 exec_prefix
="$acl_final_exec_prefix"
9989 exec_prefix
="$acl_save_exec_prefix"
9990 prefix
="$acl_save_prefix"
9992 if test "X$x" = "X-L$additional_libdir"; then
9997 if test -z "$haveit"; then
9998 if test -d "$additional_libdir"; then
9999 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
10006 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
10007 if test "$enable_rpath" != no
; then
10009 for x
in $rpathdirs; do
10010 if test "X$x" = "X$dir"; then
10015 if test -z "$haveit"; then
10016 rpathdirs
="$rpathdirs $dir"
10019 for x
in $ltrpathdirs; do
10020 if test "X$x" = "X$dir"; then
10025 if test -z "$haveit"; then
10026 ltrpathdirs
="$ltrpathdirs $dir"
10031 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10034 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10037 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
10038 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
10044 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
10045 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
10051 if test "X$rpathdirs" != "X"; then
10052 if test -n "$hardcode_libdir_separator"; then
10054 for found_dir
in $rpathdirs; do
10055 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10057 acl_save_libdir
="$libdir"
10059 eval flag
=\"$hardcode_libdir_flag_spec\"
10060 libdir
="$acl_save_libdir"
10061 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10063 for found_dir
in $rpathdirs; do
10064 acl_save_libdir
="$libdir"
10065 libdir
="$found_dir"
10066 eval flag
=\"$hardcode_libdir_flag_spec\"
10067 libdir
="$acl_save_libdir"
10068 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10072 if test "X$ltrpathdirs" != "X"; then
10073 for found_dir
in $ltrpathdirs; do
10074 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
10084 am_save_CPPFLAGS
="$CPPFLAGS"
10086 for element
in $INCICONV; do
10088 for x
in $CPPFLAGS; do
10090 acl_save_prefix
="$prefix"
10091 prefix
="$acl_final_prefix"
10092 acl_save_exec_prefix
="$exec_prefix"
10093 exec_prefix
="$acl_final_exec_prefix"
10095 exec_prefix
="$acl_save_exec_prefix"
10096 prefix
="$acl_save_prefix"
10098 if test "X$x" = "X$element"; then
10103 if test -z "$haveit"; then
10104 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
10109 echo "$as_me:$LINENO: checking for iconv" >&5
10110 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
10111 if test "${am_cv_func_iconv+set}" = set; then
10112 echo $ECHO_N "(cached) $ECHO_C" >&6
10115 am_cv_func_iconv
="no, consider installing GNU libiconv"
10117 if test x
$gcc_no_link = xyes
; then
10118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10120 { (exit 1); exit 1; }; }
10122 cat >conftest.
$ac_ext <<_ACEOF
10125 cat confdefs.h
>>conftest.
$ac_ext
10126 cat >>conftest.
$ac_ext <<_ACEOF
10127 /* end confdefs.h. */
10128 #include <stdlib.h>
10133 iconv_t cd = iconv_open("","");
10134 iconv(cd,NULL,NULL,NULL,NULL);
10140 rm -f conftest.
$ac_objext conftest
$ac_exeext
10141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10142 (eval $ac_link) 2>conftest.er1
10144 grep -v '^ *+' conftest.er1
>conftest.err
10146 cat conftest.err
>&5
10147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10148 (exit $ac_status); } &&
10149 { ac_try
='test -z "$ac_c_werror_flag"
10150 || test ! -s conftest.err'
10151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10152 (eval $ac_try) 2>&5
10154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10155 (exit $ac_status); }; } &&
10156 { ac_try
='test -s conftest$ac_exeext'
10157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10158 (eval $ac_try) 2>&5
10160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10161 (exit $ac_status); }; }; then
10162 am_cv_func_iconv
=yes
10164 echo "$as_me: failed program was:" >&5
10165 sed 's/^/| /' conftest.
$ac_ext >&5
10168 rm -f conftest.err conftest.
$ac_objext \
10169 conftest
$ac_exeext conftest.
$ac_ext
10170 if test "$am_cv_func_iconv" != yes; then
10171 am_save_LIBS
="$LIBS"
10172 LIBS
="$LIBS $LIBICONV"
10173 if test x
$gcc_no_link = xyes
; then
10174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10176 { (exit 1); exit 1; }; }
10178 cat >conftest.
$ac_ext <<_ACEOF
10181 cat confdefs.h
>>conftest.
$ac_ext
10182 cat >>conftest.
$ac_ext <<_ACEOF
10183 /* end confdefs.h. */
10184 #include <stdlib.h>
10189 iconv_t cd = iconv_open("","");
10190 iconv(cd,NULL,NULL,NULL,NULL);
10196 rm -f conftest.
$ac_objext conftest
$ac_exeext
10197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10198 (eval $ac_link) 2>conftest.er1
10200 grep -v '^ *+' conftest.er1
>conftest.err
10202 cat conftest.err
>&5
10203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10204 (exit $ac_status); } &&
10205 { ac_try
='test -z "$ac_c_werror_flag"
10206 || test ! -s conftest.err'
10207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10208 (eval $ac_try) 2>&5
10210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10211 (exit $ac_status); }; } &&
10212 { ac_try
='test -s conftest$ac_exeext'
10213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10214 (eval $ac_try) 2>&5
10216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10217 (exit $ac_status); }; }; then
10218 am_cv_lib_iconv
=yes
10219 am_cv_func_iconv
=yes
10221 echo "$as_me: failed program was:" >&5
10222 sed 's/^/| /' conftest.
$ac_ext >&5
10225 rm -f conftest.err conftest.
$ac_objext \
10226 conftest
$ac_exeext conftest.
$ac_ext
10227 LIBS
="$am_save_LIBS"
10231 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
10232 echo "${ECHO_T}$am_cv_func_iconv" >&6
10233 if test "$am_cv_func_iconv" = yes; then
10235 cat >>confdefs.h
<<\_ACEOF
10236 #define HAVE_ICONV 1
10240 if test "$am_cv_lib_iconv" = yes; then
10241 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
10242 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
10243 echo "$as_me:$LINENO: result: $LIBICONV" >&5
10244 echo "${ECHO_T}$LIBICONV" >&6
10246 CPPFLAGS
="$am_save_CPPFLAGS"
10253 if test "$am_cv_func_iconv" = yes; then
10254 echo "$as_me:$LINENO: checking for iconv declaration" >&5
10255 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
10256 if test "${am_cv_proto_iconv+set}" = set; then
10257 echo $ECHO_N "(cached) $ECHO_C" >&6
10260 cat >conftest.
$ac_ext <<_ACEOF
10263 cat confdefs.h
>>conftest.
$ac_ext
10264 cat >>conftest.
$ac_ext <<_ACEOF
10265 /* end confdefs.h. */
10267 #include <stdlib.h>
10273 #if defined(__STDC__) || defined(__cplusplus)
10274 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
10287 rm -f conftest.
$ac_objext
10288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10289 (eval $ac_compile) 2>conftest.er1
10291 grep -v '^ *+' conftest.er1
>conftest.err
10293 cat conftest.err
>&5
10294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10295 (exit $ac_status); } &&
10296 { ac_try
='test -z "$ac_c_werror_flag"
10297 || test ! -s conftest.err'
10298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10299 (eval $ac_try) 2>&5
10301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10302 (exit $ac_status); }; } &&
10303 { ac_try
='test -s conftest.$ac_objext'
10304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10305 (eval $ac_try) 2>&5
10307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10308 (exit $ac_status); }; }; then
10309 am_cv_proto_iconv_arg1
=""
10311 echo "$as_me: failed program was:" >&5
10312 sed 's/^/| /' conftest.
$ac_ext >&5
10314 am_cv_proto_iconv_arg1
="const"
10316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10317 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);"
10320 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
10321 echo "$as_me:$LINENO: result: ${ac_t:-
10322 }$am_cv_proto_iconv" >&5
10323 echo "${ECHO_T}${ac_t:-
10324 }$am_cv_proto_iconv" >&6
10326 cat >>confdefs.h
<<_ACEOF
10327 #define ICONV_CONST $am_cv_proto_iconv_arg1
10333 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
10334 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
10335 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
10336 echo $ECHO_N "(cached) $ECHO_C" >&6
10338 if test x
$gcc_no_link = xyes
; then
10339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10341 { (exit 1); exit 1; }; }
10343 cat >conftest.
$ac_ext <<_ACEOF
10346 cat confdefs.h
>>conftest.
$ac_ext
10347 cat >>conftest.
$ac_ext <<_ACEOF
10348 /* end confdefs.h. */
10349 #include <locale.h>
10358 rm -f conftest.
$ac_objext conftest
$ac_exeext
10359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10360 (eval $ac_link) 2>conftest.er1
10362 grep -v '^ *+' conftest.er1
>conftest.err
10364 cat conftest.err
>&5
10365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10366 (exit $ac_status); } &&
10367 { ac_try
='test -z "$ac_c_werror_flag"
10368 || test ! -s conftest.err'
10369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10370 (eval $ac_try) 2>&5
10372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10373 (exit $ac_status); }; } &&
10374 { ac_try
='test -s conftest$ac_exeext'
10375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10376 (eval $ac_try) 2>&5
10378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10379 (exit $ac_status); }; }; then
10380 am_cv_val_LC_MESSAGES
=yes
10382 echo "$as_me: failed program was:" >&5
10383 sed 's/^/| /' conftest.
$ac_ext >&5
10385 am_cv_val_LC_MESSAGES
=no
10387 rm -f conftest.err conftest.
$ac_objext \
10388 conftest
$ac_exeext conftest.
$ac_ext
10390 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
10391 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
10392 if test $am_cv_val_LC_MESSAGES = yes; then
10394 cat >>confdefs.h
<<\_ACEOF
10395 #define HAVE_LC_MESSAGES 1
10400 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
10401 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
10402 if test "${ac_cv_struct_tm+set}" = set; then
10403 echo $ECHO_N "(cached) $ECHO_C" >&6
10405 cat >conftest.
$ac_ext <<_ACEOF
10408 cat confdefs.h
>>conftest.
$ac_ext
10409 cat >>conftest.
$ac_ext <<_ACEOF
10410 /* end confdefs.h. */
10411 #include <sys/types.h>
10417 struct tm *tp; tp->tm_sec;
10422 rm -f conftest.
$ac_objext
10423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10424 (eval $ac_compile) 2>conftest.er1
10426 grep -v '^ *+' conftest.er1
>conftest.err
10428 cat conftest.err
>&5
10429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10430 (exit $ac_status); } &&
10431 { ac_try
='test -z "$ac_c_werror_flag"
10432 || test ! -s conftest.err'
10433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10434 (eval $ac_try) 2>&5
10436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10437 (exit $ac_status); }; } &&
10438 { ac_try
='test -s conftest.$ac_objext'
10439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10440 (eval $ac_try) 2>&5
10442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10443 (exit $ac_status); }; }; then
10444 ac_cv_struct_tm
=time.h
10446 echo "$as_me: failed program was:" >&5
10447 sed 's/^/| /' conftest.
$ac_ext >&5
10449 ac_cv_struct_tm
=sys
/time.h
10451 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10453 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
10454 echo "${ECHO_T}$ac_cv_struct_tm" >&6
10455 if test $ac_cv_struct_tm = sys
/time.h
; then
10457 cat >>confdefs.h
<<\_ACEOF
10458 #define TM_IN_SYS_TIME 1
10463 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
10464 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
10465 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
10466 echo $ECHO_N "(cached) $ECHO_C" >&6
10468 cat >conftest.
$ac_ext <<_ACEOF
10471 cat confdefs.h
>>conftest.
$ac_ext
10472 cat >>conftest.
$ac_ext <<_ACEOF
10473 /* end confdefs.h. */
10474 #include <sys/types.h>
10475 #include <$ac_cv_struct_tm>
10481 static struct tm ac_aggr;
10482 if (ac_aggr.tm_zone)
10488 rm -f conftest.
$ac_objext
10489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10490 (eval $ac_compile) 2>conftest.er1
10492 grep -v '^ *+' conftest.er1
>conftest.err
10494 cat conftest.err
>&5
10495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10496 (exit $ac_status); } &&
10497 { ac_try
='test -z "$ac_c_werror_flag"
10498 || test ! -s conftest.err'
10499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10500 (eval $ac_try) 2>&5
10502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10503 (exit $ac_status); }; } &&
10504 { ac_try
='test -s conftest.$ac_objext'
10505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10506 (eval $ac_try) 2>&5
10508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10509 (exit $ac_status); }; }; then
10510 ac_cv_member_struct_tm_tm_zone
=yes
10512 echo "$as_me: failed program was:" >&5
10513 sed 's/^/| /' conftest.
$ac_ext >&5
10515 cat >conftest.
$ac_ext <<_ACEOF
10518 cat confdefs.h
>>conftest.
$ac_ext
10519 cat >>conftest.
$ac_ext <<_ACEOF
10520 /* end confdefs.h. */
10521 #include <sys/types.h>
10522 #include <$ac_cv_struct_tm>
10528 static struct tm ac_aggr;
10529 if (sizeof ac_aggr.tm_zone)
10535 rm -f conftest.
$ac_objext
10536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10537 (eval $ac_compile) 2>conftest.er1
10539 grep -v '^ *+' conftest.er1
>conftest.err
10541 cat conftest.err
>&5
10542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10543 (exit $ac_status); } &&
10544 { ac_try
='test -z "$ac_c_werror_flag"
10545 || test ! -s conftest.err'
10546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10547 (eval $ac_try) 2>&5
10549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10550 (exit $ac_status); }; } &&
10551 { ac_try
='test -s conftest.$ac_objext'
10552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10553 (eval $ac_try) 2>&5
10555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10556 (exit $ac_status); }; }; then
10557 ac_cv_member_struct_tm_tm_zone
=yes
10559 echo "$as_me: failed program was:" >&5
10560 sed 's/^/| /' conftest.
$ac_ext >&5
10562 ac_cv_member_struct_tm_tm_zone
=no
10564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10568 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
10569 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
10570 if test $ac_cv_member_struct_tm_tm_zone = yes; then
10572 cat >>confdefs.h
<<_ACEOF
10573 #define HAVE_STRUCT_TM_TM_ZONE 1
10579 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
10581 cat >>confdefs.h
<<\_ACEOF
10582 #define HAVE_TM_ZONE 1
10586 echo "$as_me:$LINENO: checking for tzname" >&5
10587 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
10588 if test "${ac_cv_var_tzname+set}" = set; then
10589 echo $ECHO_N "(cached) $ECHO_C" >&6
10591 if test x
$gcc_no_link = xyes
; then
10592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10594 { (exit 1); exit 1; }; }
10596 cat >conftest.
$ac_ext <<_ACEOF
10599 cat confdefs.h
>>conftest.
$ac_ext
10600 cat >>conftest.
$ac_ext <<_ACEOF
10601 /* end confdefs.h. */
10603 #ifndef tzname /* For SGI. */
10604 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
10615 rm -f conftest.
$ac_objext conftest
$ac_exeext
10616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10617 (eval $ac_link) 2>conftest.er1
10619 grep -v '^ *+' conftest.er1
>conftest.err
10621 cat conftest.err
>&5
10622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10623 (exit $ac_status); } &&
10624 { ac_try
='test -z "$ac_c_werror_flag"
10625 || test ! -s conftest.err'
10626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10627 (eval $ac_try) 2>&5
10629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10630 (exit $ac_status); }; } &&
10631 { ac_try
='test -s conftest$ac_exeext'
10632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10633 (eval $ac_try) 2>&5
10635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636 (exit $ac_status); }; }; then
10637 ac_cv_var_tzname
=yes
10639 echo "$as_me: failed program was:" >&5
10640 sed 's/^/| /' conftest.
$ac_ext >&5
10642 ac_cv_var_tzname
=no
10644 rm -f conftest.err conftest.
$ac_objext \
10645 conftest
$ac_exeext conftest.
$ac_ext
10647 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
10648 echo "${ECHO_T}$ac_cv_var_tzname" >&6
10649 if test $ac_cv_var_tzname = yes; then
10651 cat >>confdefs.h
<<\_ACEOF
10652 #define HAVE_TZNAME 1
10661 for ac_func
in gethostbyname_r
10663 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10664 echo "$as_me:$LINENO: checking for $ac_func" >&5
10665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10666 if eval "test \"\${$as_ac_var+set}\" = set"; then
10667 echo $ECHO_N "(cached) $ECHO_C" >&6
10669 if test x
$gcc_no_link = xyes
; then
10670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10672 { (exit 1); exit 1; }; }
10674 cat >conftest.
$ac_ext <<_ACEOF
10677 cat confdefs.h
>>conftest.
$ac_ext
10678 cat >>conftest.
$ac_ext <<_ACEOF
10679 /* end confdefs.h. */
10680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10682 #define $ac_func innocuous_$ac_func
10684 /* System header to define __stub macros and hopefully few prototypes,
10685 which can conflict with char $ac_func (); below.
10686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10687 <limits.h> exists even on freestanding compilers. */
10690 # include <limits.h>
10692 # include <assert.h>
10697 /* Override any gcc2 internal prototype to avoid an error. */
10702 /* We use char because int might match the return type of a gcc2
10703 builtin and then its argument prototype would still apply. */
10705 /* The GNU C library defines this for functions which it implements
10706 to always fail with ENOSYS. Some functions are actually named
10707 something starting with __ and the normal name is an alias. */
10708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10711 char (*f) () = $ac_func;
10720 return f != $ac_func;
10725 rm -f conftest.
$ac_objext conftest
$ac_exeext
10726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10727 (eval $ac_link) 2>conftest.er1
10729 grep -v '^ *+' conftest.er1
>conftest.err
10731 cat conftest.err
>&5
10732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10733 (exit $ac_status); } &&
10734 { ac_try
='test -z "$ac_c_werror_flag"
10735 || test ! -s conftest.err'
10736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10737 (eval $ac_try) 2>&5
10739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10740 (exit $ac_status); }; } &&
10741 { ac_try
='test -s conftest$ac_exeext'
10742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10743 (eval $ac_try) 2>&5
10745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10746 (exit $ac_status); }; }; then
10747 eval "$as_ac_var=yes"
10749 echo "$as_me: failed program was:" >&5
10750 sed 's/^/| /' conftest.
$ac_ext >&5
10752 eval "$as_ac_var=no"
10754 rm -f conftest.err conftest.
$ac_objext \
10755 conftest
$ac_exeext conftest.
$ac_ext
10757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10759 if test `eval echo '${'$as_ac_var'}'` = yes; then
10760 cat >>confdefs.h
<<_ACEOF
10761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10765 cat >>confdefs.h
<<\_ACEOF
10766 #define HAVE_GETHOSTBYNAME_R 1
10769 # There are two different kinds of gethostbyname_r.
10770 # We look for the one that returns `int'.
10771 # Hopefully this check is robust enough.
10772 cat >conftest.
$ac_ext <<_ACEOF
10775 cat confdefs.h
>>conftest.
$ac_ext
10776 cat >>conftest.
$ac_ext <<_ACEOF
10777 /* end confdefs.h. */
10781 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10782 $EGREP "int.*gethostbyname_r" >/dev
/null
2>&1; then
10785 cat >>confdefs.h
<<\_ACEOF
10786 #define GETHOSTBYNAME_R_RETURNS_INT 1
10793 case " $GCINCS " in
10794 *" -D_REENTRANT "*) ;;
10796 echo "$as_me:$LINENO: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5
10797 echo $ECHO_N "checking whether gethostbyname_r declaration requires -D_REENTRANT... $ECHO_C" >&6
10798 if test "${libjava_cv_gethostbyname_r_needs_reentrant+set}" = set; then
10799 echo $ECHO_N "(cached) $ECHO_C" >&6
10802 ac_cpp
='$CXXCPP $CPPFLAGS'
10803 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10804 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10805 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10807 cat >conftest.
$ac_ext <<_ACEOF
10810 cat confdefs.h
>>conftest.
$ac_ext
10811 cat >>conftest.
$ac_ext <<_ACEOF
10812 /* end confdefs.h. */
10817 gethostbyname_r("", 0, 0);
10822 rm -f conftest.
$ac_objext
10823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10824 (eval $ac_compile) 2>conftest.er1
10826 grep -v '^ *+' conftest.er1
>conftest.err
10828 cat conftest.err
>&5
10829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10830 (exit $ac_status); } &&
10831 { ac_try
='test -z "$ac_cxx_werror_flag"
10832 || test ! -s conftest.err'
10833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10834 (eval $ac_try) 2>&5
10836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10837 (exit $ac_status); }; } &&
10838 { ac_try
='test -s conftest.$ac_objext'
10839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10840 (eval $ac_try) 2>&5
10842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10843 (exit $ac_status); }; }; then
10844 libjava_cv_gethostbyname_r_needs_reentrant
=no
10846 echo "$as_me: failed program was:" >&5
10847 sed 's/^/| /' conftest.
$ac_ext >&5
10849 CPPFLAGS_SAVE
="$CPPFLAGS"
10850 CPPFLAGS
="$CPPFLAGS -D_REENTRANT"
10851 cat >conftest.
$ac_ext <<_ACEOF
10854 cat confdefs.h
>>conftest.
$ac_ext
10855 cat >>conftest.
$ac_ext <<_ACEOF
10856 /* end confdefs.h. */
10861 gethostbyname_r("", 0, 0);
10866 rm -f conftest.
$ac_objext
10867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10868 (eval $ac_compile) 2>conftest.er1
10870 grep -v '^ *+' conftest.er1
>conftest.err
10872 cat conftest.err
>&5
10873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10874 (exit $ac_status); } &&
10875 { ac_try
='test -z "$ac_cxx_werror_flag"
10876 || test ! -s conftest.err'
10877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10878 (eval $ac_try) 2>&5
10880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10881 (exit $ac_status); }; } &&
10882 { ac_try
='test -s conftest.$ac_objext'
10883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10884 (eval $ac_try) 2>&5
10886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10887 (exit $ac_status); }; }; then
10888 libjava_cv_gethostbyname_r_needs_reentrant
=yes
10890 echo "$as_me: failed program was:" >&5
10891 sed 's/^/| /' conftest.
$ac_ext >&5
10893 libjava_cv_gethostbyname_r_needs_reentrant
=fail
10895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10896 CPPFLAGS
="$CPPFLAGS_SAVE"
10899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10901 ac_cpp
='$CPP $CPPFLAGS'
10902 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10903 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10904 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10908 echo "$as_me:$LINENO: result: $libjava_cv_gethostbyname_r_needs_reentrant" >&5
10909 echo "${ECHO_T}$libjava_cv_gethostbyname_r_needs_reentrant" >&6
10910 if test "x$libjava_cv_gethostbyname_r_needs_reentrant" = xyes
; then
10912 cat >>confdefs.h
<<\_ACEOF
10913 #define _REENTRANT 1
10920 echo "$as_me:$LINENO: checking for struct hostent_data" >&5
10921 echo $ECHO_N "checking for struct hostent_data... $ECHO_C" >&6
10922 if test "${libjava_cv_struct_hostent_data+set}" = set; then
10923 echo $ECHO_N "(cached) $ECHO_C" >&6
10925 cat >conftest.
$ac_ext <<_ACEOF
10928 cat confdefs.h
>>conftest.
$ac_ext
10929 cat >>conftest.
$ac_ext <<_ACEOF
10930 /* end confdefs.h. */
10932 #if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
10933 # define _REENTRANT 1
10939 struct hostent_data data;
10944 rm -f conftest.
$ac_objext
10945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10946 (eval $ac_compile) 2>conftest.er1
10948 grep -v '^ *+' conftest.er1
>conftest.err
10950 cat conftest.err
>&5
10951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10952 (exit $ac_status); } &&
10953 { ac_try
='test -z "$ac_c_werror_flag"
10954 || test ! -s conftest.err'
10955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10956 (eval $ac_try) 2>&5
10958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10959 (exit $ac_status); }; } &&
10960 { ac_try
='test -s conftest.$ac_objext'
10961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10962 (eval $ac_try) 2>&5
10964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10965 (exit $ac_status); }; }; then
10966 libjava_cv_struct_hostent_data
=yes
10968 echo "$as_me: failed program was:" >&5
10969 sed 's/^/| /' conftest.
$ac_ext >&5
10971 libjava_cv_struct_hostent_data
=no
10973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10975 echo "$as_me:$LINENO: result: $libjava_cv_struct_hostent_data" >&5
10976 echo "${ECHO_T}$libjava_cv_struct_hostent_data" >&6
10977 if test "x$libjava_cv_struct_hostent_data" = xyes
; then
10979 cat >>confdefs.h
<<\_ACEOF
10980 #define HAVE_STRUCT_HOSTENT_DATA 1
10989 # FIXME: libjava source code expects to find a prototype for
10990 # gethostbyaddr_r in netdb.h. The outer check ensures that
10991 # HAVE_GETHOSTBYADDR_R will not be defined if the prototype fails
10992 # to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
10993 # linkage check is enough, yet C++ code requires proper prototypes.)
10994 cat >conftest.
$ac_ext <<_ACEOF
10997 cat confdefs.h
>>conftest.
$ac_ext
10998 cat >>conftest.
$ac_ext <<_ACEOF
10999 /* end confdefs.h. */
11003 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11004 $EGREP "gethostbyaddr_r" >/dev
/null
2>&1; then
11007 for ac_func
in gethostbyaddr_r
11009 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11010 echo "$as_me:$LINENO: checking for $ac_func" >&5
11011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11012 if eval "test \"\${$as_ac_var+set}\" = set"; then
11013 echo $ECHO_N "(cached) $ECHO_C" >&6
11015 if test x
$gcc_no_link = xyes
; then
11016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11018 { (exit 1); exit 1; }; }
11020 cat >conftest.
$ac_ext <<_ACEOF
11023 cat confdefs.h
>>conftest.
$ac_ext
11024 cat >>conftest.
$ac_ext <<_ACEOF
11025 /* end confdefs.h. */
11026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11028 #define $ac_func innocuous_$ac_func
11030 /* System header to define __stub macros and hopefully few prototypes,
11031 which can conflict with char $ac_func (); below.
11032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11033 <limits.h> exists even on freestanding compilers. */
11036 # include <limits.h>
11038 # include <assert.h>
11043 /* Override any gcc2 internal prototype to avoid an error. */
11048 /* We use char because int might match the return type of a gcc2
11049 builtin and then its argument prototype would still apply. */
11051 /* The GNU C library defines this for functions which it implements
11052 to always fail with ENOSYS. Some functions are actually named
11053 something starting with __ and the normal name is an alias. */
11054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11057 char (*f) () = $ac_func;
11066 return f != $ac_func;
11071 rm -f conftest.
$ac_objext conftest
$ac_exeext
11072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11073 (eval $ac_link) 2>conftest.er1
11075 grep -v '^ *+' conftest.er1
>conftest.err
11077 cat conftest.err
>&5
11078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11079 (exit $ac_status); } &&
11080 { ac_try
='test -z "$ac_c_werror_flag"
11081 || test ! -s conftest.err'
11082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11083 (eval $ac_try) 2>&5
11085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11086 (exit $ac_status); }; } &&
11087 { ac_try
='test -s conftest$ac_exeext'
11088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11089 (eval $ac_try) 2>&5
11091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11092 (exit $ac_status); }; }; then
11093 eval "$as_ac_var=yes"
11095 echo "$as_me: failed program was:" >&5
11096 sed 's/^/| /' conftest.
$ac_ext >&5
11098 eval "$as_ac_var=no"
11100 rm -f conftest.err conftest.
$ac_objext \
11101 conftest
$ac_exeext conftest.
$ac_ext
11103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11105 if test `eval echo '${'$as_ac_var'}'` = yes; then
11106 cat >>confdefs.h
<<_ACEOF
11107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11111 cat >>confdefs.h
<<\_ACEOF
11112 #define HAVE_GETHOSTBYADDR_R 1
11115 # There are two different kinds of gethostbyaddr_r.
11116 # We look for the one that returns `int'.
11117 # Hopefully this check is robust enough.
11118 cat >conftest.
$ac_ext <<_ACEOF
11121 cat confdefs.h
>>conftest.
$ac_ext
11122 cat >>conftest.
$ac_ext <<_ACEOF
11123 /* end confdefs.h. */
11127 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11128 $EGREP "int.*gethostbyaddr_r" >/dev
/null
2>&1; then
11131 cat >>confdefs.h
<<\_ACEOF
11132 #define GETHOSTBYADDR_R_RETURNS_INT 1
11146 for ac_func
in gethostname
11148 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11149 echo "$as_me:$LINENO: checking for $ac_func" >&5
11150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11151 if eval "test \"\${$as_ac_var+set}\" = set"; then
11152 echo $ECHO_N "(cached) $ECHO_C" >&6
11154 if test x
$gcc_no_link = xyes
; then
11155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11157 { (exit 1); exit 1; }; }
11159 cat >conftest.
$ac_ext <<_ACEOF
11162 cat confdefs.h
>>conftest.
$ac_ext
11163 cat >>conftest.
$ac_ext <<_ACEOF
11164 /* end confdefs.h. */
11165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11167 #define $ac_func innocuous_$ac_func
11169 /* System header to define __stub macros and hopefully few prototypes,
11170 which can conflict with char $ac_func (); below.
11171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11172 <limits.h> exists even on freestanding compilers. */
11175 # include <limits.h>
11177 # include <assert.h>
11182 /* Override any gcc2 internal prototype to avoid an error. */
11187 /* We use char because int might match the return type of a gcc2
11188 builtin and then its argument prototype would still apply. */
11190 /* The GNU C library defines this for functions which it implements
11191 to always fail with ENOSYS. Some functions are actually named
11192 something starting with __ and the normal name is an alias. */
11193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11196 char (*f) () = $ac_func;
11205 return f != $ac_func;
11210 rm -f conftest.
$ac_objext conftest
$ac_exeext
11211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11212 (eval $ac_link) 2>conftest.er1
11214 grep -v '^ *+' conftest.er1
>conftest.err
11216 cat conftest.err
>&5
11217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11218 (exit $ac_status); } &&
11219 { ac_try
='test -z "$ac_c_werror_flag"
11220 || test ! -s conftest.err'
11221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11222 (eval $ac_try) 2>&5
11224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 (exit $ac_status); }; } &&
11226 { ac_try
='test -s conftest$ac_exeext'
11227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11228 (eval $ac_try) 2>&5
11230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11231 (exit $ac_status); }; }; then
11232 eval "$as_ac_var=yes"
11234 echo "$as_me: failed program was:" >&5
11235 sed 's/^/| /' conftest.
$ac_ext >&5
11237 eval "$as_ac_var=no"
11239 rm -f conftest.err conftest.
$ac_objext \
11240 conftest
$ac_exeext conftest.
$ac_ext
11242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11244 if test `eval echo '${'$as_ac_var'}'` = yes; then
11245 cat >>confdefs.h
<<_ACEOF
11246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11250 cat >>confdefs.h
<<\_ACEOF
11251 #define HAVE_GETHOSTNAME 1
11254 cat >conftest.
$ac_ext <<_ACEOF
11257 cat confdefs.h
>>conftest.
$ac_ext
11258 cat >>conftest.
$ac_ext <<_ACEOF
11259 /* end confdefs.h. */
11260 #include <unistd.h>
11263 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11264 $EGREP "gethostname" >/dev
/null
2>&1; then
11267 cat >>confdefs.h
<<\_ACEOF
11268 #define HAVE_GETHOSTNAME_DECL 1
11279 for ac_func
in usleep
11281 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11282 echo "$as_me:$LINENO: checking for $ac_func" >&5
11283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11284 if eval "test \"\${$as_ac_var+set}\" = set"; then
11285 echo $ECHO_N "(cached) $ECHO_C" >&6
11287 if test x
$gcc_no_link = xyes
; then
11288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11290 { (exit 1); exit 1; }; }
11292 cat >conftest.
$ac_ext <<_ACEOF
11295 cat confdefs.h
>>conftest.
$ac_ext
11296 cat >>conftest.
$ac_ext <<_ACEOF
11297 /* end confdefs.h. */
11298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11300 #define $ac_func innocuous_$ac_func
11302 /* System header to define __stub macros and hopefully few prototypes,
11303 which can conflict with char $ac_func (); below.
11304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11305 <limits.h> exists even on freestanding compilers. */
11308 # include <limits.h>
11310 # include <assert.h>
11315 /* Override any gcc2 internal prototype to avoid an error. */
11320 /* We use char because int might match the return type of a gcc2
11321 builtin and then its argument prototype would still apply. */
11323 /* The GNU C library defines this for functions which it implements
11324 to always fail with ENOSYS. Some functions are actually named
11325 something starting with __ and the normal name is an alias. */
11326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11329 char (*f) () = $ac_func;
11338 return f != $ac_func;
11343 rm -f conftest.
$ac_objext conftest
$ac_exeext
11344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11345 (eval $ac_link) 2>conftest.er1
11347 grep -v '^ *+' conftest.er1
>conftest.err
11349 cat conftest.err
>&5
11350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11351 (exit $ac_status); } &&
11352 { ac_try
='test -z "$ac_c_werror_flag"
11353 || test ! -s conftest.err'
11354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11355 (eval $ac_try) 2>&5
11357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11358 (exit $ac_status); }; } &&
11359 { ac_try
='test -s conftest$ac_exeext'
11360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11361 (eval $ac_try) 2>&5
11363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11364 (exit $ac_status); }; }; then
11365 eval "$as_ac_var=yes"
11367 echo "$as_me: failed program was:" >&5
11368 sed 's/^/| /' conftest.
$ac_ext >&5
11370 eval "$as_ac_var=no"
11372 rm -f conftest.err conftest.
$ac_objext \
11373 conftest
$ac_exeext conftest.
$ac_ext
11375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11377 if test `eval echo '${'$as_ac_var'}'` = yes; then
11378 cat >>confdefs.h
<<_ACEOF
11379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11382 cat >conftest.
$ac_ext <<_ACEOF
11385 cat confdefs.h
>>conftest.
$ac_ext
11386 cat >>conftest.
$ac_ext <<_ACEOF
11387 /* end confdefs.h. */
11388 #include <unistd.h>
11391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11392 $EGREP "usleep" >/dev
/null
2>&1; then
11395 cat >>confdefs.h
<<\_ACEOF
11396 #define HAVE_USLEEP_DECL 1
11406 # Look for these functions in the thread library, but only bother
11407 # if using POSIX threads.
11408 if test "$THREADS" = posix
; then
11410 LIBS
="$LIBS $THREADLIBS"
11411 # Some POSIX thread systems don't have pthread_mutexattr_settype.
11415 for ac_func
in pthread_mutexattr_settype pthread_mutexattr_setkind_np
11417 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11418 echo "$as_me:$LINENO: checking for $ac_func" >&5
11419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11420 if eval "test \"\${$as_ac_var+set}\" = set"; then
11421 echo $ECHO_N "(cached) $ECHO_C" >&6
11423 if test x
$gcc_no_link = xyes
; then
11424 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11426 { (exit 1); exit 1; }; }
11428 cat >conftest.
$ac_ext <<_ACEOF
11431 cat confdefs.h
>>conftest.
$ac_ext
11432 cat >>conftest.
$ac_ext <<_ACEOF
11433 /* end confdefs.h. */
11434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11436 #define $ac_func innocuous_$ac_func
11438 /* System header to define __stub macros and hopefully few prototypes,
11439 which can conflict with char $ac_func (); below.
11440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11441 <limits.h> exists even on freestanding compilers. */
11444 # include <limits.h>
11446 # include <assert.h>
11451 /* Override any gcc2 internal prototype to avoid an error. */
11456 /* We use char because int might match the return type of a gcc2
11457 builtin and then its argument prototype would still apply. */
11459 /* The GNU C library defines this for functions which it implements
11460 to always fail with ENOSYS. Some functions are actually named
11461 something starting with __ and the normal name is an alias. */
11462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11465 char (*f) () = $ac_func;
11474 return f != $ac_func;
11479 rm -f conftest.
$ac_objext conftest
$ac_exeext
11480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11481 (eval $ac_link) 2>conftest.er1
11483 grep -v '^ *+' conftest.er1
>conftest.err
11485 cat conftest.err
>&5
11486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11487 (exit $ac_status); } &&
11488 { ac_try
='test -z "$ac_c_werror_flag"
11489 || test ! -s conftest.err'
11490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11491 (eval $ac_try) 2>&5
11493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11494 (exit $ac_status); }; } &&
11495 { ac_try
='test -s conftest$ac_exeext'
11496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11497 (eval $ac_try) 2>&5
11499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11500 (exit $ac_status); }; }; then
11501 eval "$as_ac_var=yes"
11503 echo "$as_me: failed program was:" >&5
11504 sed 's/^/| /' conftest.
$ac_ext >&5
11506 eval "$as_ac_var=no"
11508 rm -f conftest.err conftest.
$ac_objext \
11509 conftest
$ac_exeext conftest.
$ac_ext
11511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11513 if test `eval echo '${'$as_ac_var'}'` = yes; then
11514 cat >>confdefs.h
<<_ACEOF
11515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11522 # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since
11523 # Solaris 7 the name librt is preferred.
11525 for ac_func
in sched_yield
11527 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11528 echo "$as_me:$LINENO: checking for $ac_func" >&5
11529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11530 if eval "test \"\${$as_ac_var+set}\" = set"; then
11531 echo $ECHO_N "(cached) $ECHO_C" >&6
11533 if test x
$gcc_no_link = xyes
; then
11534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11536 { (exit 1); exit 1; }; }
11538 cat >conftest.
$ac_ext <<_ACEOF
11541 cat confdefs.h
>>conftest.
$ac_ext
11542 cat >>conftest.
$ac_ext <<_ACEOF
11543 /* end confdefs.h. */
11544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11546 #define $ac_func innocuous_$ac_func
11548 /* System header to define __stub macros and hopefully few prototypes,
11549 which can conflict with char $ac_func (); below.
11550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11551 <limits.h> exists even on freestanding compilers. */
11554 # include <limits.h>
11556 # include <assert.h>
11561 /* Override any gcc2 internal prototype to avoid an error. */
11566 /* We use char because int might match the return type of a gcc2
11567 builtin and then its argument prototype would still apply. */
11569 /* The GNU C library defines this for functions which it implements
11570 to always fail with ENOSYS. Some functions are actually named
11571 something starting with __ and the normal name is an alias. */
11572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11575 char (*f) () = $ac_func;
11584 return f != $ac_func;
11589 rm -f conftest.
$ac_objext conftest
$ac_exeext
11590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11591 (eval $ac_link) 2>conftest.er1
11593 grep -v '^ *+' conftest.er1
>conftest.err
11595 cat conftest.err
>&5
11596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11597 (exit $ac_status); } &&
11598 { ac_try
='test -z "$ac_c_werror_flag"
11599 || test ! -s conftest.err'
11600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11601 (eval $ac_try) 2>&5
11603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11604 (exit $ac_status); }; } &&
11605 { ac_try
='test -s conftest$ac_exeext'
11606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11607 (eval $ac_try) 2>&5
11609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11610 (exit $ac_status); }; }; then
11611 eval "$as_ac_var=yes"
11613 echo "$as_me: failed program was:" >&5
11614 sed 's/^/| /' conftest.
$ac_ext >&5
11616 eval "$as_ac_var=no"
11618 rm -f conftest.err conftest.
$ac_objext \
11619 conftest
$ac_exeext conftest.
$ac_ext
11621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11623 if test `eval echo '${'$as_ac_var'}'` = yes; then
11624 cat >>confdefs.h
<<_ACEOF
11625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11630 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
11631 echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
11632 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
11633 echo $ECHO_N "(cached) $ECHO_C" >&6
11635 ac_check_lib_save_LIBS
=$LIBS
11637 if test x
$gcc_no_link = xyes
; then
11638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11640 { (exit 1); exit 1; }; }
11642 cat >conftest.
$ac_ext <<_ACEOF
11645 cat confdefs.h
>>conftest.
$ac_ext
11646 cat >>conftest.
$ac_ext <<_ACEOF
11647 /* end confdefs.h. */
11649 /* Override any gcc2 internal prototype to avoid an error. */
11653 /* We use char because int might match the return type of a gcc2
11654 builtin and then its argument prototype would still apply. */
11655 char sched_yield ();
11664 rm -f conftest.
$ac_objext conftest
$ac_exeext
11665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11666 (eval $ac_link) 2>conftest.er1
11668 grep -v '^ *+' conftest.er1
>conftest.err
11670 cat conftest.err
>&5
11671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11672 (exit $ac_status); } &&
11673 { ac_try
='test -z "$ac_c_werror_flag"
11674 || test ! -s conftest.err'
11675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11676 (eval $ac_try) 2>&5
11678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11679 (exit $ac_status); }; } &&
11680 { ac_try
='test -s conftest$ac_exeext'
11681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11682 (eval $ac_try) 2>&5
11684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11685 (exit $ac_status); }; }; then
11686 ac_cv_lib_rt_sched_yield
=yes
11688 echo "$as_me: failed program was:" >&5
11689 sed 's/^/| /' conftest.
$ac_ext >&5
11691 ac_cv_lib_rt_sched_yield
=no
11693 rm -f conftest.err conftest.
$ac_objext \
11694 conftest
$ac_exeext conftest.
$ac_ext
11695 LIBS
=$ac_check_lib_save_LIBS
11697 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
11698 echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
11699 if test $ac_cv_lib_rt_sched_yield = yes; then
11701 cat >>confdefs.h
<<\_ACEOF
11702 #define HAVE_SCHED_YIELD 1
11705 THREADLIBS
="$THREADLIBS -lrt"
11706 THREADSPEC
="$THREADSPEC -lrt"
11709 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
11710 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
11711 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
11712 echo $ECHO_N "(cached) $ECHO_C" >&6
11714 ac_check_lib_save_LIBS
=$LIBS
11715 LIBS
="-lposix4 $LIBS"
11716 if test x
$gcc_no_link = xyes
; then
11717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11719 { (exit 1); exit 1; }; }
11721 cat >conftest.
$ac_ext <<_ACEOF
11724 cat confdefs.h
>>conftest.
$ac_ext
11725 cat >>conftest.
$ac_ext <<_ACEOF
11726 /* end confdefs.h. */
11728 /* Override any gcc2 internal prototype to avoid an error. */
11732 /* We use char because int might match the return type of a gcc2
11733 builtin and then its argument prototype would still apply. */
11734 char sched_yield ();
11743 rm -f conftest.
$ac_objext conftest
$ac_exeext
11744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11745 (eval $ac_link) 2>conftest.er1
11747 grep -v '^ *+' conftest.er1
>conftest.err
11749 cat conftest.err
>&5
11750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11751 (exit $ac_status); } &&
11752 { ac_try
='test -z "$ac_c_werror_flag"
11753 || test ! -s conftest.err'
11754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11755 (eval $ac_try) 2>&5
11757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11758 (exit $ac_status); }; } &&
11759 { ac_try
='test -s conftest$ac_exeext'
11760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11761 (eval $ac_try) 2>&5
11763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11764 (exit $ac_status); }; }; then
11765 ac_cv_lib_posix4_sched_yield
=yes
11767 echo "$as_me: failed program was:" >&5
11768 sed 's/^/| /' conftest.
$ac_ext >&5
11770 ac_cv_lib_posix4_sched_yield
=no
11772 rm -f conftest.err conftest.
$ac_objext \
11773 conftest
$ac_exeext conftest.
$ac_ext
11774 LIBS
=$ac_check_lib_save_LIBS
11776 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
11777 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
11778 if test $ac_cv_lib_posix4_sched_yield = yes; then
11780 cat >>confdefs.h
<<\_ACEOF
11781 #define HAVE_SCHED_YIELD 1
11784 THREADLIBS
="$THREADLIBS -lposix4"
11785 THREADSPEC
="$THREADSPEC -lposix4"
11795 # We can save a little space at runtime if the mutex has m_count
11796 # or __m_count. This is a nice hack for Linux.
11797 cat >conftest.
$ac_ext <<_ACEOF
11800 cat confdefs.h
>>conftest.
$ac_ext
11801 cat >>conftest.
$ac_ext <<_ACEOF
11802 /* end confdefs.h. */
11803 #include <pthread.h>
11808 extern pthread_mutex_t *mutex; int q = mutex->m_count;
11814 rm -f conftest.
$ac_objext
11815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11816 (eval $ac_compile) 2>conftest.er1
11818 grep -v '^ *+' conftest.er1
>conftest.err
11820 cat conftest.err
>&5
11821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11822 (exit $ac_status); } &&
11823 { ac_try
='test -z "$ac_c_werror_flag"
11824 || test ! -s conftest.err'
11825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11826 (eval $ac_try) 2>&5
11828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11829 (exit $ac_status); }; } &&
11830 { ac_try
='test -s conftest.$ac_objext'
11831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11832 (eval $ac_try) 2>&5
11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835 (exit $ac_status); }; }; then
11837 cat >>confdefs.h
<<\_ACEOF
11838 #define PTHREAD_MUTEX_HAVE_M_COUNT 1
11842 echo "$as_me: failed program was:" >&5
11843 sed 's/^/| /' conftest.
$ac_ext >&5
11846 cat >conftest.
$ac_ext <<_ACEOF
11849 cat confdefs.h
>>conftest.
$ac_ext
11850 cat >>conftest.
$ac_ext <<_ACEOF
11851 /* end confdefs.h. */
11852 #include <pthread.h>
11857 extern pthread_mutex_t *mutex; int q = mutex->__m_count;
11863 rm -f conftest.
$ac_objext
11864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11865 (eval $ac_compile) 2>conftest.er1
11867 grep -v '^ *+' conftest.er1
>conftest.err
11869 cat conftest.err
>&5
11870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11871 (exit $ac_status); } &&
11872 { ac_try
='test -z "$ac_c_werror_flag"
11873 || test ! -s conftest.err'
11874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11875 (eval $ac_try) 2>&5
11877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11878 (exit $ac_status); }; } &&
11879 { ac_try
='test -s conftest.$ac_objext'
11880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11881 (eval $ac_try) 2>&5
11883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11884 (exit $ac_status); }; }; then
11886 cat >>confdefs.h
<<\_ACEOF
11887 #define PTHREAD_MUTEX_HAVE___M_COUNT 1
11891 echo "$as_me: failed program was:" >&5
11892 sed 's/^/| /' conftest.
$ac_ext >&5
11895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11900 # We require a way to get the time.
11905 for ac_func
in gettimeofday
time ftime
11907 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11908 echo "$as_me:$LINENO: checking for $ac_func" >&5
11909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11910 if eval "test \"\${$as_ac_var+set}\" = set"; then
11911 echo $ECHO_N "(cached) $ECHO_C" >&6
11913 if test x
$gcc_no_link = xyes
; then
11914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11916 { (exit 1); exit 1; }; }
11918 cat >conftest.
$ac_ext <<_ACEOF
11921 cat confdefs.h
>>conftest.
$ac_ext
11922 cat >>conftest.
$ac_ext <<_ACEOF
11923 /* end confdefs.h. */
11924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11926 #define $ac_func innocuous_$ac_func
11928 /* System header to define __stub macros and hopefully few prototypes,
11929 which can conflict with char $ac_func (); below.
11930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11931 <limits.h> exists even on freestanding compilers. */
11934 # include <limits.h>
11936 # include <assert.h>
11941 /* Override any gcc2 internal prototype to avoid an error. */
11946 /* We use char because int might match the return type of a gcc2
11947 builtin and then its argument prototype would still apply. */
11949 /* The GNU C library defines this for functions which it implements
11950 to always fail with ENOSYS. Some functions are actually named
11951 something starting with __ and the normal name is an alias. */
11952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11955 char (*f) () = $ac_func;
11964 return f != $ac_func;
11969 rm -f conftest.
$ac_objext conftest
$ac_exeext
11970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11971 (eval $ac_link) 2>conftest.er1
11973 grep -v '^ *+' conftest.er1
>conftest.err
11975 cat conftest.err
>&5
11976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11977 (exit $ac_status); } &&
11978 { ac_try
='test -z "$ac_c_werror_flag"
11979 || test ! -s conftest.err'
11980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11981 (eval $ac_try) 2>&5
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); }; } &&
11985 { ac_try
='test -s conftest$ac_exeext'
11986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11987 (eval $ac_try) 2>&5
11989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11990 (exit $ac_status); }; }; then
11991 eval "$as_ac_var=yes"
11993 echo "$as_me: failed program was:" >&5
11994 sed 's/^/| /' conftest.
$ac_ext >&5
11996 eval "$as_ac_var=no"
11998 rm -f conftest.err conftest.
$ac_objext \
11999 conftest
$ac_exeext conftest.
$ac_ext
12001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12003 if test `eval echo '${'$as_ac_var'}'` = yes; then
12004 cat >>confdefs.h
<<_ACEOF
12005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12011 if test "$time_found" = no
; then
12012 { { echo "$as_me:$LINENO: error: no function found to get the time" >&5
12013 echo "$as_me: error: no function found to get the time" >&2;}
12014 { (exit 1); exit 1; }; }
12018 for ac_func
in memmove
12020 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12021 echo "$as_me:$LINENO: checking for $ac_func" >&5
12022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12023 if eval "test \"\${$as_ac_var+set}\" = set"; then
12024 echo $ECHO_N "(cached) $ECHO_C" >&6
12026 if test x
$gcc_no_link = xyes
; then
12027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12029 { (exit 1); exit 1; }; }
12031 cat >conftest.
$ac_ext <<_ACEOF
12034 cat confdefs.h
>>conftest.
$ac_ext
12035 cat >>conftest.
$ac_ext <<_ACEOF
12036 /* end confdefs.h. */
12037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12039 #define $ac_func innocuous_$ac_func
12041 /* System header to define __stub macros and hopefully few prototypes,
12042 which can conflict with char $ac_func (); below.
12043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12044 <limits.h> exists even on freestanding compilers. */
12047 # include <limits.h>
12049 # include <assert.h>
12054 /* Override any gcc2 internal prototype to avoid an error. */
12059 /* We use char because int might match the return type of a gcc2
12060 builtin and then its argument prototype would still apply. */
12062 /* The GNU C library defines this for functions which it implements
12063 to always fail with ENOSYS. Some functions are actually named
12064 something starting with __ and the normal name is an alias. */
12065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12068 char (*f) () = $ac_func;
12077 return f != $ac_func;
12082 rm -f conftest.
$ac_objext conftest
$ac_exeext
12083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12084 (eval $ac_link) 2>conftest.er1
12086 grep -v '^ *+' conftest.er1
>conftest.err
12088 cat conftest.err
>&5
12089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12090 (exit $ac_status); } &&
12091 { ac_try
='test -z "$ac_c_werror_flag"
12092 || test ! -s conftest.err'
12093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12094 (eval $ac_try) 2>&5
12096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12097 (exit $ac_status); }; } &&
12098 { ac_try
='test -s conftest$ac_exeext'
12099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12100 (eval $ac_try) 2>&5
12102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12103 (exit $ac_status); }; }; then
12104 eval "$as_ac_var=yes"
12106 echo "$as_me: failed program was:" >&5
12107 sed 's/^/| /' conftest.
$ac_ext >&5
12109 eval "$as_ac_var=no"
12111 rm -f conftest.err conftest.
$ac_objext \
12112 conftest
$ac_exeext conftest.
$ac_ext
12114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12116 if test `eval echo '${'$as_ac_var'}'` = yes; then
12117 cat >>confdefs.h
<<_ACEOF
12118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12125 # We require memcpy.
12128 for ac_func
in memcpy
12130 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12131 echo "$as_me:$LINENO: checking for $ac_func" >&5
12132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12133 if eval "test \"\${$as_ac_var+set}\" = set"; then
12134 echo $ECHO_N "(cached) $ECHO_C" >&6
12136 if test x
$gcc_no_link = xyes
; then
12137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12139 { (exit 1); exit 1; }; }
12141 cat >conftest.
$ac_ext <<_ACEOF
12144 cat confdefs.h
>>conftest.
$ac_ext
12145 cat >>conftest.
$ac_ext <<_ACEOF
12146 /* end confdefs.h. */
12147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12149 #define $ac_func innocuous_$ac_func
12151 /* System header to define __stub macros and hopefully few prototypes,
12152 which can conflict with char $ac_func (); below.
12153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12154 <limits.h> exists even on freestanding compilers. */
12157 # include <limits.h>
12159 # include <assert.h>
12164 /* Override any gcc2 internal prototype to avoid an error. */
12169 /* We use char because int might match the return type of a gcc2
12170 builtin and then its argument prototype would still apply. */
12172 /* The GNU C library defines this for functions which it implements
12173 to always fail with ENOSYS. Some functions are actually named
12174 something starting with __ and the normal name is an alias. */
12175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12178 char (*f) () = $ac_func;
12187 return f != $ac_func;
12192 rm -f conftest.
$ac_objext conftest
$ac_exeext
12193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12194 (eval $ac_link) 2>conftest.er1
12196 grep -v '^ *+' conftest.er1
>conftest.err
12198 cat conftest.err
>&5
12199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12200 (exit $ac_status); } &&
12201 { ac_try
='test -z "$ac_c_werror_flag"
12202 || test ! -s conftest.err'
12203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12204 (eval $ac_try) 2>&5
12206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12207 (exit $ac_status); }; } &&
12208 { ac_try
='test -s conftest$ac_exeext'
12209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12210 (eval $ac_try) 2>&5
12212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12213 (exit $ac_status); }; }; then
12214 eval "$as_ac_var=yes"
12216 echo "$as_me: failed program was:" >&5
12217 sed 's/^/| /' conftest.
$ac_ext >&5
12219 eval "$as_ac_var=no"
12221 rm -f conftest.err conftest.
$ac_objext \
12222 conftest
$ac_exeext conftest.
$ac_ext
12224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12226 if test `eval echo '${'$as_ac_var'}'` = yes; then
12227 cat >>confdefs.h
<<_ACEOF
12228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12234 if test "$memcpy_found" = no
; then
12235 { { echo "$as_me:$LINENO: error: memcpy is required" >&5
12236 echo "$as_me: error: memcpy is required" >&2;}
12237 { (exit 1); exit 1; }; }
12240 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12241 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12242 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12243 echo $ECHO_N "(cached) $ECHO_C" >&6
12245 ac_check_lib_save_LIBS
=$LIBS
12247 if test x
$gcc_no_link = xyes
; then
12248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12250 { (exit 1); exit 1; }; }
12252 cat >conftest.
$ac_ext <<_ACEOF
12255 cat confdefs.h
>>conftest.
$ac_ext
12256 cat >>conftest.
$ac_ext <<_ACEOF
12257 /* end confdefs.h. */
12259 /* Override any gcc2 internal prototype to avoid an error. */
12263 /* We use char because int might match the return type of a gcc2
12264 builtin and then its argument prototype would still apply. */
12274 rm -f conftest.
$ac_objext conftest
$ac_exeext
12275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12276 (eval $ac_link) 2>conftest.er1
12278 grep -v '^ *+' conftest.er1
>conftest.err
12280 cat conftest.err
>&5
12281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12282 (exit $ac_status); } &&
12283 { ac_try
='test -z "$ac_c_werror_flag"
12284 || test ! -s conftest.err'
12285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12286 (eval $ac_try) 2>&5
12288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12289 (exit $ac_status); }; } &&
12290 { ac_try
='test -s conftest$ac_exeext'
12291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12292 (eval $ac_try) 2>&5
12294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295 (exit $ac_status); }; }; then
12296 ac_cv_lib_dl_dlopen
=yes
12298 echo "$as_me: failed program was:" >&5
12299 sed 's/^/| /' conftest.
$ac_ext >&5
12301 ac_cv_lib_dl_dlopen
=no
12303 rm -f conftest.err conftest.
$ac_objext \
12304 conftest
$ac_exeext conftest.
$ac_ext
12305 LIBS
=$ac_check_lib_save_LIBS
12307 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12308 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12309 if test $ac_cv_lib_dl_dlopen = yes; then
12312 cat >>confdefs.h
<<\_ACEOF
12313 #define HAVE_DLOPEN 1
12319 # Some library-finding code we stole from Tcl.
12320 #--------------------------------------------------------------------
12321 # Check for the existence of the -lsocket and -lnsl libraries.
12322 # The order here is important, so that they end up in the right
12323 # order in the command line generated by make. Here are some
12324 # special considerations:
12325 # 1. Use "connect" and "accept" to check for -lsocket, and
12326 # "gethostbyname" to check for -lnsl.
12327 # 2. Use each function name only once: can't redo a check because
12328 # autoconf caches the results of the last check and won't redo it.
12329 # 3. Use -lnsl and -lsocket only if they supply procedures that
12330 # aren't already present in the normal libraries. This is because
12331 # IRIX 5.2 has libraries, but they aren't needed and they're
12332 # bogus: they goof up name resolution if used.
12333 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
12334 # To get around this problem, check for both libraries together
12335 # if -lsocket doesn't work by itself.
12336 #--------------------------------------------------------------------
12338 echo "$as_me:$LINENO: checking for socket libraries" >&5
12339 echo $ECHO_N "checking for socket libraries... $ECHO_C" >&6
12340 if test "${gcj_cv_lib_sockets+set}" = set; then
12341 echo $ECHO_N "(cached) $ECHO_C" >&6
12343 gcj_cv_lib_sockets
=
12345 unset ac_cv_func_connect
12346 echo "$as_me:$LINENO: checking for connect" >&5
12347 echo $ECHO_N "checking for connect... $ECHO_C" >&6
12348 if test "${ac_cv_func_connect+set}" = set; then
12349 echo $ECHO_N "(cached) $ECHO_C" >&6
12351 if test x
$gcc_no_link = xyes
; then
12352 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12354 { (exit 1); exit 1; }; }
12356 cat >conftest.
$ac_ext <<_ACEOF
12359 cat confdefs.h
>>conftest.
$ac_ext
12360 cat >>conftest.
$ac_ext <<_ACEOF
12361 /* end confdefs.h. */
12362 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
12363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12364 #define connect innocuous_connect
12366 /* System header to define __stub macros and hopefully few prototypes,
12367 which can conflict with char connect (); below.
12368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12369 <limits.h> exists even on freestanding compilers. */
12372 # include <limits.h>
12374 # include <assert.h>
12379 /* Override any gcc2 internal prototype to avoid an error. */
12384 /* We use char because int might match the return type of a gcc2
12385 builtin and then its argument prototype would still apply. */
12387 /* The GNU C library defines this for functions which it implements
12388 to always fail with ENOSYS. Some functions are actually named
12389 something starting with __ and the normal name is an alias. */
12390 #if defined (__stub_connect) || defined (__stub___connect)
12393 char (*f) () = connect;
12402 return f != connect;
12407 rm -f conftest.
$ac_objext conftest
$ac_exeext
12408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12409 (eval $ac_link) 2>conftest.er1
12411 grep -v '^ *+' conftest.er1
>conftest.err
12413 cat conftest.err
>&5
12414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415 (exit $ac_status); } &&
12416 { ac_try
='test -z "$ac_c_werror_flag"
12417 || test ! -s conftest.err'
12418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12419 (eval $ac_try) 2>&5
12421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12422 (exit $ac_status); }; } &&
12423 { ac_try
='test -s conftest$ac_exeext'
12424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12425 (eval $ac_try) 2>&5
12427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12428 (exit $ac_status); }; }; then
12429 ac_cv_func_connect
=yes
12431 echo "$as_me: failed program was:" >&5
12432 sed 's/^/| /' conftest.
$ac_ext >&5
12434 ac_cv_func_connect
=no
12436 rm -f conftest.err conftest.
$ac_objext \
12437 conftest
$ac_exeext conftest.
$ac_ext
12439 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
12440 echo "${ECHO_T}$ac_cv_func_connect" >&6
12441 if test $ac_cv_func_connect = yes; then
12447 if test "$gcj_checkSocket" = 1; then
12448 unset ac_cv_func_connect
12449 echo "$as_me:$LINENO: checking for main in -lsocket" >&5
12450 echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
12451 if test "${ac_cv_lib_socket_main+set}" = set; then
12452 echo $ECHO_N "(cached) $ECHO_C" >&6
12454 ac_check_lib_save_LIBS
=$LIBS
12455 LIBS
="-lsocket $LIBS"
12456 if test x
$gcc_no_link = xyes
; then
12457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12459 { (exit 1); exit 1; }; }
12461 cat >conftest.
$ac_ext <<_ACEOF
12464 cat confdefs.h
>>conftest.
$ac_ext
12465 cat >>conftest.
$ac_ext <<_ACEOF
12466 /* end confdefs.h. */
12477 rm -f conftest.
$ac_objext conftest
$ac_exeext
12478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12479 (eval $ac_link) 2>conftest.er1
12481 grep -v '^ *+' conftest.er1
>conftest.err
12483 cat conftest.err
>&5
12484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12485 (exit $ac_status); } &&
12486 { ac_try
='test -z "$ac_c_werror_flag"
12487 || test ! -s conftest.err'
12488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12489 (eval $ac_try) 2>&5
12491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12492 (exit $ac_status); }; } &&
12493 { ac_try
='test -s conftest$ac_exeext'
12494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12495 (eval $ac_try) 2>&5
12497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12498 (exit $ac_status); }; }; then
12499 ac_cv_lib_socket_main
=yes
12501 echo "$as_me: failed program was:" >&5
12502 sed 's/^/| /' conftest.
$ac_ext >&5
12504 ac_cv_lib_socket_main
=no
12506 rm -f conftest.err conftest.
$ac_objext \
12507 conftest
$ac_exeext conftest.
$ac_ext
12508 LIBS
=$ac_check_lib_save_LIBS
12510 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
12511 echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
12512 if test $ac_cv_lib_socket_main = yes; then
12513 gcj_cv_lib_sockets
="-lsocket"
12519 if test "$gcj_checkBoth" = 1; then
12521 LIBS
="$LIBS -lsocket -lnsl"
12522 unset ac_cv_func_accept
12523 echo "$as_me:$LINENO: checking for accept" >&5
12524 echo $ECHO_N "checking for accept... $ECHO_C" >&6
12525 if test "${ac_cv_func_accept+set}" = set; then
12526 echo $ECHO_N "(cached) $ECHO_C" >&6
12528 if test x
$gcc_no_link = xyes
; then
12529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12531 { (exit 1); exit 1; }; }
12533 cat >conftest.
$ac_ext <<_ACEOF
12536 cat confdefs.h
>>conftest.
$ac_ext
12537 cat >>conftest.
$ac_ext <<_ACEOF
12538 /* end confdefs.h. */
12539 /* Define accept to an innocuous variant, in case <limits.h> declares accept.
12540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12541 #define accept innocuous_accept
12543 /* System header to define __stub macros and hopefully few prototypes,
12544 which can conflict with char accept (); below.
12545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12546 <limits.h> exists even on freestanding compilers. */
12549 # include <limits.h>
12551 # include <assert.h>
12556 /* Override any gcc2 internal prototype to avoid an error. */
12561 /* We use char because int might match the return type of a gcc2
12562 builtin and then its argument prototype would still apply. */
12564 /* The GNU C library defines this for functions which it implements
12565 to always fail with ENOSYS. Some functions are actually named
12566 something starting with __ and the normal name is an alias. */
12567 #if defined (__stub_accept) || defined (__stub___accept)
12570 char (*f) () = accept;
12579 return f != accept;
12584 rm -f conftest.
$ac_objext conftest
$ac_exeext
12585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12586 (eval $ac_link) 2>conftest.er1
12588 grep -v '^ *+' conftest.er1
>conftest.err
12590 cat conftest.err
>&5
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); } &&
12593 { ac_try
='test -z "$ac_c_werror_flag"
12594 || test ! -s conftest.err'
12595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12596 (eval $ac_try) 2>&5
12598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12599 (exit $ac_status); }; } &&
12600 { ac_try
='test -s conftest$ac_exeext'
12601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12602 (eval $ac_try) 2>&5
12604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12605 (exit $ac_status); }; }; then
12606 ac_cv_func_accept
=yes
12608 echo "$as_me: failed program was:" >&5
12609 sed 's/^/| /' conftest.
$ac_ext >&5
12611 ac_cv_func_accept
=no
12613 rm -f conftest.err conftest.
$ac_objext \
12614 conftest
$ac_exeext conftest.
$ac_ext
12616 echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5
12617 echo "${ECHO_T}$ac_cv_func_accept" >&6
12618 if test $ac_cv_func_accept = yes; then
12620 gcj_cv_lib_sockets
="-lsocket -lnsl"
12623 unset ac_cv_func_accept
12626 unset ac_cv_func_gethostbyname
12628 LIBS
="$LIBS $gcj_cv_lib_sockets"
12629 echo "$as_me:$LINENO: checking for gethostbyname" >&5
12630 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
12631 if test "${ac_cv_func_gethostbyname+set}" = set; then
12632 echo $ECHO_N "(cached) $ECHO_C" >&6
12634 if test x
$gcc_no_link = xyes
; then
12635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12637 { (exit 1); exit 1; }; }
12639 cat >conftest.
$ac_ext <<_ACEOF
12642 cat confdefs.h
>>conftest.
$ac_ext
12643 cat >>conftest.
$ac_ext <<_ACEOF
12644 /* end confdefs.h. */
12645 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
12646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12647 #define gethostbyname innocuous_gethostbyname
12649 /* System header to define __stub macros and hopefully few prototypes,
12650 which can conflict with char gethostbyname (); below.
12651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12652 <limits.h> exists even on freestanding compilers. */
12655 # include <limits.h>
12657 # include <assert.h>
12660 #undef gethostbyname
12662 /* Override any gcc2 internal prototype to avoid an error. */
12667 /* We use char because int might match the return type of a gcc2
12668 builtin and then its argument prototype would still apply. */
12669 char gethostbyname ();
12670 /* The GNU C library defines this for functions which it implements
12671 to always fail with ENOSYS. Some functions are actually named
12672 something starting with __ and the normal name is an alias. */
12673 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
12676 char (*f) () = gethostbyname;
12685 return f != gethostbyname;
12690 rm -f conftest.
$ac_objext conftest
$ac_exeext
12691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12692 (eval $ac_link) 2>conftest.er1
12694 grep -v '^ *+' conftest.er1
>conftest.err
12696 cat conftest.err
>&5
12697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12698 (exit $ac_status); } &&
12699 { ac_try
='test -z "$ac_c_werror_flag"
12700 || test ! -s conftest.err'
12701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12702 (eval $ac_try) 2>&5
12704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12705 (exit $ac_status); }; } &&
12706 { ac_try
='test -s conftest$ac_exeext'
12707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12708 (eval $ac_try) 2>&5
12710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12711 (exit $ac_status); }; }; then
12712 ac_cv_func_gethostbyname
=yes
12714 echo "$as_me: failed program was:" >&5
12715 sed 's/^/| /' conftest.
$ac_ext >&5
12717 ac_cv_func_gethostbyname
=no
12719 rm -f conftest.err conftest.
$ac_objext \
12720 conftest
$ac_exeext conftest.
$ac_ext
12722 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
12723 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
12724 if test $ac_cv_func_gethostbyname = yes; then
12727 echo "$as_me:$LINENO: checking for main in -lnsl" >&5
12728 echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
12729 if test "${ac_cv_lib_nsl_main+set}" = set; then
12730 echo $ECHO_N "(cached) $ECHO_C" >&6
12732 ac_check_lib_save_LIBS
=$LIBS
12734 if test x
$gcc_no_link = xyes
; then
12735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12737 { (exit 1); exit 1; }; }
12739 cat >conftest.
$ac_ext <<_ACEOF
12742 cat confdefs.h
>>conftest.
$ac_ext
12743 cat >>conftest.
$ac_ext <<_ACEOF
12744 /* end confdefs.h. */
12755 rm -f conftest.
$ac_objext conftest
$ac_exeext
12756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12757 (eval $ac_link) 2>conftest.er1
12759 grep -v '^ *+' conftest.er1
>conftest.err
12761 cat conftest.err
>&5
12762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12763 (exit $ac_status); } &&
12764 { ac_try
='test -z "$ac_c_werror_flag"
12765 || test ! -s conftest.err'
12766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12767 (eval $ac_try) 2>&5
12769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12770 (exit $ac_status); }; } &&
12771 { ac_try
='test -s conftest$ac_exeext'
12772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12773 (eval $ac_try) 2>&5
12775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12776 (exit $ac_status); }; }; then
12777 ac_cv_lib_nsl_main
=yes
12779 echo "$as_me: failed program was:" >&5
12780 sed 's/^/| /' conftest.
$ac_ext >&5
12782 ac_cv_lib_nsl_main
=no
12784 rm -f conftest.err conftest.
$ac_objext \
12785 conftest
$ac_exeext conftest.
$ac_ext
12786 LIBS
=$ac_check_lib_save_LIBS
12788 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
12789 echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
12790 if test $ac_cv_lib_nsl_main = yes; then
12791 gcj_cv_lib_sockets
="$gcj_cv_lib_sockets -lnsl"
12796 unset ac_cv_func_gethostbyname
12800 echo "$as_me:$LINENO: result: $gcj_cv_lib_sockets" >&5
12801 echo "${ECHO_T}$gcj_cv_lib_sockets" >&6
12802 SYSTEMSPEC
="$SYSTEMSPEC $gcj_cv_lib_sockets"
12804 if test "$with_system_zlib" = yes; then
12805 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
12806 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
12807 if test "${ac_cv_lib_z_deflate+set}" = set; then
12808 echo $ECHO_N "(cached) $ECHO_C" >&6
12810 ac_check_lib_save_LIBS
=$LIBS
12812 if test x
$gcc_no_link = xyes
; then
12813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12815 { (exit 1); exit 1; }; }
12817 cat >conftest.
$ac_ext <<_ACEOF
12820 cat confdefs.h
>>conftest.
$ac_ext
12821 cat >>conftest.
$ac_ext <<_ACEOF
12822 /* end confdefs.h. */
12824 /* Override any gcc2 internal prototype to avoid an error. */
12828 /* We use char because int might match the return type of a gcc2
12829 builtin and then its argument prototype would still apply. */
12839 rm -f conftest.
$ac_objext conftest
$ac_exeext
12840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12841 (eval $ac_link) 2>conftest.er1
12843 grep -v '^ *+' conftest.er1
>conftest.err
12845 cat conftest.err
>&5
12846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12847 (exit $ac_status); } &&
12848 { ac_try
='test -z "$ac_c_werror_flag"
12849 || test ! -s conftest.err'
12850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12851 (eval $ac_try) 2>&5
12853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12854 (exit $ac_status); }; } &&
12855 { ac_try
='test -s conftest$ac_exeext'
12856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12857 (eval $ac_try) 2>&5
12859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12860 (exit $ac_status); }; }; then
12861 ac_cv_lib_z_deflate
=yes
12863 echo "$as_me: failed program was:" >&5
12864 sed 's/^/| /' conftest.
$ac_ext >&5
12866 ac_cv_lib_z_deflate
=no
12868 rm -f conftest.err conftest.
$ac_objext \
12869 conftest
$ac_exeext conftest.
$ac_ext
12870 LIBS
=$ac_check_lib_save_LIBS
12872 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
12873 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
12874 if test $ac_cv_lib_z_deflate = yes; then
12882 # Test for Gtk stuff, if asked for.
12883 if test "$use_gtk_awt" = yes; then
12887 if test -z "$PKG_CONFIG"; then
12888 # Extract the first word of "pkg-config", so it can be a program name with args.
12889 set dummy pkg-config
; ac_word
=$2
12890 echo "$as_me:$LINENO: checking for $ac_word" >&5
12891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12892 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12893 echo $ECHO_N "(cached) $ECHO_C" >&6
12895 case $PKG_CONFIG in
12897 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12901 for as_dir
in $PATH
12904 test -z "$as_dir" && as_dir
=.
12905 for ac_exec_ext
in '' $ac_executable_extensions; do
12906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12907 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12914 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12918 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12920 if test -n "$PKG_CONFIG"; then
12921 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12922 echo "${ECHO_T}$PKG_CONFIG" >&6
12924 echo "$as_me:$LINENO: result: no" >&5
12925 echo "${ECHO_T}no" >&6
12930 if test "$PKG_CONFIG" = "no" ; then
12931 echo "*** The pkg-config script could not be found. Make sure it is"
12932 echo "*** in your path, or set the PKG_CONFIG environment variable"
12933 echo "*** to the full path to pkg-config."
12934 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12936 PKG_CONFIG_MIN_VERSION
=0.9.0
12937 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12938 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4" >&5
12939 echo $ECHO_N "checking for gtk+-2.0 >= 2.4... $ECHO_C" >&6
12941 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4" ; then
12942 echo "$as_me:$LINENO: result: yes" >&5
12943 echo "${ECHO_T}yes" >&6
12946 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
12947 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
12948 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4"`
12949 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
12950 echo "${ECHO_T}$GTK_CFLAGS" >&6
12952 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
12953 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
12954 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4"`
12955 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
12956 echo "${ECHO_T}$GTK_LIBS" >&6
12960 ## If we have a custom action on failure, don't print errors, but
12961 ## do set a variable so people can do so.
12962 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4"`
12963 echo $GTK_PKG_ERRORS
12969 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12970 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12974 if test $succeeded = yes; then
12977 { { 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
12978 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;}
12979 { (exit 1); exit 1; }; }
12988 if test -z "$PKG_CONFIG"; then
12989 # Extract the first word of "pkg-config", so it can be a program name with args.
12990 set dummy pkg-config
; ac_word
=$2
12991 echo "$as_me:$LINENO: checking for $ac_word" >&5
12992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12993 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12994 echo $ECHO_N "(cached) $ECHO_C" >&6
12996 case $PKG_CONFIG in
12998 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13002 for as_dir
in $PATH
13005 test -z "$as_dir" && as_dir
=.
13006 for ac_exec_ext
in '' $ac_executable_extensions; do
13007 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13008 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13015 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13019 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13021 if test -n "$PKG_CONFIG"; then
13022 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13023 echo "${ECHO_T}$PKG_CONFIG" >&6
13025 echo "$as_me:$LINENO: result: no" >&5
13026 echo "${ECHO_T}no" >&6
13031 if test "$PKG_CONFIG" = "no" ; then
13032 echo "*** The pkg-config script could not be found. Make sure it is"
13033 echo "*** in your path, or set the PKG_CONFIG environment variable"
13034 echo "*** to the full path to pkg-config."
13035 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13037 PKG_CONFIG_MIN_VERSION
=0.9.0
13038 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13039 echo "$as_me:$LINENO: checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4" >&5
13040 echo $ECHO_N "checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... $ECHO_C" >&6
13042 if $PKG_CONFIG --exists "glib-2.0 >= 2.4 gthread-2.0 >= 2.4" ; then
13043 echo "$as_me:$LINENO: result: yes" >&5
13044 echo "${ECHO_T}yes" >&6
13047 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
13048 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
13049 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
13050 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
13051 echo "${ECHO_T}$GLIB_CFLAGS" >&6
13053 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
13054 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
13055 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
13056 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
13057 echo "${ECHO_T}$GLIB_LIBS" >&6
13061 ## If we have a custom action on failure, don't print errors, but
13062 ## do set a variable so people can do so.
13063 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
13064 echo $GLIB_PKG_ERRORS
13070 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13071 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13075 if test $succeeded = yes; then
13078 { { 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
13079 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;}
13080 { (exit 1); exit 1; }; }
13089 if test -z "$PKG_CONFIG"; then
13090 # Extract the first word of "pkg-config", so it can be a program name with args.
13091 set dummy pkg-config
; ac_word
=$2
13092 echo "$as_me:$LINENO: checking for $ac_word" >&5
13093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13094 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13095 echo $ECHO_N "(cached) $ECHO_C" >&6
13097 case $PKG_CONFIG in
13099 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13103 for as_dir
in $PATH
13106 test -z "$as_dir" && as_dir
=.
13107 for ac_exec_ext
in '' $ac_executable_extensions; do
13108 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13109 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13116 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13120 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13122 if test -n "$PKG_CONFIG"; then
13123 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13124 echo "${ECHO_T}$PKG_CONFIG" >&6
13126 echo "$as_me:$LINENO: result: no" >&5
13127 echo "${ECHO_T}no" >&6
13132 if test "$PKG_CONFIG" = "no" ; then
13133 echo "*** The pkg-config script could not be found. Make sure it is"
13134 echo "*** in your path, or set the PKG_CONFIG environment variable"
13135 echo "*** to the full path to pkg-config."
13136 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13138 PKG_CONFIG_MIN_VERSION
=0.9.0
13139 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13140 echo "$as_me:$LINENO: checking for libart-2.0 >= 2.1" >&5
13141 echo $ECHO_N "checking for libart-2.0 >= 2.1... $ECHO_C" >&6
13143 if $PKG_CONFIG --exists "libart-2.0 >= 2.1" ; then
13144 echo "$as_me:$LINENO: result: yes" >&5
13145 echo "${ECHO_T}yes" >&6
13148 echo "$as_me:$LINENO: checking LIBART_CFLAGS" >&5
13149 echo $ECHO_N "checking LIBART_CFLAGS... $ECHO_C" >&6
13150 LIBART_CFLAGS
=`$PKG_CONFIG --cflags "libart-2.0 >= 2.1"`
13151 echo "$as_me:$LINENO: result: $LIBART_CFLAGS" >&5
13152 echo "${ECHO_T}$LIBART_CFLAGS" >&6
13154 echo "$as_me:$LINENO: checking LIBART_LIBS" >&5
13155 echo $ECHO_N "checking LIBART_LIBS... $ECHO_C" >&6
13156 LIBART_LIBS
=`$PKG_CONFIG --libs "libart-2.0 >= 2.1"`
13157 echo "$as_me:$LINENO: result: $LIBART_LIBS" >&5
13158 echo "${ECHO_T}$LIBART_LIBS" >&6
13162 ## If we have a custom action on failure, don't print errors, but
13163 ## do set a variable so people can do so.
13164 LIBART_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libart-2.0 >= 2.1"`
13165 echo $LIBART_PKG_ERRORS
13171 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13172 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13176 if test $succeeded = yes; then
13179 { { 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
13180 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;}
13181 { (exit 1); exit 1; }; }
13187 # We require the XTest Extension to support java.awt.Robot.
13188 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
13189 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
13190 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
13191 echo $ECHO_N "(cached) $ECHO_C" >&6
13193 ac_check_lib_save_LIBS
=$LIBS
13194 LIBS
="-lXtst ${X_LIBS} $LIBS"
13195 if test x
$gcc_no_link = xyes
; then
13196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13198 { (exit 1); exit 1; }; }
13200 cat >conftest.
$ac_ext <<_ACEOF
13203 cat confdefs.h
>>conftest.
$ac_ext
13204 cat >>conftest.
$ac_ext <<_ACEOF
13205 /* end confdefs.h. */
13207 /* Override any gcc2 internal prototype to avoid an error. */
13211 /* We use char because int might match the return type of a gcc2
13212 builtin and then its argument prototype would still apply. */
13213 char XTestQueryExtension ();
13217 XTestQueryExtension ();
13222 rm -f conftest.
$ac_objext conftest
$ac_exeext
13223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13224 (eval $ac_link) 2>conftest.er1
13226 grep -v '^ *+' conftest.er1
>conftest.err
13228 cat conftest.err
>&5
13229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13230 (exit $ac_status); } &&
13231 { ac_try
='test -z "$ac_c_werror_flag"
13232 || test ! -s conftest.err'
13233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13234 (eval $ac_try) 2>&5
13236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13237 (exit $ac_status); }; } &&
13238 { ac_try
='test -s conftest$ac_exeext'
13239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13240 (eval $ac_try) 2>&5
13242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13243 (exit $ac_status); }; }; then
13244 ac_cv_lib_Xtst_XTestQueryExtension
=yes
13246 echo "$as_me: failed program was:" >&5
13247 sed 's/^/| /' conftest.
$ac_ext >&5
13249 ac_cv_lib_Xtst_XTestQueryExtension
=no
13251 rm -f conftest.err conftest.
$ac_objext \
13252 conftest
$ac_exeext conftest.
$ac_ext
13253 LIBS
=$ac_check_lib_save_LIBS
13255 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
13256 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
13257 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
13260 { { echo "$as_me:$LINENO: error: libXtst not found, required by java.awt.Robot" >&5
13261 echo "$as_me: error: libXtst not found, required by java.awt.Robot" >&2;}
13262 { (exit 1); exit 1; }; }
13267 # On Solaris, and maybe other architectures, the Boehm collector
13269 if test "$GC" = boehm
; then
13270 echo "$as_me:$LINENO: checking for main in -ldl" >&5
13271 echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6
13272 if test "${ac_cv_lib_dl_main+set}" = set; then
13273 echo $ECHO_N "(cached) $ECHO_C" >&6
13275 ac_check_lib_save_LIBS
=$LIBS
13277 if test x
$gcc_no_link = xyes
; then
13278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13280 { (exit 1); exit 1; }; }
13282 cat >conftest.
$ac_ext <<_ACEOF
13285 cat confdefs.h
>>conftest.
$ac_ext
13286 cat >>conftest.
$ac_ext <<_ACEOF
13287 /* end confdefs.h. */
13298 rm -f conftest.
$ac_objext conftest
$ac_exeext
13299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13300 (eval $ac_link) 2>conftest.er1
13302 grep -v '^ *+' conftest.er1
>conftest.err
13304 cat conftest.err
>&5
13305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13306 (exit $ac_status); } &&
13307 { ac_try
='test -z "$ac_c_werror_flag"
13308 || test ! -s conftest.err'
13309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13310 (eval $ac_try) 2>&5
13312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13313 (exit $ac_status); }; } &&
13314 { ac_try
='test -s conftest$ac_exeext'
13315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13316 (eval $ac_try) 2>&5
13318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13319 (exit $ac_status); }; }; then
13320 ac_cv_lib_dl_main
=yes
13322 echo "$as_me: failed program was:" >&5
13323 sed 's/^/| /' conftest.
$ac_ext >&5
13325 ac_cv_lib_dl_main
=no
13327 rm -f conftest.err conftest.
$ac_objext \
13328 conftest
$ac_exeext conftest.
$ac_ext
13329 LIBS
=$ac_check_lib_save_LIBS
13331 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5
13332 echo "${ECHO_T}$ac_cv_lib_dl_main" >&6
13333 if test $ac_cv_lib_dl_main = yes; then
13334 SYSTEMSPEC
="$SYSTEMSPEC -ldl"
13341 if test "$supply_backtrace" = yes; then
13342 SUPPLY_BACKTRACE_TRUE
=
13343 SUPPLY_BACKTRACE_FALSE
='#'
13345 SUPPLY_BACKTRACE_TRUE
='#'
13346 SUPPLY_BACKTRACE_FALSE
=
13350 if test -z "${with_multisubdir}"; then
13353 builddotdot
=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`
13358 # Which gcj do we use?
13360 built_gcc_dir
="`cd ${builddotdot}/../../${host_subdir}/gcc && ${PWDCMD-pwd}`"
13361 if test -n "${with_cross_host}"; then
13362 # We are being configured with a cross compiler. We can't
13363 # use ac_exeext, because that is for the target platform.
13366 case "${with_cross_host}" in
13367 *mingw
* |
*cygwin
*)
13368 cross_host_exeext
=.exe
13371 if test -x "${built_gcc_dir}/gcj${cross_host_exeext}"; then
13372 if test x
"$build_noncanonical" = x
"$with_cross_host"; then
13373 # Ordinary cross (host!=target and host=build)
13376 # Canadian cross (host!=target and host!=build)
13383 # We are being configured with a native or crossed-native compiler
13384 if test -x "${built_gcc_dir}/gcj${ac_exeext}"; then
13385 if test x
"$build" = x
"$host"; then
13386 # True native build (host=target and host=build)
13389 # Crossed-native build (host=target and host!=build)
13396 case "${which_gcj}" in
13398 GCJ
="$built_gcc_dir/gcj -B`${PWDCMD-pwd}`/ -B$built_gcc_dir/"
13399 GCJH
='$(top_builddir)/$(MULTIBUILDTOP)../../$(host_subdir)/gcc/gcjh'
13400 ZIP
='$(top_builddir)/$(MULTIBUILDTOP)../../$(host_subdir)/fastjar/fastjar'
13403 if test "x${with_newlib}" = "xyes"; then
13404 # FIXME (comment): Why is this needed?
13405 GCC_UNWIND_INCLUDE
=
13406 GCJ
="${target_noncanonical}-gcj"
13408 GCJ
="${target_noncanonical}-gcj -B`${PWDCMD-pwd}`/"
13410 ZIP
='$(target_noncanonical)-fastjar'
13411 GCJH
='$(target_noncanonical)-gcjh'
13414 GCJ
="gcj -B`${PWDCMD-pwd}`/"
13415 ## In this case, gcj is found outside the build tree. However, zip is
13416 ## found in the build tree.
13417 ZIP
='$(top_builddir)/$(MULTIBUILDTOP)../$(COMPPATH)/fastjar/fastjar'
13425 # Create it, so that compile/link tests don't fail
13426 test -f libgcj.spec ||
touch libgcj.spec
13428 # Use a semicolon as CLASSPATH separator for MinGW, otherwise a colon.
13430 *-mingw32) CLASSPATH_SEPARATOR
=';' ;;
13431 *) CLASSPATH_SEPARATOR
=':' ;;
13435 # We must search the source tree for java.lang, since we still don't
13436 # have libgcj.jar nor java/lang/*.class
13437 GCJ_SAVE_CPPFLAGS
=$CPPFLAGS
13438 CPPFLAGS
="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`"
13440 # Since some classes depend on this one, we need its source available
13441 # before we can do any GCJ compilation test :-(
13442 if test ! -f gnu
/classpath
/Configuration.java
; then
13443 test -d gnu || mkdir gnu
13444 test -d gnu
/classpath || mkdir gnu
/classpath
13445 sed -e 's,@LIBGCJDEBUG@,$LIBGCJDEBUG,' \
13446 -e 's,@TOOLKIT@,$TOOLKIT,' \
13447 < $srcdir/gnu
/classpath
/Configuration.java.
in \
13448 > gnu
/classpath
/Configuration.java
13449 # We do not want to redirect the output of the grep below to /dev/null,
13450 # but we add /dev/null to the input list so that grep will print the
13451 # filename of Configuration.java in case it finds any matches.
13452 if grep @ gnu
/classpath
/Configuration.java
/dev
/null
; then
13453 { { echo "$as_me:$LINENO: error: configure.ac is missing the substitutions above" >&5
13454 echo "$as_me: error: configure.ac is missing the substitutions above" >&2;}
13455 { (exit 1); exit 1; }; }
13459 if test -n "$ac_tool_prefix"; then
13460 # Extract the first word of "${ac_tool_prefix}gcj", so it can be a program name with args.
13461 set dummy
${ac_tool_prefix}gcj
; ac_word
=$2
13462 echo "$as_me:$LINENO: checking for $ac_word" >&5
13463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13464 if test "${ac_cv_prog_GCJ+set}" = set; then
13465 echo $ECHO_N "(cached) $ECHO_C" >&6
13467 if test -n "$GCJ"; then
13468 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
13470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13471 for as_dir
in $PATH
13474 test -z "$as_dir" && as_dir
=.
13475 for ac_exec_ext
in '' $ac_executable_extensions; do
13476 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13477 ac_cv_prog_GCJ
="${ac_tool_prefix}gcj"
13478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13486 GCJ
=$ac_cv_prog_GCJ
13487 if test -n "$GCJ"; then
13488 echo "$as_me:$LINENO: result: $GCJ" >&5
13489 echo "${ECHO_T}$GCJ" >&6
13491 echo "$as_me:$LINENO: result: no" >&5
13492 echo "${ECHO_T}no" >&6
13496 if test -z "$ac_cv_prog_GCJ"; then
13498 # Extract the first word of "gcj", so it can be a program name with args.
13499 set dummy gcj
; ac_word
=$2
13500 echo "$as_me:$LINENO: checking for $ac_word" >&5
13501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13502 if test "${ac_cv_prog_ac_ct_GCJ+set}" = set; then
13503 echo $ECHO_N "(cached) $ECHO_C" >&6
13505 if test -n "$ac_ct_GCJ"; then
13506 ac_cv_prog_ac_ct_GCJ
="$ac_ct_GCJ" # Let the user override the test.
13508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13509 for as_dir
in $PATH
13512 test -z "$as_dir" && as_dir
=.
13513 for ac_exec_ext
in '' $ac_executable_extensions; do
13514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13515 ac_cv_prog_ac_ct_GCJ
="gcj"
13516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13522 test -z "$ac_cv_prog_ac_ct_GCJ" && ac_cv_prog_ac_ct_GCJ
="no"
13525 ac_ct_GCJ
=$ac_cv_prog_ac_ct_GCJ
13526 if test -n "$ac_ct_GCJ"; then
13527 echo "$as_me:$LINENO: result: $ac_ct_GCJ" >&5
13528 echo "${ECHO_T}$ac_ct_GCJ" >&6
13530 echo "$as_me:$LINENO: result: no" >&5
13531 echo "${ECHO_T}no" >&6
13536 GCJ
="$ac_cv_prog_GCJ"
13539 test "x${GCJFLAGS+set}" = xset || GCJFLAGS
="-g -O2"
13544 CPPFLAGS
=$GCJ_SAVE_CPPFLAGS
13546 echo "$as_me:$LINENO: checking size of void *" >&5
13547 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
13548 if test "${ac_cv_sizeof_void_p+set}" = set; then
13549 echo $ECHO_N "(cached) $ECHO_C" >&6
13551 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
13552 cat >conftest.
$ac_ext <<_ACEOF
13555 cat confdefs.h
>>conftest.
$ac_ext
13556 cat >>conftest.
$ac_ext <<_ACEOF
13557 /* end confdefs.h. */
13558 #include "confdefs.h"
13559 #include <sys/types.h>
13565 switch (0) case 0: case (sizeof (void *) == $ac_size):;
13570 rm -f conftest.
$ac_objext
13571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13572 (eval $ac_compile) 2>conftest.er1
13574 grep -v '^ *+' conftest.er1
>conftest.err
13576 cat conftest.err
>&5
13577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13578 (exit $ac_status); } &&
13579 { ac_try
='test -z "$ac_c_werror_flag"
13580 || test ! -s conftest.err'
13581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13582 (eval $ac_try) 2>&5
13584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13585 (exit $ac_status); }; } &&
13586 { ac_try
='test -s conftest.$ac_objext'
13587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13588 (eval $ac_try) 2>&5
13590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13591 (exit $ac_status); }; }; then
13592 ac_cv_sizeof_void_p
=$ac_size
13594 echo "$as_me: failed program was:" >&5
13595 sed 's/^/| /' conftest.
$ac_ext >&5
13598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13599 if test x
$ac_cv_sizeof_void_p != x
; then break; fi
13604 if test x
$ac_cv_sizeof_void_p = x
; then
13605 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
13606 echo "$as_me: error: cannot determine a size for void *" >&2;}
13607 { (exit 1); exit 1; }; }
13609 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
13610 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
13612 cat >>confdefs.h
<<_ACEOF
13613 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13618 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
13619 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
13620 if test "${ac_cv_c_bigendian+set}" = set; then
13621 echo $ECHO_N "(cached) $ECHO_C" >&6
13623 ac_cv_c_bigendian
=unknown
13624 # See if sys/param.h defines the BYTE_ORDER macro.
13625 cat >conftest.
$ac_ext <<_ACEOF
13628 cat confdefs.h
>>conftest.
$ac_ext
13629 cat >>conftest.
$ac_ext <<_ACEOF
13630 /* end confdefs.h. */
13631 #include <sys/types.h>
13632 #include <sys/param.h>
13637 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
13638 bogus endian macros
13644 rm -f conftest.
$ac_objext
13645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13646 (eval $ac_compile) 2>conftest.er1
13648 grep -v '^ *+' conftest.er1
>conftest.err
13650 cat conftest.err
>&5
13651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13652 (exit $ac_status); } &&
13653 { ac_try
='test -z "$ac_c_werror_flag"
13654 || test ! -s conftest.err'
13655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13656 (eval $ac_try) 2>&5
13658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13659 (exit $ac_status); }; } &&
13660 { ac_try
='test -s conftest.$ac_objext'
13661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13662 (eval $ac_try) 2>&5
13664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665 (exit $ac_status); }; }; then
13666 # It does; now see whether it defined to BIG_ENDIAN or not.
13667 cat >conftest.
$ac_ext <<_ACEOF
13670 cat confdefs.h
>>conftest.
$ac_ext
13671 cat >>conftest.
$ac_ext <<_ACEOF
13672 /* end confdefs.h. */
13673 #include <sys/types.h>
13674 #include <sys/param.h>
13679 #if BYTE_ORDER != BIG_ENDIAN
13686 rm -f conftest.
$ac_objext
13687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13688 (eval $ac_compile) 2>conftest.er1
13690 grep -v '^ *+' conftest.er1
>conftest.err
13692 cat conftest.err
>&5
13693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13694 (exit $ac_status); } &&
13695 { ac_try
='test -z "$ac_c_werror_flag"
13696 || test ! -s conftest.err'
13697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13698 (eval $ac_try) 2>&5
13700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13701 (exit $ac_status); }; } &&
13702 { ac_try
='test -s conftest.$ac_objext'
13703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13704 (eval $ac_try) 2>&5
13706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13707 (exit $ac_status); }; }; then
13708 ac_cv_c_bigendian
=yes
13710 echo "$as_me: failed program was:" >&5
13711 sed 's/^/| /' conftest.
$ac_ext >&5
13713 ac_cv_c_bigendian
=no
13715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13717 echo "$as_me: failed program was:" >&5
13718 sed 's/^/| /' conftest.
$ac_ext >&5
13721 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13722 if test $ac_cv_c_bigendian = unknown
; then
13723 if test "$cross_compiling" = yes; then
13724 echo $ac_n "cross-compiling... " 2>&6
13726 cat >conftest.
$ac_ext <<_ACEOF
13729 cat confdefs.h
>>conftest.
$ac_ext
13730 cat >>conftest.
$ac_ext <<_ACEOF
13731 /* end confdefs.h. */
13733 /* Are we little or big endian? From Harbison&Steele. */
13737 char c[sizeof (long)];
13740 exit (u.c[sizeof (long) - 1] == 1);
13743 rm -f conftest
$ac_exeext
13744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13745 (eval $ac_link) 2>&5
13747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13748 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13750 (eval $ac_try) 2>&5
13752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13753 (exit $ac_status); }; }; then
13754 ac_cv_c_bigendian
=no
13756 echo "$as_me: program exited with status $ac_status" >&5
13757 echo "$as_me: failed program was:" >&5
13758 sed 's/^/| /' conftest.
$ac_ext >&5
13760 ( exit $ac_status )
13761 ac_cv_c_bigendian
=yes
13763 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13767 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
13768 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
13769 if test $ac_cv_c_bigendian = unknown
; then
13770 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
13771 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
13773 cat >conftest.c
<<EOF
13774 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13775 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13776 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
13777 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13778 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13779 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
13780 int main() { _ascii (); _ebcdic (); return 0; }
13782 if test -f conftest.c
; then
13783 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
13784 if test `grep -l BIGenDianSyS conftest.o` ; then
13785 echo $ac_n ' big endian probe OK, ' 1>&6
13786 ac_cv_c_bigendian
=yes
13788 if test `grep -l LiTTleEnDian conftest.o` ; then
13789 echo $ac_n ' little endian probe OK, ' 1>&6
13790 if test $ac_cv_c_bigendian = yes ; then
13791 ac_cv_c_bigendian
=unknown
;
13793 ac_cv_c_bigendian
=no
13796 echo $ac_n 'guessing bigendian ... ' >&6
13799 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
13800 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
13802 if test $ac_cv_c_bigendian = yes; then
13804 cat >>confdefs.h
<<\_ACEOF
13805 #define WORDS_BIGENDIAN 1
13809 cat >>confdefs.h
<<\_ACEOF
13810 #define HOST_WORDS_BIG_ENDIAN 1
13818 cat >>confdefs.h
<<_ACEOF
13819 #define BYTEORDER $BYTEORDER
13822 if test $ac_cv_c_bigendian = unknown
; then
13823 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
13824 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
13825 { (exit 1); exit 1; }; }
13833 if test -z "$ZLIBSPEC"; then
13834 # Use zlib from the GCC tree.
13835 ZINCS
='-I$(top_srcdir)/../zlib'
13836 ZLIBS
=..
/zlib
/libzgcj_convenience.la
13839 SYS_ZLIBS
="$ZLIBSPEC"
13851 if test "$NATIVE" = yes; then
13861 if test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes; then
13862 NEEDS_DATA_START_TRUE
=
13863 NEEDS_DATA_START_FALSE
='#'
13865 NEEDS_DATA_START_TRUE
='#'
13866 NEEDS_DATA_START_FALSE
=
13871 # Process the option "--enable-version-specific-runtime-libs"
13872 # Calculate toolexeclibdir
13873 case ${version_specific_libs} in
13875 # Need the gcc compiler version to know where to install libraries
13876 # and header files if --enable-version-specific-runtime-libs option
13878 includedir
='$(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/include/'
13879 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
13880 toolexecmainlibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
13881 toolexeclibdir
=$toolexecmainlibdir
13884 if test -n "$with_cross_host" &&
13885 test x
"$with_cross_host" != x
"no"; then
13886 # Install a library built with a cross compiler in tooldir, not libdir.
13887 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
13888 toolexecmainlibdir
='$(toolexecdir)/lib'
13890 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
13891 toolexecmainlibdir
='$(libdir)'
13893 multi_os_directory
=`$CC -print-multi-os-directory`
13894 case $multi_os_directory in
13895 .
) toolexeclibdir
=$toolexecmainlibdir ;; # Avoid trailing /.
13896 *) toolexeclibdir
=$toolexecmainlibdir/$multi_os_directory ;;
13904 # Determine gcj version number.
13905 gcjversion
=`$GCJ -v 2>&1 | sed -n 's/^.*version \([^ ]*\).*$/\1/p'`
13906 GCJVERSION
=$gcjversion
13909 cat >>confdefs.h
<<_ACEOF
13910 #define GCJVERSION "$GCJVERSION"
13915 cat >>confdefs.h
<<\_ACEOF
13916 #define JV_VERSION "1.4.2"
13920 cat >>confdefs.h
<<\_ACEOF
13921 #define JV_API_VERSION "1.4"
13926 case "${with_gxx_include_dir}" in
13928 { { echo "$as_me:$LINENO: error: --with-gxx-include-dir=[dir] requires a directory" >&5
13929 echo "$as_me: error: --with-gxx-include-dir=[dir] requires a directory" >&2;}
13930 { (exit 1); exit 1; }; }
13933 case "${enable_version_specific_runtime_libs}" in
13934 yes) gxx_include_dir
='$(libsubdir)/include/c++' ;;
13936 libstdcxx_incdir
='c++/$(gcc_version)'
13937 gxx_include_dir
='$(prefix)/include/$(libstdcxx_incdir)' ;;
13939 *) gxx_include_dir
=${with_gxx_include_dir} ;;
13945 # We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
13946 # On that system, sys/ioctl.h will not include sys/filio.h unless
13947 # BSD_COMP is defined; just including sys/filio.h is simpler.
13948 # We avoid AC_HEADER_DIRENT since we really only care about dirent.h
13949 # for now. If you change this, you also must update natFile.cc.
13970 for ac_header
in unistd.h bstring.h sys
/time.h sys
/types.h fcntl.h \
13971 sys
/ioctl.h sys
/filio.h sys
/stat.h sys
/select.h \
13972 sys
/socket.h netinet
/in.h arpa
/inet.h netdb.h net
/if.h \
13973 pwd.h sys
/config.h stdint.h langinfo.h locale.h \
13976 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13978 echo "$as_me:$LINENO: checking for $ac_header" >&5
13979 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13980 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13981 echo $ECHO_N "(cached) $ECHO_C" >&6
13983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13984 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13986 # Is the header compilable?
13987 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13988 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13989 cat >conftest.
$ac_ext <<_ACEOF
13992 cat confdefs.h
>>conftest.
$ac_ext
13993 cat >>conftest.
$ac_ext <<_ACEOF
13994 /* end confdefs.h. */
13995 $ac_includes_default
13996 #include <$ac_header>
13998 rm -f conftest.
$ac_objext
13999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14000 (eval $ac_compile) 2>conftest.er1
14002 grep -v '^ *+' conftest.er1
>conftest.err
14004 cat conftest.err
>&5
14005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14006 (exit $ac_status); } &&
14007 { ac_try
='test -z "$ac_c_werror_flag"
14008 || test ! -s conftest.err'
14009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14010 (eval $ac_try) 2>&5
14012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14013 (exit $ac_status); }; } &&
14014 { ac_try
='test -s conftest.$ac_objext'
14015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14016 (eval $ac_try) 2>&5
14018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14019 (exit $ac_status); }; }; then
14020 ac_header_compiler
=yes
14022 echo "$as_me: failed program was:" >&5
14023 sed 's/^/| /' conftest.
$ac_ext >&5
14025 ac_header_compiler
=no
14027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14028 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14029 echo "${ECHO_T}$ac_header_compiler" >&6
14031 # Is the header present?
14032 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14033 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14034 cat >conftest.
$ac_ext <<_ACEOF
14037 cat confdefs.h
>>conftest.
$ac_ext
14038 cat >>conftest.
$ac_ext <<_ACEOF
14039 /* end confdefs.h. */
14040 #include <$ac_header>
14042 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14043 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14045 grep -v '^ *+' conftest.er1
>conftest.err
14047 cat conftest.err
>&5
14048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14049 (exit $ac_status); } >/dev
/null
; then
14050 if test -s conftest.err
; then
14051 ac_cpp_err
=$ac_c_preproc_warn_flag
14052 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14059 if test -z "$ac_cpp_err"; then
14060 ac_header_preproc
=yes
14062 echo "$as_me: failed program was:" >&5
14063 sed 's/^/| /' conftest.
$ac_ext >&5
14065 ac_header_preproc
=no
14067 rm -f conftest.err conftest.
$ac_ext
14068 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14069 echo "${ECHO_T}$ac_header_preproc" >&6
14071 # So? What about this header?
14072 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14074 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14075 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14076 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14077 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14078 ac_header_preproc
=yes
14081 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14082 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14083 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14084 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14085 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14086 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14087 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14088 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14089 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14090 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14091 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14092 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14095 ## ---------------------------------- ##
14096 ## Report this to the libjava lists. ##
14097 ## ---------------------------------- ##
14100 sed "s/^/$as_me: WARNING: /" >&2
14103 echo "$as_me:$LINENO: checking for $ac_header" >&5
14104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14105 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14106 echo $ECHO_N "(cached) $ECHO_C" >&6
14108 eval "$as_ac_Header=\$ac_header_preproc"
14110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14111 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14114 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14115 cat >>confdefs.h
<<_ACEOF
14116 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14124 for ac_header
in inttypes.h
14126 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14127 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14128 echo "$as_me:$LINENO: checking for $ac_header" >&5
14129 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14131 echo $ECHO_N "(cached) $ECHO_C" >&6
14133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14134 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14136 # Is the header compilable?
14137 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14138 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14139 cat >conftest.
$ac_ext <<_ACEOF
14142 cat confdefs.h
>>conftest.
$ac_ext
14143 cat >>conftest.
$ac_ext <<_ACEOF
14144 /* end confdefs.h. */
14145 $ac_includes_default
14146 #include <$ac_header>
14148 rm -f conftest.
$ac_objext
14149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14150 (eval $ac_compile) 2>conftest.er1
14152 grep -v '^ *+' conftest.er1
>conftest.err
14154 cat conftest.err
>&5
14155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14156 (exit $ac_status); } &&
14157 { ac_try
='test -z "$ac_c_werror_flag"
14158 || test ! -s conftest.err'
14159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14160 (eval $ac_try) 2>&5
14162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14163 (exit $ac_status); }; } &&
14164 { ac_try
='test -s conftest.$ac_objext'
14165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14166 (eval $ac_try) 2>&5
14168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14169 (exit $ac_status); }; }; then
14170 ac_header_compiler
=yes
14172 echo "$as_me: failed program was:" >&5
14173 sed 's/^/| /' conftest.
$ac_ext >&5
14175 ac_header_compiler
=no
14177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14178 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14179 echo "${ECHO_T}$ac_header_compiler" >&6
14181 # Is the header present?
14182 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14183 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14184 cat >conftest.
$ac_ext <<_ACEOF
14187 cat confdefs.h
>>conftest.
$ac_ext
14188 cat >>conftest.
$ac_ext <<_ACEOF
14189 /* end confdefs.h. */
14190 #include <$ac_header>
14192 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14193 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14195 grep -v '^ *+' conftest.er1
>conftest.err
14197 cat conftest.err
>&5
14198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14199 (exit $ac_status); } >/dev
/null
; then
14200 if test -s conftest.err
; then
14201 ac_cpp_err
=$ac_c_preproc_warn_flag
14202 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14209 if test -z "$ac_cpp_err"; then
14210 ac_header_preproc
=yes
14212 echo "$as_me: failed program was:" >&5
14213 sed 's/^/| /' conftest.
$ac_ext >&5
14215 ac_header_preproc
=no
14217 rm -f conftest.err conftest.
$ac_ext
14218 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14219 echo "${ECHO_T}$ac_header_preproc" >&6
14221 # So? What about this header?
14222 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14224 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14225 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14227 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14228 ac_header_preproc
=yes
14231 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14232 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14233 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14234 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14235 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14236 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14237 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14238 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14239 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14240 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14241 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14242 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14245 ## ---------------------------------- ##
14246 ## Report this to the libjava lists. ##
14247 ## ---------------------------------- ##
14250 sed "s/^/$as_me: WARNING: /" >&2
14253 echo "$as_me:$LINENO: checking for $ac_header" >&5
14254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14256 echo $ECHO_N "(cached) $ECHO_C" >&6
14258 eval "$as_ac_Header=\$ac_header_preproc"
14260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14261 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14264 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14265 cat >>confdefs.h
<<_ACEOF
14266 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14270 cat >>confdefs.h
<<\_ACEOF
14271 #define HAVE_INTTYPES_H 1
14275 cat >>confdefs.h
<<\_ACEOF
14276 #define JV_HAVE_INTTYPES_H 1
14284 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
14285 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
14286 if test "${ac_cv_header_sys_wait_h+set}" = set; then
14287 echo $ECHO_N "(cached) $ECHO_C" >&6
14289 cat >conftest.
$ac_ext <<_ACEOF
14292 cat confdefs.h
>>conftest.
$ac_ext
14293 cat >>conftest.
$ac_ext <<_ACEOF
14294 /* end confdefs.h. */
14295 #include <sys/types.h>
14296 #include <sys/wait.h>
14297 #ifndef WEXITSTATUS
14298 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
14301 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
14309 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
14314 rm -f conftest.
$ac_objext
14315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14316 (eval $ac_compile) 2>conftest.er1
14318 grep -v '^ *+' conftest.er1
>conftest.err
14320 cat conftest.err
>&5
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); } &&
14323 { ac_try
='test -z "$ac_c_werror_flag"
14324 || test ! -s conftest.err'
14325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14326 (eval $ac_try) 2>&5
14328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14329 (exit $ac_status); }; } &&
14330 { ac_try
='test -s conftest.$ac_objext'
14331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14332 (eval $ac_try) 2>&5
14334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14335 (exit $ac_status); }; }; then
14336 ac_cv_header_sys_wait_h
=yes
14338 echo "$as_me: failed program was:" >&5
14339 sed 's/^/| /' conftest.
$ac_ext >&5
14341 ac_cv_header_sys_wait_h
=no
14343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14345 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
14346 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
14347 if test $ac_cv_header_sys_wait_h = yes; then
14349 cat >>confdefs.h
<<\_ACEOF
14350 #define HAVE_SYS_WAIT_H 1
14356 echo "$as_me:$LINENO: checking for ssize_t" >&5
14357 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
14358 if test "${ac_cv_type_ssize_t+set}" = set; then
14359 echo $ECHO_N "(cached) $ECHO_C" >&6
14361 cat >conftest.
$ac_ext <<_ACEOF
14364 cat confdefs.h
>>conftest.
$ac_ext
14365 cat >>conftest.
$ac_ext <<_ACEOF
14366 /* end confdefs.h. */
14367 $ac_includes_default
14373 if (sizeof (ssize_t))
14379 rm -f conftest.
$ac_objext
14380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14381 (eval $ac_compile) 2>conftest.er1
14383 grep -v '^ *+' conftest.er1
>conftest.err
14385 cat conftest.err
>&5
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); } &&
14388 { ac_try
='test -z "$ac_c_werror_flag"
14389 || test ! -s conftest.err'
14390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14391 (eval $ac_try) 2>&5
14393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14394 (exit $ac_status); }; } &&
14395 { ac_try
='test -s conftest.$ac_objext'
14396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14397 (eval $ac_try) 2>&5
14399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14400 (exit $ac_status); }; }; then
14401 ac_cv_type_ssize_t
=yes
14403 echo "$as_me: failed program was:" >&5
14404 sed 's/^/| /' conftest.
$ac_ext >&5
14406 ac_cv_type_ssize_t
=no
14408 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14410 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
14411 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
14412 if test $ac_cv_type_ssize_t = yes; then
14416 cat >>confdefs.h
<<_ACEOF
14417 #define ssize_t int
14423 echo "$as_me:$LINENO: checking for in_addr_t" >&5
14424 echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6
14425 cat >conftest.
$ac_ext <<_ACEOF
14428 cat confdefs.h
>>conftest.
$ac_ext
14429 cat >>conftest.
$ac_ext <<_ACEOF
14430 /* end confdefs.h. */
14431 #include <sys/types.h>
14433 #include <stdlib.h>
14434 #include <stddef.h>
14436 #if HAVE_NETINET_IN_H
14437 #include <netinet/in.h>
14447 rm -f conftest.
$ac_objext
14448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14449 (eval $ac_compile) 2>conftest.er1
14451 grep -v '^ *+' conftest.er1
>conftest.err
14453 cat conftest.err
>&5
14454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14455 (exit $ac_status); } &&
14456 { ac_try
='test -z "$ac_c_werror_flag"
14457 || test ! -s conftest.err'
14458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14459 (eval $ac_try) 2>&5
14461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14462 (exit $ac_status); }; } &&
14463 { ac_try
='test -s conftest.$ac_objext'
14464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14465 (eval $ac_try) 2>&5
14467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14468 (exit $ac_status); }; }; then
14470 cat >>confdefs.h
<<\_ACEOF
14471 #define HAVE_IN_ADDR_T 1
14474 echo "$as_me:$LINENO: result: yes" >&5
14475 echo "${ECHO_T}yes" >&6
14477 echo "$as_me: failed program was:" >&5
14478 sed 's/^/| /' conftest.
$ac_ext >&5
14480 echo "$as_me:$LINENO: result: no" >&5
14481 echo "${ECHO_T}no" >&6
14483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14485 echo "$as_me:$LINENO: checking whether struct ip_mreq is in netinet/in.h" >&5
14486 echo $ECHO_N "checking whether struct ip_mreq is in netinet/in.h... $ECHO_C" >&6
14487 cat >conftest.
$ac_ext <<_ACEOF
14490 cat confdefs.h
>>conftest.
$ac_ext
14491 cat >>conftest.
$ac_ext <<_ACEOF
14492 /* end confdefs.h. */
14493 #include <netinet/in.h>
14497 struct ip_mreq mreq;
14502 rm -f conftest.
$ac_objext
14503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14504 (eval $ac_compile) 2>conftest.er1
14506 grep -v '^ *+' conftest.er1
>conftest.err
14508 cat conftest.err
>&5
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); } &&
14511 { ac_try
='test -z "$ac_c_werror_flag"
14512 || test ! -s conftest.err'
14513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14514 (eval $ac_try) 2>&5
14516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517 (exit $ac_status); }; } &&
14518 { ac_try
='test -s conftest.$ac_objext'
14519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14520 (eval $ac_try) 2>&5
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); }; }; then
14525 cat >>confdefs.h
<<\_ACEOF
14526 #define HAVE_STRUCT_IP_MREQ 1
14529 echo "$as_me:$LINENO: result: yes" >&5
14530 echo "${ECHO_T}yes" >&6
14532 echo "$as_me: failed program was:" >&5
14533 sed 's/^/| /' conftest.
$ac_ext >&5
14535 echo "$as_me:$LINENO: result: no" >&5
14536 echo "${ECHO_T}no" >&6
14538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14540 echo "$as_me:$LINENO: checking whether struct ipv6_mreq is in netinet/in.h" >&5
14541 echo $ECHO_N "checking whether struct ipv6_mreq is in netinet/in.h... $ECHO_C" >&6
14542 cat >conftest.
$ac_ext <<_ACEOF
14545 cat confdefs.h
>>conftest.
$ac_ext
14546 cat >>conftest.
$ac_ext <<_ACEOF
14547 /* end confdefs.h. */
14548 #include <netinet/in.h>
14552 struct ipv6_mreq mreq6;
14557 rm -f conftest.
$ac_objext
14558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14559 (eval $ac_compile) 2>conftest.er1
14561 grep -v '^ *+' conftest.er1
>conftest.err
14563 cat conftest.err
>&5
14564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14565 (exit $ac_status); } &&
14566 { ac_try
='test -z "$ac_c_werror_flag"
14567 || test ! -s conftest.err'
14568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14569 (eval $ac_try) 2>&5
14571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14572 (exit $ac_status); }; } &&
14573 { ac_try
='test -s conftest.$ac_objext'
14574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14575 (eval $ac_try) 2>&5
14577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14578 (exit $ac_status); }; }; then
14580 cat >>confdefs.h
<<\_ACEOF
14581 #define HAVE_STRUCT_IPV6_MREQ 1
14584 echo "$as_me:$LINENO: result: yes" >&5
14585 echo "${ECHO_T}yes" >&6
14587 echo "$as_me: failed program was:" >&5
14588 sed 's/^/| /' conftest.
$ac_ext >&5
14590 echo "$as_me:$LINENO: result: no" >&5
14591 echo "${ECHO_T}no" >&6
14593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14595 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
14596 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
14597 cat >conftest.
$ac_ext <<_ACEOF
14600 cat confdefs.h
>>conftest.
$ac_ext
14601 cat >>conftest.
$ac_ext <<_ACEOF
14602 /* end confdefs.h. */
14603 #include <netinet/in.h>
14607 struct sockaddr_in6 addr6;
14612 rm -f conftest.
$ac_objext
14613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14614 (eval $ac_compile) 2>conftest.er1
14616 grep -v '^ *+' conftest.er1
>conftest.err
14618 cat conftest.err
>&5
14619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 (exit $ac_status); } &&
14621 { ac_try
='test -z "$ac_c_werror_flag"
14622 || test ! -s conftest.err'
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); }; } &&
14628 { ac_try
='test -s conftest.$ac_objext'
14629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14630 (eval $ac_try) 2>&5
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); }; }; then
14635 cat >>confdefs.h
<<\_ACEOF
14636 #define HAVE_INET6 1
14639 echo "$as_me:$LINENO: result: yes" >&5
14640 echo "${ECHO_T}yes" >&6
14642 echo "$as_me: failed program was:" >&5
14643 sed 's/^/| /' conftest.
$ac_ext >&5
14645 echo "$as_me:$LINENO: result: no" >&5
14646 echo "${ECHO_T}no" >&6
14648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14650 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
14651 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
14652 cat >conftest.
$ac_ext <<_ACEOF
14655 cat confdefs.h
>>conftest.
$ac_ext
14656 cat >>conftest.
$ac_ext <<_ACEOF
14657 /* end confdefs.h. */
14658 #define _POSIX_PII_SOCKET
14659 #include <sys/types.h>
14660 #include <sys/socket.h>
14669 rm -f conftest.
$ac_objext
14670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14671 (eval $ac_compile) 2>conftest.er1
14673 grep -v '^ *+' conftest.er1
>conftest.err
14675 cat conftest.err
>&5
14676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14677 (exit $ac_status); } &&
14678 { ac_try
='test -z "$ac_c_werror_flag"
14679 || test ! -s conftest.err'
14680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14681 (eval $ac_try) 2>&5
14683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14684 (exit $ac_status); }; } &&
14685 { ac_try
='test -s conftest.$ac_objext'
14686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14687 (eval $ac_try) 2>&5
14689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690 (exit $ac_status); }; }; then
14692 cat >>confdefs.h
<<\_ACEOF
14693 #define HAVE_SOCKLEN_T 1
14696 echo "$as_me:$LINENO: result: yes" >&5
14697 echo "${ECHO_T}yes" >&6
14699 echo "$as_me: failed program was:" >&5
14700 sed 's/^/| /' conftest.
$ac_ext >&5
14702 echo "$as_me:$LINENO: result: no" >&5
14703 echo "${ECHO_T}no" >&6
14705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14707 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
14708 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
14709 cat >conftest.
$ac_ext <<_ACEOF
14712 cat confdefs.h
>>conftest.
$ac_ext
14713 cat >>conftest.
$ac_ext <<_ACEOF
14714 /* end confdefs.h. */
14719 struct tm tim; tim.tm_gmtoff = 0;
14724 rm -f conftest.
$ac_objext
14725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14726 (eval $ac_compile) 2>conftest.er1
14728 grep -v '^ *+' conftest.er1
>conftest.err
14730 cat conftest.err
>&5
14731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14732 (exit $ac_status); } &&
14733 { ac_try
='test -z "$ac_c_werror_flag"
14734 || test ! -s conftest.err'
14735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14736 (eval $ac_try) 2>&5
14738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14739 (exit $ac_status); }; } &&
14740 { ac_try
='test -s conftest.$ac_objext'
14741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14742 (eval $ac_try) 2>&5
14744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745 (exit $ac_status); }; }; then
14747 cat >>confdefs.h
<<\_ACEOF
14748 #define STRUCT_TM_HAS_GMTOFF 1
14751 echo "$as_me:$LINENO: result: yes" >&5
14752 echo "${ECHO_T}yes" >&6
14754 echo "$as_me: failed program was:" >&5
14755 sed 's/^/| /' conftest.
$ac_ext >&5
14757 echo "$as_me:$LINENO: result: no" >&5
14758 echo "${ECHO_T}no" >&6
14759 echo "$as_me:$LINENO: checking for global timezone variable" >&5
14760 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
14761 cat >conftest.
$ac_ext <<_ACEOF
14764 cat confdefs.h
>>conftest.
$ac_ext
14765 cat >>conftest.
$ac_ext <<_ACEOF
14766 /* end confdefs.h. */
14771 void i(){long z2 = 2*timezone;}
14776 rm -f conftest.
$ac_objext
14777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14778 (eval $ac_compile) 2>conftest.er1
14780 grep -v '^ *+' conftest.er1
>conftest.err
14782 cat conftest.err
>&5
14783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14784 (exit $ac_status); } &&
14785 { ac_try
='test -z "$ac_c_werror_flag"
14786 || test ! -s conftest.err'
14787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14788 (eval $ac_try) 2>&5
14790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14791 (exit $ac_status); }; } &&
14792 { ac_try
='test -s conftest.$ac_objext'
14793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14794 (eval $ac_try) 2>&5
14796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14797 (exit $ac_status); }; }; then
14799 cat >>confdefs.h
<<\_ACEOF
14800 #define HAVE_TIMEZONE 1
14803 echo "$as_me:$LINENO: result: yes" >&5
14804 echo "${ECHO_T}yes" >&6
14806 echo "$as_me: failed program was:" >&5
14807 sed 's/^/| /' conftest.
$ac_ext >&5
14809 echo "$as_me:$LINENO: result: no" >&5
14810 echo "${ECHO_T}no" >&6
14811 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
14812 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
14813 cat >conftest.
$ac_ext <<_ACEOF
14816 cat confdefs.h
>>conftest.
$ac_ext
14817 cat >>conftest.
$ac_ext <<_ACEOF
14818 /* end confdefs.h. */
14823 long z2 = _timezone;
14828 rm -f conftest.
$ac_objext
14829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14830 (eval $ac_compile) 2>conftest.er1
14832 grep -v '^ *+' conftest.er1
>conftest.err
14834 cat conftest.err
>&5
14835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14836 (exit $ac_status); } &&
14837 { ac_try
='test -z "$ac_c_werror_flag"
14838 || test ! -s conftest.err'
14839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14840 (eval $ac_try) 2>&5
14842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843 (exit $ac_status); }; } &&
14844 { ac_try
='test -s conftest.$ac_objext'
14845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14846 (eval $ac_try) 2>&5
14848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14849 (exit $ac_status); }; }; then
14851 cat >>confdefs.h
<<\_ACEOF
14852 #define HAVE_UNDERSCORE_TIMEZONE 1
14855 echo "$as_me:$LINENO: result: yes" >&5
14856 echo "${ECHO_T}yes" >&6
14858 echo "$as_me: failed program was:" >&5
14859 sed 's/^/| /' conftest.
$ac_ext >&5
14861 echo "$as_me:$LINENO: result: no" >&5
14862 echo "${ECHO_T}no" >&6
14864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14870 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
14871 # for constant arguments. Useless!
14872 echo "$as_me:$LINENO: checking for working alloca.h" >&5
14873 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
14874 if test "${ac_cv_working_alloca_h+set}" = set; then
14875 echo $ECHO_N "(cached) $ECHO_C" >&6
14877 if test x
$gcc_no_link = xyes
; then
14878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14880 { (exit 1); exit 1; }; }
14882 cat >conftest.
$ac_ext <<_ACEOF
14885 cat confdefs.h
>>conftest.
$ac_ext
14886 cat >>conftest.
$ac_ext <<_ACEOF
14887 /* end confdefs.h. */
14888 #include <alloca.h>
14892 char *p = (char *) alloca (2 * sizeof (int));
14897 rm -f conftest.
$ac_objext conftest
$ac_exeext
14898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14899 (eval $ac_link) 2>conftest.er1
14901 grep -v '^ *+' conftest.er1
>conftest.err
14903 cat conftest.err
>&5
14904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14905 (exit $ac_status); } &&
14906 { ac_try
='test -z "$ac_c_werror_flag"
14907 || test ! -s conftest.err'
14908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14909 (eval $ac_try) 2>&5
14911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14912 (exit $ac_status); }; } &&
14913 { ac_try
='test -s conftest$ac_exeext'
14914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14915 (eval $ac_try) 2>&5
14917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918 (exit $ac_status); }; }; then
14919 ac_cv_working_alloca_h
=yes
14921 echo "$as_me: failed program was:" >&5
14922 sed 's/^/| /' conftest.
$ac_ext >&5
14924 ac_cv_working_alloca_h
=no
14926 rm -f conftest.err conftest.
$ac_objext \
14927 conftest
$ac_exeext conftest.
$ac_ext
14929 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
14930 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
14931 if test $ac_cv_working_alloca_h = yes; then
14933 cat >>confdefs.h
<<\_ACEOF
14934 #define HAVE_ALLOCA_H 1
14939 echo "$as_me:$LINENO: checking for alloca" >&5
14940 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
14941 if test "${ac_cv_func_alloca_works+set}" = set; then
14942 echo $ECHO_N "(cached) $ECHO_C" >&6
14944 if test x
$gcc_no_link = xyes
; then
14945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14947 { (exit 1); exit 1; }; }
14949 cat >conftest.
$ac_ext <<_ACEOF
14952 cat confdefs.h
>>conftest.
$ac_ext
14953 cat >>conftest.
$ac_ext <<_ACEOF
14954 /* end confdefs.h. */
14956 # define alloca __builtin_alloca
14959 # include <malloc.h>
14960 # define alloca _alloca
14963 # include <alloca.h>
14968 # ifndef alloca /* predefined by HP cc +Olibcalls */
14979 char *p = (char *) alloca (1);
14984 rm -f conftest.
$ac_objext conftest
$ac_exeext
14985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14986 (eval $ac_link) 2>conftest.er1
14988 grep -v '^ *+' conftest.er1
>conftest.err
14990 cat conftest.err
>&5
14991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14992 (exit $ac_status); } &&
14993 { ac_try
='test -z "$ac_c_werror_flag"
14994 || test ! -s conftest.err'
14995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14996 (eval $ac_try) 2>&5
14998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14999 (exit $ac_status); }; } &&
15000 { ac_try
='test -s conftest$ac_exeext'
15001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15002 (eval $ac_try) 2>&5
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); }; }; then
15006 ac_cv_func_alloca_works
=yes
15008 echo "$as_me: failed program was:" >&5
15009 sed 's/^/| /' conftest.
$ac_ext >&5
15011 ac_cv_func_alloca_works
=no
15013 rm -f conftest.err conftest.
$ac_objext \
15014 conftest
$ac_exeext conftest.
$ac_ext
15016 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15017 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
15019 if test $ac_cv_func_alloca_works = yes; then
15021 cat >>confdefs.h
<<\_ACEOF
15022 #define HAVE_ALLOCA 1
15026 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15027 # that cause trouble. Some versions do not even contain alloca or
15028 # contain a buggy version. If you still want to use their alloca,
15029 # use ar to extract alloca.o from them instead of compiling alloca.c.
15031 ALLOCA
=alloca.
$ac_objext
15033 cat >>confdefs.h
<<\_ACEOF
15038 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15039 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
15040 if test "${ac_cv_os_cray+set}" = set; then
15041 echo $ECHO_N "(cached) $ECHO_C" >&6
15043 cat >conftest.
$ac_ext <<_ACEOF
15046 cat confdefs.h
>>conftest.
$ac_ext
15047 cat >>conftest.
$ac_ext <<_ACEOF
15048 /* end confdefs.h. */
15049 #if defined(CRAY) && ! defined(CRAY2)
15056 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15057 $EGREP "webecray" >/dev
/null
2>&1; then
15065 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15066 echo "${ECHO_T}$ac_cv_os_cray" >&6
15067 if test $ac_cv_os_cray = yes; then
15068 for ac_func
in _getb67 GETB67 getb67
; do
15069 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15070 echo "$as_me:$LINENO: checking for $ac_func" >&5
15071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15072 if eval "test \"\${$as_ac_var+set}\" = set"; then
15073 echo $ECHO_N "(cached) $ECHO_C" >&6
15075 if test x
$gcc_no_link = xyes
; then
15076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15078 { (exit 1); exit 1; }; }
15080 cat >conftest.
$ac_ext <<_ACEOF
15083 cat confdefs.h
>>conftest.
$ac_ext
15084 cat >>conftest.
$ac_ext <<_ACEOF
15085 /* end confdefs.h. */
15086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15088 #define $ac_func innocuous_$ac_func
15090 /* System header to define __stub macros and hopefully few prototypes,
15091 which can conflict with char $ac_func (); below.
15092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15093 <limits.h> exists even on freestanding compilers. */
15096 # include <limits.h>
15098 # include <assert.h>
15103 /* Override any gcc2 internal prototype to avoid an error. */
15108 /* We use char because int might match the return type of a gcc2
15109 builtin and then its argument prototype would still apply. */
15111 /* The GNU C library defines this for functions which it implements
15112 to always fail with ENOSYS. Some functions are actually named
15113 something starting with __ and the normal name is an alias. */
15114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15117 char (*f) () = $ac_func;
15126 return f != $ac_func;
15131 rm -f conftest.
$ac_objext conftest
$ac_exeext
15132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15133 (eval $ac_link) 2>conftest.er1
15135 grep -v '^ *+' conftest.er1
>conftest.err
15137 cat conftest.err
>&5
15138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15139 (exit $ac_status); } &&
15140 { ac_try
='test -z "$ac_c_werror_flag"
15141 || test ! -s conftest.err'
15142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15143 (eval $ac_try) 2>&5
15145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15146 (exit $ac_status); }; } &&
15147 { ac_try
='test -s conftest$ac_exeext'
15148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15149 (eval $ac_try) 2>&5
15151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15152 (exit $ac_status); }; }; then
15153 eval "$as_ac_var=yes"
15155 echo "$as_me: failed program was:" >&5
15156 sed 's/^/| /' conftest.
$ac_ext >&5
15158 eval "$as_ac_var=no"
15160 rm -f conftest.err conftest.
$ac_objext \
15161 conftest
$ac_exeext conftest.
$ac_ext
15163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15165 if test `eval echo '${'$as_ac_var'}'` = yes; then
15167 cat >>confdefs.h
<<_ACEOF
15168 #define CRAY_STACKSEG_END $ac_func
15177 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
15178 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
15179 if test "${ac_cv_c_stack_direction+set}" = set; then
15180 echo $ECHO_N "(cached) $ECHO_C" >&6
15182 if test "$cross_compiling" = yes; then
15183 ac_cv_c_stack_direction
=0
15185 cat >conftest.
$ac_ext <<_ACEOF
15188 cat confdefs.h
>>conftest.
$ac_ext
15189 cat >>conftest.
$ac_ext <<_ACEOF
15190 /* end confdefs.h. */
15192 find_stack_direction ()
15194 static char *addr = 0;
15199 return find_stack_direction ();
15202 return (&dummy > addr) ? 1 : -1;
15208 exit (find_stack_direction () < 0);
15211 rm -f conftest
$ac_exeext
15212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15213 (eval $ac_link) 2>&5
15215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15216 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15218 (eval $ac_try) 2>&5
15220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15221 (exit $ac_status); }; }; then
15222 ac_cv_c_stack_direction
=1
15224 echo "$as_me: program exited with status $ac_status" >&5
15225 echo "$as_me: failed program was:" >&5
15226 sed 's/^/| /' conftest.
$ac_ext >&5
15228 ( exit $ac_status )
15229 ac_cv_c_stack_direction
=-1
15231 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15234 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
15235 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
15237 cat >>confdefs.h
<<_ACEOF
15238 #define STACK_DIRECTION $ac_cv_c_stack_direction
15244 if test x
$gcc_no_link = xyes
; then
15245 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset
; then
15246 ac_cv_func_mmap_fixed_mapped
=no
15249 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset
; then
15252 for ac_header
in stdlib.h unistd.h
15254 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15256 echo "$as_me:$LINENO: checking for $ac_header" >&5
15257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15258 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15259 echo $ECHO_N "(cached) $ECHO_C" >&6
15261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15262 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15264 # Is the header compilable?
15265 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15266 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15267 cat >conftest.
$ac_ext <<_ACEOF
15270 cat confdefs.h
>>conftest.
$ac_ext
15271 cat >>conftest.
$ac_ext <<_ACEOF
15272 /* end confdefs.h. */
15273 $ac_includes_default
15274 #include <$ac_header>
15276 rm -f conftest.
$ac_objext
15277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15278 (eval $ac_compile) 2>conftest.er1
15280 grep -v '^ *+' conftest.er1
>conftest.err
15282 cat conftest.err
>&5
15283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15284 (exit $ac_status); } &&
15285 { ac_try
='test -z "$ac_c_werror_flag"
15286 || test ! -s conftest.err'
15287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15288 (eval $ac_try) 2>&5
15290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15291 (exit $ac_status); }; } &&
15292 { ac_try
='test -s conftest.$ac_objext'
15293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15294 (eval $ac_try) 2>&5
15296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15297 (exit $ac_status); }; }; then
15298 ac_header_compiler
=yes
15300 echo "$as_me: failed program was:" >&5
15301 sed 's/^/| /' conftest.
$ac_ext >&5
15303 ac_header_compiler
=no
15305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15306 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15307 echo "${ECHO_T}$ac_header_compiler" >&6
15309 # Is the header present?
15310 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15311 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15312 cat >conftest.
$ac_ext <<_ACEOF
15315 cat confdefs.h
>>conftest.
$ac_ext
15316 cat >>conftest.
$ac_ext <<_ACEOF
15317 /* end confdefs.h. */
15318 #include <$ac_header>
15320 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15321 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15323 grep -v '^ *+' conftest.er1
>conftest.err
15325 cat conftest.err
>&5
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); } >/dev
/null
; then
15328 if test -s conftest.err
; then
15329 ac_cpp_err
=$ac_c_preproc_warn_flag
15330 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15337 if test -z "$ac_cpp_err"; then
15338 ac_header_preproc
=yes
15340 echo "$as_me: failed program was:" >&5
15341 sed 's/^/| /' conftest.
$ac_ext >&5
15343 ac_header_preproc
=no
15345 rm -f conftest.err conftest.
$ac_ext
15346 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15347 echo "${ECHO_T}$ac_header_preproc" >&6
15349 # So? What about this header?
15350 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15352 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15353 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15354 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15355 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15356 ac_header_preproc
=yes
15359 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15360 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15361 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15362 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15363 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15364 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15365 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15366 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15367 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15368 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15369 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15370 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15373 ## ---------------------------------- ##
15374 ## Report this to the libjava lists. ##
15375 ## ---------------------------------- ##
15378 sed "s/^/$as_me: WARNING: /" >&2
15381 echo "$as_me:$LINENO: checking for $ac_header" >&5
15382 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15383 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15384 echo $ECHO_N "(cached) $ECHO_C" >&6
15386 eval "$as_ac_Header=\$ac_header_preproc"
15388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15389 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15392 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15393 cat >>confdefs.h
<<_ACEOF
15394 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15402 for ac_func
in getpagesize
15404 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15405 echo "$as_me:$LINENO: checking for $ac_func" >&5
15406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15407 if eval "test \"\${$as_ac_var+set}\" = set"; then
15408 echo $ECHO_N "(cached) $ECHO_C" >&6
15410 if test x
$gcc_no_link = xyes
; then
15411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15413 { (exit 1); exit 1; }; }
15415 cat >conftest.
$ac_ext <<_ACEOF
15418 cat confdefs.h
>>conftest.
$ac_ext
15419 cat >>conftest.
$ac_ext <<_ACEOF
15420 /* end confdefs.h. */
15421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15423 #define $ac_func innocuous_$ac_func
15425 /* System header to define __stub macros and hopefully few prototypes,
15426 which can conflict with char $ac_func (); below.
15427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15428 <limits.h> exists even on freestanding compilers. */
15431 # include <limits.h>
15433 # include <assert.h>
15438 /* Override any gcc2 internal prototype to avoid an error. */
15443 /* We use char because int might match the return type of a gcc2
15444 builtin and then its argument prototype would still apply. */
15446 /* The GNU C library defines this for functions which it implements
15447 to always fail with ENOSYS. Some functions are actually named
15448 something starting with __ and the normal name is an alias. */
15449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15452 char (*f) () = $ac_func;
15461 return f != $ac_func;
15466 rm -f conftest.
$ac_objext conftest
$ac_exeext
15467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15468 (eval $ac_link) 2>conftest.er1
15470 grep -v '^ *+' conftest.er1
>conftest.err
15472 cat conftest.err
>&5
15473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15474 (exit $ac_status); } &&
15475 { ac_try
='test -z "$ac_c_werror_flag"
15476 || test ! -s conftest.err'
15477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15478 (eval $ac_try) 2>&5
15480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15481 (exit $ac_status); }; } &&
15482 { ac_try
='test -s conftest$ac_exeext'
15483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15484 (eval $ac_try) 2>&5
15486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15487 (exit $ac_status); }; }; then
15488 eval "$as_ac_var=yes"
15490 echo "$as_me: failed program was:" >&5
15491 sed 's/^/| /' conftest.
$ac_ext >&5
15493 eval "$as_ac_var=no"
15495 rm -f conftest.err conftest.
$ac_objext \
15496 conftest
$ac_exeext conftest.
$ac_ext
15498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15500 if test `eval echo '${'$as_ac_var'}'` = yes; then
15501 cat >>confdefs.h
<<_ACEOF
15502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15508 echo "$as_me:$LINENO: checking for working mmap" >&5
15509 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
15510 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
15511 echo $ECHO_N "(cached) $ECHO_C" >&6
15513 if test "$cross_compiling" = yes; then
15514 ac_cv_func_mmap_fixed_mapped
=no
15516 cat >conftest.
$ac_ext <<_ACEOF
15519 cat confdefs.h
>>conftest.
$ac_ext
15520 cat >>conftest.
$ac_ext <<_ACEOF
15521 /* end confdefs.h. */
15522 $ac_includes_default
15523 /* malloc might have been renamed as rpl_malloc. */
15526 /* Thanks to Mike Haertel and Jim Avera for this test.
15527 Here is a matrix of mmap possibilities:
15528 mmap private not fixed
15529 mmap private fixed at somewhere currently unmapped
15530 mmap private fixed at somewhere already mapped
15531 mmap shared not fixed
15532 mmap shared fixed at somewhere currently unmapped
15533 mmap shared fixed at somewhere already mapped
15534 For private mappings, we should verify that changes cannot be read()
15535 back from the file, nor mmap's back from the file at a different
15536 address. (There have been systems where private was not correctly
15537 implemented like the infamous i386 svr4.0, and systems where the
15538 VM page cache was not coherent with the file system buffer cache
15539 like early versions of FreeBSD and possibly contemporary NetBSD.)
15540 For shared mappings, we should conversely verify that changes get
15541 propagated back to all the places they're supposed to be.
15543 Grep wants private fixed already mapped.
15544 The main things grep needs to know about mmap are:
15545 * does it exist and is it safe to write into the mmap'd area
15546 * how to use it (BSD variants) */
15549 #include <sys/mman.h>
15551 #if !STDC_HEADERS && !HAVE_STDLIB_H
15555 /* This mess was copied from the GNU getpagesize.h. */
15556 #if !HAVE_GETPAGESIZE
15557 /* Assume that all systems that can run configure have sys/param.h. */
15558 # if !HAVE_SYS_PARAM_H
15559 # define HAVE_SYS_PARAM_H 1
15562 # ifdef _SC_PAGESIZE
15563 # define getpagesize() sysconf(_SC_PAGESIZE)
15564 # else /* no _SC_PAGESIZE */
15565 # if HAVE_SYS_PARAM_H
15566 # include <sys/param.h>
15567 # ifdef EXEC_PAGESIZE
15568 # define getpagesize() EXEC_PAGESIZE
15569 # else /* no EXEC_PAGESIZE */
15571 # define getpagesize() NBPG * CLSIZE
15574 # endif /* no CLSIZE */
15575 # else /* no NBPG */
15577 # define getpagesize() NBPC
15578 # else /* no NBPC */
15580 # define getpagesize() PAGESIZE
15581 # endif /* PAGESIZE */
15582 # endif /* no NBPC */
15583 # endif /* no NBPG */
15584 # endif /* no EXEC_PAGESIZE */
15585 # else /* no HAVE_SYS_PARAM_H */
15586 # define getpagesize() 8192 /* punt totally */
15587 # endif /* no HAVE_SYS_PARAM_H */
15588 # endif /* no _SC_PAGESIZE */
15590 #endif /* no HAVE_GETPAGESIZE */
15595 char *data, *data2, *data3;
15599 pagesize = getpagesize ();
15601 /* First, make a file with some known garbage in it. */
15602 data = (char *) malloc (pagesize);
15605 for (i = 0; i < pagesize; ++i)
15606 *(data + i) = rand ();
15608 fd = creat ("conftest.mmap", 0600);
15611 if (write (fd, data, pagesize) != pagesize)
15615 /* Next, try to mmap the file at a fixed address which already has
15616 something else allocated at it. If we can, also make sure that
15617 we see the same garbage. */
15618 fd = open ("conftest.mmap", O_RDWR);
15621 data2 = (char *) malloc (2 * pagesize);
15624 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
15625 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
15626 MAP_PRIVATE | MAP_FIXED, fd, 0L))
15628 for (i = 0; i < pagesize; ++i)
15629 if (*(data + i) != *(data2 + i))
15632 /* Finally, make sure that changes to the mapped area do not
15633 percolate back to the file as seen by read(). (This is a bug on
15634 some variants of i386 svr4.0.) */
15635 for (i = 0; i < pagesize; ++i)
15636 *(data2 + i) = *(data2 + i) + 1;
15637 data3 = (char *) malloc (pagesize);
15640 if (read (fd, data3, pagesize) != pagesize)
15642 for (i = 0; i < pagesize; ++i)
15643 if (*(data + i) != *(data3 + i))
15649 rm -f conftest
$ac_exeext
15650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15651 (eval $ac_link) 2>&5
15653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15654 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15656 (eval $ac_try) 2>&5
15658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15659 (exit $ac_status); }; }; then
15660 ac_cv_func_mmap_fixed_mapped
=yes
15662 echo "$as_me: program exited with status $ac_status" >&5
15663 echo "$as_me: failed program was:" >&5
15664 sed 's/^/| /' conftest.
$ac_ext >&5
15666 ( exit $ac_status )
15667 ac_cv_func_mmap_fixed_mapped
=no
15669 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15672 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
15673 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
15674 if test $ac_cv_func_mmap_fixed_mapped = yes; then
15676 cat >>confdefs.h
<<\_ACEOF
15677 #define HAVE_MMAP 1
15681 rm -f conftest.mmap
15685 for ac_prog
in perl
15687 # Extract the first word of "$ac_prog", so it can be a program name with args.
15688 set dummy
$ac_prog; ac_word
=$2
15689 echo "$as_me:$LINENO: checking for $ac_word" >&5
15690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15691 if test "${ac_cv_prog_PERL+set}" = set; then
15692 echo $ECHO_N "(cached) $ECHO_C" >&6
15694 if test -n "$PERL"; then
15695 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
15697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15698 for as_dir
in $PATH
15701 test -z "$as_dir" && as_dir
=.
15702 for ac_exec_ext
in '' $ac_executable_extensions; do
15703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15704 ac_cv_prog_PERL
="$ac_prog"
15705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15713 PERL
=$ac_cv_prog_PERL
15714 if test -n "$PERL"; then
15715 echo "$as_me:$LINENO: result: $PERL" >&5
15716 echo "${ECHO_T}$PERL" >&6
15718 echo "$as_me:$LINENO: result: no" >&5
15719 echo "${ECHO_T}no" >&6
15722 test -n "$PERL" && break
15724 test -n "$PERL" || PERL
="false"
15728 SIGNAL_HANDLER_AUX
=
15732 SIGNAL_HANDLER
=include
/i386-signal.h
15734 sparc
*-sun-solaris*)
15735 SIGNAL_HANDLER
=include
/sparc-signal.h
15738 # SYSDEP_SOURCES=sysdep/ia64.c
15739 # test -d sysdep || mkdir sysdep
15742 SIGNAL_HANDLER
=include
/pa-signal.h
15745 SIGNAL_HANDLER
=include
/dwarf2-signal.h
15748 SIGNAL_HANDLER
=include
/powerpc-signal.h
15751 SIGNAL_HANDLER
=include
/dwarf2-signal.h
15754 SIGNAL_HANDLER
=include
/s390-signal.h
15757 SIGNAL_HANDLER
=include
/x86_64-signal.h
15758 SIGNAL_HANDLER_AUX
=include
/i386-signal.h
15761 SIGNAL_HANDLER
=include
/dwarf2-signal.h
15764 SIGNAL_HANDLER
=include
/sh-signal.h
15767 SIGNAL_HANDLER
=include
/win32-signal.h
15770 SIGNAL_HANDLER
=include
/mips-signal.h
15773 SIGNAL_HANDLER
=include
/darwin-signal.h
15776 SIGNAL_HANDLER
=include
/default-signal.h
15780 # If we're using sjlj exceptions, forget what we just learned.
15781 if test "$enable_sjlj_exceptions" = yes; then
15782 SIGNAL_HANDLER
=include
/default-signal.h
15783 SIGNAL_HANDLER_AUX
=
15786 # Define here any compiler flags that you need in order to make backtrace() work.
15789 x86_64
*-*-linux*|i?
86-*)
15790 BACKTRACESPEC
=-fno-omit-frame-pointer
15797 if test -z "$SIGNAL_HANDLER_AUX"; then
15798 SIGNAL_HANDLER_AUX
=$SIGNAL_HANDLER
15801 ac_config_links
="$ac_config_links include/java-signal.h:$SIGNAL_HANDLER include/java-signal-aux.h:$SIGNAL_HANDLER_AUX"
15804 if test "${multilib}" = "yes"; then
15805 multilib_arg
="--enable-multilib"
15812 here
=`${PWDCMD-pwd}`
15815 # We get this from the environment.
15818 ac_config_files
="$ac_config_files Makefile libgcj.pc libgcj.spec libgcj-test.spec gnu/classpath/Configuration.java gcj/Makefile include/Makefile testsuite/Makefile external/Makefile external/sax/Makefile external/w3c_dom/Makefile"
15821 ac_config_commands
="$ac_config_commands default"
15824 cat >confcache
<<\_ACEOF
15825 # This file is a shell script that caches the results of configure
15826 # tests run on this system so they can be shared between configure
15827 # scripts and configure runs, see configure's option --config-cache.
15828 # It is not useful on other systems. If it contains results you don't
15829 # want to keep, you may remove or edit it.
15831 # config.status only pays attention to the cache file if you give it
15832 # the --recheck option to rerun configure.
15834 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15835 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15836 # following values.
15840 # The following way of writing the cache mishandles newlines in values,
15841 # but we know of no workaround that is simple, portable, and efficient.
15842 # So, don't put newlines in cache variables' values.
15843 # Ultrix sh set writes to stderr and can't be redirected directly,
15844 # and sets the high bit in the cache file unless we assign to the vars.
15847 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15849 # `set' does not quote correctly, so add quotes (double-quote
15850 # substitution turns \\\\ into \\, and sed turns \\ into \).
15853 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15856 # `set' quotes correctly as required by POSIX, so do not add quotes.
15858 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
15865 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15867 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15869 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
15870 if test -w $cache_file; then
15871 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
15872 cat confcache
>$cache_file
15874 echo "not updating unwritable cache $cache_file"
15879 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15880 # Let make expand exec_prefix.
15881 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15883 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15884 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15885 # trailing colons and then remove the whole line if VPATH becomes empty
15886 # (actually we leave an empty line to preserve line numbers).
15887 if test "x$srcdir" = x.
; then
15888 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
15889 s/:*\$(srcdir):*/:/;
15890 s/:*\${srcdir}:*/:/;
15892 s/^\([^=]*=[ ]*\):*/\1/;
15898 DEFS
=-DHAVE_CONFIG_H
15902 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15903 # 1. Remove the extension, and $U if already installed.
15904 ac_i
=`echo "$ac_i" |
15905 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
15907 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
15908 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
15910 LIBOBJS
=$ac_libobjs
15912 LTLIBOBJS
=$ac_ltlibobjs
15915 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15916 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
15917 Usually this means the macro was only invoked conditionally." >&5
15918 echo "$as_me: error: conditional \"AMDEP\" was never defined.
15919 Usually this means the macro was only invoked conditionally." >&2;}
15920 { (exit 1); exit 1; }; }
15922 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15923 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
15924 Usually this means the macro was only invoked conditionally." >&5
15925 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
15926 Usually this means the macro was only invoked conditionally." >&2;}
15927 { (exit 1); exit 1; }; }
15929 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15930 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
15931 Usually this means the macro was only invoked conditionally." >&5
15932 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
15933 Usually this means the macro was only invoked conditionally." >&2;}
15934 { (exit 1); exit 1; }; }
15936 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15937 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
15938 Usually this means the macro was only invoked conditionally." >&5
15939 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
15940 Usually this means the macro was only invoked conditionally." >&2;}
15941 { (exit 1); exit 1; }; }
15943 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
15944 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
15945 Usually this means the macro was only invoked conditionally." >&5
15946 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
15947 Usually this means the macro was only invoked conditionally." >&2;}
15948 { (exit 1); exit 1; }; }
15950 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
15951 { { echo "$as_me:$LINENO: error: conditional \"TESTSUBDIR\" was never defined.
15952 Usually this means the macro was only invoked conditionally." >&5
15953 echo "$as_me: error: conditional \"TESTSUBDIR\" was never defined.
15954 Usually this means the macro was only invoked conditionally." >&2;}
15955 { (exit 1); exit 1; }; }
15957 if test -z "${ONESTEP_TRUE}" && test -z "${ONESTEP_FALSE}"; then
15958 { { echo "$as_me:$LINENO: error: conditional \"ONESTEP\" was never defined.
15959 Usually this means the macro was only invoked conditionally." >&5
15960 echo "$as_me: error: conditional \"ONESTEP\" was never defined.
15961 Usually this means the macro was only invoked conditionally." >&2;}
15962 { (exit 1); exit 1; }; }
15964 if test -z "${JAVA_HOME_SET_TRUE}" && test -z "${JAVA_HOME_SET_FALSE}"; then
15965 { { echo "$as_me:$LINENO: error: conditional \"JAVA_HOME_SET\" was never defined.
15966 Usually this means the macro was only invoked conditionally." >&5
15967 echo "$as_me: error: conditional \"JAVA_HOME_SET\" was never defined.
15968 Usually this means the macro was only invoked conditionally." >&2;}
15969 { (exit 1); exit 1; }; }
15971 if test -z "${USING_WIN32_PLATFORM_TRUE}" && test -z "${USING_WIN32_PLATFORM_FALSE}"; then
15972 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
15973 Usually this means the macro was only invoked conditionally." >&5
15974 echo "$as_me: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
15975 Usually this means the macro was only invoked conditionally." >&2;}
15976 { (exit 1); exit 1; }; }
15978 if test -z "${USING_POSIX_PLATFORM_TRUE}" && test -z "${USING_POSIX_PLATFORM_FALSE}"; then
15979 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
15980 Usually this means the macro was only invoked conditionally." >&5
15981 echo "$as_me: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
15982 Usually this means the macro was only invoked conditionally." >&2;}
15983 { (exit 1); exit 1; }; }
15985 if test -z "${USING_ECOS_PLATFORM_TRUE}" && test -z "${USING_ECOS_PLATFORM_FALSE}"; then
15986 { { echo "$as_me:$LINENO: error: conditional \"USING_ECOS_PLATFORM\" was never defined.
15987 Usually this means the macro was only invoked conditionally." >&5
15988 echo "$as_me: error: conditional \"USING_ECOS_PLATFORM\" was never defined.
15989 Usually this means the macro was only invoked conditionally." >&2;}
15990 { (exit 1); exit 1; }; }
15992 if test -z "${USING_DARWIN_CRT_TRUE}" && test -z "${USING_DARWIN_CRT_FALSE}"; then
15993 { { echo "$as_me:$LINENO: error: conditional \"USING_DARWIN_CRT\" was never defined.
15994 Usually this means the macro was only invoked conditionally." >&5
15995 echo "$as_me: error: conditional \"USING_DARWIN_CRT\" was never defined.
15996 Usually this means the macro was only invoked conditionally." >&2;}
15997 { (exit 1); exit 1; }; }
15999 if test -z "${XLIB_AWT_TRUE}" && test -z "${XLIB_AWT_FALSE}"; then
16000 { { echo "$as_me:$LINENO: error: conditional \"XLIB_AWT\" was never defined.
16001 Usually this means the macro was only invoked conditionally." >&5
16002 echo "$as_me: error: conditional \"XLIB_AWT\" was never defined.
16003 Usually this means the macro was only invoked conditionally." >&2;}
16004 { (exit 1); exit 1; }; }
16006 if test -z "${GTK_AWT_TRUE}" && test -z "${GTK_AWT_FALSE}"; then
16007 { { echo "$as_me:$LINENO: error: conditional \"GTK_AWT\" was never defined.
16008 Usually this means the macro was only invoked conditionally." >&5
16009 echo "$as_me: error: conditional \"GTK_AWT\" was never defined.
16010 Usually this means the macro was only invoked conditionally." >&2;}
16011 { (exit 1); exit 1; }; }
16013 if test -z "${GTK_CAIRO_TRUE}" && test -z "${GTK_CAIRO_FALSE}"; then
16014 { { echo "$as_me:$LINENO: error: conditional \"GTK_CAIRO\" was never defined.
16015 Usually this means the macro was only invoked conditionally." >&5
16016 echo "$as_me: error: conditional \"GTK_CAIRO\" was never defined.
16017 Usually this means the macro was only invoked conditionally." >&2;}
16018 { (exit 1); exit 1; }; }
16020 if test -z "${USING_BOEHMGC_TRUE}" && test -z "${USING_BOEHMGC_FALSE}"; then
16021 { { echo "$as_me:$LINENO: error: conditional \"USING_BOEHMGC\" was never defined.
16022 Usually this means the macro was only invoked conditionally." >&5
16023 echo "$as_me: error: conditional \"USING_BOEHMGC\" was never defined.
16024 Usually this means the macro was only invoked conditionally." >&2;}
16025 { (exit 1); exit 1; }; }
16027 if test -z "${USING_NOGC_TRUE}" && test -z "${USING_NOGC_FALSE}"; then
16028 { { echo "$as_me:$LINENO: error: conditional \"USING_NOGC\" was never defined.
16029 Usually this means the macro was only invoked conditionally." >&5
16030 echo "$as_me: error: conditional \"USING_NOGC\" was never defined.
16031 Usually this means the macro was only invoked conditionally." >&2;}
16032 { (exit 1); exit 1; }; }
16034 if test -z "${USING_POSIX_THREADS_TRUE}" && test -z "${USING_POSIX_THREADS_FALSE}"; then
16035 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_THREADS\" was never defined.
16036 Usually this means the macro was only invoked conditionally." >&5
16037 echo "$as_me: error: conditional \"USING_POSIX_THREADS\" was never defined.
16038 Usually this means the macro was only invoked conditionally." >&2;}
16039 { (exit 1); exit 1; }; }
16041 if test -z "${USING_WIN32_THREADS_TRUE}" && test -z "${USING_WIN32_THREADS_FALSE}"; then
16042 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_THREADS\" was never defined.
16043 Usually this means the macro was only invoked conditionally." >&5
16044 echo "$as_me: error: conditional \"USING_WIN32_THREADS\" was never defined.
16045 Usually this means the macro was only invoked conditionally." >&2;}
16046 { (exit 1); exit 1; }; }
16048 if test -z "${USING_NO_THREADS_TRUE}" && test -z "${USING_NO_THREADS_FALSE}"; then
16049 { { echo "$as_me:$LINENO: error: conditional \"USING_NO_THREADS\" was never defined.
16050 Usually this means the macro was only invoked conditionally." >&5
16051 echo "$as_me: error: conditional \"USING_NO_THREADS\" was never defined.
16052 Usually this means the macro was only invoked conditionally." >&2;}
16053 { (exit 1); exit 1; }; }
16055 if test -z "${USING_GCC_TRUE}" && test -z "${USING_GCC_FALSE}"; then
16056 { { echo "$as_me:$LINENO: error: conditional \"USING_GCC\" was never defined.
16057 Usually this means the macro was only invoked conditionally." >&5
16058 echo "$as_me: error: conditional \"USING_GCC\" was never defined.
16059 Usually this means the macro was only invoked conditionally." >&2;}
16060 { (exit 1); exit 1; }; }
16062 if test -z "${SUPPLY_BACKTRACE_TRUE}" && test -z "${SUPPLY_BACKTRACE_FALSE}"; then
16063 { { echo "$as_me:$LINENO: error: conditional \"SUPPLY_BACKTRACE\" was never defined.
16064 Usually this means the macro was only invoked conditionally." >&5
16065 echo "$as_me: error: conditional \"SUPPLY_BACKTRACE\" was never defined.
16066 Usually this means the macro was only invoked conditionally." >&2;}
16067 { (exit 1); exit 1; }; }
16069 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
16070 { { echo "$as_me:$LINENO: error: conditional \"NATIVE\" was never defined.
16071 Usually this means the macro was only invoked conditionally." >&5
16072 echo "$as_me: error: conditional \"NATIVE\" was never defined.
16073 Usually this means the macro was only invoked conditionally." >&2;}
16074 { (exit 1); exit 1; }; }
16076 if test -z "${NEEDS_DATA_START_TRUE}" && test -z "${NEEDS_DATA_START_FALSE}"; then
16077 { { echo "$as_me:$LINENO: error: conditional \"NEEDS_DATA_START\" was never defined.
16078 Usually this means the macro was only invoked conditionally." >&5
16079 echo "$as_me: error: conditional \"NEEDS_DATA_START\" was never defined.
16080 Usually this means the macro was only invoked conditionally." >&2;}
16081 { (exit 1); exit 1; }; }
16084 : ${CONFIG_STATUS=./config.status}
16085 ac_clean_files_save
=$ac_clean_files
16086 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16087 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
16088 echo "$as_me: creating $CONFIG_STATUS" >&6;}
16089 cat >$CONFIG_STATUS <<_ACEOF
16091 # Generated by $as_me.
16092 # Run this file to recreate the current configuration.
16093 # Compiler output produced by configure, useful for debugging
16094 # configure, is in config.log if it exists.
16097 ac_cs_recheck=false
16099 SHELL=\${CONFIG_SHELL-$SHELL}
16102 cat >>$CONFIG_STATUS <<\_ACEOF
16103 ## --------------------- ##
16104 ## M4sh Initialization. ##
16105 ## --------------------- ##
16107 # Be Bourne compatible
16108 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16111 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
16112 # is contrary to our usage. Disable this feature.
16113 alias -g '${1+"$@"}'='"$@"'
16114 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
16117 DUALCASE
=1; export DUALCASE
# for MKS sh
16119 # Support unset when possible.
16120 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
16127 # Work around bugs in pre-3.0 UWIN ksh.
16128 $as_unset ENV MAIL MAILPATH
16135 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
16136 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
16137 LC_TELEPHONE LC_TIME
16139 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
16140 eval $as_var=C
; export $as_var
16146 # Required to use basename.
16147 if expr a
: '\(a\)' >/dev
/null
2>&1; then
16153 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
16154 as_basename
=basename
16160 # Name of the executable.
16161 as_me
=`$as_basename "$0" ||
16162 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16163 X"$0" : 'X\(//\)$' \| \
16164 X"$0" : 'X\(/\)$' \| \
16165 . : '\(.\)' 2>/dev/null ||
16167 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
16168 /^X\/\(\/\/\)$/{ s//\1/; q; }
16169 /^X\/\(\/\).*/{ s//\1/; q; }
16173 # PATH needs CR, and LINENO needs CR and PATH.
16174 # Avoid depending upon Character Ranges.
16175 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16176 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16177 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16178 as_cr_digits
='0123456789'
16179 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16181 # The user is always right.
16182 if test "${PATH_SEPARATOR+set}" != set; then
16183 echo "#! /bin/sh" >conf$$.sh
16184 echo "exit 0" >>conf$$.sh
16186 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16195 as_lineno_1
=$LINENO
16196 as_lineno_2
=$LINENO
16197 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
16198 test "x$as_lineno_1" != "x$as_lineno_2" &&
16199 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
16200 # Find who we are. Look in the path if we contain no path at all
16203 *[\\/]* ) as_myself
=$0 ;;
16204 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16205 for as_dir
in $PATH
16208 test -z "$as_dir" && as_dir
=.
16209 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
16214 # We did not find ourselves, most probably we were run as `sh COMMAND'
16215 # in which case we are not to be found in the path.
16216 if test "x$as_myself" = x
; then
16219 if test ! -f "$as_myself"; then
16220 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
16221 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
16222 { (exit 1); exit 1; }; }
16224 case $CONFIG_SHELL in
16226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16227 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
16230 test -z "$as_dir" && as_dir
=.
16231 for as_base
in sh bash ksh sh5
; do
16234 if ("$as_dir/$as_base" -c '
16235 as_lineno_1=$LINENO
16236 as_lineno_2=$LINENO
16237 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
16238 test "x$as_lineno_1" != "x$as_lineno_2" &&
16239 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
16240 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
16241 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
16242 CONFIG_SHELL
=$as_dir/$as_base
16243 export CONFIG_SHELL
16244 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
16252 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
16253 # uniformly replaced by the line number. The first 'sed' inserts a
16254 # line-number line before each line; the second 'sed' does the real
16255 # work. The second script uses 'N' to pair each line-number line
16256 # with the numbered line, and appends trailing '-' during
16257 # substitution so that $LINENO is not a special case at line end.
16258 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
16259 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
16260 sed '=' <$as_myself |
16265 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
16268 s,^['$as_cr_digits']*\n,,
16269 ' >$as_me.lineno
&&
16270 chmod +x
$as_me.lineno ||
16271 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
16272 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
16273 { (exit 1); exit 1; }; }
16275 # Don't try to exec as it changes $[0], causing all sort of problems
16276 # (the dirname of $[0] is not the place where we might find the
16277 # original and so on. Autoconf is especially sensible to this).
16279 # Exit status is that of the last command.
16284 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
16285 *c
*,-n*) ECHO_N
= ECHO_C
='
16287 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
16288 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
16291 if expr a
: '\(a\)' >/dev
/null
2>&1; then
16297 rm -f conf$$ conf$$.exe conf$$.
file
16299 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16300 # We could just check for DJGPP; but this test a) works b) is more generic
16301 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
16302 if test -f conf$$.exe
; then
16303 # Don't use ln at all; we don't have any links
16308 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16313 rm -f conf$$ conf$$.exe conf$$.
file
16315 if mkdir
-p .
2>/dev
/null
; then
16318 test -d .
/-p && rmdir .
/-p
16322 as_executable_p
="test -f"
16324 # Sed expression to map a string onto a valid CPP name.
16325 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16327 # Sed expression to map a string onto a valid variable name.
16328 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16332 # We need space, tab and new line, in precisely that order.
16342 # Open the log real soon, to keep \$[0] and so on meaningful, and to
16343 # report actual input values of CONFIG_FILES etc. instead of their
16344 # values after options handling. Logging --version etc. is OK.
16348 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16349 ## Running $as_me. ##
16354 This file was extended by libjava $as_me version-unused, which was
16355 generated by GNU Autoconf 2.59. Invocation command line was
16357 CONFIG_FILES = $CONFIG_FILES
16358 CONFIG_HEADERS = $CONFIG_HEADERS
16359 CONFIG_LINKS = $CONFIG_LINKS
16360 CONFIG_COMMANDS = $CONFIG_COMMANDS
16364 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
16368 # Files that config.status was made for.
16369 if test -n "$ac_config_files"; then
16370 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
16373 if test -n "$ac_config_headers"; then
16374 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
16377 if test -n "$ac_config_links"; then
16378 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
16381 if test -n "$ac_config_commands"; then
16382 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
16385 cat >>$CONFIG_STATUS <<\_ACEOF
16388 \`$as_me' instantiates files from templates according to the
16389 current configuration.
16391 Usage: $0 [OPTIONS] [FILE]...
16393 -h, --help print this help, then exit
16394 -V, --version print version number, then exit
16395 -q, --quiet do not print progress messages
16396 -d, --debug don't remove temporary files
16397 --recheck update $as_me by reconfiguring in the same conditions
16398 --file=FILE[:TEMPLATE]
16399 instantiate the configuration file FILE
16400 --header=FILE[:TEMPLATE]
16401 instantiate the configuration header FILE
16403 Configuration files:
16406 Configuration headers:
16409 Configuration links:
16412 Configuration commands:
16415 Report bugs to <bug-autoconf@gnu.org>."
16418 cat >>$CONFIG_STATUS <<_ACEOF
16420 libjava config.status version-unused
16421 configured by $0, generated by GNU Autoconf 2.59,
16422 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
16424 Copyright (C) 2003 Free Software Foundation, Inc.
16425 This config.status script is free software; the Free Software Foundation
16426 gives unlimited permission to copy, distribute and modify it."
16431 cat >>$CONFIG_STATUS <<\_ACEOF
16432 # If no file are specified by the user, then we need to provide default
16433 # value. By we need to know if files were specified by the user.
16439 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
16440 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
16448 *) # This is not an option, so the user has probably given explicit
16451 ac_need_defaults
=false
;;
16455 # Handling of the options.
16457 cat >>$CONFIG_STATUS <<\_ACEOF
16458 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16460 --version |
--vers* |
-V )
16461 echo "$ac_cs_version"; exit 0 ;;
16463 # Conflict between --help and --header
16464 { { echo "$as_me:$LINENO: error: ambiguous option: $1
16465 Try \`$0 --help' for more information." >&5
16466 echo "$as_me: error: ambiguous option: $1
16467 Try \`$0 --help' for more information." >&2;}
16468 { (exit 1); exit 1; }; };;
16469 --help |
--hel |
-h )
16470 echo "$ac_cs_usage"; exit 0 ;;
16471 --debug |
--d* |
-d )
16473 --file |
--fil |
--fi |
--f )
16475 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
16476 ac_need_defaults
=false
;;
16477 --header |
--heade |
--head |
--hea )
16479 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
16480 ac_need_defaults
=false
;;
16481 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16482 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16485 # This is an error.
16486 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
16487 Try \`$0 --help' for more information." >&5
16488 echo "$as_me: error: unrecognized option: $1
16489 Try \`$0 --help' for more information." >&2;}
16490 { (exit 1); exit 1; }; } ;;
16492 *) ac_config_targets
="$ac_config_targets $1" ;;
16498 ac_configure_extra_args
=
16500 if $ac_cs_silent; then
16502 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16506 cat >>$CONFIG_STATUS <<_ACEOF
16507 if \$ac_cs_recheck; then
16508 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
16509 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16514 cat >>$CONFIG_STATUS <<_ACEOF
16516 # INIT-COMMANDS section.
16519 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16523 with_multisubdir=${with_multisubdir}
16524 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16525 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16526 libgcj_basedir=${libgcj_basedir}
16529 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
16536 cat >>$CONFIG_STATUS <<\_ACEOF
16537 for ac_config_target
in $ac_config_targets
16539 case "$ac_config_target" in
16540 # Handling of arguments.
16541 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16542 "libgcj.pc" ) CONFIG_FILES
="$CONFIG_FILES libgcj.pc" ;;
16543 "libgcj.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj.spec" ;;
16544 "libgcj-test.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj-test.spec" ;;
16545 "gnu/classpath/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
16546 "gcj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gcj/Makefile" ;;
16547 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
16548 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16549 "external/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/Makefile" ;;
16550 "external/sax/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/sax/Makefile" ;;
16551 "external/w3c_dom/Makefile" ) CONFIG_FILES
="$CONFIG_FILES external/w3c_dom/Makefile" ;;
16552 "include/platform.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/platform.h:include/$PLATFORMH" ;;
16553 "java/io/natFile.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc" ;;
16554 "java/lang/ConcreteProcess.java" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/ConcreteProcess.java:java/lang/${PLATFORM}Process.java" ;;
16555 "java/lang/natConcreteProcess.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc" ;;
16556 "java/net/natInetAddress.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natInetAddress.cc:java/net/natInetAddress${PLATFORMNET}.cc" ;;
16557 "java/net/natVMNetworkInterface.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc" ;;
16558 "gnu/java/net/natPlainSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc" ;;
16559 "gnu/java/net/natPlainDatagramSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc" ;;
16560 "gnu/java/nio/natPipeImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natPipeImpl.cc:gnu/java/nio/natPipeImpl${PLATFORM}.cc" ;;
16561 "gnu/java/nio/natSelectorImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natSelectorImpl.cc:gnu/java/nio/natSelectorImpl${PLATFORM}.cc" ;;
16562 "gnu/java/nio/channels/natFileChannelImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc" ;;
16563 "include/java-gc.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-gc.h:include/$GCHDR" ;;
16564 "include/java-threads.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-threads.h:include/$THREADH" ;;
16565 "sysdep/locks.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/locks.h:sysdep/$sysdeps_dir/locks.h" ;;
16566 "sysdep/backtrace.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/backtrace.h:$fallback_backtrace_h" ;;
16567 "include/java-signal.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal.h:$SIGNAL_HANDLER" ;;
16568 "include/java-signal-aux.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal-aux.h:$SIGNAL_HANDLER_AUX" ;;
16569 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16570 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
16571 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
16572 "gcj/libgcj-config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS gcj/libgcj-config.h" ;;
16573 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
16574 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16575 { (exit 1); exit 1; }; };;
16579 # If the user did not use the arguments to specify the items to instantiate,
16580 # then the envvar interface is used. Set only those that are not.
16581 # We use the long form for the default assignment because of an extremely
16582 # bizarre bug on SunOS 4.1.3.
16583 if $ac_need_defaults; then
16584 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16585 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16586 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
16587 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16590 # Have a temporary directory for convenience. Make it in the build tree
16591 # simply because there is no reason to put it here, and in addition,
16592 # creating and moving files from /tmp can sometimes cause problems.
16593 # Create a temporary directory, and hook for its removal unless debugging.
16596 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
16597 trap '{ (exit 1); exit 1; }' 1 2 13 15
16600 # Create a (secure) tmp directory for tmp files.
16603 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
16604 test -n "$tmp" && test -d "$tmp"
16607 tmp
=.
/confstat$$
-$RANDOM
16608 (umask 077 && mkdir
$tmp)
16611 echo "$me: cannot create a temporary directory in ." >&2
16612 { (exit 1); exit 1; }
16617 cat >>$CONFIG_STATUS <<_ACEOF
16620 # CONFIG_FILES section.
16623 # No need to generate the scripts if there are no CONFIG_FILES.
16624 # This happens for instance when ./config.status config.h
16625 if test -n "\$CONFIG_FILES"; then
16626 # Protect against being on the right side of a sed subst in config.status.
16627 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
16628 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
16629 s,@SHELL@,$SHELL,;t t
16630 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
16631 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
16632 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
16633 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
16634 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
16635 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
16636 s,@exec_prefix@,$exec_prefix,;t t
16637 s,@prefix@,$prefix,;t t
16638 s,@program_transform_name@,$program_transform_name,;t t
16639 s,@bindir@,$bindir,;t t
16640 s,@sbindir@,$sbindir,;t t
16641 s,@libexecdir@,$libexecdir,;t t
16642 s,@datadir@,$datadir,;t t
16643 s,@sysconfdir@,$sysconfdir,;t t
16644 s,@sharedstatedir@,$sharedstatedir,;t t
16645 s,@localstatedir@,$localstatedir,;t t
16646 s,@libdir@,$libdir,;t t
16647 s,@includedir@,$includedir,;t t
16648 s,@oldincludedir@,$oldincludedir,;t t
16649 s,@infodir@,$infodir,;t t
16650 s,@mandir@,$mandir,;t t
16651 s,@build_alias@,$build_alias,;t t
16652 s,@host_alias@,$host_alias,;t t
16653 s,@target_alias@,$target_alias,;t t
16654 s,@DEFS@,$DEFS,;t t
16655 s,@ECHO_C@,$ECHO_C,;t t
16656 s,@ECHO_N@,$ECHO_N,;t t
16657 s,@ECHO_T@,$ECHO_T,;t t
16658 s,@LIBS@,$LIBS,;t t
16659 s,@build@,$build,;t t
16660 s,@build_cpu@,$build_cpu,;t t
16661 s,@build_vendor@,$build_vendor,;t t
16662 s,@build_os@,$build_os,;t t
16663 s,@build_subdir@,$build_subdir,;t t
16664 s,@host_subdir@,$host_subdir,;t t
16665 s,@target_subdir@,$target_subdir,;t t
16666 s,@libgcj_basedir@,$libgcj_basedir,;t t
16667 s,@host@,$host,;t t
16668 s,@host_cpu@,$host_cpu,;t t
16669 s,@host_vendor@,$host_vendor,;t t
16670 s,@host_os@,$host_os,;t t
16671 s,@target@,$target,;t t
16672 s,@target_cpu@,$target_cpu,;t t
16673 s,@target_vendor@,$target_vendor,;t t
16674 s,@target_os@,$target_os,;t t
16675 s,@target_noncanonical@,$target_noncanonical,;t t
16676 s,@LN_S@,$LN_S,;t t
16677 s,@mkinstalldirs@,$mkinstalldirs,;t t
16679 s,@ac_ct_CC@,$ac_ct_CC,;t t
16680 s,@EXEEXT@,$EXEEXT,;t t
16681 s,@OBJEXT@,$OBJEXT,;t t
16683 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
16684 s,@CFLAGS@,$CFLAGS,;t t
16685 s,@CXXFLAGS@,$CXXFLAGS,;t t
16686 s,@LDFLAGS@,$LDFLAGS,;t t
16687 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
16688 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
16689 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
16690 s,@CYGPATH_W@,$CYGPATH_W,;t t
16691 s,@PACKAGE@,$PACKAGE,;t t
16692 s,@VERSION@,$VERSION,;t t
16693 s,@ACLOCAL@,$ACLOCAL,;t t
16694 s,@AUTOCONF@,$AUTOCONF,;t t
16695 s,@AUTOMAKE@,$AUTOMAKE,;t t
16696 s,@AUTOHEADER@,$AUTOHEADER,;t t
16697 s,@MAKEINFO@,$MAKEINFO,;t t
16698 s,@install_sh@,$install_sh,;t t
16699 s,@STRIP@,$STRIP,;t t
16700 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
16701 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
16702 s,@mkdir_p@,$mkdir_p,;t t
16704 s,@SET_MAKE@,$SET_MAKE,;t t
16705 s,@am__leading_dot@,$am__leading_dot,;t t
16706 s,@AMTAR@,$AMTAR,;t t
16707 s,@am__tar@,$am__tar,;t t
16708 s,@am__untar@,$am__untar,;t t
16709 s,@DEPDIR@,$DEPDIR,;t t
16710 s,@am__include@,$am__include,;t t
16711 s,@am__quote@,$am__quote,;t t
16712 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
16713 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
16714 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
16715 s,@CCDEPMODE@,$CCDEPMODE,;t t
16716 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
16717 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
16718 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
16719 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
16720 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
16722 s,@ac_ct_AS@,$ac_ct_AS,;t t
16724 s,@ac_ct_AR@,$ac_ct_AR,;t t
16725 s,@RANLIB@,$RANLIB,;t t
16726 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
16727 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
16728 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
16729 s,@MAINT@,$MAINT,;t t
16730 s,@LIBGCJ_CFLAGS@,$LIBGCJ_CFLAGS,;t t
16731 s,@LIBGCJ_CXXFLAGS@,$LIBGCJ_CXXFLAGS,;t t
16732 s,@LIBGCJ_JAVAFLAGS@,$LIBGCJ_JAVAFLAGS,;t t
16733 s,@LIBGCJ_LD_SYMBOLIC@,$LIBGCJ_LD_SYMBOLIC,;t t
16734 s,@INCLTDL@,$INCLTDL,;t t
16735 s,@LIBLTDL@,$LIBLTDL,;t t
16736 s,@DIRLTDL@,$DIRLTDL,;t t
16737 s,@LIBTOOL@,$LIBTOOL,;t t
16738 s,@CXXCPP@,$CXXCPP,;t t
16739 s,@CPPFLAGS@,$CPPFLAGS,;t t
16741 s,@GCJFLAGS@,$GCJFLAGS,;t t
16742 s,@GCJDEPMODE@,$GCJDEPMODE,;t t
16743 s,@am__fastdepGCJ_TRUE@,$am__fastdepGCJ_TRUE,;t t
16744 s,@am__fastdepGCJ_FALSE@,$am__fastdepGCJ_FALSE,;t t
16745 s,@subdirs@,$subdirs,;t t
16746 s,@TESTSUBDIR_TRUE@,$TESTSUBDIR_TRUE,;t t
16747 s,@TESTSUBDIR_FALSE@,$TESTSUBDIR_FALSE,;t t
16748 s,@ONESTEP_TRUE@,$ONESTEP_TRUE,;t t
16749 s,@ONESTEP_FALSE@,$ONESTEP_FALSE,;t t
16750 s,@JAVA_HOME_SET_TRUE@,$JAVA_HOME_SET_TRUE,;t t
16751 s,@JAVA_HOME_SET_FALSE@,$JAVA_HOME_SET_FALSE,;t t
16752 s,@JAVA_HOME@,$JAVA_HOME,;t t
16753 s,@LIBGCJDEBUG@,$LIBGCJDEBUG,;t t
16754 s,@INTERPRETER@,$INTERPRETER,;t t
16755 s,@LIBFFI@,$LIBFFI,;t t
16756 s,@LIBFFIINCS@,$LIBFFIINCS,;t t
16757 s,@PLATFORM_INNER_NAT_HDRS@,$PLATFORM_INNER_NAT_HDRS,;t t
16759 s,@EGREP@,$EGREP,;t t
16760 s,@USING_WIN32_PLATFORM_TRUE@,$USING_WIN32_PLATFORM_TRUE,;t t
16761 s,@USING_WIN32_PLATFORM_FALSE@,$USING_WIN32_PLATFORM_FALSE,;t t
16762 s,@USING_POSIX_PLATFORM_TRUE@,$USING_POSIX_PLATFORM_TRUE,;t t
16763 s,@USING_POSIX_PLATFORM_FALSE@,$USING_POSIX_PLATFORM_FALSE,;t t
16764 s,@USING_ECOS_PLATFORM_TRUE@,$USING_ECOS_PLATFORM_TRUE,;t t
16765 s,@USING_ECOS_PLATFORM_FALSE@,$USING_ECOS_PLATFORM_FALSE,;t t
16766 s,@USING_DARWIN_CRT_TRUE@,$USING_DARWIN_CRT_TRUE,;t t
16767 s,@USING_DARWIN_CRT_FALSE@,$USING_DARWIN_CRT_FALSE,;t t
16768 s,@SYSTEMSPEC@,$SYSTEMSPEC,;t t
16769 s,@LIBGCJTESTSPEC@,$LIBGCJTESTSPEC,;t t
16770 s,@ZLIBSPEC@,$ZLIBSPEC,;t t
16771 s,@ZLIBTESTSPEC@,$ZLIBTESTSPEC,;t t
16772 s,@X_CFLAGS@,$X_CFLAGS,;t t
16773 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
16774 s,@X_LIBS@,$X_LIBS,;t t
16775 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
16776 s,@TOOLKIT@,$TOOLKIT,;t t
16777 s,@XLIB_AWT_TRUE@,$XLIB_AWT_TRUE,;t t
16778 s,@XLIB_AWT_FALSE@,$XLIB_AWT_FALSE,;t t
16779 s,@GTK_AWT_TRUE@,$GTK_AWT_TRUE,;t t
16780 s,@GTK_AWT_FALSE@,$GTK_AWT_FALSE,;t t
16781 s,@GTK_CAIRO_TRUE@,$GTK_CAIRO_TRUE,;t t
16782 s,@GTK_CAIRO_FALSE@,$GTK_CAIRO_FALSE,;t t
16783 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
16784 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
16785 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
16786 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
16787 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
16788 s,@GCLIBS@,$GCLIBS,;t t
16789 s,@GCINCS@,$GCINCS,;t t
16790 s,@GCDEPS@,$GCDEPS,;t t
16791 s,@GCSPEC@,$GCSPEC,;t t
16792 s,@JC1GCSPEC@,$JC1GCSPEC,;t t
16793 s,@GCTESTSPEC@,$GCTESTSPEC,;t t
16794 s,@USING_BOEHMGC_TRUE@,$USING_BOEHMGC_TRUE,;t t
16795 s,@USING_BOEHMGC_FALSE@,$USING_BOEHMGC_FALSE,;t t
16796 s,@USING_NOGC_TRUE@,$USING_NOGC_TRUE,;t t
16797 s,@USING_NOGC_FALSE@,$USING_NOGC_FALSE,;t t
16798 s,@THREADLIBS@,$THREADLIBS,;t t
16799 s,@THREADINCS@,$THREADINCS,;t t
16800 s,@THREADDEPS@,$THREADDEPS,;t t
16801 s,@THREADSPEC@,$THREADSPEC,;t t
16802 s,@THREADLDFLAGS@,$THREADLDFLAGS,;t t
16803 s,@THREADCXXFLAGS@,$THREADCXXFLAGS,;t t
16804 s,@USING_POSIX_THREADS_TRUE@,$USING_POSIX_THREADS_TRUE,;t t
16805 s,@USING_POSIX_THREADS_FALSE@,$USING_POSIX_THREADS_FALSE,;t t
16806 s,@USING_WIN32_THREADS_TRUE@,$USING_WIN32_THREADS_TRUE,;t t
16807 s,@USING_WIN32_THREADS_FALSE@,$USING_WIN32_THREADS_FALSE,;t t
16808 s,@USING_NO_THREADS_TRUE@,$USING_NO_THREADS_TRUE,;t t
16809 s,@USING_NO_THREADS_FALSE@,$USING_NO_THREADS_FALSE,;t t
16810 s,@HASH_SYNC_SPEC@,$HASH_SYNC_SPEC,;t t
16811 s,@USING_GCC_TRUE@,$USING_GCC_TRUE,;t t
16812 s,@USING_GCC_FALSE@,$USING_GCC_FALSE,;t t
16813 s,@LIBICONV@,$LIBICONV,;t t
16814 s,@LTLIBICONV@,$LTLIBICONV,;t t
16815 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
16816 s,@GTK_LIBS@,$GTK_LIBS,;t t
16817 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
16818 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
16819 s,@LIBART_CFLAGS@,$LIBART_CFLAGS,;t t
16820 s,@LIBART_LIBS@,$LIBART_LIBS,;t t
16821 s,@SUPPLY_BACKTRACE_TRUE@,$SUPPLY_BACKTRACE_TRUE,;t t
16822 s,@SUPPLY_BACKTRACE_FALSE@,$SUPPLY_BACKTRACE_FALSE,;t t
16823 s,@GCJH@,$GCJH,;t t
16825 s,@CLASSPATH_SEPARATOR@,$CLASSPATH_SEPARATOR,;t t
16826 s,@ac_ct_GCJ@,$ac_ct_GCJ,;t t
16827 s,@ZLIBS@,$ZLIBS,;t t
16828 s,@SYS_ZLIBS@,$SYS_ZLIBS,;t t
16829 s,@ZINCS@,$ZINCS,;t t
16830 s,@DIVIDESPEC@,$DIVIDESPEC,;t t
16831 s,@CHECKREFSPEC@,$CHECKREFSPEC,;t t
16832 s,@EXCEPTIONSPEC@,$EXCEPTIONSPEC,;t t
16833 s,@IEEESPEC@,$IEEESPEC,;t t
16834 s,@NATIVE_TRUE@,$NATIVE_TRUE,;t t
16835 s,@NATIVE_FALSE@,$NATIVE_FALSE,;t t
16836 s,@NEEDS_DATA_START_TRUE@,$NEEDS_DATA_START_TRUE,;t t
16837 s,@NEEDS_DATA_START_FALSE@,$NEEDS_DATA_START_FALSE,;t t
16838 s,@GCC_UNWIND_INCLUDE@,$GCC_UNWIND_INCLUDE,;t t
16839 s,@toolexecdir@,$toolexecdir,;t t
16840 s,@toolexecmainlibdir@,$toolexecmainlibdir,;t t
16841 s,@toolexeclibdir@,$toolexeclibdir,;t t
16842 s,@GCJVERSION@,$GCJVERSION,;t t
16843 s,@gxx_include_dir@,$gxx_include_dir,;t t
16844 s,@libstdcxx_incdir@,$libstdcxx_incdir,;t t
16845 s,@ALLOCA@,$ALLOCA,;t t
16846 s,@PERL@,$PERL,;t t
16847 s,@BACKTRACESPEC@,$BACKTRACESPEC,;t t
16848 s,@SYSDEP_SOURCES@,$SYSDEP_SOURCES,;t t
16849 s,@here@,$here,;t t
16850 s,@LIBOBJS@,$LIBOBJS,;t t
16851 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
16856 cat >>$CONFIG_STATUS <<\_ACEOF
16857 # Split the substitutions into bite-sized pieces for seds with
16858 # small command number limits, like on Digital OSF/1 and HP-UX.
16859 ac_max_sed_lines
=48
16860 ac_sed_frag
=1 # Number of current file.
16861 ac_beg
=1 # First line for current file.
16862 ac_end
=$ac_max_sed_lines # Line after last line for current file.
16865 while $ac_more_lines; do
16866 if test $ac_beg -gt 1; then
16867 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
16869 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
16871 if test ! -s $tmp/subs.frag
; then
16872 ac_more_lines
=false
16874 # The purpose of the label and of the branching condition is to
16875 # speed up the sed processing (if there are no `@' at all, there
16876 # is no need to browse any of the substitutions).
16877 # These are the two extra sed commands mentioned above.
16879 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
16880 if test -z "$ac_sed_cmds"; then
16881 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
16883 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
16885 ac_sed_frag
=`expr $ac_sed_frag + 1`
16887 ac_end
=`expr $ac_end + $ac_max_sed_lines`
16890 if test -z "$ac_sed_cmds"; then
16893 fi # test -n "$CONFIG_FILES"
16896 cat >>$CONFIG_STATUS <<\_ACEOF
16897 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
16898 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16900 - |
*:- |
*:-:* ) # input from stdin
16902 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16903 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16904 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16905 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16906 * ) ac_file_in
=$ac_file.
in ;;
16909 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
16910 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
16911 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16912 X"$ac_file" : 'X\(//\)[^/]' \| \
16913 X"$ac_file" : 'X\(//\)$' \| \
16914 X"$ac_file" : 'X\(/\)' \| \
16915 . : '\(.\)' 2>/dev/null ||
16917 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16918 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16919 /^X\(\/\/\)$/{ s//\1/; q; }
16920 /^X\(\/\).*/{ s//\1/; q; }
16922 { if $as_mkdir_p; then
16927 while test ! -d "$as_dir"; do
16928 as_dirs
="$as_dir $as_dirs"
16929 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16930 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16931 X"$as_dir" : 'X\(//\)[^/]' \| \
16932 X"$as_dir" : 'X\(//\)$' \| \
16933 X"$as_dir" : 'X\(/\)' \| \
16934 . : '\(.\)' 2>/dev/null ||
16936 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16937 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16938 /^X\(\/\/\)$/{ s//\1/; q; }
16939 /^X\(\/\).*/{ s//\1/; q; }
16942 test ! -n "$as_dirs" || mkdir
$as_dirs
16943 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16944 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16945 { (exit 1); exit 1; }; }; }
16949 if test "$ac_dir" != .
; then
16950 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16951 # A "../" for each directory in $ac_dir_suffix.
16952 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16954 ac_dir_suffix
= ac_top_builddir
=
16958 .
) # No --srcdir option. We are building in place.
16960 if test -z "$ac_top_builddir"; then
16963 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
16965 [\\/]* | ?
:[\\/]* ) # Absolute path.
16966 ac_srcdir
=$srcdir$ac_dir_suffix;
16967 ac_top_srcdir
=$srcdir ;;
16968 *) # Relative path.
16969 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
16970 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
16973 # Do not use `cd foo && pwd` to compute absolute paths, because
16974 # the directories may not exist.
16976 .
) ac_abs_builddir
="$ac_dir";;
16979 .
) ac_abs_builddir
=`pwd`;;
16980 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
16981 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
16984 case $ac_abs_builddir in
16985 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16987 case ${ac_top_builddir}.
in
16988 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
16989 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16990 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
16993 case $ac_abs_builddir in
16994 .
) ac_abs_srcdir
=$ac_srcdir;;
16997 .
) ac_abs_srcdir
=$ac_abs_builddir;;
16998 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
16999 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
17002 case $ac_abs_builddir in
17003 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
17005 case $ac_top_srcdir in
17006 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
17007 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
17008 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
17014 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17015 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
17018 if test x
"$ac_file" != x-
; then
17019 { echo "$as_me:$LINENO: creating $ac_file" >&5
17020 echo "$as_me: creating $ac_file" >&6;}
17023 # Let's still pretend it is `configure' which instantiates (i.e., don't
17024 # use $as_me), people would be surprised to read:
17025 # /* config.h. Generated by config.status. */
17026 if test x
"$ac_file" = x-
; then
17029 configure_input
="$ac_file. "
17031 configure_input
=$configure_input"Generated from `echo $ac_file_in |
17032 sed 's,.*/,,'` by configure."
17034 # First look for the input files in the build tree, otherwise in the
17036 ac_file_inputs
=`IFS=:
17037 for f in $ac_file_in; do
17039 -) echo $tmp/stdin ;;
17041 # Absolute (can't be DOS-style, as IFS=:)
17042 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17043 echo "$as_me: error: cannot find input file: $f" >&2;}
17044 { (exit 1); exit 1; }; }
17047 if test -f "$f"; then
17050 elif test -f "$srcdir/$f"; then
17055 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17056 echo "$as_me: error: cannot find input file: $f" >&2;}
17057 { (exit 1); exit 1; }; }
17060 done` ||
{ (exit 1); exit 1; }
17062 cat >>$CONFIG_STATUS <<_ACEOF
17066 cat >>$CONFIG_STATUS <<\_ACEOF
17068 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17069 s
,@configure_input@
,$configure_input,;t t
17070 s
,@srcdir@
,$ac_srcdir,;t t
17071 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
17072 s
,@top_srcdir@
,$ac_top_srcdir,;t t
17073 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
17074 s
,@builddir@
,$ac_builddir,;t t
17075 s
,@abs_builddir@
,$ac_abs_builddir,;t t
17076 s
,@top_builddir@
,$ac_top_builddir,;t t
17077 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
17078 s
,@INSTALL@
,$ac_INSTALL,;t t
17079 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
17081 if test x"$ac_file" != x-; then
17082 mv $tmp/out $ac_file
17090 cat >>$CONFIG_STATUS <<\_ACEOF
17093 # CONFIG_HEADER section.
17096 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
17097 # NAME is the cpp macro being defined and VALUE is the value it is being given.
17099 # ac_d sets the value in "#define NAME VALUE" lines.
17100 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
17101 ac_dB
='[ ].*$,\1#\2'
17104 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
17105 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17106 ac_uB
='$,\1#\2define\3'
17110 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
17111 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17113 - |
*:- |
*:-:* ) # input from stdin
17115 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17116 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17117 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17118 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17119 * ) ac_file_in
=$ac_file.
in ;;
17122 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
17123 echo "$as_me: creating $ac_file" >&6;}
17125 # First look for the input files in the build tree, otherwise in the
17127 ac_file_inputs
=`IFS=:
17128 for f in $ac_file_in; do
17130 -) echo $tmp/stdin ;;
17132 # Absolute (can't be DOS-style, as IFS=:)
17133 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17134 echo "$as_me: error: cannot find input file: $f" >&2;}
17135 { (exit 1); exit 1; }; }
17136 # Do quote $f, to prevent DOS paths from being IFS'd.
17139 if test -f "$f"; then
17142 elif test -f "$srcdir/$f"; then
17147 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17148 echo "$as_me: error: cannot find input file: $f" >&2;}
17149 { (exit 1); exit 1; }; }
17152 done` ||
{ (exit 1); exit 1; }
17153 # Remove the trailing spaces.
17154 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
17158 # Transform confdefs.h into two sed scripts, `conftest.defines' and
17159 # `conftest.undefs', that substitutes the proper values into
17160 # config.h.in to produce config.h. The first handles `#define'
17161 # templates, and the second `#undef' templates.
17162 # And first: Protect against being on the right side of a sed subst in
17163 # config.status. Protect against being in an unquoted here document
17164 # in config.status.
17165 rm -f conftest.defines conftest.undefs
17166 # Using a here document instead of a string reduces the quoting nightmare.
17167 # Putting comments in sed scripts is not portable.
17169 # `end' is used to avoid that the second main sed command (meant for
17170 # 0-ary CPP macros) applies to n-ary macro definitions.
17171 # See the Autoconf documentation for `clear'.
17172 cat >confdef2sed.
sed <<\_ACEOF
17177 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
17179 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
17182 # If some macros were called several times there might be several times
17183 # the same #defines, which is useless. Nevertheless, we may not want to
17184 # sort them, since we want the *last* AC-DEFINE to be honored.
17185 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
17186 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
17187 rm -f confdef2sed.sed
17189 # This sed command replaces #undef with comments. This is necessary, for
17190 # example, in the case of _POSIX_SOURCE, which is predefined and required
17191 # on some systems where configure will not decide to define it.
17192 cat >>conftest.undefs <<\_ACEOF
17193 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
17196 # Break up conftest.defines because some shells have a limit on the size
17197 # of here documents, and old seds have small limits too (100 cmds).
17198 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
17199 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
17200 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
17201 echo ' :' >>$CONFIG_STATUS
17202 rm -f conftest.tail
17203 while grep . conftest.defines >/dev/null
17205 # Write a limited-size here document to $tmp/defines.sed.
17206 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
17207 # Speed up: don't consider the non `#define' lines.
17208 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
17209 # Work around the forget-to-reset-the-flag bug.
17210 echo 't clr' >>$CONFIG_STATUS
17211 echo ': clr' >>$CONFIG_STATUS
17212 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
17214 sed -f $tmp/defines.sed $tmp/in >$tmp/out
17216 mv $tmp/out $tmp/in
17218 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
17219 rm -f conftest.defines
17220 mv conftest.
tail conftest.defines
17222 rm -f conftest.defines
17223 echo ' fi # grep' >>$CONFIG_STATUS
17224 echo >>$CONFIG_STATUS
17226 # Break up conftest.undefs because some shells have a limit on the size
17227 # of here documents, and old seds have small limits too (100 cmds).
17228 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
17229 rm -f conftest.
tail
17230 while grep . conftest.undefs
>/dev
/null
17232 # Write a limited-size here document to $tmp/undefs.sed.
17233 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
17234 # Speed up: don't consider the non
`#undef'
17235 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
17236 # Work around the forget-to-reset-the-flag bug.
17237 echo 't clr' >>$CONFIG_STATUS
17238 echo ': clr' >>$CONFIG_STATUS
17239 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
17241 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
17243 mv $tmp/out $tmp/in
17245 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
17246 rm -f conftest.undefs
17247 mv conftest.tail conftest.undefs
17249 rm -f conftest.undefs
17251 cat >>$CONFIG_STATUS <<\_ACEOF
17252 # Let's still pretend it is `configure
' which instantiates (i.e., don't
17253 # use $as_me), people would be surprised to read:
17254 # /* config.h. Generated by config.status. */
17255 if test x
"$ac_file" = x-
; then
17256 echo "/* Generated by configure. */" >$tmp/config.h
17258 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
17260 cat $tmp/in >>$tmp/config.h
17262 if test x
"$ac_file" != x-
; then
17263 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
17264 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
17265 echo "$as_me: $ac_file is unchanged" >&6;}
17267 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
17268 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17269 X"$ac_file" : 'X\(//\)[^/]' \| \
17270 X"$ac_file" : 'X\(//\)$' \| \
17271 X"$ac_file" : 'X\(/\)' \| \
17272 . : '\(.\)' 2>/dev/null ||
17274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17275 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17276 /^X\(\/\/\)$/{ s//\1/; q; }
17277 /^X\(\/\).*/{ s//\1/; q; }
17279 { if $as_mkdir_p; then
17284 while test ! -d "$as_dir"; do
17285 as_dirs
="$as_dir $as_dirs"
17286 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17287 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17288 X"$as_dir" : 'X\(//\)[^/]' \| \
17289 X"$as_dir" : 'X\(//\)$' \| \
17290 X"$as_dir" : 'X\(/\)' \| \
17291 . : '\(.\)' 2>/dev/null ||
17293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17294 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17295 /^X\(\/\/\)$/{ s//\1/; q; }
17296 /^X\(\/\).*/{ s//\1/; q; }
17299 test ! -n "$as_dirs" || mkdir
$as_dirs
17300 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17301 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17302 { (exit 1); exit 1; }; }; }
17305 mv $tmp/config.h
$ac_file
17309 rm -f $tmp/config.h
17311 # Compute $ac_file's index in $config_headers.
17313 for _am_header
in $config_headers :; do
17314 case $_am_header in
17315 $ac_file |
$ac_file:* )
17318 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17321 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
17322 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17323 X$ac_file : 'X\(//\)[^/]' \| \
17324 X$ac_file : 'X\(//\)$' \| \
17325 X$ac_file : 'X\(/\)' \| \
17326 . : '\(.\)' 2>/dev/null ||
17328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17329 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17330 /^X\(\/\/\)$/{ s//\1/; q; }
17331 /^X\(\/\).*/{ s//\1/; q; }
17332 s/.*/./; q'`/stamp-h
$_am_stamp_count
17335 cat >>$CONFIG_STATUS <<\_ACEOF
17338 # CONFIG_LINKS section.
17341 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
17342 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
17343 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17345 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
17346 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
17348 if test ! -r $srcdir/$ac_source; then
17349 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
17350 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
17351 { (exit 1); exit 1; }; }
17355 # Make relative symlinks.
17356 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
17357 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17358 X"$ac_dest" : 'X\(//\)[^/]' \| \
17359 X"$ac_dest" : 'X\(//\)$' \| \
17360 X"$ac_dest" : 'X\(/\)' \| \
17361 . : '\(.\)' 2>/dev/null ||
17363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17364 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17365 /^X\(\/\/\)$/{ s//\1/; q; }
17366 /^X\(\/\).*/{ s//\1/; q; }
17368 { if $as_mkdir_p; then
17369 mkdir
-p "$ac_dest_dir"
17371 as_dir
="$ac_dest_dir"
17373 while test ! -d "$as_dir"; do
17374 as_dirs
="$as_dir $as_dirs"
17375 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17376 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17377 X"$as_dir" : 'X\(//\)[^/]' \| \
17378 X"$as_dir" : 'X\(//\)$' \| \
17379 X"$as_dir" : 'X\(/\)' \| \
17380 . : '\(.\)' 2>/dev/null ||
17382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17383 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17384 /^X\(\/\/\)$/{ s//\1/; q; }
17385 /^X\(\/\).*/{ s//\1/; q; }
17388 test ! -n "$as_dirs" || mkdir
$as_dirs
17389 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
17390 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
17391 { (exit 1); exit 1; }; }; }
17395 if test "$ac_dest_dir" != .
; then
17396 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
17397 # A "../" for each directory in $ac_dir_suffix.
17398 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17400 ac_dir_suffix
= ac_top_builddir
=
17404 .
) # No --srcdir option. We are building in place.
17406 if test -z "$ac_top_builddir"; then
17409 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
17411 [\\/]* | ?
:[\\/]* ) # Absolute path.
17412 ac_srcdir
=$srcdir$ac_dir_suffix;
17413 ac_top_srcdir
=$srcdir ;;
17414 *) # Relative path.
17415 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
17416 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
17419 # Do not use `cd foo && pwd` to compute absolute paths, because
17420 # the directories may not exist.
17422 .
) ac_abs_builddir
="$ac_dest_dir";;
17424 case "$ac_dest_dir" in
17425 .
) ac_abs_builddir
=`pwd`;;
17426 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
17427 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
17430 case $ac_abs_builddir in
17431 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17433 case ${ac_top_builddir}.
in
17434 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
17435 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17436 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
17439 case $ac_abs_builddir in
17440 .
) ac_abs_srcdir
=$ac_srcdir;;
17443 .
) ac_abs_srcdir
=$ac_abs_builddir;;
17444 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
17445 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
17448 case $ac_abs_builddir in
17449 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
17451 case $ac_top_srcdir in
17452 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
17453 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
17454 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
17460 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
17461 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
17464 # Try a symlink, then a hard link, then a copy.
17465 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
17466 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
17467 cp -p $srcdir/$ac_source $ac_dest ||
17468 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
17469 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
17470 { (exit 1); exit 1; }; }
17473 cat >>$CONFIG_STATUS <<\_ACEOF
17476 # CONFIG_COMMANDS section.
17478 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
17479 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
17480 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17481 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
17482 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17483 X"$ac_dest" : 'X\(//\)[^/]' \| \
17484 X"$ac_dest" : 'X\(//\)$' \| \
17485 X"$ac_dest" : 'X\(/\)' \| \
17486 . : '\(.\)' 2>/dev/null ||
17488 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17489 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17490 /^X\(\/\/\)$/{ s//\1/; q; }
17491 /^X\(\/\).*/{ s//\1/; q; }
17493 { if $as_mkdir_p; then
17498 while test ! -d "$as_dir"; do
17499 as_dirs
="$as_dir $as_dirs"
17500 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17501 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17502 X"$as_dir" : 'X\(//\)[^/]' \| \
17503 X"$as_dir" : 'X\(//\)$' \| \
17504 X"$as_dir" : 'X\(/\)' \| \
17505 . : '\(.\)' 2>/dev/null ||
17507 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17508 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17509 /^X\(\/\/\)$/{ s//\1/; q; }
17510 /^X\(\/\).*/{ s//\1/; q; }
17513 test ! -n "$as_dirs" || mkdir
$as_dirs
17514 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17515 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17516 { (exit 1); exit 1; }; }; }
17520 if test "$ac_dir" != .
; then
17521 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17522 # A "../" for each directory in $ac_dir_suffix.
17523 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17525 ac_dir_suffix
= ac_top_builddir
=
17529 .
) # No --srcdir option. We are building in place.
17531 if test -z "$ac_top_builddir"; then
17534 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
17536 [\\/]* | ?
:[\\/]* ) # Absolute path.
17537 ac_srcdir
=$srcdir$ac_dir_suffix;
17538 ac_top_srcdir
=$srcdir ;;
17539 *) # Relative path.
17540 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
17541 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
17544 # Do not use `cd foo && pwd` to compute absolute paths, because
17545 # the directories may not exist.
17547 .
) ac_abs_builddir
="$ac_dir";;
17550 .
) ac_abs_builddir
=`pwd`;;
17551 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
17552 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
17555 case $ac_abs_builddir in
17556 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17558 case ${ac_top_builddir}.
in
17559 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
17560 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17561 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
17564 case $ac_abs_builddir in
17565 .
) ac_abs_srcdir
=$ac_srcdir;;
17568 .
) ac_abs_srcdir
=$ac_abs_builddir;;
17569 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
17570 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
17573 case $ac_abs_builddir in
17574 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
17576 case $ac_top_srcdir in
17577 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
17578 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
17579 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
17584 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
17585 echo "$as_me: executing $ac_dest commands" >&6;}
17587 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
17588 # Strip MF so we end up with the name of the file.
17589 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17590 # Check whether this is an Automake generated Makefile or not.
17591 # We used to match only the files named `Makefile.in', but
17592 # some people rename them; so instead we look at the file content.
17593 # Grep'ing the first line is not enough: some people post-process
17594 # each Makefile.in and add a new line on top of each file to say so.
17595 # So let's grep whole file.
17596 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
17597 dirpart
=`(dirname "$mf") 2>/dev/null ||
17598 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17599 X"$mf" : 'X\(//\)[^/]' \| \
17600 X"$mf" : 'X\(//\)$' \| \
17601 X"$mf" : 'X\(/\)' \| \
17602 . : '\(.\)' 2>/dev/null ||
17604 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17605 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17606 /^X\(\/\/\)$/{ s//\1/; q; }
17607 /^X\(\/\).*/{ s//\1/; q; }
17612 # Extract the definition of DEPDIR, am__include, and am__quote
17613 # from the Makefile without running `make'.
17614 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17615 test -z "$DEPDIR" && continue
17616 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17617 test -z "am__include" && continue
17618 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17619 # When using ansi2knr, U may be empty or an underscore; expand it
17620 U
=`sed -n 's/^U = //p' < "$mf"`
17621 # Find all dependency output files, they are included files with
17622 # $(DEPDIR) in their names. We invoke sed twice because it is the
17623 # simplest approach to changing $(DEPDIR) to its actual value in the
17625 for file in `sed -n "
17626 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17627 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17628 # Make sure the directory exists.
17629 test -f "$dirpart/$file" && continue
17630 fdir
=`(dirname "$file") 2>/dev/null ||
17631 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17632 X"$file" : 'X\(//\)[^/]' \| \
17633 X"$file" : 'X\(//\)$' \| \
17634 X"$file" : 'X\(/\)' \| \
17635 . : '\(.\)' 2>/dev/null ||
17637 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17638 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17639 /^X\(\/\/\)$/{ s//\1/; q; }
17640 /^X\(\/\).*/{ s//\1/; q; }
17642 { if $as_mkdir_p; then
17643 mkdir
-p $dirpart/$fdir
17645 as_dir
=$dirpart/$fdir
17647 while test ! -d "$as_dir"; do
17648 as_dirs
="$as_dir $as_dirs"
17649 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17650 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17651 X"$as_dir" : 'X\(//\)[^/]' \| \
17652 X"$as_dir" : 'X\(//\)$' \| \
17653 X"$as_dir" : 'X\(/\)' \| \
17654 . : '\(.\)' 2>/dev/null ||
17656 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17657 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17658 /^X\(\/\/\)$/{ s//\1/; q; }
17659 /^X\(\/\).*/{ s//\1/; q; }
17662 test ! -n "$as_dirs" || mkdir
$as_dirs
17663 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
17664 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
17665 { (exit 1); exit 1; }; }; }
17667 # echo "creating $dirpart/$file"
17668 echo '# dummy' > "$dirpart/$file"
17672 default
) # Only add multilib support code if we just rebuilt top-level Makefile.
17673 case " $CONFIG_FILES " in
17675 LD
="${ORIGINAL_LD_FOR_MULTILIBS}"
17676 ac_file
=Makefile .
${libgcj_basedir}/..
/config-ml.
in
17679 for ac_multi_file
in $CONFIG_FILES; do
17680 case $ac_multi_file in
17682 grep "^MULTI[^ ]* =" Makefile
>> "$ac_multi_file" ;;
17690 cat >>$CONFIG_STATUS <<\_ACEOF
17692 { (exit 0); exit 0; }
17694 chmod +x
$CONFIG_STATUS
17695 ac_clean_files
=$ac_clean_files_save
17698 # configure is writing to config.log, and then calls config.status.
17699 # config.status does its own redirection, appending to config.log.
17700 # Unfortunately, on DOS this fails, as config.log is still kept open
17701 # by configure, so config.status won't be able to write to it; its
17702 # output is simply discarded. So we exec the FD to /dev/null,
17703 # effectively closing config.log, so it can be properly (re)opened and
17704 # appended to by config.status. When coming back to configure, we
17705 # need to make the FD available again.
17706 if test "$no_create" != yes; then
17708 ac_config_status_args
=
17709 test "$silent" = yes &&
17710 ac_config_status_args
="$ac_config_status_args --quiet"
17712 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17714 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17715 # would make configure fail if this is the last instruction.
17716 $ac_cs_success ||
{ (exit 1); exit 1; }
17720 # CONFIG_SUBDIRS section.
17722 if test "$no_recursion" != yes; then
17724 # Remove --cache-file and --srcdir arguments so they do not pile up.
17725 ac_sub_configure_args
=
17727 for ac_arg
in $ac_configure_args; do
17728 if test -n "$ac_prev"; then
17733 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
17734 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
17735 ac_prev
=cache_file
;;
17736 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
17737 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
17740 --config-cache |
-C)
17742 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
17744 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
17746 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
17748 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
17750 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
17754 # Always prepend --prefix to ensure using the same prefix
17755 # in subdir configurations.
17756 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
17759 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
17761 # Do not complain, so a configure script can configure whichever
17762 # parts of a large source tree are present.
17763 test -d $srcdir/$ac_dir ||
continue
17765 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
17766 echo "$as_me: configuring in $ac_dir" >&6;}
17767 { if $as_mkdir_p; then
17772 while test ! -d "$as_dir"; do
17773 as_dirs
="$as_dir $as_dirs"
17774 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17775 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17776 X"$as_dir" : 'X\(//\)[^/]' \| \
17777 X"$as_dir" : 'X\(//\)$' \| \
17778 X"$as_dir" : 'X\(/\)' \| \
17779 . : '\(.\)' 2>/dev/null ||
17781 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17782 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17783 /^X\(\/\/\)$/{ s//\1/; q; }
17784 /^X\(\/\).*/{ s//\1/; q; }
17787 test ! -n "$as_dirs" || mkdir
$as_dirs
17788 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17789 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17790 { (exit 1); exit 1; }; }; }
17794 if test "$ac_dir" != .
; then
17795 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17796 # A "../" for each directory in $ac_dir_suffix.
17797 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17799 ac_dir_suffix
= ac_top_builddir
=
17803 .
) # No --srcdir option. We are building in place.
17805 if test -z "$ac_top_builddir"; then
17808 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
17810 [\\/]* | ?
:[\\/]* ) # Absolute path.
17811 ac_srcdir
=$srcdir$ac_dir_suffix;
17812 ac_top_srcdir
=$srcdir ;;
17813 *) # Relative path.
17814 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
17815 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
17818 # Do not use `cd foo && pwd` to compute absolute paths, because
17819 # the directories may not exist.
17821 .
) ac_abs_builddir
="$ac_dir";;
17824 .
) ac_abs_builddir
=`pwd`;;
17825 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
17826 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
17829 case $ac_abs_builddir in
17830 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17832 case ${ac_top_builddir}.
in
17833 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
17834 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17835 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
17838 case $ac_abs_builddir in
17839 .
) ac_abs_srcdir
=$ac_srcdir;;
17842 .
) ac_abs_srcdir
=$ac_abs_builddir;;
17843 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
17844 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
17847 case $ac_abs_builddir in
17848 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
17850 case $ac_top_srcdir in
17851 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
17852 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
17853 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
17860 # Check for guested configure; otherwise get Cygnus style configure.
17861 if test -f $ac_srcdir/configure.gnu
; then
17862 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
17863 elif test -f $ac_srcdir/configure
; then
17864 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
17865 elif test -f $ac_srcdir/configure.
in; then
17866 ac_sub_configure
=$ac_configure
17868 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
17869 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
17873 # The recursion is here.
17874 if test -n "$ac_sub_configure"; then
17875 # Make the cache file name correct relative to the subdirectory.
17876 case $cache_file in
17877 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
17878 *) # Relative path.
17879 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
17882 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
17883 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
17884 # The eval makes quoting arguments work.
17885 eval $ac_sub_configure $ac_sub_configure_args \
17886 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
17887 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
17888 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
17889 { (exit 1); exit 1; }; }