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 libgcj_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical LN_S mkinstalldirs CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LDFLAGS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA 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 INCLTDL LIBLTDL DIRLTDL LIBTOOL CXXCPP CPPFLAGS GCJ GCJFLAGS GCJDEPMODE am__fastdepGCJ_TRUE am__fastdepGCJ_FALSE subdirs COMPPATH TESTSUBDIR_TRUE TESTSUBDIR_FALSE ONESTEP_TRUE ONESTEP_FALSE 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 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 tool_include_dir gcc_version LIBICONV GTK_CFLAGS GTK_LIBS GLIB_CFLAGS GLIB_LIBS LIBART_CFLAGS LIBART_LIBS SUPPLY_BACKTRACE_TRUE SUPPLY_BACKTRACE_FALSE GCJH ZIP 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 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)
883 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
884 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
885 --with-target-subdir=SUBDIR
886 configure in a subdirectory
887 --with-cross-host=HOST configure with a cross compiler from HOST
888 --with-newlib configure with newlib
889 --with-gnu-ld assume the C compiler uses GNU ld default=no
890 --with-pic try to use only PIC/non-PIC objects default=use both
891 --with-win32-nlsapi=ansi or unicows or unicode
892 native MinGW libgcj Win32 OS API (default is ansi)
893 --without-libffi don't use libffi
894 --with-ecos enable runtime eCos target support
895 --with-system-zlib use installed libz
896 --with-x use the X Window System
897 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
899 Some influential environment variables
:
900 CC C compiler
command
901 CFLAGS C compiler flags
902 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
903 nonstandard directory
<lib dir
>
904 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
905 headers
in a nonstandard directory
<include dir
>
906 CXX C
++ compiler
command
907 CXXFLAGS C
++ compiler flags
908 CXXCPP C
++ preprocessor
911 Use these variables to override the choices made by
`configure' or to help
912 it to find libraries and programs with nonstandard names/locations.
917 if test "$ac_init_help" = "recursive"; then
918 # If there are subdirs, report their specific --help.
920 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
921 test -d $ac_dir || continue
924 if test "$ac_dir" != .; then
925 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
926 # A "../" for each directory in $ac_dir_suffix.
927 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
929 ac_dir_suffix= ac_top_builddir=
933 .) # No --srcdir option. We are building in place.
935 if test -z "$ac_top_builddir"; then
938 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
940 [\\/]* | ?:[\\/]* ) # Absolute path.
941 ac_srcdir=$srcdir$ac_dir_suffix;
942 ac_top_srcdir=$srcdir ;;
944 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
945 ac_top_srcdir=$ac_top_builddir$srcdir ;;
948 # Do not use `cd foo
&& pwd` to compute absolute paths, because
949 # the directories may not exist.
951 .) ac_abs_builddir="$ac_dir";;
954 .) ac_abs_builddir=`pwd`;;
955 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
956 *) ac_abs_builddir=`pwd`/"$ac_dir";;
959 case $ac_abs_builddir in
960 .) ac_abs_top_builddir=${ac_top_builddir}.;;
962 case ${ac_top_builddir}. in
963 .) ac_abs_top_builddir=$ac_abs_builddir;;
964 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
965 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
968 case $ac_abs_builddir in
969 .) ac_abs_srcdir=$ac_srcdir;;
972 .) ac_abs_srcdir=$ac_abs_builddir;;
973 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
974 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
977 case $ac_abs_builddir in
978 .) ac_abs_top_srcdir=$ac_top_srcdir;;
980 case $ac_top_srcdir in
981 .) ac_abs_top_srcdir=$ac_abs_builddir;;
982 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
983 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
988 # Check for guested configure; otherwise get Cygnus style configure.
989 if test -f $ac_srcdir/configure.gnu; then
991 $SHELL $ac_srcdir/configure.gnu --help=recursive
992 elif test -f $ac_srcdir/configure; then
994 $SHELL $ac_srcdir/configure --help=recursive
995 elif test -f $ac_srcdir/configure.ac ||
996 test -f $ac_srcdir/configure.in; then
1000 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1006 test -n "$ac_init_help" && exit 0
1007 if $ac_init_version; then
1009 libjava configure version-unused
1010 generated by GNU Autoconf 2.59
1012 Copyright (C) 2003 Free Software Foundation, Inc.
1013 This configure script is free software; the Free Software Foundation
1014 gives unlimited permission to copy, distribute and modify it.
1020 This file contains any messages produced by compilers while
1021 running configure, to aid debugging if configure makes a mistake.
1023 It was created by libjava $as_me version-unused, which was
1024 generated by GNU Autoconf 2.59. Invocation command line was
1035 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1036 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1037 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1038 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1039 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1041 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1042 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1044 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1045 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1046 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1047 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1048 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1049 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1050 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1058 test -z "$as_dir" && as_dir=.
1059 echo "PATH: $as_dir"
1074 # Keep a trace of the command line.
1075 # Strip out --no-create and --no-recursion so they do not pile up.
1076 # Strip out --silent because we don't want to record it for future runs.
1077 # Also quote any args containing shell meta-characters.
1078 # Make two passes to allow for proper duplicate-argument suppression.
1083 ac_must_keep_next=false
1089 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1090 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1091 | -silent | --silent | --silen | --sile | --sil)
1093 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1094 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1097 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1099 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1100 if test $ac_must_keep_next = true; then
1101 ac_must_keep_next=false # Got value, back to normal.
1104 *=* | --config-cache | -C | -disable-* | --disable-* \
1105 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1106 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1107 | -with-* | --with-* | -without-* | --without-* | --x)
1108 case "$ac_configure_args0 " in
1109 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1112 -* ) ac_must_keep_next=true ;;
1115 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1116 # Get rid of the leading space.
1122 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1123 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1125 # When interrupted or exit'd, cleanup temporary files, and complete
1126 # config.log. We remove comments because anyway the quotes in there
1127 # would cause problems or look ugly.
1128 # WARNING: Be sure not to use single quotes in there, as some shells,
1129 # such as our DU 5.0 friend, will then `close
' the trap.
1130 trap 'exit_status
=$?
1131 # Save into config.log some information that might help in debugging.
1136 ## ---------------- ##
1137 ## Cache variables. ##
1138 ## ---------------- ##
1141 # The following way of writing the cache mishandles newlines in values,
1144 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1147 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1148 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1152 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1159 ## ----------------- ##
1160 ## Output variables. ##
1161 ## ----------------- ##
1164 for ac_var
in $ac_subst_vars
1166 eval ac_val
=$
`echo $ac_var`
1167 echo "$ac_var='"'"'$ac_val'"'"'"
1171 if test -n "$ac_subst_files"; then
1178 for ac_var
in $ac_subst_files
1180 eval ac_val
=$
`echo $ac_var`
1181 echo "$ac_var='"'"'$ac_val'"'"'"
1186 if test -s confdefs.h
; then
1193 sed "/^$/d" confdefs.h |
sort
1196 test "$ac_signal" != 0 &&
1197 echo "$as_me: caught signal $ac_signal"
1198 echo "$as_me: exit $exit_status"
1200 rm -f core
*.core
&&
1201 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1204 for ac_signal in 1 2 13 15; do
1205 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1209 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1210 rm -rf conftest* confdefs.h
1211 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1214 # Predefined preprocessor variables.
1216 cat >>confdefs.h <<_ACEOF
1217 #define PACKAGE_NAME "$PACKAGE_NAME"
1221 cat >>confdefs.h <<_ACEOF
1222 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1226 cat >>confdefs.h <<_ACEOF
1227 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1231 cat >>confdefs.h <<_ACEOF
1232 #define PACKAGE_STRING "$PACKAGE_STRING"
1236 cat >>confdefs.h <<_ACEOF
1237 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1241 # Let the site file select an alternate cache file if it wants to.
1242 # Prefer explicitly selected file to automatically selected ones.
1243 if test -z "$CONFIG_SITE"; then
1244 if test "x$prefix" != xNONE; then
1245 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1247 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1250 for ac_site_file in $CONFIG_SITE; do
1251 if test -r "$ac_site_file"; then
1252 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1253 echo "$as_me: loading site script $ac_site_file" >&6;}
1254 sed 's
/^
/|
/' "$ac_site_file" >&5
1259 if test -r "$cache_file"; then
1260 # Some versions of bash will fail to source /dev/null (special
1261 # files actually), so we avoid doing that.
1262 if test -f "$cache_file"; then
1263 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1264 echo "$as_me: loading cache $cache_file" >&6;}
1266 [\\/]* | ?:[\\/]* ) . $cache_file;;
1267 *) . ./$cache_file;;
1271 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1272 echo "$as_me: creating cache $cache_file" >&6;}
1276 # Check that the precious variables saved in the cache have kept the same
1278 ac_cache_corrupted=false
1279 for ac_var in `(set) 2>&1 |
1280 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1281 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1282 eval ac_new_set=\$ac_env_${ac_var}_set
1283 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1284 eval ac_new_val="\$ac_env_${ac_var}_value"
1285 case $ac_old_set,$ac_new_set in
1287 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1288 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1289 ac_cache_corrupted=: ;;
1291 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1292 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1293 ac_cache_corrupted=: ;;
1296 if test "x$ac_old_val" != "x$ac_new_val"; then
1297 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1298 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1299 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1300 echo "$as_me: former value: $ac_old_val" >&2;}
1301 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1302 echo "$as_me: current value: $ac_new_val" >&2;}
1303 ac_cache_corrupted=:
1306 # Pass precious variables to config.status.
1307 if test "$ac_new_set" = set; then
1309 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1310 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1311 *) ac_arg=$ac_var=$ac_new_val ;;
1313 case " $ac_configure_args " in
1314 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1315 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1319 if $ac_cache_corrupted; then
1320 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1321 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1322 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1323 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1324 { (exit 1); exit 1; }; }
1328 ac_cpp='$CPP $CPPFLAGS'
1329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1330 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1362 # We use these options to decide which functions to include.
1364 # Check whether --with-target-subdir or --without-target-subdir was given.
1365 if test "${with_target_subdir+set}" = set; then
1366 withval="$with_target_subdir"
1370 # We may get other options which we don't document
:
1371 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1373 # When building with srcdir == objdir, links to the source files will
1374 # be created in directories within the target_subdir. We have to
1375 # adjust toplevel_srcdir accordingly, so that configure finds
1376 # install-sh and other auxiliary files that live in the top-level
1378 if test "${srcdir}" = "."; then
1379 if test -z "${with_target_subdir}"; then
1382 if test "${with_target_subdir}" != "."; then
1383 toprel
="${with_multisrctop}../.."
1385 toprel
="${with_multisrctop}.."
1392 libgcj_basedir
=$srcdir/$toprel/.
/libjava
1396 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1397 if test -f $ac_dir/install-sh
; then
1399 ac_install_sh
="$ac_aux_dir/install-sh -c"
1401 elif test -f $ac_dir/install.sh
; then
1403 ac_install_sh
="$ac_aux_dir/install.sh -c"
1405 elif test -f $ac_dir/shtool
; then
1407 ac_install_sh
="$ac_aux_dir/shtool install -c"
1411 if test -z "$ac_aux_dir"; then
1412 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1413 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1414 { (exit 1); exit 1; }; }
1416 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1417 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1418 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1420 # Make sure we can run config.sub.
1421 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1422 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1423 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1424 { (exit 1); exit 1; }; }
1426 echo "$as_me:$LINENO: checking build system type" >&5
1427 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1428 if test "${ac_cv_build+set}" = set; then
1429 echo $ECHO_N "(cached) $ECHO_C" >&6
1431 ac_cv_build_alias
=$build_alias
1432 test -z "$ac_cv_build_alias" &&
1433 ac_cv_build_alias
=`$ac_config_guess`
1434 test -z "$ac_cv_build_alias" &&
1435 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1436 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1437 { (exit 1); exit 1; }; }
1438 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1439 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1440 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1441 { (exit 1); exit 1; }; }
1444 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1445 echo "${ECHO_T}$ac_cv_build" >&6
1447 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1448 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1449 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1452 echo "$as_me:$LINENO: checking host system type" >&5
1453 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1454 if test "${ac_cv_host+set}" = set; then
1455 echo $ECHO_N "(cached) $ECHO_C" >&6
1457 ac_cv_host_alias
=$host_alias
1458 test -z "$ac_cv_host_alias" &&
1459 ac_cv_host_alias
=$ac_cv_build_alias
1460 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1461 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1462 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1463 { (exit 1); exit 1; }; }
1466 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1467 echo "${ECHO_T}$ac_cv_host" >&6
1469 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1470 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1471 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1474 echo "$as_me:$LINENO: checking target system type" >&5
1475 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1476 if test "${ac_cv_target+set}" = set; then
1477 echo $ECHO_N "(cached) $ECHO_C" >&6
1479 ac_cv_target_alias
=$target_alias
1480 test "x$ac_cv_target_alias" = "x" &&
1481 ac_cv_target_alias
=$ac_cv_host_alias
1482 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1483 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1484 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1485 { (exit 1); exit 1; }; }
1488 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1489 echo "${ECHO_T}$ac_cv_target" >&6
1490 target
=$ac_cv_target
1491 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1492 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1493 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1496 # The aliases save the names the user supplied, while $host etc.
1497 # will get canonicalized.
1498 test -n "$target_alias" &&
1499 test "$program_prefix$program_suffix$program_transform_name" = \
1501 program_prefix
=${target_alias}-
1502 case ${build_alias} in
1503 "") build_noncanonical
=${build} ;;
1504 *) build_noncanonical
=${build_alias} ;;
1507 case ${host_alias} in
1508 "") host_noncanonical
=${build_noncanonical} ;;
1509 *) host_noncanonical
=${host_alias} ;;
1512 case ${target_alias} in
1513 "") target_noncanonical
=${host_noncanonical} ;;
1514 *) target_noncanonical
=${target_alias} ;;
1520 # This works around the fact that libtool configuration may change LD
1521 # for this particular configuration, but some shells, instead of
1522 # keeping the changes in LD private, export them just because LD is
1524 ORIGINAL_LD_FOR_MULTILIBS
=$LD
1526 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1527 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1529 if test "$LN_S" = "ln -s"; then
1530 echo "$as_me:$LINENO: result: yes" >&5
1531 echo "${ECHO_T}yes" >&6
1533 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1534 echo "${ECHO_T}no, using $LN_S" >&6
1538 # This works around an automake problem.
1539 mkinstalldirs
="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
1543 # Check whether --with-cross-host or --without-cross-host was given.
1544 if test "${with_cross_host+set}" = set; then
1545 withval
="$with_cross_host"
1550 # Check whether --with-newlib or --without-newlib was given.
1551 if test "${with_newlib+set}" = set; then
1552 withval
="$with_newlib"
1556 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1557 if test "${enable_version_specific_runtime_libs+set}" = set; then
1558 enableval
="$enable_version_specific_runtime_libs"
1559 case "$enableval" in
1560 yes) version_specific_libs
=yes ;;
1561 no
) version_specific_libs
=no
;;
1562 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1563 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1564 { (exit 1); exit 1; }; };;
1567 version_specific_libs
=no
1571 # Default to --enable-multilib
1572 # Check whether --enable-multilib or --disable-multilib was given.
1573 if test "${enable_multilib+set}" = set; then
1574 enableval
="$enable_multilib"
1575 case "${enableval}" in
1576 yes) multilib
=yes ;;
1578 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
1579 echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
1580 { (exit 1); exit 1; }; } ;;
1585 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
1588 # (1) We use an abnormal CXX (without library references), so we
1589 # must cache it under a different name.
1590 # (2) CC, CFLAGS, CXX, CXXFLAGS, LDFLAGS must not be 'precious', or
1591 # the non-multilib-adjusted value will be used in multilibs.
1592 # (3) As a side effect, we must SUBST CXXFLAGS, CFLAGS, and LDFLAGS ourselves.
1593 # (4) As another side effect, automake doesn't automatically include them
1595 # (5) For libstdc++-v3, -fno-builtin must be present here so that a
1596 # non-conflicting form of std::exit can be guessed by AC_PROG_CXX, and
1597 # used in later tests. This may not be necessary in libjava; I don't know.
1601 save_CXXFLAGS
="$CXXFLAGS"
1602 CXXFLAGS
="$CXXFLAGS -fno-builtin"
1604 ac_cpp
='$CPP $CPPFLAGS'
1605 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1606 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1607 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1608 if test -n "$ac_tool_prefix"; then
1609 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1610 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1611 echo "$as_me:$LINENO: checking for $ac_word" >&5
1612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1613 if test "${ac_cv_prog_CC+set}" = set; then
1614 echo $ECHO_N "(cached) $ECHO_C" >&6
1616 if test -n "$CC"; then
1617 ac_cv_prog_CC
="$CC" # Let the user override the test.
1619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1623 test -z "$as_dir" && as_dir
=.
1624 for ac_exec_ext
in '' $ac_executable_extensions; do
1625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1626 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1636 if test -n "$CC"; then
1637 echo "$as_me:$LINENO: result: $CC" >&5
1638 echo "${ECHO_T}$CC" >&6
1640 echo "$as_me:$LINENO: result: no" >&5
1641 echo "${ECHO_T}no" >&6
1645 if test -z "$ac_cv_prog_CC"; then
1647 # Extract the first word of "gcc", so it can be a program name with args.
1648 set dummy gcc
; ac_word
=$2
1649 echo "$as_me:$LINENO: checking for $ac_word" >&5
1650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1651 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1652 echo $ECHO_N "(cached) $ECHO_C" >&6
1654 if test -n "$ac_ct_CC"; then
1655 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1661 test -z "$as_dir" && as_dir
=.
1662 for ac_exec_ext
in '' $ac_executable_extensions; do
1663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1664 ac_cv_prog_ac_ct_CC
="gcc"
1665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1673 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1674 if test -n "$ac_ct_CC"; then
1675 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1676 echo "${ECHO_T}$ac_ct_CC" >&6
1678 echo "$as_me:$LINENO: result: no" >&5
1679 echo "${ECHO_T}no" >&6
1687 if test -z "$CC"; then
1688 if test -n "$ac_tool_prefix"; then
1689 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1690 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1691 echo "$as_me:$LINENO: checking for $ac_word" >&5
1692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1693 if test "${ac_cv_prog_CC+set}" = set; then
1694 echo $ECHO_N "(cached) $ECHO_C" >&6
1696 if test -n "$CC"; then
1697 ac_cv_prog_CC
="$CC" # Let the user override the test.
1699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1703 test -z "$as_dir" && as_dir
=.
1704 for ac_exec_ext
in '' $ac_executable_extensions; do
1705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1706 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1716 if test -n "$CC"; then
1717 echo "$as_me:$LINENO: result: $CC" >&5
1718 echo "${ECHO_T}$CC" >&6
1720 echo "$as_me:$LINENO: result: no" >&5
1721 echo "${ECHO_T}no" >&6
1725 if test -z "$ac_cv_prog_CC"; then
1727 # Extract the first word of "cc", so it can be a program name with args.
1728 set dummy cc
; ac_word
=$2
1729 echo "$as_me:$LINENO: checking for $ac_word" >&5
1730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1731 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1732 echo $ECHO_N "(cached) $ECHO_C" >&6
1734 if test -n "$ac_ct_CC"; then
1735 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1741 test -z "$as_dir" && as_dir
=.
1742 for ac_exec_ext
in '' $ac_executable_extensions; do
1743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1744 ac_cv_prog_ac_ct_CC
="cc"
1745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1753 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1754 if test -n "$ac_ct_CC"; then
1755 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1756 echo "${ECHO_T}$ac_ct_CC" >&6
1758 echo "$as_me:$LINENO: result: no" >&5
1759 echo "${ECHO_T}no" >&6
1768 if test -z "$CC"; then
1769 # Extract the first word of "cc", so it can be a program name with args.
1770 set dummy cc
; ac_word
=$2
1771 echo "$as_me:$LINENO: checking for $ac_word" >&5
1772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1773 if test "${ac_cv_prog_CC+set}" = set; then
1774 echo $ECHO_N "(cached) $ECHO_C" >&6
1776 if test -n "$CC"; then
1777 ac_cv_prog_CC
="$CC" # Let the user override the test.
1780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1784 test -z "$as_dir" && as_dir
=.
1785 for ac_exec_ext
in '' $ac_executable_extensions; do
1786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1787 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1788 ac_prog_rejected
=yes
1792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1798 if test $ac_prog_rejected = yes; then
1799 # We found a bogon in the path, so make sure we never use it.
1800 set dummy
$ac_cv_prog_CC
1802 if test $# != 0; then
1803 # We chose a different compiler from the bogus one.
1804 # However, it has the same basename, so the bogon will be chosen
1805 # first if we set CC to just the basename; use the full file name.
1807 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1813 if test -n "$CC"; then
1814 echo "$as_me:$LINENO: result: $CC" >&5
1815 echo "${ECHO_T}$CC" >&6
1817 echo "$as_me:$LINENO: result: no" >&5
1818 echo "${ECHO_T}no" >&6
1822 if test -z "$CC"; then
1823 if test -n "$ac_tool_prefix"; then
1826 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1827 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1828 echo "$as_me:$LINENO: checking for $ac_word" >&5
1829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1830 if test "${ac_cv_prog_CC+set}" = set; then
1831 echo $ECHO_N "(cached) $ECHO_C" >&6
1833 if test -n "$CC"; then
1834 ac_cv_prog_CC
="$CC" # Let the user override the test.
1836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1840 test -z "$as_dir" && as_dir
=.
1841 for ac_exec_ext
in '' $ac_executable_extensions; do
1842 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1843 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1853 if test -n "$CC"; then
1854 echo "$as_me:$LINENO: result: $CC" >&5
1855 echo "${ECHO_T}$CC" >&6
1857 echo "$as_me:$LINENO: result: no" >&5
1858 echo "${ECHO_T}no" >&6
1861 test -n "$CC" && break
1864 if test -z "$CC"; then
1868 # Extract the first word of "$ac_prog", so it can be a program name with args.
1869 set dummy
$ac_prog; ac_word
=$2
1870 echo "$as_me:$LINENO: checking for $ac_word" >&5
1871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1872 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1873 echo $ECHO_N "(cached) $ECHO_C" >&6
1875 if test -n "$ac_ct_CC"; then
1876 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1882 test -z "$as_dir" && as_dir
=.
1883 for ac_exec_ext
in '' $ac_executable_extensions; do
1884 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1885 ac_cv_prog_ac_ct_CC
="$ac_prog"
1886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1894 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1895 if test -n "$ac_ct_CC"; then
1896 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1897 echo "${ECHO_T}$ac_ct_CC" >&6
1899 echo "$as_me:$LINENO: result: no" >&5
1900 echo "${ECHO_T}no" >&6
1903 test -n "$ac_ct_CC" && break
1912 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1913 See \`config.log' for more details." >&5
1914 echo "$as_me: error: no acceptable C compiler found in \$PATH
1915 See \`config.log' for more details." >&2;}
1916 { (exit 1); exit 1; }; }
1918 # Provide some information about the compiler.
1919 echo "$as_me:$LINENO:" \
1920 "checking for C compiler version" >&5
1921 ac_compiler
=`set X $ac_compile; echo $2`
1922 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1923 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1926 (exit $ac_status); }
1927 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1928 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1931 (exit $ac_status); }
1932 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1933 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1936 (exit $ac_status); }
1938 cat >conftest.
$ac_ext <<_ACEOF
1941 cat confdefs.h
>>conftest.
$ac_ext
1942 cat >>conftest.
$ac_ext <<_ACEOF
1943 /* end confdefs.h. */
1954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1955 (eval $ac_link) 2>&5
1957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1958 (exit $ac_status); }; then
1964 if test x
$gcc_no_link = xyes
; then
1965 # Setting cross_compile will disable run tests; it will
1966 # also disable AC_CHECK_FILE but that's generally
1967 # correct if we can't link.
1971 cat >conftest.
$ac_ext <<_ACEOF
1974 cat confdefs.h
>>conftest.
$ac_ext
1975 cat >>conftest.
$ac_ext <<_ACEOF
1976 /* end confdefs.h. */
1986 ac_clean_files_save
=$ac_clean_files
1987 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1988 # Try to create an executable without -o first, disregard a.out.
1989 # It will help us diagnose broken compilers, and finding out an intuition
1991 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1992 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1993 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1994 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1995 (eval $ac_link_default) 2>&5
1997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1998 (exit $ac_status); }; then
1999 # Find the output, starting from the most likely. This scheme is
2000 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2003 # Be careful to initialize this variable, since it used to be cached.
2004 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2006 # b.out is created by i960 compilers.
2007 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2009 test -f "$ac_file" ||
continue
2011 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2014 # This is the source file.
2017 # We found the default executable, but exeext='' is most
2021 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2022 # FIXME: I believe we export ac_cv_exeext for Libtool,
2023 # but it would be cool to find out if it's true. Does anybody
2024 # maintain Libtool? --akim.
2032 echo "$as_me: failed program was:" >&5
2033 sed 's/^/| /' conftest.
$ac_ext >&5
2035 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2036 See \`config.log' for more details." >&5
2037 echo "$as_me: error: C compiler cannot create executables
2038 See \`config.log' for more details." >&2;}
2039 { (exit 77); exit 77; }; }
2042 ac_exeext
=$ac_cv_exeext
2043 echo "$as_me:$LINENO: result: $ac_file" >&5
2044 echo "${ECHO_T}$ac_file" >&6
2046 # Check the compiler produces executables we can run. If not, either
2047 # the compiler is broken, or we cross compile.
2048 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2049 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2050 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2051 # If not cross compiling, check that we can run a simple program.
2052 if test "$cross_compiling" != yes; then
2053 if { ac_try
='./$ac_file'
2054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2058 (exit $ac_status); }; }; then
2061 if test "$cross_compiling" = maybe
; then
2064 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2065 If you meant to cross compile, use \`--host'.
2066 See \`config.log' for more details." >&5
2067 echo "$as_me: error: cannot run C compiled programs.
2068 If you meant to cross compile, use \`--host'.
2069 See \`config.log' for more details." >&2;}
2070 { (exit 1); exit 1; }; }
2074 echo "$as_me:$LINENO: result: yes" >&5
2075 echo "${ECHO_T}yes" >&6
2077 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2078 ac_clean_files
=$ac_clean_files_save
2079 # Check the compiler produces executables we can run. If not, either
2080 # the compiler is broken, or we cross compile.
2081 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2082 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2083 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2084 echo "${ECHO_T}$cross_compiling" >&6
2086 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2087 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2089 (eval $ac_link) 2>&5
2091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2092 (exit $ac_status); }; then
2093 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2094 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2095 # work properly (i.e., refer to `conftest.exe'), while it won't with
2097 for ac_file
in conftest.exe conftest conftest.
*; do
2098 test -f "$ac_file" ||
continue
2100 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2101 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2108 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2109 See \`config.log' for more details." >&5
2110 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2111 See \`config.log' for more details." >&2;}
2112 { (exit 1); exit 1; }; }
2115 rm -f conftest
$ac_cv_exeext
2116 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2117 echo "${ECHO_T}$ac_cv_exeext" >&6
2119 rm -f conftest.
$ac_ext
2120 EXEEXT
=$ac_cv_exeext
2123 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2124 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2125 if test "${ac_cv_objext+set}" = set; then
2126 echo $ECHO_N "(cached) $ECHO_C" >&6
2128 cat >conftest.
$ac_ext <<_ACEOF
2131 cat confdefs.h
>>conftest.
$ac_ext
2132 cat >>conftest.
$ac_ext <<_ACEOF
2133 /* end confdefs.h. */
2143 rm -f conftest.o conftest.obj
2144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2145 (eval $ac_compile) 2>&5
2147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2148 (exit $ac_status); }; then
2149 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2151 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2152 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2157 echo "$as_me: failed program was:" >&5
2158 sed 's/^/| /' conftest.
$ac_ext >&5
2160 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2161 See \`config.log' for more details." >&5
2162 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2163 See \`config.log' for more details." >&2;}
2164 { (exit 1); exit 1; }; }
2167 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2169 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2170 echo "${ECHO_T}$ac_cv_objext" >&6
2171 OBJEXT
=$ac_cv_objext
2173 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2174 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2175 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2176 echo $ECHO_N "(cached) $ECHO_C" >&6
2178 cat >conftest.
$ac_ext <<_ACEOF
2181 cat confdefs.h
>>conftest.
$ac_ext
2182 cat >>conftest.
$ac_ext <<_ACEOF
2183 /* end confdefs.h. */
2196 rm -f conftest.
$ac_objext
2197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2198 (eval $ac_compile) 2>conftest.er1
2200 grep -v '^ *+' conftest.er1
>conftest.err
2202 cat conftest.err
>&5
2203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2204 (exit $ac_status); } &&
2205 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2210 (exit $ac_status); }; } &&
2211 { ac_try
='test -s conftest.$ac_objext'
2212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216 (exit $ac_status); }; }; then
2219 echo "$as_me: failed program was:" >&5
2220 sed 's/^/| /' conftest.
$ac_ext >&5
2224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2225 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2228 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2229 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2230 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2231 ac_test_CFLAGS
=${CFLAGS+set}
2232 ac_save_CFLAGS
=$CFLAGS
2234 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2235 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2236 if test "${ac_cv_prog_cc_g+set}" = set; then
2237 echo $ECHO_N "(cached) $ECHO_C" >&6
2239 cat >conftest.
$ac_ext <<_ACEOF
2242 cat confdefs.h
>>conftest.
$ac_ext
2243 cat >>conftest.
$ac_ext <<_ACEOF
2244 /* end confdefs.h. */
2254 rm -f conftest.
$ac_objext
2255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2256 (eval $ac_compile) 2>conftest.er1
2258 grep -v '^ *+' conftest.er1
>conftest.err
2260 cat conftest.err
>&5
2261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2262 (exit $ac_status); } &&
2263 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268 (exit $ac_status); }; } &&
2269 { ac_try
='test -s conftest.$ac_objext'
2270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274 (exit $ac_status); }; }; then
2277 echo "$as_me: failed program was:" >&5
2278 sed 's/^/| /' conftest.
$ac_ext >&5
2282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2284 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2285 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2286 if test "$ac_test_CFLAGS" = set; then
2287 CFLAGS
=$ac_save_CFLAGS
2288 elif test $ac_cv_prog_cc_g = yes; then
2289 if test "$GCC" = yes; then
2295 if test "$GCC" = yes; then
2301 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2302 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2303 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2304 echo $ECHO_N "(cached) $ECHO_C" >&6
2306 ac_cv_prog_cc_stdc
=no
2308 cat >conftest.
$ac_ext <<_ACEOF
2311 cat confdefs.h
>>conftest.
$ac_ext
2312 cat >>conftest.
$ac_ext <<_ACEOF
2313 /* end confdefs.h. */
2316 #include <sys/types.h>
2317 #include <sys/stat.h>
2318 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2319 struct buf { int x; };
2320 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2321 static char *e (p, i)
2327 static char *f (char * (*g) (char **, int), char **p, ...)
2332 s = g (p, va_arg (v,int));
2337 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2338 function prototypes and stuff, but not '\xHH' hex character constants.
2339 These don't provoke an error unfortunately, instead are silently treated
2340 as 'x'. The following induces an error, until -std1 is added to get
2341 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2342 array size at least. It's necessary to write '\x00'==0 to get something
2343 that's true only with -std1. */
2344 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2346 int test (int i, double x);
2347 struct s1 {int (*f) (int a);};
2348 struct s2 {int (*f) (double a);};
2349 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2355 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2360 # Don't try gcc -ansi; that turns off useful extensions and
2361 # breaks some systems' header files.
2362 # AIX -qlanglvl=ansi
2363 # Ultrix and OSF/1 -std1
2364 # HP-UX 10.20 and later -Ae
2365 # HP-UX older versions -Aa -D_HPUX_SOURCE
2366 # SVR4 -Xc -D__EXTENSIONS__
2367 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2369 CC
="$ac_save_CC $ac_arg"
2370 rm -f conftest.
$ac_objext
2371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2372 (eval $ac_compile) 2>conftest.er1
2374 grep -v '^ *+' conftest.er1
>conftest.err
2376 cat conftest.err
>&5
2377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378 (exit $ac_status); } &&
2379 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); }; } &&
2385 { ac_try
='test -s conftest.$ac_objext'
2386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2390 (exit $ac_status); }; }; then
2391 ac_cv_prog_cc_stdc
=$ac_arg
2394 echo "$as_me: failed program was:" >&5
2395 sed 's/^/| /' conftest.
$ac_ext >&5
2398 rm -f conftest.err conftest.
$ac_objext
2400 rm -f conftest.
$ac_ext conftest.
$ac_objext
2405 case "x$ac_cv_prog_cc_stdc" in
2407 echo "$as_me:$LINENO: result: none needed" >&5
2408 echo "${ECHO_T}none needed" >&6 ;;
2410 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2411 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2412 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2415 # Some people use a C++ compiler to compile C. Since we use `exit',
2416 # in C++ we need to declare it. In case someone uses the same compiler
2417 # for both compiling C and C++ we need to have the C++ compiler decide
2418 # the declaration of exit, since it's the most demanding environment.
2419 cat >conftest.
$ac_ext <<_ACEOF
2424 rm -f conftest.
$ac_objext
2425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2426 (eval $ac_compile) 2>conftest.er1
2428 grep -v '^ *+' conftest.er1
>conftest.err
2430 cat conftest.err
>&5
2431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2432 (exit $ac_status); } &&
2433 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438 (exit $ac_status); }; } &&
2439 { ac_try
='test -s conftest.$ac_objext'
2440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2444 (exit $ac_status); }; }; then
2445 for ac_declaration
in \
2447 'extern "C" void std::exit (int) throw (); using std::exit;' \
2448 'extern "C" void std::exit (int); using std::exit;' \
2449 'extern "C" void exit (int) throw ();' \
2450 'extern "C" void exit (int);' \
2453 cat >conftest.
$ac_ext <<_ACEOF
2456 cat confdefs.h
>>conftest.
$ac_ext
2457 cat >>conftest.
$ac_ext <<_ACEOF
2458 /* end confdefs.h. */
2469 rm -f conftest.
$ac_objext
2470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2471 (eval $ac_compile) 2>conftest.er1
2473 grep -v '^ *+' conftest.er1
>conftest.err
2475 cat conftest.err
>&5
2476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2477 (exit $ac_status); } &&
2478 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2483 (exit $ac_status); }; } &&
2484 { ac_try
='test -s conftest.$ac_objext'
2485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2489 (exit $ac_status); }; }; then
2492 echo "$as_me: failed program was:" >&5
2493 sed 's/^/| /' conftest.
$ac_ext >&5
2497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2498 cat >conftest.
$ac_ext <<_ACEOF
2501 cat confdefs.h
>>conftest.
$ac_ext
2502 cat >>conftest.
$ac_ext <<_ACEOF
2503 /* end confdefs.h. */
2513 rm -f conftest.
$ac_objext
2514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2515 (eval $ac_compile) 2>conftest.er1
2517 grep -v '^ *+' conftest.er1
>conftest.err
2519 cat conftest.err
>&5
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); } &&
2522 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); }; } &&
2528 { ac_try
='test -s conftest.$ac_objext'
2529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533 (exit $ac_status); }; }; then
2536 echo "$as_me: failed program was:" >&5
2537 sed 's/^/| /' conftest.
$ac_ext >&5
2540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2543 if test -n "$ac_declaration"; then
2544 echo '#ifdef __cplusplus' >>confdefs.h
2545 echo $ac_declaration >>confdefs.h
2546 echo '#endif' >>confdefs.h
2550 echo "$as_me: failed program was:" >&5
2551 sed 's/^/| /' conftest.
$ac_ext >&5
2554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2556 ac_cpp
='$CPP $CPPFLAGS'
2557 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2558 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2559 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2562 ac_cpp
='$CXXCPP $CPPFLAGS'
2563 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2564 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2565 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2566 if test -n "$ac_tool_prefix"; then
2567 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2569 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2570 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2571 echo "$as_me:$LINENO: checking for $ac_word" >&5
2572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2573 if test "${glibcxx_cv_prog_CXX+set}" = set; then
2574 echo $ECHO_N "(cached) $ECHO_C" >&6
2576 if test -n "$CXX"; then
2577 glibcxx_cv_prog_CXX
="$CXX" # Let the user override the test.
2579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2583 test -z "$as_dir" && as_dir
=.
2584 for ac_exec_ext
in '' $ac_executable_extensions; do
2585 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2586 glibcxx_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2595 CXX
=$glibcxx_cv_prog_CXX
2596 if test -n "$CXX"; then
2597 echo "$as_me:$LINENO: result: $CXX" >&5
2598 echo "${ECHO_T}$CXX" >&6
2600 echo "$as_me:$LINENO: result: no" >&5
2601 echo "${ECHO_T}no" >&6
2604 test -n "$CXX" && break
2607 if test -z "$CXX"; then
2609 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2611 # Extract the first word of "$ac_prog", so it can be a program name with args.
2612 set dummy
$ac_prog; ac_word
=$2
2613 echo "$as_me:$LINENO: checking for $ac_word" >&5
2614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2615 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2616 echo $ECHO_N "(cached) $ECHO_C" >&6
2618 if test -n "$ac_ct_CXX"; then
2619 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2625 test -z "$as_dir" && as_dir
=.
2626 for ac_exec_ext
in '' $ac_executable_extensions; do
2627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2628 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2637 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2638 if test -n "$ac_ct_CXX"; then
2639 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2640 echo "${ECHO_T}$ac_ct_CXX" >&6
2642 echo "$as_me:$LINENO: result: no" >&5
2643 echo "${ECHO_T}no" >&6
2646 test -n "$ac_ct_CXX" && break
2648 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2654 # Provide some information about the compiler.
2655 echo "$as_me:$LINENO:" \
2656 "checking for C++ compiler version" >&5
2657 ac_compiler
=`set X $ac_compile; echo $2`
2658 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2659 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); }
2663 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2664 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2667 (exit $ac_status); }
2668 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2669 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2672 (exit $ac_status); }
2674 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2675 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2676 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2677 echo $ECHO_N "(cached) $ECHO_C" >&6
2679 cat >conftest.
$ac_ext <<_ACEOF
2682 cat confdefs.h
>>conftest.
$ac_ext
2683 cat >>conftest.
$ac_ext <<_ACEOF
2684 /* end confdefs.h. */
2697 rm -f conftest.
$ac_objext
2698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2699 (eval $ac_compile) 2>conftest.er1
2701 grep -v '^ *+' conftest.er1
>conftest.err
2703 cat conftest.err
>&5
2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705 (exit $ac_status); } &&
2706 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2711 (exit $ac_status); }; } &&
2712 { ac_try
='test -s conftest.$ac_objext'
2713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2717 (exit $ac_status); }; }; then
2720 echo "$as_me: failed program was:" >&5
2721 sed 's/^/| /' conftest.
$ac_ext >&5
2725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2726 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2729 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2730 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2731 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2732 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2733 ac_save_CXXFLAGS
=$CXXFLAGS
2735 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2736 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2737 if test "${ac_cv_prog_cxx_g+set}" = set; then
2738 echo $ECHO_N "(cached) $ECHO_C" >&6
2740 cat >conftest.
$ac_ext <<_ACEOF
2743 cat confdefs.h
>>conftest.
$ac_ext
2744 cat >>conftest.
$ac_ext <<_ACEOF
2745 /* end confdefs.h. */
2755 rm -f conftest.
$ac_objext
2756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2757 (eval $ac_compile) 2>conftest.er1
2759 grep -v '^ *+' conftest.er1
>conftest.err
2761 cat conftest.err
>&5
2762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763 (exit $ac_status); } &&
2764 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769 (exit $ac_status); }; } &&
2770 { ac_try
='test -s conftest.$ac_objext'
2771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2775 (exit $ac_status); }; }; then
2776 ac_cv_prog_cxx_g
=yes
2778 echo "$as_me: failed program was:" >&5
2779 sed 's/^/| /' conftest.
$ac_ext >&5
2783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2785 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2786 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2787 if test "$ac_test_CXXFLAGS" = set; then
2788 CXXFLAGS
=$ac_save_CXXFLAGS
2789 elif test $ac_cv_prog_cxx_g = yes; then
2790 if test "$GXX" = yes; then
2796 if test "$GXX" = yes; then
2802 for ac_declaration
in \
2804 'extern "C" void std::exit (int) throw (); using std::exit;' \
2805 'extern "C" void std::exit (int); using std::exit;' \
2806 'extern "C" void exit (int) throw ();' \
2807 'extern "C" void exit (int);' \
2810 cat >conftest.
$ac_ext <<_ACEOF
2813 cat confdefs.h
>>conftest.
$ac_ext
2814 cat >>conftest.
$ac_ext <<_ACEOF
2815 /* end confdefs.h. */
2826 rm -f conftest.
$ac_objext
2827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2828 (eval $ac_compile) 2>conftest.er1
2830 grep -v '^ *+' conftest.er1
>conftest.err
2832 cat conftest.err
>&5
2833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834 (exit $ac_status); } &&
2835 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 (exit $ac_status); }; } &&
2841 { ac_try
='test -s conftest.$ac_objext'
2842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }; }; then
2849 echo "$as_me: failed program was:" >&5
2850 sed 's/^/| /' conftest.
$ac_ext >&5
2854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2855 cat >conftest.
$ac_ext <<_ACEOF
2858 cat confdefs.h
>>conftest.
$ac_ext
2859 cat >>conftest.
$ac_ext <<_ACEOF
2860 /* end confdefs.h. */
2870 rm -f conftest.
$ac_objext
2871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2872 (eval $ac_compile) 2>conftest.er1
2874 grep -v '^ *+' conftest.er1
>conftest.err
2876 cat conftest.err
>&5
2877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2878 (exit $ac_status); } &&
2879 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884 (exit $ac_status); }; } &&
2885 { ac_try
='test -s conftest.$ac_objext'
2886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); }; }; then
2893 echo "$as_me: failed program was:" >&5
2894 sed 's/^/| /' conftest.
$ac_ext >&5
2897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2900 if test -n "$ac_declaration"; then
2901 echo '#ifdef __cplusplus' >>confdefs.h
2902 echo $ac_declaration >>confdefs.h
2903 echo '#endif' >>confdefs.h
2907 ac_cpp
='$CPP $CPPFLAGS'
2908 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2909 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2910 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2912 CXXFLAGS
="$save_CXXFLAGS"
2918 am__api_version
="1.9"
2919 # Find a good install program. We prefer a C program (faster),
2920 # so one script is as good as another. But avoid the broken or
2921 # incompatible versions:
2922 # SysV /etc/install, /usr/sbin/install
2923 # SunOS /usr/etc/install
2924 # IRIX /sbin/install
2926 # AmigaOS /C/install, which installs bootblocks on floppy discs
2927 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2928 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2929 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2930 # OS/2's system install, which has a completely different semantic
2931 # ./install, which can be erroneously created by make from ./install.sh.
2932 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2933 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2934 if test -z "$INSTALL"; then
2935 if test "${ac_cv_path_install+set}" = set; then
2936 echo $ECHO_N "(cached) $ECHO_C" >&6
2938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2942 test -z "$as_dir" && as_dir
=.
2943 # Account for people who put trailing slashes in PATH elements.
2945 .
/ | .
// |
/cC
/* | \
2946 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2947 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2950 # OSF1 and SCO ODT 3.0 have their own names for install.
2951 # Don't use installbsd from OSF since it installs stuff as root
2953 for ac_prog
in ginstall scoinst
install; do
2954 for ac_exec_ext
in '' $ac_executable_extensions; do
2955 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2956 if test $ac_prog = install &&
2957 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2958 # AIX install. It has an incompatible calling convention.
2960 elif test $ac_prog = install &&
2961 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2962 # program-specific install script used by HP pwplus--don't use.
2965 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2977 if test "${ac_cv_path_install+set}" = set; then
2978 INSTALL
=$ac_cv_path_install
2980 # As a last resort, use the slow shell script. We don't cache a
2981 # path for INSTALL within a source directory, because that will
2982 # break other packages using the cache if that directory is
2983 # removed, or if the path is relative.
2984 INSTALL
=$ac_install_sh
2987 echo "$as_me:$LINENO: result: $INSTALL" >&5
2988 echo "${ECHO_T}$INSTALL" >&6
2990 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2991 # It thinks the first close brace ends the variable substitution.
2992 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2994 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2996 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2998 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2999 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
3002 echo timestamp
> conftest.
file
3003 # Do `set' in a subshell so we don't clobber the current shell's
3004 # arguments. Must try -L first in case configure is actually a
3005 # symlink; some systems play weird games with the mod time of symlinks
3006 # (eg FreeBSD returns the mod time of the symlink's containing
3009 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
3010 if test "$*" = "X"; then
3012 set X
`ls -t $srcdir/configure conftest.file`
3015 if test "$*" != "X $srcdir/configure conftest.file" \
3016 && test "$*" != "X conftest.file $srcdir/configure"; then
3018 # If neither matched, then we have a broken ls. This can happen
3019 # if, for instance, CONFIG_SHELL is bash and it inherits a
3020 # broken ls alias from the environment. This has actually
3021 # happened. Such a system could not be considered "sane".
3022 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
3023 alias in your environment" >&5
3024 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
3025 alias in your environment" >&2;}
3026 { (exit 1); exit 1; }; }
3029 test "$2" = conftest.
file
3035 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3036 Check your system clock" >&5
3037 echo "$as_me: error: newly created file is older than distributed files!
3038 Check your system clock" >&2;}
3039 { (exit 1); exit 1; }; }
3041 echo "$as_me:$LINENO: result: yes" >&5
3042 echo "${ECHO_T}yes" >&6
3043 test "$program_prefix" != NONE
&&
3044 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
3045 # Use a double $ so make ignores it.
3046 test "$program_suffix" != NONE
&&
3047 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
3048 # Double any \ or $. echo might interpret backslashes.
3049 # By default was `s,x,x', remove it if useless.
3050 cat <<\_ACEOF
>conftest.
sed
3051 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
3053 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
3056 # expand $ac_aux_dir to an absolute path
3057 am_aux_dir
=`cd $ac_aux_dir && pwd`
3059 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
3060 # Use eval to expand $SHELL
3061 if eval "$MISSING --run true"; then
3062 am_missing_run
="$MISSING --run "
3065 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3066 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3069 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
3070 # We used to keeping the `.' as first argument, in order to
3071 # allow $(mkdir_p) to be used without argument. As in
3072 # $(mkdir_p) $(somedir)
3073 # where $(somedir) is conditionally defined. However this is wrong
3075 # 1. if the package is installed by a user who cannot write `.'
3076 # make install will fail,
3077 # 2. the above comment should most certainly read
3078 # $(mkdir_p) $(DESTDIR)$(somedir)
3079 # so it does not work when $(somedir) is undefined and
3080 # $(DESTDIR) is not.
3081 # To support the latter case, we have to write
3082 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
3083 # so the `.' trick is pointless.
3084 mkdir_p
='mkdir -p --'
3086 # On NextStep and OpenStep, the `mkdir' command does not
3087 # recognize any option. It will interpret all options as
3088 # directories to create, and then abort because `.' already
3090 for d
in .
/-p .
/--version;
3092 test -d $d && rmdir $d
3094 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
3095 if test -f "$ac_aux_dir/mkinstalldirs"; then
3096 mkdir_p
='$(mkinstalldirs)'
3098 mkdir_p
='$(install_sh) -d'
3102 for ac_prog
in gawk mawk nawk
awk
3104 # Extract the first word of "$ac_prog", so it can be a program name with args.
3105 set dummy
$ac_prog; ac_word
=$2
3106 echo "$as_me:$LINENO: checking for $ac_word" >&5
3107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3108 if test "${ac_cv_prog_AWK+set}" = set; then
3109 echo $ECHO_N "(cached) $ECHO_C" >&6
3111 if test -n "$AWK"; then
3112 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3118 test -z "$as_dir" && as_dir
=.
3119 for ac_exec_ext
in '' $ac_executable_extensions; do
3120 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3121 ac_cv_prog_AWK
="$ac_prog"
3122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3131 if test -n "$AWK"; then
3132 echo "$as_me:$LINENO: result: $AWK" >&5
3133 echo "${ECHO_T}$AWK" >&6
3135 echo "$as_me:$LINENO: result: no" >&5
3136 echo "${ECHO_T}no" >&6
3139 test -n "$AWK" && break
3142 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3143 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3144 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3145 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3146 echo $ECHO_N "(cached) $ECHO_C" >&6
3148 cat >conftest.
make <<\_ACEOF
3150 @
echo 'ac_maketemp="$(MAKE)"'
3152 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3153 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3154 if test -n "$ac_maketemp"; then
3155 eval ac_cv_prog_make_
${ac_make}_set
=yes
3157 eval ac_cv_prog_make_
${ac_make}_set
=no
3161 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3162 echo "$as_me:$LINENO: result: yes" >&5
3163 echo "${ECHO_T}yes" >&6
3166 echo "$as_me:$LINENO: result: no" >&5
3167 echo "${ECHO_T}no" >&6
3168 SET_MAKE
="MAKE=${MAKE-make}"
3171 rm -rf .tst
2>/dev
/null
3172 mkdir .tst
2>/dev
/null
3173 if test -d .tst
; then
3178 rmdir .tst
2>/dev
/null
3180 DEPDIR
="${am__leading_dot}deps"
3182 ac_config_commands
="$ac_config_commands depfiles"
3185 am_make
=${MAKE-make}
3186 cat > confinc
<< 'END'
3191 # If we don't find an include directive, just comment out the code.
3192 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3193 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3197 # First try GNU make style include.
3198 echo "include confinc" > confmf
3199 # We grep out `Entering directory' and `Leaving directory'
3200 # messages which can occur if `w' ends up in MAKEFLAGS.
3201 # In particular we don't look at `^make:' because GNU make might
3202 # be invoked under some other name (usually "gmake"), in which
3203 # case it prints its new name instead of `make'.
3204 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3209 # Now try BSD make style include.
3210 if test "$am__include" = "#"; then
3211 echo '.include "confinc"' > confmf
3212 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3213 am__include
=.include
3220 echo "$as_me:$LINENO: result: $_am_result" >&5
3221 echo "${ECHO_T}$_am_result" >&6
3222 rm -f confinc confmf
3224 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3225 if test "${enable_dependency_tracking+set}" = set; then
3226 enableval
="$enable_dependency_tracking"
3229 if test "x$enable_dependency_tracking" != xno
; then
3230 am_depcomp
="$ac_aux_dir/depcomp"
3235 if test "x$enable_dependency_tracking" != xno; then
3245 # test to see if srcdir already configured
3246 if test "`cd $srcdir && pwd`" != "`pwd`" &&
3247 test -f $srcdir/config.status
; then
3248 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3249 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3250 { (exit 1); exit 1; }; }
3253 # test whether we have cygpath
3254 if test -z "$CYGPATH_W"; then
3255 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3256 CYGPATH_W
='cygpath -w'
3263 # Define the identity of the package.
3265 VERSION
='version-unused'
3268 cat >>confdefs.h
<<_ACEOF
3269 #define PACKAGE "$PACKAGE"
3273 cat >>confdefs.h
<<_ACEOF
3274 #define VERSION "$VERSION"
3277 # Some tools Automake needs.
3279 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3282 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3285 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3288 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3291 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3293 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3295 # Installed binaries are usually stripped using `strip' when the user
3296 # run `make install-strip'. However `strip' might not be the right
3297 # tool to use in cross-compilation environments, therefore Automake
3298 # will honor the `STRIP' environment variable to overrule this program.
3299 if test "$cross_compiling" != no
; then
3300 if test -n "$ac_tool_prefix"; then
3301 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3302 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3303 echo "$as_me:$LINENO: checking for $ac_word" >&5
3304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3305 if test "${ac_cv_prog_STRIP+set}" = set; then
3306 echo $ECHO_N "(cached) $ECHO_C" >&6
3308 if test -n "$STRIP"; then
3309 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3315 test -z "$as_dir" && as_dir
=.
3316 for ac_exec_ext
in '' $ac_executable_extensions; do
3317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3318 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3327 STRIP
=$ac_cv_prog_STRIP
3328 if test -n "$STRIP"; then
3329 echo "$as_me:$LINENO: result: $STRIP" >&5
3330 echo "${ECHO_T}$STRIP" >&6
3332 echo "$as_me:$LINENO: result: no" >&5
3333 echo "${ECHO_T}no" >&6
3337 if test -z "$ac_cv_prog_STRIP"; then
3339 # Extract the first word of "strip", so it can be a program name with args.
3340 set dummy strip
; ac_word
=$2
3341 echo "$as_me:$LINENO: checking for $ac_word" >&5
3342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3343 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3344 echo $ECHO_N "(cached) $ECHO_C" >&6
3346 if test -n "$ac_ct_STRIP"; then
3347 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3353 test -z "$as_dir" && as_dir
=.
3354 for ac_exec_ext
in '' $ac_executable_extensions; do
3355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3356 ac_cv_prog_ac_ct_STRIP
="strip"
3357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3363 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3366 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3367 if test -n "$ac_ct_STRIP"; then
3368 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3369 echo "${ECHO_T}$ac_ct_STRIP" >&6
3371 echo "$as_me:$LINENO: result: no" >&5
3372 echo "${ECHO_T}no" >&6
3377 STRIP
="$ac_cv_prog_STRIP"
3381 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3383 # We need awk for the "check" target. The system "awk" is bad on
3385 # Always define AMTAR for backward compatibility.
3387 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3389 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3394 depcc
="$CC" am_compiler_list
=
3396 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3397 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3398 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3399 echo $ECHO_N "(cached) $ECHO_C" >&6
3401 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3402 # We make a subdir and do the tests there. Otherwise we can end up
3403 # making bogus files that we don't know about and never remove. For
3404 # instance it was reported that on HP-UX the gcc test will end up
3405 # making a dummy file named `D' -- because `-MD' means `put the output
3408 # Copy depcomp to subdir because otherwise we won't find it if we're
3409 # using a relative directory.
3410 cp "$am_depcomp" conftest.dir
3412 # We will build objects and dependencies in a subdirectory because
3413 # it helps to detect inapplicable dependency modes. For instance
3414 # both Tru64's cc and ICC support -MD to output dependencies as a
3415 # side effect of compilation, but ICC will put the dependencies in
3416 # the current directory while Tru64 will put them in the object
3420 am_cv_CC_dependencies_compiler_type
=none
3421 if test "$am_compiler_list" = ""; then
3422 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3424 for depmode
in $am_compiler_list; do
3425 # Setup a source with many dependencies, because some compilers
3426 # like to wrap large dependency lists on column 80 (with \), and
3427 # we should not choose a depcomp mode which is confused by this.
3429 # We need to recreate these files for each test, as the compiler may
3430 # overwrite some of them when testing with obscure command lines.
3431 # This happens at least with the AIX C compiler.
3433 for i
in 1 2 3 4 5 6; do
3434 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3435 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3436 # Solaris 8's {/usr,}/bin/sh.
3437 touch sub
/conftst
$i.h
3439 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3443 # after this tag, mechanisms are not by side-effect, so they'll
3444 # only be used when explicitly requested
3445 if test "x$enable_dependency_tracking" = xyes
; then
3453 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3454 # mode. It turns out that the SunPro C++ compiler does not properly
3455 # handle `-M -o', and we need to detect this.
3456 if depmode
=$depmode \
3457 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3458 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3459 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3460 >/dev
/null
2>conftest.err
&&
3461 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3462 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3463 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3464 # icc doesn't choke on unknown options, it will just issue warnings
3465 # or remarks (even with -Werror). So we grep stderr for any message
3466 # that says an option was ignored or not supported.
3467 # When given -MP, icc 7.0 and 7.1 complain thusly:
3468 # icc: Command line warning: ignoring option '-M'; no argument required
3469 # The diagnosis changed in icc 8.0:
3470 # icc: Command line remark: option '-MP' not supported
3471 if (grep 'ignoring option' conftest.err ||
3472 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3473 am_cv_CC_dependencies_compiler_type
=$depmode
3482 am_cv_CC_dependencies_compiler_type
=none
3486 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3487 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3488 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3493 test "x$enable_dependency_tracking" != xno \
3494 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3496 am__fastdepCC_FALSE
='#'
3498 am__fastdepCC_TRUE
='#'
3499 am__fastdepCC_FALSE
=
3503 depcc
="$CXX" am_compiler_list
=
3505 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3506 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3507 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3508 echo $ECHO_N "(cached) $ECHO_C" >&6
3510 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3511 # We make a subdir and do the tests there. Otherwise we can end up
3512 # making bogus files that we don't know about and never remove. For
3513 # instance it was reported that on HP-UX the gcc test will end up
3514 # making a dummy file named `D' -- because `-MD' means `put the output
3517 # Copy depcomp to subdir because otherwise we won't find it if we're
3518 # using a relative directory.
3519 cp "$am_depcomp" conftest.dir
3521 # We will build objects and dependencies in a subdirectory because
3522 # it helps to detect inapplicable dependency modes. For instance
3523 # both Tru64's cc and ICC support -MD to output dependencies as a
3524 # side effect of compilation, but ICC will put the dependencies in
3525 # the current directory while Tru64 will put them in the object
3529 am_cv_CXX_dependencies_compiler_type
=none
3530 if test "$am_compiler_list" = ""; then
3531 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3533 for depmode
in $am_compiler_list; do
3534 # Setup a source with many dependencies, because some compilers
3535 # like to wrap large dependency lists on column 80 (with \), and
3536 # we should not choose a depcomp mode which is confused by this.
3538 # We need to recreate these files for each test, as the compiler may
3539 # overwrite some of them when testing with obscure command lines.
3540 # This happens at least with the AIX C compiler.
3542 for i
in 1 2 3 4 5 6; do
3543 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3544 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3545 # Solaris 8's {/usr,}/bin/sh.
3546 touch sub
/conftst
$i.h
3548 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3552 # after this tag, mechanisms are not by side-effect, so they'll
3553 # only be used when explicitly requested
3554 if test "x$enable_dependency_tracking" = xyes
; then
3562 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3563 # mode. It turns out that the SunPro C++ compiler does not properly
3564 # handle `-M -o', and we need to detect this.
3565 if depmode
=$depmode \
3566 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3567 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3568 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3569 >/dev
/null
2>conftest.err
&&
3570 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3571 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3572 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3573 # icc doesn't choke on unknown options, it will just issue warnings
3574 # or remarks (even with -Werror). So we grep stderr for any message
3575 # that says an option was ignored or not supported.
3576 # When given -MP, icc 7.0 and 7.1 complain thusly:
3577 # icc: Command line warning: ignoring option '-M'; no argument required
3578 # The diagnosis changed in icc 8.0:
3579 # icc: Command line remark: option '-MP' not supported
3580 if (grep 'ignoring option' conftest.err ||
3581 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3582 am_cv_CXX_dependencies_compiler_type
=$depmode
3591 am_cv_CXX_dependencies_compiler_type
=none
3595 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3596 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3597 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3602 test "x$enable_dependency_tracking" != xno \
3603 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3604 am__fastdepCXX_TRUE
=
3605 am__fastdepCXX_FALSE
='#'
3607 am__fastdepCXX_TRUE
='#'
3608 am__fastdepCXX_FALSE
=
3614 if test -n "$ac_tool_prefix"; then
3615 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3616 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3617 echo "$as_me:$LINENO: checking for $ac_word" >&5
3618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3619 if test "${ac_cv_prog_AS+set}" = set; then
3620 echo $ECHO_N "(cached) $ECHO_C" >&6
3622 if test -n "$AS"; then
3623 ac_cv_prog_AS
="$AS" # Let the user override the test.
3625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3629 test -z "$as_dir" && as_dir
=.
3630 for ac_exec_ext
in '' $ac_executable_extensions; do
3631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3632 ac_cv_prog_AS
="${ac_tool_prefix}as"
3633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3642 if test -n "$AS"; then
3643 echo "$as_me:$LINENO: result: $AS" >&5
3644 echo "${ECHO_T}$AS" >&6
3646 echo "$as_me:$LINENO: result: no" >&5
3647 echo "${ECHO_T}no" >&6
3651 if test -z "$ac_cv_prog_AS"; then
3653 # Extract the first word of "as", so it can be a program name with args.
3654 set dummy as
; ac_word
=$2
3655 echo "$as_me:$LINENO: checking for $ac_word" >&5
3656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3657 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3658 echo $ECHO_N "(cached) $ECHO_C" >&6
3660 if test -n "$ac_ct_AS"; then
3661 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3667 test -z "$as_dir" && as_dir
=.
3668 for ac_exec_ext
in '' $ac_executable_extensions; do
3669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3670 ac_cv_prog_ac_ct_AS
="as"
3671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3679 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3680 if test -n "$ac_ct_AS"; then
3681 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3682 echo "${ECHO_T}$ac_ct_AS" >&6
3684 echo "$as_me:$LINENO: result: no" >&5
3685 echo "${ECHO_T}no" >&6
3693 if test -n "$ac_tool_prefix"; then
3694 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3695 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3696 echo "$as_me:$LINENO: checking for $ac_word" >&5
3697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3698 if test "${ac_cv_prog_AR+set}" = set; then
3699 echo $ECHO_N "(cached) $ECHO_C" >&6
3701 if test -n "$AR"; then
3702 ac_cv_prog_AR
="$AR" # Let the user override the test.
3704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3708 test -z "$as_dir" && as_dir
=.
3709 for ac_exec_ext
in '' $ac_executable_extensions; do
3710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3711 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3721 if test -n "$AR"; then
3722 echo "$as_me:$LINENO: result: $AR" >&5
3723 echo "${ECHO_T}$AR" >&6
3725 echo "$as_me:$LINENO: result: no" >&5
3726 echo "${ECHO_T}no" >&6
3730 if test -z "$ac_cv_prog_AR"; then
3732 # Extract the first word of "ar", so it can be a program name with args.
3733 set dummy
ar; ac_word
=$2
3734 echo "$as_me:$LINENO: checking for $ac_word" >&5
3735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3736 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3737 echo $ECHO_N "(cached) $ECHO_C" >&6
3739 if test -n "$ac_ct_AR"; then
3740 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3746 test -z "$as_dir" && as_dir
=.
3747 for ac_exec_ext
in '' $ac_executable_extensions; do
3748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3749 ac_cv_prog_ac_ct_AR
="ar"
3750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3758 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3759 if test -n "$ac_ct_AR"; then
3760 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3761 echo "${ECHO_T}$ac_ct_AR" >&6
3763 echo "$as_me:$LINENO: result: no" >&5
3764 echo "${ECHO_T}no" >&6
3772 if test -n "$ac_tool_prefix"; then
3773 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3774 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3775 echo "$as_me:$LINENO: checking for $ac_word" >&5
3776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3777 if test "${ac_cv_prog_RANLIB+set}" = set; then
3778 echo $ECHO_N "(cached) $ECHO_C" >&6
3780 if test -n "$RANLIB"; then
3781 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3787 test -z "$as_dir" && as_dir
=.
3788 for ac_exec_ext
in '' $ac_executable_extensions; do
3789 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3790 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3799 RANLIB
=$ac_cv_prog_RANLIB
3800 if test -n "$RANLIB"; then
3801 echo "$as_me:$LINENO: result: $RANLIB" >&5
3802 echo "${ECHO_T}$RANLIB" >&6
3804 echo "$as_me:$LINENO: result: no" >&5
3805 echo "${ECHO_T}no" >&6
3809 if test -z "$ac_cv_prog_RANLIB"; then
3810 ac_ct_RANLIB
=$RANLIB
3811 # Extract the first word of "ranlib", so it can be a program name with args.
3812 set dummy ranlib
; ac_word
=$2
3813 echo "$as_me:$LINENO: checking for $ac_word" >&5
3814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3815 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3816 echo $ECHO_N "(cached) $ECHO_C" >&6
3818 if test -n "$ac_ct_RANLIB"; then
3819 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3825 test -z "$as_dir" && as_dir
=.
3826 for ac_exec_ext
in '' $ac_executable_extensions; do
3827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3828 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3835 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3838 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3839 if test -n "$ac_ct_RANLIB"; then
3840 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3841 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3843 echo "$as_me:$LINENO: result: no" >&5
3844 echo "${ECHO_T}no" >&6
3847 RANLIB
=$ac_ct_RANLIB
3849 RANLIB
="$ac_cv_prog_RANLIB"
3853 # Find a good install program. We prefer a C program (faster),
3854 # so one script is as good as another. But avoid the broken or
3855 # incompatible versions:
3856 # SysV /etc/install, /usr/sbin/install
3857 # SunOS /usr/etc/install
3858 # IRIX /sbin/install
3860 # AmigaOS /C/install, which installs bootblocks on floppy discs
3861 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3862 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3863 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3864 # OS/2's system install, which has a completely different semantic
3865 # ./install, which can be erroneously created by make from ./install.sh.
3866 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3867 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3868 if test -z "$INSTALL"; then
3869 if test "${ac_cv_path_install+set}" = set; then
3870 echo $ECHO_N "(cached) $ECHO_C" >&6
3872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3876 test -z "$as_dir" && as_dir
=.
3877 # Account for people who put trailing slashes in PATH elements.
3879 .
/ | .
// |
/cC
/* | \
3880 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3881 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3884 # OSF1 and SCO ODT 3.0 have their own names for install.
3885 # Don't use installbsd from OSF since it installs stuff as root
3887 for ac_prog
in ginstall scoinst
install; do
3888 for ac_exec_ext
in '' $ac_executable_extensions; do
3889 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3890 if test $ac_prog = install &&
3891 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3892 # AIX install. It has an incompatible calling convention.
3894 elif test $ac_prog = install &&
3895 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3896 # program-specific install script used by HP pwplus--don't use.
3899 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3911 if test "${ac_cv_path_install+set}" = set; then
3912 INSTALL
=$ac_cv_path_install
3914 # As a last resort, use the slow shell script. We don't cache a
3915 # path for INSTALL within a source directory, because that will
3916 # break other packages using the cache if that directory is
3917 # removed, or if the path is relative.
3918 INSTALL
=$ac_install_sh
3921 echo "$as_me:$LINENO: result: $INSTALL" >&5
3922 echo "${ECHO_T}$INSTALL" >&6
3924 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3925 # It thinks the first close brace ends the variable substitution.
3926 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3928 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3930 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3933 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3934 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3935 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3936 if test "${enable_maintainer_mode+set}" = set; then
3937 enableval
="$enable_maintainer_mode"
3938 USE_MAINTAINER_MODE
=$enableval
3940 USE_MAINTAINER_MODE
=no
3942 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3943 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3946 if test $USE_MAINTAINER_MODE = yes; then
3947 MAINTAINER_MODE_TRUE
=
3948 MAINTAINER_MODE_FALSE
='#'
3950 MAINTAINER_MODE_TRUE
='#'
3951 MAINTAINER_MODE_FALSE
=
3954 MAINT
=$MAINTAINER_MODE_TRUE
3960 # configure.host sets the following important variables
3961 # libgcj_cflags - host specific C compiler flags
3962 # libgcj_cxxflags - host specific C++ compiler flags
3963 # libgcj_javaflags - host specific Java compiler flags
3969 .
${srcdir}/configure.
host
3971 LIBGCJ_CFLAGS
="${libgcj_cflags}"
3972 LIBGCJ_CXXFLAGS
="${libgcj_cxxflags}"
3973 LIBGCJ_JAVAFLAGS
="${libgcj_javaflags}"
3978 ac_config_headers
="$ac_config_headers include/config.h gcj/libgcj-config.h"
3981 # Only use libltdl for non-newlib builds.
3982 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
3983 case $enable_ltdl_convenience in
3984 no
) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
3985 echo "$as_me: error: this package needs a convenience libltdl" >&2;}
3986 { (exit 1); exit 1; }; } ;;
3987 "") enable_ltdl_convenience
=yes
3988 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
3990 LIBLTDL
='${top_builddir}/''libltdl'/libltdlc.la
3991 INCLTDL
='-I${top_srcdir}/''libltdl'
3996 cat >>confdefs.h
<<\_ACEOF
4000 # Sigh. Libtool's macro doesn't do the right thing.
4001 INCLTDL
="-I\$(top_srcdir)/libltdl $INCLTDL"
4002 # FIXME: this is a hack.
4003 sub_auxdir
="`cd $ac_aux_dir && ${PWDCMD-pwd}`"
4004 ac_configure_args
="$ac_configure_args --with-auxdir=$sub_auxdir"
4009 # Check whether --enable-shared or --disable-shared was given.
4010 if test "${enable_shared+set}" = set; then
4011 enableval
="$enable_shared"
4012 p
=${PACKAGE-default}
4014 yes) enable_shared
=yes ;;
4015 no
) enable_shared
=no
;;
4018 # Look at the argument we got. We use all the common list separators.
4019 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4020 for pkg
in $enableval; do
4021 if test "X$pkg" = "X$p"; then
4031 # Check whether --enable-static or --disable-static was given.
4032 if test "${enable_static+set}" = set; then
4033 enableval
="$enable_static"
4034 p
=${PACKAGE-default}
4036 yes) enable_static
=yes ;;
4037 no
) enable_static
=no
;;
4040 # Look at the argument we got. We use all the common list separators.
4041 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4042 for pkg
in $enableval; do
4043 if test "X$pkg" = "X$p"; then
4053 # Check whether --enable-fast-install or --disable-fast-install was given.
4054 if test "${enable_fast_install+set}" = set; then
4055 enableval
="$enable_fast_install"
4056 p
=${PACKAGE-default}
4058 yes) enable_fast_install
=yes ;;
4059 no
) enable_fast_install
=no
;;
4061 enable_fast_install
=no
4062 # Look at the argument we got. We use all the common list separators.
4063 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4064 for pkg
in $enableval; do
4065 if test "X$pkg" = "X$p"; then
4066 enable_fast_install
=yes
4073 enable_fast_install
=yes
4076 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4077 if test "${with_gnu_ld+set}" = set; then
4078 withval
="$with_gnu_ld"
4079 test "$withval" = no || with_gnu_ld
=yes
4084 if test "$GCC" = yes; then
4085 # Check if gcc -print-prog-name=ld gives a path.
4086 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4087 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4090 # gcc leaves a trailing carriage return which upsets mingw
4091 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4093 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4096 # Accept absolute paths.
4097 [\\/]* |
[A-Za-z
]:[\\/]*)
4098 re_direlt
='/[^/][^/]*/\.\./'
4099 # Canonicalize the path of ld
4100 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
4101 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4102 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
4104 test -z "$LD" && LD
="$ac_prog"
4107 # If it fails, then pretend we aren't using GCC.
4111 # If it is relative, then search for the first ld in PATH.
4115 elif test "$with_gnu_ld" = yes; then
4116 echo "$as_me:$LINENO: checking for GNU ld" >&5
4117 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4119 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4120 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4122 if test "${lt_cv_path_LD+set}" = set; then
4123 echo $ECHO_N "(cached) $ECHO_C" >&6
4125 if test -z "$LD"; then
4126 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4127 for ac_dir
in $PATH; do
4128 test -z "$ac_dir" && ac_dir
=.
4129 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4130 lt_cv_path_LD
="$ac_dir/$ac_prog"
4131 # Check to see if the program is GNU ld. I'd rather use --version,
4132 # but apparently some GNU ld's only accept -v.
4133 # Break only if it was the GNU/non-GNU ld that we prefer.
4134 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
4135 test "$with_gnu_ld" != no
&& break
4137 test "$with_gnu_ld" != yes && break
4143 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4148 if test -n "$LD"; then
4149 echo "$as_me:$LINENO: result: $LD" >&5
4150 echo "${ECHO_T}$LD" >&6
4152 echo "$as_me:$LINENO: result: no" >&5
4153 echo "${ECHO_T}no" >&6
4155 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4156 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4157 { (exit 1); exit 1; }; }
4158 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4159 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4160 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4161 echo $ECHO_N "(cached) $ECHO_C" >&6
4163 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4164 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4165 lt_cv_prog_gnu_ld
=yes
4167 lt_cv_prog_gnu_ld
=no
4170 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4171 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4172 with_gnu_ld
=$lt_cv_prog_gnu_ld
4175 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4176 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4177 if test "${lt_cv_ld_reload_flag+set}" = set; then
4178 echo $ECHO_N "(cached) $ECHO_C" >&6
4180 lt_cv_ld_reload_flag
='-r'
4182 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4183 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4184 reload_flag
=$lt_cv_ld_reload_flag
4185 test -n "$reload_flag" && reload_flag
=" $reload_flag"
4187 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4188 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4189 if test "${lt_cv_path_NM+set}" = set; then
4190 echo $ECHO_N "(cached) $ECHO_C" >&6
4192 if test -n "$NM"; then
4193 # Let the user override the test.
4196 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4197 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
4198 test -z "$ac_dir" && ac_dir
=.
4199 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
4200 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
4201 # Check to see if the nm accepts a BSD-compat flag.
4202 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4203 # nm: unknown option "B" ignored
4204 # Tru64's nm complains that /dev/null is an invalid object file
4205 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
4206 lt_cv_path_NM
="$tmp_nm -B"
4208 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
4209 lt_cv_path_NM
="$tmp_nm -p"
4212 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4213 continue # so that we can try to find one that supports BSD flags
4218 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4223 echo "$as_me:$LINENO: result: $NM" >&5
4224 echo "${ECHO_T}$NM" >&6
4226 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4227 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4228 if test "${lt_cv_deplibs_check_method+set}" = set; then
4229 echo $ECHO_N "(cached) $ECHO_C" >&6
4231 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4232 lt_cv_file_magic_test_file
=
4233 lt_cv_deplibs_check_method
='unknown'
4234 # Need to set the preceding variable on all platforms that support
4235 # interlibrary dependencies.
4236 # 'none' -- dependencies not supported.
4237 # `unknown' -- same as none, but documents that we really don't know.
4238 # 'pass_all' -- all dependencies passed with no checks.
4239 # 'test_compile' -- check by making test program.
4240 # 'file_magic [regex]' -- check by looking for files in library path
4241 # which responds to the $file_magic_cmd with a given egrep regex.
4242 # If you have `file' or equivalent on your system and you're not sure
4243 # whether `pass_all' will *always* work, you probably want this one.
4247 lt_cv_deplibs_check_method
=pass_all
4251 lt_cv_deplibs_check_method
=pass_all
4255 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4256 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4257 lt_cv_file_magic_test_file
=/shlib
/libc.so
4260 cygwin
* | mingw
* |pw32
*)
4261 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4262 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4265 darwin
* | rhapsody
*)
4266 # this will be overwritten by pass_all, but leave it in just in case
4267 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
4268 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4270 rhapsody
* | darwin1.012
)
4271 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
4274 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
4277 lt_cv_deplibs_check_method
=pass_all
4280 freebsd
* | kfreebsd
*-gnu)
4281 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4284 # Not sure whether the presence of OpenBSD here was a mistake.
4285 # Let's accept both of them until this is cleared up.
4286 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4287 lt_cv_file_magic_cmd
=/usr
/bin
/file
4288 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4292 lt_cv_deplibs_check_method
=pass_all
4297 lt_cv_deplibs_check_method
=pass_all
4303 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4304 lt_cv_file_magic_cmd
=/usr
/bin
/file
4305 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4308 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4309 lt_cv_file_magic_cmd
=/usr
/bin
/file
4310 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4318 # this will be overridden with pass_all, but let us keep it just in case
4319 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4323 *-32|
*"-32 ") libmagic
=32-bit;;
4324 *-n32|
*"-n32 ") libmagic
=N32
;;
4325 *-64|
*"-64 ") libmagic
=64-bit;;
4326 *) libmagic
=never-match
;;
4328 # this will be overridden with pass_all, but let us keep it just in case
4329 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4332 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
4333 lt_cv_deplibs_check_method
=pass_all
4336 # This must be Linux ELF.
4339 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* | sh
* )
4340 lt_cv_deplibs_check_method
=pass_all
;;
4342 # glibc up to 2.1.1 does not perform some relocations on ARM
4343 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4345 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
4348 netbsd
* | knetbsd
*-gnu)
4349 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4350 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4352 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
4357 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4358 lt_cv_file_magic_cmd
=/usr
/bin
/file
4359 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4362 osf3
* | osf4
* | osf5
*)
4363 # this will be overridden with pass_all, but let us keep it just in case
4364 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
4365 lt_cv_file_magic_test_file
=/shlib
/libc.so
4366 lt_cv_deplibs_check_method
=pass_all
4370 lt_cv_deplibs_check_method
=pass_all
4374 lt_cv_deplibs_check_method
=pass_all
4375 lt_cv_file_magic_test_file
=/lib
/libc.so
4378 sysv5uw
[78]* | sysv4
*uw2
*)
4379 lt_cv_deplibs_check_method
=pass_all
4382 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
4383 case $host_vendor in
4385 lt_cv_deplibs_check_method
=pass_all
4388 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]'
4389 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4396 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4397 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4398 file_magic_cmd
=$lt_cv_file_magic_cmd
4399 deplibs_check_method
=$lt_cv_deplibs_check_method
4404 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4406 # Only perform the check for file, if the check method requires it
4407 case $deplibs_check_method in
4409 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4410 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4411 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4412 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4413 echo $ECHO_N "(cached) $ECHO_C" >&6
4417 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
4420 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
4423 ac_save_MAGIC_CMD
="$MAGIC_CMD"
4424 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
4425 ac_dummy
="/usr/bin:$PATH"
4426 for ac_dir
in $ac_dummy; do
4427 test -z "$ac_dir" && ac_dir
=.
4428 if test -f $ac_dir/${ac_tool_prefix}file; then
4429 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
4430 if test -n "$file_magic_test_file"; then
4431 case $deplibs_check_method in
4433 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4434 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4435 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
4436 egrep "$file_magic_regex" > /dev
/null
; then
4441 *** Warning: the command libtool uses to detect shared libraries,
4442 *** $file_magic_cmd, produces output that libtool cannot recognize.
4443 *** The result is that libtool may fail to recognize shared libraries
4444 *** as such. This will affect the creation of libtool libraries that
4445 *** depend on shared libraries, but programs linked with such libtool
4446 *** libraries will work regardless of this problem. Nevertheless, you
4447 *** may want to report the problem to your system manager and/or to
4448 *** bug-libtool@gnu.org
4458 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4463 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4464 if test -n "$MAGIC_CMD"; then
4465 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4466 echo "${ECHO_T}$MAGIC_CMD" >&6
4468 echo "$as_me:$LINENO: result: no" >&5
4469 echo "${ECHO_T}no" >&6
4472 if test -z "$lt_cv_path_MAGIC_CMD"; then
4473 if test -n "$ac_tool_prefix"; then
4474 echo "$as_me:$LINENO: checking for file" >&5
4475 echo $ECHO_N "checking for file... $ECHO_C" >&6
4476 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4477 echo $ECHO_N "(cached) $ECHO_C" >&6
4481 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
4484 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
4487 ac_save_MAGIC_CMD
="$MAGIC_CMD"
4488 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
4489 ac_dummy
="/usr/bin:$PATH"
4490 for ac_dir
in $ac_dummy; do
4491 test -z "$ac_dir" && ac_dir
=.
4492 if test -f $ac_dir/file; then
4493 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
4494 if test -n "$file_magic_test_file"; then
4495 case $deplibs_check_method in
4497 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4498 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4499 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
4500 egrep "$file_magic_regex" > /dev
/null
; then
4505 *** Warning: the command libtool uses to detect shared libraries,
4506 *** $file_magic_cmd, produces output that libtool cannot recognize.
4507 *** The result is that libtool may fail to recognize shared libraries
4508 *** as such. This will affect the creation of libtool libraries that
4509 *** depend on shared libraries, but programs linked with such libtool
4510 *** libraries will work regardless of this problem. Nevertheless, you
4511 *** may want to report the problem to your system manager and/or to
4512 *** bug-libtool@gnu.org
4522 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4527 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4528 if test -n "$MAGIC_CMD"; then
4529 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4530 echo "${ECHO_T}$MAGIC_CMD" >&6
4532 echo "$as_me:$LINENO: result: no" >&5
4533 echo "${ECHO_T}no" >&6
4545 if test -n "$ac_tool_prefix"; then
4546 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4547 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4548 echo "$as_me:$LINENO: checking for $ac_word" >&5
4549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4550 if test "${ac_cv_prog_RANLIB+set}" = set; then
4551 echo $ECHO_N "(cached) $ECHO_C" >&6
4553 if test -n "$RANLIB"; then
4554 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4560 test -z "$as_dir" && as_dir
=.
4561 for ac_exec_ext
in '' $ac_executable_extensions; do
4562 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4563 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4572 RANLIB
=$ac_cv_prog_RANLIB
4573 if test -n "$RANLIB"; then
4574 echo "$as_me:$LINENO: result: $RANLIB" >&5
4575 echo "${ECHO_T}$RANLIB" >&6
4577 echo "$as_me:$LINENO: result: no" >&5
4578 echo "${ECHO_T}no" >&6
4582 if test -z "$ac_cv_prog_RANLIB"; then
4583 ac_ct_RANLIB
=$RANLIB
4584 # Extract the first word of "ranlib", so it can be a program name with args.
4585 set dummy ranlib
; ac_word
=$2
4586 echo "$as_me:$LINENO: checking for $ac_word" >&5
4587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4588 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4589 echo $ECHO_N "(cached) $ECHO_C" >&6
4591 if test -n "$ac_ct_RANLIB"; then
4592 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4598 test -z "$as_dir" && as_dir
=.
4599 for ac_exec_ext
in '' $ac_executable_extensions; do
4600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4601 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4608 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4611 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4612 if test -n "$ac_ct_RANLIB"; then
4613 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4614 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4616 echo "$as_me:$LINENO: result: no" >&5
4617 echo "${ECHO_T}no" >&6
4620 RANLIB
=$ac_ct_RANLIB
4622 RANLIB
="$ac_cv_prog_RANLIB"
4625 if test -n "$ac_tool_prefix"; then
4626 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4627 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4628 echo "$as_me:$LINENO: checking for $ac_word" >&5
4629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4630 if test "${ac_cv_prog_STRIP+set}" = set; then
4631 echo $ECHO_N "(cached) $ECHO_C" >&6
4633 if test -n "$STRIP"; then
4634 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4640 test -z "$as_dir" && as_dir
=.
4641 for ac_exec_ext
in '' $ac_executable_extensions; do
4642 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4643 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4652 STRIP
=$ac_cv_prog_STRIP
4653 if test -n "$STRIP"; then
4654 echo "$as_me:$LINENO: result: $STRIP" >&5
4655 echo "${ECHO_T}$STRIP" >&6
4657 echo "$as_me:$LINENO: result: no" >&5
4658 echo "${ECHO_T}no" >&6
4662 if test -z "$ac_cv_prog_STRIP"; then
4664 # Extract the first word of "strip", so it can be a program name with args.
4665 set dummy strip
; ac_word
=$2
4666 echo "$as_me:$LINENO: checking for $ac_word" >&5
4667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4668 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4669 echo $ECHO_N "(cached) $ECHO_C" >&6
4671 if test -n "$ac_ct_STRIP"; then
4672 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4678 test -z "$as_dir" && as_dir
=.
4679 for ac_exec_ext
in '' $ac_executable_extensions; do
4680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4681 ac_cv_prog_ac_ct_STRIP
="strip"
4682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4688 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
4691 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4692 if test -n "$ac_ct_STRIP"; then
4693 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4694 echo "${ECHO_T}$ac_ct_STRIP" >&6
4696 echo "$as_me:$LINENO: result: no" >&5
4697 echo "${ECHO_T}no" >&6
4702 STRIP
="$ac_cv_prog_STRIP"
4706 # Check for any special flags to pass to ltconfig.
4707 libtool_flags
="--cache-file=$cache_file"
4708 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
4709 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
4710 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
4711 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
4712 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
4715 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4716 if test "${enable_libtool_lock+set}" = set; then
4717 enableval
="$enable_libtool_lock"
4720 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
4721 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
4724 # Check whether --with-pic or --without-pic was given.
4725 if test "${with_pic+set}" = set; then
4731 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
4732 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
4734 # Some flags need to be propagated to the compiler or linker for good
4738 # Find out which ABI we are using.
4739 echo '#line 4739 "configure"' > conftest.
$ac_ext
4740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4741 (eval $ac_compile) 2>&5
4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 (exit $ac_status); }; then
4745 if test "$lt_cv_prog_gnu_ld" = yes; then
4746 case `/usr/bin/file conftest.$ac_objext` in
4748 LD
="${LD-ld} -melf32bsmip"
4751 LD
="${LD-ld} -melf32bmipn32"
4754 LD
="${LD-ld} -melf64bmip"
4758 case `/usr/bin/file conftest.$ac_objext` in
4775 # Find out which ABI we are using.
4776 echo 'int i;' > conftest.
$ac_ext
4777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4778 (eval $ac_compile) 2>&5
4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781 (exit $ac_status); }; then
4782 case "`/usr/bin/file conftest.o`" in
4794 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4795 # Find out which ABI we are using.
4796 echo 'int i;' > conftest.
$ac_ext
4797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4798 (eval $ac_compile) 2>&5
4800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4801 (exit $ac_status); }; then
4802 case "`/usr/bin/file conftest.o`" in
4806 LD
="${LD-ld} -m elf_i386"
4808 ppc64-
*linux
*|powerpc64-
*linux
*)
4809 LD
="${LD-ld} -m elf32ppclinux"
4812 LD
="${LD-ld} -m elf_s390"
4815 LD
="${LD-ld} -m elf32_sparc"
4822 LD
="${LD-ld} -m elf_x86_64"
4824 ppc
*-*linux
*|powerpc
*-*linux
*)
4825 LD
="${LD-ld} -m elf64ppc"
4828 LD
="${LD-ld} -m elf64_s390"
4831 LD
="${LD-ld} -m elf64_sparc"
4841 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4842 SAVE_CFLAGS
="$CFLAGS"
4843 CFLAGS
="$CFLAGS -belf"
4844 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4845 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4846 if test "${lt_cv_cc_needs_belf+set}" = set; then
4847 echo $ECHO_N "(cached) $ECHO_C" >&6
4852 ac_cpp
='$CPP $CPPFLAGS'
4853 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4854 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4855 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4857 if test x
$gcc_no_link = xyes
; then
4858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4860 { (exit 1); exit 1; }; }
4862 cat >conftest.
$ac_ext <<_ACEOF
4865 cat confdefs.h
>>conftest.
$ac_ext
4866 cat >>conftest.
$ac_ext <<_ACEOF
4867 /* end confdefs.h. */
4877 rm -f conftest.
$ac_objext conftest
$ac_exeext
4878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4879 (eval $ac_link) 2>conftest.er1
4881 grep -v '^ *+' conftest.er1
>conftest.err
4883 cat conftest.err
>&5
4884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4885 (exit $ac_status); } &&
4886 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4891 (exit $ac_status); }; } &&
4892 { ac_try
='test -s conftest$ac_exeext'
4893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897 (exit $ac_status); }; }; then
4898 lt_cv_cc_needs_belf
=yes
4900 echo "$as_me: failed program was:" >&5
4901 sed 's/^/| /' conftest.
$ac_ext >&5
4903 lt_cv_cc_needs_belf
=no
4905 rm -f conftest.err conftest.
$ac_objext \
4906 conftest
$ac_exeext conftest.
$ac_ext
4908 ac_cpp
='$CPP $CPPFLAGS'
4909 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4910 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4911 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4914 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4915 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4916 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4917 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4918 CFLAGS
="$SAVE_CFLAGS"
4926 # Save cache, so that ltconfig can load it
4927 cat >confcache
<<\_ACEOF
4928 # This file is a shell script that caches the results of configure
4929 # tests run on this system so they can be shared between configure
4930 # scripts and configure runs, see configure's option --config-cache.
4931 # It is not useful on other systems. If it contains results you don't
4932 # want to keep, you may remove or edit it.
4934 # config.status only pays attention to the cache file if you give it
4935 # the --recheck option to rerun configure.
4937 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4938 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4943 # The following way of writing the cache mishandles newlines in values,
4944 # but we know of no workaround that is simple, portable, and efficient.
4945 # So, don't put newlines in cache variables' values.
4946 # Ultrix sh set writes to stderr and can't be redirected directly,
4947 # and sets the high bit in the cache file unless we assign to the vars.
4950 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4952 # `set' does not quote correctly, so add quotes (double-quote
4953 # substitution turns \\\\ into \\, and sed turns \\ into \).
4956 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4959 # `set' quotes correctly as required by POSIX, so do not add quotes.
4961 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4968 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4970 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4972 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4973 if test -w $cache_file; then
4974 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4975 cat confcache
>$cache_file
4977 echo "not updating unwritable cache $cache_file"
4982 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4983 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4984 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4985 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4986 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4987 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4988 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4989 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4990 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4991 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4992 echo "$as_me: error: libtool configure failed" >&2;}
4993 { (exit 1); exit 1; }; }
4995 # Reload cache, that may have been modified by ltconfig
4996 if test -r "$cache_file"; then
4997 # Some versions of bash will fail to source /dev/null (special
4998 # files actually), so we avoid doing that.
4999 if test -f "$cache_file"; then
5000 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5001 echo "$as_me: loading cache $cache_file" >&6;}
5003 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
5004 *) . .
/$cache_file;;
5008 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5009 echo "$as_me: creating cache $cache_file" >&6;}
5014 # This can be used to rebuild libtool when needed
5015 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5017 # Always use our own libtool.
5018 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
5020 # Redirect the config.log output again, so that the ltconfig log is not
5021 # clobbered by the next message.
5022 exec 5>>.
/config.log
5025 ac_cpp
='$CXXCPP $CPPFLAGS'
5026 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5027 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5028 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5029 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5030 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5031 if test -z "$CXXCPP"; then
5032 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5033 echo $ECHO_N "(cached) $ECHO_C" >&6
5035 # Double quotes because CXXCPP needs to be expanded
5036 for CXXCPP
in "$CXX -E" "/lib/cpp"
5039 for ac_cxx_preproc_warn_flag
in '' yes
5041 # Use a header file that comes with gcc, so configuring glibc
5042 # with a fresh cross-compiler works.
5043 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5044 # <limits.h> exists even on freestanding compilers.
5045 # On the NeXT, cc -E runs the code through the compiler's parser,
5046 # not just through cpp. "Syntax error" is here to catch this case.
5047 cat >conftest.
$ac_ext <<_ACEOF
5050 cat confdefs.h
>>conftest.
$ac_ext
5051 cat >>conftest.
$ac_ext <<_ACEOF
5052 /* end confdefs.h. */
5054 # include <limits.h>
5056 # include <assert.h>
5060 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5061 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5063 grep -v '^ *+' conftest.er1
>conftest.err
5065 cat conftest.err
>&5
5066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5067 (exit $ac_status); } >/dev
/null
; then
5068 if test -s conftest.err
; then
5069 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5070 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5077 if test -z "$ac_cpp_err"; then
5080 echo "$as_me: failed program was:" >&5
5081 sed 's/^/| /' conftest.
$ac_ext >&5
5083 # Broken: fails on valid input.
5086 rm -f conftest.err conftest.
$ac_ext
5088 # OK, works on sane cases. Now check whether non-existent headers
5089 # can be detected and how.
5090 cat >conftest.
$ac_ext <<_ACEOF
5093 cat confdefs.h
>>conftest.
$ac_ext
5094 cat >>conftest.
$ac_ext <<_ACEOF
5095 /* end confdefs.h. */
5096 #include <ac_nonexistent.h>
5098 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5099 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5101 grep -v '^ *+' conftest.er1
>conftest.err
5103 cat conftest.err
>&5
5104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5105 (exit $ac_status); } >/dev
/null
; then
5106 if test -s conftest.err
; then
5107 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5108 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5115 if test -z "$ac_cpp_err"; then
5116 # Broken: success on invalid input.
5119 echo "$as_me: failed program was:" >&5
5120 sed 's/^/| /' conftest.
$ac_ext >&5
5122 # Passes both tests.
5126 rm -f conftest.err conftest.
$ac_ext
5129 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5130 rm -f conftest.err conftest.
$ac_ext
5131 if $ac_preproc_ok; then
5136 ac_cv_prog_CXXCPP
=$CXXCPP
5139 CXXCPP
=$ac_cv_prog_CXXCPP
5141 ac_cv_prog_CXXCPP
=$CXXCPP
5143 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5144 echo "${ECHO_T}$CXXCPP" >&6
5146 for ac_cxx_preproc_warn_flag
in '' yes
5148 # Use a header file that comes with gcc, so configuring glibc
5149 # with a fresh cross-compiler works.
5150 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5151 # <limits.h> exists even on freestanding compilers.
5152 # On the NeXT, cc -E runs the code through the compiler's parser,
5153 # not just through cpp. "Syntax error" is here to catch this case.
5154 cat >conftest.
$ac_ext <<_ACEOF
5157 cat confdefs.h
>>conftest.
$ac_ext
5158 cat >>conftest.
$ac_ext <<_ACEOF
5159 /* end confdefs.h. */
5161 # include <limits.h>
5163 # include <assert.h>
5167 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5168 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5170 grep -v '^ *+' conftest.er1
>conftest.err
5172 cat conftest.err
>&5
5173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5174 (exit $ac_status); } >/dev
/null
; then
5175 if test -s conftest.err
; then
5176 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5177 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5184 if test -z "$ac_cpp_err"; then
5187 echo "$as_me: failed program was:" >&5
5188 sed 's/^/| /' conftest.
$ac_ext >&5
5190 # Broken: fails on valid input.
5193 rm -f conftest.err conftest.
$ac_ext
5195 # OK, works on sane cases. Now check whether non-existent headers
5196 # can be detected and how.
5197 cat >conftest.
$ac_ext <<_ACEOF
5200 cat confdefs.h
>>conftest.
$ac_ext
5201 cat >>conftest.
$ac_ext <<_ACEOF
5202 /* end confdefs.h. */
5203 #include <ac_nonexistent.h>
5205 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5206 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5208 grep -v '^ *+' conftest.er1
>conftest.err
5210 cat conftest.err
>&5
5211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5212 (exit $ac_status); } >/dev
/null
; then
5213 if test -s conftest.err
; then
5214 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5215 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5222 if test -z "$ac_cpp_err"; then
5223 # Broken: success on invalid input.
5226 echo "$as_me: failed program was:" >&5
5227 sed 's/^/| /' conftest.
$ac_ext >&5
5229 # Passes both tests.
5233 rm -f conftest.err conftest.
$ac_ext
5236 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5237 rm -f conftest.err conftest.
$ac_ext
5238 if $ac_preproc_ok; then
5241 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5242 See \`config.log' for more details." >&5
5243 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5244 See \`config.log' for more details." >&2;}
5245 { (exit 1); exit 1; }; }
5249 ac_cpp
='$CPP $CPPFLAGS'
5250 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5251 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5252 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5256 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
5258 lt_save_CFLAGS
="$CFLAGS"
5259 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
5260 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
5261 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
5262 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
5263 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
5264 deplibs_check_method
="$deplibs_check_method" \
5265 file_magic_cmd
="$file_magic_cmd" \
5266 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
5267 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
5268 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
5269 echo "$as_me: error: libtool tag configuration failed" >&2;}
5270 { (exit 1); exit 1; }; }
5272 CFLAGS
="$lt_save_CFLAGS"
5274 # Redirect the config.log output again, so that the ltconfig log is not
5275 # clobbered by the next message.
5276 exec 5>>.
/config.log
5284 for ac_prog
in gcj gcj-3.2 gcj-3.1 gcj-3.0 gcj-2.95
5286 # Extract the first word of "$ac_prog", so it can be a program name with args.
5287 set dummy
$ac_prog; ac_word
=$2
5288 echo "$as_me:$LINENO: checking for $ac_word" >&5
5289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5290 if test "${ac_cv_prog_GCJ+set}" = set; then
5291 echo $ECHO_N "(cached) $ECHO_C" >&6
5293 if test -n "$GCJ"; then
5294 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
5296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5300 test -z "$as_dir" && as_dir
=.
5301 for ac_exec_ext
in '' $ac_executable_extensions; do
5302 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5303 ac_cv_prog_GCJ
="$ac_prog"
5304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5313 if test -n "$GCJ"; then
5314 echo "$as_me:$LINENO: result: $GCJ" >&5
5315 echo "${ECHO_T}$GCJ" >&6
5317 echo "$as_me:$LINENO: result: no" >&5
5318 echo "${ECHO_T}no" >&6
5321 test -n "$GCJ" && break
5323 test -n "$GCJ" || GCJ
="gcj"
5325 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
5326 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
5327 { (exit 1); exit 1; }; }
5328 if test "x${GCJFLAGS-unset}" = xunset
; then
5333 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
5335 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5336 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5337 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
5338 echo $ECHO_N "(cached) $ECHO_C" >&6
5340 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5341 # We make a subdir and do the tests there. Otherwise we can end up
5342 # making bogus files that we don't know about and never remove. For
5343 # instance it was reported that on HP-UX the gcc test will end up
5344 # making a dummy file named `D' -- because `-MD' means `put the output
5347 # Copy depcomp to subdir because otherwise we won't find it if we're
5348 # using a relative directory.
5349 cp "$am_depcomp" conftest.dir
5351 # We will build objects and dependencies in a subdirectory because
5352 # it helps to detect inapplicable dependency modes. For instance
5353 # both Tru64's cc and ICC support -MD to output dependencies as a
5354 # side effect of compilation, but ICC will put the dependencies in
5355 # the current directory while Tru64 will put them in the object
5359 am_cv_GCJ_dependencies_compiler_type
=none
5360 if test "$am_compiler_list" = ""; then
5361 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5363 for depmode
in $am_compiler_list; do
5364 # Setup a source with many dependencies, because some compilers
5365 # like to wrap large dependency lists on column 80 (with \), and
5366 # we should not choose a depcomp mode which is confused by this.
5368 # We need to recreate these files for each test, as the compiler may
5369 # overwrite some of them when testing with obscure command lines.
5370 # This happens at least with the AIX C compiler.
5372 for i
in 1 2 3 4 5 6; do
5373 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5374 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5375 # Solaris 8's {/usr,}/bin/sh.
5376 touch sub
/conftst
$i.h
5378 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5382 # after this tag, mechanisms are not by side-effect, so they'll
5383 # only be used when explicitly requested
5384 if test "x$enable_dependency_tracking" = xyes
; then
5392 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5393 # mode. It turns out that the SunPro C++ compiler does not properly
5394 # handle `-M -o', and we need to detect this.
5395 if depmode
=$depmode \
5396 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5397 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5398 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5399 >/dev
/null
2>conftest.err
&&
5400 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5401 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5402 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5403 # icc doesn't choke on unknown options, it will just issue warnings
5404 # or remarks (even with -Werror). So we grep stderr for any message
5405 # that says an option was ignored or not supported.
5406 # When given -MP, icc 7.0 and 7.1 complain thusly:
5407 # icc: Command line warning: ignoring option '-M'; no argument required
5408 # The diagnosis changed in icc 8.0:
5409 # icc: Command line remark: option '-MP' not supported
5410 if (grep 'ignoring option' conftest.err ||
5411 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5412 am_cv_GCJ_dependencies_compiler_type
=$depmode
5421 am_cv_GCJ_dependencies_compiler_type
=none
5425 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
5426 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
5427 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
5432 test "x$enable_dependency_tracking" != xno \
5433 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
5434 am__fastdepGCJ_TRUE
=
5435 am__fastdepGCJ_FALSE
='#'
5437 am__fastdepGCJ_TRUE
='#'
5438 am__fastdepGCJ_FALSE
=
5444 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-gcj.sh"
5446 lt_save_CFLAGS
="$CFLAGS"
5447 AR
="$AR" LTCC
="$CC" CC
="$GCJ" CFLAGS
="$GCJFLAGS" CPPFLAGS
="$CPPFLAGS" \
5448 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
5449 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
5450 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
5451 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
5452 deplibs_check_method
="$deplibs_check_method" \
5453 file_magic_cmd
="$file_magic_cmd" \
5454 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
5455 --build="$build" --add-tag=GCJ
$ac_aux_dir/ltcf-gcj.sh
$host \
5456 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
5457 echo "$as_me: error: libtool tag configuration failed" >&2;}
5458 { (exit 1); exit 1; }; }
5460 CFLAGS
="$lt_save_CFLAGS"
5462 # Redirect the config.log output again, so that the ltconfig log is not
5463 # clobbered by the next message.
5464 exec 5>>.
/config.log
5468 if test "x$CC" != xcc
; then
5469 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
5470 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
5472 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
5473 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
5475 set dummy
$CC; ac_cc
=`echo $2 |
5476 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5477 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
5478 echo $ECHO_N "(cached) $ECHO_C" >&6
5480 cat >conftest.
$ac_ext <<_ACEOF
5483 cat confdefs.h
>>conftest.
$ac_ext
5484 cat >>conftest.
$ac_ext <<_ACEOF
5485 /* end confdefs.h. */
5495 # Make sure it works both with $CC and with simple cc.
5496 # We do the test twice because some compilers refuse to overwrite an
5497 # existing .o file with -o, though they will create one.
5498 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
5499 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5503 (exit $ac_status); } &&
5504 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5508 (exit $ac_status); };
5510 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
5511 if test "x$CC" != xcc
; then
5512 # Test first that cc exists at all.
5513 if { ac_try
='cc -c conftest.$ac_ext >&5'
5514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5518 (exit $ac_status); }; }; then
5519 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
5520 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5524 (exit $ac_status); } &&
5525 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5529 (exit $ac_status); };
5534 # cc exists but doesn't like -o.
5535 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
5540 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
5545 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
5546 echo "$as_me:$LINENO: result: yes" >&5
5547 echo "${ECHO_T}yes" >&6
5549 echo "$as_me:$LINENO: result: no" >&5
5550 echo "${ECHO_T}no" >&6
5552 cat >>confdefs.h
<<\_ACEOF
5553 #define NO_MINUS_C_MINUS_O 1
5558 # FIXME: we rely on the cache variable name because
5559 # there is no other way.
5561 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5562 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
5563 # Losing compiler, so override with the script.
5564 # FIXME: It is wrong to rewrite CC.
5565 # But if we don't then we get into trouble of one sort or another.
5566 # A longer-term fix would be to have automake use am__CC in this case,
5567 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5568 CC
="$am_aux_dir/compile $CC"
5573 subdirs
="$subdirs libltdl"
5576 if test -z "$with_target_subdir" ||
test "$with_target_subdir" = "."; then
5583 # The -no-testsuite modules omit the test subdir.
5586 if test -d $srcdir/testsuite
; then
5588 TESTSUBDIR_FALSE
='#'
5595 # Should the runtime set system properties by examining the
5596 # environment variable GCJ_PROPERTIES?
5597 # Check whether --enable-getenv-properties or --disable-getenv-properties was given.
5598 if test "${enable_getenv_properties+set}" = set; then
5599 enableval
="$enable_getenv_properties"
5603 # Whether GCJ_PROPERTIES is used depends on the target.
5604 if test -z "$enable_getenv_properties"; then
5605 enable_getenv_properties
=${enable_getenv_properties_default-yes}
5607 if test "$enable_getenv_properties" = no
; then
5609 cat >>confdefs.h
<<\_ACEOF
5610 #define DISABLE_GETENV_PROPERTIES 1
5615 # Whether we should use arguments to main()
5616 if test -z "$enable_main_args"; then
5617 enable_main_args
=${enable_main_args_default-yes}
5619 if test "$enable_main_args" = no
; then
5621 cat >>confdefs.h
<<\_ACEOF
5622 #define DISABLE_MAIN_ARGS 1
5628 # Should we use hashtable-based synchronization?
5629 # Currently works only for Linux X86/ia64
5630 # Typically faster and more space-efficient
5631 # Check whether --enable-hash-synchronization or --disable-hash-synchronization was given.
5632 if test "${enable_hash_synchronization+set}" = set; then
5633 enableval
="$enable_hash_synchronization"
5637 if test -z "$enable_hash_synchronization"; then
5638 enable_hash_synchronization
=$enable_hash_synchronization_default
5641 # Do we allow intermodule optimizations (i.e. compiling many files at once)?
5642 # Check whether --enable-libgcj-multifile or --disable-libgcj-multifile was given.
5643 if test "${enable_libgcj_multifile+set}" = set; then
5644 enableval
="$enable_libgcj_multifile"
5645 case "${enableval}" in
5646 yes) enable_libgcj_multifile
=yes ;;
5647 no
) enable_libgcj_multifile
=no
;;
5648 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-libgcj-multifile" >&5
5649 echo "$as_me: error: bad value ${enableval} for --enable-libgcj-multifile" >&2;}
5650 { (exit 1); exit 1; }; } ;;
5653 enable_libgcj_multifile
=no
5657 if test "$enable_libgcj_multifile" = yes; then
5666 # What is the native OS API for MinGW?
5668 # Check whether --with-win32-nlsapi or --without-win32-nlsapi was given.
5669 if test "${with_win32_nlsapi+set}" = set; then
5670 withval
="$with_win32_nlsapi"
5671 case "${withval}" in
5672 ansi
) with_win32_nlsapi
=ansi
;;
5673 unicows
) with_win32_nlsapi
=unicows
;;
5674 unicode
) with_win32_nlsapi
=unicode
;;
5675 *) { { echo "$as_me:$LINENO: error: Bad value ${withval} for --with-win32-nlsapi." >&5
5676 echo "$as_me: error: Bad value ${withval} for --with-win32-nlsapi." >&2;}
5677 { (exit 1); exit 1; }; } ;;
5680 with_win32_nlsapi
=ansi
5683 case "${with_win32_nlsapi}" in
5686 cat >>confdefs.h
<<\_ACEOF
5687 #define MINGW_LIBGCJ_UNICODE 1
5693 # configure.host sets slow_pthread_self if the synchronization code should
5694 # try to avoid pthread_self calls by caching thread IDs in a hashtable.
5695 if test "${slow_pthread_self}" = "yes"; then
5697 cat >>confdefs.h
<<\_ACEOF
5698 #define SLOW_PTHREAD_SELF 1
5704 # See if the user has requested runtime debugging.
5707 # Check whether --enable-libgcj-debug or --disable-libgcj-debug was given.
5708 if test "${enable_libgcj_debug+set}" = set; then
5709 enableval
="$enable_libgcj_debug"
5710 if test "$enable_libgcj_debug" = yes; then
5712 cat >>confdefs.h
<<\_ACEOF
5720 # Check for gc debugging. This option is handled both here and in the GC.
5721 # Check whether --enable-gc-debug or --disable-gc-debug was given.
5722 if test "${enable_gc_debug+set}" = set; then
5723 enableval
="$enable_gc_debug"
5724 if test "$enable_gc_debug" = "yes"; then
5725 cat >>confdefs.h
<<\_ACEOF
5726 #define LIBGCJ_GC_DEBUG 1
5732 # See if the user has the interpreter included.
5733 # Check whether --enable-interpreter or --disable-interpreter was given.
5734 if test "${enable_interpreter+set}" = set; then
5735 enableval
="$enable_interpreter"
5736 if test "$enable_interpreter" = yes; then
5737 # This can also be set in configure.host.
5738 libgcj_interpreter
=yes
5739 elif test "$enable_interpreter" = no
; then
5740 libgcj_interpreter
=no
5744 if test "$libgcj_interpreter" = yes; then
5746 cat >>confdefs.h
<<\_ACEOF
5747 #define INTERPRETER 1
5751 INTERPRETER
="$libgcj_interpreter"
5754 echo "$as_me:$LINENO: checking for exception model to use" >&5
5755 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
5757 ac_cpp
='$CXXCPP $CPPFLAGS'
5758 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5759 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5760 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5762 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
5763 if test "${enable_sjlj_exceptions+set}" = set; then
5764 enableval
="$enable_sjlj_exceptions"
5767 cat > conftest.
$ac_ext << EOF
5768 #line 5768 "configure"
5777 old_CXXFLAGS
="$CXXFLAGS"
5779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5780 (eval $ac_compile) 2>&5
5782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5783 (exit $ac_status); }; then
5784 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1 ; then
5785 enable_sjlj_exceptions
=yes
5786 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1 ; then
5787 enable_sjlj_exceptions
=no
5790 CXXFLAGS
="$old_CXXFLAGS"
5793 if test x
$enable_sjlj_exceptions = xyes
; then
5795 cat >>confdefs.h
<<\_ACEOF
5796 #define SJLJ_EXCEPTIONS 1
5799 ac_exception_model_name
=sjlj
5800 elif test x
$enable_sjlj_exceptions = xno
; then
5801 ac_exception_model_name
="call frame"
5803 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5804 echo "$as_me: error: unable to detect exception model" >&2;}
5805 { (exit 1); exit 1; }; }
5808 ac_cpp
='$CPP $CPPFLAGS'
5809 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5810 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5811 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5813 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5814 echo "${ECHO_T}$ac_exception_model_name" >&6
5816 # If we are non using SJLJ exceptions, and this host does not have support
5817 # for unwinding from a signal handler, enable checked dereferences and divides.
5818 if test $can_unwind_signal = no
&& test $enable_sjlj_exceptions = no
; then
5819 CHECKREFSPEC
=-fcheck-references
5820 DIVIDESPEC
=-fuse-divide-subroutine
5824 # See if the user wants to disable java.net. This is the mildly
5825 # ugly way that we admit that target-side configuration sucks.
5826 # Check whether --enable-java-net or --disable-java-net was given.
5827 if test "${enable_java_net+set}" = set; then
5828 enableval
="$enable_java_net"
5832 # Whether java.net is built by default can depend on the target.
5833 if test -z "$enable_java_net"; then
5834 enable_java_net
=${enable_java_net_default-yes}
5836 if test "$enable_java_net" = no
; then
5838 cat >>confdefs.h
<<\_ACEOF
5839 #define DISABLE_JAVA_NET 1
5844 # See if the user wants to configure without libffi. Some
5845 # architectures don't support it, and default values are set in
5848 # Check whether --with-libffi or --without-libffi was given.
5849 if test "${with_libffi+set}" = set; then
5850 withval
="$with_libffi"
5853 with_libffi
=${with_libffi_default-yes}
5858 if test "$with_libffi" != no
; then
5860 cat >>confdefs.h
<<\_ACEOF
5861 #define USE_LIBFFI 1
5864 LIBFFI
=..
/libffi
/libffi_convenience.la
5865 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
5870 # See if the user wants to disable JVMPI support.
5871 # Check whether --enable-jvmpi or --disable-jvmpi was given.
5872 if test "${enable_jvmpi+set}" = set; then
5873 enableval
="$enable_jvmpi"
5877 if test "$enable_jvmpi" != no
; then
5879 cat >>confdefs.h
<<\_ACEOF
5880 #define ENABLE_JVMPI 1
5885 # If the target is an eCos system, use the appropriate eCos
5887 # FIXME: this should not be a local option but a global target
5888 # system; at present there is no eCos target.
5889 TARGET_ECOS
=${PROCESS-"no"}
5891 # Check whether --with-ecos or --without-ecos was given.
5892 if test "${with_ecos+set}" = set; then
5893 withval
="$with_ecos"
5894 TARGET_ECOS
="$with_ecos"
5900 PLATFORM_INNER_NAT_HDRS
=
5901 case "$TARGET_ECOS" in
5908 echo "$as_me:$LINENO: checking whether 'ld' is at least 2.13" >&5
5909 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6
5910 LD_PROG
=`$CC --print-prog-name=ld`
5911 LD_VERSION
=`$LD_PROG --version`
5912 LD_VERSION_MAJOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
5913 LD_VERSION_MINOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
5914 if expr "$LD_VERSION_MAJOR" \
> 2 > /dev
/null
; then
5917 if expr "$LD_VERSION_MAJOR" = 2 && expr "$LD_VERSION_MINOR" \
>= 13 > /dev
/null
; then
5921 if test "x$LD_OK" != x
; then
5922 echo "$as_me:$LINENO: result: yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
5923 echo "${ECHO_T}yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
5925 echo "$as_me:$LINENO: result: no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
5926 echo "${ECHO_T}no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
5927 { echo "$as_me:$LINENO: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&5
5928 echo "$as_me: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&2;}
5930 cat >>confdefs.h
<<\_ACEOF
5931 #define JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS 1
5940 PLATFORM_INNER_NAT_HDRS
='java/lang/ConcreteProcess$$ProcessManager.h'
5948 cat >>confdefs.h
<<\_ACEOF
5956 ac_config_links
="$ac_config_links include/platform.h:include/$PLATFORMH"
5960 ac_cpp
='$CPP $CPPFLAGS'
5961 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5962 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5963 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5964 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5965 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5966 # On Suns, sometimes $CPP names a directory.
5967 if test -n "$CPP" && test -d "$CPP"; then
5970 if test -z "$CPP"; then
5971 if test "${ac_cv_prog_CPP+set}" = set; then
5972 echo $ECHO_N "(cached) $ECHO_C" >&6
5974 # Double quotes because CPP needs to be expanded
5975 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5978 for ac_c_preproc_warn_flag
in '' yes
5980 # Use a header file that comes with gcc, so configuring glibc
5981 # with a fresh cross-compiler works.
5982 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5983 # <limits.h> exists even on freestanding compilers.
5984 # On the NeXT, cc -E runs the code through the compiler's parser,
5985 # not just through cpp. "Syntax error" is here to catch this case.
5986 cat >conftest.
$ac_ext <<_ACEOF
5989 cat confdefs.h
>>conftest.
$ac_ext
5990 cat >>conftest.
$ac_ext <<_ACEOF
5991 /* end confdefs.h. */
5993 # include <limits.h>
5995 # include <assert.h>
5999 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6000 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6002 grep -v '^ *+' conftest.er1
>conftest.err
6004 cat conftest.err
>&5
6005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6006 (exit $ac_status); } >/dev
/null
; then
6007 if test -s conftest.err
; then
6008 ac_cpp_err
=$ac_c_preproc_warn_flag
6009 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6016 if test -z "$ac_cpp_err"; then
6019 echo "$as_me: failed program was:" >&5
6020 sed 's/^/| /' conftest.
$ac_ext >&5
6022 # Broken: fails on valid input.
6025 rm -f conftest.err conftest.
$ac_ext
6027 # OK, works on sane cases. Now check whether non-existent headers
6028 # can be detected and how.
6029 cat >conftest.
$ac_ext <<_ACEOF
6032 cat confdefs.h
>>conftest.
$ac_ext
6033 cat >>conftest.
$ac_ext <<_ACEOF
6034 /* end confdefs.h. */
6035 #include <ac_nonexistent.h>
6037 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6038 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6040 grep -v '^ *+' conftest.er1
>conftest.err
6042 cat conftest.err
>&5
6043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6044 (exit $ac_status); } >/dev
/null
; then
6045 if test -s conftest.err
; then
6046 ac_cpp_err
=$ac_c_preproc_warn_flag
6047 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6054 if test -z "$ac_cpp_err"; then
6055 # Broken: success on invalid input.
6058 echo "$as_me: failed program was:" >&5
6059 sed 's/^/| /' conftest.
$ac_ext >&5
6061 # Passes both tests.
6065 rm -f conftest.err conftest.
$ac_ext
6068 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6069 rm -f conftest.err conftest.
$ac_ext
6070 if $ac_preproc_ok; then
6082 echo "$as_me:$LINENO: result: $CPP" >&5
6083 echo "${ECHO_T}$CPP" >&6
6085 for ac_c_preproc_warn_flag
in '' yes
6087 # Use a header file that comes with gcc, so configuring glibc
6088 # with a fresh cross-compiler works.
6089 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6090 # <limits.h> exists even on freestanding compilers.
6091 # On the NeXT, cc -E runs the code through the compiler's parser,
6092 # not just through cpp. "Syntax error" is here to catch this case.
6093 cat >conftest.
$ac_ext <<_ACEOF
6096 cat confdefs.h
>>conftest.
$ac_ext
6097 cat >>conftest.
$ac_ext <<_ACEOF
6098 /* end confdefs.h. */
6100 # include <limits.h>
6102 # include <assert.h>
6106 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6107 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6109 grep -v '^ *+' conftest.er1
>conftest.err
6111 cat conftest.err
>&5
6112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6113 (exit $ac_status); } >/dev
/null
; then
6114 if test -s conftest.err
; then
6115 ac_cpp_err
=$ac_c_preproc_warn_flag
6116 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6123 if test -z "$ac_cpp_err"; then
6126 echo "$as_me: failed program was:" >&5
6127 sed 's/^/| /' conftest.
$ac_ext >&5
6129 # Broken: fails on valid input.
6132 rm -f conftest.err conftest.
$ac_ext
6134 # OK, works on sane cases. Now check whether non-existent headers
6135 # can be detected and how.
6136 cat >conftest.
$ac_ext <<_ACEOF
6139 cat confdefs.h
>>conftest.
$ac_ext
6140 cat >>conftest.
$ac_ext <<_ACEOF
6141 /* end confdefs.h. */
6142 #include <ac_nonexistent.h>
6144 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6145 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6147 grep -v '^ *+' conftest.er1
>conftest.err
6149 cat conftest.err
>&5
6150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6151 (exit $ac_status); } >/dev
/null
; then
6152 if test -s conftest.err
; then
6153 ac_cpp_err
=$ac_c_preproc_warn_flag
6154 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6161 if test -z "$ac_cpp_err"; then
6162 # Broken: success on invalid input.
6165 echo "$as_me: failed program was:" >&5
6166 sed 's/^/| /' conftest.
$ac_ext >&5
6168 # Passes both tests.
6172 rm -f conftest.err conftest.
$ac_ext
6175 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6176 rm -f conftest.err conftest.
$ac_ext
6177 if $ac_preproc_ok; then
6180 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6181 See \`config.log' for more details." >&5
6182 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6183 See \`config.log' for more details." >&2;}
6184 { (exit 1); exit 1; }; }
6188 ac_cpp
='$CPP $CPPFLAGS'
6189 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6190 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6191 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6194 echo "$as_me:$LINENO: checking for egrep" >&5
6195 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6196 if test "${ac_cv_prog_egrep+set}" = set; then
6197 echo $ECHO_N "(cached) $ECHO_C" >&6
6199 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
6200 then ac_cv_prog_egrep
='grep -E'
6201 else ac_cv_prog_egrep
='egrep'
6204 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6205 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6206 EGREP
=$ac_cv_prog_egrep
6209 cat >conftest.
$ac_ext <<_ACEOF
6212 cat confdefs.h
>>conftest.
$ac_ext
6213 cat >>conftest.
$ac_ext <<_ACEOF
6214 /* end confdefs.h. */
6218 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6219 $EGREP "uint32_t" >/dev
/null
2>&1; then
6221 cat >>confdefs.h
<<\_ACEOF
6222 #define HAVE_INT32_DEFINED 1
6228 cat >conftest.
$ac_ext <<_ACEOF
6231 cat confdefs.h
>>conftest.
$ac_ext
6232 cat >>conftest.
$ac_ext <<_ACEOF
6233 /* end confdefs.h. */
6234 #include <inttypes.h>
6237 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6238 $EGREP "uint32_t" >/dev
/null
2>&1; then
6240 cat >>confdefs.h
<<\_ACEOF
6241 #define HAVE_INT32_DEFINED 1
6247 cat >conftest.
$ac_ext <<_ACEOF
6250 cat confdefs.h
>>conftest.
$ac_ext
6251 cat >>conftest.
$ac_ext <<_ACEOF
6252 /* end confdefs.h. */
6253 #include <sys/types.h>
6256 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6257 $EGREP "u_int32_t" >/dev
/null
2>&1; then
6259 cat >>confdefs.h
<<\_ACEOF
6260 #define HAVE_BSD_INT32_DEFINED 1
6266 cat >conftest.
$ac_ext <<_ACEOF
6269 cat confdefs.h
>>conftest.
$ac_ext
6270 cat >>conftest.
$ac_ext <<_ACEOF
6271 /* end confdefs.h. */
6272 #include <sys/config.h>
6275 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6276 $EGREP "u_int32_t" >/dev
/null
2>&1; then
6278 cat >>confdefs.h
<<\_ACEOF
6279 #define HAVE_BSD_INT32_DEFINED 1
6288 if test "$PLATFORM" = Win32
; then
6289 USING_WIN32_PLATFORM_TRUE
=
6290 USING_WIN32_PLATFORM_FALSE
='#'
6292 USING_WIN32_PLATFORM_TRUE
='#'
6293 USING_WIN32_PLATFORM_FALSE
=
6298 if test "$PLATFORM" = Posix
; then
6299 USING_POSIX_PLATFORM_TRUE
=
6300 USING_POSIX_PLATFORM_FALSE
='#'
6302 USING_POSIX_PLATFORM_TRUE
='#'
6303 USING_POSIX_PLATFORM_FALSE
=
6308 if test "$PLATFORM" = Ecos
; then
6309 USING_ECOS_PLATFORM_TRUE
=
6310 USING_ECOS_PLATFORM_FALSE
='#'
6312 USING_ECOS_PLATFORM_TRUE
='#'
6313 USING_ECOS_PLATFORM_FALSE
=
6317 # These may not be defined in a non-ANS conformant embedded system.
6318 # FIXME: Should these case a runtime exception in that case?
6319 cat >conftest.
$ac_ext <<_ACEOF
6322 cat confdefs.h
>>conftest.
$ac_ext
6323 cat >>conftest.
$ac_ext <<_ACEOF
6324 /* end confdefs.h. */
6328 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6329 $EGREP "mktime" >/dev
/null
2>&1; then
6331 cat >>confdefs.h
<<\_ACEOF
6332 #define HAVE_MKTIME 1
6338 cat >conftest.
$ac_ext <<_ACEOF
6341 cat confdefs.h
>>conftest.
$ac_ext
6342 cat >>conftest.
$ac_ext <<_ACEOF
6343 /* end confdefs.h. */
6347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6348 $EGREP "localtime" >/dev
/null
2>&1; then
6350 cat >>confdefs.h
<<\_ACEOF
6351 #define HAVE_LOCALTIME 1
6358 # Create the subdirectory for natFile.cc, or the attempt
6359 # to create the link will fail.
6360 test -d java || mkdir java
6361 test -d java
/io || mkdir java
/io
6362 test -d gnu || mkdir gnu
6363 ac_config_links
="$ac_config_links java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc"
6366 # Likewise for ConcreteProcess.java and natConcreteProcess.cc.
6367 test -d java
/lang || mkdir java
/lang
6368 ac_config_links
="$ac_config_links java/lang/ConcreteProcess.java:java/lang/${PLATFORM}Process.java"
6370 ac_config_links
="$ac_config_links java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc"
6373 # Likewise for natInetAddress.cc and natNetworkInterface.cc.
6374 test -d java
/net || mkdir java
/net
6375 ac_config_links
="$ac_config_links java/net/natInetAddress.cc:java/net/natInetAddress${PLATFORMNET}.cc"
6377 ac_config_links
="$ac_config_links java/net/natNetworkInterface.cc:java/net/natNetworkInterface${PLATFORMNET}.cc"
6380 # Likewise for natPlainSocketImpl.cc and natPlainDatagramSocketImpl.cc.
6381 test -d gnu
/java || mkdir gnu
/java
6382 test -d gnu
/java
/net || mkdir gnu
/java
/net
6383 ac_config_links
="$ac_config_links gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc"
6385 ac_config_links
="$ac_config_links gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc"
6388 # Likewise for natPipeImpl.cc and natSelectorImpl.cc.
6389 test -d gnu
/java
/nio || mkdir gnu
/java
/nio
6390 ac_config_links
="$ac_config_links gnu/java/nio/natPipeImpl.cc:gnu/java/nio/natPipeImpl${PLATFORM}.cc"
6392 ac_config_links
="$ac_config_links gnu/java/nio/natSelectorImpl.cc:gnu/java/nio/natSelectorImpl${PLATFORM}.cc"
6394 test -d gnu
/java
/nio
/channels || mkdir gnu
/java
/nio
/channels
6395 ac_config_links
="$ac_config_links gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc"
6400 SYSTEMSPEC
="-lgdi32 -lws2_32"
6401 if test "${with_win32_nlsapi}" = "unicows"; then
6402 SYSTEMSPEC
="-lunicows $SYSTEMSPEC"
6411 LIBGCJTESTSPEC
="-L`${PWDCMD-pwd}`/.libs -rpath `${PWDCMD-pwd}`/.libs"
6415 # Check whether --with-system-zlib or --without-system-zlib was given.
6416 if test "${with_system_zlib+set}" = set; then
6417 withval
="$with_system_zlib"
6426 if test "x$ac_path_x_has_been_run" != xyes
; then
6427 echo "$as_me:$LINENO: checking for X" >&5
6428 echo $ECHO_N "checking for X... $ECHO_C" >&6
6430 ac_path_x_has_been_run
=yes
6432 # Check whether --with-x or --without-x was given.
6433 if test "${with_x+set}" = set; then
6437 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
6438 if test "x$with_x" = xno
; then
6439 # The user explicitly disabled X.
6442 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
6443 # Both variables are already set.
6446 if test "${ac_cv_have_x+set}" = set; then
6447 echo $ECHO_N "(cached) $ECHO_C" >&6
6449 # One or both of the vars are not set, and there is no cached value.
6450 ac_x_includes
=no ac_x_libraries
=no
6452 if mkdir conftest.dir
; then
6454 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
6455 cat >Imakefile
<<'_ACEOF'
6457 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
6459 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
6460 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6461 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
6462 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
6463 for ac_extension
in a so sl
; do
6464 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
6465 test -f $ac_im_libdir/libX11.
$ac_extension; then
6466 ac_im_usrlibdir
=$ac_im_libdir; break
6469 # Screen out bogus values from the imake configuration. They are
6470 # bogus both because they are the default anyway, and because
6471 # using them would break gcc on systems where it needs fixed includes.
6472 case $ac_im_incroot in
6474 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
6476 case $ac_im_usrlibdir in
6478 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
6485 # Standard set of common directories for X headers.
6486 # Check X11 before X11Rn because it is often a symlink to the current release.
6498 /usr/local/X11/include
6499 /usr/local/X11R6/include
6500 /usr/local/X11R5/include
6501 /usr/local/X11R4/include
6503 /usr/local/include/X11
6504 /usr/local/include/X11R6
6505 /usr/local/include/X11R5
6506 /usr/local/include/X11R4
6510 /usr/XFree86/include/X11
6514 /usr/unsupported/include
6516 /usr/local/x11r5/include
6517 /usr/lpp/Xamples/include
6519 /usr/openwin/include
6520 /usr/openwin/share/include'
6522 if test "$ac_x_includes" = no
; then
6523 # Guess where to find include files, by looking for a specified header file.
6524 # First, try using that file with no special directory specified.
6525 cat >conftest.
$ac_ext <<_ACEOF
6528 cat confdefs.h
>>conftest.
$ac_ext
6529 cat >>conftest.
$ac_ext <<_ACEOF
6530 /* end confdefs.h. */
6531 #include <X11/Intrinsic.h>
6533 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6534 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6536 grep -v '^ *+' conftest.er1
>conftest.err
6538 cat conftest.err
>&5
6539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6540 (exit $ac_status); } >/dev
/null
; then
6541 if test -s conftest.err
; then
6542 ac_cpp_err
=$ac_c_preproc_warn_flag
6543 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6550 if test -z "$ac_cpp_err"; then
6551 # We can compile using X headers with no special include directory.
6554 echo "$as_me: failed program was:" >&5
6555 sed 's/^/| /' conftest.
$ac_ext >&5
6557 for ac_dir
in $ac_x_header_dirs; do
6558 if test -r "$ac_dir/X11/Intrinsic.h"; then
6559 ac_x_includes
=$ac_dir
6564 rm -f conftest.err conftest.
$ac_ext
6565 fi # $ac_x_includes = no
6567 if test "$ac_x_libraries" = no
; then
6568 # Check for the libraries.
6569 # See if we find them without any special options.
6570 # Don't add to $LIBS permanently.
6573 if test x
$gcc_no_link = xyes
; then
6574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6576 { (exit 1); exit 1; }; }
6578 cat >conftest.
$ac_ext <<_ACEOF
6581 cat confdefs.h
>>conftest.
$ac_ext
6582 cat >>conftest.
$ac_ext <<_ACEOF
6583 /* end confdefs.h. */
6584 #include <X11/Intrinsic.h>
6593 rm -f conftest.
$ac_objext conftest
$ac_exeext
6594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6595 (eval $ac_link) 2>conftest.er1
6597 grep -v '^ *+' conftest.er1
>conftest.err
6599 cat conftest.err
>&5
6600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6601 (exit $ac_status); } &&
6602 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6607 (exit $ac_status); }; } &&
6608 { ac_try
='test -s conftest$ac_exeext'
6609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6613 (exit $ac_status); }; }; then
6615 # We can link X programs with no special library path.
6618 echo "$as_me: failed program was:" >&5
6619 sed 's/^/| /' conftest.
$ac_ext >&5
6622 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
6624 # Don't even attempt the hair of trying to link an X program!
6625 for ac_extension
in a so sl
; do
6626 if test -r $ac_dir/libXt.
$ac_extension; then
6627 ac_x_libraries
=$ac_dir
6633 rm -f conftest.err conftest.
$ac_objext \
6634 conftest
$ac_exeext conftest.
$ac_ext
6635 fi # $ac_x_libraries = no
6637 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
6638 # Didn't find X anywhere. Cache the known absence of X.
6639 ac_cv_have_x
="have_x=no"
6641 # Record where we found X for the cache.
6642 ac_cv_have_x
="have_x=yes \
6643 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
6648 eval "$ac_cv_have_x"
6651 if test "$have_x" != yes; then
6652 echo "$as_me:$LINENO: result: $have_x" >&5
6653 echo "${ECHO_T}$have_x" >&6
6656 # If each of the values was on the command line, it overrides each guess.
6657 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
6658 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
6659 # Update the cache value to reflect the command line values.
6660 ac_cv_have_x
="have_x=yes \
6661 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
6662 # It might be that x_includes is empty (headers are found in the
6663 # standard search path. Then output the corresponding message
6664 ac_out_x_includes
=$x_includes
6665 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
6666 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
6667 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
6671 if test "$no_x" = yes; then
6672 # Not all programs may use this symbol, but it does not hurt to define it.
6674 cat >>confdefs.h
<<\_ACEOF
6675 #define X_DISPLAY_MISSING 1
6678 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
6680 if test -n "$x_includes"; then
6681 X_CFLAGS
="$X_CFLAGS -I$x_includes"
6684 # It would also be nice to do this for all -L options, not just this one.
6685 if test -n "$x_libraries"; then
6686 X_LIBS
="$X_LIBS -L$x_libraries"
6687 # For Solaris; some versions of Sun CC require a space after -R and
6688 # others require no space. Words are not sufficient . . . .
6689 case `(uname -sr) 2>/dev/null` in
6691 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
6692 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
6693 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
6694 if test x
$gcc_no_link = xyes
; then
6695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6697 { (exit 1); exit 1; }; }
6699 cat >conftest.
$ac_ext <<_ACEOF
6702 cat confdefs.h
>>conftest.
$ac_ext
6703 cat >>conftest.
$ac_ext <<_ACEOF
6704 /* end confdefs.h. */
6714 rm -f conftest.
$ac_objext conftest
$ac_exeext
6715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6716 (eval $ac_link) 2>conftest.er1
6718 grep -v '^ *+' conftest.er1
>conftest.err
6720 cat conftest.err
>&5
6721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6722 (exit $ac_status); } &&
6723 { ac_try
='test -z "$ac_c_werror_flag" || 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
6737 echo "$as_me: failed program was:" >&5
6738 sed 's/^/| /' conftest.
$ac_ext >&5
6742 rm -f conftest.err conftest.
$ac_objext \
6743 conftest
$ac_exeext conftest.
$ac_ext
6744 if test $ac_R_nospace = yes; then
6745 echo "$as_me:$LINENO: result: no" >&5
6746 echo "${ECHO_T}no" >&6
6747 X_LIBS
="$X_LIBS -R$x_libraries"
6749 LIBS
="$ac_xsave_LIBS -R $x_libraries"
6750 if test x
$gcc_no_link = xyes
; then
6751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6753 { (exit 1); exit 1; }; }
6755 cat >conftest.
$ac_ext <<_ACEOF
6758 cat confdefs.h
>>conftest.
$ac_ext
6759 cat >>conftest.
$ac_ext <<_ACEOF
6760 /* end confdefs.h. */
6770 rm -f conftest.
$ac_objext conftest
$ac_exeext
6771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6772 (eval $ac_link) 2>conftest.er1
6774 grep -v '^ *+' conftest.er1
>conftest.err
6776 cat conftest.err
>&5
6777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6778 (exit $ac_status); } &&
6779 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6784 (exit $ac_status); }; } &&
6785 { ac_try
='test -s conftest$ac_exeext'
6786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6790 (exit $ac_status); }; }; then
6793 echo "$as_me: failed program was:" >&5
6794 sed 's/^/| /' conftest.
$ac_ext >&5
6798 rm -f conftest.err conftest.
$ac_objext \
6799 conftest
$ac_exeext conftest.
$ac_ext
6800 if test $ac_R_space = yes; then
6801 echo "$as_me:$LINENO: result: yes" >&5
6802 echo "${ECHO_T}yes" >&6
6803 X_LIBS
="$X_LIBS -R $x_libraries"
6805 echo "$as_me:$LINENO: result: neither works" >&5
6806 echo "${ECHO_T}neither works" >&6
6813 # Check for system-dependent libraries X programs must link with.
6814 # Do this before checking for the system-independent R6 libraries
6815 # (-lICE), since we may need -lsocket or whatever for X linking.
6817 if test "$ISC" = yes; then
6818 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
6820 # Martyn Johnson says this is needed for Ultrix, if the X
6821 # libraries were built with DECnet support. And Karl Berry says
6822 # the Alpha needs dnet_stub (dnet does not exist).
6823 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
6824 if test x
$gcc_no_link = xyes
; then
6825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6827 { (exit 1); exit 1; }; }
6829 cat >conftest.
$ac_ext <<_ACEOF
6832 cat confdefs.h
>>conftest.
$ac_ext
6833 cat >>conftest.
$ac_ext <<_ACEOF
6834 /* end confdefs.h. */
6836 /* Override any gcc2 internal prototype to avoid an error. */
6840 /* We use char because int might match the return type of a gcc2
6841 builtin and then its argument prototype would still apply. */
6842 char XOpenDisplay ();
6851 rm -f conftest.
$ac_objext conftest
$ac_exeext
6852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6853 (eval $ac_link) 2>conftest.er1
6855 grep -v '^ *+' conftest.er1
>conftest.err
6857 cat conftest.err
>&5
6858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6859 (exit $ac_status); } &&
6860 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6865 (exit $ac_status); }; } &&
6866 { ac_try
='test -s conftest$ac_exeext'
6867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6871 (exit $ac_status); }; }; then
6874 echo "$as_me: failed program was:" >&5
6875 sed 's/^/| /' conftest.
$ac_ext >&5
6877 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
6878 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
6879 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
6880 echo $ECHO_N "(cached) $ECHO_C" >&6
6882 ac_check_lib_save_LIBS
=$LIBS
6884 if test x
$gcc_no_link = xyes
; then
6885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6887 { (exit 1); exit 1; }; }
6889 cat >conftest.
$ac_ext <<_ACEOF
6892 cat confdefs.h
>>conftest.
$ac_ext
6893 cat >>conftest.
$ac_ext <<_ACEOF
6894 /* end confdefs.h. */
6896 /* Override any gcc2 internal prototype to avoid an error. */
6900 /* We use char because int might match the return type of a gcc2
6901 builtin and then its argument prototype would still apply. */
6911 rm -f conftest.
$ac_objext conftest
$ac_exeext
6912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6913 (eval $ac_link) 2>conftest.er1
6915 grep -v '^ *+' conftest.er1
>conftest.err
6917 cat conftest.err
>&5
6918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6919 (exit $ac_status); } &&
6920 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6925 (exit $ac_status); }; } &&
6926 { ac_try
='test -s conftest$ac_exeext'
6927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6931 (exit $ac_status); }; }; then
6932 ac_cv_lib_dnet_dnet_ntoa
=yes
6934 echo "$as_me: failed program was:" >&5
6935 sed 's/^/| /' conftest.
$ac_ext >&5
6937 ac_cv_lib_dnet_dnet_ntoa
=no
6939 rm -f conftest.err conftest.
$ac_objext \
6940 conftest
$ac_exeext conftest.
$ac_ext
6941 LIBS
=$ac_check_lib_save_LIBS
6943 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
6944 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
6945 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
6946 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
6949 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
6950 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
6951 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
6952 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
6953 echo $ECHO_N "(cached) $ECHO_C" >&6
6955 ac_check_lib_save_LIBS
=$LIBS
6956 LIBS
="-ldnet_stub $LIBS"
6957 if test x
$gcc_no_link = xyes
; then
6958 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6960 { (exit 1); exit 1; }; }
6962 cat >conftest.
$ac_ext <<_ACEOF
6965 cat confdefs.h
>>conftest.
$ac_ext
6966 cat >>conftest.
$ac_ext <<_ACEOF
6967 /* end confdefs.h. */
6969 /* Override any gcc2 internal prototype to avoid an error. */
6973 /* We use char because int might match the return type of a gcc2
6974 builtin and then its argument prototype would still apply. */
6984 rm -f conftest.
$ac_objext conftest
$ac_exeext
6985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6986 (eval $ac_link) 2>conftest.er1
6988 grep -v '^ *+' conftest.er1
>conftest.err
6990 cat conftest.err
>&5
6991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6992 (exit $ac_status); } &&
6993 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6998 (exit $ac_status); }; } &&
6999 { ac_try
='test -s conftest$ac_exeext'
7000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7004 (exit $ac_status); }; }; then
7005 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
7007 echo "$as_me: failed program was:" >&5
7008 sed 's/^/| /' conftest.
$ac_ext >&5
7010 ac_cv_lib_dnet_stub_dnet_ntoa
=no
7012 rm -f conftest.err conftest.
$ac_objext \
7013 conftest
$ac_exeext conftest.
$ac_ext
7014 LIBS
=$ac_check_lib_save_LIBS
7016 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7017 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
7018 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
7019 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7024 rm -f conftest.err conftest.
$ac_objext \
7025 conftest
$ac_exeext conftest.
$ac_ext
7026 LIBS
="$ac_xsave_LIBS"
7028 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7029 # to get the SysV transport functions.
7030 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7032 # The nsl library prevents programs from opening the X display
7033 # on Irix 5.2, according to T.E. Dickey.
7034 # The functions gethostbyname, getservbyname, and inet_addr are
7035 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7036 echo "$as_me:$LINENO: checking for gethostbyname" >&5
7037 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
7038 if test "${ac_cv_func_gethostbyname+set}" = set; then
7039 echo $ECHO_N "(cached) $ECHO_C" >&6
7041 if test x
$gcc_no_link = xyes
; then
7042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7044 { (exit 1); exit 1; }; }
7046 cat >conftest.
$ac_ext <<_ACEOF
7049 cat confdefs.h
>>conftest.
$ac_ext
7050 cat >>conftest.
$ac_ext <<_ACEOF
7051 /* end confdefs.h. */
7052 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
7053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7054 #define gethostbyname innocuous_gethostbyname
7056 /* System header to define __stub macros and hopefully few prototypes,
7057 which can conflict with char gethostbyname (); below.
7058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7059 <limits.h> exists even on freestanding compilers. */
7062 # include <limits.h>
7064 # include <assert.h>
7067 #undef gethostbyname
7069 /* Override any gcc2 internal prototype to avoid an error. */
7074 /* We use char because int might match the return type of a gcc2
7075 builtin and then its argument prototype would still apply. */
7076 char gethostbyname ();
7077 /* The GNU C library defines this for functions which it implements
7078 to always fail with ENOSYS. Some functions are actually named
7079 something starting with __ and the normal name is an alias. */
7080 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7083 char (*f) () = gethostbyname;
7092 return f != gethostbyname;
7097 rm -f conftest.
$ac_objext conftest
$ac_exeext
7098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7099 (eval $ac_link) 2>conftest.er1
7101 grep -v '^ *+' conftest.er1
>conftest.err
7103 cat conftest.err
>&5
7104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7105 (exit $ac_status); } &&
7106 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7111 (exit $ac_status); }; } &&
7112 { ac_try
='test -s conftest$ac_exeext'
7113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7117 (exit $ac_status); }; }; then
7118 ac_cv_func_gethostbyname
=yes
7120 echo "$as_me: failed program was:" >&5
7121 sed 's/^/| /' conftest.
$ac_ext >&5
7123 ac_cv_func_gethostbyname
=no
7125 rm -f conftest.err conftest.
$ac_objext \
7126 conftest
$ac_exeext conftest.
$ac_ext
7128 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
7129 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
7131 if test $ac_cv_func_gethostbyname = no
; then
7132 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
7133 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
7134 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
7135 echo $ECHO_N "(cached) $ECHO_C" >&6
7137 ac_check_lib_save_LIBS
=$LIBS
7139 if test x
$gcc_no_link = xyes
; then
7140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7142 { (exit 1); exit 1; }; }
7144 cat >conftest.
$ac_ext <<_ACEOF
7147 cat confdefs.h
>>conftest.
$ac_ext
7148 cat >>conftest.
$ac_ext <<_ACEOF
7149 /* end confdefs.h. */
7151 /* Override any gcc2 internal prototype to avoid an error. */
7155 /* We use char because int might match the return type of a gcc2
7156 builtin and then its argument prototype would still apply. */
7157 char gethostbyname ();
7166 rm -f conftest.
$ac_objext conftest
$ac_exeext
7167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7168 (eval $ac_link) 2>conftest.er1
7170 grep -v '^ *+' conftest.er1
>conftest.err
7172 cat conftest.err
>&5
7173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7174 (exit $ac_status); } &&
7175 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7180 (exit $ac_status); }; } &&
7181 { ac_try
='test -s conftest$ac_exeext'
7182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7186 (exit $ac_status); }; }; then
7187 ac_cv_lib_nsl_gethostbyname
=yes
7189 echo "$as_me: failed program was:" >&5
7190 sed 's/^/| /' conftest.
$ac_ext >&5
7192 ac_cv_lib_nsl_gethostbyname
=no
7194 rm -f conftest.err conftest.
$ac_objext \
7195 conftest
$ac_exeext conftest.
$ac_ext
7196 LIBS
=$ac_check_lib_save_LIBS
7198 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
7199 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
7200 if test $ac_cv_lib_nsl_gethostbyname = yes; then
7201 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7204 if test $ac_cv_lib_nsl_gethostbyname = no
; then
7205 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
7206 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
7207 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
7208 echo $ECHO_N "(cached) $ECHO_C" >&6
7210 ac_check_lib_save_LIBS
=$LIBS
7212 if test x
$gcc_no_link = xyes
; then
7213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7215 { (exit 1); exit 1; }; }
7217 cat >conftest.
$ac_ext <<_ACEOF
7220 cat confdefs.h
>>conftest.
$ac_ext
7221 cat >>conftest.
$ac_ext <<_ACEOF
7222 /* end confdefs.h. */
7224 /* Override any gcc2 internal prototype to avoid an error. */
7228 /* We use char because int might match the return type of a gcc2
7229 builtin and then its argument prototype would still apply. */
7230 char gethostbyname ();
7239 rm -f conftest.
$ac_objext conftest
$ac_exeext
7240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7241 (eval $ac_link) 2>conftest.er1
7243 grep -v '^ *+' conftest.er1
>conftest.err
7245 cat conftest.err
>&5
7246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7247 (exit $ac_status); } &&
7248 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7253 (exit $ac_status); }; } &&
7254 { ac_try
='test -s conftest$ac_exeext'
7255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7259 (exit $ac_status); }; }; then
7260 ac_cv_lib_bsd_gethostbyname
=yes
7262 echo "$as_me: failed program was:" >&5
7263 sed 's/^/| /' conftest.
$ac_ext >&5
7265 ac_cv_lib_bsd_gethostbyname
=no
7267 rm -f conftest.err conftest.
$ac_objext \
7268 conftest
$ac_exeext conftest.
$ac_ext
7269 LIBS
=$ac_check_lib_save_LIBS
7271 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
7272 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
7273 if test $ac_cv_lib_bsd_gethostbyname = yes; then
7274 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
7280 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7281 # socket/setsockopt and other routines are undefined under SCO ODT
7282 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7283 # on later versions), says Simon Leinen: it contains gethostby*
7284 # variants that don't use the name server (or something). -lsocket
7285 # must be given before -lnsl if both are needed. We assume that
7286 # if connect needs -lnsl, so does gethostbyname.
7287 echo "$as_me:$LINENO: checking for connect" >&5
7288 echo $ECHO_N "checking for connect... $ECHO_C" >&6
7289 if test "${ac_cv_func_connect+set}" = set; then
7290 echo $ECHO_N "(cached) $ECHO_C" >&6
7292 if test x
$gcc_no_link = xyes
; then
7293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7295 { (exit 1); exit 1; }; }
7297 cat >conftest.
$ac_ext <<_ACEOF
7300 cat confdefs.h
>>conftest.
$ac_ext
7301 cat >>conftest.
$ac_ext <<_ACEOF
7302 /* end confdefs.h. */
7303 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
7304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7305 #define connect innocuous_connect
7307 /* System header to define __stub macros and hopefully few prototypes,
7308 which can conflict with char connect (); below.
7309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7310 <limits.h> exists even on freestanding compilers. */
7313 # include <limits.h>
7315 # include <assert.h>
7320 /* Override any gcc2 internal prototype to avoid an error. */
7325 /* We use char because int might match the return type of a gcc2
7326 builtin and then its argument prototype would still apply. */
7328 /* The GNU C library defines this for functions which it implements
7329 to always fail with ENOSYS. Some functions are actually named
7330 something starting with __ and the normal name is an alias. */
7331 #if defined (__stub_connect) || defined (__stub___connect)
7334 char (*f) () = connect;
7343 return f != connect;
7348 rm -f conftest.
$ac_objext conftest
$ac_exeext
7349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7350 (eval $ac_link) 2>conftest.er1
7352 grep -v '^ *+' conftest.er1
>conftest.err
7354 cat conftest.err
>&5
7355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7356 (exit $ac_status); } &&
7357 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7362 (exit $ac_status); }; } &&
7363 { ac_try
='test -s conftest$ac_exeext'
7364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7368 (exit $ac_status); }; }; then
7369 ac_cv_func_connect
=yes
7371 echo "$as_me: failed program was:" >&5
7372 sed 's/^/| /' conftest.
$ac_ext >&5
7374 ac_cv_func_connect
=no
7376 rm -f conftest.err conftest.
$ac_objext \
7377 conftest
$ac_exeext conftest.
$ac_ext
7379 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
7380 echo "${ECHO_T}$ac_cv_func_connect" >&6
7382 if test $ac_cv_func_connect = no
; then
7383 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
7384 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
7385 if test "${ac_cv_lib_socket_connect+set}" = set; then
7386 echo $ECHO_N "(cached) $ECHO_C" >&6
7388 ac_check_lib_save_LIBS
=$LIBS
7389 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7390 if test x
$gcc_no_link = xyes
; then
7391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7393 { (exit 1); exit 1; }; }
7395 cat >conftest.
$ac_ext <<_ACEOF
7398 cat confdefs.h
>>conftest.
$ac_ext
7399 cat >>conftest.
$ac_ext <<_ACEOF
7400 /* end confdefs.h. */
7402 /* Override any gcc2 internal prototype to avoid an error. */
7406 /* We use char because int might match the return type of a gcc2
7407 builtin and then its argument prototype would still apply. */
7417 rm -f conftest.
$ac_objext conftest
$ac_exeext
7418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7419 (eval $ac_link) 2>conftest.er1
7421 grep -v '^ *+' conftest.er1
>conftest.err
7423 cat conftest.err
>&5
7424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7425 (exit $ac_status); } &&
7426 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7431 (exit $ac_status); }; } &&
7432 { ac_try
='test -s conftest$ac_exeext'
7433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7437 (exit $ac_status); }; }; then
7438 ac_cv_lib_socket_connect
=yes
7440 echo "$as_me: failed program was:" >&5
7441 sed 's/^/| /' conftest.
$ac_ext >&5
7443 ac_cv_lib_socket_connect
=no
7445 rm -f conftest.err conftest.
$ac_objext \
7446 conftest
$ac_exeext conftest.
$ac_ext
7447 LIBS
=$ac_check_lib_save_LIBS
7449 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
7450 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
7451 if test $ac_cv_lib_socket_connect = yes; then
7452 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7457 # Guillermo Gomez says -lposix is necessary on A/UX.
7458 echo "$as_me:$LINENO: checking for remove" >&5
7459 echo $ECHO_N "checking for remove... $ECHO_C" >&6
7460 if test "${ac_cv_func_remove+set}" = set; then
7461 echo $ECHO_N "(cached) $ECHO_C" >&6
7463 if test x
$gcc_no_link = xyes
; then
7464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7466 { (exit 1); exit 1; }; }
7468 cat >conftest.
$ac_ext <<_ACEOF
7471 cat confdefs.h
>>conftest.
$ac_ext
7472 cat >>conftest.
$ac_ext <<_ACEOF
7473 /* end confdefs.h. */
7474 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
7475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7476 #define remove innocuous_remove
7478 /* System header to define __stub macros and hopefully few prototypes,
7479 which can conflict with char remove (); below.
7480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7481 <limits.h> exists even on freestanding compilers. */
7484 # include <limits.h>
7486 # include <assert.h>
7491 /* Override any gcc2 internal prototype to avoid an error. */
7496 /* We use char because int might match the return type of a gcc2
7497 builtin and then its argument prototype would still apply. */
7499 /* The GNU C library defines this for functions which it implements
7500 to always fail with ENOSYS. Some functions are actually named
7501 something starting with __ and the normal name is an alias. */
7502 #if defined (__stub_remove) || defined (__stub___remove)
7505 char (*f) () = remove;
7519 rm -f conftest.
$ac_objext conftest
$ac_exeext
7520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7521 (eval $ac_link) 2>conftest.er1
7523 grep -v '^ *+' conftest.er1
>conftest.err
7525 cat conftest.err
>&5
7526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7527 (exit $ac_status); } &&
7528 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7533 (exit $ac_status); }; } &&
7534 { ac_try
='test -s conftest$ac_exeext'
7535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7539 (exit $ac_status); }; }; then
7540 ac_cv_func_remove
=yes
7542 echo "$as_me: failed program was:" >&5
7543 sed 's/^/| /' conftest.
$ac_ext >&5
7545 ac_cv_func_remove
=no
7547 rm -f conftest.err conftest.
$ac_objext \
7548 conftest
$ac_exeext conftest.
$ac_ext
7550 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
7551 echo "${ECHO_T}$ac_cv_func_remove" >&6
7553 if test $ac_cv_func_remove = no
; then
7554 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
7555 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
7556 if test "${ac_cv_lib_posix_remove+set}" = set; then
7557 echo $ECHO_N "(cached) $ECHO_C" >&6
7559 ac_check_lib_save_LIBS
=$LIBS
7560 LIBS
="-lposix $LIBS"
7561 if test x
$gcc_no_link = xyes
; then
7562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7564 { (exit 1); exit 1; }; }
7566 cat >conftest.
$ac_ext <<_ACEOF
7569 cat confdefs.h
>>conftest.
$ac_ext
7570 cat >>conftest.
$ac_ext <<_ACEOF
7571 /* end confdefs.h. */
7573 /* Override any gcc2 internal prototype to avoid an error. */
7577 /* We use char because int might match the return type of a gcc2
7578 builtin and then its argument prototype would still apply. */
7588 rm -f conftest.
$ac_objext conftest
$ac_exeext
7589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7590 (eval $ac_link) 2>conftest.er1
7592 grep -v '^ *+' conftest.er1
>conftest.err
7594 cat conftest.err
>&5
7595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7596 (exit $ac_status); } &&
7597 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7602 (exit $ac_status); }; } &&
7603 { ac_try
='test -s conftest$ac_exeext'
7604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7608 (exit $ac_status); }; }; then
7609 ac_cv_lib_posix_remove
=yes
7611 echo "$as_me: failed program was:" >&5
7612 sed 's/^/| /' conftest.
$ac_ext >&5
7614 ac_cv_lib_posix_remove
=no
7616 rm -f conftest.err conftest.
$ac_objext \
7617 conftest
$ac_exeext conftest.
$ac_ext
7618 LIBS
=$ac_check_lib_save_LIBS
7620 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
7621 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
7622 if test $ac_cv_lib_posix_remove = yes; then
7623 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7628 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7629 echo "$as_me:$LINENO: checking for shmat" >&5
7630 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
7631 if test "${ac_cv_func_shmat+set}" = set; then
7632 echo $ECHO_N "(cached) $ECHO_C" >&6
7634 if test x
$gcc_no_link = xyes
; then
7635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7637 { (exit 1); exit 1; }; }
7639 cat >conftest.
$ac_ext <<_ACEOF
7642 cat confdefs.h
>>conftest.
$ac_ext
7643 cat >>conftest.
$ac_ext <<_ACEOF
7644 /* end confdefs.h. */
7645 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
7646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7647 #define shmat innocuous_shmat
7649 /* System header to define __stub macros and hopefully few prototypes,
7650 which can conflict with char shmat (); below.
7651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7652 <limits.h> exists even on freestanding compilers. */
7655 # include <limits.h>
7657 # include <assert.h>
7662 /* Override any gcc2 internal prototype to avoid an error. */
7667 /* We use char because int might match the return type of a gcc2
7668 builtin and then its argument prototype would still apply. */
7670 /* The GNU C library defines this for functions which it implements
7671 to always fail with ENOSYS. Some functions are actually named
7672 something starting with __ and the normal name is an alias. */
7673 #if defined (__stub_shmat) || defined (__stub___shmat)
7676 char (*f) () = shmat;
7690 rm -f conftest.
$ac_objext conftest
$ac_exeext
7691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7692 (eval $ac_link) 2>conftest.er1
7694 grep -v '^ *+' conftest.er1
>conftest.err
7696 cat conftest.err
>&5
7697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7698 (exit $ac_status); } &&
7699 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7704 (exit $ac_status); }; } &&
7705 { ac_try
='test -s conftest$ac_exeext'
7706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7710 (exit $ac_status); }; }; then
7711 ac_cv_func_shmat
=yes
7713 echo "$as_me: failed program was:" >&5
7714 sed 's/^/| /' conftest.
$ac_ext >&5
7718 rm -f conftest.err conftest.
$ac_objext \
7719 conftest
$ac_exeext conftest.
$ac_ext
7721 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
7722 echo "${ECHO_T}$ac_cv_func_shmat" >&6
7724 if test $ac_cv_func_shmat = no
; then
7725 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
7726 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
7727 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
7728 echo $ECHO_N "(cached) $ECHO_C" >&6
7730 ac_check_lib_save_LIBS
=$LIBS
7732 if test x
$gcc_no_link = xyes
; then
7733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7735 { (exit 1); exit 1; }; }
7737 cat >conftest.
$ac_ext <<_ACEOF
7740 cat confdefs.h
>>conftest.
$ac_ext
7741 cat >>conftest.
$ac_ext <<_ACEOF
7742 /* end confdefs.h. */
7744 /* Override any gcc2 internal prototype to avoid an error. */
7748 /* We use char because int might match the return type of a gcc2
7749 builtin and then its argument prototype would still apply. */
7759 rm -f conftest.
$ac_objext conftest
$ac_exeext
7760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7761 (eval $ac_link) 2>conftest.er1
7763 grep -v '^ *+' conftest.er1
>conftest.err
7765 cat conftest.err
>&5
7766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7767 (exit $ac_status); } &&
7768 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7773 (exit $ac_status); }; } &&
7774 { ac_try
='test -s conftest$ac_exeext'
7775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7779 (exit $ac_status); }; }; then
7780 ac_cv_lib_ipc_shmat
=yes
7782 echo "$as_me: failed program was:" >&5
7783 sed 's/^/| /' conftest.
$ac_ext >&5
7785 ac_cv_lib_ipc_shmat
=no
7787 rm -f conftest.err conftest.
$ac_objext \
7788 conftest
$ac_exeext conftest.
$ac_ext
7789 LIBS
=$ac_check_lib_save_LIBS
7791 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
7792 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
7793 if test $ac_cv_lib_ipc_shmat = yes; then
7794 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7800 # Check for libraries that X11R6 Xt/Xaw programs need.
7801 ac_save_LDFLAGS
=$LDFLAGS
7802 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7803 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7804 # check for ICE first), but we must link in the order -lSM -lICE or
7805 # we get undefined symbols. So assume we have SM if we have ICE.
7806 # These have to be linked with before -lX11, unlike the other
7807 # libraries we check for below, so use a different variable.
7808 # John Interrante, Karl Berry
7809 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
7810 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
7811 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
7812 echo $ECHO_N "(cached) $ECHO_C" >&6
7814 ac_check_lib_save_LIBS
=$LIBS
7815 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7816 if test x
$gcc_no_link = xyes
; then
7817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7819 { (exit 1); exit 1; }; }
7821 cat >conftest.
$ac_ext <<_ACEOF
7824 cat confdefs.h
>>conftest.
$ac_ext
7825 cat >>conftest.
$ac_ext <<_ACEOF
7826 /* end confdefs.h. */
7828 /* Override any gcc2 internal prototype to avoid an error. */
7832 /* We use char because int might match the return type of a gcc2
7833 builtin and then its argument prototype would still apply. */
7834 char IceConnectionNumber ();
7838 IceConnectionNumber ();
7843 rm -f conftest.
$ac_objext conftest
$ac_exeext
7844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7845 (eval $ac_link) 2>conftest.er1
7847 grep -v '^ *+' conftest.er1
>conftest.err
7849 cat conftest.err
>&5
7850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7851 (exit $ac_status); } &&
7852 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7857 (exit $ac_status); }; } &&
7858 { ac_try
='test -s conftest$ac_exeext'
7859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7863 (exit $ac_status); }; }; then
7864 ac_cv_lib_ICE_IceConnectionNumber
=yes
7866 echo "$as_me: failed program was:" >&5
7867 sed 's/^/| /' conftest.
$ac_ext >&5
7869 ac_cv_lib_ICE_IceConnectionNumber
=no
7871 rm -f conftest.err conftest.
$ac_objext \
7872 conftest
$ac_exeext conftest.
$ac_ext
7873 LIBS
=$ac_check_lib_save_LIBS
7875 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7876 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
7877 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
7878 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7881 LDFLAGS
=$ac_save_LDFLAGS
7886 # Determine which AWT peer libraries to build
7887 # Check whether --enable-java-awt or --disable-java-awt was given.
7888 if test "${enable_java_awt+set}" = set; then
7889 enableval
="$enable_java_awt"
7893 peerlibs
="`echo ${enable_java_awt} | tr ',' ' '`"
7896 # The default toolkit to use is the first one specified.
7900 for peer
in $peerlibs ; do
7903 if test "$no_x" = yes; then
7904 echo "*** xlib peers requested but no X library available" 1>&2
7908 if test -z "$TOOLKIT"; then
7909 TOOLKIT
=gnu.awt.xlib.XToolkit
7914 if test "$no_x" = yes; then
7915 echo "*** xlib peers requested but no X library available" 1>&2
7919 if test -z "$TOOLKIT"; then
7920 TOOLKIT
=gnu.java.awt.peer.gtk.GtkToolkit
7922 test -d jniinclude || mkdir jniinclude
7931 echo "*** unrecognised argument \"${peer}\" for --enable-java-awt" 1>&2
7938 if test "$use_xlib_awt" = yes; then
7948 if test "$use_gtk_awt" = yes; then
7957 # determine whether to enable the cairo GTK Graphics2D backend
7958 # Check whether --enable-gtk-cairo or --disable-gtk-cairo was given.
7959 if test "${enable_gtk_cairo+set}" = set; then
7960 enableval
="$enable_gtk_cairo"
7965 if test "x${enable_gtk_cairo}" = xyes
; then
7973 if test "x${enable_gtk_cairo}" = xyes
7978 if test -z "$PKG_CONFIG"; then
7979 # Extract the first word of "pkg-config", so it can be a program name with args.
7980 set dummy pkg-config
; ac_word
=$2
7981 echo "$as_me:$LINENO: checking for $ac_word" >&5
7982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7983 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
7984 echo $ECHO_N "(cached) $ECHO_C" >&6
7988 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
7991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7995 test -z "$as_dir" && as_dir
=.
7996 for ac_exec_ext
in '' $ac_executable_extensions; do
7997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7998 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8005 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
8009 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
8011 if test -n "$PKG_CONFIG"; then
8012 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8013 echo "${ECHO_T}$PKG_CONFIG" >&6
8015 echo "$as_me:$LINENO: result: no" >&5
8016 echo "${ECHO_T}no" >&6
8021 if test "$PKG_CONFIG" = "no" ; then
8022 echo "*** The pkg-config script could not be found. Make sure it is"
8023 echo "*** in your path, or set the PKG_CONFIG environment variable"
8024 echo "*** to the full path to pkg-config."
8025 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
8027 PKG_CONFIG_MIN_VERSION
=0.9.0
8028 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
8029 echo "$as_me:$LINENO: checking for cairo" >&5
8030 echo $ECHO_N "checking for cairo... $ECHO_C" >&6
8032 if $PKG_CONFIG --exists "cairo" ; then
8033 echo "$as_me:$LINENO: result: yes" >&5
8034 echo "${ECHO_T}yes" >&6
8037 echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5
8038 echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6
8039 CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo"`
8040 echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5
8041 echo "${ECHO_T}$CAIRO_CFLAGS" >&6
8043 echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5
8044 echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6
8045 CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo"`
8046 echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5
8047 echo "${ECHO_T}$CAIRO_LIBS" >&6
8051 ## If we have a custom action on failure, don't print errors, but
8052 ## do set a variable so people can do so.
8053 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
8054 echo $CAIRO_PKG_ERRORS
8060 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
8061 echo "*** See http://www.freedesktop.org/software/pkgconfig"
8065 if test $succeeded = yes; then
8068 { { 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
8069 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;}
8070 { (exit 1); exit 1; }; }
8076 if test -z "$PKG_CONFIG"; then
8077 # Extract the first word of "pkg-config", so it can be a program name with args.
8078 set dummy pkg-config
; ac_word
=$2
8079 echo "$as_me:$LINENO: checking for $ac_word" >&5
8080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8081 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
8082 echo $ECHO_N "(cached) $ECHO_C" >&6
8086 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
8089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8093 test -z "$as_dir" && as_dir
=.
8094 for ac_exec_ext
in '' $ac_executable_extensions; do
8095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8096 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
8097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8103 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
8107 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
8109 if test -n "$PKG_CONFIG"; then
8110 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8111 echo "${ECHO_T}$PKG_CONFIG" >&6
8113 echo "$as_me:$LINENO: result: no" >&5
8114 echo "${ECHO_T}no" >&6
8119 if test "$PKG_CONFIG" = "no" ; then
8120 echo "*** The pkg-config script could not be found. Make sure it is"
8121 echo "*** in your path, or set the PKG_CONFIG environment variable"
8122 echo "*** to the full path to pkg-config."
8123 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
8125 PKG_CONFIG_MIN_VERSION
=0.9.0
8126 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
8127 echo "$as_me:$LINENO: checking for pangoft2" >&5
8128 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
8130 if $PKG_CONFIG --exists "pangoft2" ; then
8131 echo "$as_me:$LINENO: result: yes" >&5
8132 echo "${ECHO_T}yes" >&6
8135 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
8136 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
8137 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
8138 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
8139 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
8141 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
8142 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
8143 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
8144 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
8145 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
8149 ## If we have a custom action on failure, don't print errors, but
8150 ## do set a variable so people can do so.
8151 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
8152 echo $PANGOFT2_PKG_ERRORS
8158 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
8159 echo "*** See http://www.freedesktop.org/software/pkgconfig"
8163 if test $succeeded = yes; then
8166 { { 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
8167 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;}
8168 { (exit 1); exit 1; }; }
8177 # FIXME: this should be _libs on some hosts.
8180 # Allow the GC to be disabled. Can be useful when debugging.
8181 echo "$as_me:$LINENO: checking for garbage collector to use" >&5
8182 echo $ECHO_N "checking for garbage collector to use... $ECHO_C" >&6
8183 # Check whether --enable-java-gc or --disable-java-gc was given.
8184 if test "${enable_java_gc+set}" = set; then
8185 enableval
="$enable_java_gc"
8198 echo "$as_me:$LINENO: result: boehm" >&5
8199 echo "${ECHO_T}boehm" >&6
8200 GCLIBS
=..
/boehm-gc
/libgcjgc_convenience.la
8201 JC1GCSPEC
='-fuse-boehm-gc'
8202 GCTESTSPEC
="-L`${PWDCMD-pwd}`/../boehm-gc/.libs -rpath `${PWDCMD-pwd}`/../boehm-gc/.libs"
8203 GCINCS
='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include'
8206 # The POSIX thread support needs to know this.
8208 cat >>confdefs.h
<<\_ACEOF
8209 #define HAVE_BOEHM_GC 1
8214 echo "$as_me:$LINENO: result: none" >&5
8215 echo "${ECHO_T}none" >&6
8219 { { echo "$as_me:$LINENO: error: unrecognized collector \"$GC\"" >&5
8220 echo "$as_me: error: unrecognized collector \"$GC\"" >&2;}
8221 { (exit 1); exit 1; }; }
8230 ac_config_links
="$ac_config_links include/java-gc.h:include/$GCHDR"
8234 if test "$GC" = boehm
; then
8236 USING_BOEHMGC_FALSE
='#'
8238 USING_BOEHMGC_TRUE
='#'
8239 USING_BOEHMGC_FALSE
=
8244 if test "$GC" = no
; then
8246 USING_NOGC_FALSE
='#'
8254 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
8255 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
8256 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
8257 echo "$as_me:$LINENO: result: $THREADS" >&5
8258 echo "${ECHO_T}$THREADS" >&6
8269 cat >>confdefs.h
<<\_ACEOF
8270 #define LINUX_THREADS 1
8278 decosf1 | irix | mach | os2 | solaris | dce | vxworks
)
8279 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
8280 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
8281 { (exit 1); exit 1; }; }
8284 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
8285 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
8286 { (exit 1); exit 1; }; }
8301 # Don't set THREADLIBS here. Cygwin doesn't have -lpthread.
8304 # Before FreeBSD 5, it didn't have -lpthread (or any library which
8305 # merely adds pthread_* functions) but it does have a -pthread switch
8306 # which is required at link-time to select -lc_r *instead* of -lc.
8307 THREADLDFLAGS
=-pthread
8308 # Don't set THREADSPEC here as might be expected since -pthread is
8309 # not processed when found within a spec file, it must come from
8310 # the command line. For now, the user must provide the -pthread
8311 # switch to link code compiled with gcj. In future, consider adding
8312 # support for weak references to pthread_* functions ala gthr.h API.
8313 THREADSPEC
='%{!pthread: %eUnder this configuration, the user must provide -pthread when linking.}'
8316 # FreeBSD 5 implements a model much closer to other modern UNIX
8317 # which support threads. However, it still does not support
8319 THREADLDFLAGS
=-pthread
8323 THREADCXXFLAGS
=-pthread
8324 # boehm-gc needs some functions from librt, so link that too.
8325 THREADLIBS
='-lpthread -lrt'
8326 THREADSPEC
='-lpthread -lrt'
8329 THREADLIBS
=-lpthread
8330 THREADSPEC
=-lpthread
8333 THREADH
=posix-threads.h
8334 # MIT pthreads doesn't seem to have the mutexattr functions.
8335 # But for now we don't check for it. We just assume you aren't
8336 # using MIT pthreads.
8338 cat >>confdefs.h
<<\_ACEOF
8339 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
8343 # If we're using the Boehm GC, then we happen to know that it
8344 # defines _REENTRANT, so we don't bother. Eww.
8345 if test "$GC" != boehm
; then
8347 cat >>confdefs.h
<<\_ACEOF
8348 #define _REENTRANT 1
8353 cat >>confdefs.h
<<\_ACEOF
8354 #define _POSIX_PTHREAD_SEMANTICS 1
8360 THREADH
=win32-threads.h
8364 THREADH
=no-threads.h
8367 ac_config_links
="$ac_config_links include/java-threads.h:include/$THREADH"
8377 if test "$THREADS" = posix
; then
8378 USING_POSIX_THREADS_TRUE
=
8379 USING_POSIX_THREADS_FALSE
='#'
8381 USING_POSIX_THREADS_TRUE
='#'
8382 USING_POSIX_THREADS_FALSE
=
8387 if test "$THREADS" = win32
; then
8388 USING_WIN32_THREADS_TRUE
=
8389 USING_WIN32_THREADS_FALSE
='#'
8391 USING_WIN32_THREADS_TRUE
='#'
8392 USING_WIN32_THREADS_FALSE
=
8397 if test "$THREADS" = none
; then
8398 USING_NO_THREADS_TRUE
=
8399 USING_NO_THREADS_FALSE
='#'
8401 USING_NO_THREADS_TRUE
='#'
8402 USING_NO_THREADS_FALSE
=
8406 if test -d sysdep
; then true
; else mkdir sysdep
; fi
8407 ac_config_links
="$ac_config_links sysdep/locks.h:sysdep/$sysdeps_dir/locks.h"
8411 # Hash synchronization is only useful with posix threads right now.
8412 if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then
8413 HASH_SYNC_SPEC
=-fhash-synchronization
8415 cat >>confdefs.h
<<\_ACEOF
8416 #define JV_HASH_SYNCHRONIZATION 1
8425 if test "$GCC" = yes; then
8434 # We're in the tree with gcc, and need to include some of its headers.
8435 GCC_UNWIND_INCLUDE
='-I$(libgcj_basedir)/../gcc'
8437 # Figure out where generated headers like libgcj-config.h get installed.
8438 gcc_version_trigger
=${libgcj_basedir}/..
/gcc
/version.c
8439 gcc_version_full
=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
8440 gcc_version
=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
8441 tool_include_dir
='$(libdir)/gcc/$(target_noncanonical)/'${gcc_version}/include
8445 if test "x${with_newlib}" = "xyes"; then
8446 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
8447 # may not work correctly, because the compiler may not be able to
8450 # We assume newlib. This lets us hard-code the functions we know
8453 cat >>confdefs.h
<<\_ACEOF
8454 #define HAVE_MEMMOVE 1
8458 cat >>confdefs.h
<<\_ACEOF
8459 #define HAVE_MEMCPY 1
8463 cat >>confdefs.h
<<\_ACEOF
8464 #define HAVE_STRERROR 1
8468 cat >>confdefs.h
<<\_ACEOF
8473 cat >>confdefs.h
<<\_ACEOF
8474 #define HAVE_GMTIME_R 1
8478 cat >>confdefs.h
<<\_ACEOF
8479 #define HAVE_LOCALTIME_R 1
8483 cat >>confdefs.h
<<\_ACEOF
8484 #define HAVE_USLEEP_DECL 1
8487 # This is only for POSIX threads.
8489 cat >>confdefs.h
<<\_ACEOF
8490 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
8493 # We also assume we are using gcc, which provides alloca.
8494 cat >>confdefs.h
<<\_ACEOF
8495 #define HAVE_ALLOCA 1
8499 # Assume we do not have getuid and friends.
8501 cat >>confdefs.h
<<\_ACEOF
8515 for ac_func
in strerror ioctl
select fstat open fsync
sleep opendir
8517 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8518 echo "$as_me:$LINENO: checking for $ac_func" >&5
8519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8520 if eval "test \"\${$as_ac_var+set}\" = set"; then
8521 echo $ECHO_N "(cached) $ECHO_C" >&6
8523 if test x
$gcc_no_link = xyes
; then
8524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8526 { (exit 1); exit 1; }; }
8528 cat >conftest.
$ac_ext <<_ACEOF
8531 cat confdefs.h
>>conftest.
$ac_ext
8532 cat >>conftest.
$ac_ext <<_ACEOF
8533 /* end confdefs.h. */
8534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8536 #define $ac_func innocuous_$ac_func
8538 /* System header to define __stub macros and hopefully few prototypes,
8539 which can conflict with char $ac_func (); below.
8540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8541 <limits.h> exists even on freestanding compilers. */
8544 # include <limits.h>
8546 # include <assert.h>
8551 /* Override any gcc2 internal prototype to avoid an error. */
8556 /* We use char because int might match the return type of a gcc2
8557 builtin and then its argument prototype would still apply. */
8559 /* The GNU C library defines this for functions which it implements
8560 to always fail with ENOSYS. Some functions are actually named
8561 something starting with __ and the normal name is an alias. */
8562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8565 char (*f) () = $ac_func;
8574 return f != $ac_func;
8579 rm -f conftest.
$ac_objext conftest
$ac_exeext
8580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8581 (eval $ac_link) 2>conftest.er1
8583 grep -v '^ *+' conftest.er1
>conftest.err
8585 cat conftest.err
>&5
8586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8587 (exit $ac_status); } &&
8588 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8593 (exit $ac_status); }; } &&
8594 { ac_try
='test -s conftest$ac_exeext'
8595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8599 (exit $ac_status); }; }; then
8600 eval "$as_ac_var=yes"
8602 echo "$as_me: failed program was:" >&5
8603 sed 's/^/| /' conftest.
$ac_ext >&5
8605 eval "$as_ac_var=no"
8607 rm -f conftest.err conftest.
$ac_objext \
8608 conftest
$ac_exeext conftest.
$ac_ext
8610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8612 if test `eval echo '${'$as_ac_var'}'` = yes; then
8613 cat >>confdefs.h
<<_ACEOF
8614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8625 for ac_func
in gmtime_r localtime_r readdir_r getpwuid_r getcwd
8627 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8628 echo "$as_me:$LINENO: checking for $ac_func" >&5
8629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8630 if eval "test \"\${$as_ac_var+set}\" = set"; then
8631 echo $ECHO_N "(cached) $ECHO_C" >&6
8633 if test x
$gcc_no_link = xyes
; then
8634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8636 { (exit 1); exit 1; }; }
8638 cat >conftest.
$ac_ext <<_ACEOF
8641 cat confdefs.h
>>conftest.
$ac_ext
8642 cat >>conftest.
$ac_ext <<_ACEOF
8643 /* end confdefs.h. */
8644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8646 #define $ac_func innocuous_$ac_func
8648 /* System header to define __stub macros and hopefully few prototypes,
8649 which can conflict with char $ac_func (); below.
8650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8651 <limits.h> exists even on freestanding compilers. */
8654 # include <limits.h>
8656 # include <assert.h>
8661 /* Override any gcc2 internal prototype to avoid an error. */
8666 /* We use char because int might match the return type of a gcc2
8667 builtin and then its argument prototype would still apply. */
8669 /* The GNU C library defines this for functions which it implements
8670 to always fail with ENOSYS. Some functions are actually named
8671 something starting with __ and the normal name is an alias. */
8672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8675 char (*f) () = $ac_func;
8684 return f != $ac_func;
8689 rm -f conftest.
$ac_objext conftest
$ac_exeext
8690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8691 (eval $ac_link) 2>conftest.er1
8693 grep -v '^ *+' conftest.er1
>conftest.err
8695 cat conftest.err
>&5
8696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8697 (exit $ac_status); } &&
8698 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8703 (exit $ac_status); }; } &&
8704 { ac_try
='test -s conftest$ac_exeext'
8705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8709 (exit $ac_status); }; }; then
8710 eval "$as_ac_var=yes"
8712 echo "$as_me: failed program was:" >&5
8713 sed 's/^/| /' conftest.
$ac_ext >&5
8715 eval "$as_ac_var=no"
8717 rm -f conftest.err conftest.
$ac_objext \
8718 conftest
$ac_exeext conftest.
$ac_ext
8720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8722 if test `eval echo '${'$as_ac_var'}'` = yes; then
8723 cat >>confdefs.h
<<_ACEOF
8724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8739 for ac_func
in access stat mkdir rename
rmdir unlink realpath utime
chmod
8741 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8742 echo "$as_me:$LINENO: checking for $ac_func" >&5
8743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8744 if eval "test \"\${$as_ac_var+set}\" = set"; then
8745 echo $ECHO_N "(cached) $ECHO_C" >&6
8747 if test x
$gcc_no_link = xyes
; then
8748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8750 { (exit 1); exit 1; }; }
8752 cat >conftest.
$ac_ext <<_ACEOF
8755 cat confdefs.h
>>conftest.
$ac_ext
8756 cat >>conftest.
$ac_ext <<_ACEOF
8757 /* end confdefs.h. */
8758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8760 #define $ac_func innocuous_$ac_func
8762 /* System header to define __stub macros and hopefully few prototypes,
8763 which can conflict with char $ac_func (); below.
8764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8765 <limits.h> exists even on freestanding compilers. */
8768 # include <limits.h>
8770 # include <assert.h>
8775 /* Override any gcc2 internal prototype to avoid an error. */
8780 /* We use char because int might match the return type of a gcc2
8781 builtin and then its argument prototype would still apply. */
8783 /* The GNU C library defines this for functions which it implements
8784 to always fail with ENOSYS. Some functions are actually named
8785 something starting with __ and the normal name is an alias. */
8786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8789 char (*f) () = $ac_func;
8798 return f != $ac_func;
8803 rm -f conftest.
$ac_objext conftest
$ac_exeext
8804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8805 (eval $ac_link) 2>conftest.er1
8807 grep -v '^ *+' conftest.er1
>conftest.err
8809 cat conftest.err
>&5
8810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8811 (exit $ac_status); } &&
8812 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8817 (exit $ac_status); }; } &&
8818 { ac_try
='test -s conftest$ac_exeext'
8819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8823 (exit $ac_status); }; }; then
8824 eval "$as_ac_var=yes"
8826 echo "$as_me: failed program was:" >&5
8827 sed 's/^/| /' conftest.
$ac_ext >&5
8829 eval "$as_ac_var=no"
8831 rm -f conftest.err conftest.
$ac_objext \
8832 conftest
$ac_exeext conftest.
$ac_ext
8834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8836 if test `eval echo '${'$as_ac_var'}'` = yes; then
8837 cat >>confdefs.h
<<_ACEOF
8838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8846 for ac_func
in nl_langinfo setlocale
8848 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8849 echo "$as_me:$LINENO: checking for $ac_func" >&5
8850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8851 if eval "test \"\${$as_ac_var+set}\" = set"; then
8852 echo $ECHO_N "(cached) $ECHO_C" >&6
8854 if test x
$gcc_no_link = xyes
; then
8855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8857 { (exit 1); exit 1; }; }
8859 cat >conftest.
$ac_ext <<_ACEOF
8862 cat confdefs.h
>>conftest.
$ac_ext
8863 cat >>conftest.
$ac_ext <<_ACEOF
8864 /* end confdefs.h. */
8865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8867 #define $ac_func innocuous_$ac_func
8869 /* System header to define __stub macros and hopefully few prototypes,
8870 which can conflict with char $ac_func (); below.
8871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8872 <limits.h> exists even on freestanding compilers. */
8875 # include <limits.h>
8877 # include <assert.h>
8882 /* Override any gcc2 internal prototype to avoid an error. */
8887 /* We use char because int might match the return type of a gcc2
8888 builtin and then its argument prototype would still apply. */
8890 /* The GNU C library defines this for functions which it implements
8891 to always fail with ENOSYS. Some functions are actually named
8892 something starting with __ and the normal name is an alias. */
8893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8896 char (*f) () = $ac_func;
8905 return f != $ac_func;
8910 rm -f conftest.
$ac_objext conftest
$ac_exeext
8911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8912 (eval $ac_link) 2>conftest.er1
8914 grep -v '^ *+' conftest.er1
>conftest.err
8916 cat conftest.err
>&5
8917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8918 (exit $ac_status); } &&
8919 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8924 (exit $ac_status); }; } &&
8925 { ac_try
='test -s conftest$ac_exeext'
8926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8930 (exit $ac_status); }; }; then
8931 eval "$as_ac_var=yes"
8933 echo "$as_me: failed program was:" >&5
8934 sed 's/^/| /' conftest.
$ac_ext >&5
8936 eval "$as_ac_var=no"
8938 rm -f conftest.err conftest.
$ac_objext \
8939 conftest
$ac_exeext conftest.
$ac_ext
8941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8943 if test `eval echo '${'$as_ac_var'}'` = yes; then
8944 cat >>confdefs.h
<<_ACEOF
8945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8953 for ac_func
in inet_aton inet_addr
8955 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8956 echo "$as_me:$LINENO: checking for $ac_func" >&5
8957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8958 if eval "test \"\${$as_ac_var+set}\" = set"; then
8959 echo $ECHO_N "(cached) $ECHO_C" >&6
8961 if test x
$gcc_no_link = xyes
; then
8962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8964 { (exit 1); exit 1; }; }
8966 cat >conftest.
$ac_ext <<_ACEOF
8969 cat confdefs.h
>>conftest.
$ac_ext
8970 cat >>conftest.
$ac_ext <<_ACEOF
8971 /* end confdefs.h. */
8972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8974 #define $ac_func innocuous_$ac_func
8976 /* System header to define __stub macros and hopefully few prototypes,
8977 which can conflict with char $ac_func (); below.
8978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8979 <limits.h> exists even on freestanding compilers. */
8982 # include <limits.h>
8984 # include <assert.h>
8989 /* Override any gcc2 internal prototype to avoid an error. */
8994 /* We use char because int might match the return type of a gcc2
8995 builtin and then its argument prototype would still apply. */
8997 /* The GNU C library defines this for functions which it implements
8998 to always fail with ENOSYS. Some functions are actually named
8999 something starting with __ and the normal name is an alias. */
9000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9003 char (*f) () = $ac_func;
9012 return f != $ac_func;
9017 rm -f conftest.
$ac_objext conftest
$ac_exeext
9018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9019 (eval $ac_link) 2>conftest.er1
9021 grep -v '^ *+' conftest.er1
>conftest.err
9023 cat conftest.err
>&5
9024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9025 (exit $ac_status); } &&
9026 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9031 (exit $ac_status); }; } &&
9032 { ac_try
='test -s conftest$ac_exeext'
9033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9037 (exit $ac_status); }; }; then
9038 eval "$as_ac_var=yes"
9040 echo "$as_me: failed program was:" >&5
9041 sed 's/^/| /' conftest.
$ac_ext >&5
9043 eval "$as_ac_var=no"
9045 rm -f conftest.err conftest.
$ac_objext \
9046 conftest
$ac_exeext conftest.
$ac_ext
9048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9050 if test `eval echo '${'$as_ac_var'}'` = yes; then
9051 cat >>confdefs.h
<<_ACEOF
9052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9061 for ac_func
in inet_pton uname inet_ntoa
9063 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9064 echo "$as_me:$LINENO: checking for $ac_func" >&5
9065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9066 if eval "test \"\${$as_ac_var+set}\" = set"; then
9067 echo $ECHO_N "(cached) $ECHO_C" >&6
9069 if test x
$gcc_no_link = xyes
; then
9070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9072 { (exit 1); exit 1; }; }
9074 cat >conftest.
$ac_ext <<_ACEOF
9077 cat confdefs.h
>>conftest.
$ac_ext
9078 cat >>conftest.
$ac_ext <<_ACEOF
9079 /* end confdefs.h. */
9080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9082 #define $ac_func innocuous_$ac_func
9084 /* System header to define __stub macros and hopefully few prototypes,
9085 which can conflict with char $ac_func (); below.
9086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9087 <limits.h> exists even on freestanding compilers. */
9090 # include <limits.h>
9092 # include <assert.h>
9097 /* Override any gcc2 internal prototype to avoid an error. */
9102 /* We use char because int might match the return type of a gcc2
9103 builtin and then its argument prototype would still apply. */
9105 /* The GNU C library defines this for functions which it implements
9106 to always fail with ENOSYS. Some functions are actually named
9107 something starting with __ and the normal name is an alias. */
9108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9111 char (*f) () = $ac_func;
9120 return f != $ac_func;
9125 rm -f conftest.
$ac_objext conftest
$ac_exeext
9126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9127 (eval $ac_link) 2>conftest.er1
9129 grep -v '^ *+' conftest.er1
>conftest.err
9131 cat conftest.err
>&5
9132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9133 (exit $ac_status); } &&
9134 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9139 (exit $ac_status); }; } &&
9140 { ac_try
='test -s conftest$ac_exeext'
9141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9145 (exit $ac_status); }; }; then
9146 eval "$as_ac_var=yes"
9148 echo "$as_me: failed program was:" >&5
9149 sed 's/^/| /' conftest.
$ac_ext >&5
9151 eval "$as_ac_var=no"
9153 rm -f conftest.err conftest.
$ac_objext \
9154 conftest
$ac_exeext conftest.
$ac_ext
9156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9158 if test `eval echo '${'$as_ac_var'}'` = yes; then
9159 cat >>confdefs.h
<<_ACEOF
9160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9171 for ac_func
in fork execvp pipe sigaction ftruncate
9173 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9174 echo "$as_me:$LINENO: checking for $ac_func" >&5
9175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9176 if eval "test \"\${$as_ac_var+set}\" = set"; then
9177 echo $ECHO_N "(cached) $ECHO_C" >&6
9179 if test x
$gcc_no_link = xyes
; then
9180 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9182 { (exit 1); exit 1; }; }
9184 cat >conftest.
$ac_ext <<_ACEOF
9187 cat confdefs.h
>>conftest.
$ac_ext
9188 cat >>conftest.
$ac_ext <<_ACEOF
9189 /* end confdefs.h. */
9190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9192 #define $ac_func innocuous_$ac_func
9194 /* System header to define __stub macros and hopefully few prototypes,
9195 which can conflict with char $ac_func (); below.
9196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9197 <limits.h> exists even on freestanding compilers. */
9200 # include <limits.h>
9202 # include <assert.h>
9207 /* Override any gcc2 internal prototype to avoid an error. */
9212 /* We use char because int might match the return type of a gcc2
9213 builtin and then its argument prototype would still apply. */
9215 /* The GNU C library defines this for functions which it implements
9216 to always fail with ENOSYS. Some functions are actually named
9217 something starting with __ and the normal name is an alias. */
9218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9221 char (*f) () = $ac_func;
9230 return f != $ac_func;
9235 rm -f conftest.
$ac_objext conftest
$ac_exeext
9236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9237 (eval $ac_link) 2>conftest.er1
9239 grep -v '^ *+' conftest.er1
>conftest.err
9241 cat conftest.err
>&5
9242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9243 (exit $ac_status); } &&
9244 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9249 (exit $ac_status); }; } &&
9250 { ac_try
='test -s conftest$ac_exeext'
9251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9255 (exit $ac_status); }; }; then
9256 eval "$as_ac_var=yes"
9258 echo "$as_me: failed program was:" >&5
9259 sed 's/^/| /' conftest.
$ac_ext >&5
9261 eval "$as_ac_var=no"
9263 rm -f conftest.err conftest.
$ac_objext \
9264 conftest
$ac_exeext conftest.
$ac_ext
9266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9268 if test `eval echo '${'$as_ac_var'}'` = yes; then
9269 cat >>confdefs.h
<<_ACEOF
9270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9276 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
9277 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
9278 if test "${ac_cv_header_stdc+set}" = set; then
9279 echo $ECHO_N "(cached) $ECHO_C" >&6
9281 cat >conftest.
$ac_ext <<_ACEOF
9284 cat confdefs.h
>>conftest.
$ac_ext
9285 cat >>conftest.
$ac_ext <<_ACEOF
9286 /* end confdefs.h. */
9300 rm -f conftest.
$ac_objext
9301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9302 (eval $ac_compile) 2>conftest.er1
9304 grep -v '^ *+' conftest.er1
>conftest.err
9306 cat conftest.err
>&5
9307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9308 (exit $ac_status); } &&
9309 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9314 (exit $ac_status); }; } &&
9315 { ac_try
='test -s conftest.$ac_objext'
9316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9320 (exit $ac_status); }; }; then
9321 ac_cv_header_stdc
=yes
9323 echo "$as_me: failed program was:" >&5
9324 sed 's/^/| /' conftest.
$ac_ext >&5
9326 ac_cv_header_stdc
=no
9328 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9330 if test $ac_cv_header_stdc = yes; then
9331 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9332 cat >conftest.
$ac_ext <<_ACEOF
9335 cat confdefs.h
>>conftest.
$ac_ext
9336 cat >>conftest.
$ac_ext <<_ACEOF
9337 /* end confdefs.h. */
9341 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9342 $EGREP "memchr" >/dev
/null
2>&1; then
9345 ac_cv_header_stdc
=no
9351 if test $ac_cv_header_stdc = yes; then
9352 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9353 cat >conftest.
$ac_ext <<_ACEOF
9356 cat confdefs.h
>>conftest.
$ac_ext
9357 cat >>conftest.
$ac_ext <<_ACEOF
9358 /* end confdefs.h. */
9362 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9363 $EGREP "free" >/dev
/null
2>&1; then
9366 ac_cv_header_stdc
=no
9372 if test $ac_cv_header_stdc = yes; then
9373 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9374 if test "$cross_compiling" = yes; then
9377 cat >conftest.
$ac_ext <<_ACEOF
9380 cat confdefs.h
>>conftest.
$ac_ext
9381 cat >>conftest.
$ac_ext <<_ACEOF
9382 /* end confdefs.h. */
9384 #if ((' ' & 0x0FF) == 0x020)
9385 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9386 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9388 # define ISLOWER(c) \
9389 (('a' <= (c) && (c) <= 'i') \
9390 || ('j' <= (c) && (c) <= 'r') \
9391 || ('s' <= (c) && (c) <= 'z'))
9392 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9395 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9400 for (i = 0; i < 256; i++)
9401 if (XOR (islower (i), ISLOWER (i))
9402 || toupper (i) != TOUPPER (i))
9407 rm -f conftest
$ac_exeext
9408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9409 (eval $ac_link) 2>&5
9411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9412 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9417 (exit $ac_status); }; }; then
9420 echo "$as_me: program exited with status $ac_status" >&5
9421 echo "$as_me: failed program was:" >&5
9422 sed 's/^/| /' conftest.
$ac_ext >&5
9425 ac_cv_header_stdc
=no
9427 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9431 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
9432 echo "${ECHO_T}$ac_cv_header_stdc" >&6
9433 if test $ac_cv_header_stdc = yes; then
9435 cat >>confdefs.h
<<\_ACEOF
9436 #define STDC_HEADERS 1
9441 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9451 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
9452 inttypes.h stdint.h unistd.h
9454 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9455 echo "$as_me:$LINENO: checking for $ac_header" >&5
9456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9457 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9458 echo $ECHO_N "(cached) $ECHO_C" >&6
9460 cat >conftest.
$ac_ext <<_ACEOF
9463 cat confdefs.h
>>conftest.
$ac_ext
9464 cat >>conftest.
$ac_ext <<_ACEOF
9465 /* end confdefs.h. */
9466 $ac_includes_default
9468 #include <$ac_header>
9470 rm -f conftest.
$ac_objext
9471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9472 (eval $ac_compile) 2>conftest.er1
9474 grep -v '^ *+' conftest.er1
>conftest.err
9476 cat conftest.err
>&5
9477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9478 (exit $ac_status); } &&
9479 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9484 (exit $ac_status); }; } &&
9485 { ac_try
='test -s conftest.$ac_objext'
9486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9490 (exit $ac_status); }; }; then
9491 eval "$as_ac_Header=yes"
9493 echo "$as_me: failed program was:" >&5
9494 sed 's/^/| /' conftest.
$ac_ext >&5
9496 eval "$as_ac_Header=no"
9498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9502 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9503 cat >>confdefs.h
<<_ACEOF
9504 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9515 for ac_header
in execinfo.h unistd.h dlfcn.h
9517 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9518 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9519 echo "$as_me:$LINENO: checking for $ac_header" >&5
9520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9522 echo $ECHO_N "(cached) $ECHO_C" >&6
9524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9525 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9527 # Is the header compilable?
9528 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9529 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9530 cat >conftest.
$ac_ext <<_ACEOF
9533 cat confdefs.h
>>conftest.
$ac_ext
9534 cat >>conftest.
$ac_ext <<_ACEOF
9535 /* end confdefs.h. */
9536 $ac_includes_default
9537 #include <$ac_header>
9539 rm -f conftest.
$ac_objext
9540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9541 (eval $ac_compile) 2>conftest.er1
9543 grep -v '^ *+' conftest.er1
>conftest.err
9545 cat conftest.err
>&5
9546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9547 (exit $ac_status); } &&
9548 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9553 (exit $ac_status); }; } &&
9554 { ac_try
='test -s conftest.$ac_objext'
9555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9559 (exit $ac_status); }; }; then
9560 ac_header_compiler
=yes
9562 echo "$as_me: failed program was:" >&5
9563 sed 's/^/| /' conftest.
$ac_ext >&5
9565 ac_header_compiler
=no
9567 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9568 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9569 echo "${ECHO_T}$ac_header_compiler" >&6
9571 # Is the header present?
9572 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9573 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9574 cat >conftest.
$ac_ext <<_ACEOF
9577 cat confdefs.h
>>conftest.
$ac_ext
9578 cat >>conftest.
$ac_ext <<_ACEOF
9579 /* end confdefs.h. */
9580 #include <$ac_header>
9582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9583 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9585 grep -v '^ *+' conftest.er1
>conftest.err
9587 cat conftest.err
>&5
9588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9589 (exit $ac_status); } >/dev
/null
; then
9590 if test -s conftest.err
; then
9591 ac_cpp_err
=$ac_c_preproc_warn_flag
9592 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9599 if test -z "$ac_cpp_err"; then
9600 ac_header_preproc
=yes
9602 echo "$as_me: failed program was:" >&5
9603 sed 's/^/| /' conftest.
$ac_ext >&5
9605 ac_header_preproc
=no
9607 rm -f conftest.err conftest.
$ac_ext
9608 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9609 echo "${ECHO_T}$ac_header_preproc" >&6
9611 # So? What about this header?
9612 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9614 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9615 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9616 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9617 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9618 ac_header_preproc
=yes
9621 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9622 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9623 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9624 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9625 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9626 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9627 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9628 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9629 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9630 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9631 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9632 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9635 ## ---------------------------------- ##
9636 ## Report this to the libjava lists. ##
9637 ## ---------------------------------- ##
9640 sed "s/^/$as_me: WARNING: /" >&2
9643 echo "$as_me:$LINENO: checking for $ac_header" >&5
9644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9646 echo $ECHO_N "(cached) $ECHO_C" >&6
9648 eval "$as_ac_Header=\$ac_header_preproc"
9650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9651 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9654 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9655 cat >>confdefs.h
<<_ACEOF
9656 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9663 echo "$as_me:$LINENO: checking for backtrace" >&5
9664 echo $ECHO_N "checking for backtrace... $ECHO_C" >&6
9665 if test "${ac_cv_func_backtrace+set}" = set; then
9666 echo $ECHO_N "(cached) $ECHO_C" >&6
9668 if test x
$gcc_no_link = xyes
; then
9669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9671 { (exit 1); exit 1; }; }
9673 cat >conftest.
$ac_ext <<_ACEOF
9676 cat confdefs.h
>>conftest.
$ac_ext
9677 cat >>conftest.
$ac_ext <<_ACEOF
9678 /* end confdefs.h. */
9679 /* Define backtrace to an innocuous variant, in case <limits.h> declares backtrace.
9680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9681 #define backtrace innocuous_backtrace
9683 /* System header to define __stub macros and hopefully few prototypes,
9684 which can conflict with char backtrace (); below.
9685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9686 <limits.h> exists even on freestanding compilers. */
9689 # include <limits.h>
9691 # include <assert.h>
9696 /* Override any gcc2 internal prototype to avoid an error. */
9701 /* We use char because int might match the return type of a gcc2
9702 builtin and then its argument prototype would still apply. */
9704 /* The GNU C library defines this for functions which it implements
9705 to always fail with ENOSYS. Some functions are actually named
9706 something starting with __ and the normal name is an alias. */
9707 #if defined (__stub_backtrace) || defined (__stub___backtrace)
9710 char (*f) () = backtrace;
9719 return f != backtrace;
9724 rm -f conftest.
$ac_objext conftest
$ac_exeext
9725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9726 (eval $ac_link) 2>conftest.er1
9728 grep -v '^ *+' conftest.er1
>conftest.err
9730 cat conftest.err
>&5
9731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9732 (exit $ac_status); } &&
9733 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9738 (exit $ac_status); }; } &&
9739 { ac_try
='test -s conftest$ac_exeext'
9740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9744 (exit $ac_status); }; }; then
9745 ac_cv_func_backtrace
=yes
9747 echo "$as_me: failed program was:" >&5
9748 sed 's/^/| /' conftest.
$ac_ext >&5
9750 ac_cv_func_backtrace
=no
9752 rm -f conftest.err conftest.
$ac_objext \
9753 conftest
$ac_exeext conftest.
$ac_ext
9755 echo "$as_me:$LINENO: result: $ac_cv_func_backtrace" >&5
9756 echo "${ECHO_T}$ac_cv_func_backtrace" >&6
9757 if test $ac_cv_func_backtrace = yes; then
9761 # Has broken backtrace()
9764 # Has broken backtrace(), but we supply our own.
9765 if test -d sysdep
; then true
; else mkdir
-p sysdep
; fi
9766 supply_backtrace
=yes
9768 cat >>confdefs.h
<<\_ACEOF
9769 #define HAVE_BACKTRACE 1
9775 cat >>confdefs.h
<<\_ACEOF
9776 #define HAVE_BACKTRACE 1
9786 # Has backtrace() defined in libgcj itself
9788 cat >>confdefs.h
<<\_ACEOF
9789 #define HAVE_BACKTRACE 1
9798 echo "$as_me:$LINENO: checking for dladdr in -ldl" >&5
9799 echo $ECHO_N "checking for dladdr in -ldl... $ECHO_C" >&6
9800 if test "${ac_cv_lib_dl_dladdr+set}" = set; then
9801 echo $ECHO_N "(cached) $ECHO_C" >&6
9803 ac_check_lib_save_LIBS
=$LIBS
9805 if test x
$gcc_no_link = xyes
; then
9806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9808 { (exit 1); exit 1; }; }
9810 cat >conftest.
$ac_ext <<_ACEOF
9813 cat confdefs.h
>>conftest.
$ac_ext
9814 cat >>conftest.
$ac_ext <<_ACEOF
9815 /* end confdefs.h. */
9817 /* Override any gcc2 internal prototype to avoid an error. */
9821 /* We use char because int might match the return type of a gcc2
9822 builtin and then its argument prototype would still apply. */
9832 rm -f conftest.
$ac_objext conftest
$ac_exeext
9833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9834 (eval $ac_link) 2>conftest.er1
9836 grep -v '^ *+' conftest.er1
>conftest.err
9838 cat conftest.err
>&5
9839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840 (exit $ac_status); } &&
9841 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9846 (exit $ac_status); }; } &&
9847 { ac_try
='test -s conftest$ac_exeext'
9848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9852 (exit $ac_status); }; }; then
9853 ac_cv_lib_dl_dladdr
=yes
9855 echo "$as_me: failed program was:" >&5
9856 sed 's/^/| /' conftest.
$ac_ext >&5
9858 ac_cv_lib_dl_dladdr
=no
9860 rm -f conftest.err conftest.
$ac_objext \
9861 conftest
$ac_exeext conftest.
$ac_ext
9862 LIBS
=$ac_check_lib_save_LIBS
9864 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dladdr" >&5
9865 echo "${ECHO_T}$ac_cv_lib_dl_dladdr" >&6
9866 if test $ac_cv_lib_dl_dladdr = yes; then
9868 if test "x${disable_dladdr}" = "xyes"; then
9873 cat >>confdefs.h
<<\_ACEOF
9874 #define HAVE_DLADDR 1
9881 if test x
"$build" = x
"$host"; then
9882 echo "$as_me:$LINENO: checking for /proc/self/exe" >&5
9883 echo $ECHO_N "checking for /proc/self/exe... $ECHO_C" >&6
9884 if test "${ac_cv_file__proc_self_exe+set}" = set; then
9885 echo $ECHO_N "(cached) $ECHO_C" >&6
9887 test "$cross_compiling" = yes &&
9888 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
9889 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
9890 { (exit 1); exit 1; }; }
9891 if test -r "/proc/self/exe"; then
9892 ac_cv_file__proc_self_exe
=yes
9894 ac_cv_file__proc_self_exe
=no
9897 echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_exe" >&5
9898 echo "${ECHO_T}$ac_cv_file__proc_self_exe" >&6
9899 if test $ac_cv_file__proc_self_exe = yes; then
9901 cat >>confdefs.h
<<_ACEOF
9902 #define HAVE__PROC_SELF_EXE 1
9907 cat >>confdefs.h
<<\_ACEOF
9908 #define HAVE_PROC_SELF_EXE 1
9917 cat >>confdefs.h
<<\_ACEOF
9918 #define HAVE_PROC_SELF_EXE 1
9927 am_cv_lib_iconv_ldpath
=
9929 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
9930 if test "${with_libiconv_prefix+set}" = set; then
9931 withval
="$with_libiconv_prefix"
9933 for dir
in `echo "$withval" | tr : ' '`; do
9934 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
9935 if test -d $dir/lib
; then am_cv_lib_iconv_ldpath
="-L$dir/lib"; fi
9940 echo "$as_me:$LINENO: checking for iconv" >&5
9941 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
9942 if test "${am_cv_func_iconv+set}" = set; then
9943 echo $ECHO_N "(cached) $ECHO_C" >&6
9946 am_cv_func_iconv
="no, consider installing GNU libiconv"
9948 if test x
$gcc_no_link = xyes
; then
9949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9951 { (exit 1); exit 1; }; }
9953 cat >conftest.
$ac_ext <<_ACEOF
9956 cat confdefs.h
>>conftest.
$ac_ext
9957 cat >>conftest.
$ac_ext <<_ACEOF
9958 /* end confdefs.h. */
9964 iconv_t cd = iconv_open("","");
9965 iconv(cd,NULL,NULL,NULL,NULL);
9971 rm -f conftest.
$ac_objext conftest
$ac_exeext
9972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9973 (eval $ac_link) 2>conftest.er1
9975 grep -v '^ *+' conftest.er1
>conftest.err
9977 cat conftest.err
>&5
9978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9979 (exit $ac_status); } &&
9980 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9985 (exit $ac_status); }; } &&
9986 { ac_try
='test -s conftest$ac_exeext'
9987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9991 (exit $ac_status); }; }; then
9992 am_cv_func_iconv
=yes
9994 echo "$as_me: failed program was:" >&5
9995 sed 's/^/| /' conftest.
$ac_ext >&5
9998 rm -f conftest.err conftest.
$ac_objext \
9999 conftest
$ac_exeext conftest.
$ac_ext
10000 if test "$am_cv_func_iconv" != yes; then
10001 am_save_LIBS
="$LIBS"
10002 LIBS
="$LIBS $am_cv_libiconv_ldpath -liconv"
10003 if test x
$gcc_no_link = xyes
; then
10004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10006 { (exit 1); exit 1; }; }
10008 cat >conftest.
$ac_ext <<_ACEOF
10011 cat confdefs.h
>>conftest.
$ac_ext
10012 cat >>conftest.
$ac_ext <<_ACEOF
10013 /* end confdefs.h. */
10014 #include <stdlib.h>
10019 iconv_t cd = iconv_open("","");
10020 iconv(cd,NULL,NULL,NULL,NULL);
10026 rm -f conftest.
$ac_objext conftest
$ac_exeext
10027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10028 (eval $ac_link) 2>conftest.er1
10030 grep -v '^ *+' conftest.er1
>conftest.err
10032 cat conftest.err
>&5
10033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10034 (exit $ac_status); } &&
10035 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10037 (eval $ac_try) 2>&5
10039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10040 (exit $ac_status); }; } &&
10041 { ac_try
='test -s conftest$ac_exeext'
10042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10043 (eval $ac_try) 2>&5
10045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10046 (exit $ac_status); }; }; then
10047 am_cv_lib_iconv
=yes
10048 am_cv_func_iconv
=yes
10050 echo "$as_me: failed program was:" >&5
10051 sed 's/^/| /' conftest.
$ac_ext >&5
10054 rm -f conftest.err conftest.
$ac_objext \
10055 conftest
$ac_exeext conftest.
$ac_ext
10056 LIBS
="$am_save_LIBS"
10060 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
10061 echo "${ECHO_T}$am_cv_func_iconv" >&6
10062 if test "$am_cv_func_iconv" = yes; then
10064 cat >>confdefs.h
<<\_ACEOF
10065 #define HAVE_ICONV 1
10068 echo "$as_me:$LINENO: checking for iconv declaration" >&5
10069 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
10070 if test "${am_cv_proto_iconv+set}" = set; then
10071 echo $ECHO_N "(cached) $ECHO_C" >&6
10074 cat >conftest.
$ac_ext <<_ACEOF
10077 cat confdefs.h
>>conftest.
$ac_ext
10078 cat >>conftest.
$ac_ext <<_ACEOF
10079 /* end confdefs.h. */
10081 #include <stdlib.h>
10087 #if defined(__STDC__) || defined(__cplusplus)
10088 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
10101 rm -f conftest.
$ac_objext
10102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10103 (eval $ac_compile) 2>conftest.er1
10105 grep -v '^ *+' conftest.er1
>conftest.err
10107 cat conftest.err
>&5
10108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10109 (exit $ac_status); } &&
10110 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10112 (eval $ac_try) 2>&5
10114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10115 (exit $ac_status); }; } &&
10116 { ac_try
='test -s conftest.$ac_objext'
10117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10118 (eval $ac_try) 2>&5
10120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10121 (exit $ac_status); }; }; then
10122 am_cv_proto_iconv_arg1
=""
10124 echo "$as_me: failed program was:" >&5
10125 sed 's/^/| /' conftest.
$ac_ext >&5
10127 am_cv_proto_iconv_arg1
="const"
10129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10130 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);"
10133 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
10134 echo "$as_me:$LINENO: result: ${ac_t:-
10135 }$am_cv_proto_iconv" >&5
10136 echo "${ECHO_T}${ac_t:-
10137 }$am_cv_proto_iconv" >&6
10139 cat >>confdefs.h
<<_ACEOF
10140 #define ICONV_CONST $am_cv_proto_iconv_arg1
10145 if test "$am_cv_lib_iconv" = yes; then
10146 LIBICONV
="$am_cv_lib_iconv_ldpath -liconv"
10151 for ac_header
in locale.h
10153 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10155 echo "$as_me:$LINENO: checking for $ac_header" >&5
10156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10158 echo $ECHO_N "(cached) $ECHO_C" >&6
10160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10161 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10163 # Is the header compilable?
10164 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10165 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10166 cat >conftest.
$ac_ext <<_ACEOF
10169 cat confdefs.h
>>conftest.
$ac_ext
10170 cat >>conftest.
$ac_ext <<_ACEOF
10171 /* end confdefs.h. */
10172 $ac_includes_default
10173 #include <$ac_header>
10175 rm -f conftest.
$ac_objext
10176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10177 (eval $ac_compile) 2>conftest.er1
10179 grep -v '^ *+' conftest.er1
>conftest.err
10181 cat conftest.err
>&5
10182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10183 (exit $ac_status); } &&
10184 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10186 (eval $ac_try) 2>&5
10188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10189 (exit $ac_status); }; } &&
10190 { ac_try
='test -s conftest.$ac_objext'
10191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10192 (eval $ac_try) 2>&5
10194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10195 (exit $ac_status); }; }; then
10196 ac_header_compiler
=yes
10198 echo "$as_me: failed program was:" >&5
10199 sed 's/^/| /' conftest.
$ac_ext >&5
10201 ac_header_compiler
=no
10203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10204 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10205 echo "${ECHO_T}$ac_header_compiler" >&6
10207 # Is the header present?
10208 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10209 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10210 cat >conftest.
$ac_ext <<_ACEOF
10213 cat confdefs.h
>>conftest.
$ac_ext
10214 cat >>conftest.
$ac_ext <<_ACEOF
10215 /* end confdefs.h. */
10216 #include <$ac_header>
10218 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10219 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10221 grep -v '^ *+' conftest.er1
>conftest.err
10223 cat conftest.err
>&5
10224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10225 (exit $ac_status); } >/dev
/null
; then
10226 if test -s conftest.err
; then
10227 ac_cpp_err
=$ac_c_preproc_warn_flag
10228 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10235 if test -z "$ac_cpp_err"; then
10236 ac_header_preproc
=yes
10238 echo "$as_me: failed program was:" >&5
10239 sed 's/^/| /' conftest.
$ac_ext >&5
10241 ac_header_preproc
=no
10243 rm -f conftest.err conftest.
$ac_ext
10244 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10245 echo "${ECHO_T}$ac_header_preproc" >&6
10247 # So? What about this header?
10248 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10250 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10251 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10252 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10253 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10254 ac_header_preproc
=yes
10257 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10258 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10259 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10260 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10261 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10262 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10263 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10264 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10265 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10266 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10267 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10268 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10271 ## ---------------------------------- ##
10272 ## Report this to the libjava lists. ##
10273 ## ---------------------------------- ##
10276 sed "s/^/$as_me: WARNING: /" >&2
10279 echo "$as_me:$LINENO: checking for $ac_header" >&5
10280 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10281 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10282 echo $ECHO_N "(cached) $ECHO_C" >&6
10284 eval "$as_ac_Header=\$ac_header_preproc"
10286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10287 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10290 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10291 cat >>confdefs.h
<<_ACEOF
10292 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10299 if test $ac_cv_header_locale_h = yes; then
10300 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
10301 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
10302 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
10303 echo $ECHO_N "(cached) $ECHO_C" >&6
10305 if test x
$gcc_no_link = xyes
; then
10306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10308 { (exit 1); exit 1; }; }
10310 cat >conftest.
$ac_ext <<_ACEOF
10313 cat confdefs.h
>>conftest.
$ac_ext
10314 cat >>conftest.
$ac_ext <<_ACEOF
10315 /* end confdefs.h. */
10316 #include <locale.h>
10325 rm -f conftest.
$ac_objext conftest
$ac_exeext
10326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10327 (eval $ac_link) 2>conftest.er1
10329 grep -v '^ *+' conftest.er1
>conftest.err
10331 cat conftest.err
>&5
10332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10333 (exit $ac_status); } &&
10334 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10336 (eval $ac_try) 2>&5
10338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10339 (exit $ac_status); }; } &&
10340 { ac_try
='test -s conftest$ac_exeext'
10341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10342 (eval $ac_try) 2>&5
10344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10345 (exit $ac_status); }; }; then
10346 am_cv_val_LC_MESSAGES
=yes
10348 echo "$as_me: failed program was:" >&5
10349 sed 's/^/| /' conftest.
$ac_ext >&5
10351 am_cv_val_LC_MESSAGES
=no
10353 rm -f conftest.err conftest.
$ac_objext \
10354 conftest
$ac_exeext conftest.
$ac_ext
10356 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
10357 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
10358 if test $am_cv_val_LC_MESSAGES = yes; then
10360 cat >>confdefs.h
<<\_ACEOF
10361 #define HAVE_LC_MESSAGES 1
10366 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
10367 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
10368 if test "${ac_cv_struct_tm+set}" = set; then
10369 echo $ECHO_N "(cached) $ECHO_C" >&6
10371 cat >conftest.
$ac_ext <<_ACEOF
10374 cat confdefs.h
>>conftest.
$ac_ext
10375 cat >>conftest.
$ac_ext <<_ACEOF
10376 /* end confdefs.h. */
10377 #include <sys/types.h>
10383 struct tm *tp; tp->tm_sec;
10388 rm -f conftest.
$ac_objext
10389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10390 (eval $ac_compile) 2>conftest.er1
10392 grep -v '^ *+' conftest.er1
>conftest.err
10394 cat conftest.err
>&5
10395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10396 (exit $ac_status); } &&
10397 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10399 (eval $ac_try) 2>&5
10401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10402 (exit $ac_status); }; } &&
10403 { ac_try
='test -s conftest.$ac_objext'
10404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10405 (eval $ac_try) 2>&5
10407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10408 (exit $ac_status); }; }; then
10409 ac_cv_struct_tm
=time.h
10411 echo "$as_me: failed program was:" >&5
10412 sed 's/^/| /' conftest.
$ac_ext >&5
10414 ac_cv_struct_tm
=sys
/time.h
10416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10418 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
10419 echo "${ECHO_T}$ac_cv_struct_tm" >&6
10420 if test $ac_cv_struct_tm = sys
/time.h
; then
10422 cat >>confdefs.h
<<\_ACEOF
10423 #define TM_IN_SYS_TIME 1
10428 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
10429 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
10430 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
10431 echo $ECHO_N "(cached) $ECHO_C" >&6
10433 cat >conftest.
$ac_ext <<_ACEOF
10436 cat confdefs.h
>>conftest.
$ac_ext
10437 cat >>conftest.
$ac_ext <<_ACEOF
10438 /* end confdefs.h. */
10439 #include <sys/types.h>
10440 #include <$ac_cv_struct_tm>
10446 static struct tm ac_aggr;
10447 if (ac_aggr.tm_zone)
10453 rm -f conftest.
$ac_objext
10454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10455 (eval $ac_compile) 2>conftest.er1
10457 grep -v '^ *+' conftest.er1
>conftest.err
10459 cat conftest.err
>&5
10460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10461 (exit $ac_status); } &&
10462 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10464 (eval $ac_try) 2>&5
10466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10467 (exit $ac_status); }; } &&
10468 { ac_try
='test -s conftest.$ac_objext'
10469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10470 (eval $ac_try) 2>&5
10472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10473 (exit $ac_status); }; }; then
10474 ac_cv_member_struct_tm_tm_zone
=yes
10476 echo "$as_me: failed program was:" >&5
10477 sed 's/^/| /' conftest.
$ac_ext >&5
10479 cat >conftest.
$ac_ext <<_ACEOF
10482 cat confdefs.h
>>conftest.
$ac_ext
10483 cat >>conftest.
$ac_ext <<_ACEOF
10484 /* end confdefs.h. */
10485 #include <sys/types.h>
10486 #include <$ac_cv_struct_tm>
10492 static struct tm ac_aggr;
10493 if (sizeof ac_aggr.tm_zone)
10499 rm -f conftest.
$ac_objext
10500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10501 (eval $ac_compile) 2>conftest.er1
10503 grep -v '^ *+' conftest.er1
>conftest.err
10505 cat conftest.err
>&5
10506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10507 (exit $ac_status); } &&
10508 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10510 (eval $ac_try) 2>&5
10512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10513 (exit $ac_status); }; } &&
10514 { ac_try
='test -s conftest.$ac_objext'
10515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10516 (eval $ac_try) 2>&5
10518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10519 (exit $ac_status); }; }; then
10520 ac_cv_member_struct_tm_tm_zone
=yes
10522 echo "$as_me: failed program was:" >&5
10523 sed 's/^/| /' conftest.
$ac_ext >&5
10525 ac_cv_member_struct_tm_tm_zone
=no
10527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10531 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
10532 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
10533 if test $ac_cv_member_struct_tm_tm_zone = yes; then
10535 cat >>confdefs.h
<<_ACEOF
10536 #define HAVE_STRUCT_TM_TM_ZONE 1
10542 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
10544 cat >>confdefs.h
<<\_ACEOF
10545 #define HAVE_TM_ZONE 1
10549 echo "$as_me:$LINENO: checking for tzname" >&5
10550 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
10551 if test "${ac_cv_var_tzname+set}" = set; then
10552 echo $ECHO_N "(cached) $ECHO_C" >&6
10554 if test x
$gcc_no_link = xyes
; then
10555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10557 { (exit 1); exit 1; }; }
10559 cat >conftest.
$ac_ext <<_ACEOF
10562 cat confdefs.h
>>conftest.
$ac_ext
10563 cat >>conftest.
$ac_ext <<_ACEOF
10564 /* end confdefs.h. */
10566 #ifndef tzname /* For SGI. */
10567 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
10578 rm -f conftest.
$ac_objext conftest
$ac_exeext
10579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10580 (eval $ac_link) 2>conftest.er1
10582 grep -v '^ *+' conftest.er1
>conftest.err
10584 cat conftest.err
>&5
10585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10586 (exit $ac_status); } &&
10587 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10589 (eval $ac_try) 2>&5
10591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10592 (exit $ac_status); }; } &&
10593 { ac_try
='test -s conftest$ac_exeext'
10594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10595 (eval $ac_try) 2>&5
10597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10598 (exit $ac_status); }; }; then
10599 ac_cv_var_tzname
=yes
10601 echo "$as_me: failed program was:" >&5
10602 sed 's/^/| /' conftest.
$ac_ext >&5
10604 ac_cv_var_tzname
=no
10606 rm -f conftest.err conftest.
$ac_objext \
10607 conftest
$ac_exeext conftest.
$ac_ext
10609 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
10610 echo "${ECHO_T}$ac_cv_var_tzname" >&6
10611 if test $ac_cv_var_tzname = yes; then
10613 cat >>confdefs.h
<<\_ACEOF
10614 #define HAVE_TZNAME 1
10623 for ac_func
in gethostbyname_r
10625 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10626 echo "$as_me:$LINENO: checking for $ac_func" >&5
10627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10628 if eval "test \"\${$as_ac_var+set}\" = set"; then
10629 echo $ECHO_N "(cached) $ECHO_C" >&6
10631 if test x
$gcc_no_link = xyes
; then
10632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10634 { (exit 1); exit 1; }; }
10636 cat >conftest.
$ac_ext <<_ACEOF
10639 cat confdefs.h
>>conftest.
$ac_ext
10640 cat >>conftest.
$ac_ext <<_ACEOF
10641 /* end confdefs.h. */
10642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10644 #define $ac_func innocuous_$ac_func
10646 /* System header to define __stub macros and hopefully few prototypes,
10647 which can conflict with char $ac_func (); below.
10648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10649 <limits.h> exists even on freestanding compilers. */
10652 # include <limits.h>
10654 # include <assert.h>
10659 /* Override any gcc2 internal prototype to avoid an error. */
10664 /* We use char because int might match the return type of a gcc2
10665 builtin and then its argument prototype would still apply. */
10667 /* The GNU C library defines this for functions which it implements
10668 to always fail with ENOSYS. Some functions are actually named
10669 something starting with __ and the normal name is an alias. */
10670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10673 char (*f) () = $ac_func;
10682 return f != $ac_func;
10687 rm -f conftest.
$ac_objext conftest
$ac_exeext
10688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10689 (eval $ac_link) 2>conftest.er1
10691 grep -v '^ *+' conftest.er1
>conftest.err
10693 cat conftest.err
>&5
10694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10695 (exit $ac_status); } &&
10696 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10698 (eval $ac_try) 2>&5
10700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10701 (exit $ac_status); }; } &&
10702 { ac_try
='test -s conftest$ac_exeext'
10703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10704 (eval $ac_try) 2>&5
10706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10707 (exit $ac_status); }; }; then
10708 eval "$as_ac_var=yes"
10710 echo "$as_me: failed program was:" >&5
10711 sed 's/^/| /' conftest.
$ac_ext >&5
10713 eval "$as_ac_var=no"
10715 rm -f conftest.err conftest.
$ac_objext \
10716 conftest
$ac_exeext conftest.
$ac_ext
10718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10720 if test `eval echo '${'$as_ac_var'}'` = yes; then
10721 cat >>confdefs.h
<<_ACEOF
10722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10726 cat >>confdefs.h
<<\_ACEOF
10727 #define HAVE_GETHOSTBYNAME_R 1
10730 # There are two different kinds of gethostbyname_r.
10731 # We look for the one that returns `int'.
10732 # Hopefully this check is robust enough.
10733 cat >conftest.
$ac_ext <<_ACEOF
10736 cat confdefs.h
>>conftest.
$ac_ext
10737 cat >>conftest.
$ac_ext <<_ACEOF
10738 /* end confdefs.h. */
10742 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10743 $EGREP "int.*gethostbyname_r" >/dev
/null
2>&1; then
10746 cat >>confdefs.h
<<\_ACEOF
10747 #define GETHOSTBYNAME_R_RETURNS_INT 1
10754 case " $GCINCS " in
10755 *" -D_REENTRANT "*) ;;
10757 echo "$as_me:$LINENO: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5
10758 echo $ECHO_N "checking whether gethostbyname_r declaration requires -D_REENTRANT... $ECHO_C" >&6
10759 if test "${libjava_cv_gethostbyname_r_needs_reentrant+set}" = set; then
10760 echo $ECHO_N "(cached) $ECHO_C" >&6
10763 ac_cpp
='$CXXCPP $CPPFLAGS'
10764 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10765 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10766 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10768 cat >conftest.
$ac_ext <<_ACEOF
10771 cat confdefs.h
>>conftest.
$ac_ext
10772 cat >>conftest.
$ac_ext <<_ACEOF
10773 /* end confdefs.h. */
10778 gethostbyname_r("", 0, 0);
10783 rm -f conftest.
$ac_objext
10784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10785 (eval $ac_compile) 2>conftest.er1
10787 grep -v '^ *+' conftest.er1
>conftest.err
10789 cat conftest.err
>&5
10790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10791 (exit $ac_status); } &&
10792 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10794 (eval $ac_try) 2>&5
10796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10797 (exit $ac_status); }; } &&
10798 { ac_try
='test -s conftest.$ac_objext'
10799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10800 (eval $ac_try) 2>&5
10802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10803 (exit $ac_status); }; }; then
10804 libjava_cv_gethostbyname_r_needs_reentrant
=no
10806 echo "$as_me: failed program was:" >&5
10807 sed 's/^/| /' conftest.
$ac_ext >&5
10809 CPPFLAGS_SAVE
="$CPPFLAGS"
10810 CPPFLAGS
="$CPPFLAGS -D_REENTRANT"
10811 cat >conftest.
$ac_ext <<_ACEOF
10814 cat confdefs.h
>>conftest.
$ac_ext
10815 cat >>conftest.
$ac_ext <<_ACEOF
10816 /* end confdefs.h. */
10821 gethostbyname_r("", 0, 0);
10826 rm -f conftest.
$ac_objext
10827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10828 (eval $ac_compile) 2>conftest.er1
10830 grep -v '^ *+' conftest.er1
>conftest.err
10832 cat conftest.err
>&5
10833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10834 (exit $ac_status); } &&
10835 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10837 (eval $ac_try) 2>&5
10839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10840 (exit $ac_status); }; } &&
10841 { ac_try
='test -s conftest.$ac_objext'
10842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10843 (eval $ac_try) 2>&5
10845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10846 (exit $ac_status); }; }; then
10847 libjava_cv_gethostbyname_r_needs_reentrant
=yes
10849 echo "$as_me: failed program was:" >&5
10850 sed 's/^/| /' conftest.
$ac_ext >&5
10852 libjava_cv_gethostbyname_r_needs_reentrant
=fail
10854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10855 CPPFLAGS
="$CPPFLAGS_SAVE"
10858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10860 ac_cpp
='$CPP $CPPFLAGS'
10861 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10862 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10863 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10867 echo "$as_me:$LINENO: result: $libjava_cv_gethostbyname_r_needs_reentrant" >&5
10868 echo "${ECHO_T}$libjava_cv_gethostbyname_r_needs_reentrant" >&6
10869 if test "x$libjava_cv_gethostbyname_r_needs_reentrant" = xyes
; then
10871 cat >>confdefs.h
<<\_ACEOF
10872 #define _REENTRANT 1
10879 echo "$as_me:$LINENO: checking for struct hostent_data" >&5
10880 echo $ECHO_N "checking for struct hostent_data... $ECHO_C" >&6
10881 if test "${libjava_cv_struct_hostent_data+set}" = set; then
10882 echo $ECHO_N "(cached) $ECHO_C" >&6
10884 cat >conftest.
$ac_ext <<_ACEOF
10887 cat confdefs.h
>>conftest.
$ac_ext
10888 cat >>conftest.
$ac_ext <<_ACEOF
10889 /* end confdefs.h. */
10891 #if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
10892 # define _REENTRANT 1
10898 struct hostent_data data;
10903 rm -f conftest.
$ac_objext
10904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10905 (eval $ac_compile) 2>conftest.er1
10907 grep -v '^ *+' conftest.er1
>conftest.err
10909 cat conftest.err
>&5
10910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10911 (exit $ac_status); } &&
10912 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10914 (eval $ac_try) 2>&5
10916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10917 (exit $ac_status); }; } &&
10918 { ac_try
='test -s conftest.$ac_objext'
10919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10920 (eval $ac_try) 2>&5
10922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10923 (exit $ac_status); }; }; then
10924 libjava_cv_struct_hostent_data
=yes
10926 echo "$as_me: failed program was:" >&5
10927 sed 's/^/| /' conftest.
$ac_ext >&5
10929 libjava_cv_struct_hostent_data
=no
10931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10933 echo "$as_me:$LINENO: result: $libjava_cv_struct_hostent_data" >&5
10934 echo "${ECHO_T}$libjava_cv_struct_hostent_data" >&6
10935 if test "x$libjava_cv_struct_hostent_data" = xyes
; then
10937 cat >>confdefs.h
<<\_ACEOF
10938 #define HAVE_STRUCT_HOSTENT_DATA 1
10947 # FIXME: libjava source code expects to find a prototype for
10948 # gethostbyaddr_r in netdb.h. The outer check ensures that
10949 # HAVE_GETHOSTBYADDR_R will not be defined if the prototype fails
10950 # to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
10951 # linkage check is enough, yet C++ code requires proper prototypes.)
10952 cat >conftest.
$ac_ext <<_ACEOF
10955 cat confdefs.h
>>conftest.
$ac_ext
10956 cat >>conftest.
$ac_ext <<_ACEOF
10957 /* end confdefs.h. */
10961 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10962 $EGREP "gethostbyaddr_r" >/dev
/null
2>&1; then
10965 for ac_func
in gethostbyaddr_r
10967 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10968 echo "$as_me:$LINENO: checking for $ac_func" >&5
10969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10970 if eval "test \"\${$as_ac_var+set}\" = set"; then
10971 echo $ECHO_N "(cached) $ECHO_C" >&6
10973 if test x
$gcc_no_link = xyes
; then
10974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10976 { (exit 1); exit 1; }; }
10978 cat >conftest.
$ac_ext <<_ACEOF
10981 cat confdefs.h
>>conftest.
$ac_ext
10982 cat >>conftest.
$ac_ext <<_ACEOF
10983 /* end confdefs.h. */
10984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10986 #define $ac_func innocuous_$ac_func
10988 /* System header to define __stub macros and hopefully few prototypes,
10989 which can conflict with char $ac_func (); below.
10990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10991 <limits.h> exists even on freestanding compilers. */
10994 # include <limits.h>
10996 # include <assert.h>
11001 /* Override any gcc2 internal prototype to avoid an error. */
11006 /* We use char because int might match the return type of a gcc2
11007 builtin and then its argument prototype would still apply. */
11009 /* The GNU C library defines this for functions which it implements
11010 to always fail with ENOSYS. Some functions are actually named
11011 something starting with __ and the normal name is an alias. */
11012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11015 char (*f) () = $ac_func;
11024 return f != $ac_func;
11029 rm -f conftest.
$ac_objext conftest
$ac_exeext
11030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11031 (eval $ac_link) 2>conftest.er1
11033 grep -v '^ *+' conftest.er1
>conftest.err
11035 cat conftest.err
>&5
11036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11037 (exit $ac_status); } &&
11038 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11040 (eval $ac_try) 2>&5
11042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11043 (exit $ac_status); }; } &&
11044 { ac_try
='test -s conftest$ac_exeext'
11045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11046 (eval $ac_try) 2>&5
11048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11049 (exit $ac_status); }; }; then
11050 eval "$as_ac_var=yes"
11052 echo "$as_me: failed program was:" >&5
11053 sed 's/^/| /' conftest.
$ac_ext >&5
11055 eval "$as_ac_var=no"
11057 rm -f conftest.err conftest.
$ac_objext \
11058 conftest
$ac_exeext conftest.
$ac_ext
11060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11062 if test `eval echo '${'$as_ac_var'}'` = yes; then
11063 cat >>confdefs.h
<<_ACEOF
11064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11068 cat >>confdefs.h
<<\_ACEOF
11069 #define HAVE_GETHOSTBYADDR_R 1
11072 # There are two different kinds of gethostbyaddr_r.
11073 # We look for the one that returns `int'.
11074 # Hopefully this check is robust enough.
11075 cat >conftest.
$ac_ext <<_ACEOF
11078 cat confdefs.h
>>conftest.
$ac_ext
11079 cat >>conftest.
$ac_ext <<_ACEOF
11080 /* end confdefs.h. */
11084 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11085 $EGREP "int.*gethostbyaddr_r" >/dev
/null
2>&1; then
11088 cat >>confdefs.h
<<\_ACEOF
11089 #define GETHOSTBYADDR_R_RETURNS_INT 1
11103 for ac_func
in gethostname
11105 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11106 echo "$as_me:$LINENO: checking for $ac_func" >&5
11107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11108 if eval "test \"\${$as_ac_var+set}\" = set"; then
11109 echo $ECHO_N "(cached) $ECHO_C" >&6
11111 if test x
$gcc_no_link = xyes
; then
11112 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11114 { (exit 1); exit 1; }; }
11116 cat >conftest.
$ac_ext <<_ACEOF
11119 cat confdefs.h
>>conftest.
$ac_ext
11120 cat >>conftest.
$ac_ext <<_ACEOF
11121 /* end confdefs.h. */
11122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11124 #define $ac_func innocuous_$ac_func
11126 /* System header to define __stub macros and hopefully few prototypes,
11127 which can conflict with char $ac_func (); below.
11128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11129 <limits.h> exists even on freestanding compilers. */
11132 # include <limits.h>
11134 # include <assert.h>
11139 /* Override any gcc2 internal prototype to avoid an error. */
11144 /* We use char because int might match the return type of a gcc2
11145 builtin and then its argument prototype would still apply. */
11147 /* The GNU C library defines this for functions which it implements
11148 to always fail with ENOSYS. Some functions are actually named
11149 something starting with __ and the normal name is an alias. */
11150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11153 char (*f) () = $ac_func;
11162 return f != $ac_func;
11167 rm -f conftest.
$ac_objext conftest
$ac_exeext
11168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11169 (eval $ac_link) 2>conftest.er1
11171 grep -v '^ *+' conftest.er1
>conftest.err
11173 cat conftest.err
>&5
11174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11175 (exit $ac_status); } &&
11176 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11178 (eval $ac_try) 2>&5
11180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11181 (exit $ac_status); }; } &&
11182 { ac_try
='test -s conftest$ac_exeext'
11183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11184 (eval $ac_try) 2>&5
11186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11187 (exit $ac_status); }; }; then
11188 eval "$as_ac_var=yes"
11190 echo "$as_me: failed program was:" >&5
11191 sed 's/^/| /' conftest.
$ac_ext >&5
11193 eval "$as_ac_var=no"
11195 rm -f conftest.err conftest.
$ac_objext \
11196 conftest
$ac_exeext conftest.
$ac_ext
11198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11200 if test `eval echo '${'$as_ac_var'}'` = yes; then
11201 cat >>confdefs.h
<<_ACEOF
11202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11206 cat >>confdefs.h
<<\_ACEOF
11207 #define HAVE_GETHOSTNAME 1
11210 cat >conftest.
$ac_ext <<_ACEOF
11213 cat confdefs.h
>>conftest.
$ac_ext
11214 cat >>conftest.
$ac_ext <<_ACEOF
11215 /* end confdefs.h. */
11216 #include <unistd.h>
11219 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11220 $EGREP "gethostname" >/dev
/null
2>&1; then
11223 cat >>confdefs.h
<<\_ACEOF
11224 #define HAVE_GETHOSTNAME_DECL 1
11235 for ac_func
in usleep
11237 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11238 echo "$as_me:$LINENO: checking for $ac_func" >&5
11239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11240 if eval "test \"\${$as_ac_var+set}\" = set"; then
11241 echo $ECHO_N "(cached) $ECHO_C" >&6
11243 if test x
$gcc_no_link = xyes
; then
11244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11246 { (exit 1); exit 1; }; }
11248 cat >conftest.
$ac_ext <<_ACEOF
11251 cat confdefs.h
>>conftest.
$ac_ext
11252 cat >>conftest.
$ac_ext <<_ACEOF
11253 /* end confdefs.h. */
11254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11256 #define $ac_func innocuous_$ac_func
11258 /* System header to define __stub macros and hopefully few prototypes,
11259 which can conflict with char $ac_func (); below.
11260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11261 <limits.h> exists even on freestanding compilers. */
11264 # include <limits.h>
11266 # include <assert.h>
11271 /* Override any gcc2 internal prototype to avoid an error. */
11276 /* We use char because int might match the return type of a gcc2
11277 builtin and then its argument prototype would still apply. */
11279 /* The GNU C library defines this for functions which it implements
11280 to always fail with ENOSYS. Some functions are actually named
11281 something starting with __ and the normal name is an alias. */
11282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11285 char (*f) () = $ac_func;
11294 return f != $ac_func;
11299 rm -f conftest.
$ac_objext conftest
$ac_exeext
11300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11301 (eval $ac_link) 2>conftest.er1
11303 grep -v '^ *+' conftest.er1
>conftest.err
11305 cat conftest.err
>&5
11306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11307 (exit $ac_status); } &&
11308 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11310 (eval $ac_try) 2>&5
11312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11313 (exit $ac_status); }; } &&
11314 { ac_try
='test -s conftest$ac_exeext'
11315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11316 (eval $ac_try) 2>&5
11318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11319 (exit $ac_status); }; }; then
11320 eval "$as_ac_var=yes"
11322 echo "$as_me: failed program was:" >&5
11323 sed 's/^/| /' conftest.
$ac_ext >&5
11325 eval "$as_ac_var=no"
11327 rm -f conftest.err conftest.
$ac_objext \
11328 conftest
$ac_exeext conftest.
$ac_ext
11330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11332 if test `eval echo '${'$as_ac_var'}'` = yes; then
11333 cat >>confdefs.h
<<_ACEOF
11334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11337 cat >conftest.
$ac_ext <<_ACEOF
11340 cat confdefs.h
>>conftest.
$ac_ext
11341 cat >>conftest.
$ac_ext <<_ACEOF
11342 /* end confdefs.h. */
11343 #include <unistd.h>
11346 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11347 $EGREP "usleep" >/dev
/null
2>&1; then
11350 cat >>confdefs.h
<<\_ACEOF
11351 #define HAVE_USLEEP_DECL 1
11361 # Look for these functions in the thread library, but only bother
11362 # if using POSIX threads.
11363 if test "$THREADS" = posix
; then
11365 LIBS
="$LIBS $THREADLIBS"
11366 # Some POSIX thread systems don't have pthread_mutexattr_settype.
11370 for ac_func
in pthread_mutexattr_settype pthread_mutexattr_setkind_np
11372 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11373 echo "$as_me:$LINENO: checking for $ac_func" >&5
11374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11375 if eval "test \"\${$as_ac_var+set}\" = set"; then
11376 echo $ECHO_N "(cached) $ECHO_C" >&6
11378 if test x
$gcc_no_link = xyes
; then
11379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11381 { (exit 1); exit 1; }; }
11383 cat >conftest.
$ac_ext <<_ACEOF
11386 cat confdefs.h
>>conftest.
$ac_ext
11387 cat >>conftest.
$ac_ext <<_ACEOF
11388 /* end confdefs.h. */
11389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11391 #define $ac_func innocuous_$ac_func
11393 /* System header to define __stub macros and hopefully few prototypes,
11394 which can conflict with char $ac_func (); below.
11395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11396 <limits.h> exists even on freestanding compilers. */
11399 # include <limits.h>
11401 # include <assert.h>
11406 /* Override any gcc2 internal prototype to avoid an error. */
11411 /* We use char because int might match the return type of a gcc2
11412 builtin and then its argument prototype would still apply. */
11414 /* The GNU C library defines this for functions which it implements
11415 to always fail with ENOSYS. Some functions are actually named
11416 something starting with __ and the normal name is an alias. */
11417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11420 char (*f) () = $ac_func;
11429 return f != $ac_func;
11434 rm -f conftest.
$ac_objext conftest
$ac_exeext
11435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11436 (eval $ac_link) 2>conftest.er1
11438 grep -v '^ *+' conftest.er1
>conftest.err
11440 cat conftest.err
>&5
11441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11442 (exit $ac_status); } &&
11443 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11445 (eval $ac_try) 2>&5
11447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11448 (exit $ac_status); }; } &&
11449 { ac_try
='test -s conftest$ac_exeext'
11450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11451 (eval $ac_try) 2>&5
11453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11454 (exit $ac_status); }; }; then
11455 eval "$as_ac_var=yes"
11457 echo "$as_me: failed program was:" >&5
11458 sed 's/^/| /' conftest.
$ac_ext >&5
11460 eval "$as_ac_var=no"
11462 rm -f conftest.err conftest.
$ac_objext \
11463 conftest
$ac_exeext conftest.
$ac_ext
11465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11467 if test `eval echo '${'$as_ac_var'}'` = yes; then
11468 cat >>confdefs.h
<<_ACEOF
11469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11476 # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since
11477 # Solaris 7 the name librt is preferred.
11479 for ac_func
in sched_yield
11481 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11482 echo "$as_me:$LINENO: checking for $ac_func" >&5
11483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11484 if eval "test \"\${$as_ac_var+set}\" = set"; then
11485 echo $ECHO_N "(cached) $ECHO_C" >&6
11487 if test x
$gcc_no_link = xyes
; then
11488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11490 { (exit 1); exit 1; }; }
11492 cat >conftest.
$ac_ext <<_ACEOF
11495 cat confdefs.h
>>conftest.
$ac_ext
11496 cat >>conftest.
$ac_ext <<_ACEOF
11497 /* end confdefs.h. */
11498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11500 #define $ac_func innocuous_$ac_func
11502 /* System header to define __stub macros and hopefully few prototypes,
11503 which can conflict with char $ac_func (); below.
11504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11505 <limits.h> exists even on freestanding compilers. */
11508 # include <limits.h>
11510 # include <assert.h>
11515 /* Override any gcc2 internal prototype to avoid an error. */
11520 /* We use char because int might match the return type of a gcc2
11521 builtin and then its argument prototype would still apply. */
11523 /* The GNU C library defines this for functions which it implements
11524 to always fail with ENOSYS. Some functions are actually named
11525 something starting with __ and the normal name is an alias. */
11526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11529 char (*f) () = $ac_func;
11538 return f != $ac_func;
11543 rm -f conftest.
$ac_objext conftest
$ac_exeext
11544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11545 (eval $ac_link) 2>conftest.er1
11547 grep -v '^ *+' conftest.er1
>conftest.err
11549 cat conftest.err
>&5
11550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11551 (exit $ac_status); } &&
11552 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11554 (eval $ac_try) 2>&5
11556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11557 (exit $ac_status); }; } &&
11558 { ac_try
='test -s conftest$ac_exeext'
11559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11560 (eval $ac_try) 2>&5
11562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11563 (exit $ac_status); }; }; then
11564 eval "$as_ac_var=yes"
11566 echo "$as_me: failed program was:" >&5
11567 sed 's/^/| /' conftest.
$ac_ext >&5
11569 eval "$as_ac_var=no"
11571 rm -f conftest.err conftest.
$ac_objext \
11572 conftest
$ac_exeext conftest.
$ac_ext
11574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11576 if test `eval echo '${'$as_ac_var'}'` = yes; then
11577 cat >>confdefs.h
<<_ACEOF
11578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11583 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
11584 echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
11585 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
11586 echo $ECHO_N "(cached) $ECHO_C" >&6
11588 ac_check_lib_save_LIBS
=$LIBS
11590 if test x
$gcc_no_link = xyes
; then
11591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11593 { (exit 1); exit 1; }; }
11595 cat >conftest.
$ac_ext <<_ACEOF
11598 cat confdefs.h
>>conftest.
$ac_ext
11599 cat >>conftest.
$ac_ext <<_ACEOF
11600 /* end confdefs.h. */
11602 /* Override any gcc2 internal prototype to avoid an error. */
11606 /* We use char because int might match the return type of a gcc2
11607 builtin and then its argument prototype would still apply. */
11608 char sched_yield ();
11617 rm -f conftest.
$ac_objext conftest
$ac_exeext
11618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11619 (eval $ac_link) 2>conftest.er1
11621 grep -v '^ *+' conftest.er1
>conftest.err
11623 cat conftest.err
>&5
11624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11625 (exit $ac_status); } &&
11626 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11628 (eval $ac_try) 2>&5
11630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11631 (exit $ac_status); }; } &&
11632 { ac_try
='test -s conftest$ac_exeext'
11633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11634 (eval $ac_try) 2>&5
11636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11637 (exit $ac_status); }; }; then
11638 ac_cv_lib_rt_sched_yield
=yes
11640 echo "$as_me: failed program was:" >&5
11641 sed 's/^/| /' conftest.
$ac_ext >&5
11643 ac_cv_lib_rt_sched_yield
=no
11645 rm -f conftest.err conftest.
$ac_objext \
11646 conftest
$ac_exeext conftest.
$ac_ext
11647 LIBS
=$ac_check_lib_save_LIBS
11649 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
11650 echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
11651 if test $ac_cv_lib_rt_sched_yield = yes; then
11653 cat >>confdefs.h
<<\_ACEOF
11654 #define HAVE_SCHED_YIELD 1
11657 THREADLIBS
="$THREADLIBS -lrt"
11658 THREADSPEC
="$THREADSPEC -lrt"
11661 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
11662 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
11663 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
11664 echo $ECHO_N "(cached) $ECHO_C" >&6
11666 ac_check_lib_save_LIBS
=$LIBS
11667 LIBS
="-lposix4 $LIBS"
11668 if test x
$gcc_no_link = xyes
; then
11669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11671 { (exit 1); exit 1; }; }
11673 cat >conftest.
$ac_ext <<_ACEOF
11676 cat confdefs.h
>>conftest.
$ac_ext
11677 cat >>conftest.
$ac_ext <<_ACEOF
11678 /* end confdefs.h. */
11680 /* Override any gcc2 internal prototype to avoid an error. */
11684 /* We use char because int might match the return type of a gcc2
11685 builtin and then its argument prototype would still apply. */
11686 char sched_yield ();
11695 rm -f conftest.
$ac_objext conftest
$ac_exeext
11696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11697 (eval $ac_link) 2>conftest.er1
11699 grep -v '^ *+' conftest.er1
>conftest.err
11701 cat conftest.err
>&5
11702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11703 (exit $ac_status); } &&
11704 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11706 (eval $ac_try) 2>&5
11708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11709 (exit $ac_status); }; } &&
11710 { ac_try
='test -s conftest$ac_exeext'
11711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11712 (eval $ac_try) 2>&5
11714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11715 (exit $ac_status); }; }; then
11716 ac_cv_lib_posix4_sched_yield
=yes
11718 echo "$as_me: failed program was:" >&5
11719 sed 's/^/| /' conftest.
$ac_ext >&5
11721 ac_cv_lib_posix4_sched_yield
=no
11723 rm -f conftest.err conftest.
$ac_objext \
11724 conftest
$ac_exeext conftest.
$ac_ext
11725 LIBS
=$ac_check_lib_save_LIBS
11727 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
11728 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
11729 if test $ac_cv_lib_posix4_sched_yield = yes; then
11731 cat >>confdefs.h
<<\_ACEOF
11732 #define HAVE_SCHED_YIELD 1
11735 THREADLIBS
="$THREADLIBS -lposix4"
11736 THREADSPEC
="$THREADSPEC -lposix4"
11746 # We can save a little space at runtime if the mutex has m_count
11747 # or __m_count. This is a nice hack for Linux.
11748 cat >conftest.
$ac_ext <<_ACEOF
11751 cat confdefs.h
>>conftest.
$ac_ext
11752 cat >>conftest.
$ac_ext <<_ACEOF
11753 /* end confdefs.h. */
11754 #include <pthread.h>
11759 extern pthread_mutex_t *mutex; int q = mutex->m_count;
11765 rm -f conftest.
$ac_objext
11766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11767 (eval $ac_compile) 2>conftest.er1
11769 grep -v '^ *+' conftest.er1
>conftest.err
11771 cat conftest.err
>&5
11772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11773 (exit $ac_status); } &&
11774 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11776 (eval $ac_try) 2>&5
11778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11779 (exit $ac_status); }; } &&
11780 { ac_try
='test -s conftest.$ac_objext'
11781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11782 (eval $ac_try) 2>&5
11784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11785 (exit $ac_status); }; }; then
11787 cat >>confdefs.h
<<\_ACEOF
11788 #define PTHREAD_MUTEX_HAVE_M_COUNT 1
11792 echo "$as_me: failed program was:" >&5
11793 sed 's/^/| /' conftest.
$ac_ext >&5
11796 cat >conftest.
$ac_ext <<_ACEOF
11799 cat confdefs.h
>>conftest.
$ac_ext
11800 cat >>conftest.
$ac_ext <<_ACEOF
11801 /* end confdefs.h. */
11802 #include <pthread.h>
11807 extern pthread_mutex_t *mutex; int q = mutex->__m_count;
11813 rm -f conftest.
$ac_objext
11814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11815 (eval $ac_compile) 2>conftest.er1
11817 grep -v '^ *+' conftest.er1
>conftest.err
11819 cat conftest.err
>&5
11820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11821 (exit $ac_status); } &&
11822 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11824 (eval $ac_try) 2>&5
11826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11827 (exit $ac_status); }; } &&
11828 { ac_try
='test -s conftest.$ac_objext'
11829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11830 (eval $ac_try) 2>&5
11832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11833 (exit $ac_status); }; }; then
11835 cat >>confdefs.h
<<\_ACEOF
11836 #define PTHREAD_MUTEX_HAVE___M_COUNT 1
11840 echo "$as_me: failed program was:" >&5
11841 sed 's/^/| /' conftest.
$ac_ext >&5
11844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11849 # We require a way to get the time.
11854 for ac_func
in gettimeofday
time ftime
11856 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11857 echo "$as_me:$LINENO: checking for $ac_func" >&5
11858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11859 if eval "test \"\${$as_ac_var+set}\" = set"; then
11860 echo $ECHO_N "(cached) $ECHO_C" >&6
11862 if test x
$gcc_no_link = xyes
; then
11863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11865 { (exit 1); exit 1; }; }
11867 cat >conftest.
$ac_ext <<_ACEOF
11870 cat confdefs.h
>>conftest.
$ac_ext
11871 cat >>conftest.
$ac_ext <<_ACEOF
11872 /* end confdefs.h. */
11873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11875 #define $ac_func innocuous_$ac_func
11877 /* System header to define __stub macros and hopefully few prototypes,
11878 which can conflict with char $ac_func (); below.
11879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11880 <limits.h> exists even on freestanding compilers. */
11883 # include <limits.h>
11885 # include <assert.h>
11890 /* Override any gcc2 internal prototype to avoid an error. */
11895 /* We use char because int might match the return type of a gcc2
11896 builtin and then its argument prototype would still apply. */
11898 /* The GNU C library defines this for functions which it implements
11899 to always fail with ENOSYS. Some functions are actually named
11900 something starting with __ and the normal name is an alias. */
11901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11904 char (*f) () = $ac_func;
11913 return f != $ac_func;
11918 rm -f conftest.
$ac_objext conftest
$ac_exeext
11919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11920 (eval $ac_link) 2>conftest.er1
11922 grep -v '^ *+' conftest.er1
>conftest.err
11924 cat conftest.err
>&5
11925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11926 (exit $ac_status); } &&
11927 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11929 (eval $ac_try) 2>&5
11931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11932 (exit $ac_status); }; } &&
11933 { ac_try
='test -s conftest$ac_exeext'
11934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11935 (eval $ac_try) 2>&5
11937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11938 (exit $ac_status); }; }; then
11939 eval "$as_ac_var=yes"
11941 echo "$as_me: failed program was:" >&5
11942 sed 's/^/| /' conftest.
$ac_ext >&5
11944 eval "$as_ac_var=no"
11946 rm -f conftest.err conftest.
$ac_objext \
11947 conftest
$ac_exeext conftest.
$ac_ext
11949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11951 if test `eval echo '${'$as_ac_var'}'` = yes; then
11952 cat >>confdefs.h
<<_ACEOF
11953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11959 if test "$time_found" = no
; then
11960 { { echo "$as_me:$LINENO: error: no function found to get the time" >&5
11961 echo "$as_me: error: no function found to get the time" >&2;}
11962 { (exit 1); exit 1; }; }
11966 for ac_func
in memmove
11968 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11969 echo "$as_me:$LINENO: checking for $ac_func" >&5
11970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11971 if eval "test \"\${$as_ac_var+set}\" = set"; then
11972 echo $ECHO_N "(cached) $ECHO_C" >&6
11974 if test x
$gcc_no_link = xyes
; then
11975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11977 { (exit 1); exit 1; }; }
11979 cat >conftest.
$ac_ext <<_ACEOF
11982 cat confdefs.h
>>conftest.
$ac_ext
11983 cat >>conftest.
$ac_ext <<_ACEOF
11984 /* end confdefs.h. */
11985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11987 #define $ac_func innocuous_$ac_func
11989 /* System header to define __stub macros and hopefully few prototypes,
11990 which can conflict with char $ac_func (); below.
11991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11992 <limits.h> exists even on freestanding compilers. */
11995 # include <limits.h>
11997 # include <assert.h>
12002 /* Override any gcc2 internal prototype to avoid an error. */
12007 /* We use char because int might match the return type of a gcc2
12008 builtin and then its argument prototype would still apply. */
12010 /* The GNU C library defines this for functions which it implements
12011 to always fail with ENOSYS. Some functions are actually named
12012 something starting with __ and the normal name is an alias. */
12013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12016 char (*f) () = $ac_func;
12025 return f != $ac_func;
12030 rm -f conftest.
$ac_objext conftest
$ac_exeext
12031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12032 (eval $ac_link) 2>conftest.er1
12034 grep -v '^ *+' conftest.er1
>conftest.err
12036 cat conftest.err
>&5
12037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12038 (exit $ac_status); } &&
12039 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12041 (eval $ac_try) 2>&5
12043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12044 (exit $ac_status); }; } &&
12045 { ac_try
='test -s conftest$ac_exeext'
12046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12047 (eval $ac_try) 2>&5
12049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12050 (exit $ac_status); }; }; then
12051 eval "$as_ac_var=yes"
12053 echo "$as_me: failed program was:" >&5
12054 sed 's/^/| /' conftest.
$ac_ext >&5
12056 eval "$as_ac_var=no"
12058 rm -f conftest.err conftest.
$ac_objext \
12059 conftest
$ac_exeext conftest.
$ac_ext
12061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12063 if test `eval echo '${'$as_ac_var'}'` = yes; then
12064 cat >>confdefs.h
<<_ACEOF
12065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12072 # We require memcpy.
12075 for ac_func
in memcpy
12077 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12078 echo "$as_me:$LINENO: checking for $ac_func" >&5
12079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12080 if eval "test \"\${$as_ac_var+set}\" = set"; then
12081 echo $ECHO_N "(cached) $ECHO_C" >&6
12083 if test x
$gcc_no_link = xyes
; then
12084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12086 { (exit 1); exit 1; }; }
12088 cat >conftest.
$ac_ext <<_ACEOF
12091 cat confdefs.h
>>conftest.
$ac_ext
12092 cat >>conftest.
$ac_ext <<_ACEOF
12093 /* end confdefs.h. */
12094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12096 #define $ac_func innocuous_$ac_func
12098 /* System header to define __stub macros and hopefully few prototypes,
12099 which can conflict with char $ac_func (); below.
12100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12101 <limits.h> exists even on freestanding compilers. */
12104 # include <limits.h>
12106 # include <assert.h>
12111 /* Override any gcc2 internal prototype to avoid an error. */
12116 /* We use char because int might match the return type of a gcc2
12117 builtin and then its argument prototype would still apply. */
12119 /* The GNU C library defines this for functions which it implements
12120 to always fail with ENOSYS. Some functions are actually named
12121 something starting with __ and the normal name is an alias. */
12122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12125 char (*f) () = $ac_func;
12134 return f != $ac_func;
12139 rm -f conftest.
$ac_objext conftest
$ac_exeext
12140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12141 (eval $ac_link) 2>conftest.er1
12143 grep -v '^ *+' conftest.er1
>conftest.err
12145 cat conftest.err
>&5
12146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12147 (exit $ac_status); } &&
12148 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12150 (eval $ac_try) 2>&5
12152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12153 (exit $ac_status); }; } &&
12154 { ac_try
='test -s conftest$ac_exeext'
12155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12156 (eval $ac_try) 2>&5
12158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12159 (exit $ac_status); }; }; then
12160 eval "$as_ac_var=yes"
12162 echo "$as_me: failed program was:" >&5
12163 sed 's/^/| /' conftest.
$ac_ext >&5
12165 eval "$as_ac_var=no"
12167 rm -f conftest.err conftest.
$ac_objext \
12168 conftest
$ac_exeext conftest.
$ac_ext
12170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12172 if test `eval echo '${'$as_ac_var'}'` = yes; then
12173 cat >>confdefs.h
<<_ACEOF
12174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12180 if test "$memcpy_found" = no
; then
12181 { { echo "$as_me:$LINENO: error: memcpy is required" >&5
12182 echo "$as_me: error: memcpy is required" >&2;}
12183 { (exit 1); exit 1; }; }
12186 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12187 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12188 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12189 echo $ECHO_N "(cached) $ECHO_C" >&6
12191 ac_check_lib_save_LIBS
=$LIBS
12193 if test x
$gcc_no_link = xyes
; then
12194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12196 { (exit 1); exit 1; }; }
12198 cat >conftest.
$ac_ext <<_ACEOF
12201 cat confdefs.h
>>conftest.
$ac_ext
12202 cat >>conftest.
$ac_ext <<_ACEOF
12203 /* end confdefs.h. */
12205 /* Override any gcc2 internal prototype to avoid an error. */
12209 /* We use char because int might match the return type of a gcc2
12210 builtin and then its argument prototype would still apply. */
12220 rm -f conftest.
$ac_objext conftest
$ac_exeext
12221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12222 (eval $ac_link) 2>conftest.er1
12224 grep -v '^ *+' conftest.er1
>conftest.err
12226 cat conftest.err
>&5
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); } &&
12229 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12231 (eval $ac_try) 2>&5
12233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 (exit $ac_status); }; } &&
12235 { ac_try
='test -s conftest$ac_exeext'
12236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12237 (eval $ac_try) 2>&5
12239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12240 (exit $ac_status); }; }; then
12241 ac_cv_lib_dl_dlopen
=yes
12243 echo "$as_me: failed program was:" >&5
12244 sed 's/^/| /' conftest.
$ac_ext >&5
12246 ac_cv_lib_dl_dlopen
=no
12248 rm -f conftest.err conftest.
$ac_objext \
12249 conftest
$ac_exeext conftest.
$ac_ext
12250 LIBS
=$ac_check_lib_save_LIBS
12252 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12253 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12254 if test $ac_cv_lib_dl_dlopen = yes; then
12257 cat >>confdefs.h
<<\_ACEOF
12258 #define HAVE_DLOPEN 1
12264 # Some library-finding code we stole from Tcl.
12265 #--------------------------------------------------------------------
12266 # Check for the existence of the -lsocket and -lnsl libraries.
12267 # The order here is important, so that they end up in the right
12268 # order in the command line generated by make. Here are some
12269 # special considerations:
12270 # 1. Use "connect" and "accept" to check for -lsocket, and
12271 # "gethostbyname" to check for -lnsl.
12272 # 2. Use each function name only once: can't redo a check because
12273 # autoconf caches the results of the last check and won't redo it.
12274 # 3. Use -lnsl and -lsocket only if they supply procedures that
12275 # aren't already present in the normal libraries. This is because
12276 # IRIX 5.2 has libraries, but they aren't needed and they're
12277 # bogus: they goof up name resolution if used.
12278 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
12279 # To get around this problem, check for both libraries together
12280 # if -lsocket doesn't work by itself.
12281 #--------------------------------------------------------------------
12283 echo "$as_me:$LINENO: checking for socket libraries" >&5
12284 echo $ECHO_N "checking for socket libraries... $ECHO_C" >&6
12285 if test "${gcj_cv_lib_sockets+set}" = set; then
12286 echo $ECHO_N "(cached) $ECHO_C" >&6
12288 gcj_cv_lib_sockets
=
12290 unset ac_cv_func_connect
12291 echo "$as_me:$LINENO: checking for connect" >&5
12292 echo $ECHO_N "checking for connect... $ECHO_C" >&6
12293 if test "${ac_cv_func_connect+set}" = set; then
12294 echo $ECHO_N "(cached) $ECHO_C" >&6
12296 if test x
$gcc_no_link = xyes
; then
12297 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12299 { (exit 1); exit 1; }; }
12301 cat >conftest.
$ac_ext <<_ACEOF
12304 cat confdefs.h
>>conftest.
$ac_ext
12305 cat >>conftest.
$ac_ext <<_ACEOF
12306 /* end confdefs.h. */
12307 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
12308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12309 #define connect innocuous_connect
12311 /* System header to define __stub macros and hopefully few prototypes,
12312 which can conflict with char connect (); below.
12313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12314 <limits.h> exists even on freestanding compilers. */
12317 # include <limits.h>
12319 # include <assert.h>
12324 /* Override any gcc2 internal prototype to avoid an error. */
12329 /* We use char because int might match the return type of a gcc2
12330 builtin and then its argument prototype would still apply. */
12332 /* The GNU C library defines this for functions which it implements
12333 to always fail with ENOSYS. Some functions are actually named
12334 something starting with __ and the normal name is an alias. */
12335 #if defined (__stub_connect) || defined (__stub___connect)
12338 char (*f) () = connect;
12347 return f != connect;
12352 rm -f conftest.
$ac_objext conftest
$ac_exeext
12353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12354 (eval $ac_link) 2>conftest.er1
12356 grep -v '^ *+' conftest.er1
>conftest.err
12358 cat conftest.err
>&5
12359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12360 (exit $ac_status); } &&
12361 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12363 (eval $ac_try) 2>&5
12365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12366 (exit $ac_status); }; } &&
12367 { ac_try
='test -s conftest$ac_exeext'
12368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12369 (eval $ac_try) 2>&5
12371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12372 (exit $ac_status); }; }; then
12373 ac_cv_func_connect
=yes
12375 echo "$as_me: failed program was:" >&5
12376 sed 's/^/| /' conftest.
$ac_ext >&5
12378 ac_cv_func_connect
=no
12380 rm -f conftest.err conftest.
$ac_objext \
12381 conftest
$ac_exeext conftest.
$ac_ext
12383 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
12384 echo "${ECHO_T}$ac_cv_func_connect" >&6
12385 if test $ac_cv_func_connect = yes; then
12391 if test "$gcj_checkSocket" = 1; then
12392 unset ac_cv_func_connect
12393 echo "$as_me:$LINENO: checking for main in -lsocket" >&5
12394 echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
12395 if test "${ac_cv_lib_socket_main+set}" = set; then
12396 echo $ECHO_N "(cached) $ECHO_C" >&6
12398 ac_check_lib_save_LIBS
=$LIBS
12399 LIBS
="-lsocket $LIBS"
12400 if test x
$gcc_no_link = xyes
; then
12401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12403 { (exit 1); exit 1; }; }
12405 cat >conftest.
$ac_ext <<_ACEOF
12408 cat confdefs.h
>>conftest.
$ac_ext
12409 cat >>conftest.
$ac_ext <<_ACEOF
12410 /* end confdefs.h. */
12421 rm -f conftest.
$ac_objext conftest
$ac_exeext
12422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12423 (eval $ac_link) 2>conftest.er1
12425 grep -v '^ *+' conftest.er1
>conftest.err
12427 cat conftest.err
>&5
12428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12429 (exit $ac_status); } &&
12430 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12432 (eval $ac_try) 2>&5
12434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12435 (exit $ac_status); }; } &&
12436 { ac_try
='test -s conftest$ac_exeext'
12437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12438 (eval $ac_try) 2>&5
12440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12441 (exit $ac_status); }; }; then
12442 ac_cv_lib_socket_main
=yes
12444 echo "$as_me: failed program was:" >&5
12445 sed 's/^/| /' conftest.
$ac_ext >&5
12447 ac_cv_lib_socket_main
=no
12449 rm -f conftest.err conftest.
$ac_objext \
12450 conftest
$ac_exeext conftest.
$ac_ext
12451 LIBS
=$ac_check_lib_save_LIBS
12453 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
12454 echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
12455 if test $ac_cv_lib_socket_main = yes; then
12456 gcj_cv_lib_sockets
="-lsocket"
12462 if test "$gcj_checkBoth" = 1; then
12464 LIBS
="$LIBS -lsocket -lnsl"
12465 unset ac_cv_func_accept
12466 echo "$as_me:$LINENO: checking for accept" >&5
12467 echo $ECHO_N "checking for accept... $ECHO_C" >&6
12468 if test "${ac_cv_func_accept+set}" = set; then
12469 echo $ECHO_N "(cached) $ECHO_C" >&6
12471 if test x
$gcc_no_link = xyes
; then
12472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12474 { (exit 1); exit 1; }; }
12476 cat >conftest.
$ac_ext <<_ACEOF
12479 cat confdefs.h
>>conftest.
$ac_ext
12480 cat >>conftest.
$ac_ext <<_ACEOF
12481 /* end confdefs.h. */
12482 /* Define accept to an innocuous variant, in case <limits.h> declares accept.
12483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12484 #define accept innocuous_accept
12486 /* System header to define __stub macros and hopefully few prototypes,
12487 which can conflict with char accept (); below.
12488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12489 <limits.h> exists even on freestanding compilers. */
12492 # include <limits.h>
12494 # include <assert.h>
12499 /* Override any gcc2 internal prototype to avoid an error. */
12504 /* We use char because int might match the return type of a gcc2
12505 builtin and then its argument prototype would still apply. */
12507 /* The GNU C library defines this for functions which it implements
12508 to always fail with ENOSYS. Some functions are actually named
12509 something starting with __ and the normal name is an alias. */
12510 #if defined (__stub_accept) || defined (__stub___accept)
12513 char (*f) () = accept;
12522 return f != accept;
12527 rm -f conftest.
$ac_objext conftest
$ac_exeext
12528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12529 (eval $ac_link) 2>conftest.er1
12531 grep -v '^ *+' conftest.er1
>conftest.err
12533 cat conftest.err
>&5
12534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12535 (exit $ac_status); } &&
12536 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12538 (eval $ac_try) 2>&5
12540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12541 (exit $ac_status); }; } &&
12542 { ac_try
='test -s conftest$ac_exeext'
12543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12544 (eval $ac_try) 2>&5
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); }; }; then
12548 ac_cv_func_accept
=yes
12550 echo "$as_me: failed program was:" >&5
12551 sed 's/^/| /' conftest.
$ac_ext >&5
12553 ac_cv_func_accept
=no
12555 rm -f conftest.err conftest.
$ac_objext \
12556 conftest
$ac_exeext conftest.
$ac_ext
12558 echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5
12559 echo "${ECHO_T}$ac_cv_func_accept" >&6
12560 if test $ac_cv_func_accept = yes; then
12562 gcj_cv_lib_sockets
="-lsocket -lnsl"
12565 unset ac_cv_func_accept
12568 unset ac_cv_func_gethostbyname
12570 LIBS
="$LIBS $gcj_cv_lib_sockets"
12571 echo "$as_me:$LINENO: checking for gethostbyname" >&5
12572 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
12573 if test "${ac_cv_func_gethostbyname+set}" = set; then
12574 echo $ECHO_N "(cached) $ECHO_C" >&6
12576 if test x
$gcc_no_link = xyes
; then
12577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12579 { (exit 1); exit 1; }; }
12581 cat >conftest.
$ac_ext <<_ACEOF
12584 cat confdefs.h
>>conftest.
$ac_ext
12585 cat >>conftest.
$ac_ext <<_ACEOF
12586 /* end confdefs.h. */
12587 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
12588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12589 #define gethostbyname innocuous_gethostbyname
12591 /* System header to define __stub macros and hopefully few prototypes,
12592 which can conflict with char gethostbyname (); below.
12593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12594 <limits.h> exists even on freestanding compilers. */
12597 # include <limits.h>
12599 # include <assert.h>
12602 #undef gethostbyname
12604 /* Override any gcc2 internal prototype to avoid an error. */
12609 /* We use char because int might match the return type of a gcc2
12610 builtin and then its argument prototype would still apply. */
12611 char gethostbyname ();
12612 /* The GNU C library defines this for functions which it implements
12613 to always fail with ENOSYS. Some functions are actually named
12614 something starting with __ and the normal name is an alias. */
12615 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
12618 char (*f) () = gethostbyname;
12627 return f != gethostbyname;
12632 rm -f conftest.
$ac_objext conftest
$ac_exeext
12633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12634 (eval $ac_link) 2>conftest.er1
12636 grep -v '^ *+' conftest.er1
>conftest.err
12638 cat conftest.err
>&5
12639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12640 (exit $ac_status); } &&
12641 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12643 (eval $ac_try) 2>&5
12645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12646 (exit $ac_status); }; } &&
12647 { ac_try
='test -s conftest$ac_exeext'
12648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12649 (eval $ac_try) 2>&5
12651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12652 (exit $ac_status); }; }; then
12653 ac_cv_func_gethostbyname
=yes
12655 echo "$as_me: failed program was:" >&5
12656 sed 's/^/| /' conftest.
$ac_ext >&5
12658 ac_cv_func_gethostbyname
=no
12660 rm -f conftest.err conftest.
$ac_objext \
12661 conftest
$ac_exeext conftest.
$ac_ext
12663 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
12664 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
12665 if test $ac_cv_func_gethostbyname = yes; then
12668 echo "$as_me:$LINENO: checking for main in -lnsl" >&5
12669 echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
12670 if test "${ac_cv_lib_nsl_main+set}" = set; then
12671 echo $ECHO_N "(cached) $ECHO_C" >&6
12673 ac_check_lib_save_LIBS
=$LIBS
12675 if test x
$gcc_no_link = xyes
; then
12676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12678 { (exit 1); exit 1; }; }
12680 cat >conftest.
$ac_ext <<_ACEOF
12683 cat confdefs.h
>>conftest.
$ac_ext
12684 cat >>conftest.
$ac_ext <<_ACEOF
12685 /* end confdefs.h. */
12696 rm -f conftest.
$ac_objext conftest
$ac_exeext
12697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12698 (eval $ac_link) 2>conftest.er1
12700 grep -v '^ *+' conftest.er1
>conftest.err
12702 cat conftest.err
>&5
12703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12704 (exit $ac_status); } &&
12705 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12707 (eval $ac_try) 2>&5
12709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12710 (exit $ac_status); }; } &&
12711 { ac_try
='test -s conftest$ac_exeext'
12712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12713 (eval $ac_try) 2>&5
12715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12716 (exit $ac_status); }; }; then
12717 ac_cv_lib_nsl_main
=yes
12719 echo "$as_me: failed program was:" >&5
12720 sed 's/^/| /' conftest.
$ac_ext >&5
12722 ac_cv_lib_nsl_main
=no
12724 rm -f conftest.err conftest.
$ac_objext \
12725 conftest
$ac_exeext conftest.
$ac_ext
12726 LIBS
=$ac_check_lib_save_LIBS
12728 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
12729 echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
12730 if test $ac_cv_lib_nsl_main = yes; then
12731 gcj_cv_lib_sockets
="$gcj_cv_lib_sockets -lnsl"
12736 unset ac_cv_func_gethostbyname
12740 echo "$as_me:$LINENO: result: $gcj_cv_lib_sockets" >&5
12741 echo "${ECHO_T}$gcj_cv_lib_sockets" >&6
12742 SYSTEMSPEC
="$SYSTEMSPEC $gcj_cv_lib_sockets"
12744 if test "$with_system_zlib" = yes; then
12745 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
12746 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
12747 if test "${ac_cv_lib_z_deflate+set}" = set; then
12748 echo $ECHO_N "(cached) $ECHO_C" >&6
12750 ac_check_lib_save_LIBS
=$LIBS
12752 if test x
$gcc_no_link = xyes
; then
12753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12755 { (exit 1); exit 1; }; }
12757 cat >conftest.
$ac_ext <<_ACEOF
12760 cat confdefs.h
>>conftest.
$ac_ext
12761 cat >>conftest.
$ac_ext <<_ACEOF
12762 /* end confdefs.h. */
12764 /* Override any gcc2 internal prototype to avoid an error. */
12768 /* We use char because int might match the return type of a gcc2
12769 builtin and then its argument prototype would still apply. */
12779 rm -f conftest.
$ac_objext conftest
$ac_exeext
12780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12781 (eval $ac_link) 2>conftest.er1
12783 grep -v '^ *+' conftest.er1
>conftest.err
12785 cat conftest.err
>&5
12786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12787 (exit $ac_status); } &&
12788 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12790 (eval $ac_try) 2>&5
12792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12793 (exit $ac_status); }; } &&
12794 { ac_try
='test -s conftest$ac_exeext'
12795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12796 (eval $ac_try) 2>&5
12798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12799 (exit $ac_status); }; }; then
12800 ac_cv_lib_z_deflate
=yes
12802 echo "$as_me: failed program was:" >&5
12803 sed 's/^/| /' conftest.
$ac_ext >&5
12805 ac_cv_lib_z_deflate
=no
12807 rm -f conftest.err conftest.
$ac_objext \
12808 conftest
$ac_exeext conftest.
$ac_ext
12809 LIBS
=$ac_check_lib_save_LIBS
12811 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
12812 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
12813 if test $ac_cv_lib_z_deflate = yes; then
12821 # Test for Gtk stuff, if asked for.
12822 if test "$use_gtk_awt" = yes; then
12826 if test -z "$PKG_CONFIG"; then
12827 # Extract the first word of "pkg-config", so it can be a program name with args.
12828 set dummy pkg-config
; ac_word
=$2
12829 echo "$as_me:$LINENO: checking for $ac_word" >&5
12830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12831 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12832 echo $ECHO_N "(cached) $ECHO_C" >&6
12834 case $PKG_CONFIG in
12836 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12840 for as_dir
in $PATH
12843 test -z "$as_dir" && as_dir
=.
12844 for ac_exec_ext
in '' $ac_executable_extensions; do
12845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12846 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12853 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12857 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12859 if test -n "$PKG_CONFIG"; then
12860 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12861 echo "${ECHO_T}$PKG_CONFIG" >&6
12863 echo "$as_me:$LINENO: result: no" >&5
12864 echo "${ECHO_T}no" >&6
12869 if test "$PKG_CONFIG" = "no" ; then
12870 echo "*** The pkg-config script could not be found. Make sure it is"
12871 echo "*** in your path, or set the PKG_CONFIG environment variable"
12872 echo "*** to the full path to pkg-config."
12873 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12875 PKG_CONFIG_MIN_VERSION
=0.9.0
12876 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12877 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4" >&5
12878 echo $ECHO_N "checking for gtk+-2.0 >= 2.4... $ECHO_C" >&6
12880 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4" ; then
12881 echo "$as_me:$LINENO: result: yes" >&5
12882 echo "${ECHO_T}yes" >&6
12885 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
12886 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
12887 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4"`
12888 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
12889 echo "${ECHO_T}$GTK_CFLAGS" >&6
12891 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
12892 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
12893 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4"`
12894 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
12895 echo "${ECHO_T}$GTK_LIBS" >&6
12899 ## If we have a custom action on failure, don't print errors, but
12900 ## do set a variable so people can do so.
12901 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4"`
12902 echo $GTK_PKG_ERRORS
12908 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12909 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12913 if test $succeeded = yes; then
12916 { { 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
12917 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;}
12918 { (exit 1); exit 1; }; }
12927 if test -z "$PKG_CONFIG"; then
12928 # Extract the first word of "pkg-config", so it can be a program name with args.
12929 set dummy pkg-config
; ac_word
=$2
12930 echo "$as_me:$LINENO: checking for $ac_word" >&5
12931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12932 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12933 echo $ECHO_N "(cached) $ECHO_C" >&6
12935 case $PKG_CONFIG in
12937 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12941 for as_dir
in $PATH
12944 test -z "$as_dir" && as_dir
=.
12945 for ac_exec_ext
in '' $ac_executable_extensions; do
12946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12947 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12954 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12958 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12960 if test -n "$PKG_CONFIG"; then
12961 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12962 echo "${ECHO_T}$PKG_CONFIG" >&6
12964 echo "$as_me:$LINENO: result: no" >&5
12965 echo "${ECHO_T}no" >&6
12970 if test "$PKG_CONFIG" = "no" ; then
12971 echo "*** The pkg-config script could not be found. Make sure it is"
12972 echo "*** in your path, or set the PKG_CONFIG environment variable"
12973 echo "*** to the full path to pkg-config."
12974 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12976 PKG_CONFIG_MIN_VERSION
=0.9.0
12977 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12978 echo "$as_me:$LINENO: checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4" >&5
12979 echo $ECHO_N "checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... $ECHO_C" >&6
12981 if $PKG_CONFIG --exists "glib-2.0 >= 2.4 gthread-2.0 >= 2.4" ; then
12982 echo "$as_me:$LINENO: result: yes" >&5
12983 echo "${ECHO_T}yes" >&6
12986 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
12987 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
12988 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
12989 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
12990 echo "${ECHO_T}$GLIB_CFLAGS" >&6
12992 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
12993 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
12994 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
12995 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
12996 echo "${ECHO_T}$GLIB_LIBS" >&6
13000 ## If we have a custom action on failure, don't print errors, but
13001 ## do set a variable so people can do so.
13002 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
13003 echo $GLIB_PKG_ERRORS
13009 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13010 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13014 if test $succeeded = yes; then
13017 { { 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
13018 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;}
13019 { (exit 1); exit 1; }; }
13028 if test -z "$PKG_CONFIG"; then
13029 # Extract the first word of "pkg-config", so it can be a program name with args.
13030 set dummy pkg-config
; ac_word
=$2
13031 echo "$as_me:$LINENO: checking for $ac_word" >&5
13032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13033 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13034 echo $ECHO_N "(cached) $ECHO_C" >&6
13036 case $PKG_CONFIG in
13038 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13042 for as_dir
in $PATH
13045 test -z "$as_dir" && as_dir
=.
13046 for ac_exec_ext
in '' $ac_executable_extensions; do
13047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13048 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13055 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13059 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13061 if test -n "$PKG_CONFIG"; then
13062 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13063 echo "${ECHO_T}$PKG_CONFIG" >&6
13065 echo "$as_me:$LINENO: result: no" >&5
13066 echo "${ECHO_T}no" >&6
13071 if test "$PKG_CONFIG" = "no" ; then
13072 echo "*** The pkg-config script could not be found. Make sure it is"
13073 echo "*** in your path, or set the PKG_CONFIG environment variable"
13074 echo "*** to the full path to pkg-config."
13075 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13077 PKG_CONFIG_MIN_VERSION
=0.9.0
13078 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13079 echo "$as_me:$LINENO: checking for libart-2.0 >= 2.1" >&5
13080 echo $ECHO_N "checking for libart-2.0 >= 2.1... $ECHO_C" >&6
13082 if $PKG_CONFIG --exists "libart-2.0 >= 2.1" ; then
13083 echo "$as_me:$LINENO: result: yes" >&5
13084 echo "${ECHO_T}yes" >&6
13087 echo "$as_me:$LINENO: checking LIBART_CFLAGS" >&5
13088 echo $ECHO_N "checking LIBART_CFLAGS... $ECHO_C" >&6
13089 LIBART_CFLAGS
=`$PKG_CONFIG --cflags "libart-2.0 >= 2.1"`
13090 echo "$as_me:$LINENO: result: $LIBART_CFLAGS" >&5
13091 echo "${ECHO_T}$LIBART_CFLAGS" >&6
13093 echo "$as_me:$LINENO: checking LIBART_LIBS" >&5
13094 echo $ECHO_N "checking LIBART_LIBS... $ECHO_C" >&6
13095 LIBART_LIBS
=`$PKG_CONFIG --libs "libart-2.0 >= 2.1"`
13096 echo "$as_me:$LINENO: result: $LIBART_LIBS" >&5
13097 echo "${ECHO_T}$LIBART_LIBS" >&6
13101 ## If we have a custom action on failure, don't print errors, but
13102 ## do set a variable so people can do so.
13103 LIBART_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libart-2.0 >= 2.1"`
13104 echo $LIBART_PKG_ERRORS
13110 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13111 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13115 if test $succeeded = yes; then
13118 { { 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
13119 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;}
13120 { (exit 1); exit 1; }; }
13127 # On Solaris, and maybe other architectures, the Boehm collector
13129 if test "$GC" = boehm
; then
13130 echo "$as_me:$LINENO: checking for main in -ldl" >&5
13131 echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6
13132 if test "${ac_cv_lib_dl_main+set}" = set; then
13133 echo $ECHO_N "(cached) $ECHO_C" >&6
13135 ac_check_lib_save_LIBS
=$LIBS
13137 if test x
$gcc_no_link = xyes
; then
13138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13140 { (exit 1); exit 1; }; }
13142 cat >conftest.
$ac_ext <<_ACEOF
13145 cat confdefs.h
>>conftest.
$ac_ext
13146 cat >>conftest.
$ac_ext <<_ACEOF
13147 /* end confdefs.h. */
13158 rm -f conftest.
$ac_objext conftest
$ac_exeext
13159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13160 (eval $ac_link) 2>conftest.er1
13162 grep -v '^ *+' conftest.er1
>conftest.err
13164 cat conftest.err
>&5
13165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13166 (exit $ac_status); } &&
13167 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13169 (eval $ac_try) 2>&5
13171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13172 (exit $ac_status); }; } &&
13173 { ac_try
='test -s conftest$ac_exeext'
13174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13175 (eval $ac_try) 2>&5
13177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13178 (exit $ac_status); }; }; then
13179 ac_cv_lib_dl_main
=yes
13181 echo "$as_me: failed program was:" >&5
13182 sed 's/^/| /' conftest.
$ac_ext >&5
13184 ac_cv_lib_dl_main
=no
13186 rm -f conftest.err conftest.
$ac_objext \
13187 conftest
$ac_exeext conftest.
$ac_ext
13188 LIBS
=$ac_check_lib_save_LIBS
13190 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5
13191 echo "${ECHO_T}$ac_cv_lib_dl_main" >&6
13192 if test $ac_cv_lib_dl_main = yes; then
13193 SYSTEMSPEC
="$SYSTEMSPEC -ldl"
13200 if test "$supply_backtrace" = yes; then
13201 SUPPLY_BACKTRACE_TRUE
=
13202 SUPPLY_BACKTRACE_FALSE
='#'
13204 SUPPLY_BACKTRACE_TRUE
='#'
13205 SUPPLY_BACKTRACE_FALSE
=
13209 if test -z "${with_multisubdir}"; then
13212 builddotdot
=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`
13217 # Which gcj do we use?
13219 built_gcc_dir
="`cd ${builddotdot}/../../gcc && ${PWDCMD-pwd}`"
13220 if test -n "${with_cross_host}"; then
13221 # We are being configured with a cross compiler. We can't
13222 # use ac_exeext, because that is for the target platform.
13225 case "${with_cross_host}" in
13226 *mingw
* |
*cygwin
*)
13227 cross_host_exeext
=.exe
13230 if test -x "${built_gcc_dir}/gcj${cross_host_exeext}"; then
13231 if test x
"$build_noncanonical" = x
"$with_cross_host"; then
13232 # Ordinary cross (host!=target and host=build)
13235 # Canadian cross (host!=target and host!=build)
13242 # We are being configured with a native or crossed-native compiler
13243 if test -x "${built_gcc_dir}/gcj${ac_exeext}"; then
13244 if test x
"$build" = x
"$host"; then
13245 # True native build (host=target and host=build)
13248 # Crossed-native build (host=target and host!=build)
13255 case "${which_gcj}" in
13257 GCJ
="$built_gcc_dir/gcj -B`${PWDCMD-pwd}`/ -B$built_gcc_dir/"
13258 GCJH
='$(MULTIBUILDTOP)../$(COMPPATH)/gcc/gcjh'
13259 ZIP
='$(MULTIBUILDTOP)../$(COMPPATH)/fastjar/fastjar'
13262 if test "x${with_newlib}" = "xyes"; then
13263 # FIXME (comment): Why is this needed?
13264 GCC_UNWIND_INCLUDE
=
13265 GCJ
="${target_noncanonical}-gcj"
13267 GCJ
="${target_noncanonical}-gcj -B`${PWDCMD-pwd}`/"
13270 GCJH
='$(target_noncanonical)-gcjh'
13273 GCJ
="gcj -B`${PWDCMD-pwd}`/"
13274 ## In this case, gcj is found outside the build tree. However, zip is
13275 ## found in the build tree.
13276 ZIP
='$(MULTIBUILDTOP)../$(COMPPATH)/fastjar/fastjar'
13284 # Create it, so that compile/link tests don't fail
13285 test -f libgcj.spec ||
touch libgcj.spec
13287 # We must search the source tree for java.lang, since we still don't
13288 # have libgcj.jar nor java/lang/*.class
13289 GCJ_SAVE_CPPFLAGS
=$CPPFLAGS
13290 CPPFLAGS
="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`"
13292 # Since some classes depend on this one, we need its source available
13293 # before we can do any GCJ compilation test :-(
13294 if test ! -f gnu
/classpath
/Configuration.java
; then
13295 test -d gnu || mkdir gnu
13296 test -d gnu
/classpath || mkdir gnu
/classpath
13297 sed -e 's,@LIBGCJDEBUG@,$LIBGCJDEBUG,' \
13298 -e 's,@TOOLKIT@,$TOOLKIT,' \
13299 < $srcdir/gnu
/classpath
/Configuration.java.
in \
13300 > gnu
/classpath
/Configuration.java
13301 # We do not want to redirect the output of the grep below to /dev/null,
13302 # but we add /dev/null to the input list so that grep will print the
13303 # filename of Configuration.java in case it finds any matches.
13304 if grep @ gnu
/classpath
/Configuration.java
/dev
/null
; then
13305 { { echo "$as_me:$LINENO: error: configure.ac is missing the substitutions above" >&5
13306 echo "$as_me: error: configure.ac is missing the substitutions above" >&2;}
13307 { (exit 1); exit 1; }; }
13311 if test -n "$ac_tool_prefix"; then
13312 # Extract the first word of "${ac_tool_prefix}gcj", so it can be a program name with args.
13313 set dummy
${ac_tool_prefix}gcj
; ac_word
=$2
13314 echo "$as_me:$LINENO: checking for $ac_word" >&5
13315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13316 if test "${ac_cv_prog_GCJ+set}" = set; then
13317 echo $ECHO_N "(cached) $ECHO_C" >&6
13319 if test -n "$GCJ"; then
13320 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
13322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13323 for as_dir
in $PATH
13326 test -z "$as_dir" && as_dir
=.
13327 for ac_exec_ext
in '' $ac_executable_extensions; do
13328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13329 ac_cv_prog_GCJ
="${ac_tool_prefix}gcj"
13330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13338 GCJ
=$ac_cv_prog_GCJ
13339 if test -n "$GCJ"; then
13340 echo "$as_me:$LINENO: result: $GCJ" >&5
13341 echo "${ECHO_T}$GCJ" >&6
13343 echo "$as_me:$LINENO: result: no" >&5
13344 echo "${ECHO_T}no" >&6
13348 if test -z "$ac_cv_prog_GCJ"; then
13350 # Extract the first word of "gcj", so it can be a program name with args.
13351 set dummy gcj
; ac_word
=$2
13352 echo "$as_me:$LINENO: checking for $ac_word" >&5
13353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13354 if test "${ac_cv_prog_ac_ct_GCJ+set}" = set; then
13355 echo $ECHO_N "(cached) $ECHO_C" >&6
13357 if test -n "$ac_ct_GCJ"; then
13358 ac_cv_prog_ac_ct_GCJ
="$ac_ct_GCJ" # Let the user override the test.
13360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13361 for as_dir
in $PATH
13364 test -z "$as_dir" && as_dir
=.
13365 for ac_exec_ext
in '' $ac_executable_extensions; do
13366 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13367 ac_cv_prog_ac_ct_GCJ
="gcj"
13368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13374 test -z "$ac_cv_prog_ac_ct_GCJ" && ac_cv_prog_ac_ct_GCJ
="no"
13377 ac_ct_GCJ
=$ac_cv_prog_ac_ct_GCJ
13378 if test -n "$ac_ct_GCJ"; then
13379 echo "$as_me:$LINENO: result: $ac_ct_GCJ" >&5
13380 echo "${ECHO_T}$ac_ct_GCJ" >&6
13382 echo "$as_me:$LINENO: result: no" >&5
13383 echo "${ECHO_T}no" >&6
13388 GCJ
="$ac_cv_prog_GCJ"
13391 test "x${GCJFLAGS+set}" = xset || GCJFLAGS
="-g -O2"
13396 CPPFLAGS
=$GCJ_SAVE_CPPFLAGS
13398 echo "$as_me:$LINENO: checking size of void *" >&5
13399 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
13400 if test "${ac_cv_sizeof_void_p+set}" = set; then
13401 echo $ECHO_N "(cached) $ECHO_C" >&6
13403 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
13404 cat >conftest.
$ac_ext <<_ACEOF
13407 cat confdefs.h
>>conftest.
$ac_ext
13408 cat >>conftest.
$ac_ext <<_ACEOF
13409 /* end confdefs.h. */
13410 #include "confdefs.h"
13411 #include <sys/types.h>
13417 switch (0) case 0: case (sizeof (void *) == $ac_size):;
13422 rm -f conftest.
$ac_objext
13423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13424 (eval $ac_compile) 2>conftest.er1
13426 grep -v '^ *+' conftest.er1
>conftest.err
13428 cat conftest.err
>&5
13429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13430 (exit $ac_status); } &&
13431 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13433 (eval $ac_try) 2>&5
13435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13436 (exit $ac_status); }; } &&
13437 { ac_try
='test -s conftest.$ac_objext'
13438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13439 (eval $ac_try) 2>&5
13441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13442 (exit $ac_status); }; }; then
13443 ac_cv_sizeof_void_p
=$ac_size
13445 echo "$as_me: failed program was:" >&5
13446 sed 's/^/| /' conftest.
$ac_ext >&5
13449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13450 if test x
$ac_cv_sizeof_void_p != x
; then break; fi
13455 if test x
$ac_cv_sizeof_void_p = x
; then
13456 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
13457 echo "$as_me: error: cannot determine a size for void *" >&2;}
13458 { (exit 1); exit 1; }; }
13460 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
13461 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
13463 cat >>confdefs.h
<<_ACEOF
13464 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13473 if test -z "$ZLIBSPEC"; then
13474 # Use zlib from the GCC tree.
13475 ZINCS
='-I$(top_srcdir)/../zlib'
13476 ZLIBS
=..
/zlib
/libzgcj_convenience.la
13479 SYS_ZLIBS
="$ZLIBSPEC"
13491 if test "$NATIVE" = yes; then
13501 if test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes; then
13502 NEEDS_DATA_START_TRUE
=
13503 NEEDS_DATA_START_FALSE
='#'
13505 NEEDS_DATA_START_TRUE
='#'
13506 NEEDS_DATA_START_FALSE
=
13511 # Process the option "--enable-version-specific-runtime-libs"
13512 # Calculate toolexeclibdir
13513 case ${version_specific_libs} in
13515 # Need the gcc compiler version to know where to install libraries
13516 # and header files if --enable-version-specific-runtime-libs option
13518 includedir
='${libdir}/gcc/${target_noncanonical}/'$gcc_version/include
/
13519 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
13520 toolexecmainlibdir
='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
13521 toolexeclibdir
=$toolexecmainlibdir
13524 if test -n "$with_cross_host" &&
13525 test x
"$with_cross_host" != x
"no"; then
13526 # Install a library built with a cross compiler in tooldir, not libdir.
13527 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
13528 toolexecmainlibdir
='$(toolexecdir)/lib'
13530 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
13531 toolexecmainlibdir
='$(libdir)'
13533 multi_os_directory
=`$CC -print-multi-os-directory`
13534 case $multi_os_directory in
13535 .
) toolexeclibdir
=$toolexecmainlibdir ;; # Avoid trailing /.
13536 *) toolexeclibdir
=$toolexecmainlibdir/$multi_os_directory ;;
13544 # Determine gcj version number.
13545 gcjversion
=`$GCJ -v 2>&1 | sed -n 's/^.*version \([^ ]*\).*$/\1/p'`
13546 GCJVERSION
=$gcjversion
13549 cat >>confdefs.h
<<_ACEOF
13550 #define GCJVERSION "$GCJVERSION"
13554 # We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
13555 # On that system, sys/ioctl.h will not include sys/filio.h unless
13556 # BSD_COMP is defined; just including sys/filio.h is simpler.
13576 for ac_header
in unistd.h bstring.h sys
/time.h sys
/types.h fcntl.h sys
/ioctl.h sys
/filio.h sys
/stat.h sys
/select.h sys
/socket.h netinet
/in.h arpa
/inet.h netdb.h net
/if.h
pwd.h sys
/config.h stdint.h langinfo.h locale.h
13578 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13580 echo "$as_me:$LINENO: checking for $ac_header" >&5
13581 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13582 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13583 echo $ECHO_N "(cached) $ECHO_C" >&6
13585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13586 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13588 # Is the header compilable?
13589 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13590 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13591 cat >conftest.
$ac_ext <<_ACEOF
13594 cat confdefs.h
>>conftest.
$ac_ext
13595 cat >>conftest.
$ac_ext <<_ACEOF
13596 /* end confdefs.h. */
13597 $ac_includes_default
13598 #include <$ac_header>
13600 rm -f conftest.
$ac_objext
13601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13602 (eval $ac_compile) 2>conftest.er1
13604 grep -v '^ *+' conftest.er1
>conftest.err
13606 cat conftest.err
>&5
13607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13608 (exit $ac_status); } &&
13609 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13611 (eval $ac_try) 2>&5
13613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13614 (exit $ac_status); }; } &&
13615 { ac_try
='test -s conftest.$ac_objext'
13616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13617 (eval $ac_try) 2>&5
13619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13620 (exit $ac_status); }; }; then
13621 ac_header_compiler
=yes
13623 echo "$as_me: failed program was:" >&5
13624 sed 's/^/| /' conftest.
$ac_ext >&5
13626 ac_header_compiler
=no
13628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13629 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13630 echo "${ECHO_T}$ac_header_compiler" >&6
13632 # Is the header present?
13633 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13634 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13635 cat >conftest.
$ac_ext <<_ACEOF
13638 cat confdefs.h
>>conftest.
$ac_ext
13639 cat >>conftest.
$ac_ext <<_ACEOF
13640 /* end confdefs.h. */
13641 #include <$ac_header>
13643 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13644 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13646 grep -v '^ *+' conftest.er1
>conftest.err
13648 cat conftest.err
>&5
13649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13650 (exit $ac_status); } >/dev
/null
; then
13651 if test -s conftest.err
; then
13652 ac_cpp_err
=$ac_c_preproc_warn_flag
13653 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13660 if test -z "$ac_cpp_err"; then
13661 ac_header_preproc
=yes
13663 echo "$as_me: failed program was:" >&5
13664 sed 's/^/| /' conftest.
$ac_ext >&5
13666 ac_header_preproc
=no
13668 rm -f conftest.err conftest.
$ac_ext
13669 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13670 echo "${ECHO_T}$ac_header_preproc" >&6
13672 # So? What about this header?
13673 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13675 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13676 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13677 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13678 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13679 ac_header_preproc
=yes
13682 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13683 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13684 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13685 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13686 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13687 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13688 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13689 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13690 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13691 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13692 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13693 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13696 ## ---------------------------------- ##
13697 ## Report this to the libjava lists. ##
13698 ## ---------------------------------- ##
13701 sed "s/^/$as_me: WARNING: /" >&2
13704 echo "$as_me:$LINENO: checking for $ac_header" >&5
13705 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13706 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13707 echo $ECHO_N "(cached) $ECHO_C" >&6
13709 eval "$as_ac_Header=\$ac_header_preproc"
13711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13712 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13715 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13716 cat >>confdefs.h
<<_ACEOF
13717 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13724 # We avoid AC_HEADER_DIRENT since we really only care about dirent.h
13725 # for now. If you change this, you also must update natFile.cc.
13727 for ac_header
in dirent.h
13729 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13731 echo "$as_me:$LINENO: checking for $ac_header" >&5
13732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13734 echo $ECHO_N "(cached) $ECHO_C" >&6
13736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13737 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13739 # Is the header compilable?
13740 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13741 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13742 cat >conftest.
$ac_ext <<_ACEOF
13745 cat confdefs.h
>>conftest.
$ac_ext
13746 cat >>conftest.
$ac_ext <<_ACEOF
13747 /* end confdefs.h. */
13748 $ac_includes_default
13749 #include <$ac_header>
13751 rm -f conftest.
$ac_objext
13752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13753 (eval $ac_compile) 2>conftest.er1
13755 grep -v '^ *+' conftest.er1
>conftest.err
13757 cat conftest.err
>&5
13758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13759 (exit $ac_status); } &&
13760 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13762 (eval $ac_try) 2>&5
13764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13765 (exit $ac_status); }; } &&
13766 { ac_try
='test -s conftest.$ac_objext'
13767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13768 (eval $ac_try) 2>&5
13770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13771 (exit $ac_status); }; }; then
13772 ac_header_compiler
=yes
13774 echo "$as_me: failed program was:" >&5
13775 sed 's/^/| /' conftest.
$ac_ext >&5
13777 ac_header_compiler
=no
13779 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13780 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13781 echo "${ECHO_T}$ac_header_compiler" >&6
13783 # Is the header present?
13784 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13785 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13786 cat >conftest.
$ac_ext <<_ACEOF
13789 cat confdefs.h
>>conftest.
$ac_ext
13790 cat >>conftest.
$ac_ext <<_ACEOF
13791 /* end confdefs.h. */
13792 #include <$ac_header>
13794 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13795 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13797 grep -v '^ *+' conftest.er1
>conftest.err
13799 cat conftest.err
>&5
13800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13801 (exit $ac_status); } >/dev
/null
; then
13802 if test -s conftest.err
; then
13803 ac_cpp_err
=$ac_c_preproc_warn_flag
13804 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13811 if test -z "$ac_cpp_err"; then
13812 ac_header_preproc
=yes
13814 echo "$as_me: failed program was:" >&5
13815 sed 's/^/| /' conftest.
$ac_ext >&5
13817 ac_header_preproc
=no
13819 rm -f conftest.err conftest.
$ac_ext
13820 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13821 echo "${ECHO_T}$ac_header_preproc" >&6
13823 # So? What about this header?
13824 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13826 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13827 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13828 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13829 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13830 ac_header_preproc
=yes
13833 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13834 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13835 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13836 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13837 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13838 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13839 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13840 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13841 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13842 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13843 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13844 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13847 ## ---------------------------------- ##
13848 ## Report this to the libjava lists. ##
13849 ## ---------------------------------- ##
13852 sed "s/^/$as_me: WARNING: /" >&2
13855 echo "$as_me:$LINENO: checking for $ac_header" >&5
13856 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13857 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13858 echo $ECHO_N "(cached) $ECHO_C" >&6
13860 eval "$as_ac_Header=\$ac_header_preproc"
13862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13863 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13866 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13867 cat >>confdefs.h
<<_ACEOF
13868 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13876 for ac_header
in inttypes.h
13878 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13880 echo "$as_me:$LINENO: checking for $ac_header" >&5
13881 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13883 echo $ECHO_N "(cached) $ECHO_C" >&6
13885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13886 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13888 # Is the header compilable?
13889 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13890 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13891 cat >conftest.
$ac_ext <<_ACEOF
13894 cat confdefs.h
>>conftest.
$ac_ext
13895 cat >>conftest.
$ac_ext <<_ACEOF
13896 /* end confdefs.h. */
13897 $ac_includes_default
13898 #include <$ac_header>
13900 rm -f conftest.
$ac_objext
13901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13902 (eval $ac_compile) 2>conftest.er1
13904 grep -v '^ *+' conftest.er1
>conftest.err
13906 cat conftest.err
>&5
13907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13908 (exit $ac_status); } &&
13909 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13911 (eval $ac_try) 2>&5
13913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13914 (exit $ac_status); }; } &&
13915 { ac_try
='test -s conftest.$ac_objext'
13916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13917 (eval $ac_try) 2>&5
13919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13920 (exit $ac_status); }; }; then
13921 ac_header_compiler
=yes
13923 echo "$as_me: failed program was:" >&5
13924 sed 's/^/| /' conftest.
$ac_ext >&5
13926 ac_header_compiler
=no
13928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13929 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13930 echo "${ECHO_T}$ac_header_compiler" >&6
13932 # Is the header present?
13933 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13934 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13935 cat >conftest.
$ac_ext <<_ACEOF
13938 cat confdefs.h
>>conftest.
$ac_ext
13939 cat >>conftest.
$ac_ext <<_ACEOF
13940 /* end confdefs.h. */
13941 #include <$ac_header>
13943 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13944 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13946 grep -v '^ *+' conftest.er1
>conftest.err
13948 cat conftest.err
>&5
13949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13950 (exit $ac_status); } >/dev
/null
; then
13951 if test -s conftest.err
; then
13952 ac_cpp_err
=$ac_c_preproc_warn_flag
13953 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13960 if test -z "$ac_cpp_err"; then
13961 ac_header_preproc
=yes
13963 echo "$as_me: failed program was:" >&5
13964 sed 's/^/| /' conftest.
$ac_ext >&5
13966 ac_header_preproc
=no
13968 rm -f conftest.err conftest.
$ac_ext
13969 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13970 echo "${ECHO_T}$ac_header_preproc" >&6
13972 # So? What about this header?
13973 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13975 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13976 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13977 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13978 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13979 ac_header_preproc
=yes
13982 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13983 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13984 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13985 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13986 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13987 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13988 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13989 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13990 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13991 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13992 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13993 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13996 ## ---------------------------------- ##
13997 ## Report this to the libjava lists. ##
13998 ## ---------------------------------- ##
14001 sed "s/^/$as_me: WARNING: /" >&2
14004 echo "$as_me:$LINENO: checking for $ac_header" >&5
14005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14006 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14007 echo $ECHO_N "(cached) $ECHO_C" >&6
14009 eval "$as_ac_Header=\$ac_header_preproc"
14011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14012 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14015 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14016 cat >>confdefs.h
<<_ACEOF
14017 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14021 cat >>confdefs.h
<<\_ACEOF
14022 #define HAVE_INTTYPES_H 1
14026 cat >>confdefs.h
<<\_ACEOF
14027 #define JV_HAVE_INTTYPES_H 1
14035 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
14036 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
14037 if test "${ac_cv_header_sys_wait_h+set}" = set; then
14038 echo $ECHO_N "(cached) $ECHO_C" >&6
14040 cat >conftest.
$ac_ext <<_ACEOF
14043 cat confdefs.h
>>conftest.
$ac_ext
14044 cat >>conftest.
$ac_ext <<_ACEOF
14045 /* end confdefs.h. */
14046 #include <sys/types.h>
14047 #include <sys/wait.h>
14048 #ifndef WEXITSTATUS
14049 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
14052 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
14060 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
14065 rm -f conftest.
$ac_objext
14066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14067 (eval $ac_compile) 2>conftest.er1
14069 grep -v '^ *+' conftest.er1
>conftest.err
14071 cat conftest.err
>&5
14072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14073 (exit $ac_status); } &&
14074 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14076 (eval $ac_try) 2>&5
14078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14079 (exit $ac_status); }; } &&
14080 { ac_try
='test -s conftest.$ac_objext'
14081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14082 (eval $ac_try) 2>&5
14084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14085 (exit $ac_status); }; }; then
14086 ac_cv_header_sys_wait_h
=yes
14088 echo "$as_me: failed program was:" >&5
14089 sed 's/^/| /' conftest.
$ac_ext >&5
14091 ac_cv_header_sys_wait_h
=no
14093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14095 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
14096 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
14097 if test $ac_cv_header_sys_wait_h = yes; then
14099 cat >>confdefs.h
<<\_ACEOF
14100 #define HAVE_SYS_WAIT_H 1
14106 echo "$as_me:$LINENO: checking for ssize_t" >&5
14107 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
14108 if test "${ac_cv_type_ssize_t+set}" = set; then
14109 echo $ECHO_N "(cached) $ECHO_C" >&6
14111 cat >conftest.
$ac_ext <<_ACEOF
14114 cat confdefs.h
>>conftest.
$ac_ext
14115 cat >>conftest.
$ac_ext <<_ACEOF
14116 /* end confdefs.h. */
14117 $ac_includes_default
14123 if (sizeof (ssize_t))
14129 rm -f conftest.
$ac_objext
14130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14131 (eval $ac_compile) 2>conftest.er1
14133 grep -v '^ *+' conftest.er1
>conftest.err
14135 cat conftest.err
>&5
14136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14137 (exit $ac_status); } &&
14138 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14140 (eval $ac_try) 2>&5
14142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14143 (exit $ac_status); }; } &&
14144 { ac_try
='test -s conftest.$ac_objext'
14145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14146 (eval $ac_try) 2>&5
14148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149 (exit $ac_status); }; }; then
14150 ac_cv_type_ssize_t
=yes
14152 echo "$as_me: failed program was:" >&5
14153 sed 's/^/| /' conftest.
$ac_ext >&5
14155 ac_cv_type_ssize_t
=no
14157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14159 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
14160 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
14161 if test $ac_cv_type_ssize_t = yes; then
14165 cat >>confdefs.h
<<_ACEOF
14166 #define ssize_t int
14172 echo "$as_me:$LINENO: checking for in_addr_t" >&5
14173 echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6
14174 cat >conftest.
$ac_ext <<_ACEOF
14177 cat confdefs.h
>>conftest.
$ac_ext
14178 cat >>conftest.
$ac_ext <<_ACEOF
14179 /* end confdefs.h. */
14180 #include <sys/types.h>
14182 #include <stdlib.h>
14183 #include <stddef.h>
14185 #if HAVE_NETINET_IN_H
14186 #include <netinet/in.h>
14196 rm -f conftest.
$ac_objext
14197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14198 (eval $ac_compile) 2>conftest.er1
14200 grep -v '^ *+' conftest.er1
>conftest.err
14202 cat conftest.err
>&5
14203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14204 (exit $ac_status); } &&
14205 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14207 (eval $ac_try) 2>&5
14209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14210 (exit $ac_status); }; } &&
14211 { ac_try
='test -s conftest.$ac_objext'
14212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14213 (eval $ac_try) 2>&5
14215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14216 (exit $ac_status); }; }; then
14218 cat >>confdefs.h
<<\_ACEOF
14219 #define HAVE_IN_ADDR_T 1
14222 echo "$as_me:$LINENO: result: yes" >&5
14223 echo "${ECHO_T}yes" >&6
14225 echo "$as_me: failed program was:" >&5
14226 sed 's/^/| /' conftest.
$ac_ext >&5
14228 echo "$as_me:$LINENO: result: no" >&5
14229 echo "${ECHO_T}no" >&6
14231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14233 echo "$as_me:$LINENO: checking whether struct ip_mreq is in netinet/in.h" >&5
14234 echo $ECHO_N "checking whether struct ip_mreq is in netinet/in.h... $ECHO_C" >&6
14235 cat >conftest.
$ac_ext <<_ACEOF
14238 cat confdefs.h
>>conftest.
$ac_ext
14239 cat >>conftest.
$ac_ext <<_ACEOF
14240 /* end confdefs.h. */
14241 #include <netinet/in.h>
14245 struct ip_mreq mreq;
14250 rm -f conftest.
$ac_objext
14251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14252 (eval $ac_compile) 2>conftest.er1
14254 grep -v '^ *+' conftest.er1
>conftest.err
14256 cat conftest.err
>&5
14257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14258 (exit $ac_status); } &&
14259 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14261 (eval $ac_try) 2>&5
14263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14264 (exit $ac_status); }; } &&
14265 { ac_try
='test -s conftest.$ac_objext'
14266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14267 (eval $ac_try) 2>&5
14269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14270 (exit $ac_status); }; }; then
14272 cat >>confdefs.h
<<\_ACEOF
14273 #define HAVE_STRUCT_IP_MREQ 1
14276 echo "$as_me:$LINENO: result: yes" >&5
14277 echo "${ECHO_T}yes" >&6
14279 echo "$as_me: failed program was:" >&5
14280 sed 's/^/| /' conftest.
$ac_ext >&5
14282 echo "$as_me:$LINENO: result: no" >&5
14283 echo "${ECHO_T}no" >&6
14285 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14287 echo "$as_me:$LINENO: checking whether struct ipv6_mreq is in netinet/in.h" >&5
14288 echo $ECHO_N "checking whether struct ipv6_mreq is in netinet/in.h... $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 <netinet/in.h>
14299 struct ipv6_mreq mreq6;
14304 rm -f conftest.
$ac_objext
14305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14306 (eval $ac_compile) 2>conftest.er1
14308 grep -v '^ *+' conftest.er1
>conftest.err
14310 cat conftest.err
>&5
14311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14312 (exit $ac_status); } &&
14313 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14315 (eval $ac_try) 2>&5
14317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14318 (exit $ac_status); }; } &&
14319 { ac_try
='test -s conftest.$ac_objext'
14320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14321 (eval $ac_try) 2>&5
14323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14324 (exit $ac_status); }; }; then
14326 cat >>confdefs.h
<<\_ACEOF
14327 #define HAVE_STRUCT_IPV6_MREQ 1
14330 echo "$as_me:$LINENO: result: yes" >&5
14331 echo "${ECHO_T}yes" >&6
14333 echo "$as_me: failed program was:" >&5
14334 sed 's/^/| /' conftest.
$ac_ext >&5
14336 echo "$as_me:$LINENO: result: no" >&5
14337 echo "${ECHO_T}no" >&6
14339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14341 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
14342 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
14343 cat >conftest.
$ac_ext <<_ACEOF
14346 cat confdefs.h
>>conftest.
$ac_ext
14347 cat >>conftest.
$ac_ext <<_ACEOF
14348 /* end confdefs.h. */
14349 #include <netinet/in.h>
14353 struct sockaddr_in6 addr6;
14358 rm -f conftest.
$ac_objext
14359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14360 (eval $ac_compile) 2>conftest.er1
14362 grep -v '^ *+' conftest.er1
>conftest.err
14364 cat conftest.err
>&5
14365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14366 (exit $ac_status); } &&
14367 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14369 (eval $ac_try) 2>&5
14371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14372 (exit $ac_status); }; } &&
14373 { ac_try
='test -s conftest.$ac_objext'
14374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14375 (eval $ac_try) 2>&5
14377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14378 (exit $ac_status); }; }; then
14380 cat >>confdefs.h
<<\_ACEOF
14381 #define HAVE_INET6 1
14384 echo "$as_me:$LINENO: result: yes" >&5
14385 echo "${ECHO_T}yes" >&6
14387 echo "$as_me: failed program was:" >&5
14388 sed 's/^/| /' conftest.
$ac_ext >&5
14390 echo "$as_me:$LINENO: result: no" >&5
14391 echo "${ECHO_T}no" >&6
14393 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14395 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
14396 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
14397 cat >conftest.
$ac_ext <<_ACEOF
14400 cat confdefs.h
>>conftest.
$ac_ext
14401 cat >>conftest.
$ac_ext <<_ACEOF
14402 /* end confdefs.h. */
14403 #define _POSIX_PII_SOCKET
14404 #include <sys/types.h>
14405 #include <sys/socket.h>
14414 rm -f conftest.
$ac_objext
14415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14416 (eval $ac_compile) 2>conftest.er1
14418 grep -v '^ *+' conftest.er1
>conftest.err
14420 cat conftest.err
>&5
14421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14422 (exit $ac_status); } &&
14423 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14425 (eval $ac_try) 2>&5
14427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14428 (exit $ac_status); }; } &&
14429 { ac_try
='test -s conftest.$ac_objext'
14430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14431 (eval $ac_try) 2>&5
14433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14434 (exit $ac_status); }; }; then
14436 cat >>confdefs.h
<<\_ACEOF
14437 #define HAVE_SOCKLEN_T 1
14440 echo "$as_me:$LINENO: result: yes" >&5
14441 echo "${ECHO_T}yes" >&6
14443 echo "$as_me: failed program was:" >&5
14444 sed 's/^/| /' conftest.
$ac_ext >&5
14446 echo "$as_me:$LINENO: result: no" >&5
14447 echo "${ECHO_T}no" >&6
14449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14451 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
14452 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
14453 cat >conftest.
$ac_ext <<_ACEOF
14456 cat confdefs.h
>>conftest.
$ac_ext
14457 cat >>conftest.
$ac_ext <<_ACEOF
14458 /* end confdefs.h. */
14463 struct tm tim; tim.tm_gmtoff = 0;
14468 rm -f conftest.
$ac_objext
14469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14470 (eval $ac_compile) 2>conftest.er1
14472 grep -v '^ *+' conftest.er1
>conftest.err
14474 cat conftest.err
>&5
14475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14476 (exit $ac_status); } &&
14477 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14479 (eval $ac_try) 2>&5
14481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14482 (exit $ac_status); }; } &&
14483 { ac_try
='test -s conftest.$ac_objext'
14484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14485 (eval $ac_try) 2>&5
14487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14488 (exit $ac_status); }; }; then
14490 cat >>confdefs.h
<<\_ACEOF
14491 #define STRUCT_TM_HAS_GMTOFF 1
14494 echo "$as_me:$LINENO: result: yes" >&5
14495 echo "${ECHO_T}yes" >&6
14497 echo "$as_me: failed program was:" >&5
14498 sed 's/^/| /' conftest.
$ac_ext >&5
14500 echo "$as_me:$LINENO: result: no" >&5
14501 echo "${ECHO_T}no" >&6
14502 echo "$as_me:$LINENO: checking for global timezone variable" >&5
14503 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
14504 cat >conftest.
$ac_ext <<_ACEOF
14507 cat confdefs.h
>>conftest.
$ac_ext
14508 cat >>conftest.
$ac_ext <<_ACEOF
14509 /* end confdefs.h. */
14514 void i(){long z2 = 2*timezone;}
14519 rm -f conftest.
$ac_objext
14520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14521 (eval $ac_compile) 2>conftest.er1
14523 grep -v '^ *+' conftest.er1
>conftest.err
14525 cat conftest.err
>&5
14526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14527 (exit $ac_status); } &&
14528 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14530 (eval $ac_try) 2>&5
14532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14533 (exit $ac_status); }; } &&
14534 { ac_try
='test -s conftest.$ac_objext'
14535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14536 (eval $ac_try) 2>&5
14538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14539 (exit $ac_status); }; }; then
14541 cat >>confdefs.h
<<\_ACEOF
14542 #define HAVE_TIMEZONE 1
14545 echo "$as_me:$LINENO: result: yes" >&5
14546 echo "${ECHO_T}yes" >&6
14548 echo "$as_me: failed program was:" >&5
14549 sed 's/^/| /' conftest.
$ac_ext >&5
14551 echo "$as_me:$LINENO: result: no" >&5
14552 echo "${ECHO_T}no" >&6
14553 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
14554 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
14555 cat >conftest.
$ac_ext <<_ACEOF
14558 cat confdefs.h
>>conftest.
$ac_ext
14559 cat >>conftest.
$ac_ext <<_ACEOF
14560 /* end confdefs.h. */
14565 long z2 = _timezone;
14570 rm -f conftest.
$ac_objext
14571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14572 (eval $ac_compile) 2>conftest.er1
14574 grep -v '^ *+' conftest.er1
>conftest.err
14576 cat conftest.err
>&5
14577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14578 (exit $ac_status); } &&
14579 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14581 (eval $ac_try) 2>&5
14583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14584 (exit $ac_status); }; } &&
14585 { ac_try
='test -s conftest.$ac_objext'
14586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14587 (eval $ac_try) 2>&5
14589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14590 (exit $ac_status); }; }; then
14592 cat >>confdefs.h
<<\_ACEOF
14593 #define HAVE_UNDERSCORE_TIMEZONE 1
14596 echo "$as_me:$LINENO: result: yes" >&5
14597 echo "${ECHO_T}yes" >&6
14599 echo "$as_me: failed program was:" >&5
14600 sed 's/^/| /' conftest.
$ac_ext >&5
14602 echo "$as_me:$LINENO: result: no" >&5
14603 echo "${ECHO_T}no" >&6
14605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14611 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
14612 # for constant arguments. Useless!
14613 echo "$as_me:$LINENO: checking for working alloca.h" >&5
14614 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
14615 if test "${ac_cv_working_alloca_h+set}" = set; then
14616 echo $ECHO_N "(cached) $ECHO_C" >&6
14618 if test x
$gcc_no_link = xyes
; then
14619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14621 { (exit 1); exit 1; }; }
14623 cat >conftest.
$ac_ext <<_ACEOF
14626 cat confdefs.h
>>conftest.
$ac_ext
14627 cat >>conftest.
$ac_ext <<_ACEOF
14628 /* end confdefs.h. */
14629 #include <alloca.h>
14633 char *p = (char *) alloca (2 * sizeof (int));
14638 rm -f conftest.
$ac_objext conftest
$ac_exeext
14639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14640 (eval $ac_link) 2>conftest.er1
14642 grep -v '^ *+' conftest.er1
>conftest.err
14644 cat conftest.err
>&5
14645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14646 (exit $ac_status); } &&
14647 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14649 (eval $ac_try) 2>&5
14651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14652 (exit $ac_status); }; } &&
14653 { ac_try
='test -s conftest$ac_exeext'
14654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14655 (eval $ac_try) 2>&5
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); }; }; then
14659 ac_cv_working_alloca_h
=yes
14661 echo "$as_me: failed program was:" >&5
14662 sed 's/^/| /' conftest.
$ac_ext >&5
14664 ac_cv_working_alloca_h
=no
14666 rm -f conftest.err conftest.
$ac_objext \
14667 conftest
$ac_exeext conftest.
$ac_ext
14669 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
14670 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
14671 if test $ac_cv_working_alloca_h = yes; then
14673 cat >>confdefs.h
<<\_ACEOF
14674 #define HAVE_ALLOCA_H 1
14679 echo "$as_me:$LINENO: checking for alloca" >&5
14680 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
14681 if test "${ac_cv_func_alloca_works+set}" = set; then
14682 echo $ECHO_N "(cached) $ECHO_C" >&6
14684 if test x
$gcc_no_link = xyes
; then
14685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14687 { (exit 1); exit 1; }; }
14689 cat >conftest.
$ac_ext <<_ACEOF
14692 cat confdefs.h
>>conftest.
$ac_ext
14693 cat >>conftest.
$ac_ext <<_ACEOF
14694 /* end confdefs.h. */
14696 # define alloca __builtin_alloca
14699 # include <malloc.h>
14700 # define alloca _alloca
14703 # include <alloca.h>
14708 # ifndef alloca /* predefined by HP cc +Olibcalls */
14719 char *p = (char *) alloca (1);
14724 rm -f conftest.
$ac_objext conftest
$ac_exeext
14725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14726 (eval $ac_link) 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" || test ! -s conftest.err'
14734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14735 (eval $ac_try) 2>&5
14737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14738 (exit $ac_status); }; } &&
14739 { ac_try
='test -s conftest$ac_exeext'
14740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14741 (eval $ac_try) 2>&5
14743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744 (exit $ac_status); }; }; then
14745 ac_cv_func_alloca_works
=yes
14747 echo "$as_me: failed program was:" >&5
14748 sed 's/^/| /' conftest.
$ac_ext >&5
14750 ac_cv_func_alloca_works
=no
14752 rm -f conftest.err conftest.
$ac_objext \
14753 conftest
$ac_exeext conftest.
$ac_ext
14755 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
14756 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
14758 if test $ac_cv_func_alloca_works = yes; then
14760 cat >>confdefs.h
<<\_ACEOF
14761 #define HAVE_ALLOCA 1
14765 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
14766 # that cause trouble. Some versions do not even contain alloca or
14767 # contain a buggy version. If you still want to use their alloca,
14768 # use ar to extract alloca.o from them instead of compiling alloca.c.
14770 ALLOCA
=alloca.
$ac_objext
14772 cat >>confdefs.h
<<\_ACEOF
14777 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
14778 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
14779 if test "${ac_cv_os_cray+set}" = set; then
14780 echo $ECHO_N "(cached) $ECHO_C" >&6
14782 cat >conftest.
$ac_ext <<_ACEOF
14785 cat confdefs.h
>>conftest.
$ac_ext
14786 cat >>conftest.
$ac_ext <<_ACEOF
14787 /* end confdefs.h. */
14788 #if defined(CRAY) && ! defined(CRAY2)
14795 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14796 $EGREP "webecray" >/dev
/null
2>&1; then
14804 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
14805 echo "${ECHO_T}$ac_cv_os_cray" >&6
14806 if test $ac_cv_os_cray = yes; then
14807 for ac_func
in _getb67 GETB67 getb67
; do
14808 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14809 echo "$as_me:$LINENO: checking for $ac_func" >&5
14810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14811 if eval "test \"\${$as_ac_var+set}\" = set"; then
14812 echo $ECHO_N "(cached) $ECHO_C" >&6
14814 if test x
$gcc_no_link = xyes
; then
14815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14817 { (exit 1); exit 1; }; }
14819 cat >conftest.
$ac_ext <<_ACEOF
14822 cat confdefs.h
>>conftest.
$ac_ext
14823 cat >>conftest.
$ac_ext <<_ACEOF
14824 /* end confdefs.h. */
14825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14827 #define $ac_func innocuous_$ac_func
14829 /* System header to define __stub macros and hopefully few prototypes,
14830 which can conflict with char $ac_func (); below.
14831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14832 <limits.h> exists even on freestanding compilers. */
14835 # include <limits.h>
14837 # include <assert.h>
14842 /* Override any gcc2 internal prototype to avoid an error. */
14847 /* We use char because int might match the return type of a gcc2
14848 builtin and then its argument prototype would still apply. */
14850 /* The GNU C library defines this for functions which it implements
14851 to always fail with ENOSYS. Some functions are actually named
14852 something starting with __ and the normal name is an alias. */
14853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14856 char (*f) () = $ac_func;
14865 return f != $ac_func;
14870 rm -f conftest.
$ac_objext conftest
$ac_exeext
14871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14872 (eval $ac_link) 2>conftest.er1
14874 grep -v '^ *+' conftest.er1
>conftest.err
14876 cat conftest.err
>&5
14877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14878 (exit $ac_status); } &&
14879 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14881 (eval $ac_try) 2>&5
14883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884 (exit $ac_status); }; } &&
14885 { ac_try
='test -s conftest$ac_exeext'
14886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14887 (eval $ac_try) 2>&5
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); }; }; then
14891 eval "$as_ac_var=yes"
14893 echo "$as_me: failed program was:" >&5
14894 sed 's/^/| /' conftest.
$ac_ext >&5
14896 eval "$as_ac_var=no"
14898 rm -f conftest.err conftest.
$ac_objext \
14899 conftest
$ac_exeext conftest.
$ac_ext
14901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14903 if test `eval echo '${'$as_ac_var'}'` = yes; then
14905 cat >>confdefs.h
<<_ACEOF
14906 #define CRAY_STACKSEG_END $ac_func
14915 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
14916 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
14917 if test "${ac_cv_c_stack_direction+set}" = set; then
14918 echo $ECHO_N "(cached) $ECHO_C" >&6
14920 if test "$cross_compiling" = yes; then
14921 ac_cv_c_stack_direction
=0
14923 cat >conftest.
$ac_ext <<_ACEOF
14926 cat confdefs.h
>>conftest.
$ac_ext
14927 cat >>conftest.
$ac_ext <<_ACEOF
14928 /* end confdefs.h. */
14930 find_stack_direction ()
14932 static char *addr = 0;
14937 return find_stack_direction ();
14940 return (&dummy > addr) ? 1 : -1;
14946 exit (find_stack_direction () < 0);
14949 rm -f conftest
$ac_exeext
14950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14951 (eval $ac_link) 2>&5
14953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14954 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14956 (eval $ac_try) 2>&5
14958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14959 (exit $ac_status); }; }; then
14960 ac_cv_c_stack_direction
=1
14962 echo "$as_me: program exited with status $ac_status" >&5
14963 echo "$as_me: failed program was:" >&5
14964 sed 's/^/| /' conftest.
$ac_ext >&5
14966 ( exit $ac_status )
14967 ac_cv_c_stack_direction
=-1
14969 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14972 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
14973 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
14975 cat >>confdefs.h
<<_ACEOF
14976 #define STACK_DIRECTION $ac_cv_c_stack_direction
14982 if test x
$gcc_no_link = xyes
; then
14983 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset
; then
14984 ac_cv_func_mmap_fixed_mapped
=no
14987 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset
; then
14990 for ac_header
in stdlib.h unistd.h
14992 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14994 echo "$as_me:$LINENO: checking for $ac_header" >&5
14995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14997 echo $ECHO_N "(cached) $ECHO_C" >&6
14999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15000 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15002 # Is the header compilable?
15003 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15004 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15005 cat >conftest.
$ac_ext <<_ACEOF
15008 cat confdefs.h
>>conftest.
$ac_ext
15009 cat >>conftest.
$ac_ext <<_ACEOF
15010 /* end confdefs.h. */
15011 $ac_includes_default
15012 #include <$ac_header>
15014 rm -f conftest.
$ac_objext
15015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15016 (eval $ac_compile) 2>conftest.er1
15018 grep -v '^ *+' conftest.er1
>conftest.err
15020 cat conftest.err
>&5
15021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15022 (exit $ac_status); } &&
15023 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15025 (eval $ac_try) 2>&5
15027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15028 (exit $ac_status); }; } &&
15029 { ac_try
='test -s conftest.$ac_objext'
15030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15031 (eval $ac_try) 2>&5
15033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034 (exit $ac_status); }; }; then
15035 ac_header_compiler
=yes
15037 echo "$as_me: failed program was:" >&5
15038 sed 's/^/| /' conftest.
$ac_ext >&5
15040 ac_header_compiler
=no
15042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15043 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15044 echo "${ECHO_T}$ac_header_compiler" >&6
15046 # Is the header present?
15047 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15048 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15049 cat >conftest.
$ac_ext <<_ACEOF
15052 cat confdefs.h
>>conftest.
$ac_ext
15053 cat >>conftest.
$ac_ext <<_ACEOF
15054 /* end confdefs.h. */
15055 #include <$ac_header>
15057 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15058 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15060 grep -v '^ *+' conftest.er1
>conftest.err
15062 cat conftest.err
>&5
15063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15064 (exit $ac_status); } >/dev
/null
; then
15065 if test -s conftest.err
; then
15066 ac_cpp_err
=$ac_c_preproc_warn_flag
15067 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15074 if test -z "$ac_cpp_err"; then
15075 ac_header_preproc
=yes
15077 echo "$as_me: failed program was:" >&5
15078 sed 's/^/| /' conftest.
$ac_ext >&5
15080 ac_header_preproc
=no
15082 rm -f conftest.err conftest.
$ac_ext
15083 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15084 echo "${ECHO_T}$ac_header_preproc" >&6
15086 # So? What about this header?
15087 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15089 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15090 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15091 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15092 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15093 ac_header_preproc
=yes
15096 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15097 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15098 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15099 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15100 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15101 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15102 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15103 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15104 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15105 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15106 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15107 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15110 ## ---------------------------------- ##
15111 ## Report this to the libjava lists. ##
15112 ## ---------------------------------- ##
15115 sed "s/^/$as_me: WARNING: /" >&2
15118 echo "$as_me:$LINENO: checking for $ac_header" >&5
15119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15121 echo $ECHO_N "(cached) $ECHO_C" >&6
15123 eval "$as_ac_Header=\$ac_header_preproc"
15125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15126 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15129 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15130 cat >>confdefs.h
<<_ACEOF
15131 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15139 for ac_func
in getpagesize
15141 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15142 echo "$as_me:$LINENO: checking for $ac_func" >&5
15143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15144 if eval "test \"\${$as_ac_var+set}\" = set"; then
15145 echo $ECHO_N "(cached) $ECHO_C" >&6
15147 if test x
$gcc_no_link = xyes
; then
15148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15150 { (exit 1); exit 1; }; }
15152 cat >conftest.
$ac_ext <<_ACEOF
15155 cat confdefs.h
>>conftest.
$ac_ext
15156 cat >>conftest.
$ac_ext <<_ACEOF
15157 /* end confdefs.h. */
15158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15160 #define $ac_func innocuous_$ac_func
15162 /* System header to define __stub macros and hopefully few prototypes,
15163 which can conflict with char $ac_func (); below.
15164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15165 <limits.h> exists even on freestanding compilers. */
15168 # include <limits.h>
15170 # include <assert.h>
15175 /* Override any gcc2 internal prototype to avoid an error. */
15180 /* We use char because int might match the return type of a gcc2
15181 builtin and then its argument prototype would still apply. */
15183 /* The GNU C library defines this for functions which it implements
15184 to always fail with ENOSYS. Some functions are actually named
15185 something starting with __ and the normal name is an alias. */
15186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15189 char (*f) () = $ac_func;
15198 return f != $ac_func;
15203 rm -f conftest.
$ac_objext conftest
$ac_exeext
15204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15205 (eval $ac_link) 2>conftest.er1
15207 grep -v '^ *+' conftest.er1
>conftest.err
15209 cat conftest.err
>&5
15210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15211 (exit $ac_status); } &&
15212 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15214 (eval $ac_try) 2>&5
15216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15217 (exit $ac_status); }; } &&
15218 { ac_try
='test -s conftest$ac_exeext'
15219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15220 (eval $ac_try) 2>&5
15222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15223 (exit $ac_status); }; }; then
15224 eval "$as_ac_var=yes"
15226 echo "$as_me: failed program was:" >&5
15227 sed 's/^/| /' conftest.
$ac_ext >&5
15229 eval "$as_ac_var=no"
15231 rm -f conftest.err conftest.
$ac_objext \
15232 conftest
$ac_exeext conftest.
$ac_ext
15234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15236 if test `eval echo '${'$as_ac_var'}'` = yes; then
15237 cat >>confdefs.h
<<_ACEOF
15238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15244 echo "$as_me:$LINENO: checking for working mmap" >&5
15245 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
15246 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
15247 echo $ECHO_N "(cached) $ECHO_C" >&6
15249 if test "$cross_compiling" = yes; then
15250 ac_cv_func_mmap_fixed_mapped
=no
15252 cat >conftest.
$ac_ext <<_ACEOF
15255 cat confdefs.h
>>conftest.
$ac_ext
15256 cat >>conftest.
$ac_ext <<_ACEOF
15257 /* end confdefs.h. */
15258 $ac_includes_default
15259 /* malloc might have been renamed as rpl_malloc. */
15262 /* Thanks to Mike Haertel and Jim Avera for this test.
15263 Here is a matrix of mmap possibilities:
15264 mmap private not fixed
15265 mmap private fixed at somewhere currently unmapped
15266 mmap private fixed at somewhere already mapped
15267 mmap shared not fixed
15268 mmap shared fixed at somewhere currently unmapped
15269 mmap shared fixed at somewhere already mapped
15270 For private mappings, we should verify that changes cannot be read()
15271 back from the file, nor mmap's back from the file at a different
15272 address. (There have been systems where private was not correctly
15273 implemented like the infamous i386 svr4.0, and systems where the
15274 VM page cache was not coherent with the file system buffer cache
15275 like early versions of FreeBSD and possibly contemporary NetBSD.)
15276 For shared mappings, we should conversely verify that changes get
15277 propagated back to all the places they're supposed to be.
15279 Grep wants private fixed already mapped.
15280 The main things grep needs to know about mmap are:
15281 * does it exist and is it safe to write into the mmap'd area
15282 * how to use it (BSD variants) */
15285 #include <sys/mman.h>
15287 #if !STDC_HEADERS && !HAVE_STDLIB_H
15291 /* This mess was copied from the GNU getpagesize.h. */
15292 #if !HAVE_GETPAGESIZE
15293 /* Assume that all systems that can run configure have sys/param.h. */
15294 # if !HAVE_SYS_PARAM_H
15295 # define HAVE_SYS_PARAM_H 1
15298 # ifdef _SC_PAGESIZE
15299 # define getpagesize() sysconf(_SC_PAGESIZE)
15300 # else /* no _SC_PAGESIZE */
15301 # if HAVE_SYS_PARAM_H
15302 # include <sys/param.h>
15303 # ifdef EXEC_PAGESIZE
15304 # define getpagesize() EXEC_PAGESIZE
15305 # else /* no EXEC_PAGESIZE */
15307 # define getpagesize() NBPG * CLSIZE
15310 # endif /* no CLSIZE */
15311 # else /* no NBPG */
15313 # define getpagesize() NBPC
15314 # else /* no NBPC */
15316 # define getpagesize() PAGESIZE
15317 # endif /* PAGESIZE */
15318 # endif /* no NBPC */
15319 # endif /* no NBPG */
15320 # endif /* no EXEC_PAGESIZE */
15321 # else /* no HAVE_SYS_PARAM_H */
15322 # define getpagesize() 8192 /* punt totally */
15323 # endif /* no HAVE_SYS_PARAM_H */
15324 # endif /* no _SC_PAGESIZE */
15326 #endif /* no HAVE_GETPAGESIZE */
15331 char *data, *data2, *data3;
15335 pagesize = getpagesize ();
15337 /* First, make a file with some known garbage in it. */
15338 data = (char *) malloc (pagesize);
15341 for (i = 0; i < pagesize; ++i)
15342 *(data + i) = rand ();
15344 fd = creat ("conftest.mmap", 0600);
15347 if (write (fd, data, pagesize) != pagesize)
15351 /* Next, try to mmap the file at a fixed address which already has
15352 something else allocated at it. If we can, also make sure that
15353 we see the same garbage. */
15354 fd = open ("conftest.mmap", O_RDWR);
15357 data2 = (char *) malloc (2 * pagesize);
15360 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
15361 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
15362 MAP_PRIVATE | MAP_FIXED, fd, 0L))
15364 for (i = 0; i < pagesize; ++i)
15365 if (*(data + i) != *(data2 + i))
15368 /* Finally, make sure that changes to the mapped area do not
15369 percolate back to the file as seen by read(). (This is a bug on
15370 some variants of i386 svr4.0.) */
15371 for (i = 0; i < pagesize; ++i)
15372 *(data2 + i) = *(data2 + i) + 1;
15373 data3 = (char *) malloc (pagesize);
15376 if (read (fd, data3, pagesize) != pagesize)
15378 for (i = 0; i < pagesize; ++i)
15379 if (*(data + i) != *(data3 + i))
15385 rm -f conftest
$ac_exeext
15386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15387 (eval $ac_link) 2>&5
15389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15390 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15392 (eval $ac_try) 2>&5
15394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15395 (exit $ac_status); }; }; then
15396 ac_cv_func_mmap_fixed_mapped
=yes
15398 echo "$as_me: program exited with status $ac_status" >&5
15399 echo "$as_me: failed program was:" >&5
15400 sed 's/^/| /' conftest.
$ac_ext >&5
15402 ( exit $ac_status )
15403 ac_cv_func_mmap_fixed_mapped
=no
15405 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15408 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
15409 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
15410 if test $ac_cv_func_mmap_fixed_mapped = yes; then
15412 cat >>confdefs.h
<<\_ACEOF
15413 #define HAVE_MMAP 1
15417 rm -f conftest.mmap
15421 for ac_prog
in perl
15423 # Extract the first word of "$ac_prog", so it can be a program name with args.
15424 set dummy
$ac_prog; ac_word
=$2
15425 echo "$as_me:$LINENO: checking for $ac_word" >&5
15426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15427 if test "${ac_cv_prog_PERL+set}" = set; then
15428 echo $ECHO_N "(cached) $ECHO_C" >&6
15430 if test -n "$PERL"; then
15431 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
15433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15434 for as_dir
in $PATH
15437 test -z "$as_dir" && as_dir
=.
15438 for ac_exec_ext
in '' $ac_executable_extensions; do
15439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15440 ac_cv_prog_PERL
="$ac_prog"
15441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15449 PERL
=$ac_cv_prog_PERL
15450 if test -n "$PERL"; then
15451 echo "$as_me:$LINENO: result: $PERL" >&5
15452 echo "${ECHO_T}$PERL" >&6
15454 echo "$as_me:$LINENO: result: no" >&5
15455 echo "${ECHO_T}no" >&6
15458 test -n "$PERL" && break
15460 test -n "$PERL" || PERL
="false"
15464 SIGNAL_HANDLER_AUX
=
15468 SIGNAL_HANDLER
=include
/i386-signal.h
15470 sparc
*-sun-solaris*)
15471 SIGNAL_HANDLER
=include
/sparc-signal.h
15474 # SYSDEP_SOURCES=sysdep/ia64.c
15475 # test -d sysdep || mkdir sysdep
15478 SIGNAL_HANDLER
=include
/pa-signal.h
15481 SIGNAL_HANDLER
=include
/dwarf2-signal.h
15484 SIGNAL_HANDLER
=include
/powerpc-signal.h
15487 SIGNAL_HANDLER
=include
/dwarf2-signal.h
15490 SIGNAL_HANDLER
=include
/s390-signal.h
15493 SIGNAL_HANDLER
=include
/x86_64-signal.h
15494 SIGNAL_HANDLER_AUX
=include
/i386-signal.h
15497 SIGNAL_HANDLER
=include
/dwarf2-signal.h
15499 sh-
*-linux* | sh
[34]*-*-linux*)
15500 SIGNAL_HANDLER
=include
/dwarf2-signal.h
15503 SIGNAL_HANDLER
=include
/win32-signal.h
15506 SIGNAL_HANDLER
=include
/mips-signal.h
15509 SIGNAL_HANDLER
=include
/darwin-signal.h
15512 SIGNAL_HANDLER
=include
/default-signal.h
15516 # If we're using sjlj exceptions, forget what we just learned.
15517 if test "$enable_sjlj_exceptions" = yes; then
15518 SIGNAL_HANDLER
=include
/default-signal.h
15519 SIGNAL_HANDLER_AUX
=
15522 # Define here any compiler flags that you need in order to make backtrace() work.
15525 x86_64
*-*-linux*|i?
86-*)
15526 BACKTRACESPEC
=-fno-omit-frame-pointer
15533 if test -z "$SIGNAL_HANDLER_AUX"; then
15534 SIGNAL_HANDLER_AUX
=$SIGNAL_HANDLER
15537 ac_config_links
="$ac_config_links include/java-signal.h:$SIGNAL_HANDLER include/java-signal-aux.h:$SIGNAL_HANDLER_AUX"
15540 if test "${multilib}" = "yes"; then
15541 multilib_arg
="--enable-multilib"
15548 here
=`${PWDCMD-pwd}`
15551 # We get this from the environment.
15554 ac_config_files
="$ac_config_files Makefile libgcj.pc libgcj.spec libgcj-test.spec gnu/classpath/Configuration.java gcj/Makefile include/Makefile testsuite/Makefile"
15557 ac_config_commands
="$ac_config_commands default"
15560 cat >confcache
<<\_ACEOF
15561 # This file is a shell script that caches the results of configure
15562 # tests run on this system so they can be shared between configure
15563 # scripts and configure runs, see configure's option --config-cache.
15564 # It is not useful on other systems. If it contains results you don't
15565 # want to keep, you may remove or edit it.
15567 # config.status only pays attention to the cache file if you give it
15568 # the --recheck option to rerun configure.
15570 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15571 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15572 # following values.
15576 # The following way of writing the cache mishandles newlines in values,
15577 # but we know of no workaround that is simple, portable, and efficient.
15578 # So, don't put newlines in cache variables' values.
15579 # Ultrix sh set writes to stderr and can't be redirected directly,
15580 # and sets the high bit in the cache file unless we assign to the vars.
15583 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15585 # `set' does not quote correctly, so add quotes (double-quote
15586 # substitution turns \\\\ into \\, and sed turns \\ into \).
15589 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15592 # `set' quotes correctly as required by POSIX, so do not add quotes.
15594 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
15601 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15603 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15605 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
15606 if test -w $cache_file; then
15607 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
15608 cat confcache
>$cache_file
15610 echo "not updating unwritable cache $cache_file"
15615 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15616 # Let make expand exec_prefix.
15617 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15619 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15620 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15621 # trailing colons and then remove the whole line if VPATH becomes empty
15622 # (actually we leave an empty line to preserve line numbers).
15623 if test "x$srcdir" = x.
; then
15624 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
15625 s/:*\$(srcdir):*/:/;
15626 s/:*\${srcdir}:*/:/;
15628 s/^\([^=]*=[ ]*\):*/\1/;
15634 DEFS
=-DHAVE_CONFIG_H
15638 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15639 # 1. Remove the extension, and $U if already installed.
15640 ac_i
=`echo "$ac_i" |
15641 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
15643 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
15644 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
15646 LIBOBJS
=$ac_libobjs
15648 LTLIBOBJS
=$ac_ltlibobjs
15651 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15652 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
15653 Usually this means the macro was only invoked conditionally." >&5
15654 echo "$as_me: error: conditional \"AMDEP\" was never defined.
15655 Usually this means the macro was only invoked conditionally." >&2;}
15656 { (exit 1); exit 1; }; }
15658 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15659 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
15660 Usually this means the macro was only invoked conditionally." >&5
15661 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
15662 Usually this means the macro was only invoked conditionally." >&2;}
15663 { (exit 1); exit 1; }; }
15665 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15666 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
15667 Usually this means the macro was only invoked conditionally." >&5
15668 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
15669 Usually this means the macro was only invoked conditionally." >&2;}
15670 { (exit 1); exit 1; }; }
15672 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15673 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
15674 Usually this means the macro was only invoked conditionally." >&5
15675 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
15676 Usually this means the macro was only invoked conditionally." >&2;}
15677 { (exit 1); exit 1; }; }
15679 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
15680 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
15681 Usually this means the macro was only invoked conditionally." >&5
15682 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
15683 Usually this means the macro was only invoked conditionally." >&2;}
15684 { (exit 1); exit 1; }; }
15686 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
15687 { { echo "$as_me:$LINENO: error: conditional \"TESTSUBDIR\" was never defined.
15688 Usually this means the macro was only invoked conditionally." >&5
15689 echo "$as_me: error: conditional \"TESTSUBDIR\" was never defined.
15690 Usually this means the macro was only invoked conditionally." >&2;}
15691 { (exit 1); exit 1; }; }
15693 if test -z "${ONESTEP_TRUE}" && test -z "${ONESTEP_FALSE}"; then
15694 { { echo "$as_me:$LINENO: error: conditional \"ONESTEP\" was never defined.
15695 Usually this means the macro was only invoked conditionally." >&5
15696 echo "$as_me: error: conditional \"ONESTEP\" was never defined.
15697 Usually this means the macro was only invoked conditionally." >&2;}
15698 { (exit 1); exit 1; }; }
15700 if test -z "${USING_WIN32_PLATFORM_TRUE}" && test -z "${USING_WIN32_PLATFORM_FALSE}"; then
15701 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
15702 Usually this means the macro was only invoked conditionally." >&5
15703 echo "$as_me: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
15704 Usually this means the macro was only invoked conditionally." >&2;}
15705 { (exit 1); exit 1; }; }
15707 if test -z "${USING_POSIX_PLATFORM_TRUE}" && test -z "${USING_POSIX_PLATFORM_FALSE}"; then
15708 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
15709 Usually this means the macro was only invoked conditionally." >&5
15710 echo "$as_me: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
15711 Usually this means the macro was only invoked conditionally." >&2;}
15712 { (exit 1); exit 1; }; }
15714 if test -z "${USING_ECOS_PLATFORM_TRUE}" && test -z "${USING_ECOS_PLATFORM_FALSE}"; then
15715 { { echo "$as_me:$LINENO: error: conditional \"USING_ECOS_PLATFORM\" was never defined.
15716 Usually this means the macro was only invoked conditionally." >&5
15717 echo "$as_me: error: conditional \"USING_ECOS_PLATFORM\" was never defined.
15718 Usually this means the macro was only invoked conditionally." >&2;}
15719 { (exit 1); exit 1; }; }
15721 if test -z "${XLIB_AWT_TRUE}" && test -z "${XLIB_AWT_FALSE}"; then
15722 { { echo "$as_me:$LINENO: error: conditional \"XLIB_AWT\" was never defined.
15723 Usually this means the macro was only invoked conditionally." >&5
15724 echo "$as_me: error: conditional \"XLIB_AWT\" was never defined.
15725 Usually this means the macro was only invoked conditionally." >&2;}
15726 { (exit 1); exit 1; }; }
15728 if test -z "${GTK_AWT_TRUE}" && test -z "${GTK_AWT_FALSE}"; then
15729 { { echo "$as_me:$LINENO: error: conditional \"GTK_AWT\" was never defined.
15730 Usually this means the macro was only invoked conditionally." >&5
15731 echo "$as_me: error: conditional \"GTK_AWT\" was never defined.
15732 Usually this means the macro was only invoked conditionally." >&2;}
15733 { (exit 1); exit 1; }; }
15735 if test -z "${GTK_CAIRO_TRUE}" && test -z "${GTK_CAIRO_FALSE}"; then
15736 { { echo "$as_me:$LINENO: error: conditional \"GTK_CAIRO\" was never defined.
15737 Usually this means the macro was only invoked conditionally." >&5
15738 echo "$as_me: error: conditional \"GTK_CAIRO\" was never defined.
15739 Usually this means the macro was only invoked conditionally." >&2;}
15740 { (exit 1); exit 1; }; }
15742 if test -z "${USING_BOEHMGC_TRUE}" && test -z "${USING_BOEHMGC_FALSE}"; then
15743 { { echo "$as_me:$LINENO: error: conditional \"USING_BOEHMGC\" was never defined.
15744 Usually this means the macro was only invoked conditionally." >&5
15745 echo "$as_me: error: conditional \"USING_BOEHMGC\" was never defined.
15746 Usually this means the macro was only invoked conditionally." >&2;}
15747 { (exit 1); exit 1; }; }
15749 if test -z "${USING_NOGC_TRUE}" && test -z "${USING_NOGC_FALSE}"; then
15750 { { echo "$as_me:$LINENO: error: conditional \"USING_NOGC\" was never defined.
15751 Usually this means the macro was only invoked conditionally." >&5
15752 echo "$as_me: error: conditional \"USING_NOGC\" was never defined.
15753 Usually this means the macro was only invoked conditionally." >&2;}
15754 { (exit 1); exit 1; }; }
15756 if test -z "${USING_POSIX_THREADS_TRUE}" && test -z "${USING_POSIX_THREADS_FALSE}"; then
15757 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_THREADS\" was never defined.
15758 Usually this means the macro was only invoked conditionally." >&5
15759 echo "$as_me: error: conditional \"USING_POSIX_THREADS\" was never defined.
15760 Usually this means the macro was only invoked conditionally." >&2;}
15761 { (exit 1); exit 1; }; }
15763 if test -z "${USING_WIN32_THREADS_TRUE}" && test -z "${USING_WIN32_THREADS_FALSE}"; then
15764 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_THREADS\" was never defined.
15765 Usually this means the macro was only invoked conditionally." >&5
15766 echo "$as_me: error: conditional \"USING_WIN32_THREADS\" was never defined.
15767 Usually this means the macro was only invoked conditionally." >&2;}
15768 { (exit 1); exit 1; }; }
15770 if test -z "${USING_NO_THREADS_TRUE}" && test -z "${USING_NO_THREADS_FALSE}"; then
15771 { { echo "$as_me:$LINENO: error: conditional \"USING_NO_THREADS\" was never defined.
15772 Usually this means the macro was only invoked conditionally." >&5
15773 echo "$as_me: error: conditional \"USING_NO_THREADS\" was never defined.
15774 Usually this means the macro was only invoked conditionally." >&2;}
15775 { (exit 1); exit 1; }; }
15777 if test -z "${USING_GCC_TRUE}" && test -z "${USING_GCC_FALSE}"; then
15778 { { echo "$as_me:$LINENO: error: conditional \"USING_GCC\" was never defined.
15779 Usually this means the macro was only invoked conditionally." >&5
15780 echo "$as_me: error: conditional \"USING_GCC\" was never defined.
15781 Usually this means the macro was only invoked conditionally." >&2;}
15782 { (exit 1); exit 1; }; }
15784 if test -z "${SUPPLY_BACKTRACE_TRUE}" && test -z "${SUPPLY_BACKTRACE_FALSE}"; then
15785 { { echo "$as_me:$LINENO: error: conditional \"SUPPLY_BACKTRACE\" was never defined.
15786 Usually this means the macro was only invoked conditionally." >&5
15787 echo "$as_me: error: conditional \"SUPPLY_BACKTRACE\" was never defined.
15788 Usually this means the macro was only invoked conditionally." >&2;}
15789 { (exit 1); exit 1; }; }
15791 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
15792 { { echo "$as_me:$LINENO: error: conditional \"NATIVE\" was never defined.
15793 Usually this means the macro was only invoked conditionally." >&5
15794 echo "$as_me: error: conditional \"NATIVE\" was never defined.
15795 Usually this means the macro was only invoked conditionally." >&2;}
15796 { (exit 1); exit 1; }; }
15798 if test -z "${NEEDS_DATA_START_TRUE}" && test -z "${NEEDS_DATA_START_FALSE}"; then
15799 { { echo "$as_me:$LINENO: error: conditional \"NEEDS_DATA_START\" was never defined.
15800 Usually this means the macro was only invoked conditionally." >&5
15801 echo "$as_me: error: conditional \"NEEDS_DATA_START\" was never defined.
15802 Usually this means the macro was only invoked conditionally." >&2;}
15803 { (exit 1); exit 1; }; }
15806 : ${CONFIG_STATUS=./config.status}
15807 ac_clean_files_save
=$ac_clean_files
15808 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15809 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15810 echo "$as_me: creating $CONFIG_STATUS" >&6;}
15811 cat >$CONFIG_STATUS <<_ACEOF
15813 # Generated by $as_me.
15814 # Run this file to recreate the current configuration.
15815 # Compiler output produced by configure, useful for debugging
15816 # configure, is in config.log if it exists.
15819 ac_cs_recheck=false
15821 SHELL=\${CONFIG_SHELL-$SHELL}
15824 cat >>$CONFIG_STATUS <<\_ACEOF
15825 ## --------------------- ##
15826 ## M4sh Initialization. ##
15827 ## --------------------- ##
15829 # Be Bourne compatible
15830 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
15833 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
15834 # is contrary to our usage. Disable this feature.
15835 alias -g '${1+"$@"}'='"$@"'
15836 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
15839 DUALCASE
=1; export DUALCASE
# for MKS sh
15841 # Support unset when possible.
15842 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
15849 # Work around bugs in pre-3.0 UWIN ksh.
15850 $as_unset ENV MAIL MAILPATH
15857 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
15858 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
15859 LC_TELEPHONE LC_TIME
15861 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
15862 eval $as_var=C
; export $as_var
15868 # Required to use basename.
15869 if expr a
: '\(a\)' >/dev
/null
2>&1; then
15875 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
15876 as_basename
=basename
15882 # Name of the executable.
15883 as_me
=`$as_basename "$0" ||
15884 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15885 X"$0" : 'X\(//\)$' \| \
15886 X"$0" : 'X\(/\)$' \| \
15887 . : '\(.\)' 2>/dev/null ||
15889 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15890 /^X\/\(\/\/\)$/{ s//\1/; q; }
15891 /^X\/\(\/\).*/{ s//\1/; q; }
15895 # PATH needs CR, and LINENO needs CR and PATH.
15896 # Avoid depending upon Character Ranges.
15897 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15898 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15899 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15900 as_cr_digits
='0123456789'
15901 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15903 # The user is always right.
15904 if test "${PATH_SEPARATOR+set}" != set; then
15905 echo "#! /bin/sh" >conf$$.sh
15906 echo "exit 0" >>conf$$.sh
15908 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
15917 as_lineno_1
=$LINENO
15918 as_lineno_2
=$LINENO
15919 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
15920 test "x$as_lineno_1" != "x$as_lineno_2" &&
15921 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
15922 # Find who we are. Look in the path if we contain no path at all
15925 *[\\/]* ) as_myself
=$0 ;;
15926 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15927 for as_dir
in $PATH
15930 test -z "$as_dir" && as_dir
=.
15931 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15936 # We did not find ourselves, most probably we were run as `sh COMMAND'
15937 # in which case we are not to be found in the path.
15938 if test "x$as_myself" = x
; then
15941 if test ! -f "$as_myself"; then
15942 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
15943 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
15944 { (exit 1); exit 1; }; }
15946 case $CONFIG_SHELL in
15948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15949 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
15952 test -z "$as_dir" && as_dir
=.
15953 for as_base
in sh bash ksh sh5
; do
15956 if ("$as_dir/$as_base" -c '
15957 as_lineno_1=$LINENO
15958 as_lineno_2=$LINENO
15959 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15960 test "x$as_lineno_1" != "x$as_lineno_2" &&
15961 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
15962 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
15963 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
15964 CONFIG_SHELL
=$as_dir/$as_base
15965 export CONFIG_SHELL
15966 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
15974 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15975 # uniformly replaced by the line number. The first 'sed' inserts a
15976 # line-number line before each line; the second 'sed' does the real
15977 # work. The second script uses 'N' to pair each line-number line
15978 # with the numbered line, and appends trailing '-' during
15979 # substitution so that $LINENO is not a special case at line end.
15980 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15981 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
15982 sed '=' <$as_myself |
15987 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
15990 s,^['$as_cr_digits']*\n,,
15991 ' >$as_me.lineno
&&
15992 chmod +x
$as_me.lineno ||
15993 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
15994 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
15995 { (exit 1); exit 1; }; }
15997 # Don't try to exec as it changes $[0], causing all sort of problems
15998 # (the dirname of $[0] is not the place where we might find the
15999 # original and so on. Autoconf is especially sensible to this).
16001 # Exit status is that of the last command.
16006 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
16007 *c
*,-n*) ECHO_N
= ECHO_C
='
16009 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
16010 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
16013 if expr a
: '\(a\)' >/dev
/null
2>&1; then
16019 rm -f conf$$ conf$$.exe conf$$.
file
16021 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16022 # We could just check for DJGPP; but this test a) works b) is more generic
16023 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
16024 if test -f conf$$.exe
; then
16025 # Don't use ln at all; we don't have any links
16030 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16035 rm -f conf$$ conf$$.exe conf$$.
file
16037 if mkdir
-p .
2>/dev
/null
; then
16040 test -d .
/-p && rmdir .
/-p
16044 as_executable_p
="test -f"
16046 # Sed expression to map a string onto a valid CPP name.
16047 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16049 # Sed expression to map a string onto a valid variable name.
16050 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16054 # We need space, tab and new line, in precisely that order.
16064 # Open the log real soon, to keep \$[0] and so on meaningful, and to
16065 # report actual input values of CONFIG_FILES etc. instead of their
16066 # values after options handling. Logging --version etc. is OK.
16070 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16071 ## Running $as_me. ##
16076 This file was extended by libjava $as_me version-unused, which was
16077 generated by GNU Autoconf 2.59. Invocation command line was
16079 CONFIG_FILES = $CONFIG_FILES
16080 CONFIG_HEADERS = $CONFIG_HEADERS
16081 CONFIG_LINKS = $CONFIG_LINKS
16082 CONFIG_COMMANDS = $CONFIG_COMMANDS
16086 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
16090 # Files that config.status was made for.
16091 if test -n "$ac_config_files"; then
16092 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
16095 if test -n "$ac_config_headers"; then
16096 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
16099 if test -n "$ac_config_links"; then
16100 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
16103 if test -n "$ac_config_commands"; then
16104 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
16107 cat >>$CONFIG_STATUS <<\_ACEOF
16110 \`$as_me' instantiates files from templates according to the
16111 current configuration.
16113 Usage: $0 [OPTIONS] [FILE]...
16115 -h, --help print this help, then exit
16116 -V, --version print version number, then exit
16117 -q, --quiet do not print progress messages
16118 -d, --debug don't remove temporary files
16119 --recheck update $as_me by reconfiguring in the same conditions
16120 --file=FILE[:TEMPLATE]
16121 instantiate the configuration file FILE
16122 --header=FILE[:TEMPLATE]
16123 instantiate the configuration header FILE
16125 Configuration files:
16128 Configuration headers:
16131 Configuration links:
16134 Configuration commands:
16137 Report bugs to <bug-autoconf@gnu.org>."
16140 cat >>$CONFIG_STATUS <<_ACEOF
16142 libjava config.status version-unused
16143 configured by $0, generated by GNU Autoconf 2.59,
16144 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
16146 Copyright (C) 2003 Free Software Foundation, Inc.
16147 This config.status script is free software; the Free Software Foundation
16148 gives unlimited permission to copy, distribute and modify it."
16153 cat >>$CONFIG_STATUS <<\_ACEOF
16154 # If no file are specified by the user, then we need to provide default
16155 # value. By we need to know if files were specified by the user.
16161 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
16162 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
16170 *) # This is not an option, so the user has probably given explicit
16173 ac_need_defaults
=false
;;
16177 # Handling of the options.
16179 cat >>$CONFIG_STATUS <<\_ACEOF
16180 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16182 --version |
--vers* |
-V )
16183 echo "$ac_cs_version"; exit 0 ;;
16185 # Conflict between --help and --header
16186 { { echo "$as_me:$LINENO: error: ambiguous option: $1
16187 Try \`$0 --help' for more information." >&5
16188 echo "$as_me: error: ambiguous option: $1
16189 Try \`$0 --help' for more information." >&2;}
16190 { (exit 1); exit 1; }; };;
16191 --help |
--hel |
-h )
16192 echo "$ac_cs_usage"; exit 0 ;;
16193 --debug |
--d* |
-d )
16195 --file |
--fil |
--fi |
--f )
16197 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
16198 ac_need_defaults
=false
;;
16199 --header |
--heade |
--head |
--hea )
16201 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
16202 ac_need_defaults
=false
;;
16203 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16204 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16207 # This is an error.
16208 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
16209 Try \`$0 --help' for more information." >&5
16210 echo "$as_me: error: unrecognized option: $1
16211 Try \`$0 --help' for more information." >&2;}
16212 { (exit 1); exit 1; }; } ;;
16214 *) ac_config_targets
="$ac_config_targets $1" ;;
16220 ac_configure_extra_args
=
16222 if $ac_cs_silent; then
16224 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16228 cat >>$CONFIG_STATUS <<_ACEOF
16229 if \$ac_cs_recheck; then
16230 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
16231 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16236 cat >>$CONFIG_STATUS <<_ACEOF
16238 # INIT-COMMANDS section.
16241 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16245 with_multisubdir=${with_multisubdir}
16246 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16247 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16248 libgcj_basedir=${libgcj_basedir}
16251 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
16258 cat >>$CONFIG_STATUS <<\_ACEOF
16259 for ac_config_target
in $ac_config_targets
16261 case "$ac_config_target" in
16262 # Handling of arguments.
16263 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16264 "libgcj.pc" ) CONFIG_FILES
="$CONFIG_FILES libgcj.pc" ;;
16265 "libgcj.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj.spec" ;;
16266 "libgcj-test.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj-test.spec" ;;
16267 "gnu/classpath/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
16268 "gcj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gcj/Makefile" ;;
16269 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
16270 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16271 "include/platform.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/platform.h:include/$PLATFORMH" ;;
16272 "java/io/natFile.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc" ;;
16273 "java/lang/ConcreteProcess.java" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/ConcreteProcess.java:java/lang/${PLATFORM}Process.java" ;;
16274 "java/lang/natConcreteProcess.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc" ;;
16275 "java/net/natInetAddress.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natInetAddress.cc:java/net/natInetAddress${PLATFORMNET}.cc" ;;
16276 "java/net/natNetworkInterface.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natNetworkInterface.cc:java/net/natNetworkInterface${PLATFORMNET}.cc" ;;
16277 "gnu/java/net/natPlainSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc" ;;
16278 "gnu/java/net/natPlainDatagramSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc" ;;
16279 "gnu/java/nio/natPipeImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natPipeImpl.cc:gnu/java/nio/natPipeImpl${PLATFORM}.cc" ;;
16280 "gnu/java/nio/natSelectorImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natSelectorImpl.cc:gnu/java/nio/natSelectorImpl${PLATFORM}.cc" ;;
16281 "gnu/java/nio/channels/natFileChannelImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc" ;;
16282 "include/java-gc.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-gc.h:include/$GCHDR" ;;
16283 "include/java-threads.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-threads.h:include/$THREADH" ;;
16284 "sysdep/locks.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/locks.h:sysdep/$sysdeps_dir/locks.h" ;;
16285 "include/java-signal.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal.h:$SIGNAL_HANDLER" ;;
16286 "include/java-signal-aux.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal-aux.h:$SIGNAL_HANDLER_AUX" ;;
16287 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16288 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
16289 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
16290 "gcj/libgcj-config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS gcj/libgcj-config.h" ;;
16291 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
16292 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16293 { (exit 1); exit 1; }; };;
16297 # If the user did not use the arguments to specify the items to instantiate,
16298 # then the envvar interface is used. Set only those that are not.
16299 # We use the long form for the default assignment because of an extremely
16300 # bizarre bug on SunOS 4.1.3.
16301 if $ac_need_defaults; then
16302 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16303 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16304 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
16305 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16308 # Have a temporary directory for convenience. Make it in the build tree
16309 # simply because there is no reason to put it here, and in addition,
16310 # creating and moving files from /tmp can sometimes cause problems.
16311 # Create a temporary directory, and hook for its removal unless debugging.
16314 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
16315 trap '{ (exit 1); exit 1; }' 1 2 13 15
16318 # Create a (secure) tmp directory for tmp files.
16321 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
16322 test -n "$tmp" && test -d "$tmp"
16325 tmp
=.
/confstat$$
-$RANDOM
16326 (umask 077 && mkdir
$tmp)
16329 echo "$me: cannot create a temporary directory in ." >&2
16330 { (exit 1); exit 1; }
16335 cat >>$CONFIG_STATUS <<_ACEOF
16338 # CONFIG_FILES section.
16341 # No need to generate the scripts if there are no CONFIG_FILES.
16342 # This happens for instance when ./config.status config.h
16343 if test -n "\$CONFIG_FILES"; then
16344 # Protect against being on the right side of a sed subst in config.status.
16345 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
16346 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
16347 s,@SHELL@,$SHELL,;t t
16348 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
16349 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
16350 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
16351 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
16352 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
16353 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
16354 s,@exec_prefix@,$exec_prefix,;t t
16355 s,@prefix@,$prefix,;t t
16356 s,@program_transform_name@,$program_transform_name,;t t
16357 s,@bindir@,$bindir,;t t
16358 s,@sbindir@,$sbindir,;t t
16359 s,@libexecdir@,$libexecdir,;t t
16360 s,@datadir@,$datadir,;t t
16361 s,@sysconfdir@,$sysconfdir,;t t
16362 s,@sharedstatedir@,$sharedstatedir,;t t
16363 s,@localstatedir@,$localstatedir,;t t
16364 s,@libdir@,$libdir,;t t
16365 s,@includedir@,$includedir,;t t
16366 s,@oldincludedir@,$oldincludedir,;t t
16367 s,@infodir@,$infodir,;t t
16368 s,@mandir@,$mandir,;t t
16369 s,@build_alias@,$build_alias,;t t
16370 s,@host_alias@,$host_alias,;t t
16371 s,@target_alias@,$target_alias,;t t
16372 s,@DEFS@,$DEFS,;t t
16373 s,@ECHO_C@,$ECHO_C,;t t
16374 s,@ECHO_N@,$ECHO_N,;t t
16375 s,@ECHO_T@,$ECHO_T,;t t
16376 s,@LIBS@,$LIBS,;t t
16377 s,@libgcj_basedir@,$libgcj_basedir,;t t
16378 s,@build@,$build,;t t
16379 s,@build_cpu@,$build_cpu,;t t
16380 s,@build_vendor@,$build_vendor,;t t
16381 s,@build_os@,$build_os,;t t
16382 s,@host@,$host,;t t
16383 s,@host_cpu@,$host_cpu,;t t
16384 s,@host_vendor@,$host_vendor,;t t
16385 s,@host_os@,$host_os,;t t
16386 s,@target@,$target,;t t
16387 s,@target_cpu@,$target_cpu,;t t
16388 s,@target_vendor@,$target_vendor,;t t
16389 s,@target_os@,$target_os,;t t
16390 s,@target_noncanonical@,$target_noncanonical,;t t
16391 s,@LN_S@,$LN_S,;t t
16392 s,@mkinstalldirs@,$mkinstalldirs,;t t
16394 s,@ac_ct_CC@,$ac_ct_CC,;t t
16395 s,@EXEEXT@,$EXEEXT,;t t
16396 s,@OBJEXT@,$OBJEXT,;t t
16398 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
16399 s,@CFLAGS@,$CFLAGS,;t t
16400 s,@CXXFLAGS@,$CXXFLAGS,;t t
16401 s,@LDFLAGS@,$LDFLAGS,;t t
16402 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
16403 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
16404 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
16405 s,@CYGPATH_W@,$CYGPATH_W,;t t
16406 s,@PACKAGE@,$PACKAGE,;t t
16407 s,@VERSION@,$VERSION,;t t
16408 s,@ACLOCAL@,$ACLOCAL,;t t
16409 s,@AUTOCONF@,$AUTOCONF,;t t
16410 s,@AUTOMAKE@,$AUTOMAKE,;t t
16411 s,@AUTOHEADER@,$AUTOHEADER,;t t
16412 s,@MAKEINFO@,$MAKEINFO,;t t
16413 s,@install_sh@,$install_sh,;t t
16414 s,@STRIP@,$STRIP,;t t
16415 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
16416 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
16417 s,@mkdir_p@,$mkdir_p,;t t
16419 s,@SET_MAKE@,$SET_MAKE,;t t
16420 s,@am__leading_dot@,$am__leading_dot,;t t
16421 s,@AMTAR@,$AMTAR,;t t
16422 s,@am__tar@,$am__tar,;t t
16423 s,@am__untar@,$am__untar,;t t
16424 s,@DEPDIR@,$DEPDIR,;t t
16425 s,@am__include@,$am__include,;t t
16426 s,@am__quote@,$am__quote,;t t
16427 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
16428 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
16429 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
16430 s,@CCDEPMODE@,$CCDEPMODE,;t t
16431 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
16432 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
16433 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
16434 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
16435 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
16437 s,@ac_ct_AS@,$ac_ct_AS,;t t
16439 s,@ac_ct_AR@,$ac_ct_AR,;t t
16440 s,@RANLIB@,$RANLIB,;t t
16441 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
16442 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
16443 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
16444 s,@MAINT@,$MAINT,;t t
16445 s,@LIBGCJ_CFLAGS@,$LIBGCJ_CFLAGS,;t t
16446 s,@LIBGCJ_CXXFLAGS@,$LIBGCJ_CXXFLAGS,;t t
16447 s,@LIBGCJ_JAVAFLAGS@,$LIBGCJ_JAVAFLAGS,;t t
16448 s,@INCLTDL@,$INCLTDL,;t t
16449 s,@LIBLTDL@,$LIBLTDL,;t t
16450 s,@DIRLTDL@,$DIRLTDL,;t t
16451 s,@LIBTOOL@,$LIBTOOL,;t t
16452 s,@CXXCPP@,$CXXCPP,;t t
16453 s,@CPPFLAGS@,$CPPFLAGS,;t t
16455 s,@GCJFLAGS@,$GCJFLAGS,;t t
16456 s,@GCJDEPMODE@,$GCJDEPMODE,;t t
16457 s,@am__fastdepGCJ_TRUE@,$am__fastdepGCJ_TRUE,;t t
16458 s,@am__fastdepGCJ_FALSE@,$am__fastdepGCJ_FALSE,;t t
16459 s,@subdirs@,$subdirs,;t t
16460 s,@COMPPATH@,$COMPPATH,;t t
16461 s,@TESTSUBDIR_TRUE@,$TESTSUBDIR_TRUE,;t t
16462 s,@TESTSUBDIR_FALSE@,$TESTSUBDIR_FALSE,;t t
16463 s,@ONESTEP_TRUE@,$ONESTEP_TRUE,;t t
16464 s,@ONESTEP_FALSE@,$ONESTEP_FALSE,;t t
16465 s,@LIBGCJDEBUG@,$LIBGCJDEBUG,;t t
16466 s,@INTERPRETER@,$INTERPRETER,;t t
16467 s,@LIBFFI@,$LIBFFI,;t t
16468 s,@LIBFFIINCS@,$LIBFFIINCS,;t t
16469 s,@PLATFORM_INNER_NAT_HDRS@,$PLATFORM_INNER_NAT_HDRS,;t t
16471 s,@EGREP@,$EGREP,;t t
16472 s,@USING_WIN32_PLATFORM_TRUE@,$USING_WIN32_PLATFORM_TRUE,;t t
16473 s,@USING_WIN32_PLATFORM_FALSE@,$USING_WIN32_PLATFORM_FALSE,;t t
16474 s,@USING_POSIX_PLATFORM_TRUE@,$USING_POSIX_PLATFORM_TRUE,;t t
16475 s,@USING_POSIX_PLATFORM_FALSE@,$USING_POSIX_PLATFORM_FALSE,;t t
16476 s,@USING_ECOS_PLATFORM_TRUE@,$USING_ECOS_PLATFORM_TRUE,;t t
16477 s,@USING_ECOS_PLATFORM_FALSE@,$USING_ECOS_PLATFORM_FALSE,;t t
16478 s,@SYSTEMSPEC@,$SYSTEMSPEC,;t t
16479 s,@LIBGCJTESTSPEC@,$LIBGCJTESTSPEC,;t t
16480 s,@ZLIBSPEC@,$ZLIBSPEC,;t t
16481 s,@ZLIBTESTSPEC@,$ZLIBTESTSPEC,;t t
16482 s,@X_CFLAGS@,$X_CFLAGS,;t t
16483 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
16484 s,@X_LIBS@,$X_LIBS,;t t
16485 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
16486 s,@TOOLKIT@,$TOOLKIT,;t t
16487 s,@XLIB_AWT_TRUE@,$XLIB_AWT_TRUE,;t t
16488 s,@XLIB_AWT_FALSE@,$XLIB_AWT_FALSE,;t t
16489 s,@GTK_AWT_TRUE@,$GTK_AWT_TRUE,;t t
16490 s,@GTK_AWT_FALSE@,$GTK_AWT_FALSE,;t t
16491 s,@GTK_CAIRO_TRUE@,$GTK_CAIRO_TRUE,;t t
16492 s,@GTK_CAIRO_FALSE@,$GTK_CAIRO_FALSE,;t t
16493 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
16494 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
16495 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
16496 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
16497 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
16498 s,@GCLIBS@,$GCLIBS,;t t
16499 s,@GCINCS@,$GCINCS,;t t
16500 s,@GCDEPS@,$GCDEPS,;t t
16501 s,@GCSPEC@,$GCSPEC,;t t
16502 s,@JC1GCSPEC@,$JC1GCSPEC,;t t
16503 s,@GCTESTSPEC@,$GCTESTSPEC,;t t
16504 s,@USING_BOEHMGC_TRUE@,$USING_BOEHMGC_TRUE,;t t
16505 s,@USING_BOEHMGC_FALSE@,$USING_BOEHMGC_FALSE,;t t
16506 s,@USING_NOGC_TRUE@,$USING_NOGC_TRUE,;t t
16507 s,@USING_NOGC_FALSE@,$USING_NOGC_FALSE,;t t
16508 s,@THREADLIBS@,$THREADLIBS,;t t
16509 s,@THREADINCS@,$THREADINCS,;t t
16510 s,@THREADDEPS@,$THREADDEPS,;t t
16511 s,@THREADSPEC@,$THREADSPEC,;t t
16512 s,@THREADLDFLAGS@,$THREADLDFLAGS,;t t
16513 s,@THREADCXXFLAGS@,$THREADCXXFLAGS,;t t
16514 s,@USING_POSIX_THREADS_TRUE@,$USING_POSIX_THREADS_TRUE,;t t
16515 s,@USING_POSIX_THREADS_FALSE@,$USING_POSIX_THREADS_FALSE,;t t
16516 s,@USING_WIN32_THREADS_TRUE@,$USING_WIN32_THREADS_TRUE,;t t
16517 s,@USING_WIN32_THREADS_FALSE@,$USING_WIN32_THREADS_FALSE,;t t
16518 s,@USING_NO_THREADS_TRUE@,$USING_NO_THREADS_TRUE,;t t
16519 s,@USING_NO_THREADS_FALSE@,$USING_NO_THREADS_FALSE,;t t
16520 s,@HASH_SYNC_SPEC@,$HASH_SYNC_SPEC,;t t
16521 s,@USING_GCC_TRUE@,$USING_GCC_TRUE,;t t
16522 s,@USING_GCC_FALSE@,$USING_GCC_FALSE,;t t
16523 s,@tool_include_dir@,$tool_include_dir,;t t
16524 s,@gcc_version@,$gcc_version,;t t
16525 s,@LIBICONV@,$LIBICONV,;t t
16526 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
16527 s,@GTK_LIBS@,$GTK_LIBS,;t t
16528 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
16529 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
16530 s,@LIBART_CFLAGS@,$LIBART_CFLAGS,;t t
16531 s,@LIBART_LIBS@,$LIBART_LIBS,;t t
16532 s,@SUPPLY_BACKTRACE_TRUE@,$SUPPLY_BACKTRACE_TRUE,;t t
16533 s,@SUPPLY_BACKTRACE_FALSE@,$SUPPLY_BACKTRACE_FALSE,;t t
16534 s,@GCJH@,$GCJH,;t t
16536 s,@ac_ct_GCJ@,$ac_ct_GCJ,;t t
16537 s,@ZLIBS@,$ZLIBS,;t t
16538 s,@SYS_ZLIBS@,$SYS_ZLIBS,;t t
16539 s,@ZINCS@,$ZINCS,;t t
16540 s,@DIVIDESPEC@,$DIVIDESPEC,;t t
16541 s,@CHECKREFSPEC@,$CHECKREFSPEC,;t t
16542 s,@EXCEPTIONSPEC@,$EXCEPTIONSPEC,;t t
16543 s,@IEEESPEC@,$IEEESPEC,;t t
16544 s,@NATIVE_TRUE@,$NATIVE_TRUE,;t t
16545 s,@NATIVE_FALSE@,$NATIVE_FALSE,;t t
16546 s,@NEEDS_DATA_START_TRUE@,$NEEDS_DATA_START_TRUE,;t t
16547 s,@NEEDS_DATA_START_FALSE@,$NEEDS_DATA_START_FALSE,;t t
16548 s,@GCC_UNWIND_INCLUDE@,$GCC_UNWIND_INCLUDE,;t t
16549 s,@toolexecdir@,$toolexecdir,;t t
16550 s,@toolexecmainlibdir@,$toolexecmainlibdir,;t t
16551 s,@toolexeclibdir@,$toolexeclibdir,;t t
16552 s,@GCJVERSION@,$GCJVERSION,;t t
16553 s,@ALLOCA@,$ALLOCA,;t t
16554 s,@PERL@,$PERL,;t t
16555 s,@BACKTRACESPEC@,$BACKTRACESPEC,;t t
16556 s,@SYSDEP_SOURCES@,$SYSDEP_SOURCES,;t t
16557 s,@here@,$here,;t t
16558 s,@LIBOBJS@,$LIBOBJS,;t t
16559 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
16564 cat >>$CONFIG_STATUS <<\_ACEOF
16565 # Split the substitutions into bite-sized pieces for seds with
16566 # small command number limits, like on Digital OSF/1 and HP-UX.
16567 ac_max_sed_lines
=48
16568 ac_sed_frag
=1 # Number of current file.
16569 ac_beg
=1 # First line for current file.
16570 ac_end
=$ac_max_sed_lines # Line after last line for current file.
16573 while $ac_more_lines; do
16574 if test $ac_beg -gt 1; then
16575 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
16577 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
16579 if test ! -s $tmp/subs.frag
; then
16580 ac_more_lines
=false
16582 # The purpose of the label and of the branching condition is to
16583 # speed up the sed processing (if there are no `@' at all, there
16584 # is no need to browse any of the substitutions).
16585 # These are the two extra sed commands mentioned above.
16587 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
16588 if test -z "$ac_sed_cmds"; then
16589 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
16591 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
16593 ac_sed_frag
=`expr $ac_sed_frag + 1`
16595 ac_end
=`expr $ac_end + $ac_max_sed_lines`
16598 if test -z "$ac_sed_cmds"; then
16601 fi # test -n "$CONFIG_FILES"
16604 cat >>$CONFIG_STATUS <<\_ACEOF
16605 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
16606 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16608 - |
*:- |
*:-:* ) # input from stdin
16610 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16611 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16612 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16613 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16614 * ) ac_file_in
=$ac_file.
in ;;
16617 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
16618 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
16619 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16620 X"$ac_file" : 'X\(//\)[^/]' \| \
16621 X"$ac_file" : 'X\(//\)$' \| \
16622 X"$ac_file" : 'X\(/\)' \| \
16623 . : '\(.\)' 2>/dev/null ||
16625 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16626 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16627 /^X\(\/\/\)$/{ s//\1/; q; }
16628 /^X\(\/\).*/{ s//\1/; q; }
16630 { if $as_mkdir_p; then
16635 while test ! -d "$as_dir"; do
16636 as_dirs
="$as_dir $as_dirs"
16637 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16638 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16639 X"$as_dir" : 'X\(//\)[^/]' \| \
16640 X"$as_dir" : 'X\(//\)$' \| \
16641 X"$as_dir" : 'X\(/\)' \| \
16642 . : '\(.\)' 2>/dev/null ||
16644 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16645 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16646 /^X\(\/\/\)$/{ s//\1/; q; }
16647 /^X\(\/\).*/{ s//\1/; q; }
16650 test ! -n "$as_dirs" || mkdir
$as_dirs
16651 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16652 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16653 { (exit 1); exit 1; }; }; }
16657 if test "$ac_dir" != .
; then
16658 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16659 # A "../" for each directory in $ac_dir_suffix.
16660 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16662 ac_dir_suffix
= ac_top_builddir
=
16666 .
) # No --srcdir option. We are building in place.
16668 if test -z "$ac_top_builddir"; then
16671 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
16673 [\\/]* | ?
:[\\/]* ) # Absolute path.
16674 ac_srcdir
=$srcdir$ac_dir_suffix;
16675 ac_top_srcdir
=$srcdir ;;
16676 *) # Relative path.
16677 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
16678 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
16681 # Do not use `cd foo && pwd` to compute absolute paths, because
16682 # the directories may not exist.
16684 .
) ac_abs_builddir
="$ac_dir";;
16687 .
) ac_abs_builddir
=`pwd`;;
16688 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
16689 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
16692 case $ac_abs_builddir in
16693 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16695 case ${ac_top_builddir}.
in
16696 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
16697 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16698 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
16701 case $ac_abs_builddir in
16702 .
) ac_abs_srcdir
=$ac_srcdir;;
16705 .
) ac_abs_srcdir
=$ac_abs_builddir;;
16706 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
16707 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
16710 case $ac_abs_builddir in
16711 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
16713 case $ac_top_srcdir in
16714 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
16715 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
16716 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
16722 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16723 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
16726 # Let's still pretend it is `configure' which instantiates (i.e., don't
16727 # use $as_me), people would be surprised to read:
16728 # /* config.h. Generated by config.status. */
16729 if test x
"$ac_file" = x-
; then
16732 configure_input
="$ac_file. "
16734 configure_input
=$configure_input"Generated from `echo $ac_file_in |
16735 sed 's,.*/,,'` by configure."
16737 # First look for the input files in the build tree, otherwise in the
16739 ac_file_inputs
=`IFS=:
16740 for f in $ac_file_in; do
16742 -) echo $tmp/stdin ;;
16744 # Absolute (can't be DOS-style, as IFS=:)
16745 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16746 echo "$as_me: error: cannot find input file: $f" >&2;}
16747 { (exit 1); exit 1; }; }
16750 if test -f "$f"; then
16753 elif test -f "$srcdir/$f"; then
16758 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16759 echo "$as_me: error: cannot find input file: $f" >&2;}
16760 { (exit 1); exit 1; }; }
16763 done` ||
{ (exit 1); exit 1; }
16765 if test x
"$ac_file" != x-
; then
16766 { echo "$as_me:$LINENO: creating $ac_file" >&5
16767 echo "$as_me: creating $ac_file" >&6;}
16771 cat >>$CONFIG_STATUS <<_ACEOF
16775 cat >>$CONFIG_STATUS <<\_ACEOF
16777 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16778 s
,@configure_input@
,$configure_input,;t t
16779 s
,@srcdir@
,$ac_srcdir,;t t
16780 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
16781 s
,@top_srcdir@
,$ac_top_srcdir,;t t
16782 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
16783 s
,@builddir@
,$ac_builddir,;t t
16784 s
,@abs_builddir@
,$ac_abs_builddir,;t t
16785 s
,@top_builddir@
,$ac_top_builddir,;t t
16786 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
16787 s
,@INSTALL@
,$ac_INSTALL,;t t
16788 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
16790 if test x"$ac_file" != x-; then
16791 mv $tmp/out $ac_file
16799 cat >>$CONFIG_STATUS <<\_ACEOF
16802 # CONFIG_HEADER section.
16805 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
16806 # NAME is the cpp macro being defined and VALUE is the value it is being given.
16808 # ac_d sets the value in "#define NAME VALUE" lines.
16809 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16810 ac_dB
='[ ].*$,\1#\2'
16813 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
16814 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16815 ac_uB
='$,\1#\2define\3'
16819 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
16820 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16822 - |
*:- |
*:-:* ) # input from stdin
16824 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16825 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16826 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16827 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16828 * ) ac_file_in
=$ac_file.
in ;;
16831 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
16832 echo "$as_me: creating $ac_file" >&6;}
16834 # First look for the input files in the build tree, otherwise in the
16836 ac_file_inputs
=`IFS=:
16837 for f in $ac_file_in; do
16839 -) echo $tmp/stdin ;;
16841 # Absolute (can't be DOS-style, as IFS=:)
16842 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16843 echo "$as_me: error: cannot find input file: $f" >&2;}
16844 { (exit 1); exit 1; }; }
16845 # Do quote $f, to prevent DOS paths from being IFS'd.
16848 if test -f "$f"; then
16851 elif test -f "$srcdir/$f"; then
16856 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16857 echo "$as_me: error: cannot find input file: $f" >&2;}
16858 { (exit 1); exit 1; }; }
16861 done` ||
{ (exit 1); exit 1; }
16862 # Remove the trailing spaces.
16863 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
16867 # Transform confdefs.h into two sed scripts, `conftest.defines' and
16868 # `conftest.undefs', that substitutes the proper values into
16869 # config.h.in to produce config.h. The first handles `#define'
16870 # templates, and the second `#undef' templates.
16871 # And first: Protect against being on the right side of a sed subst in
16872 # config.status. Protect against being in an unquoted here document
16873 # in config.status.
16874 rm -f conftest.defines conftest.undefs
16875 # Using a here document instead of a string reduces the quoting nightmare.
16876 # Putting comments in sed scripts is not portable.
16878 # `end' is used to avoid that the second main sed command (meant for
16879 # 0-ary CPP macros) applies to n-ary macro definitions.
16880 # See the Autoconf documentation for `clear'.
16881 cat >confdef2sed.
sed <<\_ACEOF
16886 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
16888 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
16891 # If some macros were called several times there might be several times
16892 # the same #defines, which is useless. Nevertheless, we may not want to
16893 # sort them, since we want the *last* AC-DEFINE to be honored.
16894 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
16895 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
16896 rm -f confdef2sed.sed
16898 # This sed command replaces #undef with comments. This is necessary, for
16899 # example, in the case of _POSIX_SOURCE, which is predefined and required
16900 # on some systems where configure will not decide to define it.
16901 cat >>conftest.undefs <<\_ACEOF
16902 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
16905 # Break up conftest.defines because some shells have a limit on the size
16906 # of here documents, and old seds have small limits too (100 cmds).
16907 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
16908 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
16909 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
16910 echo ' :' >>$CONFIG_STATUS
16911 rm -f conftest.tail
16912 while grep . conftest.defines >/dev/null
16914 # Write a limited-size here document to $tmp/defines.sed.
16915 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
16916 # Speed up: don't consider the non `#define' lines.
16917 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
16918 # Work around the forget-to-reset-the-flag bug.
16919 echo 't clr' >>$CONFIG_STATUS
16920 echo ': clr' >>$CONFIG_STATUS
16921 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
16923 sed -f $tmp/defines.sed $tmp/in >$tmp/out
16925 mv $tmp/out $tmp/in
16927 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
16928 rm -f conftest.defines
16929 mv conftest.
tail conftest.defines
16931 rm -f conftest.defines
16932 echo ' fi # grep' >>$CONFIG_STATUS
16933 echo >>$CONFIG_STATUS
16935 # Break up conftest.undefs because some shells have a limit on the size
16936 # of here documents, and old seds have small limits too (100 cmds).
16937 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
16938 rm -f conftest.
tail
16939 while grep . conftest.undefs
>/dev
/null
16941 # Write a limited-size here document to $tmp/undefs.sed.
16942 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
16943 # Speed up: don't consider the non
`#undef'
16944 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
16945 # Work around the forget-to-reset-the-flag bug.
16946 echo 't clr' >>$CONFIG_STATUS
16947 echo ': clr' >>$CONFIG_STATUS
16948 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
16950 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
16952 mv $tmp/out $tmp/in
16954 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
16955 rm -f conftest.undefs
16956 mv conftest.tail conftest.undefs
16958 rm -f conftest.undefs
16960 cat >>$CONFIG_STATUS <<\_ACEOF
16961 # Let's still pretend it is `configure
' which instantiates (i.e., don't
16962 # use $as_me), people would be surprised to read:
16963 # /* config.h. Generated by config.status. */
16964 if test x
"$ac_file" = x-
; then
16965 echo "/* Generated by configure. */" >$tmp/config.h
16967 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
16969 cat $tmp/in >>$tmp/config.h
16971 if test x
"$ac_file" != x-
; then
16972 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
16973 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16974 echo "$as_me: $ac_file is unchanged" >&6;}
16976 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
16977 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16978 X"$ac_file" : 'X\(//\)[^/]' \| \
16979 X"$ac_file" : 'X\(//\)$' \| \
16980 X"$ac_file" : 'X\(/\)' \| \
16981 . : '\(.\)' 2>/dev/null ||
16983 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16984 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16985 /^X\(\/\/\)$/{ s//\1/; q; }
16986 /^X\(\/\).*/{ s//\1/; q; }
16988 { if $as_mkdir_p; then
16993 while test ! -d "$as_dir"; do
16994 as_dirs
="$as_dir $as_dirs"
16995 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16996 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16997 X"$as_dir" : 'X\(//\)[^/]' \| \
16998 X"$as_dir" : 'X\(//\)$' \| \
16999 X"$as_dir" : 'X\(/\)' \| \
17000 . : '\(.\)' 2>/dev/null ||
17002 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17003 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17004 /^X\(\/\/\)$/{ s//\1/; q; }
17005 /^X\(\/\).*/{ s//\1/; q; }
17008 test ! -n "$as_dirs" || mkdir
$as_dirs
17009 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17010 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17011 { (exit 1); exit 1; }; }; }
17014 mv $tmp/config.h
$ac_file
17018 rm -f $tmp/config.h
17020 # Compute $ac_file's index in $config_headers.
17022 for _am_header
in $config_headers :; do
17023 case $_am_header in
17024 $ac_file |
$ac_file:* )
17027 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17030 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
17031 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17032 X$ac_file : 'X\(//\)[^/]' \| \
17033 X$ac_file : 'X\(//\)$' \| \
17034 X$ac_file : 'X\(/\)' \| \
17035 . : '\(.\)' 2>/dev/null ||
17037 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17038 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17039 /^X\(\/\/\)$/{ s//\1/; q; }
17040 /^X\(\/\).*/{ s//\1/; q; }
17041 s/.*/./; q'`/stamp-h
$_am_stamp_count
17044 cat >>$CONFIG_STATUS <<\_ACEOF
17047 # CONFIG_LINKS section.
17050 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
17051 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
17052 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17054 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
17055 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
17057 if test ! -r $srcdir/$ac_source; then
17058 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
17059 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
17060 { (exit 1); exit 1; }; }
17064 # Make relative symlinks.
17065 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
17066 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17067 X"$ac_dest" : 'X\(//\)[^/]' \| \
17068 X"$ac_dest" : 'X\(//\)$' \| \
17069 X"$ac_dest" : 'X\(/\)' \| \
17070 . : '\(.\)' 2>/dev/null ||
17072 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17073 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17074 /^X\(\/\/\)$/{ s//\1/; q; }
17075 /^X\(\/\).*/{ s//\1/; q; }
17077 { if $as_mkdir_p; then
17078 mkdir
-p "$ac_dest_dir"
17080 as_dir
="$ac_dest_dir"
17082 while test ! -d "$as_dir"; do
17083 as_dirs
="$as_dir $as_dirs"
17084 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17085 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17086 X"$as_dir" : 'X\(//\)[^/]' \| \
17087 X"$as_dir" : 'X\(//\)$' \| \
17088 X"$as_dir" : 'X\(/\)' \| \
17089 . : '\(.\)' 2>/dev/null ||
17091 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17092 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17093 /^X\(\/\/\)$/{ s//\1/; q; }
17094 /^X\(\/\).*/{ s//\1/; q; }
17097 test ! -n "$as_dirs" || mkdir
$as_dirs
17098 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
17099 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
17100 { (exit 1); exit 1; }; }; }
17104 if test "$ac_dest_dir" != .
; then
17105 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
17106 # A "../" for each directory in $ac_dir_suffix.
17107 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17109 ac_dir_suffix
= ac_top_builddir
=
17113 .
) # No --srcdir option. We are building in place.
17115 if test -z "$ac_top_builddir"; then
17118 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
17120 [\\/]* | ?
:[\\/]* ) # Absolute path.
17121 ac_srcdir
=$srcdir$ac_dir_suffix;
17122 ac_top_srcdir
=$srcdir ;;
17123 *) # Relative path.
17124 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
17125 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
17128 # Do not use `cd foo && pwd` to compute absolute paths, because
17129 # the directories may not exist.
17131 .
) ac_abs_builddir
="$ac_dest_dir";;
17133 case "$ac_dest_dir" in
17134 .
) ac_abs_builddir
=`pwd`;;
17135 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
17136 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
17139 case $ac_abs_builddir in
17140 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17142 case ${ac_top_builddir}.
in
17143 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
17144 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17145 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
17148 case $ac_abs_builddir in
17149 .
) ac_abs_srcdir
=$ac_srcdir;;
17152 .
) ac_abs_srcdir
=$ac_abs_builddir;;
17153 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
17154 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
17157 case $ac_abs_builddir in
17158 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
17160 case $ac_top_srcdir in
17161 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
17162 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
17163 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
17169 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
17170 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
17173 # Try a symlink, then a hard link, then a copy.
17174 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
17175 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
17176 cp -p $srcdir/$ac_source $ac_dest ||
17177 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
17178 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
17179 { (exit 1); exit 1; }; }
17182 cat >>$CONFIG_STATUS <<\_ACEOF
17185 # CONFIG_COMMANDS section.
17187 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
17188 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
17189 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17190 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
17191 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17192 X"$ac_dest" : 'X\(//\)[^/]' \| \
17193 X"$ac_dest" : 'X\(//\)$' \| \
17194 X"$ac_dest" : 'X\(/\)' \| \
17195 . : '\(.\)' 2>/dev/null ||
17197 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17198 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17199 /^X\(\/\/\)$/{ s//\1/; q; }
17200 /^X\(\/\).*/{ s//\1/; q; }
17202 { if $as_mkdir_p; then
17207 while test ! -d "$as_dir"; do
17208 as_dirs
="$as_dir $as_dirs"
17209 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17210 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17211 X"$as_dir" : 'X\(//\)[^/]' \| \
17212 X"$as_dir" : 'X\(//\)$' \| \
17213 X"$as_dir" : 'X\(/\)' \| \
17214 . : '\(.\)' 2>/dev/null ||
17216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17217 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17218 /^X\(\/\/\)$/{ s//\1/; q; }
17219 /^X\(\/\).*/{ s//\1/; q; }
17222 test ! -n "$as_dirs" || mkdir
$as_dirs
17223 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17224 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17225 { (exit 1); exit 1; }; }; }
17229 if test "$ac_dir" != .
; then
17230 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17231 # A "../" for each directory in $ac_dir_suffix.
17232 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17234 ac_dir_suffix
= ac_top_builddir
=
17238 .
) # No --srcdir option. We are building in place.
17240 if test -z "$ac_top_builddir"; then
17243 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
17245 [\\/]* | ?
:[\\/]* ) # Absolute path.
17246 ac_srcdir
=$srcdir$ac_dir_suffix;
17247 ac_top_srcdir
=$srcdir ;;
17248 *) # Relative path.
17249 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
17250 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
17253 # Do not use `cd foo && pwd` to compute absolute paths, because
17254 # the directories may not exist.
17256 .
) ac_abs_builddir
="$ac_dir";;
17259 .
) ac_abs_builddir
=`pwd`;;
17260 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
17261 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
17264 case $ac_abs_builddir in
17265 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17267 case ${ac_top_builddir}.
in
17268 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
17269 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17270 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
17273 case $ac_abs_builddir in
17274 .
) ac_abs_srcdir
=$ac_srcdir;;
17277 .
) ac_abs_srcdir
=$ac_abs_builddir;;
17278 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
17279 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
17282 case $ac_abs_builddir in
17283 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
17285 case $ac_top_srcdir in
17286 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
17287 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
17288 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
17293 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
17294 echo "$as_me: executing $ac_dest commands" >&6;}
17296 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
17297 # Strip MF so we end up with the name of the file.
17298 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17299 # Check whether this is an Automake generated Makefile or not.
17300 # We used to match only the files named `Makefile.in', but
17301 # some people rename them; so instead we look at the file content.
17302 # Grep'ing the first line is not enough: some people post-process
17303 # each Makefile.in and add a new line on top of each file to say so.
17304 # So let's grep whole file.
17305 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
17306 dirpart
=`(dirname "$mf") 2>/dev/null ||
17307 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17308 X"$mf" : 'X\(//\)[^/]' \| \
17309 X"$mf" : 'X\(//\)$' \| \
17310 X"$mf" : 'X\(/\)' \| \
17311 . : '\(.\)' 2>/dev/null ||
17313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17314 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17315 /^X\(\/\/\)$/{ s//\1/; q; }
17316 /^X\(\/\).*/{ s//\1/; q; }
17321 # Extract the definition of DEPDIR, am__include, and am__quote
17322 # from the Makefile without running `make'.
17323 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17324 test -z "$DEPDIR" && continue
17325 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17326 test -z "am__include" && continue
17327 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17328 # When using ansi2knr, U may be empty or an underscore; expand it
17329 U
=`sed -n 's/^U = //p' < "$mf"`
17330 # Find all dependency output files, they are included files with
17331 # $(DEPDIR) in their names. We invoke sed twice because it is the
17332 # simplest approach to changing $(DEPDIR) to its actual value in the
17334 for file in `sed -n "
17335 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17336 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17337 # Make sure the directory exists.
17338 test -f "$dirpart/$file" && continue
17339 fdir
=`(dirname "$file") 2>/dev/null ||
17340 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17341 X"$file" : 'X\(//\)[^/]' \| \
17342 X"$file" : 'X\(//\)$' \| \
17343 X"$file" : 'X\(/\)' \| \
17344 . : '\(.\)' 2>/dev/null ||
17346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17347 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17348 /^X\(\/\/\)$/{ s//\1/; q; }
17349 /^X\(\/\).*/{ s//\1/; q; }
17351 { if $as_mkdir_p; then
17352 mkdir
-p $dirpart/$fdir
17354 as_dir
=$dirpart/$fdir
17356 while test ! -d "$as_dir"; do
17357 as_dirs
="$as_dir $as_dirs"
17358 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17359 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17360 X"$as_dir" : 'X\(//\)[^/]' \| \
17361 X"$as_dir" : 'X\(//\)$' \| \
17362 X"$as_dir" : 'X\(/\)' \| \
17363 . : '\(.\)' 2>/dev/null ||
17365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17366 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17367 /^X\(\/\/\)$/{ s//\1/; q; }
17368 /^X\(\/\).*/{ s//\1/; q; }
17371 test ! -n "$as_dirs" || mkdir
$as_dirs
17372 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
17373 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
17374 { (exit 1); exit 1; }; }; }
17376 # echo "creating $dirpart/$file"
17377 echo '# dummy' > "$dirpart/$file"
17381 default
) # Only add multilib support code if we just rebuilt top-level Makefile.
17382 case " $CONFIG_FILES " in
17384 LD
="${ORIGINAL_LD_FOR_MULTILIBS}"
17385 ac_file
=Makefile .
${libgcj_basedir}/..
/config-ml.
in
17389 # Make subdirectories and `.d' files. Look in both srcdir and
17390 # builddir for the .java files.
17393 ( (cd $srcdir && find . \
( -name '*.java' -o -name '*.cc' -o -name '*.c' \
) -print) ;
17394 find . \
( -name '*.java' -o -name '*.cc' -o -name '*.c' \
) -print) | \
17395 fgrep
-v testsuite | \
17396 sed -e 's/\.java/.d/'\
;'s/\.cc/.d/'\
;'s/\.c/.d/' | \
17398 echo "include $f" >> deps.mk
17400 d
=`echo $f | sed -e 's,/[^/]*$,,'`
17401 if test ! -d $d; then
17402 $libgcj_basedir/..
/mkinstalldirs
$d
17412 cat >>$CONFIG_STATUS <<\_ACEOF
17414 { (exit 0); exit 0; }
17416 chmod +x
$CONFIG_STATUS
17417 ac_clean_files
=$ac_clean_files_save
17420 # configure is writing to config.log, and then calls config.status.
17421 # config.status does its own redirection, appending to config.log.
17422 # Unfortunately, on DOS this fails, as config.log is still kept open
17423 # by configure, so config.status won't be able to write to it; its
17424 # output is simply discarded. So we exec the FD to /dev/null,
17425 # effectively closing config.log, so it can be properly (re)opened and
17426 # appended to by config.status. When coming back to configure, we
17427 # need to make the FD available again.
17428 if test "$no_create" != yes; then
17430 ac_config_status_args
=
17431 test "$silent" = yes &&
17432 ac_config_status_args
="$ac_config_status_args --quiet"
17434 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17436 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17437 # would make configure fail if this is the last instruction.
17438 $ac_cs_success ||
{ (exit 1); exit 1; }
17442 # CONFIG_SUBDIRS section.
17444 if test "$no_recursion" != yes; then
17446 # Remove --cache-file and --srcdir arguments so they do not pile up.
17447 ac_sub_configure_args
=
17449 for ac_arg
in $ac_configure_args; do
17450 if test -n "$ac_prev"; then
17455 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
17456 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
17457 ac_prev
=cache_file
;;
17458 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
17459 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
17462 --config-cache |
-C)
17464 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
17466 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
17468 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
17470 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
17472 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
17476 # Always prepend --prefix to ensure using the same prefix
17477 # in subdir configurations.
17478 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
17481 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
17483 # Do not complain, so a configure script can configure whichever
17484 # parts of a large source tree are present.
17485 test -d $srcdir/$ac_dir ||
continue
17487 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
17488 echo "$as_me: configuring in $ac_dir" >&6;}
17489 { if $as_mkdir_p; then
17494 while test ! -d "$as_dir"; do
17495 as_dirs
="$as_dir $as_dirs"
17496 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17497 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17498 X"$as_dir" : 'X\(//\)[^/]' \| \
17499 X"$as_dir" : 'X\(//\)$' \| \
17500 X"$as_dir" : 'X\(/\)' \| \
17501 . : '\(.\)' 2>/dev/null ||
17503 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17504 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17505 /^X\(\/\/\)$/{ s//\1/; q; }
17506 /^X\(\/\).*/{ s//\1/; q; }
17509 test ! -n "$as_dirs" || mkdir
$as_dirs
17510 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17511 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17512 { (exit 1); exit 1; }; }; }
17516 if test "$ac_dir" != .
; then
17517 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17518 # A "../" for each directory in $ac_dir_suffix.
17519 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17521 ac_dir_suffix
= ac_top_builddir
=
17525 .
) # No --srcdir option. We are building in place.
17527 if test -z "$ac_top_builddir"; then
17530 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
17532 [\\/]* | ?
:[\\/]* ) # Absolute path.
17533 ac_srcdir
=$srcdir$ac_dir_suffix;
17534 ac_top_srcdir
=$srcdir ;;
17535 *) # Relative path.
17536 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
17537 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
17540 # Do not use `cd foo && pwd` to compute absolute paths, because
17541 # the directories may not exist.
17543 .
) ac_abs_builddir
="$ac_dir";;
17546 .
) ac_abs_builddir
=`pwd`;;
17547 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
17548 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
17551 case $ac_abs_builddir in
17552 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17554 case ${ac_top_builddir}.
in
17555 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
17556 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17557 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
17560 case $ac_abs_builddir in
17561 .
) ac_abs_srcdir
=$ac_srcdir;;
17564 .
) ac_abs_srcdir
=$ac_abs_builddir;;
17565 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
17566 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
17569 case $ac_abs_builddir in
17570 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
17572 case $ac_top_srcdir in
17573 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
17574 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
17575 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
17582 # Check for guested configure; otherwise get Cygnus style configure.
17583 if test -f $ac_srcdir/configure.gnu
; then
17584 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
17585 elif test -f $ac_srcdir/configure
; then
17586 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
17587 elif test -f $ac_srcdir/configure.
in; then
17588 ac_sub_configure
=$ac_configure
17590 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
17591 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
17595 # The recursion is here.
17596 if test -n "$ac_sub_configure"; then
17597 # Make the cache file name correct relative to the subdirectory.
17598 case $cache_file in
17599 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
17600 *) # Relative path.
17601 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
17604 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
17605 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
17606 # The eval makes quoting arguments work.
17607 eval $ac_sub_configure $ac_sub_configure_args \
17608 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
17609 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
17610 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
17611 { (exit 1); exit 1; }; }