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 USING_DARWIN_CRT_TRUE USING_DARWIN_CRT_FALSE SYSTEMSPEC LIBGCJTESTSPEC ZLIBSPEC ZLIBTESTSPEC X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS TOOLKIT XLIB_AWT_TRUE XLIB_AWT_FALSE GTK_AWT_TRUE GTK_AWT_FALSE GTK_CAIRO_TRUE GTK_CAIRO_FALSE PKG_CONFIG CAIRO_CFLAGS CAIRO_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS GCLIBS GCINCS GCDEPS GCSPEC JC1GCSPEC GCTESTSPEC USING_BOEHMGC_TRUE USING_BOEHMGC_FALSE USING_NOGC_TRUE USING_NOGC_FALSE THREADLIBS THREADINCS THREADDEPS THREADSPEC THREADLDFLAGS THREADCXXFLAGS USING_POSIX_THREADS_TRUE USING_POSIX_THREADS_FALSE USING_WIN32_THREADS_TRUE USING_WIN32_THREADS_FALSE USING_NO_THREADS_TRUE USING_NO_THREADS_FALSE HASH_SYNC_SPEC USING_GCC_TRUE USING_GCC_FALSE tool_include_dir gcc_version LIBICONV LTLIBICONV GTK_CFLAGS GTK_LIBS GLIB_CFLAGS GLIB_LIBS LIBART_CFLAGS LIBART_LIBS SUPPLY_BACKTRACE_TRUE SUPPLY_BACKTRACE_FALSE GCJH ZIP CLASSPATH_SEPARATOR ac_ct_GCJ ZLIBS SYS_ZLIBS ZINCS DIVIDESPEC CHECKREFSPEC EXCEPTIONSPEC IEEESPEC NATIVE_TRUE NATIVE_FALSE NEEDS_DATA_START_TRUE NEEDS_DATA_START_FALSE GCC_UNWIND_INCLUDE toolexecdir toolexecmainlibdir toolexeclibdir GCJVERSION ALLOCA PERL BACKTRACESPEC SYSDEP_SOURCES here LIBOBJS LTLIBOBJS'
316 # Initialize some variables set by options.
318 ac_init_version
=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
328 program_transform_name
=s
,x
,x
,
336 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo"
338 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them.
341 bindir
='${exec_prefix}/bin'
342 sbindir
='${exec_prefix}/sbin'
343 libexecdir
='${exec_prefix}/libexec'
344 datadir
='${prefix}/share'
345 sysconfdir
='${prefix}/etc'
346 sharedstatedir
='${prefix}/com'
347 localstatedir
='${prefix}/var'
348 libdir
='${exec_prefix}/lib'
349 includedir
='${prefix}/include'
350 oldincludedir
='/usr/include'
351 infodir
='${prefix}/info'
352 mandir
='${prefix}/man'
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
364 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366 # Accept the important Cygnus configure options, so we can diagnose typos.
370 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
372 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
375 -build |
--build |
--buil |
--bui |
--bu)
376 ac_prev
=build_alias
;;
377 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
378 build_alias
=$ac_optarg ;;
380 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
381 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
382 ac_prev
=cache_file
;;
383 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
384 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
385 cache_file
=$ac_optarg ;;
388 cache_file
=config.cache
;;
390 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
392 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
394 datadir
=$ac_optarg ;;
396 -disable-* |
--disable-*)
397 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401 { (exit 1); exit 1; }; }
402 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;;
405 -enable-* |
--enable-*)
406 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410 { (exit 1); exit 1; }; }
411 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
413 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 eval "enable_$ac_feature='$ac_optarg'" ;;
418 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
419 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
420 |
--exec |
--exe |
--ex)
421 ac_prev
=exec_prefix
;;
422 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
423 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
424 |
--exec=* |
--exe=* |
--ex=*)
425 exec_prefix
=$ac_optarg ;;
427 -gas |
--gas |
--ga |
--g)
428 # Obsolete; use --with-gas.
431 -help |
--help |
--hel |
--he |
-h)
433 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
434 ac_init_help
=recursive
;;
435 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
436 ac_init_help
=short
;;
438 -host |
--host |
--hos |
--ho)
439 ac_prev
=host_alias
;;
440 -host=* |
--host=* |
--hos=* |
--ho=*)
441 host_alias
=$ac_optarg ;;
443 -includedir |
--includedir |
--includedi |
--included |
--include \
444 |
--includ |
--inclu |
--incl |
--inc)
445 ac_prev
=includedir
;;
446 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
447 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
448 includedir
=$ac_optarg ;;
450 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
452 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
453 infodir
=$ac_optarg ;;
455 -libdir |
--libdir |
--libdi |
--libd)
457 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
460 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
461 |
--libexe |
--libex |
--libe)
462 ac_prev
=libexecdir
;;
463 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
464 |
--libexe=* |
--libex=* |
--libe=*)
465 libexecdir
=$ac_optarg ;;
467 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
468 |
--localstate |
--localstat |
--localsta |
--localst \
469 |
--locals |
--local |
--loca |
--loc |
--lo)
470 ac_prev
=localstatedir
;;
471 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
472 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
473 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
474 localstatedir
=$ac_optarg ;;
476 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
478 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
482 # Obsolete; use --without-fp.
485 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
486 |
--no-cr |
--no-c |
-n)
489 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
490 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
493 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
494 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
495 |
--oldin |
--oldi |
--old |
--ol |
--o)
496 ac_prev
=oldincludedir
;;
497 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
498 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
499 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
500 oldincludedir
=$ac_optarg ;;
502 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
504 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
507 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
508 |
--program-pre |
--program-pr |
--program-p)
509 ac_prev
=program_prefix
;;
510 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
511 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
512 program_prefix
=$ac_optarg ;;
514 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
515 |
--program-suf |
--program-su |
--program-s)
516 ac_prev
=program_suffix
;;
517 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
518 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
519 program_suffix
=$ac_optarg ;;
521 -program-transform-name |
--program-transform-name \
522 |
--program-transform-nam |
--program-transform-na \
523 |
--program-transform-n |
--program-transform- \
524 |
--program-transform |
--program-transfor \
525 |
--program-transfo |
--program-transf \
526 |
--program-trans |
--program-tran \
527 |
--progr-tra |
--program-tr |
--program-t)
528 ac_prev
=program_transform_name
;;
529 -program-transform-name=* |
--program-transform-name=* \
530 |
--program-transform-nam=* |
--program-transform-na=* \
531 |
--program-transform-n=* |
--program-transform-=* \
532 |
--program-transform=* |
--program-transfor=* \
533 |
--program-transfo=* |
--program-transf=* \
534 |
--program-trans=* |
--program-tran=* \
535 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
536 program_transform_name
=$ac_optarg ;;
538 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
539 |
-silent |
--silent |
--silen |
--sile |
--sil)
542 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
544 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
546 sbindir
=$ac_optarg ;;
548 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
549 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
550 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
552 ac_prev
=sharedstatedir
;;
553 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
554 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
555 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
557 sharedstatedir
=$ac_optarg ;;
559 -site |
--site |
--sit)
561 -site=* |
--site=* |
--sit=*)
564 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
566 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
569 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
570 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
571 ac_prev
=sysconfdir
;;
572 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
573 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
574 sysconfdir
=$ac_optarg ;;
576 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
577 ac_prev
=target_alias
;;
578 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
579 target_alias
=$ac_optarg ;;
581 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
584 -version |
--version |
--versio |
--versi |
--vers |
-V)
588 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; }
593 ac_package
=`echo $ac_package| sed 's/-/_/g'`
595 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 eval "with_$ac_package='$ac_optarg'" ;;
600 -without-* |
--without-*)
601 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2
605 { (exit 1); exit 1; }; }
606 ac_package
=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;;
610 # Obsolete; use --with-x.
613 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
614 |
--x-incl |
--x-inc |
--x-in |
--x-i)
615 ac_prev
=x_includes
;;
616 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
617 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
618 x_includes
=$ac_optarg ;;
620 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
621 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
622 ac_prev
=x_libraries
;;
623 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
624 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
625 x_libraries
=$ac_optarg ;;
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629 { (exit 1); exit 1; }; }
633 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
634 # Reject names that are not valid shell variable names.
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637 { (exit 1); exit 1; }; }
638 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639 eval "$ac_envvar='$ac_optarg'"
643 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653 if test -n "$ac_prev"; then
654 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2
656 { (exit 1); exit 1; }; }
659 # Be sure to have absolute paths.
660 for ac_var
in exec_prefix prefix
662 eval ac_val
=$
`echo $ac_var`
664 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
670 # Be sure to have absolute paths.
671 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
674 eval ac_val
=$
`echo $ac_var`
676 [\\/$
]* | ?
:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
682 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc.
684 # FIXME: To remove some day.
689 # FIXME: To remove some day.
690 if test "x$host_alias" != x
; then
691 if test "x$build_alias" = x
; then
692 cross_compiling
=maybe
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694 If a cross compiler is detected then cross compile mode will be used." >&2
695 elif test "x$build_alias" != "x$host_alias"; then
701 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
703 test "$silent" = yes && exec 6>/dev
/null
706 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then
708 ac_srcdir_defaulted
=yes
709 # Try the directory containing this script, then its parent.
710 ac_confdir
=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \
715 . : '\(.\)' 2>/dev/null ||
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
723 if test ! -r $srcdir/$ac_unique_file; then
727 ac_srcdir_defaulted
=no
729 if test ! -r $srcdir/$ac_unique_file; then
730 if test "$ac_srcdir_defaulted" = yes; then
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732 { (exit 1); exit 1; }; }
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735 { (exit 1); exit 1; }; }
738 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740 { (exit 1); exit 1; }; }
741 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set
=${build_alias+set}
743 ac_env_build_alias_value
=$build_alias
744 ac_cv_env_build_alias_set
=${build_alias+set}
745 ac_cv_env_build_alias_value
=$build_alias
746 ac_env_host_alias_set
=${host_alias+set}
747 ac_env_host_alias_value
=$host_alias
748 ac_cv_env_host_alias_set
=${host_alias+set}
749 ac_cv_env_host_alias_value
=$host_alias
750 ac_env_target_alias_set
=${target_alias+set}
751 ac_env_target_alias_value
=$target_alias
752 ac_cv_env_target_alias_set
=${target_alias+set}
753 ac_cv_env_target_alias_value
=$target_alias
754 ac_env_CXXCPP_set
=${CXXCPP+set}
755 ac_env_CXXCPP_value
=$CXXCPP
756 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
757 ac_cv_env_CXXCPP_value
=$CXXCPP
758 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
759 ac_env_CPPFLAGS_value
=$CPPFLAGS
760 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
761 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
762 ac_env_CPP_set
=${CPP+set}
763 ac_env_CPP_value
=$CPP
764 ac_cv_env_CPP_set
=${CPP+set}
765 ac_cv_env_CPP_value
=$CPP
768 # Report the --help message.
770 if test "$ac_init_help" = "long"; then
771 # Omit some internal or obsolete options to make the list less imposing.
772 # This message is too long to be a string in the A/UX 3.1 sh.
774 \`configure' configures libjava version-unused to adapt to many kinds of systems.
776 Usage: $0 [OPTION]... [VAR=VALUE]...
778 To assign environment variables (e.g., CC, CFLAGS...), specify them as
779 VAR=VALUE. See below for descriptions of some of the useful variables.
781 Defaults for the options are specified in brackets.
784 -h, --help display this help and exit
785 --help=short display options specific to this package
786 --help=recursive display the short help of all the included packages
787 -V, --version display version information and exit
788 -q, --quiet, --silent do not print \`checking...' messages
789 --cache-file=FILE cache test results in FILE [disabled]
790 -C, --config-cache alias for \`--cache-file=config.cache'
791 -n, --no-create do not create output files
792 --srcdir=DIR find the sources in DIR [configure dir or \`..']
797 Installation directories:
798 --prefix=PREFIX install architecture-independent files in PREFIX
800 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
803 By default, \`make install' will install all the files in
804 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
805 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
806 for instance \`--prefix=\$HOME'.
808 For better control, use the options below.
810 Fine tuning of the installation directories:
811 --bindir=DIR user executables [EPREFIX/bin]
812 --sbindir=DIR system admin executables [EPREFIX/sbin]
813 --libexecdir=DIR program executables [EPREFIX/libexec]
814 --datadir=DIR read-only architecture-independent data [PREFIX/share]
815 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
816 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
817 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
818 --libdir=DIR object code libraries [EPREFIX/lib]
819 --includedir=DIR C header files [PREFIX/include]
820 --oldincludedir=DIR C header files for non-gcc [/usr/include]
821 --infodir=DIR info documentation [PREFIX/info]
822 --mandir=DIR man documentation [PREFIX/man]
828 --program-prefix=PREFIX prepend PREFIX to installed program names
829 --program-suffix=SUFFIX append SUFFIX to installed program names
830 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
833 --x-includes=DIR X include files are
in DIR
834 --x-libraries=DIR X library files are
in DIR
837 --build=BUILD configure
for building on BUILD
[guessed
]
838 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
839 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
843 if test -n "$ac_init_help"; then
844 case $ac_init_help in
845 short | recursive
) echo "Configuration of libjava version-unused:";;
850 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
851 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
852 --enable-version-specific-runtime-libs
853 specify that runtime libraries should be installed
854 in a compiler-specific directory
855 --enable-multilib build many library versions
(default
)
856 --disable-dependency-tracking speeds up one-time build
857 --enable-dependency-tracking do not reject slow dependency extractors
858 --enable-maintainer-mode enable make rules and dependencies not useful
859 (and sometimes confusing
) to the casual installer
860 --enable-shared=PKGS build shared libraries default
=yes
861 --enable-static=PKGS build static libraries default
=yes
862 --enable-fast-install=PKGS optimize
for fast installation default
=yes
863 --disable-libtool-lock avoid locking
(might
break parallel builds
)
864 --disable-getenv-properties
865 don
't set system properties from GCJ_PROPERTIES
866 --enable-hash-synchronization
867 use global hash table for monitor locks
868 --enable-libgcj-multifile
869 allow compilation of several files at once
871 --enable-libgcj-debug enable runtime debugging code
872 --enable-gc-debug include full support for pointer backtracing etc.
873 --enable-interpreter enable interpreter
874 --enable-sjlj-exceptions
875 force use of builtin_setjmp for exceptions
876 --disable-java-net disable java.net
877 --disable-jvmpi disable JVMPI support
878 --enable-java-awt list of AWT peer implementations to be built
879 --enable-gtk-cairo build the cairo Graphics2D implementation on GTK
880 --enable-java-gc=TYPE choose garbage collector (default is boehm)
881 --disable-rpath do not hardcode runtime library paths
884 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
885 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
886 --with-target-subdir=SUBDIR
887 configure in a subdirectory
888 --with-cross-host=HOST configure with a cross compiler from HOST
889 --with-newlib configure with newlib
890 --with-gnu-ld assume the C compiler uses GNU ld default=no
891 --with-pic try to use only PIC/non-PIC objects default=use both
892 --with-win32-nlsapi=ansi or unicows or unicode
893 native MinGW libgcj Win32 OS API (default is ansi)
894 --without-libffi don't use libffi
895 --with-ecos enable runtime eCos target support
896 --with-system-zlib use installed libz
897 --with-x use the X Window System
898 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
899 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
901 Some influential environment variables:
902 CC C compiler command
903 CFLAGS C compiler flags
904 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
905 nonstandard directory <lib dir>
906 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
907 headers in a nonstandard directory <include dir>
908 CXX C++ compiler command
909 CXXFLAGS C++ compiler flags
910 CXXCPP C++ preprocessor
913 Use these variables to override the choices made by `configure' or to
help
914 it to
find libraries and programs with nonstandard names
/locations.
919 if test "$ac_init_help" = "recursive"; then
920 # If there are subdirs, report their specific --help.
922 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
923 test -d $ac_dir ||
continue
926 if test "$ac_dir" != .
; then
927 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
928 # A "../" for each directory in $ac_dir_suffix.
929 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
931 ac_dir_suffix
= ac_top_builddir
=
935 .
) # No --srcdir option. We are building in place.
937 if test -z "$ac_top_builddir"; then
940 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
942 [\\/]* | ?
:[\\/]* ) # Absolute path.
943 ac_srcdir
=$srcdir$ac_dir_suffix;
944 ac_top_srcdir
=$srcdir ;;
946 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
947 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
950 # Do not use `cd foo && pwd` to compute absolute paths, because
951 # the directories may not exist.
953 .
) ac_abs_builddir
="$ac_dir";;
956 .
) ac_abs_builddir
=`pwd`;;
957 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
958 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
961 case $ac_abs_builddir in
962 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
964 case ${ac_top_builddir}.
in
965 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
966 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
967 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
970 case $ac_abs_builddir in
971 .
) ac_abs_srcdir
=$ac_srcdir;;
974 .
) ac_abs_srcdir
=$ac_abs_builddir;;
975 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
976 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
979 case $ac_abs_builddir in
980 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
982 case $ac_top_srcdir in
983 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
984 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
985 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
990 # Check for guested configure; otherwise get Cygnus style configure.
991 if test -f $ac_srcdir/configure.gnu
; then
993 $SHELL $ac_srcdir/configure.gnu
--help=recursive
994 elif test -f $ac_srcdir/configure
; then
996 $SHELL $ac_srcdir/configure
--help=recursive
997 elif test -f $ac_srcdir/configure.ac ||
998 test -f $ac_srcdir/configure.
in; then
1000 $ac_configure --help
1002 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1008 test -n "$ac_init_help" && exit 0
1009 if $ac_init_version; then
1011 libjava configure version-unused
1012 generated by GNU Autoconf
2.59
1014 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1015 This configure
script is free software
; the Free Software Foundation
1016 gives unlimited permission to copy
, distribute and modify it.
1022 This file contains any messages produced by compilers while
1023 running configure, to aid debugging if configure makes a mistake.
1025 It was created by libjava $as_me version-unused, which was
1026 generated by GNU Autoconf 2.59. Invocation command line was
1037 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1038 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1039 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1040 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1041 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1043 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1044 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1046 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1047 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1048 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1049 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1050 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1051 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1052 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1060 test -z "$as_dir" && as_dir
=.
1061 echo "PATH: $as_dir"
1076 # Keep a trace of the command line.
1077 # Strip out --no-create and --no-recursion so they do not pile up.
1078 # Strip out --silent because we don't want to record it for future runs.
1079 # Also quote any args containing shell meta-characters.
1080 # Make two passes to allow for proper duplicate-argument suppression.
1085 ac_must_keep_next
=false
1091 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1092 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1093 |
-silent |
--silent |
--silen |
--sile |
--sil)
1095 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1096 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1099 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1101 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1102 if test $ac_must_keep_next = true
; then
1103 ac_must_keep_next
=false
# Got value, back to normal.
1106 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1107 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1108 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1109 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1110 case "$ac_configure_args0 " in
1111 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1114 -* ) ac_must_keep_next
=true
;;
1117 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1118 # Get rid of the leading space.
1124 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1125 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1127 # When interrupted or exit'd, cleanup temporary files, and complete
1128 # config.log. We remove comments because anyway the quotes in there
1129 # would cause problems or look ugly.
1130 # WARNING: Be sure not to use single quotes in there, as some shells,
1131 # such as our DU 5.0 friend, will then `close' the trap.
1132 trap 'exit_status=$?
1133 # Save into config.log some information that might help in debugging.
1138 ## ---------------- ##
1139 ## Cache variables. ##
1140 ## ---------------- ##
1143 # The following way of writing the cache mishandles newlines in values,
1146 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1149 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1150 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1154 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1161 ## ----------------- ##
1162 ## Output variables. ##
1163 ## ----------------- ##
1166 for ac_var in $ac_subst_vars
1168 eval ac_val=$`echo $ac_var`
1169 echo "$ac_var='"'"'$ac_val'"'"'"
1173 if test -n "$ac_subst_files"; then
1180 for ac_var in $ac_subst_files
1182 eval ac_val=$`echo $ac_var`
1183 echo "$ac_var='"'"'$ac_val'"'"'"
1188 if test -s confdefs.h; then
1195 sed "/^$/d" confdefs.h | sort
1198 test "$ac_signal" != 0 &&
1199 echo "$as_me: caught signal $ac_signal"
1200 echo "$as_me: exit $exit_status"
1202 rm -f core *.core &&
1203 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1206 for ac_signal
in 1 2 13 15; do
1207 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1211 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1212 rm -rf conftest
* confdefs.h
1213 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1216 # Predefined preprocessor variables.
1218 cat >>confdefs.h
<<_ACEOF
1219 #define PACKAGE_NAME "$PACKAGE_NAME"
1223 cat >>confdefs.h
<<_ACEOF
1224 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1228 cat >>confdefs.h
<<_ACEOF
1229 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1233 cat >>confdefs.h
<<_ACEOF
1234 #define PACKAGE_STRING "$PACKAGE_STRING"
1238 cat >>confdefs.h
<<_ACEOF
1239 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1243 # Let the site file select an alternate cache file if it wants to.
1244 # Prefer explicitly selected file to automatically selected ones.
1245 if test -z "$CONFIG_SITE"; then
1246 if test "x$prefix" != xNONE
; then
1247 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1249 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1252 for ac_site_file
in $CONFIG_SITE; do
1253 if test -r "$ac_site_file"; then
1254 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1255 echo "$as_me: loading site script $ac_site_file" >&6;}
1256 sed 's/^/| /' "$ac_site_file" >&5
1261 if test -r "$cache_file"; then
1262 # Some versions of bash will fail to source /dev/null (special
1263 # files actually), so we avoid doing that.
1264 if test -f "$cache_file"; then
1265 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1266 echo "$as_me: loading cache $cache_file" >&6;}
1268 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1269 *) . .
/$cache_file;;
1273 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1274 echo "$as_me: creating cache $cache_file" >&6;}
1278 # Check that the precious variables saved in the cache have kept the same
1280 ac_cache_corrupted
=false
1281 for ac_var
in `(set) 2>&1 |
1282 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1283 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1284 eval ac_new_set
=\
$ac_env_${ac_var}_set
1285 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1286 eval ac_new_val
="\$ac_env_${ac_var}_value"
1287 case $ac_old_set,$ac_new_set in
1289 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1290 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1291 ac_cache_corrupted
=: ;;
1293 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1294 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1295 ac_cache_corrupted
=: ;;
1298 if test "x$ac_old_val" != "x$ac_new_val"; then
1299 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1300 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1301 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1302 echo "$as_me: former value: $ac_old_val" >&2;}
1303 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1304 echo "$as_me: current value: $ac_new_val" >&2;}
1305 ac_cache_corrupted
=:
1308 # Pass precious variables to config.status.
1309 if test "$ac_new_set" = set; then
1311 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1312 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1313 *) ac_arg
=$ac_var=$ac_new_val ;;
1315 case " $ac_configure_args " in
1316 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1317 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1321 if $ac_cache_corrupted; then
1322 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1323 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1324 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1325 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1326 { (exit 1); exit 1; }; }
1330 ac_cpp
='$CPP $CPPFLAGS'
1331 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1332 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1333 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1364 # We use these options to decide which functions to include.
1366 # Check whether --with-target-subdir or --without-target-subdir was given.
1367 if test "${with_target_subdir+set}" = set; then
1368 withval
="$with_target_subdir"
1372 # We may get other options which we don't document:
1373 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1375 # When building with srcdir == objdir, links to the source files will
1376 # be created in directories within the target_subdir. We have to
1377 # adjust toplevel_srcdir accordingly, so that configure finds
1378 # install-sh and other auxiliary files that live in the top-level
1380 if test "${srcdir}" = "."; then
1381 if test -z "${with_target_subdir}"; then
1384 if test "${with_target_subdir}" != "."; then
1385 toprel
="${with_multisrctop}../.."
1387 toprel
="${with_multisrctop}.."
1394 libgcj_basedir
=$srcdir/$toprel/.
/libjava
1398 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1399 if test -f $ac_dir/install-sh
; then
1401 ac_install_sh
="$ac_aux_dir/install-sh -c"
1403 elif test -f $ac_dir/install.sh
; then
1405 ac_install_sh
="$ac_aux_dir/install.sh -c"
1407 elif test -f $ac_dir/shtool
; then
1409 ac_install_sh
="$ac_aux_dir/shtool install -c"
1413 if test -z "$ac_aux_dir"; then
1414 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1415 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1416 { (exit 1); exit 1; }; }
1418 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1419 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1420 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1422 # Make sure we can run config.sub.
1423 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1424 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1425 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1426 { (exit 1); exit 1; }; }
1428 echo "$as_me:$LINENO: checking build system type" >&5
1429 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1430 if test "${ac_cv_build+set}" = set; then
1431 echo $ECHO_N "(cached) $ECHO_C" >&6
1433 ac_cv_build_alias
=$build_alias
1434 test -z "$ac_cv_build_alias" &&
1435 ac_cv_build_alias
=`$ac_config_guess`
1436 test -z "$ac_cv_build_alias" &&
1437 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1438 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1439 { (exit 1); exit 1; }; }
1440 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1441 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1442 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1443 { (exit 1); exit 1; }; }
1446 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1447 echo "${ECHO_T}$ac_cv_build" >&6
1449 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1450 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1451 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1454 echo "$as_me:$LINENO: checking host system type" >&5
1455 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1456 if test "${ac_cv_host+set}" = set; then
1457 echo $ECHO_N "(cached) $ECHO_C" >&6
1459 ac_cv_host_alias
=$host_alias
1460 test -z "$ac_cv_host_alias" &&
1461 ac_cv_host_alias
=$ac_cv_build_alias
1462 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1463 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1464 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1465 { (exit 1); exit 1; }; }
1468 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1469 echo "${ECHO_T}$ac_cv_host" >&6
1471 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1472 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1473 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1476 echo "$as_me:$LINENO: checking target system type" >&5
1477 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1478 if test "${ac_cv_target+set}" = set; then
1479 echo $ECHO_N "(cached) $ECHO_C" >&6
1481 ac_cv_target_alias
=$target_alias
1482 test "x$ac_cv_target_alias" = "x" &&
1483 ac_cv_target_alias
=$ac_cv_host_alias
1484 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1485 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1486 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1487 { (exit 1); exit 1; }; }
1490 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1491 echo "${ECHO_T}$ac_cv_target" >&6
1492 target
=$ac_cv_target
1493 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1494 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1495 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1498 # The aliases save the names the user supplied, while $host etc.
1499 # will get canonicalized.
1500 test -n "$target_alias" &&
1501 test "$program_prefix$program_suffix$program_transform_name" = \
1503 program_prefix
=${target_alias}-
1504 case ${build_alias} in
1505 "") build_noncanonical
=${build} ;;
1506 *) build_noncanonical
=${build_alias} ;;
1509 case ${host_alias} in
1510 "") host_noncanonical
=${build_noncanonical} ;;
1511 *) host_noncanonical
=${host_alias} ;;
1514 case ${target_alias} in
1515 "") target_noncanonical
=${host_noncanonical} ;;
1516 *) target_noncanonical
=${target_alias} ;;
1522 # This works around the fact that libtool configuration may change LD
1523 # for this particular configuration, but some shells, instead of
1524 # keeping the changes in LD private, export them just because LD is
1526 ORIGINAL_LD_FOR_MULTILIBS
=$LD
1528 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1529 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1531 if test "$LN_S" = "ln -s"; then
1532 echo "$as_me:$LINENO: result: yes" >&5
1533 echo "${ECHO_T}yes" >&6
1535 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1536 echo "${ECHO_T}no, using $LN_S" >&6
1540 # This works around an automake problem.
1541 mkinstalldirs
="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
1545 # Check whether --with-cross-host or --without-cross-host was given.
1546 if test "${with_cross_host+set}" = set; then
1547 withval
="$with_cross_host"
1552 # Check whether --with-newlib or --without-newlib was given.
1553 if test "${with_newlib+set}" = set; then
1554 withval
="$with_newlib"
1558 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1559 if test "${enable_version_specific_runtime_libs+set}" = set; then
1560 enableval
="$enable_version_specific_runtime_libs"
1561 case "$enableval" in
1562 yes) version_specific_libs
=yes ;;
1563 no
) version_specific_libs
=no
;;
1564 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1565 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1566 { (exit 1); exit 1; }; };;
1569 version_specific_libs
=no
1573 # Default to --enable-multilib
1574 # Check whether --enable-multilib or --disable-multilib was given.
1575 if test "${enable_multilib+set}" = set; then
1576 enableval
="$enable_multilib"
1577 case "${enableval}" in
1578 yes) multilib
=yes ;;
1580 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
1581 echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
1582 { (exit 1); exit 1; }; } ;;
1587 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
1590 # (1) We use an abnormal CXX (without library references), so we
1591 # must cache it under a different name.
1592 # (2) CC, CFLAGS, CXX, CXXFLAGS, LDFLAGS must not be 'precious', or
1593 # the non-multilib-adjusted value will be used in multilibs.
1594 # (3) As a side effect, we must SUBST CXXFLAGS, CFLAGS, and LDFLAGS ourselves.
1595 # (4) As another side effect, automake doesn't automatically include them
1597 # (5) For libstdc++-v3, -fno-builtin must be present here so that a
1598 # non-conflicting form of std::exit can be guessed by AC_PROG_CXX, and
1599 # used in later tests. This may not be necessary in libjava; I don't know.
1603 save_CXXFLAGS
="$CXXFLAGS"
1604 CXXFLAGS
="$CXXFLAGS -fno-builtin"
1606 ac_cpp
='$CPP $CPPFLAGS'
1607 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1608 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1609 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1610 if test -n "$ac_tool_prefix"; then
1611 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1612 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1613 echo "$as_me:$LINENO: checking for $ac_word" >&5
1614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1615 if test "${ac_cv_prog_CC+set}" = set; then
1616 echo $ECHO_N "(cached) $ECHO_C" >&6
1618 if test -n "$CC"; then
1619 ac_cv_prog_CC
="$CC" # Let the user override the test.
1621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1625 test -z "$as_dir" && as_dir
=.
1626 for ac_exec_ext
in '' $ac_executable_extensions; do
1627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1628 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1638 if test -n "$CC"; then
1639 echo "$as_me:$LINENO: result: $CC" >&5
1640 echo "${ECHO_T}$CC" >&6
1642 echo "$as_me:$LINENO: result: no" >&5
1643 echo "${ECHO_T}no" >&6
1647 if test -z "$ac_cv_prog_CC"; then
1649 # Extract the first word of "gcc", so it can be a program name with args.
1650 set dummy gcc
; ac_word
=$2
1651 echo "$as_me:$LINENO: checking for $ac_word" >&5
1652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1653 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1654 echo $ECHO_N "(cached) $ECHO_C" >&6
1656 if test -n "$ac_ct_CC"; then
1657 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1663 test -z "$as_dir" && as_dir
=.
1664 for ac_exec_ext
in '' $ac_executable_extensions; do
1665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1666 ac_cv_prog_ac_ct_CC
="gcc"
1667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1675 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1676 if test -n "$ac_ct_CC"; then
1677 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1678 echo "${ECHO_T}$ac_ct_CC" >&6
1680 echo "$as_me:$LINENO: result: no" >&5
1681 echo "${ECHO_T}no" >&6
1689 if test -z "$CC"; then
1690 if test -n "$ac_tool_prefix"; then
1691 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1692 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1693 echo "$as_me:$LINENO: checking for $ac_word" >&5
1694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1695 if test "${ac_cv_prog_CC+set}" = set; then
1696 echo $ECHO_N "(cached) $ECHO_C" >&6
1698 if test -n "$CC"; then
1699 ac_cv_prog_CC
="$CC" # Let the user override the test.
1701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1705 test -z "$as_dir" && as_dir
=.
1706 for ac_exec_ext
in '' $ac_executable_extensions; do
1707 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1708 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1718 if test -n "$CC"; then
1719 echo "$as_me:$LINENO: result: $CC" >&5
1720 echo "${ECHO_T}$CC" >&6
1722 echo "$as_me:$LINENO: result: no" >&5
1723 echo "${ECHO_T}no" >&6
1727 if test -z "$ac_cv_prog_CC"; then
1729 # Extract the first word of "cc", so it can be a program name with args.
1730 set dummy cc
; ac_word
=$2
1731 echo "$as_me:$LINENO: checking for $ac_word" >&5
1732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1733 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1734 echo $ECHO_N "(cached) $ECHO_C" >&6
1736 if test -n "$ac_ct_CC"; then
1737 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1743 test -z "$as_dir" && as_dir
=.
1744 for ac_exec_ext
in '' $ac_executable_extensions; do
1745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1746 ac_cv_prog_ac_ct_CC
="cc"
1747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1755 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1756 if test -n "$ac_ct_CC"; then
1757 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1758 echo "${ECHO_T}$ac_ct_CC" >&6
1760 echo "$as_me:$LINENO: result: no" >&5
1761 echo "${ECHO_T}no" >&6
1770 if test -z "$CC"; then
1771 # Extract the first word of "cc", so it can be a program name with args.
1772 set dummy cc
; ac_word
=$2
1773 echo "$as_me:$LINENO: checking for $ac_word" >&5
1774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1775 if test "${ac_cv_prog_CC+set}" = set; then
1776 echo $ECHO_N "(cached) $ECHO_C" >&6
1778 if test -n "$CC"; then
1779 ac_cv_prog_CC
="$CC" # Let the user override the test.
1782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1786 test -z "$as_dir" && as_dir
=.
1787 for ac_exec_ext
in '' $ac_executable_extensions; do
1788 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1789 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1790 ac_prog_rejected
=yes
1794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1800 if test $ac_prog_rejected = yes; then
1801 # We found a bogon in the path, so make sure we never use it.
1802 set dummy
$ac_cv_prog_CC
1804 if test $# != 0; then
1805 # We chose a different compiler from the bogus one.
1806 # However, it has the same basename, so the bogon will be chosen
1807 # first if we set CC to just the basename; use the full file name.
1809 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1815 if test -n "$CC"; then
1816 echo "$as_me:$LINENO: result: $CC" >&5
1817 echo "${ECHO_T}$CC" >&6
1819 echo "$as_me:$LINENO: result: no" >&5
1820 echo "${ECHO_T}no" >&6
1824 if test -z "$CC"; then
1825 if test -n "$ac_tool_prefix"; then
1828 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1829 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1830 echo "$as_me:$LINENO: checking for $ac_word" >&5
1831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1832 if test "${ac_cv_prog_CC+set}" = set; then
1833 echo $ECHO_N "(cached) $ECHO_C" >&6
1835 if test -n "$CC"; then
1836 ac_cv_prog_CC
="$CC" # Let the user override the test.
1838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1842 test -z "$as_dir" && as_dir
=.
1843 for ac_exec_ext
in '' $ac_executable_extensions; do
1844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1845 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1855 if test -n "$CC"; then
1856 echo "$as_me:$LINENO: result: $CC" >&5
1857 echo "${ECHO_T}$CC" >&6
1859 echo "$as_me:$LINENO: result: no" >&5
1860 echo "${ECHO_T}no" >&6
1863 test -n "$CC" && break
1866 if test -z "$CC"; then
1870 # Extract the first word of "$ac_prog", so it can be a program name with args.
1871 set dummy
$ac_prog; ac_word
=$2
1872 echo "$as_me:$LINENO: checking for $ac_word" >&5
1873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1874 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1875 echo $ECHO_N "(cached) $ECHO_C" >&6
1877 if test -n "$ac_ct_CC"; then
1878 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1884 test -z "$as_dir" && as_dir
=.
1885 for ac_exec_ext
in '' $ac_executable_extensions; do
1886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1887 ac_cv_prog_ac_ct_CC
="$ac_prog"
1888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1896 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1897 if test -n "$ac_ct_CC"; then
1898 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1899 echo "${ECHO_T}$ac_ct_CC" >&6
1901 echo "$as_me:$LINENO: result: no" >&5
1902 echo "${ECHO_T}no" >&6
1905 test -n "$ac_ct_CC" && break
1914 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1915 See \`config.log' for more details." >&5
1916 echo "$as_me: error: no acceptable C compiler found in \$PATH
1917 See \`config.log' for more details." >&2;}
1918 { (exit 1); exit 1; }; }
1920 # Provide some information about the compiler.
1921 echo "$as_me:$LINENO:" \
1922 "checking for C compiler version" >&5
1923 ac_compiler
=`set X $ac_compile; echo $2`
1924 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1925 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1928 (exit $ac_status); }
1929 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1930 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1933 (exit $ac_status); }
1934 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1935 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1938 (exit $ac_status); }
1940 cat >conftest.
$ac_ext <<_ACEOF
1943 cat confdefs.h
>>conftest.
$ac_ext
1944 cat >>conftest.
$ac_ext <<_ACEOF
1945 /* end confdefs.h. */
1956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1957 (eval $ac_link) 2>&5
1959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1960 (exit $ac_status); }; then
1966 if test x
$gcc_no_link = xyes
; then
1967 # Setting cross_compile will disable run tests; it will
1968 # also disable AC_CHECK_FILE but that's generally
1969 # correct if we can't link.
1973 cat >conftest.
$ac_ext <<_ACEOF
1976 cat confdefs.h
>>conftest.
$ac_ext
1977 cat >>conftest.
$ac_ext <<_ACEOF
1978 /* end confdefs.h. */
1988 ac_clean_files_save
=$ac_clean_files
1989 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1990 # Try to create an executable without -o first, disregard a.out.
1991 # It will help us diagnose broken compilers, and finding out an intuition
1993 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1994 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1995 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1996 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1997 (eval $ac_link_default) 2>&5
1999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2000 (exit $ac_status); }; then
2001 # Find the output, starting from the most likely. This scheme is
2002 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2005 # Be careful to initialize this variable, since it used to be cached.
2006 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2008 # b.out is created by i960 compilers.
2009 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2011 test -f "$ac_file" ||
continue
2013 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2016 # This is the source file.
2019 # We found the default executable, but exeext='' is most
2023 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2024 # FIXME: I believe we export ac_cv_exeext for Libtool,
2025 # but it would be cool to find out if it's true. Does anybody
2026 # maintain Libtool? --akim.
2034 echo "$as_me: failed program was:" >&5
2035 sed 's/^/| /' conftest.
$ac_ext >&5
2037 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2038 See \`config.log' for more details." >&5
2039 echo "$as_me: error: C compiler cannot create executables
2040 See \`config.log' for more details." >&2;}
2041 { (exit 77); exit 77; }; }
2044 ac_exeext
=$ac_cv_exeext
2045 echo "$as_me:$LINENO: result: $ac_file" >&5
2046 echo "${ECHO_T}$ac_file" >&6
2048 # Check the compiler produces executables we can run. If not, either
2049 # the compiler is broken, or we cross compile.
2050 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2051 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2052 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2053 # If not cross compiling, check that we can run a simple program.
2054 if test "$cross_compiling" != yes; then
2055 if { ac_try
='./$ac_file'
2056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2060 (exit $ac_status); }; }; then
2063 if test "$cross_compiling" = maybe
; then
2066 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2067 If you meant to cross compile, use \`--host'.
2068 See \`config.log' for more details." >&5
2069 echo "$as_me: error: cannot run C compiled programs.
2070 If you meant to cross compile, use \`--host'.
2071 See \`config.log' for more details." >&2;}
2072 { (exit 1); exit 1; }; }
2076 echo "$as_me:$LINENO: result: yes" >&5
2077 echo "${ECHO_T}yes" >&6
2079 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2080 ac_clean_files
=$ac_clean_files_save
2081 # Check the compiler produces executables we can run. If not, either
2082 # the compiler is broken, or we cross compile.
2083 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2084 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2085 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2086 echo "${ECHO_T}$cross_compiling" >&6
2088 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2089 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2091 (eval $ac_link) 2>&5
2093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2094 (exit $ac_status); }; then
2095 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2096 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2097 # work properly (i.e., refer to `conftest.exe'), while it won't with
2099 for ac_file
in conftest.exe conftest conftest.
*; do
2100 test -f "$ac_file" ||
continue
2102 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2103 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2110 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2111 See \`config.log' for more details." >&5
2112 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2113 See \`config.log' for more details." >&2;}
2114 { (exit 1); exit 1; }; }
2117 rm -f conftest
$ac_cv_exeext
2118 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2119 echo "${ECHO_T}$ac_cv_exeext" >&6
2121 rm -f conftest.
$ac_ext
2122 EXEEXT
=$ac_cv_exeext
2125 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2126 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2127 if test "${ac_cv_objext+set}" = set; then
2128 echo $ECHO_N "(cached) $ECHO_C" >&6
2130 cat >conftest.
$ac_ext <<_ACEOF
2133 cat confdefs.h
>>conftest.
$ac_ext
2134 cat >>conftest.
$ac_ext <<_ACEOF
2135 /* end confdefs.h. */
2145 rm -f conftest.o conftest.obj
2146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2147 (eval $ac_compile) 2>&5
2149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2150 (exit $ac_status); }; then
2151 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2153 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2154 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2159 echo "$as_me: failed program was:" >&5
2160 sed 's/^/| /' conftest.
$ac_ext >&5
2162 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2163 See \`config.log' for more details." >&5
2164 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2165 See \`config.log' for more details." >&2;}
2166 { (exit 1); exit 1; }; }
2169 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2171 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2172 echo "${ECHO_T}$ac_cv_objext" >&6
2173 OBJEXT
=$ac_cv_objext
2175 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2176 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2177 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2178 echo $ECHO_N "(cached) $ECHO_C" >&6
2180 cat >conftest.
$ac_ext <<_ACEOF
2183 cat confdefs.h
>>conftest.
$ac_ext
2184 cat >>conftest.
$ac_ext <<_ACEOF
2185 /* end confdefs.h. */
2198 rm -f conftest.
$ac_objext
2199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2200 (eval $ac_compile) 2>conftest.er1
2202 grep -v '^ *+' conftest.er1
>conftest.err
2204 cat conftest.err
>&5
2205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2206 (exit $ac_status); } &&
2207 { ac_try
='test -z "$ac_c_werror_flag"
2208 || test ! -s conftest.err'
2209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2213 (exit $ac_status); }; } &&
2214 { ac_try
='test -s conftest.$ac_objext'
2215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2219 (exit $ac_status); }; }; then
2222 echo "$as_me: failed program was:" >&5
2223 sed 's/^/| /' conftest.
$ac_ext >&5
2227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2228 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2231 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2232 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2233 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2234 ac_test_CFLAGS
=${CFLAGS+set}
2235 ac_save_CFLAGS
=$CFLAGS
2237 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2238 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2239 if test "${ac_cv_prog_cc_g+set}" = set; then
2240 echo $ECHO_N "(cached) $ECHO_C" >&6
2242 cat >conftest.
$ac_ext <<_ACEOF
2245 cat confdefs.h
>>conftest.
$ac_ext
2246 cat >>conftest.
$ac_ext <<_ACEOF
2247 /* end confdefs.h. */
2257 rm -f conftest.
$ac_objext
2258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2259 (eval $ac_compile) 2>conftest.er1
2261 grep -v '^ *+' conftest.er1
>conftest.err
2263 cat conftest.err
>&5
2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265 (exit $ac_status); } &&
2266 { ac_try
='test -z "$ac_c_werror_flag"
2267 || test ! -s conftest.err'
2268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2272 (exit $ac_status); }; } &&
2273 { ac_try
='test -s conftest.$ac_objext'
2274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2278 (exit $ac_status); }; }; then
2281 echo "$as_me: failed program was:" >&5
2282 sed 's/^/| /' conftest.
$ac_ext >&5
2286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2288 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2289 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2290 if test "$ac_test_CFLAGS" = set; then
2291 CFLAGS
=$ac_save_CFLAGS
2292 elif test $ac_cv_prog_cc_g = yes; then
2293 if test "$GCC" = yes; then
2299 if test "$GCC" = yes; then
2305 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2306 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2307 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2308 echo $ECHO_N "(cached) $ECHO_C" >&6
2310 ac_cv_prog_cc_stdc
=no
2312 cat >conftest.
$ac_ext <<_ACEOF
2315 cat confdefs.h
>>conftest.
$ac_ext
2316 cat >>conftest.
$ac_ext <<_ACEOF
2317 /* end confdefs.h. */
2320 #include <sys/types.h>
2321 #include <sys/stat.h>
2322 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2323 struct buf { int x; };
2324 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2325 static char *e (p, i)
2331 static char *f (char * (*g) (char **, int), char **p, ...)
2336 s = g (p, va_arg (v,int));
2341 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2342 function prototypes and stuff, but not '\xHH' hex character constants.
2343 These don't provoke an error unfortunately, instead are silently treated
2344 as 'x'. The following induces an error, until -std1 is added to get
2345 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2346 array size at least. It's necessary to write '\x00'==0 to get something
2347 that's true only with -std1. */
2348 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2350 int test (int i, double x);
2351 struct s1 {int (*f) (int a);};
2352 struct s2 {int (*f) (double a);};
2353 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2359 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2364 # Don't try gcc -ansi; that turns off useful extensions and
2365 # breaks some systems' header files.
2366 # AIX -qlanglvl=ansi
2367 # Ultrix and OSF/1 -std1
2368 # HP-UX 10.20 and later -Ae
2369 # HP-UX older versions -Aa -D_HPUX_SOURCE
2370 # SVR4 -Xc -D__EXTENSIONS__
2371 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2373 CC
="$ac_save_CC $ac_arg"
2374 rm -f conftest.
$ac_objext
2375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2376 (eval $ac_compile) 2>conftest.er1
2378 grep -v '^ *+' conftest.er1
>conftest.err
2380 cat conftest.err
>&5
2381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2382 (exit $ac_status); } &&
2383 { ac_try
='test -z "$ac_c_werror_flag"
2384 || test ! -s conftest.err'
2385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389 (exit $ac_status); }; } &&
2390 { ac_try
='test -s conftest.$ac_objext'
2391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395 (exit $ac_status); }; }; then
2396 ac_cv_prog_cc_stdc
=$ac_arg
2399 echo "$as_me: failed program was:" >&5
2400 sed 's/^/| /' conftest.
$ac_ext >&5
2403 rm -f conftest.err conftest.
$ac_objext
2405 rm -f conftest.
$ac_ext conftest.
$ac_objext
2410 case "x$ac_cv_prog_cc_stdc" in
2412 echo "$as_me:$LINENO: result: none needed" >&5
2413 echo "${ECHO_T}none needed" >&6 ;;
2415 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2416 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2417 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2420 # Some people use a C++ compiler to compile C. Since we use `exit',
2421 # in C++ we need to declare it. In case someone uses the same compiler
2422 # for both compiling C and C++ we need to have the C++ compiler decide
2423 # the declaration of exit, since it's the most demanding environment.
2424 cat >conftest.
$ac_ext <<_ACEOF
2429 rm -f conftest.
$ac_objext
2430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2431 (eval $ac_compile) 2>conftest.er1
2433 grep -v '^ *+' conftest.er1
>conftest.err
2435 cat conftest.err
>&5
2436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2437 (exit $ac_status); } &&
2438 { ac_try
='test -z "$ac_c_werror_flag"
2439 || test ! -s conftest.err'
2440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2444 (exit $ac_status); }; } &&
2445 { ac_try
='test -s conftest.$ac_objext'
2446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450 (exit $ac_status); }; }; then
2451 for ac_declaration
in \
2453 'extern "C" void std::exit (int) throw (); using std::exit;' \
2454 'extern "C" void std::exit (int); using std::exit;' \
2455 'extern "C" void exit (int) throw ();' \
2456 'extern "C" void exit (int);' \
2459 cat >conftest.
$ac_ext <<_ACEOF
2462 cat confdefs.h
>>conftest.
$ac_ext
2463 cat >>conftest.
$ac_ext <<_ACEOF
2464 /* end confdefs.h. */
2475 rm -f conftest.
$ac_objext
2476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2477 (eval $ac_compile) 2>conftest.er1
2479 grep -v '^ *+' conftest.er1
>conftest.err
2481 cat conftest.err
>&5
2482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2483 (exit $ac_status); } &&
2484 { ac_try
='test -z "$ac_c_werror_flag"
2485 || test ! -s conftest.err'
2486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2490 (exit $ac_status); }; } &&
2491 { ac_try
='test -s conftest.$ac_objext'
2492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2496 (exit $ac_status); }; }; then
2499 echo "$as_me: failed program was:" >&5
2500 sed 's/^/| /' conftest.
$ac_ext >&5
2504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2505 cat >conftest.
$ac_ext <<_ACEOF
2508 cat confdefs.h
>>conftest.
$ac_ext
2509 cat >>conftest.
$ac_ext <<_ACEOF
2510 /* end confdefs.h. */
2520 rm -f conftest.
$ac_objext
2521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2522 (eval $ac_compile) 2>conftest.er1
2524 grep -v '^ *+' conftest.er1
>conftest.err
2526 cat conftest.err
>&5
2527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2528 (exit $ac_status); } &&
2529 { ac_try
='test -z "$ac_c_werror_flag"
2530 || test ! -s conftest.err'
2531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); }; } &&
2536 { ac_try
='test -s conftest.$ac_objext'
2537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); }; }; then
2544 echo "$as_me: failed program was:" >&5
2545 sed 's/^/| /' conftest.
$ac_ext >&5
2548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2551 if test -n "$ac_declaration"; then
2552 echo '#ifdef __cplusplus' >>confdefs.h
2553 echo $ac_declaration >>confdefs.h
2554 echo '#endif' >>confdefs.h
2558 echo "$as_me: failed program was:" >&5
2559 sed 's/^/| /' conftest.
$ac_ext >&5
2562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2564 ac_cpp
='$CPP $CPPFLAGS'
2565 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2566 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2567 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2570 ac_cpp
='$CXXCPP $CPPFLAGS'
2571 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2572 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2573 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2574 if test -n "$ac_tool_prefix"; then
2575 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2577 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2578 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2579 echo "$as_me:$LINENO: checking for $ac_word" >&5
2580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2581 if test "${glibcxx_cv_prog_CXX+set}" = set; then
2582 echo $ECHO_N "(cached) $ECHO_C" >&6
2584 if test -n "$CXX"; then
2585 glibcxx_cv_prog_CXX
="$CXX" # Let the user override the test.
2587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2591 test -z "$as_dir" && as_dir
=.
2592 for ac_exec_ext
in '' $ac_executable_extensions; do
2593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2594 glibcxx_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2603 CXX
=$glibcxx_cv_prog_CXX
2604 if test -n "$CXX"; then
2605 echo "$as_me:$LINENO: result: $CXX" >&5
2606 echo "${ECHO_T}$CXX" >&6
2608 echo "$as_me:$LINENO: result: no" >&5
2609 echo "${ECHO_T}no" >&6
2612 test -n "$CXX" && break
2615 if test -z "$CXX"; then
2617 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2619 # Extract the first word of "$ac_prog", so it can be a program name with args.
2620 set dummy
$ac_prog; ac_word
=$2
2621 echo "$as_me:$LINENO: checking for $ac_word" >&5
2622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2623 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2624 echo $ECHO_N "(cached) $ECHO_C" >&6
2626 if test -n "$ac_ct_CXX"; then
2627 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2633 test -z "$as_dir" && as_dir
=.
2634 for ac_exec_ext
in '' $ac_executable_extensions; do
2635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2636 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2645 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2646 if test -n "$ac_ct_CXX"; then
2647 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2648 echo "${ECHO_T}$ac_ct_CXX" >&6
2650 echo "$as_me:$LINENO: result: no" >&5
2651 echo "${ECHO_T}no" >&6
2654 test -n "$ac_ct_CXX" && break
2656 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2662 # Provide some information about the compiler.
2663 echo "$as_me:$LINENO:" \
2664 "checking for C++ compiler version" >&5
2665 ac_compiler
=`set X $ac_compile; echo $2`
2666 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2667 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); }
2671 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2672 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2675 (exit $ac_status); }
2676 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2677 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); }
2682 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2683 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2684 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2685 echo $ECHO_N "(cached) $ECHO_C" >&6
2687 cat >conftest.
$ac_ext <<_ACEOF
2690 cat confdefs.h
>>conftest.
$ac_ext
2691 cat >>conftest.
$ac_ext <<_ACEOF
2692 /* end confdefs.h. */
2705 rm -f conftest.
$ac_objext
2706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2707 (eval $ac_compile) 2>conftest.er1
2709 grep -v '^ *+' conftest.er1
>conftest.err
2711 cat conftest.err
>&5
2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 (exit $ac_status); } &&
2714 { ac_try
='test -z "$ac_cxx_werror_flag"
2715 || test ! -s conftest.err'
2716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720 (exit $ac_status); }; } &&
2721 { ac_try
='test -s conftest.$ac_objext'
2722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2726 (exit $ac_status); }; }; then
2729 echo "$as_me: failed program was:" >&5
2730 sed 's/^/| /' conftest.
$ac_ext >&5
2734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2735 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2738 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2739 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2740 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2741 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2742 ac_save_CXXFLAGS
=$CXXFLAGS
2744 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2745 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2746 if test "${ac_cv_prog_cxx_g+set}" = set; then
2747 echo $ECHO_N "(cached) $ECHO_C" >&6
2749 cat >conftest.
$ac_ext <<_ACEOF
2752 cat confdefs.h
>>conftest.
$ac_ext
2753 cat >>conftest.
$ac_ext <<_ACEOF
2754 /* end confdefs.h. */
2764 rm -f conftest.
$ac_objext
2765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2766 (eval $ac_compile) 2>conftest.er1
2768 grep -v '^ *+' conftest.er1
>conftest.err
2770 cat conftest.err
>&5
2771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772 (exit $ac_status); } &&
2773 { ac_try
='test -z "$ac_cxx_werror_flag"
2774 || test ! -s conftest.err'
2775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); }; } &&
2780 { ac_try
='test -s conftest.$ac_objext'
2781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2785 (exit $ac_status); }; }; then
2786 ac_cv_prog_cxx_g
=yes
2788 echo "$as_me: failed program was:" >&5
2789 sed 's/^/| /' conftest.
$ac_ext >&5
2793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2795 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2796 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2797 if test "$ac_test_CXXFLAGS" = set; then
2798 CXXFLAGS
=$ac_save_CXXFLAGS
2799 elif test $ac_cv_prog_cxx_g = yes; then
2800 if test "$GXX" = yes; then
2806 if test "$GXX" = yes; then
2812 for ac_declaration
in \
2814 'extern "C" void std::exit (int) throw (); using std::exit;' \
2815 'extern "C" void std::exit (int); using std::exit;' \
2816 'extern "C" void exit (int) throw ();' \
2817 'extern "C" void exit (int);' \
2820 cat >conftest.
$ac_ext <<_ACEOF
2823 cat confdefs.h
>>conftest.
$ac_ext
2824 cat >>conftest.
$ac_ext <<_ACEOF
2825 /* end confdefs.h. */
2836 rm -f conftest.
$ac_objext
2837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2838 (eval $ac_compile) 2>conftest.er1
2840 grep -v '^ *+' conftest.er1
>conftest.err
2842 cat conftest.err
>&5
2843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); } &&
2845 { ac_try
='test -z "$ac_cxx_werror_flag"
2846 || test ! -s conftest.err'
2847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); }; } &&
2852 { ac_try
='test -s conftest.$ac_objext'
2853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2857 (exit $ac_status); }; }; then
2860 echo "$as_me: failed program was:" >&5
2861 sed 's/^/| /' conftest.
$ac_ext >&5
2865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2866 cat >conftest.
$ac_ext <<_ACEOF
2869 cat confdefs.h
>>conftest.
$ac_ext
2870 cat >>conftest.
$ac_ext <<_ACEOF
2871 /* end confdefs.h. */
2881 rm -f conftest.
$ac_objext
2882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2883 (eval $ac_compile) 2>conftest.er1
2885 grep -v '^ *+' conftest.er1
>conftest.err
2887 cat conftest.err
>&5
2888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2889 (exit $ac_status); } &&
2890 { ac_try
='test -z "$ac_cxx_werror_flag"
2891 || test ! -s conftest.err'
2892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896 (exit $ac_status); }; } &&
2897 { ac_try
='test -s conftest.$ac_objext'
2898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902 (exit $ac_status); }; }; then
2905 echo "$as_me: failed program was:" >&5
2906 sed 's/^/| /' conftest.
$ac_ext >&5
2909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2912 if test -n "$ac_declaration"; then
2913 echo '#ifdef __cplusplus' >>confdefs.h
2914 echo $ac_declaration >>confdefs.h
2915 echo '#endif' >>confdefs.h
2919 ac_cpp
='$CPP $CPPFLAGS'
2920 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2921 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2922 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2924 CXXFLAGS
="$save_CXXFLAGS"
2930 am__api_version
="1.9"
2931 # Find a good install program. We prefer a C program (faster),
2932 # so one script is as good as another. But avoid the broken or
2933 # incompatible versions:
2934 # SysV /etc/install, /usr/sbin/install
2935 # SunOS /usr/etc/install
2936 # IRIX /sbin/install
2938 # AmigaOS /C/install, which installs bootblocks on floppy discs
2939 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2940 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2941 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2942 # OS/2's system install, which has a completely different semantic
2943 # ./install, which can be erroneously created by make from ./install.sh.
2944 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2945 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2946 if test -z "$INSTALL"; then
2947 if test "${ac_cv_path_install+set}" = set; then
2948 echo $ECHO_N "(cached) $ECHO_C" >&6
2950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2954 test -z "$as_dir" && as_dir
=.
2955 # Account for people who put trailing slashes in PATH elements.
2957 .
/ | .
// |
/cC
/* | \
2958 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2959 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2962 # OSF1 and SCO ODT 3.0 have their own names for install.
2963 # Don't use installbsd from OSF since it installs stuff as root
2965 for ac_prog
in ginstall scoinst
install; do
2966 for ac_exec_ext
in '' $ac_executable_extensions; do
2967 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2968 if test $ac_prog = install &&
2969 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2970 # AIX install. It has an incompatible calling convention.
2972 elif test $ac_prog = install &&
2973 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2974 # program-specific install script used by HP pwplus--don't use.
2977 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2989 if test "${ac_cv_path_install+set}" = set; then
2990 INSTALL
=$ac_cv_path_install
2992 # As a last resort, use the slow shell script. We don't cache a
2993 # path for INSTALL within a source directory, because that will
2994 # break other packages using the cache if that directory is
2995 # removed, or if the path is relative.
2996 INSTALL
=$ac_install_sh
2999 echo "$as_me:$LINENO: result: $INSTALL" >&5
3000 echo "${ECHO_T}$INSTALL" >&6
3002 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3003 # It thinks the first close brace ends the variable substitution.
3004 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3006 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3008 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3010 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3011 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
3014 echo timestamp
> conftest.
file
3015 # Do `set' in a subshell so we don't clobber the current shell's
3016 # arguments. Must try -L first in case configure is actually a
3017 # symlink; some systems play weird games with the mod time of symlinks
3018 # (eg FreeBSD returns the mod time of the symlink's containing
3021 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
3022 if test "$*" = "X"; then
3024 set X
`ls -t $srcdir/configure conftest.file`
3027 if test "$*" != "X $srcdir/configure conftest.file" \
3028 && test "$*" != "X conftest.file $srcdir/configure"; then
3030 # If neither matched, then we have a broken ls. This can happen
3031 # if, for instance, CONFIG_SHELL is bash and it inherits a
3032 # broken ls alias from the environment. This has actually
3033 # happened. Such a system could not be considered "sane".
3034 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
3035 alias in your environment" >&5
3036 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
3037 alias in your environment" >&2;}
3038 { (exit 1); exit 1; }; }
3041 test "$2" = conftest.
file
3047 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3048 Check your system clock" >&5
3049 echo "$as_me: error: newly created file is older than distributed files!
3050 Check your system clock" >&2;}
3051 { (exit 1); exit 1; }; }
3053 echo "$as_me:$LINENO: result: yes" >&5
3054 echo "${ECHO_T}yes" >&6
3055 test "$program_prefix" != NONE
&&
3056 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
3057 # Use a double $ so make ignores it.
3058 test "$program_suffix" != NONE
&&
3059 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
3060 # Double any \ or $. echo might interpret backslashes.
3061 # By default was `s,x,x', remove it if useless.
3062 cat <<\_ACEOF
>conftest.
sed
3063 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
3065 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
3068 # expand $ac_aux_dir to an absolute path
3069 am_aux_dir
=`cd $ac_aux_dir && pwd`
3071 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
3072 # Use eval to expand $SHELL
3073 if eval "$MISSING --run true"; then
3074 am_missing_run
="$MISSING --run "
3077 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3078 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3081 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
3082 # We used to keeping the `.' as first argument, in order to
3083 # allow $(mkdir_p) to be used without argument. As in
3084 # $(mkdir_p) $(somedir)
3085 # where $(somedir) is conditionally defined. However this is wrong
3087 # 1. if the package is installed by a user who cannot write `.'
3088 # make install will fail,
3089 # 2. the above comment should most certainly read
3090 # $(mkdir_p) $(DESTDIR)$(somedir)
3091 # so it does not work when $(somedir) is undefined and
3092 # $(DESTDIR) is not.
3093 # To support the latter case, we have to write
3094 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
3095 # so the `.' trick is pointless.
3096 mkdir_p
='mkdir -p --'
3098 # On NextStep and OpenStep, the `mkdir' command does not
3099 # recognize any option. It will interpret all options as
3100 # directories to create, and then abort because `.' already
3102 for d
in .
/-p .
/--version;
3104 test -d $d && rmdir $d
3106 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
3107 if test -f "$ac_aux_dir/mkinstalldirs"; then
3108 mkdir_p
='$(mkinstalldirs)'
3110 mkdir_p
='$(install_sh) -d'
3114 for ac_prog
in gawk mawk nawk
awk
3116 # Extract the first word of "$ac_prog", so it can be a program name with args.
3117 set dummy
$ac_prog; ac_word
=$2
3118 echo "$as_me:$LINENO: checking for $ac_word" >&5
3119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3120 if test "${ac_cv_prog_AWK+set}" = set; then
3121 echo $ECHO_N "(cached) $ECHO_C" >&6
3123 if test -n "$AWK"; then
3124 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3130 test -z "$as_dir" && as_dir
=.
3131 for ac_exec_ext
in '' $ac_executable_extensions; do
3132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3133 ac_cv_prog_AWK
="$ac_prog"
3134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3143 if test -n "$AWK"; then
3144 echo "$as_me:$LINENO: result: $AWK" >&5
3145 echo "${ECHO_T}$AWK" >&6
3147 echo "$as_me:$LINENO: result: no" >&5
3148 echo "${ECHO_T}no" >&6
3151 test -n "$AWK" && break
3154 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3155 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3156 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3157 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3158 echo $ECHO_N "(cached) $ECHO_C" >&6
3160 cat >conftest.
make <<\_ACEOF
3162 @
echo 'ac_maketemp="$(MAKE)"'
3164 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3165 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3166 if test -n "$ac_maketemp"; then
3167 eval ac_cv_prog_make_
${ac_make}_set
=yes
3169 eval ac_cv_prog_make_
${ac_make}_set
=no
3173 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3174 echo "$as_me:$LINENO: result: yes" >&5
3175 echo "${ECHO_T}yes" >&6
3178 echo "$as_me:$LINENO: result: no" >&5
3179 echo "${ECHO_T}no" >&6
3180 SET_MAKE
="MAKE=${MAKE-make}"
3183 rm -rf .tst
2>/dev
/null
3184 mkdir .tst
2>/dev
/null
3185 if test -d .tst
; then
3190 rmdir .tst
2>/dev
/null
3192 DEPDIR
="${am__leading_dot}deps"
3194 ac_config_commands
="$ac_config_commands depfiles"
3197 am_make
=${MAKE-make}
3198 cat > confinc
<< 'END'
3203 # If we don't find an include directive, just comment out the code.
3204 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3205 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3209 # First try GNU make style include.
3210 echo "include confinc" > confmf
3211 # We grep out `Entering directory' and `Leaving directory'
3212 # messages which can occur if `w' ends up in MAKEFLAGS.
3213 # In particular we don't look at `^make:' because GNU make might
3214 # be invoked under some other name (usually "gmake"), in which
3215 # case it prints its new name instead of `make'.
3216 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3221 # Now try BSD make style include.
3222 if test "$am__include" = "#"; then
3223 echo '.include "confinc"' > confmf
3224 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3225 am__include
=.include
3232 echo "$as_me:$LINENO: result: $_am_result" >&5
3233 echo "${ECHO_T}$_am_result" >&6
3234 rm -f confinc confmf
3236 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3237 if test "${enable_dependency_tracking+set}" = set; then
3238 enableval
="$enable_dependency_tracking"
3241 if test "x$enable_dependency_tracking" != xno
; then
3242 am_depcomp
="$ac_aux_dir/depcomp"
3247 if test "x$enable_dependency_tracking" != xno; then
3257 # test to see if srcdir already configured
3258 if test "`cd $srcdir && pwd`" != "`pwd`" &&
3259 test -f $srcdir/config.status
; then
3260 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3261 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3262 { (exit 1); exit 1; }; }
3265 # test whether we have cygpath
3266 if test -z "$CYGPATH_W"; then
3267 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3268 CYGPATH_W
='cygpath -w'
3275 # Define the identity of the package.
3277 VERSION
='version-unused'
3280 cat >>confdefs.h
<<_ACEOF
3281 #define PACKAGE "$PACKAGE"
3285 cat >>confdefs.h
<<_ACEOF
3286 #define VERSION "$VERSION"
3289 # Some tools Automake needs.
3291 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3294 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3297 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3300 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3303 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3305 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3307 # Installed binaries are usually stripped using `strip' when the user
3308 # run `make install-strip'. However `strip' might not be the right
3309 # tool to use in cross-compilation environments, therefore Automake
3310 # will honor the `STRIP' environment variable to overrule this program.
3311 if test "$cross_compiling" != no
; then
3312 if test -n "$ac_tool_prefix"; then
3313 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3314 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3315 echo "$as_me:$LINENO: checking for $ac_word" >&5
3316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3317 if test "${ac_cv_prog_STRIP+set}" = set; then
3318 echo $ECHO_N "(cached) $ECHO_C" >&6
3320 if test -n "$STRIP"; then
3321 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3327 test -z "$as_dir" && as_dir
=.
3328 for ac_exec_ext
in '' $ac_executable_extensions; do
3329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3330 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3339 STRIP
=$ac_cv_prog_STRIP
3340 if test -n "$STRIP"; then
3341 echo "$as_me:$LINENO: result: $STRIP" >&5
3342 echo "${ECHO_T}$STRIP" >&6
3344 echo "$as_me:$LINENO: result: no" >&5
3345 echo "${ECHO_T}no" >&6
3349 if test -z "$ac_cv_prog_STRIP"; then
3351 # Extract the first word of "strip", so it can be a program name with args.
3352 set dummy strip
; ac_word
=$2
3353 echo "$as_me:$LINENO: checking for $ac_word" >&5
3354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3355 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3356 echo $ECHO_N "(cached) $ECHO_C" >&6
3358 if test -n "$ac_ct_STRIP"; then
3359 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3365 test -z "$as_dir" && as_dir
=.
3366 for ac_exec_ext
in '' $ac_executable_extensions; do
3367 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3368 ac_cv_prog_ac_ct_STRIP
="strip"
3369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3375 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3378 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3379 if test -n "$ac_ct_STRIP"; then
3380 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3381 echo "${ECHO_T}$ac_ct_STRIP" >&6
3383 echo "$as_me:$LINENO: result: no" >&5
3384 echo "${ECHO_T}no" >&6
3389 STRIP
="$ac_cv_prog_STRIP"
3393 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3395 # We need awk for the "check" target. The system "awk" is bad on
3397 # Always define AMTAR for backward compatibility.
3399 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3401 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3406 depcc
="$CC" am_compiler_list
=
3408 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3409 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3410 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3411 echo $ECHO_N "(cached) $ECHO_C" >&6
3413 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3414 # We make a subdir and do the tests there. Otherwise we can end up
3415 # making bogus files that we don't know about and never remove. For
3416 # instance it was reported that on HP-UX the gcc test will end up
3417 # making a dummy file named `D' -- because `-MD' means `put the output
3420 # Copy depcomp to subdir because otherwise we won't find it if we're
3421 # using a relative directory.
3422 cp "$am_depcomp" conftest.dir
3424 # We will build objects and dependencies in a subdirectory because
3425 # it helps to detect inapplicable dependency modes. For instance
3426 # both Tru64's cc and ICC support -MD to output dependencies as a
3427 # side effect of compilation, but ICC will put the dependencies in
3428 # the current directory while Tru64 will put them in the object
3432 am_cv_CC_dependencies_compiler_type
=none
3433 if test "$am_compiler_list" = ""; then
3434 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3436 for depmode
in $am_compiler_list; do
3437 # Setup a source with many dependencies, because some compilers
3438 # like to wrap large dependency lists on column 80 (with \), and
3439 # we should not choose a depcomp mode which is confused by this.
3441 # We need to recreate these files for each test, as the compiler may
3442 # overwrite some of them when testing with obscure command lines.
3443 # This happens at least with the AIX C compiler.
3445 for i
in 1 2 3 4 5 6; do
3446 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3447 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3448 # Solaris 8's {/usr,}/bin/sh.
3449 touch sub
/conftst
$i.h
3451 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3455 # after this tag, mechanisms are not by side-effect, so they'll
3456 # only be used when explicitly requested
3457 if test "x$enable_dependency_tracking" = xyes
; then
3465 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3466 # mode. It turns out that the SunPro C++ compiler does not properly
3467 # handle `-M -o', and we need to detect this.
3468 if depmode
=$depmode \
3469 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3470 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3471 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3472 >/dev
/null
2>conftest.err
&&
3473 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3474 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3475 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3476 # icc doesn't choke on unknown options, it will just issue warnings
3477 # or remarks (even with -Werror). So we grep stderr for any message
3478 # that says an option was ignored or not supported.
3479 # When given -MP, icc 7.0 and 7.1 complain thusly:
3480 # icc: Command line warning: ignoring option '-M'; no argument required
3481 # The diagnosis changed in icc 8.0:
3482 # icc: Command line remark: option '-MP' not supported
3483 if (grep 'ignoring option' conftest.err ||
3484 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3485 am_cv_CC_dependencies_compiler_type
=$depmode
3494 am_cv_CC_dependencies_compiler_type
=none
3498 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3499 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3500 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3505 test "x$enable_dependency_tracking" != xno \
3506 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3508 am__fastdepCC_FALSE
='#'
3510 am__fastdepCC_TRUE
='#'
3511 am__fastdepCC_FALSE
=
3515 depcc
="$CXX" am_compiler_list
=
3517 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3518 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3519 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3520 echo $ECHO_N "(cached) $ECHO_C" >&6
3522 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3523 # We make a subdir and do the tests there. Otherwise we can end up
3524 # making bogus files that we don't know about and never remove. For
3525 # instance it was reported that on HP-UX the gcc test will end up
3526 # making a dummy file named `D' -- because `-MD' means `put the output
3529 # Copy depcomp to subdir because otherwise we won't find it if we're
3530 # using a relative directory.
3531 cp "$am_depcomp" conftest.dir
3533 # We will build objects and dependencies in a subdirectory because
3534 # it helps to detect inapplicable dependency modes. For instance
3535 # both Tru64's cc and ICC support -MD to output dependencies as a
3536 # side effect of compilation, but ICC will put the dependencies in
3537 # the current directory while Tru64 will put them in the object
3541 am_cv_CXX_dependencies_compiler_type
=none
3542 if test "$am_compiler_list" = ""; then
3543 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3545 for depmode
in $am_compiler_list; do
3546 # Setup a source with many dependencies, because some compilers
3547 # like to wrap large dependency lists on column 80 (with \), and
3548 # we should not choose a depcomp mode which is confused by this.
3550 # We need to recreate these files for each test, as the compiler may
3551 # overwrite some of them when testing with obscure command lines.
3552 # This happens at least with the AIX C compiler.
3554 for i
in 1 2 3 4 5 6; do
3555 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3556 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3557 # Solaris 8's {/usr,}/bin/sh.
3558 touch sub
/conftst
$i.h
3560 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3564 # after this tag, mechanisms are not by side-effect, so they'll
3565 # only be used when explicitly requested
3566 if test "x$enable_dependency_tracking" = xyes
; then
3574 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3575 # mode. It turns out that the SunPro C++ compiler does not properly
3576 # handle `-M -o', and we need to detect this.
3577 if depmode
=$depmode \
3578 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3579 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3580 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3581 >/dev
/null
2>conftest.err
&&
3582 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3583 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3584 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3585 # icc doesn't choke on unknown options, it will just issue warnings
3586 # or remarks (even with -Werror). So we grep stderr for any message
3587 # that says an option was ignored or not supported.
3588 # When given -MP, icc 7.0 and 7.1 complain thusly:
3589 # icc: Command line warning: ignoring option '-M'; no argument required
3590 # The diagnosis changed in icc 8.0:
3591 # icc: Command line remark: option '-MP' not supported
3592 if (grep 'ignoring option' conftest.err ||
3593 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3594 am_cv_CXX_dependencies_compiler_type
=$depmode
3603 am_cv_CXX_dependencies_compiler_type
=none
3607 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3608 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3609 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3614 test "x$enable_dependency_tracking" != xno \
3615 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3616 am__fastdepCXX_TRUE
=
3617 am__fastdepCXX_FALSE
='#'
3619 am__fastdepCXX_TRUE
='#'
3620 am__fastdepCXX_FALSE
=
3626 if test -n "$ac_tool_prefix"; then
3627 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3628 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3629 echo "$as_me:$LINENO: checking for $ac_word" >&5
3630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3631 if test "${ac_cv_prog_AS+set}" = set; then
3632 echo $ECHO_N "(cached) $ECHO_C" >&6
3634 if test -n "$AS"; then
3635 ac_cv_prog_AS
="$AS" # Let the user override the test.
3637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3641 test -z "$as_dir" && as_dir
=.
3642 for ac_exec_ext
in '' $ac_executable_extensions; do
3643 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3644 ac_cv_prog_AS
="${ac_tool_prefix}as"
3645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3654 if test -n "$AS"; then
3655 echo "$as_me:$LINENO: result: $AS" >&5
3656 echo "${ECHO_T}$AS" >&6
3658 echo "$as_me:$LINENO: result: no" >&5
3659 echo "${ECHO_T}no" >&6
3663 if test -z "$ac_cv_prog_AS"; then
3665 # Extract the first word of "as", so it can be a program name with args.
3666 set dummy as
; ac_word
=$2
3667 echo "$as_me:$LINENO: checking for $ac_word" >&5
3668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3669 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3670 echo $ECHO_N "(cached) $ECHO_C" >&6
3672 if test -n "$ac_ct_AS"; then
3673 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3679 test -z "$as_dir" && as_dir
=.
3680 for ac_exec_ext
in '' $ac_executable_extensions; do
3681 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3682 ac_cv_prog_ac_ct_AS
="as"
3683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3691 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3692 if test -n "$ac_ct_AS"; then
3693 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3694 echo "${ECHO_T}$ac_ct_AS" >&6
3696 echo "$as_me:$LINENO: result: no" >&5
3697 echo "${ECHO_T}no" >&6
3705 if test -n "$ac_tool_prefix"; then
3706 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3707 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3708 echo "$as_me:$LINENO: checking for $ac_word" >&5
3709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3710 if test "${ac_cv_prog_AR+set}" = set; then
3711 echo $ECHO_N "(cached) $ECHO_C" >&6
3713 if test -n "$AR"; then
3714 ac_cv_prog_AR
="$AR" # Let the user override the test.
3716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3720 test -z "$as_dir" && as_dir
=.
3721 for ac_exec_ext
in '' $ac_executable_extensions; do
3722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3723 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3733 if test -n "$AR"; then
3734 echo "$as_me:$LINENO: result: $AR" >&5
3735 echo "${ECHO_T}$AR" >&6
3737 echo "$as_me:$LINENO: result: no" >&5
3738 echo "${ECHO_T}no" >&6
3742 if test -z "$ac_cv_prog_AR"; then
3744 # Extract the first word of "ar", so it can be a program name with args.
3745 set dummy
ar; ac_word
=$2
3746 echo "$as_me:$LINENO: checking for $ac_word" >&5
3747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3748 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3749 echo $ECHO_N "(cached) $ECHO_C" >&6
3751 if test -n "$ac_ct_AR"; then
3752 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3758 test -z "$as_dir" && as_dir
=.
3759 for ac_exec_ext
in '' $ac_executable_extensions; do
3760 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3761 ac_cv_prog_ac_ct_AR
="ar"
3762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3770 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3771 if test -n "$ac_ct_AR"; then
3772 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3773 echo "${ECHO_T}$ac_ct_AR" >&6
3775 echo "$as_me:$LINENO: result: no" >&5
3776 echo "${ECHO_T}no" >&6
3784 if test -n "$ac_tool_prefix"; then
3785 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3786 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3787 echo "$as_me:$LINENO: checking for $ac_word" >&5
3788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3789 if test "${ac_cv_prog_RANLIB+set}" = set; then
3790 echo $ECHO_N "(cached) $ECHO_C" >&6
3792 if test -n "$RANLIB"; then
3793 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3799 test -z "$as_dir" && as_dir
=.
3800 for ac_exec_ext
in '' $ac_executable_extensions; do
3801 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3802 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3811 RANLIB
=$ac_cv_prog_RANLIB
3812 if test -n "$RANLIB"; then
3813 echo "$as_me:$LINENO: result: $RANLIB" >&5
3814 echo "${ECHO_T}$RANLIB" >&6
3816 echo "$as_me:$LINENO: result: no" >&5
3817 echo "${ECHO_T}no" >&6
3821 if test -z "$ac_cv_prog_RANLIB"; then
3822 ac_ct_RANLIB
=$RANLIB
3823 # Extract the first word of "ranlib", so it can be a program name with args.
3824 set dummy ranlib
; ac_word
=$2
3825 echo "$as_me:$LINENO: checking for $ac_word" >&5
3826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3827 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3828 echo $ECHO_N "(cached) $ECHO_C" >&6
3830 if test -n "$ac_ct_RANLIB"; then
3831 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3837 test -z "$as_dir" && as_dir
=.
3838 for ac_exec_ext
in '' $ac_executable_extensions; do
3839 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3840 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3847 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3850 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3851 if test -n "$ac_ct_RANLIB"; then
3852 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3853 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3855 echo "$as_me:$LINENO: result: no" >&5
3856 echo "${ECHO_T}no" >&6
3859 RANLIB
=$ac_ct_RANLIB
3861 RANLIB
="$ac_cv_prog_RANLIB"
3865 # Find a good install program. We prefer a C program (faster),
3866 # so one script is as good as another. But avoid the broken or
3867 # incompatible versions:
3868 # SysV /etc/install, /usr/sbin/install
3869 # SunOS /usr/etc/install
3870 # IRIX /sbin/install
3872 # AmigaOS /C/install, which installs bootblocks on floppy discs
3873 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3874 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3875 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3876 # OS/2's system install, which has a completely different semantic
3877 # ./install, which can be erroneously created by make from ./install.sh.
3878 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3879 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3880 if test -z "$INSTALL"; then
3881 if test "${ac_cv_path_install+set}" = set; then
3882 echo $ECHO_N "(cached) $ECHO_C" >&6
3884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3888 test -z "$as_dir" && as_dir
=.
3889 # Account for people who put trailing slashes in PATH elements.
3891 .
/ | .
// |
/cC
/* | \
3892 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3893 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3896 # OSF1 and SCO ODT 3.0 have their own names for install.
3897 # Don't use installbsd from OSF since it installs stuff as root
3899 for ac_prog
in ginstall scoinst
install; do
3900 for ac_exec_ext
in '' $ac_executable_extensions; do
3901 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3902 if test $ac_prog = install &&
3903 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3904 # AIX install. It has an incompatible calling convention.
3906 elif test $ac_prog = install &&
3907 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3908 # program-specific install script used by HP pwplus--don't use.
3911 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3923 if test "${ac_cv_path_install+set}" = set; then
3924 INSTALL
=$ac_cv_path_install
3926 # As a last resort, use the slow shell script. We don't cache a
3927 # path for INSTALL within a source directory, because that will
3928 # break other packages using the cache if that directory is
3929 # removed, or if the path is relative.
3930 INSTALL
=$ac_install_sh
3933 echo "$as_me:$LINENO: result: $INSTALL" >&5
3934 echo "${ECHO_T}$INSTALL" >&6
3936 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3937 # It thinks the first close brace ends the variable substitution.
3938 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3940 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3942 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3945 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3946 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3947 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3948 if test "${enable_maintainer_mode+set}" = set; then
3949 enableval
="$enable_maintainer_mode"
3950 USE_MAINTAINER_MODE
=$enableval
3952 USE_MAINTAINER_MODE
=no
3954 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3955 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3958 if test $USE_MAINTAINER_MODE = yes; then
3959 MAINTAINER_MODE_TRUE
=
3960 MAINTAINER_MODE_FALSE
='#'
3962 MAINTAINER_MODE_TRUE
='#'
3963 MAINTAINER_MODE_FALSE
=
3966 MAINT
=$MAINTAINER_MODE_TRUE
3972 # configure.host sets the following important variables
3973 # libgcj_cflags - host specific C compiler flags
3974 # libgcj_cxxflags - host specific C++ compiler flags
3975 # libgcj_javaflags - host specific Java compiler flags
3981 .
${srcdir}/configure.
host
3983 LIBGCJ_CFLAGS
="${libgcj_cflags}"
3984 LIBGCJ_CXXFLAGS
="${libgcj_cxxflags}"
3985 LIBGCJ_JAVAFLAGS
="${libgcj_javaflags}"
3990 ac_config_headers
="$ac_config_headers include/config.h gcj/libgcj-config.h"
3993 # Only use libltdl for non-newlib builds.
3994 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
3995 case $enable_ltdl_convenience in
3996 no
) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
3997 echo "$as_me: error: this package needs a convenience libltdl" >&2;}
3998 { (exit 1); exit 1; }; } ;;
3999 "") enable_ltdl_convenience
=yes
4000 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
4002 LIBLTDL
='${top_builddir}/''libltdl'/libltdlc.la
4003 INCLTDL
='-I${top_srcdir}/''libltdl'
4008 cat >>confdefs.h
<<\_ACEOF
4012 # Sigh. Libtool's macro doesn't do the right thing.
4013 INCLTDL
="-I\$(top_srcdir)/libltdl $INCLTDL"
4014 # FIXME: this is a hack.
4015 sub_auxdir
="`cd $ac_aux_dir && ${PWDCMD-pwd}`"
4016 ac_configure_args
="$ac_configure_args --with-auxdir=$sub_auxdir"
4021 # Check whether --enable-shared or --disable-shared was given.
4022 if test "${enable_shared+set}" = set; then
4023 enableval
="$enable_shared"
4024 p
=${PACKAGE-default}
4026 yes) enable_shared
=yes ;;
4027 no
) enable_shared
=no
;;
4030 # Look at the argument we got. We use all the common list separators.
4031 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4032 for pkg
in $enableval; do
4033 if test "X$pkg" = "X$p"; then
4043 # Check whether --enable-static or --disable-static was given.
4044 if test "${enable_static+set}" = set; then
4045 enableval
="$enable_static"
4046 p
=${PACKAGE-default}
4048 yes) enable_static
=yes ;;
4049 no
) enable_static
=no
;;
4052 # Look at the argument we got. We use all the common list separators.
4053 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4054 for pkg
in $enableval; do
4055 if test "X$pkg" = "X$p"; then
4065 # Check whether --enable-fast-install or --disable-fast-install was given.
4066 if test "${enable_fast_install+set}" = set; then
4067 enableval
="$enable_fast_install"
4068 p
=${PACKAGE-default}
4070 yes) enable_fast_install
=yes ;;
4071 no
) enable_fast_install
=no
;;
4073 enable_fast_install
=no
4074 # Look at the argument we got. We use all the common list separators.
4075 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4076 for pkg
in $enableval; do
4077 if test "X$pkg" = "X$p"; then
4078 enable_fast_install
=yes
4085 enable_fast_install
=yes
4088 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4089 if test "${with_gnu_ld+set}" = set; then
4090 withval
="$with_gnu_ld"
4091 test "$withval" = no || with_gnu_ld
=yes
4096 if test "$GCC" = yes; then
4097 # Check if gcc -print-prog-name=ld gives a path.
4098 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4099 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4102 # gcc leaves a trailing carriage return which upsets mingw
4103 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4105 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4108 # Accept absolute paths.
4109 [\\/]* |
[A-Za-z
]:[\\/]*)
4110 re_direlt
='/[^/][^/]*/\.\./'
4111 # Canonicalize the path of ld
4112 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
4113 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4114 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
4116 test -z "$LD" && LD
="$ac_prog"
4119 # If it fails, then pretend we aren't using GCC.
4123 # If it is relative, then search for the first ld in PATH.
4127 elif test "$with_gnu_ld" = yes; then
4128 echo "$as_me:$LINENO: checking for GNU ld" >&5
4129 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4131 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4132 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4134 if test "${lt_cv_path_LD+set}" = set; then
4135 echo $ECHO_N "(cached) $ECHO_C" >&6
4137 if test -z "$LD"; then
4138 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4139 for ac_dir
in $PATH; do
4140 test -z "$ac_dir" && ac_dir
=.
4141 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4142 lt_cv_path_LD
="$ac_dir/$ac_prog"
4143 # Check to see if the program is GNU ld. I'd rather use --version,
4144 # but apparently some GNU ld's only accept -v.
4145 # Break only if it was the GNU/non-GNU ld that we prefer.
4146 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
4147 test "$with_gnu_ld" != no
&& break
4149 test "$with_gnu_ld" != yes && break
4155 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4160 if test -n "$LD"; then
4161 echo "$as_me:$LINENO: result: $LD" >&5
4162 echo "${ECHO_T}$LD" >&6
4164 echo "$as_me:$LINENO: result: no" >&5
4165 echo "${ECHO_T}no" >&6
4167 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4168 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4169 { (exit 1); exit 1; }; }
4170 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4171 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4172 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4173 echo $ECHO_N "(cached) $ECHO_C" >&6
4175 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4176 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4177 lt_cv_prog_gnu_ld
=yes
4179 lt_cv_prog_gnu_ld
=no
4182 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4183 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4184 with_gnu_ld
=$lt_cv_prog_gnu_ld
4187 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4188 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4189 if test "${lt_cv_ld_reload_flag+set}" = set; then
4190 echo $ECHO_N "(cached) $ECHO_C" >&6
4192 lt_cv_ld_reload_flag
='-r'
4194 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4195 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4196 reload_flag
=$lt_cv_ld_reload_flag
4197 test -n "$reload_flag" && reload_flag
=" $reload_flag"
4199 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4200 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4201 if test "${lt_cv_path_NM+set}" = set; then
4202 echo $ECHO_N "(cached) $ECHO_C" >&6
4204 if test -n "$NM"; then
4205 # Let the user override the test.
4208 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4209 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
4210 test -z "$ac_dir" && ac_dir
=.
4211 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
4212 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
4213 # Check to see if the nm accepts a BSD-compat flag.
4214 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4215 # nm: unknown option "B" ignored
4216 # Tru64's nm complains that /dev/null is an invalid object file
4217 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
4218 lt_cv_path_NM
="$tmp_nm -B"
4220 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
4221 lt_cv_path_NM
="$tmp_nm -p"
4224 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4225 continue # so that we can try to find one that supports BSD flags
4230 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4235 echo "$as_me:$LINENO: result: $NM" >&5
4236 echo "${ECHO_T}$NM" >&6
4238 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4239 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4240 if test "${lt_cv_deplibs_check_method+set}" = set; then
4241 echo $ECHO_N "(cached) $ECHO_C" >&6
4243 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4244 lt_cv_file_magic_test_file
=
4245 lt_cv_deplibs_check_method
='unknown'
4246 # Need to set the preceding variable on all platforms that support
4247 # interlibrary dependencies.
4248 # 'none' -- dependencies not supported.
4249 # `unknown' -- same as none, but documents that we really don't know.
4250 # 'pass_all' -- all dependencies passed with no checks.
4251 # 'test_compile' -- check by making test program.
4252 # 'file_magic [regex]' -- check by looking for files in library path
4253 # which responds to the $file_magic_cmd with a given egrep regex.
4254 # If you have `file' or equivalent on your system and you're not sure
4255 # whether `pass_all' will *always* work, you probably want this one.
4259 lt_cv_deplibs_check_method
=pass_all
4263 lt_cv_deplibs_check_method
=pass_all
4267 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4268 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4269 lt_cv_file_magic_test_file
=/shlib
/libc.so
4272 cygwin
* | mingw
* |pw32
*)
4273 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4274 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4277 darwin
* | rhapsody
*)
4278 # this will be overwritten by pass_all, but leave it in just in case
4279 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
4280 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4282 rhapsody
* | darwin1.012
)
4283 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
4286 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
4289 lt_cv_deplibs_check_method
=pass_all
4292 freebsd
* | kfreebsd
*-gnu)
4293 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4296 # Not sure whether the presence of OpenBSD here was a mistake.
4297 # Let's accept both of them until this is cleared up.
4298 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4299 lt_cv_file_magic_cmd
=/usr
/bin
/file
4300 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4304 lt_cv_deplibs_check_method
=pass_all
4309 lt_cv_deplibs_check_method
=pass_all
4315 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4316 lt_cv_file_magic_cmd
=/usr
/bin
/file
4317 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4320 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4321 lt_cv_file_magic_cmd
=/usr
/bin
/file
4322 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4330 # this will be overridden with pass_all, but let us keep it just in case
4331 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4335 *-32|
*"-32 ") libmagic
=32-bit;;
4336 *-n32|
*"-n32 ") libmagic
=N32
;;
4337 *-64|
*"-64 ") libmagic
=64-bit;;
4338 *) libmagic
=never-match
;;
4340 # this will be overridden with pass_all, but let us keep it just in case
4341 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4344 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
4345 lt_cv_deplibs_check_method
=pass_all
4348 # This must be Linux ELF.
4351 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* | sh
* )
4352 lt_cv_deplibs_check_method
=pass_all
;;
4354 # glibc up to 2.1.1 does not perform some relocations on ARM
4355 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4357 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
4360 netbsd
* | knetbsd
*-gnu)
4361 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4362 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4364 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
4369 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4370 lt_cv_file_magic_cmd
=/usr
/bin
/file
4371 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4374 osf3
* | osf4
* | osf5
*)
4375 # this will be overridden with pass_all, but let us keep it just in case
4376 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
4377 lt_cv_file_magic_test_file
=/shlib
/libc.so
4378 lt_cv_deplibs_check_method
=pass_all
4382 lt_cv_deplibs_check_method
=pass_all
4386 lt_cv_deplibs_check_method
=pass_all
4387 lt_cv_file_magic_test_file
=/lib
/libc.so
4390 sysv5uw
[78]* | sysv4
*uw2
*)
4391 lt_cv_deplibs_check_method
=pass_all
4394 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
4395 case $host_vendor in
4397 lt_cv_deplibs_check_method
=pass_all
4400 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]'
4401 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4408 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4409 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4410 file_magic_cmd
=$lt_cv_file_magic_cmd
4411 deplibs_check_method
=$lt_cv_deplibs_check_method
4416 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4418 # Only perform the check for file, if the check method requires it
4419 case $deplibs_check_method in
4421 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4422 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4423 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4424 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4425 echo $ECHO_N "(cached) $ECHO_C" >&6
4429 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
4432 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
4435 ac_save_MAGIC_CMD
="$MAGIC_CMD"
4436 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
4437 ac_dummy
="/usr/bin:$PATH"
4438 for ac_dir
in $ac_dummy; do
4439 test -z "$ac_dir" && ac_dir
=.
4440 if test -f $ac_dir/${ac_tool_prefix}file; then
4441 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
4442 if test -n "$file_magic_test_file"; then
4443 case $deplibs_check_method in
4445 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4446 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4447 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
4448 egrep "$file_magic_regex" > /dev
/null
; then
4453 *** Warning: the command libtool uses to detect shared libraries,
4454 *** $file_magic_cmd, produces output that libtool cannot recognize.
4455 *** The result is that libtool may fail to recognize shared libraries
4456 *** as such. This will affect the creation of libtool libraries that
4457 *** depend on shared libraries, but programs linked with such libtool
4458 *** libraries will work regardless of this problem. Nevertheless, you
4459 *** may want to report the problem to your system manager and/or to
4460 *** bug-libtool@gnu.org
4470 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4475 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4476 if test -n "$MAGIC_CMD"; then
4477 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4478 echo "${ECHO_T}$MAGIC_CMD" >&6
4480 echo "$as_me:$LINENO: result: no" >&5
4481 echo "${ECHO_T}no" >&6
4484 if test -z "$lt_cv_path_MAGIC_CMD"; then
4485 if test -n "$ac_tool_prefix"; then
4486 echo "$as_me:$LINENO: checking for file" >&5
4487 echo $ECHO_N "checking for file... $ECHO_C" >&6
4488 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4489 echo $ECHO_N "(cached) $ECHO_C" >&6
4493 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
4496 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
4499 ac_save_MAGIC_CMD
="$MAGIC_CMD"
4500 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
4501 ac_dummy
="/usr/bin:$PATH"
4502 for ac_dir
in $ac_dummy; do
4503 test -z "$ac_dir" && ac_dir
=.
4504 if test -f $ac_dir/file; then
4505 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
4506 if test -n "$file_magic_test_file"; then
4507 case $deplibs_check_method in
4509 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4510 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4511 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
4512 egrep "$file_magic_regex" > /dev
/null
; then
4517 *** Warning: the command libtool uses to detect shared libraries,
4518 *** $file_magic_cmd, produces output that libtool cannot recognize.
4519 *** The result is that libtool may fail to recognize shared libraries
4520 *** as such. This will affect the creation of libtool libraries that
4521 *** depend on shared libraries, but programs linked with such libtool
4522 *** libraries will work regardless of this problem. Nevertheless, you
4523 *** may want to report the problem to your system manager and/or to
4524 *** bug-libtool@gnu.org
4534 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4539 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4540 if test -n "$MAGIC_CMD"; then
4541 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4542 echo "${ECHO_T}$MAGIC_CMD" >&6
4544 echo "$as_me:$LINENO: result: no" >&5
4545 echo "${ECHO_T}no" >&6
4557 if test -n "$ac_tool_prefix"; then
4558 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4559 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4560 echo "$as_me:$LINENO: checking for $ac_word" >&5
4561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4562 if test "${ac_cv_prog_RANLIB+set}" = set; then
4563 echo $ECHO_N "(cached) $ECHO_C" >&6
4565 if test -n "$RANLIB"; then
4566 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4572 test -z "$as_dir" && as_dir
=.
4573 for ac_exec_ext
in '' $ac_executable_extensions; do
4574 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4575 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4584 RANLIB
=$ac_cv_prog_RANLIB
4585 if test -n "$RANLIB"; then
4586 echo "$as_me:$LINENO: result: $RANLIB" >&5
4587 echo "${ECHO_T}$RANLIB" >&6
4589 echo "$as_me:$LINENO: result: no" >&5
4590 echo "${ECHO_T}no" >&6
4594 if test -z "$ac_cv_prog_RANLIB"; then
4595 ac_ct_RANLIB
=$RANLIB
4596 # Extract the first word of "ranlib", so it can be a program name with args.
4597 set dummy ranlib
; ac_word
=$2
4598 echo "$as_me:$LINENO: checking for $ac_word" >&5
4599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4600 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4601 echo $ECHO_N "(cached) $ECHO_C" >&6
4603 if test -n "$ac_ct_RANLIB"; then
4604 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4610 test -z "$as_dir" && as_dir
=.
4611 for ac_exec_ext
in '' $ac_executable_extensions; do
4612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4613 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4620 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4623 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4624 if test -n "$ac_ct_RANLIB"; then
4625 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4626 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4628 echo "$as_me:$LINENO: result: no" >&5
4629 echo "${ECHO_T}no" >&6
4632 RANLIB
=$ac_ct_RANLIB
4634 RANLIB
="$ac_cv_prog_RANLIB"
4637 if test -n "$ac_tool_prefix"; then
4638 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4639 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4640 echo "$as_me:$LINENO: checking for $ac_word" >&5
4641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4642 if test "${ac_cv_prog_STRIP+set}" = set; then
4643 echo $ECHO_N "(cached) $ECHO_C" >&6
4645 if test -n "$STRIP"; then
4646 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4652 test -z "$as_dir" && as_dir
=.
4653 for ac_exec_ext
in '' $ac_executable_extensions; do
4654 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4655 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4664 STRIP
=$ac_cv_prog_STRIP
4665 if test -n "$STRIP"; then
4666 echo "$as_me:$LINENO: result: $STRIP" >&5
4667 echo "${ECHO_T}$STRIP" >&6
4669 echo "$as_me:$LINENO: result: no" >&5
4670 echo "${ECHO_T}no" >&6
4674 if test -z "$ac_cv_prog_STRIP"; then
4676 # Extract the first word of "strip", so it can be a program name with args.
4677 set dummy strip
; ac_word
=$2
4678 echo "$as_me:$LINENO: checking for $ac_word" >&5
4679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4680 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4681 echo $ECHO_N "(cached) $ECHO_C" >&6
4683 if test -n "$ac_ct_STRIP"; then
4684 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4690 test -z "$as_dir" && as_dir
=.
4691 for ac_exec_ext
in '' $ac_executable_extensions; do
4692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4693 ac_cv_prog_ac_ct_STRIP
="strip"
4694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4700 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
4703 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4704 if test -n "$ac_ct_STRIP"; then
4705 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4706 echo "${ECHO_T}$ac_ct_STRIP" >&6
4708 echo "$as_me:$LINENO: result: no" >&5
4709 echo "${ECHO_T}no" >&6
4714 STRIP
="$ac_cv_prog_STRIP"
4718 # Check for any special flags to pass to ltconfig.
4719 libtool_flags
="--cache-file=$cache_file"
4720 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
4721 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
4722 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
4723 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
4724 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
4727 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4728 if test "${enable_libtool_lock+set}" = set; then
4729 enableval
="$enable_libtool_lock"
4732 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
4733 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
4736 # Check whether --with-pic or --without-pic was given.
4737 if test "${with_pic+set}" = set; then
4743 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
4744 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
4746 # Some flags need to be propagated to the compiler or linker for good
4750 # Find out which ABI we are using.
4751 echo '#line 4751 "configure"' > conftest.
$ac_ext
4752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4753 (eval $ac_compile) 2>&5
4755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756 (exit $ac_status); }; then
4757 if test "$lt_cv_prog_gnu_ld" = yes; then
4758 case `/usr/bin/file conftest.$ac_objext` in
4760 LD
="${LD-ld} -melf32bsmip"
4763 LD
="${LD-ld} -melf32bmipn32"
4766 LD
="${LD-ld} -melf64bmip"
4770 case `/usr/bin/file conftest.$ac_objext` in
4787 # Find out which ABI we are using.
4788 echo 'int i;' > conftest.
$ac_ext
4789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4790 (eval $ac_compile) 2>&5
4792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793 (exit $ac_status); }; then
4794 case "`/usr/bin/file conftest.o`" in
4806 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4807 # Find out which ABI we are using.
4808 echo 'int i;' > conftest.
$ac_ext
4809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4810 (eval $ac_compile) 2>&5
4812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4813 (exit $ac_status); }; then
4814 case "`/usr/bin/file conftest.o`" in
4818 LD
="${LD-ld} -m elf_i386"
4820 ppc64-
*linux
*|powerpc64-
*linux
*)
4821 LD
="${LD-ld} -m elf32ppclinux"
4824 LD
="${LD-ld} -m elf_s390"
4827 LD
="${LD-ld} -m elf32_sparc"
4834 LD
="${LD-ld} -m elf_x86_64"
4836 ppc
*-*linux
*|powerpc
*-*linux
*)
4837 LD
="${LD-ld} -m elf64ppc"
4840 LD
="${LD-ld} -m elf64_s390"
4843 LD
="${LD-ld} -m elf64_sparc"
4853 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4854 SAVE_CFLAGS
="$CFLAGS"
4855 CFLAGS
="$CFLAGS -belf"
4856 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4857 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4858 if test "${lt_cv_cc_needs_belf+set}" = set; then
4859 echo $ECHO_N "(cached) $ECHO_C" >&6
4864 ac_cpp
='$CPP $CPPFLAGS'
4865 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4866 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4867 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4869 if test x
$gcc_no_link = xyes
; then
4870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4872 { (exit 1); exit 1; }; }
4874 cat >conftest.
$ac_ext <<_ACEOF
4877 cat confdefs.h
>>conftest.
$ac_ext
4878 cat >>conftest.
$ac_ext <<_ACEOF
4879 /* end confdefs.h. */
4889 rm -f conftest.
$ac_objext conftest
$ac_exeext
4890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4891 (eval $ac_link) 2>conftest.er1
4893 grep -v '^ *+' conftest.er1
>conftest.err
4895 cat conftest.err
>&5
4896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897 (exit $ac_status); } &&
4898 { ac_try
='test -z "$ac_c_werror_flag"
4899 || test ! -s conftest.err'
4900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4904 (exit $ac_status); }; } &&
4905 { ac_try
='test -s conftest$ac_exeext'
4906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4910 (exit $ac_status); }; }; then
4911 lt_cv_cc_needs_belf
=yes
4913 echo "$as_me: failed program was:" >&5
4914 sed 's/^/| /' conftest.
$ac_ext >&5
4916 lt_cv_cc_needs_belf
=no
4918 rm -f conftest.err conftest.
$ac_objext \
4919 conftest
$ac_exeext conftest.
$ac_ext
4921 ac_cpp
='$CPP $CPPFLAGS'
4922 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4923 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4924 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4927 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4928 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4929 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4930 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4931 CFLAGS
="$SAVE_CFLAGS"
4939 # Save cache, so that ltconfig can load it
4940 cat >confcache
<<\_ACEOF
4941 # This file is a shell script that caches the results of configure
4942 # tests run on this system so they can be shared between configure
4943 # scripts and configure runs, see configure's option --config-cache.
4944 # It is not useful on other systems. If it contains results you don't
4945 # want to keep, you may remove or edit it.
4947 # config.status only pays attention to the cache file if you give it
4948 # the --recheck option to rerun configure.
4950 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4951 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4956 # The following way of writing the cache mishandles newlines in values,
4957 # but we know of no workaround that is simple, portable, and efficient.
4958 # So, don't put newlines in cache variables' values.
4959 # Ultrix sh set writes to stderr and can't be redirected directly,
4960 # and sets the high bit in the cache file unless we assign to the vars.
4963 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4965 # `set' does not quote correctly, so add quotes (double-quote
4966 # substitution turns \\\\ into \\, and sed turns \\ into \).
4969 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4972 # `set' quotes correctly as required by POSIX, so do not add quotes.
4974 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4981 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4983 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4985 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4986 if test -w $cache_file; then
4987 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4988 cat confcache
>$cache_file
4990 echo "not updating unwritable cache $cache_file"
4995 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4996 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4997 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4998 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4999 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
5000 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
5001 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
5002 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
5003 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
5004 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
5005 echo "$as_me: error: libtool configure failed" >&2;}
5006 { (exit 1); exit 1; }; }
5008 # Reload cache, that may have been modified by ltconfig
5009 if test -r "$cache_file"; then
5010 # Some versions of bash will fail to source /dev/null (special
5011 # files actually), so we avoid doing that.
5012 if test -f "$cache_file"; then
5013 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5014 echo "$as_me: loading cache $cache_file" >&6;}
5016 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
5017 *) . .
/$cache_file;;
5021 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5022 echo "$as_me: creating cache $cache_file" >&6;}
5027 # This can be used to rebuild libtool when needed
5028 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5030 # Always use our own libtool.
5031 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
5033 # Redirect the config.log output again, so that the ltconfig log is not
5034 # clobbered by the next message.
5035 exec 5>>.
/config.log
5038 ac_cpp
='$CXXCPP $CPPFLAGS'
5039 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5040 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5041 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5042 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5043 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5044 if test -z "$CXXCPP"; then
5045 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5046 echo $ECHO_N "(cached) $ECHO_C" >&6
5048 # Double quotes because CXXCPP needs to be expanded
5049 for CXXCPP
in "$CXX -E" "/lib/cpp"
5052 for ac_cxx_preproc_warn_flag
in '' yes
5054 # Use a header file that comes with gcc, so configuring glibc
5055 # with a fresh cross-compiler works.
5056 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5057 # <limits.h> exists even on freestanding compilers.
5058 # On the NeXT, cc -E runs the code through the compiler's parser,
5059 # not just through cpp. "Syntax error" is here to catch this case.
5060 cat >conftest.
$ac_ext <<_ACEOF
5063 cat confdefs.h
>>conftest.
$ac_ext
5064 cat >>conftest.
$ac_ext <<_ACEOF
5065 /* end confdefs.h. */
5067 # include <limits.h>
5069 # include <assert.h>
5073 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5074 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5076 grep -v '^ *+' conftest.er1
>conftest.err
5078 cat conftest.err
>&5
5079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5080 (exit $ac_status); } >/dev
/null
; then
5081 if test -s conftest.err
; then
5082 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5083 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5090 if test -z "$ac_cpp_err"; then
5093 echo "$as_me: failed program was:" >&5
5094 sed 's/^/| /' conftest.
$ac_ext >&5
5096 # Broken: fails on valid input.
5099 rm -f conftest.err conftest.
$ac_ext
5101 # OK, works on sane cases. Now check whether non-existent headers
5102 # can be detected and how.
5103 cat >conftest.
$ac_ext <<_ACEOF
5106 cat confdefs.h
>>conftest.
$ac_ext
5107 cat >>conftest.
$ac_ext <<_ACEOF
5108 /* end confdefs.h. */
5109 #include <ac_nonexistent.h>
5111 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5112 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5114 grep -v '^ *+' conftest.er1
>conftest.err
5116 cat conftest.err
>&5
5117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5118 (exit $ac_status); } >/dev
/null
; then
5119 if test -s conftest.err
; then
5120 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5121 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5128 if test -z "$ac_cpp_err"; then
5129 # Broken: success on invalid input.
5132 echo "$as_me: failed program was:" >&5
5133 sed 's/^/| /' conftest.
$ac_ext >&5
5135 # Passes both tests.
5139 rm -f conftest.err conftest.
$ac_ext
5142 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5143 rm -f conftest.err conftest.
$ac_ext
5144 if $ac_preproc_ok; then
5149 ac_cv_prog_CXXCPP
=$CXXCPP
5152 CXXCPP
=$ac_cv_prog_CXXCPP
5154 ac_cv_prog_CXXCPP
=$CXXCPP
5156 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5157 echo "${ECHO_T}$CXXCPP" >&6
5159 for ac_cxx_preproc_warn_flag
in '' yes
5161 # Use a header file that comes with gcc, so configuring glibc
5162 # with a fresh cross-compiler works.
5163 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5164 # <limits.h> exists even on freestanding compilers.
5165 # On the NeXT, cc -E runs the code through the compiler's parser,
5166 # not just through cpp. "Syntax error" is here to catch this case.
5167 cat >conftest.
$ac_ext <<_ACEOF
5170 cat confdefs.h
>>conftest.
$ac_ext
5171 cat >>conftest.
$ac_ext <<_ACEOF
5172 /* end confdefs.h. */
5174 # include <limits.h>
5176 # include <assert.h>
5180 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5181 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5183 grep -v '^ *+' conftest.er1
>conftest.err
5185 cat conftest.err
>&5
5186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5187 (exit $ac_status); } >/dev
/null
; then
5188 if test -s conftest.err
; then
5189 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5190 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5197 if test -z "$ac_cpp_err"; then
5200 echo "$as_me: failed program was:" >&5
5201 sed 's/^/| /' conftest.
$ac_ext >&5
5203 # Broken: fails on valid input.
5206 rm -f conftest.err conftest.
$ac_ext
5208 # OK, works on sane cases. Now check whether non-existent headers
5209 # can be detected and how.
5210 cat >conftest.
$ac_ext <<_ACEOF
5213 cat confdefs.h
>>conftest.
$ac_ext
5214 cat >>conftest.
$ac_ext <<_ACEOF
5215 /* end confdefs.h. */
5216 #include <ac_nonexistent.h>
5218 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5219 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5221 grep -v '^ *+' conftest.er1
>conftest.err
5223 cat conftest.err
>&5
5224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5225 (exit $ac_status); } >/dev
/null
; then
5226 if test -s conftest.err
; then
5227 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5228 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5235 if test -z "$ac_cpp_err"; then
5236 # Broken: success on invalid input.
5239 echo "$as_me: failed program was:" >&5
5240 sed 's/^/| /' conftest.
$ac_ext >&5
5242 # Passes both tests.
5246 rm -f conftest.err conftest.
$ac_ext
5249 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5250 rm -f conftest.err conftest.
$ac_ext
5251 if $ac_preproc_ok; then
5254 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5255 See \`config.log' for more details." >&5
5256 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5257 See \`config.log' for more details." >&2;}
5258 { (exit 1); exit 1; }; }
5262 ac_cpp
='$CPP $CPPFLAGS'
5263 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5264 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5265 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5269 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
5271 lt_save_CFLAGS
="$CFLAGS"
5272 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
5273 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
5274 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
5275 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
5276 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
5277 deplibs_check_method
="$deplibs_check_method" \
5278 file_magic_cmd
="$file_magic_cmd" \
5279 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
5280 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
5281 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
5282 echo "$as_me: error: libtool tag configuration failed" >&2;}
5283 { (exit 1); exit 1; }; }
5285 CFLAGS
="$lt_save_CFLAGS"
5287 # Redirect the config.log output again, so that the ltconfig log is not
5288 # clobbered by the next message.
5289 exec 5>>.
/config.log
5299 # Extract the first word of "$ac_prog", so it can be a program name with args.
5300 set dummy
$ac_prog; ac_word
=$2
5301 echo "$as_me:$LINENO: checking for $ac_word" >&5
5302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5303 if test "${ac_cv_prog_GCJ+set}" = set; then
5304 echo $ECHO_N "(cached) $ECHO_C" >&6
5306 if test -n "$GCJ"; then
5307 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
5309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5313 test -z "$as_dir" && as_dir
=.
5314 for ac_exec_ext
in '' $ac_executable_extensions; do
5315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5316 ac_cv_prog_GCJ
="$ac_prog"
5317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5326 if test -n "$GCJ"; then
5327 echo "$as_me:$LINENO: result: $GCJ" >&5
5328 echo "${ECHO_T}$GCJ" >&6
5330 echo "$as_me:$LINENO: result: no" >&5
5331 echo "${ECHO_T}no" >&6
5334 test -n "$GCJ" && break
5336 test -n "$GCJ" || GCJ
="gcj"
5338 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
5339 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
5340 { (exit 1); exit 1; }; }
5341 if test "x${GCJFLAGS-unset}" = xunset
; then
5346 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
5348 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5349 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5350 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
5351 echo $ECHO_N "(cached) $ECHO_C" >&6
5353 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5354 # We make a subdir and do the tests there. Otherwise we can end up
5355 # making bogus files that we don't know about and never remove. For
5356 # instance it was reported that on HP-UX the gcc test will end up
5357 # making a dummy file named `D' -- because `-MD' means `put the output
5360 # Copy depcomp to subdir because otherwise we won't find it if we're
5361 # using a relative directory.
5362 cp "$am_depcomp" conftest.dir
5364 # We will build objects and dependencies in a subdirectory because
5365 # it helps to detect inapplicable dependency modes. For instance
5366 # both Tru64's cc and ICC support -MD to output dependencies as a
5367 # side effect of compilation, but ICC will put the dependencies in
5368 # the current directory while Tru64 will put them in the object
5372 am_cv_GCJ_dependencies_compiler_type
=none
5373 if test "$am_compiler_list" = ""; then
5374 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5376 for depmode
in $am_compiler_list; do
5377 # Setup a source with many dependencies, because some compilers
5378 # like to wrap large dependency lists on column 80 (with \), and
5379 # we should not choose a depcomp mode which is confused by this.
5381 # We need to recreate these files for each test, as the compiler may
5382 # overwrite some of them when testing with obscure command lines.
5383 # This happens at least with the AIX C compiler.
5385 for i
in 1 2 3 4 5 6; do
5386 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5387 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5388 # Solaris 8's {/usr,}/bin/sh.
5389 touch sub
/conftst
$i.h
5391 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5395 # after this tag, mechanisms are not by side-effect, so they'll
5396 # only be used when explicitly requested
5397 if test "x$enable_dependency_tracking" = xyes
; then
5405 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5406 # mode. It turns out that the SunPro C++ compiler does not properly
5407 # handle `-M -o', and we need to detect this.
5408 if depmode
=$depmode \
5409 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5410 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5411 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5412 >/dev
/null
2>conftest.err
&&
5413 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5414 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5415 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5416 # icc doesn't choke on unknown options, it will just issue warnings
5417 # or remarks (even with -Werror). So we grep stderr for any message
5418 # that says an option was ignored or not supported.
5419 # When given -MP, icc 7.0 and 7.1 complain thusly:
5420 # icc: Command line warning: ignoring option '-M'; no argument required
5421 # The diagnosis changed in icc 8.0:
5422 # icc: Command line remark: option '-MP' not supported
5423 if (grep 'ignoring option' conftest.err ||
5424 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5425 am_cv_GCJ_dependencies_compiler_type
=$depmode
5434 am_cv_GCJ_dependencies_compiler_type
=none
5438 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
5439 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
5440 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
5445 test "x$enable_dependency_tracking" != xno \
5446 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
5447 am__fastdepGCJ_TRUE
=
5448 am__fastdepGCJ_FALSE
='#'
5450 am__fastdepGCJ_TRUE
='#'
5451 am__fastdepGCJ_FALSE
=
5457 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-gcj.sh"
5459 lt_save_CFLAGS
="$CFLAGS"
5460 AR
="$AR" LTCC
="$CC" CC
="$GCJ" CFLAGS
="$GCJFLAGS" CPPFLAGS
="$CPPFLAGS" \
5461 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
5462 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
5463 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
5464 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
5465 deplibs_check_method
="$deplibs_check_method" \
5466 file_magic_cmd
="$file_magic_cmd" \
5467 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
5468 --build="$build" --add-tag=GCJ
$ac_aux_dir/ltcf-gcj.sh
$host \
5469 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
5470 echo "$as_me: error: libtool tag configuration failed" >&2;}
5471 { (exit 1); exit 1; }; }
5473 CFLAGS
="$lt_save_CFLAGS"
5475 # Redirect the config.log output again, so that the ltconfig log is not
5476 # clobbered by the next message.
5477 exec 5>>.
/config.log
5481 if test "x$CC" != xcc
; then
5482 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
5483 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
5485 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
5486 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
5488 set dummy
$CC; ac_cc
=`echo $2 |
5489 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5490 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
5491 echo $ECHO_N "(cached) $ECHO_C" >&6
5493 cat >conftest.
$ac_ext <<_ACEOF
5496 cat confdefs.h
>>conftest.
$ac_ext
5497 cat >>conftest.
$ac_ext <<_ACEOF
5498 /* end confdefs.h. */
5508 # Make sure it works both with $CC and with simple cc.
5509 # We do the test twice because some compilers refuse to overwrite an
5510 # existing .o file with -o, though they will create one.
5511 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
5512 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5516 (exit $ac_status); } &&
5517 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5521 (exit $ac_status); };
5523 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
5524 if test "x$CC" != xcc
; then
5525 # Test first that cc exists at all.
5526 if { ac_try
='cc -c conftest.$ac_ext >&5'
5527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5531 (exit $ac_status); }; }; then
5532 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
5533 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5537 (exit $ac_status); } &&
5538 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542 (exit $ac_status); };
5547 # cc exists but doesn't like -o.
5548 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
5553 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
5558 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
5559 echo "$as_me:$LINENO: result: yes" >&5
5560 echo "${ECHO_T}yes" >&6
5562 echo "$as_me:$LINENO: result: no" >&5
5563 echo "${ECHO_T}no" >&6
5565 cat >>confdefs.h
<<\_ACEOF
5566 #define NO_MINUS_C_MINUS_O 1
5571 # FIXME: we rely on the cache variable name because
5572 # there is no other way.
5574 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5575 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
5576 # Losing compiler, so override with the script.
5577 # FIXME: It is wrong to rewrite CC.
5578 # But if we don't then we get into trouble of one sort or another.
5579 # A longer-term fix would be to have automake use am__CC in this case,
5580 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5581 CC
="$am_aux_dir/compile $CC"
5586 subdirs
="$subdirs libltdl"
5589 if test -z "$with_target_subdir" ||
test "$with_target_subdir" = "."; then
5596 # The -no-testsuite modules omit the test subdir.
5599 if test -d $srcdir/testsuite
; then
5601 TESTSUBDIR_FALSE
='#'
5608 # Should the runtime set system properties by examining the
5609 # environment variable GCJ_PROPERTIES?
5610 # Check whether --enable-getenv-properties or --disable-getenv-properties was given.
5611 if test "${enable_getenv_properties+set}" = set; then
5612 enableval
="$enable_getenv_properties"
5616 # Whether GCJ_PROPERTIES is used depends on the target.
5617 if test -z "$enable_getenv_properties"; then
5618 enable_getenv_properties
=${enable_getenv_properties_default-yes}
5620 if test "$enable_getenv_properties" = no
; then
5622 cat >>confdefs.h
<<\_ACEOF
5623 #define DISABLE_GETENV_PROPERTIES 1
5628 # Whether we should use arguments to main()
5629 if test -z "$enable_main_args"; then
5630 enable_main_args
=${enable_main_args_default-yes}
5632 if test "$enable_main_args" = no
; then
5634 cat >>confdefs.h
<<\_ACEOF
5635 #define DISABLE_MAIN_ARGS 1
5641 # Should we use hashtable-based synchronization?
5642 # Currently works only for Linux X86/ia64
5643 # Typically faster and more space-efficient
5644 # Check whether --enable-hash-synchronization or --disable-hash-synchronization was given.
5645 if test "${enable_hash_synchronization+set}" = set; then
5646 enableval
="$enable_hash_synchronization"
5650 if test -z "$enable_hash_synchronization"; then
5651 enable_hash_synchronization
=$enable_hash_synchronization_default
5654 # Do we allow intermodule optimizations (i.e. compiling many files at once)?
5655 # Check whether --enable-libgcj-multifile or --disable-libgcj-multifile was given.
5656 if test "${enable_libgcj_multifile+set}" = set; then
5657 enableval
="$enable_libgcj_multifile"
5658 case "${enableval}" in
5659 yes) enable_libgcj_multifile
=yes ;;
5660 no
) enable_libgcj_multifile
=no
;;
5661 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-libgcj-multifile" >&5
5662 echo "$as_me: error: bad value ${enableval} for --enable-libgcj-multifile" >&2;}
5663 { (exit 1); exit 1; }; } ;;
5666 enable_libgcj_multifile
=no
5670 if test "$enable_libgcj_multifile" = yes; then
5679 # What is the native OS API for MinGW?
5681 # Check whether --with-win32-nlsapi or --without-win32-nlsapi was given.
5682 if test "${with_win32_nlsapi+set}" = set; then
5683 withval
="$with_win32_nlsapi"
5684 case "${withval}" in
5685 ansi
) with_win32_nlsapi
=ansi
;;
5686 unicows
) with_win32_nlsapi
=unicows
;;
5687 unicode
) with_win32_nlsapi
=unicode
;;
5688 *) { { echo "$as_me:$LINENO: error: Bad value ${withval} for --with-win32-nlsapi." >&5
5689 echo "$as_me: error: Bad value ${withval} for --with-win32-nlsapi." >&2;}
5690 { (exit 1); exit 1; }; } ;;
5693 with_win32_nlsapi
=ansi
5696 case "${with_win32_nlsapi}" in
5699 cat >>confdefs.h
<<\_ACEOF
5700 #define MINGW_LIBGCJ_UNICODE 1
5706 # configure.host sets slow_pthread_self if the synchronization code should
5707 # try to avoid pthread_self calls by caching thread IDs in a hashtable.
5708 if test "${slow_pthread_self}" = "yes"; then
5710 cat >>confdefs.h
<<\_ACEOF
5711 #define SLOW_PTHREAD_SELF 1
5717 # See if the user has requested runtime debugging.
5720 # Check whether --enable-libgcj-debug or --disable-libgcj-debug was given.
5721 if test "${enable_libgcj_debug+set}" = set; then
5722 enableval
="$enable_libgcj_debug"
5723 if test "$enable_libgcj_debug" = yes; then
5725 cat >>confdefs.h
<<\_ACEOF
5733 # Check for gc debugging. This option is handled both here and in the GC.
5734 # Check whether --enable-gc-debug or --disable-gc-debug was given.
5735 if test "${enable_gc_debug+set}" = set; then
5736 enableval
="$enable_gc_debug"
5737 if test "$enable_gc_debug" = "yes"; then
5739 cat >>confdefs.h
<<\_ACEOF
5740 #define LIBGCJ_GC_DEBUG 1
5746 # See if the user has the interpreter included.
5747 # Check whether --enable-interpreter or --disable-interpreter was given.
5748 if test "${enable_interpreter+set}" = set; then
5749 enableval
="$enable_interpreter"
5750 if test "$enable_interpreter" = yes; then
5751 # This can also be set in configure.host.
5752 libgcj_interpreter
=yes
5753 elif test "$enable_interpreter" = no
; then
5754 libgcj_interpreter
=no
5758 if test "$libgcj_interpreter" = yes; then
5760 cat >>confdefs.h
<<\_ACEOF
5761 #define INTERPRETER 1
5765 INTERPRETER
="$libgcj_interpreter"
5768 echo "$as_me:$LINENO: checking for exception model to use" >&5
5769 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
5771 ac_cpp
='$CXXCPP $CPPFLAGS'
5772 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5773 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5774 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5776 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
5777 if test "${enable_sjlj_exceptions+set}" = set; then
5778 enableval
="$enable_sjlj_exceptions"
5781 cat > conftest.
$ac_ext << EOF
5782 #line 5782 "configure"
5791 old_CXXFLAGS
="$CXXFLAGS"
5793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5794 (eval $ac_compile) 2>&5
5796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5797 (exit $ac_status); }; then
5798 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1 ; then
5799 enable_sjlj_exceptions
=yes
5800 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1 ; then
5801 enable_sjlj_exceptions
=no
5804 CXXFLAGS
="$old_CXXFLAGS"
5807 if test x
$enable_sjlj_exceptions = xyes
; then
5809 cat >>confdefs.h
<<\_ACEOF
5810 #define SJLJ_EXCEPTIONS 1
5813 ac_exception_model_name
=sjlj
5814 elif test x
$enable_sjlj_exceptions = xno
; then
5815 ac_exception_model_name
="call frame"
5817 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5818 echo "$as_me: error: unable to detect exception model" >&2;}
5819 { (exit 1); exit 1; }; }
5822 ac_cpp
='$CPP $CPPFLAGS'
5823 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5824 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5825 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5827 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5828 echo "${ECHO_T}$ac_exception_model_name" >&6
5830 # If we are non using SJLJ exceptions, and this host does not have support
5831 # for unwinding from a signal handler, enable checked dereferences and divides.
5832 if test $can_unwind_signal = no
&& test $enable_sjlj_exceptions = no
; then
5833 CHECKREFSPEC
=-fcheck-references
5834 DIVIDESPEC
=-fuse-divide-subroutine
5838 # See if the user wants to disable java.net. This is the mildly
5839 # ugly way that we admit that target-side configuration sucks.
5840 # Check whether --enable-java-net or --disable-java-net was given.
5841 if test "${enable_java_net+set}" = set; then
5842 enableval
="$enable_java_net"
5846 # Whether java.net is built by default can depend on the target.
5847 if test -z "$enable_java_net"; then
5848 enable_java_net
=${enable_java_net_default-yes}
5850 if test "$enable_java_net" = no
; then
5852 cat >>confdefs.h
<<\_ACEOF
5853 #define DISABLE_JAVA_NET 1
5858 # See if the user wants to configure without libffi. Some
5859 # architectures don't support it, and default values are set in
5862 # Check whether --with-libffi or --without-libffi was given.
5863 if test "${with_libffi+set}" = set; then
5864 withval
="$with_libffi"
5867 with_libffi
=${with_libffi_default-yes}
5872 if test "$with_libffi" != no
; then
5874 cat >>confdefs.h
<<\_ACEOF
5875 #define USE_LIBFFI 1
5878 LIBFFI
=..
/libffi
/libffi_convenience.la
5879 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
5884 # See if the user wants to disable JVMPI support.
5885 # Check whether --enable-jvmpi or --disable-jvmpi was given.
5886 if test "${enable_jvmpi+set}" = set; then
5887 enableval
="$enable_jvmpi"
5891 if test "$enable_jvmpi" != no
; then
5893 cat >>confdefs.h
<<\_ACEOF
5894 #define ENABLE_JVMPI 1
5899 # If the target is an eCos system, use the appropriate eCos
5901 # FIXME: this should not be a local option but a global target
5902 # system; at present there is no eCos target.
5903 TARGET_ECOS
=${PROCESS-"no"}
5905 # Check whether --with-ecos or --without-ecos was given.
5906 if test "${with_ecos+set}" = set; then
5907 withval
="$with_ecos"
5908 TARGET_ECOS
="$with_ecos"
5914 PLATFORM_INNER_NAT_HDRS
=
5915 case "$TARGET_ECOS" in
5922 echo "$as_me:$LINENO: checking whether 'ld' is at least 2.13" >&5
5923 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6
5924 LD_PROG
=`$CC --print-prog-name=ld`
5925 LD_VERSION
=`$LD_PROG --version`
5926 LD_VERSION_MAJOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
5927 LD_VERSION_MINOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
5928 if expr "$LD_VERSION_MAJOR" \
> 2 > /dev
/null
; then
5931 if expr "$LD_VERSION_MAJOR" = 2 && expr "$LD_VERSION_MINOR" \
>= 13 > /dev
/null
; then
5935 if test "x$LD_OK" != x
; then
5936 echo "$as_me:$LINENO: result: yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
5937 echo "${ECHO_T}yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
5939 echo "$as_me:$LINENO: result: no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
5940 echo "${ECHO_T}no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
5941 { echo "$as_me:$LINENO: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&5
5942 echo "$as_me: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&2;}
5944 cat >>confdefs.h
<<\_ACEOF
5945 #define JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS 1
5954 PLATFORM_INNER_NAT_HDRS
='java/lang/ConcreteProcess$$ProcessManager.h'
5962 cat >>confdefs.h
<<\_ACEOF
5970 ac_config_links
="$ac_config_links include/platform.h:include/$PLATFORMH"
5974 ac_cpp
='$CPP $CPPFLAGS'
5975 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5976 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5977 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5978 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5979 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5980 # On Suns, sometimes $CPP names a directory.
5981 if test -n "$CPP" && test -d "$CPP"; then
5984 if test -z "$CPP"; then
5985 if test "${ac_cv_prog_CPP+set}" = set; then
5986 echo $ECHO_N "(cached) $ECHO_C" >&6
5988 # Double quotes because CPP needs to be expanded
5989 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5992 for ac_c_preproc_warn_flag
in '' yes
5994 # Use a header file that comes with gcc, so configuring glibc
5995 # with a fresh cross-compiler works.
5996 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5997 # <limits.h> exists even on freestanding compilers.
5998 # On the NeXT, cc -E runs the code through the compiler's parser,
5999 # not just through cpp. "Syntax error" is here to catch this case.
6000 cat >conftest.
$ac_ext <<_ACEOF
6003 cat confdefs.h
>>conftest.
$ac_ext
6004 cat >>conftest.
$ac_ext <<_ACEOF
6005 /* end confdefs.h. */
6007 # include <limits.h>
6009 # include <assert.h>
6013 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6014 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6016 grep -v '^ *+' conftest.er1
>conftest.err
6018 cat conftest.err
>&5
6019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6020 (exit $ac_status); } >/dev
/null
; then
6021 if test -s conftest.err
; then
6022 ac_cpp_err
=$ac_c_preproc_warn_flag
6023 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6030 if test -z "$ac_cpp_err"; then
6033 echo "$as_me: failed program was:" >&5
6034 sed 's/^/| /' conftest.
$ac_ext >&5
6036 # Broken: fails on valid input.
6039 rm -f conftest.err conftest.
$ac_ext
6041 # OK, works on sane cases. Now check whether non-existent headers
6042 # can be detected and how.
6043 cat >conftest.
$ac_ext <<_ACEOF
6046 cat confdefs.h
>>conftest.
$ac_ext
6047 cat >>conftest.
$ac_ext <<_ACEOF
6048 /* end confdefs.h. */
6049 #include <ac_nonexistent.h>
6051 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6052 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6054 grep -v '^ *+' conftest.er1
>conftest.err
6056 cat conftest.err
>&5
6057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6058 (exit $ac_status); } >/dev
/null
; then
6059 if test -s conftest.err
; then
6060 ac_cpp_err
=$ac_c_preproc_warn_flag
6061 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6068 if test -z "$ac_cpp_err"; then
6069 # Broken: success on invalid input.
6072 echo "$as_me: failed program was:" >&5
6073 sed 's/^/| /' conftest.
$ac_ext >&5
6075 # Passes both tests.
6079 rm -f conftest.err conftest.
$ac_ext
6082 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6083 rm -f conftest.err conftest.
$ac_ext
6084 if $ac_preproc_ok; then
6096 echo "$as_me:$LINENO: result: $CPP" >&5
6097 echo "${ECHO_T}$CPP" >&6
6099 for ac_c_preproc_warn_flag
in '' yes
6101 # Use a header file that comes with gcc, so configuring glibc
6102 # with a fresh cross-compiler works.
6103 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6104 # <limits.h> exists even on freestanding compilers.
6105 # On the NeXT, cc -E runs the code through the compiler's parser,
6106 # not just through cpp. "Syntax error" is here to catch this case.
6107 cat >conftest.
$ac_ext <<_ACEOF
6110 cat confdefs.h
>>conftest.
$ac_ext
6111 cat >>conftest.
$ac_ext <<_ACEOF
6112 /* end confdefs.h. */
6114 # include <limits.h>
6116 # include <assert.h>
6120 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6121 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6123 grep -v '^ *+' conftest.er1
>conftest.err
6125 cat conftest.err
>&5
6126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6127 (exit $ac_status); } >/dev
/null
; then
6128 if test -s conftest.err
; then
6129 ac_cpp_err
=$ac_c_preproc_warn_flag
6130 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6137 if test -z "$ac_cpp_err"; then
6140 echo "$as_me: failed program was:" >&5
6141 sed 's/^/| /' conftest.
$ac_ext >&5
6143 # Broken: fails on valid input.
6146 rm -f conftest.err conftest.
$ac_ext
6148 # OK, works on sane cases. Now check whether non-existent headers
6149 # can be detected and how.
6150 cat >conftest.
$ac_ext <<_ACEOF
6153 cat confdefs.h
>>conftest.
$ac_ext
6154 cat >>conftest.
$ac_ext <<_ACEOF
6155 /* end confdefs.h. */
6156 #include <ac_nonexistent.h>
6158 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6159 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6161 grep -v '^ *+' conftest.er1
>conftest.err
6163 cat conftest.err
>&5
6164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6165 (exit $ac_status); } >/dev
/null
; then
6166 if test -s conftest.err
; then
6167 ac_cpp_err
=$ac_c_preproc_warn_flag
6168 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6175 if test -z "$ac_cpp_err"; then
6176 # Broken: success on invalid input.
6179 echo "$as_me: failed program was:" >&5
6180 sed 's/^/| /' conftest.
$ac_ext >&5
6182 # Passes both tests.
6186 rm -f conftest.err conftest.
$ac_ext
6189 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6190 rm -f conftest.err conftest.
$ac_ext
6191 if $ac_preproc_ok; then
6194 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6195 See \`config.log' for more details." >&5
6196 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6197 See \`config.log' for more details." >&2;}
6198 { (exit 1); exit 1; }; }
6202 ac_cpp
='$CPP $CPPFLAGS'
6203 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6204 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6205 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6208 echo "$as_me:$LINENO: checking for egrep" >&5
6209 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6210 if test "${ac_cv_prog_egrep+set}" = set; then
6211 echo $ECHO_N "(cached) $ECHO_C" >&6
6213 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
6214 then ac_cv_prog_egrep
='grep -E'
6215 else ac_cv_prog_egrep
='egrep'
6218 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6219 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6220 EGREP
=$ac_cv_prog_egrep
6223 cat >conftest.
$ac_ext <<_ACEOF
6226 cat confdefs.h
>>conftest.
$ac_ext
6227 cat >>conftest.
$ac_ext <<_ACEOF
6228 /* end confdefs.h. */
6232 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6233 $EGREP "uint32_t" >/dev
/null
2>&1; then
6235 cat >>confdefs.h
<<\_ACEOF
6236 #define HAVE_INT32_DEFINED 1
6242 cat >conftest.
$ac_ext <<_ACEOF
6245 cat confdefs.h
>>conftest.
$ac_ext
6246 cat >>conftest.
$ac_ext <<_ACEOF
6247 /* end confdefs.h. */
6248 #include <inttypes.h>
6251 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6252 $EGREP "uint32_t" >/dev
/null
2>&1; then
6254 cat >>confdefs.h
<<\_ACEOF
6255 #define HAVE_INT32_DEFINED 1
6261 cat >conftest.
$ac_ext <<_ACEOF
6264 cat confdefs.h
>>conftest.
$ac_ext
6265 cat >>conftest.
$ac_ext <<_ACEOF
6266 /* end confdefs.h. */
6267 #include <sys/types.h>
6270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6271 $EGREP "u_int32_t" >/dev
/null
2>&1; then
6273 cat >>confdefs.h
<<\_ACEOF
6274 #define HAVE_BSD_INT32_DEFINED 1
6280 cat >conftest.
$ac_ext <<_ACEOF
6283 cat confdefs.h
>>conftest.
$ac_ext
6284 cat >>conftest.
$ac_ext <<_ACEOF
6285 /* end confdefs.h. */
6286 #include <sys/config.h>
6289 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6290 $EGREP "u_int32_t" >/dev
/null
2>&1; then
6292 cat >>confdefs.h
<<\_ACEOF
6293 #define HAVE_BSD_INT32_DEFINED 1
6302 if test "$PLATFORM" = Win32
; then
6303 USING_WIN32_PLATFORM_TRUE
=
6304 USING_WIN32_PLATFORM_FALSE
='#'
6306 USING_WIN32_PLATFORM_TRUE
='#'
6307 USING_WIN32_PLATFORM_FALSE
=
6312 if test "$PLATFORM" = Posix
; then
6313 USING_POSIX_PLATFORM_TRUE
=
6314 USING_POSIX_PLATFORM_FALSE
='#'
6316 USING_POSIX_PLATFORM_TRUE
='#'
6317 USING_POSIX_PLATFORM_FALSE
=
6322 if test "$PLATFORM" = Ecos
; then
6323 USING_ECOS_PLATFORM_TRUE
=
6324 USING_ECOS_PLATFORM_FALSE
='#'
6326 USING_ECOS_PLATFORM_TRUE
='#'
6327 USING_ECOS_PLATFORM_FALSE
=
6332 *-darwin*) DARWIN_CRT
=true
;;
6333 *) DARWIN_CRT
=false
;;
6337 if $DARWIN_CRT; then
6338 USING_DARWIN_CRT_TRUE
=
6339 USING_DARWIN_CRT_FALSE
='#'
6341 USING_DARWIN_CRT_TRUE
='#'
6342 USING_DARWIN_CRT_FALSE
=
6346 # These may not be defined in a non-ANS conformant embedded system.
6347 # FIXME: Should these case a runtime exception in that case?
6348 cat >conftest.
$ac_ext <<_ACEOF
6351 cat confdefs.h
>>conftest.
$ac_ext
6352 cat >>conftest.
$ac_ext <<_ACEOF
6353 /* end confdefs.h. */
6357 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6358 $EGREP "mktime" >/dev
/null
2>&1; then
6360 cat >>confdefs.h
<<\_ACEOF
6361 #define HAVE_MKTIME 1
6367 cat >conftest.
$ac_ext <<_ACEOF
6370 cat confdefs.h
>>conftest.
$ac_ext
6371 cat >>conftest.
$ac_ext <<_ACEOF
6372 /* end confdefs.h. */
6376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6377 $EGREP "localtime" >/dev
/null
2>&1; then
6379 cat >>confdefs.h
<<\_ACEOF
6380 #define HAVE_LOCALTIME 1
6387 # Create the subdirectory for natFile.cc, or the attempt
6388 # to create the link will fail.
6389 test -d java || mkdir java
6390 test -d java
/io || mkdir java
/io
6391 test -d gnu || mkdir gnu
6392 ac_config_links
="$ac_config_links java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc"
6395 # Likewise for ConcreteProcess.java and natConcreteProcess.cc.
6396 test -d java
/lang || mkdir java
/lang
6397 ac_config_links
="$ac_config_links java/lang/ConcreteProcess.java:java/lang/${PLATFORM}Process.java"
6399 ac_config_links
="$ac_config_links java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc"
6402 # Likewise for natInetAddress.cc and natNetworkInterface.cc.
6403 test -d java
/net || mkdir java
/net
6404 ac_config_links
="$ac_config_links java/net/natInetAddress.cc:java/net/natInetAddress${PLATFORMNET}.cc"
6406 ac_config_links
="$ac_config_links java/net/natNetworkInterface.cc:java/net/natNetworkInterface${PLATFORMNET}.cc"
6409 # Likewise for natPlainSocketImpl.cc and natPlainDatagramSocketImpl.cc.
6410 test -d gnu
/java || mkdir gnu
/java
6411 test -d gnu
/java
/net || mkdir gnu
/java
/net
6412 ac_config_links
="$ac_config_links gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc"
6414 ac_config_links
="$ac_config_links gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc"
6417 # Likewise for natPipeImpl.cc and natSelectorImpl.cc.
6418 test -d gnu
/java
/nio || mkdir gnu
/java
/nio
6419 ac_config_links
="$ac_config_links gnu/java/nio/natPipeImpl.cc:gnu/java/nio/natPipeImpl${PLATFORM}.cc"
6421 ac_config_links
="$ac_config_links gnu/java/nio/natSelectorImpl.cc:gnu/java/nio/natSelectorImpl${PLATFORM}.cc"
6423 test -d gnu
/java
/nio
/channels || mkdir gnu
/java
/nio
/channels
6424 ac_config_links
="$ac_config_links gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc"
6429 SYSTEMSPEC
="-lgdi32 -lws2_32"
6430 if test "${with_win32_nlsapi}" = "unicows"; then
6431 SYSTEMSPEC
="-lunicows $SYSTEMSPEC"
6440 LIBGCJTESTSPEC
="-L`${PWDCMD-pwd}`/.libs -rpath `${PWDCMD-pwd}`/.libs"
6444 # Check whether --with-system-zlib or --without-system-zlib was given.
6445 if test "${with_system_zlib+set}" = set; then
6446 withval
="$with_system_zlib"
6454 echo "$as_me:$LINENO: checking for X" >&5
6455 echo $ECHO_N "checking for X... $ECHO_C" >&6
6458 # Check whether --with-x or --without-x was given.
6459 if test "${with_x+set}" = set; then
6463 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
6464 if test "x$with_x" = xno
; then
6465 # The user explicitly disabled X.
6468 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
6469 # Both variables are already set.
6472 if test "${ac_cv_have_x+set}" = set; then
6473 echo $ECHO_N "(cached) $ECHO_C" >&6
6475 # One or both of the vars are not set, and there is no cached value.
6476 ac_x_includes
=no ac_x_libraries
=no
6478 if mkdir conftest.dir
; then
6480 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
6481 cat >Imakefile
<<'_ACEOF'
6483 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
6485 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
6486 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6487 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
6488 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
6489 for ac_extension
in a so sl
; do
6490 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
6491 test -f $ac_im_libdir/libX11.
$ac_extension; then
6492 ac_im_usrlibdir
=$ac_im_libdir; break
6495 # Screen out bogus values from the imake configuration. They are
6496 # bogus both because they are the default anyway, and because
6497 # using them would break gcc on systems where it needs fixed includes.
6498 case $ac_im_incroot in
6500 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
6502 case $ac_im_usrlibdir in
6504 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
6511 # Standard set of common directories for X headers.
6512 # Check X11 before X11Rn because it is often a symlink to the current release.
6524 /usr/local/X11/include
6525 /usr/local/X11R6/include
6526 /usr/local/X11R5/include
6527 /usr/local/X11R4/include
6529 /usr/local/include/X11
6530 /usr/local/include/X11R6
6531 /usr/local/include/X11R5
6532 /usr/local/include/X11R4
6536 /usr/XFree86/include/X11
6540 /usr/unsupported/include
6542 /usr/local/x11r5/include
6543 /usr/lpp/Xamples/include
6545 /usr/openwin/include
6546 /usr/openwin/share/include'
6548 if test "$ac_x_includes" = no
; then
6549 # Guess where to find include files, by looking for Intrinsic.h.
6550 # First, try using that file with no special directory specified.
6551 cat >conftest.
$ac_ext <<_ACEOF
6554 cat confdefs.h
>>conftest.
$ac_ext
6555 cat >>conftest.
$ac_ext <<_ACEOF
6556 /* end confdefs.h. */
6557 #include <X11/Intrinsic.h>
6559 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6560 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6562 grep -v '^ *+' conftest.er1
>conftest.err
6564 cat conftest.err
>&5
6565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6566 (exit $ac_status); } >/dev
/null
; then
6567 if test -s conftest.err
; then
6568 ac_cpp_err
=$ac_c_preproc_warn_flag
6569 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6576 if test -z "$ac_cpp_err"; then
6577 # We can compile using X headers with no special include directory.
6580 echo "$as_me: failed program was:" >&5
6581 sed 's/^/| /' conftest.
$ac_ext >&5
6583 for ac_dir
in $ac_x_header_dirs; do
6584 if test -r "$ac_dir/X11/Intrinsic.h"; then
6585 ac_x_includes
=$ac_dir
6590 rm -f conftest.err conftest.
$ac_ext
6591 fi # $ac_x_includes = no
6593 if test "$ac_x_libraries" = no
; then
6594 # Check for the libraries.
6595 # See if we find them without any special options.
6596 # Don't add to $LIBS permanently.
6599 if test x
$gcc_no_link = xyes
; then
6600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6602 { (exit 1); exit 1; }; }
6604 cat >conftest.
$ac_ext <<_ACEOF
6607 cat confdefs.h
>>conftest.
$ac_ext
6608 cat >>conftest.
$ac_ext <<_ACEOF
6609 /* end confdefs.h. */
6610 #include <X11/Intrinsic.h>
6619 rm -f conftest.
$ac_objext conftest
$ac_exeext
6620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6621 (eval $ac_link) 2>conftest.er1
6623 grep -v '^ *+' conftest.er1
>conftest.err
6625 cat conftest.err
>&5
6626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6627 (exit $ac_status); } &&
6628 { ac_try
='test -z "$ac_c_werror_flag"
6629 || test ! -s conftest.err'
6630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634 (exit $ac_status); }; } &&
6635 { ac_try
='test -s conftest$ac_exeext'
6636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640 (exit $ac_status); }; }; then
6642 # We can link X programs with no special library path.
6645 echo "$as_me: failed program was:" >&5
6646 sed 's/^/| /' conftest.
$ac_ext >&5
6649 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
6651 # Don't even attempt the hair of trying to link an X program!
6652 for ac_extension
in a so sl
; do
6653 if test -r $ac_dir/libXt.
$ac_extension; then
6654 ac_x_libraries
=$ac_dir
6660 rm -f conftest.err conftest.
$ac_objext \
6661 conftest
$ac_exeext conftest.
$ac_ext
6662 fi # $ac_x_libraries = no
6664 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
6665 # Didn't find X anywhere. Cache the known absence of X.
6666 ac_cv_have_x
="have_x=no"
6668 # Record where we found X for the cache.
6669 ac_cv_have_x
="have_x=yes \
6670 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
6675 eval "$ac_cv_have_x"
6678 if test "$have_x" != yes; then
6679 echo "$as_me:$LINENO: result: $have_x" >&5
6680 echo "${ECHO_T}$have_x" >&6
6683 # If each of the values was on the command line, it overrides each guess.
6684 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
6685 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
6686 # Update the cache value to reflect the command line values.
6687 ac_cv_have_x
="have_x=yes \
6688 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
6689 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
6690 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
6693 if test "$no_x" = yes; then
6694 # Not all programs may use this symbol, but it does not hurt to define it.
6696 cat >>confdefs.h
<<\_ACEOF
6697 #define X_DISPLAY_MISSING 1
6700 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
6702 if test -n "$x_includes"; then
6703 X_CFLAGS
="$X_CFLAGS -I$x_includes"
6706 # It would also be nice to do this for all -L options, not just this one.
6707 if test -n "$x_libraries"; then
6708 X_LIBS
="$X_LIBS -L$x_libraries"
6709 # For Solaris; some versions of Sun CC require a space after -R and
6710 # others require no space. Words are not sufficient . . . .
6711 case `(uname -sr) 2>/dev/null` in
6713 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
6714 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
6715 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
6716 if test x
$gcc_no_link = xyes
; then
6717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6719 { (exit 1); exit 1; }; }
6721 cat >conftest.
$ac_ext <<_ACEOF
6724 cat confdefs.h
>>conftest.
$ac_ext
6725 cat >>conftest.
$ac_ext <<_ACEOF
6726 /* end confdefs.h. */
6736 rm -f conftest.
$ac_objext conftest
$ac_exeext
6737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6738 (eval $ac_link) 2>conftest.er1
6740 grep -v '^ *+' conftest.er1
>conftest.err
6742 cat conftest.err
>&5
6743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6744 (exit $ac_status); } &&
6745 { ac_try
='test -z "$ac_c_werror_flag"
6746 || test ! -s conftest.err'
6747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6751 (exit $ac_status); }; } &&
6752 { ac_try
='test -s conftest$ac_exeext'
6753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6757 (exit $ac_status); }; }; then
6760 echo "$as_me: failed program was:" >&5
6761 sed 's/^/| /' conftest.
$ac_ext >&5
6765 rm -f conftest.err conftest.
$ac_objext \
6766 conftest
$ac_exeext conftest.
$ac_ext
6767 if test $ac_R_nospace = yes; then
6768 echo "$as_me:$LINENO: result: no" >&5
6769 echo "${ECHO_T}no" >&6
6770 X_LIBS
="$X_LIBS -R$x_libraries"
6772 LIBS
="$ac_xsave_LIBS -R $x_libraries"
6773 if test x
$gcc_no_link = xyes
; then
6774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6776 { (exit 1); exit 1; }; }
6778 cat >conftest.
$ac_ext <<_ACEOF
6781 cat confdefs.h
>>conftest.
$ac_ext
6782 cat >>conftest.
$ac_ext <<_ACEOF
6783 /* end confdefs.h. */
6793 rm -f conftest.
$ac_objext conftest
$ac_exeext
6794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6795 (eval $ac_link) 2>conftest.er1
6797 grep -v '^ *+' conftest.er1
>conftest.err
6799 cat conftest.err
>&5
6800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6801 (exit $ac_status); } &&
6802 { ac_try
='test -z "$ac_c_werror_flag"
6803 || test ! -s conftest.err'
6804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6808 (exit $ac_status); }; } &&
6809 { ac_try
='test -s conftest$ac_exeext'
6810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6814 (exit $ac_status); }; }; then
6817 echo "$as_me: failed program was:" >&5
6818 sed 's/^/| /' conftest.
$ac_ext >&5
6822 rm -f conftest.err conftest.
$ac_objext \
6823 conftest
$ac_exeext conftest.
$ac_ext
6824 if test $ac_R_space = yes; then
6825 echo "$as_me:$LINENO: result: yes" >&5
6826 echo "${ECHO_T}yes" >&6
6827 X_LIBS
="$X_LIBS -R $x_libraries"
6829 echo "$as_me:$LINENO: result: neither works" >&5
6830 echo "${ECHO_T}neither works" >&6
6837 # Check for system-dependent libraries X programs must link with.
6838 # Do this before checking for the system-independent R6 libraries
6839 # (-lICE), since we may need -lsocket or whatever for X linking.
6841 if test "$ISC" = yes; then
6842 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
6844 # Martyn Johnson says this is needed for Ultrix, if the X
6845 # libraries were built with DECnet support. And Karl Berry says
6846 # the Alpha needs dnet_stub (dnet does not exist).
6847 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
6848 if test x
$gcc_no_link = xyes
; then
6849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6851 { (exit 1); exit 1; }; }
6853 cat >conftest.
$ac_ext <<_ACEOF
6856 cat confdefs.h
>>conftest.
$ac_ext
6857 cat >>conftest.
$ac_ext <<_ACEOF
6858 /* end confdefs.h. */
6860 /* Override any gcc2 internal prototype to avoid an error. */
6864 /* We use char because int might match the return type of a gcc2
6865 builtin and then its argument prototype would still apply. */
6866 char XOpenDisplay ();
6875 rm -f conftest.
$ac_objext conftest
$ac_exeext
6876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6877 (eval $ac_link) 2>conftest.er1
6879 grep -v '^ *+' conftest.er1
>conftest.err
6881 cat conftest.err
>&5
6882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883 (exit $ac_status); } &&
6884 { ac_try
='test -z "$ac_c_werror_flag"
6885 || test ! -s conftest.err'
6886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6890 (exit $ac_status); }; } &&
6891 { ac_try
='test -s conftest$ac_exeext'
6892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); }; }; then
6899 echo "$as_me: failed program was:" >&5
6900 sed 's/^/| /' conftest.
$ac_ext >&5
6902 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
6903 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
6904 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
6905 echo $ECHO_N "(cached) $ECHO_C" >&6
6907 ac_check_lib_save_LIBS
=$LIBS
6909 if test x
$gcc_no_link = xyes
; then
6910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6912 { (exit 1); exit 1; }; }
6914 cat >conftest.
$ac_ext <<_ACEOF
6917 cat confdefs.h
>>conftest.
$ac_ext
6918 cat >>conftest.
$ac_ext <<_ACEOF
6919 /* end confdefs.h. */
6921 /* Override any gcc2 internal prototype to avoid an error. */
6925 /* We use char because int might match the return type of a gcc2
6926 builtin and then its argument prototype would still apply. */
6936 rm -f conftest.
$ac_objext conftest
$ac_exeext
6937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6938 (eval $ac_link) 2>conftest.er1
6940 grep -v '^ *+' conftest.er1
>conftest.err
6942 cat conftest.err
>&5
6943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6944 (exit $ac_status); } &&
6945 { ac_try
='test -z "$ac_c_werror_flag"
6946 || test ! -s conftest.err'
6947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6951 (exit $ac_status); }; } &&
6952 { ac_try
='test -s conftest$ac_exeext'
6953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6957 (exit $ac_status); }; }; then
6958 ac_cv_lib_dnet_dnet_ntoa
=yes
6960 echo "$as_me: failed program was:" >&5
6961 sed 's/^/| /' conftest.
$ac_ext >&5
6963 ac_cv_lib_dnet_dnet_ntoa
=no
6965 rm -f conftest.err conftest.
$ac_objext \
6966 conftest
$ac_exeext conftest.
$ac_ext
6967 LIBS
=$ac_check_lib_save_LIBS
6969 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
6970 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
6971 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
6972 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
6975 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
6976 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
6977 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
6978 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
6979 echo $ECHO_N "(cached) $ECHO_C" >&6
6981 ac_check_lib_save_LIBS
=$LIBS
6982 LIBS
="-ldnet_stub $LIBS"
6983 if test x
$gcc_no_link = xyes
; then
6984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6986 { (exit 1); exit 1; }; }
6988 cat >conftest.
$ac_ext <<_ACEOF
6991 cat confdefs.h
>>conftest.
$ac_ext
6992 cat >>conftest.
$ac_ext <<_ACEOF
6993 /* end confdefs.h. */
6995 /* Override any gcc2 internal prototype to avoid an error. */
6999 /* We use char because int might match the return type of a gcc2
7000 builtin and then its argument prototype would still apply. */
7010 rm -f conftest.
$ac_objext conftest
$ac_exeext
7011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7012 (eval $ac_link) 2>conftest.er1
7014 grep -v '^ *+' conftest.er1
>conftest.err
7016 cat conftest.err
>&5
7017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7018 (exit $ac_status); } &&
7019 { ac_try
='test -z "$ac_c_werror_flag"
7020 || test ! -s conftest.err'
7021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7025 (exit $ac_status); }; } &&
7026 { ac_try
='test -s conftest$ac_exeext'
7027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7031 (exit $ac_status); }; }; then
7032 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
7034 echo "$as_me: failed program was:" >&5
7035 sed 's/^/| /' conftest.
$ac_ext >&5
7037 ac_cv_lib_dnet_stub_dnet_ntoa
=no
7039 rm -f conftest.err conftest.
$ac_objext \
7040 conftest
$ac_exeext conftest.
$ac_ext
7041 LIBS
=$ac_check_lib_save_LIBS
7043 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7044 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
7045 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
7046 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7051 rm -f conftest.err conftest.
$ac_objext \
7052 conftest
$ac_exeext conftest.
$ac_ext
7053 LIBS
="$ac_xsave_LIBS"
7055 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7056 # to get the SysV transport functions.
7057 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7059 # The nsl library prevents programs from opening the X display
7060 # on Irix 5.2, according to T.E. Dickey.
7061 # The functions gethostbyname, getservbyname, and inet_addr are
7062 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7063 echo "$as_me:$LINENO: checking for gethostbyname" >&5
7064 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
7065 if test "${ac_cv_func_gethostbyname+set}" = set; then
7066 echo $ECHO_N "(cached) $ECHO_C" >&6
7068 if test x
$gcc_no_link = xyes
; then
7069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7071 { (exit 1); exit 1; }; }
7073 cat >conftest.
$ac_ext <<_ACEOF
7076 cat confdefs.h
>>conftest.
$ac_ext
7077 cat >>conftest.
$ac_ext <<_ACEOF
7078 /* end confdefs.h. */
7079 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
7080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7081 #define gethostbyname innocuous_gethostbyname
7083 /* System header to define __stub macros and hopefully few prototypes,
7084 which can conflict with char gethostbyname (); below.
7085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7086 <limits.h> exists even on freestanding compilers. */
7089 # include <limits.h>
7091 # include <assert.h>
7094 #undef gethostbyname
7096 /* Override any gcc2 internal prototype to avoid an error. */
7101 /* We use char because int might match the return type of a gcc2
7102 builtin and then its argument prototype would still apply. */
7103 char gethostbyname ();
7104 /* The GNU C library defines this for functions which it implements
7105 to always fail with ENOSYS. Some functions are actually named
7106 something starting with __ and the normal name is an alias. */
7107 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7110 char (*f) () = gethostbyname;
7119 return f != gethostbyname;
7124 rm -f conftest.
$ac_objext conftest
$ac_exeext
7125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7126 (eval $ac_link) 2>conftest.er1
7128 grep -v '^ *+' conftest.er1
>conftest.err
7130 cat conftest.err
>&5
7131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7132 (exit $ac_status); } &&
7133 { ac_try
='test -z "$ac_c_werror_flag"
7134 || test ! -s conftest.err'
7135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7139 (exit $ac_status); }; } &&
7140 { ac_try
='test -s conftest$ac_exeext'
7141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7145 (exit $ac_status); }; }; then
7146 ac_cv_func_gethostbyname
=yes
7148 echo "$as_me: failed program was:" >&5
7149 sed 's/^/| /' conftest.
$ac_ext >&5
7151 ac_cv_func_gethostbyname
=no
7153 rm -f conftest.err conftest.
$ac_objext \
7154 conftest
$ac_exeext conftest.
$ac_ext
7156 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
7157 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
7159 if test $ac_cv_func_gethostbyname = no
; then
7160 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
7161 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
7162 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
7163 echo $ECHO_N "(cached) $ECHO_C" >&6
7165 ac_check_lib_save_LIBS
=$LIBS
7167 if test x
$gcc_no_link = xyes
; then
7168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7170 { (exit 1); exit 1; }; }
7172 cat >conftest.
$ac_ext <<_ACEOF
7175 cat confdefs.h
>>conftest.
$ac_ext
7176 cat >>conftest.
$ac_ext <<_ACEOF
7177 /* end confdefs.h. */
7179 /* Override any gcc2 internal prototype to avoid an error. */
7183 /* We use char because int might match the return type of a gcc2
7184 builtin and then its argument prototype would still apply. */
7185 char gethostbyname ();
7194 rm -f conftest.
$ac_objext conftest
$ac_exeext
7195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7196 (eval $ac_link) 2>conftest.er1
7198 grep -v '^ *+' conftest.er1
>conftest.err
7200 cat conftest.err
>&5
7201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7202 (exit $ac_status); } &&
7203 { ac_try
='test -z "$ac_c_werror_flag"
7204 || test ! -s conftest.err'
7205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7209 (exit $ac_status); }; } &&
7210 { ac_try
='test -s conftest$ac_exeext'
7211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7215 (exit $ac_status); }; }; then
7216 ac_cv_lib_nsl_gethostbyname
=yes
7218 echo "$as_me: failed program was:" >&5
7219 sed 's/^/| /' conftest.
$ac_ext >&5
7221 ac_cv_lib_nsl_gethostbyname
=no
7223 rm -f conftest.err conftest.
$ac_objext \
7224 conftest
$ac_exeext conftest.
$ac_ext
7225 LIBS
=$ac_check_lib_save_LIBS
7227 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
7228 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
7229 if test $ac_cv_lib_nsl_gethostbyname = yes; then
7230 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7233 if test $ac_cv_lib_nsl_gethostbyname = no
; then
7234 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
7235 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
7236 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
7237 echo $ECHO_N "(cached) $ECHO_C" >&6
7239 ac_check_lib_save_LIBS
=$LIBS
7241 if test x
$gcc_no_link = xyes
; then
7242 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7244 { (exit 1); exit 1; }; }
7246 cat >conftest.
$ac_ext <<_ACEOF
7249 cat confdefs.h
>>conftest.
$ac_ext
7250 cat >>conftest.
$ac_ext <<_ACEOF
7251 /* end confdefs.h. */
7253 /* Override any gcc2 internal prototype to avoid an error. */
7257 /* We use char because int might match the return type of a gcc2
7258 builtin and then its argument prototype would still apply. */
7259 char gethostbyname ();
7268 rm -f conftest.
$ac_objext conftest
$ac_exeext
7269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7270 (eval $ac_link) 2>conftest.er1
7272 grep -v '^ *+' conftest.er1
>conftest.err
7274 cat conftest.err
>&5
7275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7276 (exit $ac_status); } &&
7277 { ac_try
='test -z "$ac_c_werror_flag"
7278 || test ! -s conftest.err'
7279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7283 (exit $ac_status); }; } &&
7284 { ac_try
='test -s conftest$ac_exeext'
7285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7289 (exit $ac_status); }; }; then
7290 ac_cv_lib_bsd_gethostbyname
=yes
7292 echo "$as_me: failed program was:" >&5
7293 sed 's/^/| /' conftest.
$ac_ext >&5
7295 ac_cv_lib_bsd_gethostbyname
=no
7297 rm -f conftest.err conftest.
$ac_objext \
7298 conftest
$ac_exeext conftest.
$ac_ext
7299 LIBS
=$ac_check_lib_save_LIBS
7301 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
7302 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
7303 if test $ac_cv_lib_bsd_gethostbyname = yes; then
7304 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
7310 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7311 # socket/setsockopt and other routines are undefined under SCO ODT
7312 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7313 # on later versions), says Simon Leinen: it contains gethostby*
7314 # variants that don't use the name server (or something). -lsocket
7315 # must be given before -lnsl if both are needed. We assume that
7316 # if connect needs -lnsl, so does gethostbyname.
7317 echo "$as_me:$LINENO: checking for connect" >&5
7318 echo $ECHO_N "checking for connect... $ECHO_C" >&6
7319 if test "${ac_cv_func_connect+set}" = set; then
7320 echo $ECHO_N "(cached) $ECHO_C" >&6
7322 if test x
$gcc_no_link = xyes
; then
7323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7325 { (exit 1); exit 1; }; }
7327 cat >conftest.
$ac_ext <<_ACEOF
7330 cat confdefs.h
>>conftest.
$ac_ext
7331 cat >>conftest.
$ac_ext <<_ACEOF
7332 /* end confdefs.h. */
7333 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
7334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7335 #define connect innocuous_connect
7337 /* System header to define __stub macros and hopefully few prototypes,
7338 which can conflict with char connect (); below.
7339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7340 <limits.h> exists even on freestanding compilers. */
7343 # include <limits.h>
7345 # include <assert.h>
7350 /* Override any gcc2 internal prototype to avoid an error. */
7355 /* We use char because int might match the return type of a gcc2
7356 builtin and then its argument prototype would still apply. */
7358 /* The GNU C library defines this for functions which it implements
7359 to always fail with ENOSYS. Some functions are actually named
7360 something starting with __ and the normal name is an alias. */
7361 #if defined (__stub_connect) || defined (__stub___connect)
7364 char (*f) () = connect;
7373 return f != connect;
7378 rm -f conftest.
$ac_objext conftest
$ac_exeext
7379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7380 (eval $ac_link) 2>conftest.er1
7382 grep -v '^ *+' conftest.er1
>conftest.err
7384 cat conftest.err
>&5
7385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7386 (exit $ac_status); } &&
7387 { ac_try
='test -z "$ac_c_werror_flag"
7388 || test ! -s conftest.err'
7389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7393 (exit $ac_status); }; } &&
7394 { ac_try
='test -s conftest$ac_exeext'
7395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7399 (exit $ac_status); }; }; then
7400 ac_cv_func_connect
=yes
7402 echo "$as_me: failed program was:" >&5
7403 sed 's/^/| /' conftest.
$ac_ext >&5
7405 ac_cv_func_connect
=no
7407 rm -f conftest.err conftest.
$ac_objext \
7408 conftest
$ac_exeext conftest.
$ac_ext
7410 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
7411 echo "${ECHO_T}$ac_cv_func_connect" >&6
7413 if test $ac_cv_func_connect = no
; then
7414 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
7415 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
7416 if test "${ac_cv_lib_socket_connect+set}" = set; then
7417 echo $ECHO_N "(cached) $ECHO_C" >&6
7419 ac_check_lib_save_LIBS
=$LIBS
7420 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7421 if test x
$gcc_no_link = xyes
; then
7422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7424 { (exit 1); exit 1; }; }
7426 cat >conftest.
$ac_ext <<_ACEOF
7429 cat confdefs.h
>>conftest.
$ac_ext
7430 cat >>conftest.
$ac_ext <<_ACEOF
7431 /* end confdefs.h. */
7433 /* Override any gcc2 internal prototype to avoid an error. */
7437 /* We use char because int might match the return type of a gcc2
7438 builtin and then its argument prototype would still apply. */
7448 rm -f conftest.
$ac_objext conftest
$ac_exeext
7449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7450 (eval $ac_link) 2>conftest.er1
7452 grep -v '^ *+' conftest.er1
>conftest.err
7454 cat conftest.err
>&5
7455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7456 (exit $ac_status); } &&
7457 { ac_try
='test -z "$ac_c_werror_flag"
7458 || test ! -s conftest.err'
7459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7463 (exit $ac_status); }; } &&
7464 { ac_try
='test -s conftest$ac_exeext'
7465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7469 (exit $ac_status); }; }; then
7470 ac_cv_lib_socket_connect
=yes
7472 echo "$as_me: failed program was:" >&5
7473 sed 's/^/| /' conftest.
$ac_ext >&5
7475 ac_cv_lib_socket_connect
=no
7477 rm -f conftest.err conftest.
$ac_objext \
7478 conftest
$ac_exeext conftest.
$ac_ext
7479 LIBS
=$ac_check_lib_save_LIBS
7481 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
7482 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
7483 if test $ac_cv_lib_socket_connect = yes; then
7484 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7489 # Guillermo Gomez says -lposix is necessary on A/UX.
7490 echo "$as_me:$LINENO: checking for remove" >&5
7491 echo $ECHO_N "checking for remove... $ECHO_C" >&6
7492 if test "${ac_cv_func_remove+set}" = set; then
7493 echo $ECHO_N "(cached) $ECHO_C" >&6
7495 if test x
$gcc_no_link = xyes
; then
7496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7498 { (exit 1); exit 1; }; }
7500 cat >conftest.
$ac_ext <<_ACEOF
7503 cat confdefs.h
>>conftest.
$ac_ext
7504 cat >>conftest.
$ac_ext <<_ACEOF
7505 /* end confdefs.h. */
7506 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
7507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7508 #define remove innocuous_remove
7510 /* System header to define __stub macros and hopefully few prototypes,
7511 which can conflict with char remove (); below.
7512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7513 <limits.h> exists even on freestanding compilers. */
7516 # include <limits.h>
7518 # include <assert.h>
7523 /* Override any gcc2 internal prototype to avoid an error. */
7528 /* We use char because int might match the return type of a gcc2
7529 builtin and then its argument prototype would still apply. */
7531 /* The GNU C library defines this for functions which it implements
7532 to always fail with ENOSYS. Some functions are actually named
7533 something starting with __ and the normal name is an alias. */
7534 #if defined (__stub_remove) || defined (__stub___remove)
7537 char (*f) () = remove;
7551 rm -f conftest.
$ac_objext conftest
$ac_exeext
7552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7553 (eval $ac_link) 2>conftest.er1
7555 grep -v '^ *+' conftest.er1
>conftest.err
7557 cat conftest.err
>&5
7558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7559 (exit $ac_status); } &&
7560 { ac_try
='test -z "$ac_c_werror_flag"
7561 || test ! -s conftest.err'
7562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7566 (exit $ac_status); }; } &&
7567 { ac_try
='test -s conftest$ac_exeext'
7568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572 (exit $ac_status); }; }; then
7573 ac_cv_func_remove
=yes
7575 echo "$as_me: failed program was:" >&5
7576 sed 's/^/| /' conftest.
$ac_ext >&5
7578 ac_cv_func_remove
=no
7580 rm -f conftest.err conftest.
$ac_objext \
7581 conftest
$ac_exeext conftest.
$ac_ext
7583 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
7584 echo "${ECHO_T}$ac_cv_func_remove" >&6
7586 if test $ac_cv_func_remove = no
; then
7587 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
7588 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
7589 if test "${ac_cv_lib_posix_remove+set}" = set; then
7590 echo $ECHO_N "(cached) $ECHO_C" >&6
7592 ac_check_lib_save_LIBS
=$LIBS
7593 LIBS
="-lposix $LIBS"
7594 if test x
$gcc_no_link = xyes
; then
7595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7597 { (exit 1); exit 1; }; }
7599 cat >conftest.
$ac_ext <<_ACEOF
7602 cat confdefs.h
>>conftest.
$ac_ext
7603 cat >>conftest.
$ac_ext <<_ACEOF
7604 /* end confdefs.h. */
7606 /* Override any gcc2 internal prototype to avoid an error. */
7610 /* We use char because int might match the return type of a gcc2
7611 builtin and then its argument prototype would still apply. */
7621 rm -f conftest.
$ac_objext conftest
$ac_exeext
7622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7623 (eval $ac_link) 2>conftest.er1
7625 grep -v '^ *+' conftest.er1
>conftest.err
7627 cat conftest.err
>&5
7628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7629 (exit $ac_status); } &&
7630 { ac_try
='test -z "$ac_c_werror_flag"
7631 || test ! -s conftest.err'
7632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7636 (exit $ac_status); }; } &&
7637 { ac_try
='test -s conftest$ac_exeext'
7638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7642 (exit $ac_status); }; }; then
7643 ac_cv_lib_posix_remove
=yes
7645 echo "$as_me: failed program was:" >&5
7646 sed 's/^/| /' conftest.
$ac_ext >&5
7648 ac_cv_lib_posix_remove
=no
7650 rm -f conftest.err conftest.
$ac_objext \
7651 conftest
$ac_exeext conftest.
$ac_ext
7652 LIBS
=$ac_check_lib_save_LIBS
7654 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
7655 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
7656 if test $ac_cv_lib_posix_remove = yes; then
7657 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7662 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7663 echo "$as_me:$LINENO: checking for shmat" >&5
7664 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
7665 if test "${ac_cv_func_shmat+set}" = set; then
7666 echo $ECHO_N "(cached) $ECHO_C" >&6
7668 if test x
$gcc_no_link = xyes
; then
7669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7671 { (exit 1); exit 1; }; }
7673 cat >conftest.
$ac_ext <<_ACEOF
7676 cat confdefs.h
>>conftest.
$ac_ext
7677 cat >>conftest.
$ac_ext <<_ACEOF
7678 /* end confdefs.h. */
7679 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
7680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7681 #define shmat innocuous_shmat
7683 /* System header to define __stub macros and hopefully few prototypes,
7684 which can conflict with char shmat (); below.
7685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7686 <limits.h> exists even on freestanding compilers. */
7689 # include <limits.h>
7691 # include <assert.h>
7696 /* Override any gcc2 internal prototype to avoid an error. */
7701 /* We use char because int might match the return type of a gcc2
7702 builtin and then its argument prototype would still apply. */
7704 /* The GNU C library defines this for functions which it implements
7705 to always fail with ENOSYS. Some functions are actually named
7706 something starting with __ and the normal name is an alias. */
7707 #if defined (__stub_shmat) || defined (__stub___shmat)
7710 char (*f) () = shmat;
7724 rm -f conftest.
$ac_objext conftest
$ac_exeext
7725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7726 (eval $ac_link) 2>conftest.er1
7728 grep -v '^ *+' conftest.er1
>conftest.err
7730 cat conftest.err
>&5
7731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7732 (exit $ac_status); } &&
7733 { ac_try
='test -z "$ac_c_werror_flag"
7734 || test ! -s conftest.err'
7735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7739 (exit $ac_status); }; } &&
7740 { ac_try
='test -s conftest$ac_exeext'
7741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7745 (exit $ac_status); }; }; then
7746 ac_cv_func_shmat
=yes
7748 echo "$as_me: failed program was:" >&5
7749 sed 's/^/| /' conftest.
$ac_ext >&5
7753 rm -f conftest.err conftest.
$ac_objext \
7754 conftest
$ac_exeext conftest.
$ac_ext
7756 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
7757 echo "${ECHO_T}$ac_cv_func_shmat" >&6
7759 if test $ac_cv_func_shmat = no
; then
7760 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
7761 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
7762 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
7763 echo $ECHO_N "(cached) $ECHO_C" >&6
7765 ac_check_lib_save_LIBS
=$LIBS
7767 if test x
$gcc_no_link = xyes
; then
7768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7770 { (exit 1); exit 1; }; }
7772 cat >conftest.
$ac_ext <<_ACEOF
7775 cat confdefs.h
>>conftest.
$ac_ext
7776 cat >>conftest.
$ac_ext <<_ACEOF
7777 /* end confdefs.h. */
7779 /* Override any gcc2 internal prototype to avoid an error. */
7783 /* We use char because int might match the return type of a gcc2
7784 builtin and then its argument prototype would still apply. */
7794 rm -f conftest.
$ac_objext conftest
$ac_exeext
7795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7796 (eval $ac_link) 2>conftest.er1
7798 grep -v '^ *+' conftest.er1
>conftest.err
7800 cat conftest.err
>&5
7801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7802 (exit $ac_status); } &&
7803 { ac_try
='test -z "$ac_c_werror_flag"
7804 || test ! -s conftest.err'
7805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7809 (exit $ac_status); }; } &&
7810 { ac_try
='test -s conftest$ac_exeext'
7811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7815 (exit $ac_status); }; }; then
7816 ac_cv_lib_ipc_shmat
=yes
7818 echo "$as_me: failed program was:" >&5
7819 sed 's/^/| /' conftest.
$ac_ext >&5
7821 ac_cv_lib_ipc_shmat
=no
7823 rm -f conftest.err conftest.
$ac_objext \
7824 conftest
$ac_exeext conftest.
$ac_ext
7825 LIBS
=$ac_check_lib_save_LIBS
7827 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
7828 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
7829 if test $ac_cv_lib_ipc_shmat = yes; then
7830 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7836 # Check for libraries that X11R6 Xt/Xaw programs need.
7837 ac_save_LDFLAGS
=$LDFLAGS
7838 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7839 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7840 # check for ICE first), but we must link in the order -lSM -lICE or
7841 # we get undefined symbols. So assume we have SM if we have ICE.
7842 # These have to be linked with before -lX11, unlike the other
7843 # libraries we check for below, so use a different variable.
7844 # John Interrante, Karl Berry
7845 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
7846 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
7847 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
7848 echo $ECHO_N "(cached) $ECHO_C" >&6
7850 ac_check_lib_save_LIBS
=$LIBS
7851 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7852 if test x
$gcc_no_link = xyes
; then
7853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7855 { (exit 1); exit 1; }; }
7857 cat >conftest.
$ac_ext <<_ACEOF
7860 cat confdefs.h
>>conftest.
$ac_ext
7861 cat >>conftest.
$ac_ext <<_ACEOF
7862 /* end confdefs.h. */
7864 /* Override any gcc2 internal prototype to avoid an error. */
7868 /* We use char because int might match the return type of a gcc2
7869 builtin and then its argument prototype would still apply. */
7870 char IceConnectionNumber ();
7874 IceConnectionNumber ();
7879 rm -f conftest.
$ac_objext conftest
$ac_exeext
7880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7881 (eval $ac_link) 2>conftest.er1
7883 grep -v '^ *+' conftest.er1
>conftest.err
7885 cat conftest.err
>&5
7886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7887 (exit $ac_status); } &&
7888 { ac_try
='test -z "$ac_c_werror_flag"
7889 || test ! -s conftest.err'
7890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7894 (exit $ac_status); }; } &&
7895 { ac_try
='test -s conftest$ac_exeext'
7896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7900 (exit $ac_status); }; }; then
7901 ac_cv_lib_ICE_IceConnectionNumber
=yes
7903 echo "$as_me: failed program was:" >&5
7904 sed 's/^/| /' conftest.
$ac_ext >&5
7906 ac_cv_lib_ICE_IceConnectionNumber
=no
7908 rm -f conftest.err conftest.
$ac_objext \
7909 conftest
$ac_exeext conftest.
$ac_ext
7910 LIBS
=$ac_check_lib_save_LIBS
7912 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7913 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
7914 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
7915 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7918 LDFLAGS
=$ac_save_LDFLAGS
7923 # Determine which AWT peer libraries to build
7924 # Check whether --enable-java-awt or --disable-java-awt was given.
7925 if test "${enable_java_awt+set}" = set; then
7926 enableval
="$enable_java_awt"
7930 peerlibs
="`echo ${enable_java_awt} | tr ',' ' '`"
7933 # The default toolkit to use is the first one specified.
7937 for peer
in $peerlibs ; do
7940 if test "$no_x" = yes; then
7941 echo "*** xlib peers requested but no X library available" 1>&2
7945 if test -z "$TOOLKIT"; then
7946 TOOLKIT
=gnu.awt.xlib.XToolkit
7951 if test "$no_x" = yes; then
7952 echo "*** xlib peers requested but no X library available" 1>&2
7956 if test -z "$TOOLKIT"; then
7957 TOOLKIT
=gnu.java.awt.peer.gtk.GtkToolkit
7959 test -d jniinclude || mkdir jniinclude
7968 echo "*** unrecognised argument \"${peer}\" for --enable-java-awt" 1>&2
7975 if test "$use_xlib_awt" = yes; then
7985 if test "$use_gtk_awt" = yes; then
7994 # determine whether to enable the cairo GTK Graphics2D backend
7995 # Check whether --enable-gtk-cairo or --disable-gtk-cairo was given.
7996 if test "${enable_gtk_cairo+set}" = set; then
7997 enableval
="$enable_gtk_cairo"
8002 if test "x${enable_gtk_cairo}" = xyes
; then
8010 if test "x${enable_gtk_cairo}" = xyes
8015 if test -z "$PKG_CONFIG"; then
8016 # Extract the first word of "pkg-config", so it can be a program name with args.
8017 set dummy pkg-config
; ac_word
=$2
8018 echo "$as_me:$LINENO: checking for $ac_word" >&5
8019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8020 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
8021 echo $ECHO_N "(cached) $ECHO_C" >&6
8025 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
8028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8032 test -z "$as_dir" && as_dir
=.
8033 for ac_exec_ext
in '' $ac_executable_extensions; do
8034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8035 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
8036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8042 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
8046 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
8048 if test -n "$PKG_CONFIG"; then
8049 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8050 echo "${ECHO_T}$PKG_CONFIG" >&6
8052 echo "$as_me:$LINENO: result: no" >&5
8053 echo "${ECHO_T}no" >&6
8058 if test "$PKG_CONFIG" = "no" ; then
8059 echo "*** The pkg-config script could not be found. Make sure it is"
8060 echo "*** in your path, or set the PKG_CONFIG environment variable"
8061 echo "*** to the full path to pkg-config."
8062 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
8064 PKG_CONFIG_MIN_VERSION
=0.9.0
8065 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
8066 echo "$as_me:$LINENO: checking for cairo" >&5
8067 echo $ECHO_N "checking for cairo... $ECHO_C" >&6
8069 if $PKG_CONFIG --exists "cairo" ; then
8070 echo "$as_me:$LINENO: result: yes" >&5
8071 echo "${ECHO_T}yes" >&6
8074 echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5
8075 echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6
8076 CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo"`
8077 echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5
8078 echo "${ECHO_T}$CAIRO_CFLAGS" >&6
8080 echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5
8081 echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6
8082 CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo"`
8083 echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5
8084 echo "${ECHO_T}$CAIRO_LIBS" >&6
8088 ## If we have a custom action on failure, don't print errors, but
8089 ## do set a variable so people can do so.
8090 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
8091 echo $CAIRO_PKG_ERRORS
8097 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
8098 echo "*** See http://www.freedesktop.org/software/pkgconfig"
8102 if test $succeeded = yes; then
8105 { { 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
8106 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;}
8107 { (exit 1); exit 1; }; }
8113 if test -z "$PKG_CONFIG"; then
8114 # Extract the first word of "pkg-config", so it can be a program name with args.
8115 set dummy pkg-config
; ac_word
=$2
8116 echo "$as_me:$LINENO: checking for $ac_word" >&5
8117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8118 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
8119 echo $ECHO_N "(cached) $ECHO_C" >&6
8123 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
8126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8130 test -z "$as_dir" && as_dir
=.
8131 for ac_exec_ext
in '' $ac_executable_extensions; do
8132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8133 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
8134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8140 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
8144 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
8146 if test -n "$PKG_CONFIG"; then
8147 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8148 echo "${ECHO_T}$PKG_CONFIG" >&6
8150 echo "$as_me:$LINENO: result: no" >&5
8151 echo "${ECHO_T}no" >&6
8156 if test "$PKG_CONFIG" = "no" ; then
8157 echo "*** The pkg-config script could not be found. Make sure it is"
8158 echo "*** in your path, or set the PKG_CONFIG environment variable"
8159 echo "*** to the full path to pkg-config."
8160 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
8162 PKG_CONFIG_MIN_VERSION
=0.9.0
8163 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
8164 echo "$as_me:$LINENO: checking for pangoft2" >&5
8165 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
8167 if $PKG_CONFIG --exists "pangoft2" ; then
8168 echo "$as_me:$LINENO: result: yes" >&5
8169 echo "${ECHO_T}yes" >&6
8172 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
8173 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
8174 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
8175 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
8176 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
8178 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
8179 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
8180 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
8181 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
8182 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
8186 ## If we have a custom action on failure, don't print errors, but
8187 ## do set a variable so people can do so.
8188 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
8189 echo $PANGOFT2_PKG_ERRORS
8195 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
8196 echo "*** See http://www.freedesktop.org/software/pkgconfig"
8200 if test $succeeded = yes; then
8203 { { 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
8204 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;}
8205 { (exit 1); exit 1; }; }
8214 # FIXME: this should be _libs on some hosts.
8217 # Allow the GC to be disabled. Can be useful when debugging.
8218 echo "$as_me:$LINENO: checking for garbage collector to use" >&5
8219 echo $ECHO_N "checking for garbage collector to use... $ECHO_C" >&6
8220 # Check whether --enable-java-gc or --disable-java-gc was given.
8221 if test "${enable_java_gc+set}" = set; then
8222 enableval
="$enable_java_gc"
8235 echo "$as_me:$LINENO: result: boehm" >&5
8236 echo "${ECHO_T}boehm" >&6
8237 GCLIBS
=..
/boehm-gc
/libgcjgc_convenience.la
8238 JC1GCSPEC
='-fuse-boehm-gc'
8239 GCTESTSPEC
="-L`${PWDCMD-pwd}`/../boehm-gc/.libs -rpath `${PWDCMD-pwd}`/../boehm-gc/.libs"
8240 GCINCS
='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include'
8243 # The POSIX thread support needs to know this.
8245 cat >>confdefs.h
<<\_ACEOF
8246 #define HAVE_BOEHM_GC 1
8251 echo "$as_me:$LINENO: result: none" >&5
8252 echo "${ECHO_T}none" >&6
8256 { { echo "$as_me:$LINENO: error: unrecognized collector \"$GC\"" >&5
8257 echo "$as_me: error: unrecognized collector \"$GC\"" >&2;}
8258 { (exit 1); exit 1; }; }
8267 ac_config_links
="$ac_config_links include/java-gc.h:include/$GCHDR"
8271 if test "$GC" = boehm
; then
8273 USING_BOEHMGC_FALSE
='#'
8275 USING_BOEHMGC_TRUE
='#'
8276 USING_BOEHMGC_FALSE
=
8281 if test "$GC" = no
; then
8283 USING_NOGC_FALSE
='#'
8291 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
8292 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
8293 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
8294 echo "$as_me:$LINENO: result: $THREADS" >&5
8295 echo "${ECHO_T}$THREADS" >&6
8306 cat >>confdefs.h
<<\_ACEOF
8307 #define LINUX_THREADS 1
8315 decosf1 | irix | mach | os2 | solaris | dce | vxworks
)
8316 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
8317 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
8318 { (exit 1); exit 1; }; }
8321 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
8322 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
8323 { (exit 1); exit 1; }; }
8338 # Don't set THREADLIBS here. Cygwin doesn't have -lpthread.
8341 # Before FreeBSD 5, it didn't have -lpthread (or any library which
8342 # merely adds pthread_* functions) but it does have a -pthread switch
8343 # which is required at link-time to select -lc_r *instead* of -lc.
8344 THREADLDFLAGS
=-pthread
8345 # Don't set THREADSPEC here as might be expected since -pthread is
8346 # not processed when found within a spec file, it must come from
8347 # the command line. For now, the user must provide the -pthread
8348 # switch to link code compiled with gcj. In future, consider adding
8349 # support for weak references to pthread_* functions ala gthr.h API.
8350 THREADSPEC
='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
8353 # FreeBSD 5 implements a model much closer to other modern UNIX
8354 # which support threads. However, it still does not support
8356 THREADLDFLAGS
=-pthread
8360 THREADCXXFLAGS
=-pthread
8361 # boehm-gc needs some functions from librt, so link that too.
8362 THREADLIBS
='-lpthread -lrt'
8363 THREADSPEC
='-lpthread -lrt'
8366 THREADLIBS
=-lpthread
8367 THREADSPEC
=-lpthread
8370 THREADH
=posix-threads.h
8371 # MIT pthreads doesn't seem to have the mutexattr functions.
8372 # But for now we don't check for it. We just assume you aren't
8373 # using MIT pthreads.
8375 cat >>confdefs.h
<<\_ACEOF
8376 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
8380 # If we're using the Boehm GC, then we happen to know that it
8381 # defines _REENTRANT, so we don't bother. Eww.
8382 if test "$GC" != boehm
; then
8384 cat >>confdefs.h
<<\_ACEOF
8385 #define _REENTRANT 1
8390 cat >>confdefs.h
<<\_ACEOF
8391 #define _POSIX_PTHREAD_SEMANTICS 1
8397 THREADH
=win32-threads.h
8401 THREADH
=no-threads.h
8404 ac_config_links
="$ac_config_links include/java-threads.h:include/$THREADH"
8414 if test "$THREADS" = posix
; then
8415 USING_POSIX_THREADS_TRUE
=
8416 USING_POSIX_THREADS_FALSE
='#'
8418 USING_POSIX_THREADS_TRUE
='#'
8419 USING_POSIX_THREADS_FALSE
=
8424 if test "$THREADS" = win32
; then
8425 USING_WIN32_THREADS_TRUE
=
8426 USING_WIN32_THREADS_FALSE
='#'
8428 USING_WIN32_THREADS_TRUE
='#'
8429 USING_WIN32_THREADS_FALSE
=
8434 if test "$THREADS" = none
; then
8435 USING_NO_THREADS_TRUE
=
8436 USING_NO_THREADS_FALSE
='#'
8438 USING_NO_THREADS_TRUE
='#'
8439 USING_NO_THREADS_FALSE
=
8443 if test -d sysdep
; then true
; else mkdir sysdep
; fi
8444 ac_config_links
="$ac_config_links sysdep/locks.h:sysdep/$sysdeps_dir/locks.h"
8448 # Hash synchronization is only useful with posix threads right now.
8449 if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then
8450 HASH_SYNC_SPEC
=-fhash-synchronization
8452 cat >>confdefs.h
<<\_ACEOF
8453 #define JV_HASH_SYNCHRONIZATION 1
8462 if test "$GCC" = yes; then
8471 # We're in the tree with gcc, and need to include some of its headers.
8472 GCC_UNWIND_INCLUDE
='-I$(libgcj_basedir)/../gcc'
8474 # Figure out where generated headers like libgcj-config.h get installed.
8475 gcc_version_trigger
=${libgcj_basedir}/..
/gcc
/version.c
8476 gcc_version_full
=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
8477 gcc_version
=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
8478 tool_include_dir
='$(libdir)/gcc/$(target_noncanonical)/'${gcc_version}/include
8482 if test "x${with_newlib}" = "xyes"; then
8483 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
8484 # may not work correctly, because the compiler may not be able to
8487 # We assume newlib. This lets us hard-code the functions we know
8490 cat >>confdefs.h
<<\_ACEOF
8491 #define HAVE_MEMMOVE 1
8495 cat >>confdefs.h
<<\_ACEOF
8496 #define HAVE_MEMCPY 1
8500 cat >>confdefs.h
<<\_ACEOF
8501 #define HAVE_STRERROR 1
8505 cat >>confdefs.h
<<\_ACEOF
8510 cat >>confdefs.h
<<\_ACEOF
8511 #define HAVE_GMTIME_R 1
8515 cat >>confdefs.h
<<\_ACEOF
8516 #define HAVE_LOCALTIME_R 1
8520 cat >>confdefs.h
<<\_ACEOF
8521 #define HAVE_USLEEP_DECL 1
8524 # This is only for POSIX threads.
8526 cat >>confdefs.h
<<\_ACEOF
8527 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
8530 # We also assume we are using gcc, which provides alloca.
8531 cat >>confdefs.h
<<\_ACEOF
8532 #define HAVE_ALLOCA 1
8536 # Assume we do not have getuid and friends.
8538 cat >>confdefs.h
<<\_ACEOF
8552 for ac_func
in strerror ioctl
select fstat open fsync
sleep opendir
8554 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8555 echo "$as_me:$LINENO: checking for $ac_func" >&5
8556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8557 if eval "test \"\${$as_ac_var+set}\" = set"; then
8558 echo $ECHO_N "(cached) $ECHO_C" >&6
8560 if test x
$gcc_no_link = xyes
; then
8561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8563 { (exit 1); exit 1; }; }
8565 cat >conftest.
$ac_ext <<_ACEOF
8568 cat confdefs.h
>>conftest.
$ac_ext
8569 cat >>conftest.
$ac_ext <<_ACEOF
8570 /* end confdefs.h. */
8571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8573 #define $ac_func innocuous_$ac_func
8575 /* System header to define __stub macros and hopefully few prototypes,
8576 which can conflict with char $ac_func (); below.
8577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8578 <limits.h> exists even on freestanding compilers. */
8581 # include <limits.h>
8583 # include <assert.h>
8588 /* Override any gcc2 internal prototype to avoid an error. */
8593 /* We use char because int might match the return type of a gcc2
8594 builtin and then its argument prototype would still apply. */
8596 /* The GNU C library defines this for functions which it implements
8597 to always fail with ENOSYS. Some functions are actually named
8598 something starting with __ and the normal name is an alias. */
8599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8602 char (*f) () = $ac_func;
8611 return f != $ac_func;
8616 rm -f conftest.
$ac_objext conftest
$ac_exeext
8617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8618 (eval $ac_link) 2>conftest.er1
8620 grep -v '^ *+' conftest.er1
>conftest.err
8622 cat conftest.err
>&5
8623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8624 (exit $ac_status); } &&
8625 { ac_try
='test -z "$ac_c_werror_flag"
8626 || test ! -s conftest.err'
8627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8631 (exit $ac_status); }; } &&
8632 { ac_try
='test -s conftest$ac_exeext'
8633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8637 (exit $ac_status); }; }; then
8638 eval "$as_ac_var=yes"
8640 echo "$as_me: failed program was:" >&5
8641 sed 's/^/| /' conftest.
$ac_ext >&5
8643 eval "$as_ac_var=no"
8645 rm -f conftest.err conftest.
$ac_objext \
8646 conftest
$ac_exeext conftest.
$ac_ext
8648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8650 if test `eval echo '${'$as_ac_var'}'` = yes; then
8651 cat >>confdefs.h
<<_ACEOF
8652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8663 for ac_func
in gmtime_r localtime_r readdir_r getpwuid_r getcwd
8665 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8666 echo "$as_me:$LINENO: checking for $ac_func" >&5
8667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8668 if eval "test \"\${$as_ac_var+set}\" = set"; then
8669 echo $ECHO_N "(cached) $ECHO_C" >&6
8671 if test x
$gcc_no_link = xyes
; then
8672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8674 { (exit 1); exit 1; }; }
8676 cat >conftest.
$ac_ext <<_ACEOF
8679 cat confdefs.h
>>conftest.
$ac_ext
8680 cat >>conftest.
$ac_ext <<_ACEOF
8681 /* end confdefs.h. */
8682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8684 #define $ac_func innocuous_$ac_func
8686 /* System header to define __stub macros and hopefully few prototypes,
8687 which can conflict with char $ac_func (); below.
8688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8689 <limits.h> exists even on freestanding compilers. */
8692 # include <limits.h>
8694 # include <assert.h>
8699 /* Override any gcc2 internal prototype to avoid an error. */
8704 /* We use char because int might match the return type of a gcc2
8705 builtin and then its argument prototype would still apply. */
8707 /* The GNU C library defines this for functions which it implements
8708 to always fail with ENOSYS. Some functions are actually named
8709 something starting with __ and the normal name is an alias. */
8710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8713 char (*f) () = $ac_func;
8722 return f != $ac_func;
8727 rm -f conftest.
$ac_objext conftest
$ac_exeext
8728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8729 (eval $ac_link) 2>conftest.er1
8731 grep -v '^ *+' conftest.er1
>conftest.err
8733 cat conftest.err
>&5
8734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8735 (exit $ac_status); } &&
8736 { ac_try
='test -z "$ac_c_werror_flag"
8737 || test ! -s conftest.err'
8738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8742 (exit $ac_status); }; } &&
8743 { ac_try
='test -s conftest$ac_exeext'
8744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8748 (exit $ac_status); }; }; then
8749 eval "$as_ac_var=yes"
8751 echo "$as_me: failed program was:" >&5
8752 sed 's/^/| /' conftest.
$ac_ext >&5
8754 eval "$as_ac_var=no"
8756 rm -f conftest.err conftest.
$ac_objext \
8757 conftest
$ac_exeext conftest.
$ac_ext
8759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8761 if test `eval echo '${'$as_ac_var'}'` = yes; then
8762 cat >>confdefs.h
<<_ACEOF
8763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8778 for ac_func
in access stat mkdir rename
rmdir unlink realpath utime
chmod
8780 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8781 echo "$as_me:$LINENO: checking for $ac_func" >&5
8782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8783 if eval "test \"\${$as_ac_var+set}\" = set"; then
8784 echo $ECHO_N "(cached) $ECHO_C" >&6
8786 if test x
$gcc_no_link = xyes
; then
8787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8789 { (exit 1); exit 1; }; }
8791 cat >conftest.
$ac_ext <<_ACEOF
8794 cat confdefs.h
>>conftest.
$ac_ext
8795 cat >>conftest.
$ac_ext <<_ACEOF
8796 /* end confdefs.h. */
8797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8799 #define $ac_func innocuous_$ac_func
8801 /* System header to define __stub macros and hopefully few prototypes,
8802 which can conflict with char $ac_func (); below.
8803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8804 <limits.h> exists even on freestanding compilers. */
8807 # include <limits.h>
8809 # include <assert.h>
8814 /* Override any gcc2 internal prototype to avoid an error. */
8819 /* We use char because int might match the return type of a gcc2
8820 builtin and then its argument prototype would still apply. */
8822 /* The GNU C library defines this for functions which it implements
8823 to always fail with ENOSYS. Some functions are actually named
8824 something starting with __ and the normal name is an alias. */
8825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8828 char (*f) () = $ac_func;
8837 return f != $ac_func;
8842 rm -f conftest.
$ac_objext conftest
$ac_exeext
8843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8844 (eval $ac_link) 2>conftest.er1
8846 grep -v '^ *+' conftest.er1
>conftest.err
8848 cat conftest.err
>&5
8849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8850 (exit $ac_status); } &&
8851 { ac_try
='test -z "$ac_c_werror_flag"
8852 || test ! -s conftest.err'
8853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8857 (exit $ac_status); }; } &&
8858 { ac_try
='test -s conftest$ac_exeext'
8859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8863 (exit $ac_status); }; }; then
8864 eval "$as_ac_var=yes"
8866 echo "$as_me: failed program was:" >&5
8867 sed 's/^/| /' conftest.
$ac_ext >&5
8869 eval "$as_ac_var=no"
8871 rm -f conftest.err conftest.
$ac_objext \
8872 conftest
$ac_exeext conftest.
$ac_ext
8874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8876 if test `eval echo '${'$as_ac_var'}'` = yes; then
8877 cat >>confdefs.h
<<_ACEOF
8878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8886 for ac_func
in nl_langinfo setlocale
8888 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8889 echo "$as_me:$LINENO: checking for $ac_func" >&5
8890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8891 if eval "test \"\${$as_ac_var+set}\" = set"; then
8892 echo $ECHO_N "(cached) $ECHO_C" >&6
8894 if test x
$gcc_no_link = xyes
; then
8895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8897 { (exit 1); exit 1; }; }
8899 cat >conftest.
$ac_ext <<_ACEOF
8902 cat confdefs.h
>>conftest.
$ac_ext
8903 cat >>conftest.
$ac_ext <<_ACEOF
8904 /* end confdefs.h. */
8905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8907 #define $ac_func innocuous_$ac_func
8909 /* System header to define __stub macros and hopefully few prototypes,
8910 which can conflict with char $ac_func (); below.
8911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8912 <limits.h> exists even on freestanding compilers. */
8915 # include <limits.h>
8917 # include <assert.h>
8922 /* Override any gcc2 internal prototype to avoid an error. */
8927 /* We use char because int might match the return type of a gcc2
8928 builtin and then its argument prototype would still apply. */
8930 /* The GNU C library defines this for functions which it implements
8931 to always fail with ENOSYS. Some functions are actually named
8932 something starting with __ and the normal name is an alias. */
8933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8936 char (*f) () = $ac_func;
8945 return f != $ac_func;
8950 rm -f conftest.
$ac_objext conftest
$ac_exeext
8951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8952 (eval $ac_link) 2>conftest.er1
8954 grep -v '^ *+' conftest.er1
>conftest.err
8956 cat conftest.err
>&5
8957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8958 (exit $ac_status); } &&
8959 { ac_try
='test -z "$ac_c_werror_flag"
8960 || test ! -s conftest.err'
8961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8965 (exit $ac_status); }; } &&
8966 { ac_try
='test -s conftest$ac_exeext'
8967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8971 (exit $ac_status); }; }; then
8972 eval "$as_ac_var=yes"
8974 echo "$as_me: failed program was:" >&5
8975 sed 's/^/| /' conftest.
$ac_ext >&5
8977 eval "$as_ac_var=no"
8979 rm -f conftest.err conftest.
$ac_objext \
8980 conftest
$ac_exeext conftest.
$ac_ext
8982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8984 if test `eval echo '${'$as_ac_var'}'` = yes; then
8985 cat >>confdefs.h
<<_ACEOF
8986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8994 for ac_func
in inet_aton inet_addr
8996 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8997 echo "$as_me:$LINENO: checking for $ac_func" >&5
8998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8999 if eval "test \"\${$as_ac_var+set}\" = set"; then
9000 echo $ECHO_N "(cached) $ECHO_C" >&6
9002 if test x
$gcc_no_link = xyes
; then
9003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9005 { (exit 1); exit 1; }; }
9007 cat >conftest.
$ac_ext <<_ACEOF
9010 cat confdefs.h
>>conftest.
$ac_ext
9011 cat >>conftest.
$ac_ext <<_ACEOF
9012 /* end confdefs.h. */
9013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9015 #define $ac_func innocuous_$ac_func
9017 /* System header to define __stub macros and hopefully few prototypes,
9018 which can conflict with char $ac_func (); below.
9019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9020 <limits.h> exists even on freestanding compilers. */
9023 # include <limits.h>
9025 # include <assert.h>
9030 /* Override any gcc2 internal prototype to avoid an error. */
9035 /* We use char because int might match the return type of a gcc2
9036 builtin and then its argument prototype would still apply. */
9038 /* The GNU C library defines this for functions which it implements
9039 to always fail with ENOSYS. Some functions are actually named
9040 something starting with __ and the normal name is an alias. */
9041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9044 char (*f) () = $ac_func;
9053 return f != $ac_func;
9058 rm -f conftest.
$ac_objext conftest
$ac_exeext
9059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9060 (eval $ac_link) 2>conftest.er1
9062 grep -v '^ *+' conftest.er1
>conftest.err
9064 cat conftest.err
>&5
9065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9066 (exit $ac_status); } &&
9067 { ac_try
='test -z "$ac_c_werror_flag"
9068 || test ! -s conftest.err'
9069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9073 (exit $ac_status); }; } &&
9074 { ac_try
='test -s conftest$ac_exeext'
9075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9079 (exit $ac_status); }; }; then
9080 eval "$as_ac_var=yes"
9082 echo "$as_me: failed program was:" >&5
9083 sed 's/^/| /' conftest.
$ac_ext >&5
9085 eval "$as_ac_var=no"
9087 rm -f conftest.err conftest.
$ac_objext \
9088 conftest
$ac_exeext conftest.
$ac_ext
9090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9092 if test `eval echo '${'$as_ac_var'}'` = yes; then
9093 cat >>confdefs.h
<<_ACEOF
9094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9103 for ac_func
in inet_pton uname inet_ntoa
9105 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9106 echo "$as_me:$LINENO: checking for $ac_func" >&5
9107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9108 if eval "test \"\${$as_ac_var+set}\" = set"; then
9109 echo $ECHO_N "(cached) $ECHO_C" >&6
9111 if test x
$gcc_no_link = xyes
; then
9112 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9114 { (exit 1); exit 1; }; }
9116 cat >conftest.
$ac_ext <<_ACEOF
9119 cat confdefs.h
>>conftest.
$ac_ext
9120 cat >>conftest.
$ac_ext <<_ACEOF
9121 /* end confdefs.h. */
9122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9124 #define $ac_func innocuous_$ac_func
9126 /* System header to define __stub macros and hopefully few prototypes,
9127 which can conflict with char $ac_func (); below.
9128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9129 <limits.h> exists even on freestanding compilers. */
9132 # include <limits.h>
9134 # include <assert.h>
9139 /* Override any gcc2 internal prototype to avoid an error. */
9144 /* We use char because int might match the return type of a gcc2
9145 builtin and then its argument prototype would still apply. */
9147 /* The GNU C library defines this for functions which it implements
9148 to always fail with ENOSYS. Some functions are actually named
9149 something starting with __ and the normal name is an alias. */
9150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9153 char (*f) () = $ac_func;
9162 return f != $ac_func;
9167 rm -f conftest.
$ac_objext conftest
$ac_exeext
9168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9169 (eval $ac_link) 2>conftest.er1
9171 grep -v '^ *+' conftest.er1
>conftest.err
9173 cat conftest.err
>&5
9174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9175 (exit $ac_status); } &&
9176 { ac_try
='test -z "$ac_c_werror_flag"
9177 || test ! -s conftest.err'
9178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9182 (exit $ac_status); }; } &&
9183 { ac_try
='test -s conftest$ac_exeext'
9184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9188 (exit $ac_status); }; }; then
9189 eval "$as_ac_var=yes"
9191 echo "$as_me: failed program was:" >&5
9192 sed 's/^/| /' conftest.
$ac_ext >&5
9194 eval "$as_ac_var=no"
9196 rm -f conftest.err conftest.
$ac_objext \
9197 conftest
$ac_exeext conftest.
$ac_ext
9199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9201 if test `eval echo '${'$as_ac_var'}'` = yes; then
9202 cat >>confdefs.h
<<_ACEOF
9203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9214 for ac_func
in fork execvp pipe sigaction ftruncate
9216 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9217 echo "$as_me:$LINENO: checking for $ac_func" >&5
9218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9219 if eval "test \"\${$as_ac_var+set}\" = set"; then
9220 echo $ECHO_N "(cached) $ECHO_C" >&6
9222 if test x
$gcc_no_link = xyes
; then
9223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9225 { (exit 1); exit 1; }; }
9227 cat >conftest.
$ac_ext <<_ACEOF
9230 cat confdefs.h
>>conftest.
$ac_ext
9231 cat >>conftest.
$ac_ext <<_ACEOF
9232 /* end confdefs.h. */
9233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9235 #define $ac_func innocuous_$ac_func
9237 /* System header to define __stub macros and hopefully few prototypes,
9238 which can conflict with char $ac_func (); below.
9239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9240 <limits.h> exists even on freestanding compilers. */
9243 # include <limits.h>
9245 # include <assert.h>
9250 /* Override any gcc2 internal prototype to avoid an error. */
9255 /* We use char because int might match the return type of a gcc2
9256 builtin and then its argument prototype would still apply. */
9258 /* The GNU C library defines this for functions which it implements
9259 to always fail with ENOSYS. Some functions are actually named
9260 something starting with __ and the normal name is an alias. */
9261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9264 char (*f) () = $ac_func;
9273 return f != $ac_func;
9278 rm -f conftest.
$ac_objext conftest
$ac_exeext
9279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9280 (eval $ac_link) 2>conftest.er1
9282 grep -v '^ *+' conftest.er1
>conftest.err
9284 cat conftest.err
>&5
9285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9286 (exit $ac_status); } &&
9287 { ac_try
='test -z "$ac_c_werror_flag"
9288 || test ! -s conftest.err'
9289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9293 (exit $ac_status); }; } &&
9294 { ac_try
='test -s conftest$ac_exeext'
9295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9299 (exit $ac_status); }; }; then
9300 eval "$as_ac_var=yes"
9302 echo "$as_me: failed program was:" >&5
9303 sed 's/^/| /' conftest.
$ac_ext >&5
9305 eval "$as_ac_var=no"
9307 rm -f conftest.err conftest.
$ac_objext \
9308 conftest
$ac_exeext conftest.
$ac_ext
9310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9312 if test `eval echo '${'$as_ac_var'}'` = yes; then
9313 cat >>confdefs.h
<<_ACEOF
9314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9320 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
9321 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
9322 if test "${ac_cv_header_stdc+set}" = set; then
9323 echo $ECHO_N "(cached) $ECHO_C" >&6
9325 cat >conftest.
$ac_ext <<_ACEOF
9328 cat confdefs.h
>>conftest.
$ac_ext
9329 cat >>conftest.
$ac_ext <<_ACEOF
9330 /* end confdefs.h. */
9344 rm -f conftest.
$ac_objext
9345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9346 (eval $ac_compile) 2>conftest.er1
9348 grep -v '^ *+' conftest.er1
>conftest.err
9350 cat conftest.err
>&5
9351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9352 (exit $ac_status); } &&
9353 { ac_try
='test -z "$ac_c_werror_flag"
9354 || test ! -s conftest.err'
9355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9359 (exit $ac_status); }; } &&
9360 { ac_try
='test -s conftest.$ac_objext'
9361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9365 (exit $ac_status); }; }; then
9366 ac_cv_header_stdc
=yes
9368 echo "$as_me: failed program was:" >&5
9369 sed 's/^/| /' conftest.
$ac_ext >&5
9371 ac_cv_header_stdc
=no
9373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9375 if test $ac_cv_header_stdc = yes; then
9376 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9377 cat >conftest.
$ac_ext <<_ACEOF
9380 cat confdefs.h
>>conftest.
$ac_ext
9381 cat >>conftest.
$ac_ext <<_ACEOF
9382 /* end confdefs.h. */
9386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9387 $EGREP "memchr" >/dev
/null
2>&1; then
9390 ac_cv_header_stdc
=no
9396 if test $ac_cv_header_stdc = yes; then
9397 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9398 cat >conftest.
$ac_ext <<_ACEOF
9401 cat confdefs.h
>>conftest.
$ac_ext
9402 cat >>conftest.
$ac_ext <<_ACEOF
9403 /* end confdefs.h. */
9407 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9408 $EGREP "free" >/dev
/null
2>&1; then
9411 ac_cv_header_stdc
=no
9417 if test $ac_cv_header_stdc = yes; then
9418 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9419 if test "$cross_compiling" = yes; then
9422 cat >conftest.
$ac_ext <<_ACEOF
9425 cat confdefs.h
>>conftest.
$ac_ext
9426 cat >>conftest.
$ac_ext <<_ACEOF
9427 /* end confdefs.h. */
9429 #if ((' ' & 0x0FF) == 0x020)
9430 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9431 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9433 # define ISLOWER(c) \
9434 (('a' <= (c) && (c) <= 'i') \
9435 || ('j' <= (c) && (c) <= 'r') \
9436 || ('s' <= (c) && (c) <= 'z'))
9437 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9440 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9445 for (i = 0; i < 256; i++)
9446 if (XOR (islower (i), ISLOWER (i))
9447 || toupper (i) != TOUPPER (i))
9452 rm -f conftest
$ac_exeext
9453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9454 (eval $ac_link) 2>&5
9456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9457 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9462 (exit $ac_status); }; }; then
9465 echo "$as_me: program exited with status $ac_status" >&5
9466 echo "$as_me: failed program was:" >&5
9467 sed 's/^/| /' conftest.
$ac_ext >&5
9470 ac_cv_header_stdc
=no
9472 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9476 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
9477 echo "${ECHO_T}$ac_cv_header_stdc" >&6
9478 if test $ac_cv_header_stdc = yes; then
9480 cat >>confdefs.h
<<\_ACEOF
9481 #define STDC_HEADERS 1
9486 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9496 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
9497 inttypes.h stdint.h unistd.h
9499 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9500 echo "$as_me:$LINENO: checking for $ac_header" >&5
9501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9502 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9503 echo $ECHO_N "(cached) $ECHO_C" >&6
9505 cat >conftest.
$ac_ext <<_ACEOF
9508 cat confdefs.h
>>conftest.
$ac_ext
9509 cat >>conftest.
$ac_ext <<_ACEOF
9510 /* end confdefs.h. */
9511 $ac_includes_default
9513 #include <$ac_header>
9515 rm -f conftest.
$ac_objext
9516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9517 (eval $ac_compile) 2>conftest.er1
9519 grep -v '^ *+' conftest.er1
>conftest.err
9521 cat conftest.err
>&5
9522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523 (exit $ac_status); } &&
9524 { ac_try
='test -z "$ac_c_werror_flag"
9525 || test ! -s conftest.err'
9526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9530 (exit $ac_status); }; } &&
9531 { ac_try
='test -s conftest.$ac_objext'
9532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9536 (exit $ac_status); }; }; then
9537 eval "$as_ac_Header=yes"
9539 echo "$as_me: failed program was:" >&5
9540 sed 's/^/| /' conftest.
$ac_ext >&5
9542 eval "$as_ac_Header=no"
9544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9547 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9548 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9549 cat >>confdefs.h
<<_ACEOF
9550 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9561 for ac_header
in execinfo.h unistd.h dlfcn.h
9563 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9565 echo "$as_me:$LINENO: checking for $ac_header" >&5
9566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9568 echo $ECHO_N "(cached) $ECHO_C" >&6
9570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9571 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9573 # Is the header compilable?
9574 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9575 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9576 cat >conftest.
$ac_ext <<_ACEOF
9579 cat confdefs.h
>>conftest.
$ac_ext
9580 cat >>conftest.
$ac_ext <<_ACEOF
9581 /* end confdefs.h. */
9582 $ac_includes_default
9583 #include <$ac_header>
9585 rm -f conftest.
$ac_objext
9586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9587 (eval $ac_compile) 2>conftest.er1
9589 grep -v '^ *+' conftest.er1
>conftest.err
9591 cat conftest.err
>&5
9592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9593 (exit $ac_status); } &&
9594 { ac_try
='test -z "$ac_c_werror_flag"
9595 || test ! -s conftest.err'
9596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9600 (exit $ac_status); }; } &&
9601 { ac_try
='test -s conftest.$ac_objext'
9602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9606 (exit $ac_status); }; }; then
9607 ac_header_compiler
=yes
9609 echo "$as_me: failed program was:" >&5
9610 sed 's/^/| /' conftest.
$ac_ext >&5
9612 ac_header_compiler
=no
9614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9615 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9616 echo "${ECHO_T}$ac_header_compiler" >&6
9618 # Is the header present?
9619 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9620 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9621 cat >conftest.
$ac_ext <<_ACEOF
9624 cat confdefs.h
>>conftest.
$ac_ext
9625 cat >>conftest.
$ac_ext <<_ACEOF
9626 /* end confdefs.h. */
9627 #include <$ac_header>
9629 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9630 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9632 grep -v '^ *+' conftest.er1
>conftest.err
9634 cat conftest.err
>&5
9635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9636 (exit $ac_status); } >/dev
/null
; then
9637 if test -s conftest.err
; then
9638 ac_cpp_err
=$ac_c_preproc_warn_flag
9639 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9646 if test -z "$ac_cpp_err"; then
9647 ac_header_preproc
=yes
9649 echo "$as_me: failed program was:" >&5
9650 sed 's/^/| /' conftest.
$ac_ext >&5
9652 ac_header_preproc
=no
9654 rm -f conftest.err conftest.
$ac_ext
9655 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9656 echo "${ECHO_T}$ac_header_preproc" >&6
9658 # So? What about this header?
9659 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9661 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9662 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9663 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9664 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9665 ac_header_preproc
=yes
9668 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9669 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9670 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9671 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9672 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9673 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9674 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9675 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9676 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9677 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9678 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9679 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9682 ## ---------------------------------- ##
9683 ## Report this to the libjava lists. ##
9684 ## ---------------------------------- ##
9687 sed "s/^/$as_me: WARNING: /" >&2
9690 echo "$as_me:$LINENO: checking for $ac_header" >&5
9691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9693 echo $ECHO_N "(cached) $ECHO_C" >&6
9695 eval "$as_ac_Header=\$ac_header_preproc"
9697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9698 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9701 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9702 cat >>confdefs.h
<<_ACEOF
9703 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9710 echo "$as_me:$LINENO: checking for backtrace" >&5
9711 echo $ECHO_N "checking for backtrace... $ECHO_C" >&6
9712 if test "${ac_cv_func_backtrace+set}" = set; then
9713 echo $ECHO_N "(cached) $ECHO_C" >&6
9715 if test x
$gcc_no_link = xyes
; then
9716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9718 { (exit 1); exit 1; }; }
9720 cat >conftest.
$ac_ext <<_ACEOF
9723 cat confdefs.h
>>conftest.
$ac_ext
9724 cat >>conftest.
$ac_ext <<_ACEOF
9725 /* end confdefs.h. */
9726 /* Define backtrace to an innocuous variant, in case <limits.h> declares backtrace.
9727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9728 #define backtrace innocuous_backtrace
9730 /* System header to define __stub macros and hopefully few prototypes,
9731 which can conflict with char backtrace (); below.
9732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9733 <limits.h> exists even on freestanding compilers. */
9736 # include <limits.h>
9738 # include <assert.h>
9743 /* Override any gcc2 internal prototype to avoid an error. */
9748 /* We use char because int might match the return type of a gcc2
9749 builtin and then its argument prototype would still apply. */
9751 /* The GNU C library defines this for functions which it implements
9752 to always fail with ENOSYS. Some functions are actually named
9753 something starting with __ and the normal name is an alias. */
9754 #if defined (__stub_backtrace) || defined (__stub___backtrace)
9757 char (*f) () = backtrace;
9766 return f != backtrace;
9771 rm -f conftest.
$ac_objext conftest
$ac_exeext
9772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9773 (eval $ac_link) 2>conftest.er1
9775 grep -v '^ *+' conftest.er1
>conftest.err
9777 cat conftest.err
>&5
9778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9779 (exit $ac_status); } &&
9780 { ac_try
='test -z "$ac_c_werror_flag"
9781 || test ! -s conftest.err'
9782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9786 (exit $ac_status); }; } &&
9787 { ac_try
='test -s conftest$ac_exeext'
9788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9792 (exit $ac_status); }; }; then
9793 ac_cv_func_backtrace
=yes
9795 echo "$as_me: failed program was:" >&5
9796 sed 's/^/| /' conftest.
$ac_ext >&5
9798 ac_cv_func_backtrace
=no
9800 rm -f conftest.err conftest.
$ac_objext \
9801 conftest
$ac_exeext conftest.
$ac_ext
9803 echo "$as_me:$LINENO: result: $ac_cv_func_backtrace" >&5
9804 echo "${ECHO_T}$ac_cv_func_backtrace" >&6
9805 if test $ac_cv_func_backtrace = yes; then
9809 # Has broken backtrace()
9812 # Has broken backtrace(), but we supply our own.
9813 if test -d sysdep
; then true
; else mkdir
-p sysdep
; fi
9814 supply_backtrace
=yes
9816 cat >>confdefs.h
<<\_ACEOF
9817 #define HAVE_BACKTRACE 1
9823 cat >>confdefs.h
<<\_ACEOF
9824 #define HAVE_BACKTRACE 1
9834 # Has backtrace() defined in libgcj itself
9836 cat >>confdefs.h
<<\_ACEOF
9837 #define HAVE_BACKTRACE 1
9846 echo "$as_me:$LINENO: checking for dladdr in -ldl" >&5
9847 echo $ECHO_N "checking for dladdr in -ldl... $ECHO_C" >&6
9848 if test "${ac_cv_lib_dl_dladdr+set}" = set; then
9849 echo $ECHO_N "(cached) $ECHO_C" >&6
9851 ac_check_lib_save_LIBS
=$LIBS
9853 if test x
$gcc_no_link = xyes
; then
9854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9856 { (exit 1); exit 1; }; }
9858 cat >conftest.
$ac_ext <<_ACEOF
9861 cat confdefs.h
>>conftest.
$ac_ext
9862 cat >>conftest.
$ac_ext <<_ACEOF
9863 /* end confdefs.h. */
9865 /* Override any gcc2 internal prototype to avoid an error. */
9869 /* We use char because int might match the return type of a gcc2
9870 builtin and then its argument prototype would still apply. */
9880 rm -f conftest.
$ac_objext conftest
$ac_exeext
9881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9882 (eval $ac_link) 2>conftest.er1
9884 grep -v '^ *+' conftest.er1
>conftest.err
9886 cat conftest.err
>&5
9887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9888 (exit $ac_status); } &&
9889 { ac_try
='test -z "$ac_c_werror_flag"
9890 || test ! -s conftest.err'
9891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9895 (exit $ac_status); }; } &&
9896 { ac_try
='test -s conftest$ac_exeext'
9897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9901 (exit $ac_status); }; }; then
9902 ac_cv_lib_dl_dladdr
=yes
9904 echo "$as_me: failed program was:" >&5
9905 sed 's/^/| /' conftest.
$ac_ext >&5
9907 ac_cv_lib_dl_dladdr
=no
9909 rm -f conftest.err conftest.
$ac_objext \
9910 conftest
$ac_exeext conftest.
$ac_ext
9911 LIBS
=$ac_check_lib_save_LIBS
9913 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dladdr" >&5
9914 echo "${ECHO_T}$ac_cv_lib_dl_dladdr" >&6
9915 if test $ac_cv_lib_dl_dladdr = yes; then
9917 if test "x${disable_dladdr}" = "xyes"; then
9922 cat >>confdefs.h
<<\_ACEOF
9923 #define HAVE_DLADDR 1
9930 if test x
"$build" = x
"$host"; then
9931 echo "$as_me:$LINENO: checking for /proc/self/exe" >&5
9932 echo $ECHO_N "checking for /proc/self/exe... $ECHO_C" >&6
9933 if test "${ac_cv_file__proc_self_exe+set}" = set; then
9934 echo $ECHO_N "(cached) $ECHO_C" >&6
9936 test "$cross_compiling" = yes &&
9937 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
9938 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
9939 { (exit 1); exit 1; }; }
9940 if test -r "/proc/self/exe"; then
9941 ac_cv_file__proc_self_exe
=yes
9943 ac_cv_file__proc_self_exe
=no
9946 echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_exe" >&5
9947 echo "${ECHO_T}$ac_cv_file__proc_self_exe" >&6
9948 if test $ac_cv_file__proc_self_exe = yes; then
9950 cat >>confdefs.h
<<_ACEOF
9951 #define HAVE__PROC_SELF_EXE 1
9956 cat >>confdefs.h
<<\_ACEOF
9957 #define HAVE_PROC_SELF_EXE 1
9966 cat >>confdefs.h
<<\_ACEOF
9967 #define HAVE_PROC_SELF_EXE 1
9975 if test "X$prefix" = "XNONE"; then
9976 acl_final_prefix
="$ac_default_prefix"
9978 acl_final_prefix
="$prefix"
9980 if test "X$exec_prefix" = "XNONE"; then
9981 acl_final_exec_prefix
='${prefix}'
9983 acl_final_exec_prefix
="$exec_prefix"
9985 acl_save_prefix
="$prefix"
9986 prefix
="$acl_final_prefix"
9987 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
9988 prefix
="$acl_save_prefix"
9991 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9992 if test "${with_gnu_ld+set}" = set; then
9993 withval
="$with_gnu_ld"
9994 test "$withval" = no || with_gnu_ld
=yes
9998 # Prepare PATH_SEPARATOR.
9999 # The user is always right.
10000 if test "${PATH_SEPARATOR+set}" != set; then
10001 echo "#! /bin/sh" >conf$$.sh
10002 echo "exit 0" >>conf$$.sh
10004 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10012 if test "$GCC" = yes; then
10013 # Check if gcc -print-prog-name=ld gives a path.
10014 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
10015 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
10018 # gcc leaves a trailing carriage return which upsets mingw
10019 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10021 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10024 # Accept absolute paths.
10025 [\\/]* |
[A-Za-z
]:[\\/]*)
10026 re_direlt
='/[^/][^/]*/\.\./'
10027 # Canonicalize the path of ld
10028 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
10029 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10030 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
10032 test -z "$LD" && LD
="$ac_prog"
10035 # If it fails, then pretend we aren't using GCC.
10039 # If it is relative, then search for the first ld in PATH.
10040 with_gnu_ld
=unknown
10043 elif test "$with_gnu_ld" = yes; then
10044 echo "$as_me:$LINENO: checking for GNU ld" >&5
10045 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10047 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10048 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10050 if test "${acl_cv_path_LD+set}" = set; then
10051 echo $ECHO_N "(cached) $ECHO_C" >&6
10053 if test -z "$LD"; then
10054 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
10055 for ac_dir
in $PATH; do
10056 test -z "$ac_dir" && ac_dir
=.
10057 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10058 acl_cv_path_LD
="$ac_dir/$ac_prog"
10059 # Check to see if the program is GNU ld. I'd rather use --version,
10060 # but apparently some GNU ld's only accept -v.
10061 # Break only if it was the GNU/non-GNU ld that we prefer.
10062 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
10063 test "$with_gnu_ld" != no
&& break
10065 test "$with_gnu_ld" != yes && break
10071 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
10075 LD
="$acl_cv_path_LD"
10076 if test -n "$LD"; then
10077 echo "$as_me:$LINENO: result: $LD" >&5
10078 echo "${ECHO_T}$LD" >&6
10080 echo "$as_me:$LINENO: result: no" >&5
10081 echo "${ECHO_T}no" >&6
10083 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10084 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10085 { (exit 1); exit 1; }; }
10086 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10087 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10088 if test "${acl_cv_prog_gnu_ld+set}" = set; then
10089 echo $ECHO_N "(cached) $ECHO_C" >&6
10091 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10092 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
10093 acl_cv_prog_gnu_ld
=yes
10095 acl_cv_prog_gnu_ld
=no
10098 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
10099 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
10100 with_gnu_ld
=$acl_cv_prog_gnu_ld
10104 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
10105 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
10106 if test "${acl_cv_rpath+set}" = set; then
10107 echo $ECHO_N "(cached) $ECHO_C" >&6
10110 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
10111 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
10113 rm -f .
/conftest.sh
10117 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
10118 echo "${ECHO_T}$acl_cv_rpath" >&6
10120 libext
="$acl_cv_libext"
10121 shlibext
="$acl_cv_shlibext"
10122 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
10123 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
10124 hardcode_direct
="$acl_cv_hardcode_direct"
10125 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
10126 # Check whether --enable-rpath or --disable-rpath was given.
10127 if test "${enable_rpath+set}" = set; then
10128 enableval
="$enable_rpath"
10142 acl_save_prefix
="$prefix"
10143 prefix
="$acl_final_prefix"
10144 acl_save_exec_prefix
="$exec_prefix"
10145 exec_prefix
="$acl_final_exec_prefix"
10147 eval additional_includedir
=\"$includedir\"
10148 eval additional_libdir
=\"$libdir\"
10150 exec_prefix
="$acl_save_exec_prefix"
10151 prefix
="$acl_save_prefix"
10154 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
10155 if test "${with_libiconv_prefix+set}" = set; then
10156 withval
="$with_libiconv_prefix"
10158 if test "X$withval" = "Xno"; then
10161 if test "X$withval" = "X"; then
10163 acl_save_prefix
="$prefix"
10164 prefix
="$acl_final_prefix"
10165 acl_save_exec_prefix
="$exec_prefix"
10166 exec_prefix
="$acl_final_exec_prefix"
10168 eval additional_includedir
=\"$includedir\"
10169 eval additional_libdir
=\"$libdir\"
10171 exec_prefix
="$acl_save_exec_prefix"
10172 prefix
="$acl_save_prefix"
10175 additional_includedir
="$withval/include"
10176 additional_libdir
="$withval/lib"
10186 names_already_handled
=
10187 names_next_round
='iconv '
10188 while test -n "$names_next_round"; do
10189 names_this_round
="$names_next_round"
10191 for name
in $names_this_round; do
10193 for n
in $names_already_handled; do
10194 if test "$n" = "$name"; then
10195 already_handled
=yes
10199 if test -z "$already_handled"; then
10200 names_already_handled
="$names_already_handled $name"
10201 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
10202 eval value
=\"\
$HAVE_LIB$uppername\"
10203 if test -n "$value"; then
10204 if test "$value" = yes; then
10205 eval value
=\"\
$LIB$uppername\"
10206 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
10207 eval value
=\"\
$LTLIB$uppername\"
10208 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
10217 if test $use_additional = yes; then
10218 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
10219 found_dir
="$additional_libdir"
10220 found_so
="$additional_libdir/lib$name.$shlibext"
10221 if test -f "$additional_libdir/lib$name.la"; then
10222 found_la
="$additional_libdir/lib$name.la"
10225 if test -f "$additional_libdir/lib$name.$libext"; then
10226 found_dir
="$additional_libdir"
10227 found_a
="$additional_libdir/lib$name.$libext"
10228 if test -f "$additional_libdir/lib$name.la"; then
10229 found_la
="$additional_libdir/lib$name.la"
10234 if test "X$found_dir" = "X"; then
10235 for x
in $LDFLAGS $LTLIBICONV; do
10237 acl_save_prefix
="$prefix"
10238 prefix
="$acl_final_prefix"
10239 acl_save_exec_prefix
="$exec_prefix"
10240 exec_prefix
="$acl_final_exec_prefix"
10242 exec_prefix
="$acl_save_exec_prefix"
10243 prefix
="$acl_save_prefix"
10247 dir
=`echo "X$x" | sed -e 's/^X-L//'`
10248 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
10250 found_so
="$dir/lib$name.$shlibext"
10251 if test -f "$dir/lib$name.la"; then
10252 found_la
="$dir/lib$name.la"
10255 if test -f "$dir/lib$name.$libext"; then
10257 found_a
="$dir/lib$name.$libext"
10258 if test -f "$dir/lib$name.la"; then
10259 found_la
="$dir/lib$name.la"
10265 if test "X$found_dir" != "X"; then
10270 if test "X$found_dir" != "X"; then
10271 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
10272 if test "X$found_so" != "X"; then
10273 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
10274 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10277 for x
in $ltrpathdirs; do
10278 if test "X$x" = "X$found_dir"; then
10283 if test -z "$haveit"; then
10284 ltrpathdirs
="$ltrpathdirs $found_dir"
10286 if test "$hardcode_direct" = yes; then
10287 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10289 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
10290 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10292 for x
in $rpathdirs; do
10293 if test "X$x" = "X$found_dir"; then
10298 if test -z "$haveit"; then
10299 rpathdirs
="$rpathdirs $found_dir"
10303 for x
in $LDFLAGS $LIBICONV; do
10305 acl_save_prefix
="$prefix"
10306 prefix
="$acl_final_prefix"
10307 acl_save_exec_prefix
="$exec_prefix"
10308 exec_prefix
="$acl_final_exec_prefix"
10310 exec_prefix
="$acl_save_exec_prefix"
10311 prefix
="$acl_save_prefix"
10313 if test "X$x" = "X-L$found_dir"; then
10318 if test -z "$haveit"; then
10319 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
10321 if test "$hardcode_minus_L" != no
; then
10322 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10324 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
10330 if test "X$found_a" != "X"; then
10331 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
10333 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
10336 additional_includedir
=
10337 case "$found_dir" in
10339 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
10340 additional_includedir
="$basedir/include"
10343 if test "X$additional_includedir" != "X"; then
10344 if test "X$additional_includedir" != "X/usr/include"; then
10346 if test "X$additional_includedir" = "X/usr/local/include"; then
10347 if test -n "$GCC"; then
10349 linux
*) haveit
=yes;;
10353 if test -z "$haveit"; then
10354 for x
in $CPPFLAGS $INCICONV; do
10356 acl_save_prefix
="$prefix"
10357 prefix
="$acl_final_prefix"
10358 acl_save_exec_prefix
="$exec_prefix"
10359 exec_prefix
="$acl_final_exec_prefix"
10361 exec_prefix
="$acl_save_exec_prefix"
10362 prefix
="$acl_save_prefix"
10364 if test "X$x" = "X-I$additional_includedir"; then
10369 if test -z "$haveit"; then
10370 if test -d "$additional_includedir"; then
10371 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
10377 if test -n "$found_la"; then
10378 save_libdir
="$libdir"
10379 case "$found_la" in
10380 */* |
*\\*) .
"$found_la" ;;
10381 *) .
"./$found_la" ;;
10383 libdir
="$save_libdir"
10384 for dep
in $dependency_libs; do
10387 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
10388 if test "X$additional_libdir" != "X/usr/lib"; then
10390 if test "X$additional_libdir" = "X/usr/local/lib"; then
10391 if test -n "$GCC"; then
10393 linux
*) haveit
=yes;;
10397 if test -z "$haveit"; then
10399 for x
in $LDFLAGS $LIBICONV; do
10401 acl_save_prefix
="$prefix"
10402 prefix
="$acl_final_prefix"
10403 acl_save_exec_prefix
="$exec_prefix"
10404 exec_prefix
="$acl_final_exec_prefix"
10406 exec_prefix
="$acl_save_exec_prefix"
10407 prefix
="$acl_save_prefix"
10409 if test "X$x" = "X-L$additional_libdir"; then
10414 if test -z "$haveit"; then
10415 if test -d "$additional_libdir"; then
10416 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
10420 for x
in $LDFLAGS $LTLIBICONV; do
10422 acl_save_prefix
="$prefix"
10423 prefix
="$acl_final_prefix"
10424 acl_save_exec_prefix
="$exec_prefix"
10425 exec_prefix
="$acl_final_exec_prefix"
10427 exec_prefix
="$acl_save_exec_prefix"
10428 prefix
="$acl_save_prefix"
10430 if test "X$x" = "X-L$additional_libdir"; then
10435 if test -z "$haveit"; then
10436 if test -d "$additional_libdir"; then
10437 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
10444 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
10445 if test "$enable_rpath" != no
; then
10447 for x
in $rpathdirs; do
10448 if test "X$x" = "X$dir"; then
10453 if test -z "$haveit"; then
10454 rpathdirs
="$rpathdirs $dir"
10457 for x
in $ltrpathdirs; do
10458 if test "X$x" = "X$dir"; then
10463 if test -z "$haveit"; then
10464 ltrpathdirs
="$ltrpathdirs $dir"
10469 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10472 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10475 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
10476 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
10482 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
10483 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
10489 if test "X$rpathdirs" != "X"; then
10490 if test -n "$hardcode_libdir_separator"; then
10492 for found_dir
in $rpathdirs; do
10493 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10495 acl_save_libdir
="$libdir"
10497 eval flag
=\"$hardcode_libdir_flag_spec\"
10498 libdir
="$acl_save_libdir"
10499 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10501 for found_dir
in $rpathdirs; do
10502 acl_save_libdir
="$libdir"
10503 libdir
="$found_dir"
10504 eval flag
=\"$hardcode_libdir_flag_spec\"
10505 libdir
="$acl_save_libdir"
10506 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10510 if test "X$ltrpathdirs" != "X"; then
10511 for found_dir
in $ltrpathdirs; do
10512 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
10522 am_save_CPPFLAGS
="$CPPFLAGS"
10524 for element
in $INCICONV; do
10526 for x
in $CPPFLAGS; do
10528 acl_save_prefix
="$prefix"
10529 prefix
="$acl_final_prefix"
10530 acl_save_exec_prefix
="$exec_prefix"
10531 exec_prefix
="$acl_final_exec_prefix"
10533 exec_prefix
="$acl_save_exec_prefix"
10534 prefix
="$acl_save_prefix"
10536 if test "X$x" = "X$element"; then
10541 if test -z "$haveit"; then
10542 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
10547 echo "$as_me:$LINENO: checking for iconv" >&5
10548 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
10549 if test "${am_cv_func_iconv+set}" = set; then
10550 echo $ECHO_N "(cached) $ECHO_C" >&6
10553 am_cv_func_iconv
="no, consider installing GNU libiconv"
10555 if test x
$gcc_no_link = xyes
; then
10556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10558 { (exit 1); exit 1; }; }
10560 cat >conftest.
$ac_ext <<_ACEOF
10563 cat confdefs.h
>>conftest.
$ac_ext
10564 cat >>conftest.
$ac_ext <<_ACEOF
10565 /* end confdefs.h. */
10566 #include <stdlib.h>
10571 iconv_t cd = iconv_open("","");
10572 iconv(cd,NULL,NULL,NULL,NULL);
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"
10588 || test ! -s conftest.err'
10589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10590 (eval $ac_try) 2>&5
10592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10593 (exit $ac_status); }; } &&
10594 { ac_try
='test -s conftest$ac_exeext'
10595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10596 (eval $ac_try) 2>&5
10598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10599 (exit $ac_status); }; }; then
10600 am_cv_func_iconv
=yes
10602 echo "$as_me: failed program was:" >&5
10603 sed 's/^/| /' conftest.
$ac_ext >&5
10606 rm -f conftest.err conftest.
$ac_objext \
10607 conftest
$ac_exeext conftest.
$ac_ext
10608 if test "$am_cv_func_iconv" != yes; then
10609 am_save_LIBS
="$LIBS"
10610 LIBS
="$LIBS $LIBICONV"
10611 if test x
$gcc_no_link = xyes
; then
10612 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10614 { (exit 1); exit 1; }; }
10616 cat >conftest.
$ac_ext <<_ACEOF
10619 cat confdefs.h
>>conftest.
$ac_ext
10620 cat >>conftest.
$ac_ext <<_ACEOF
10621 /* end confdefs.h. */
10622 #include <stdlib.h>
10627 iconv_t cd = iconv_open("","");
10628 iconv(cd,NULL,NULL,NULL,NULL);
10634 rm -f conftest.
$ac_objext conftest
$ac_exeext
10635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10636 (eval $ac_link) 2>conftest.er1
10638 grep -v '^ *+' conftest.er1
>conftest.err
10640 cat conftest.err
>&5
10641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10642 (exit $ac_status); } &&
10643 { ac_try
='test -z "$ac_c_werror_flag"
10644 || test ! -s conftest.err'
10645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10646 (eval $ac_try) 2>&5
10648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10649 (exit $ac_status); }; } &&
10650 { ac_try
='test -s conftest$ac_exeext'
10651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10652 (eval $ac_try) 2>&5
10654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10655 (exit $ac_status); }; }; then
10656 am_cv_lib_iconv
=yes
10657 am_cv_func_iconv
=yes
10659 echo "$as_me: failed program was:" >&5
10660 sed 's/^/| /' conftest.
$ac_ext >&5
10663 rm -f conftest.err conftest.
$ac_objext \
10664 conftest
$ac_exeext conftest.
$ac_ext
10665 LIBS
="$am_save_LIBS"
10669 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
10670 echo "${ECHO_T}$am_cv_func_iconv" >&6
10671 if test "$am_cv_func_iconv" = yes; then
10673 cat >>confdefs.h
<<\_ACEOF
10674 #define HAVE_ICONV 1
10678 if test "$am_cv_lib_iconv" = yes; then
10679 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
10680 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
10681 echo "$as_me:$LINENO: result: $LIBICONV" >&5
10682 echo "${ECHO_T}$LIBICONV" >&6
10684 CPPFLAGS
="$am_save_CPPFLAGS"
10691 if test "$am_cv_func_iconv" = yes; then
10692 echo "$as_me:$LINENO: checking for iconv declaration" >&5
10693 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
10694 if test "${am_cv_proto_iconv+set}" = set; then
10695 echo $ECHO_N "(cached) $ECHO_C" >&6
10698 cat >conftest.
$ac_ext <<_ACEOF
10701 cat confdefs.h
>>conftest.
$ac_ext
10702 cat >>conftest.
$ac_ext <<_ACEOF
10703 /* end confdefs.h. */
10705 #include <stdlib.h>
10711 #if defined(__STDC__) || defined(__cplusplus)
10712 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
10725 rm -f conftest.
$ac_objext
10726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10727 (eval $ac_compile) 2>conftest.er1
10729 grep -v '^ *+' conftest.er1
>conftest.err
10731 cat conftest.err
>&5
10732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10733 (exit $ac_status); } &&
10734 { ac_try
='test -z "$ac_c_werror_flag"
10735 || test ! -s conftest.err'
10736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10737 (eval $ac_try) 2>&5
10739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10740 (exit $ac_status); }; } &&
10741 { ac_try
='test -s conftest.$ac_objext'
10742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10743 (eval $ac_try) 2>&5
10745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10746 (exit $ac_status); }; }; then
10747 am_cv_proto_iconv_arg1
=""
10749 echo "$as_me: failed program was:" >&5
10750 sed 's/^/| /' conftest.
$ac_ext >&5
10752 am_cv_proto_iconv_arg1
="const"
10754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10755 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);"
10758 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
10759 echo "$as_me:$LINENO: result: ${ac_t:-
10760 }$am_cv_proto_iconv" >&5
10761 echo "${ECHO_T}${ac_t:-
10762 }$am_cv_proto_iconv" >&6
10764 cat >>confdefs.h
<<_ACEOF
10765 #define ICONV_CONST $am_cv_proto_iconv_arg1
10771 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
10772 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
10773 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
10774 echo $ECHO_N "(cached) $ECHO_C" >&6
10776 if test x
$gcc_no_link = xyes
; then
10777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10779 { (exit 1); exit 1; }; }
10781 cat >conftest.
$ac_ext <<_ACEOF
10784 cat confdefs.h
>>conftest.
$ac_ext
10785 cat >>conftest.
$ac_ext <<_ACEOF
10786 /* end confdefs.h. */
10787 #include <locale.h>
10796 rm -f conftest.
$ac_objext conftest
$ac_exeext
10797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10798 (eval $ac_link) 2>conftest.er1
10800 grep -v '^ *+' conftest.er1
>conftest.err
10802 cat conftest.err
>&5
10803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10804 (exit $ac_status); } &&
10805 { ac_try
='test -z "$ac_c_werror_flag"
10806 || test ! -s conftest.err'
10807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10808 (eval $ac_try) 2>&5
10810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10811 (exit $ac_status); }; } &&
10812 { ac_try
='test -s conftest$ac_exeext'
10813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10814 (eval $ac_try) 2>&5
10816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10817 (exit $ac_status); }; }; then
10818 am_cv_val_LC_MESSAGES
=yes
10820 echo "$as_me: failed program was:" >&5
10821 sed 's/^/| /' conftest.
$ac_ext >&5
10823 am_cv_val_LC_MESSAGES
=no
10825 rm -f conftest.err conftest.
$ac_objext \
10826 conftest
$ac_exeext conftest.
$ac_ext
10828 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
10829 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
10830 if test $am_cv_val_LC_MESSAGES = yes; then
10832 cat >>confdefs.h
<<\_ACEOF
10833 #define HAVE_LC_MESSAGES 1
10838 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
10839 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
10840 if test "${ac_cv_struct_tm+set}" = set; then
10841 echo $ECHO_N "(cached) $ECHO_C" >&6
10843 cat >conftest.
$ac_ext <<_ACEOF
10846 cat confdefs.h
>>conftest.
$ac_ext
10847 cat >>conftest.
$ac_ext <<_ACEOF
10848 /* end confdefs.h. */
10849 #include <sys/types.h>
10855 struct tm *tp; tp->tm_sec;
10860 rm -f conftest.
$ac_objext
10861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10862 (eval $ac_compile) 2>conftest.er1
10864 grep -v '^ *+' conftest.er1
>conftest.err
10866 cat conftest.err
>&5
10867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10868 (exit $ac_status); } &&
10869 { ac_try
='test -z "$ac_c_werror_flag"
10870 || test ! -s conftest.err'
10871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10872 (eval $ac_try) 2>&5
10874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10875 (exit $ac_status); }; } &&
10876 { ac_try
='test -s conftest.$ac_objext'
10877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10878 (eval $ac_try) 2>&5
10880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10881 (exit $ac_status); }; }; then
10882 ac_cv_struct_tm
=time.h
10884 echo "$as_me: failed program was:" >&5
10885 sed 's/^/| /' conftest.
$ac_ext >&5
10887 ac_cv_struct_tm
=sys
/time.h
10889 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10891 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
10892 echo "${ECHO_T}$ac_cv_struct_tm" >&6
10893 if test $ac_cv_struct_tm = sys
/time.h
; then
10895 cat >>confdefs.h
<<\_ACEOF
10896 #define TM_IN_SYS_TIME 1
10901 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
10902 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
10903 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
10904 echo $ECHO_N "(cached) $ECHO_C" >&6
10906 cat >conftest.
$ac_ext <<_ACEOF
10909 cat confdefs.h
>>conftest.
$ac_ext
10910 cat >>conftest.
$ac_ext <<_ACEOF
10911 /* end confdefs.h. */
10912 #include <sys/types.h>
10913 #include <$ac_cv_struct_tm>
10919 static struct tm ac_aggr;
10920 if (ac_aggr.tm_zone)
10926 rm -f conftest.
$ac_objext
10927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10928 (eval $ac_compile) 2>conftest.er1
10930 grep -v '^ *+' conftest.er1
>conftest.err
10932 cat conftest.err
>&5
10933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10934 (exit $ac_status); } &&
10935 { ac_try
='test -z "$ac_c_werror_flag"
10936 || test ! -s conftest.err'
10937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10938 (eval $ac_try) 2>&5
10940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10941 (exit $ac_status); }; } &&
10942 { ac_try
='test -s conftest.$ac_objext'
10943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10944 (eval $ac_try) 2>&5
10946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10947 (exit $ac_status); }; }; then
10948 ac_cv_member_struct_tm_tm_zone
=yes
10950 echo "$as_me: failed program was:" >&5
10951 sed 's/^/| /' conftest.
$ac_ext >&5
10953 cat >conftest.
$ac_ext <<_ACEOF
10956 cat confdefs.h
>>conftest.
$ac_ext
10957 cat >>conftest.
$ac_ext <<_ACEOF
10958 /* end confdefs.h. */
10959 #include <sys/types.h>
10960 #include <$ac_cv_struct_tm>
10966 static struct tm ac_aggr;
10967 if (sizeof ac_aggr.tm_zone)
10973 rm -f conftest.
$ac_objext
10974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10975 (eval $ac_compile) 2>conftest.er1
10977 grep -v '^ *+' conftest.er1
>conftest.err
10979 cat conftest.err
>&5
10980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10981 (exit $ac_status); } &&
10982 { ac_try
='test -z "$ac_c_werror_flag"
10983 || test ! -s conftest.err'
10984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10985 (eval $ac_try) 2>&5
10987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10988 (exit $ac_status); }; } &&
10989 { ac_try
='test -s conftest.$ac_objext'
10990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10991 (eval $ac_try) 2>&5
10993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10994 (exit $ac_status); }; }; then
10995 ac_cv_member_struct_tm_tm_zone
=yes
10997 echo "$as_me: failed program was:" >&5
10998 sed 's/^/| /' conftest.
$ac_ext >&5
11000 ac_cv_member_struct_tm_tm_zone
=no
11002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11006 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
11007 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
11008 if test $ac_cv_member_struct_tm_tm_zone = yes; then
11010 cat >>confdefs.h
<<_ACEOF
11011 #define HAVE_STRUCT_TM_TM_ZONE 1
11017 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
11019 cat >>confdefs.h
<<\_ACEOF
11020 #define HAVE_TM_ZONE 1
11024 echo "$as_me:$LINENO: checking for tzname" >&5
11025 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
11026 if test "${ac_cv_var_tzname+set}" = set; then
11027 echo $ECHO_N "(cached) $ECHO_C" >&6
11029 if test x
$gcc_no_link = xyes
; then
11030 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11032 { (exit 1); exit 1; }; }
11034 cat >conftest.
$ac_ext <<_ACEOF
11037 cat confdefs.h
>>conftest.
$ac_ext
11038 cat >>conftest.
$ac_ext <<_ACEOF
11039 /* end confdefs.h. */
11041 #ifndef tzname /* For SGI. */
11042 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
11053 rm -f conftest.
$ac_objext conftest
$ac_exeext
11054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11055 (eval $ac_link) 2>conftest.er1
11057 grep -v '^ *+' conftest.er1
>conftest.err
11059 cat conftest.err
>&5
11060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11061 (exit $ac_status); } &&
11062 { ac_try
='test -z "$ac_c_werror_flag"
11063 || test ! -s conftest.err'
11064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11065 (eval $ac_try) 2>&5
11067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068 (exit $ac_status); }; } &&
11069 { ac_try
='test -s conftest$ac_exeext'
11070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11071 (eval $ac_try) 2>&5
11073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074 (exit $ac_status); }; }; then
11075 ac_cv_var_tzname
=yes
11077 echo "$as_me: failed program was:" >&5
11078 sed 's/^/| /' conftest.
$ac_ext >&5
11080 ac_cv_var_tzname
=no
11082 rm -f conftest.err conftest.
$ac_objext \
11083 conftest
$ac_exeext conftest.
$ac_ext
11085 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
11086 echo "${ECHO_T}$ac_cv_var_tzname" >&6
11087 if test $ac_cv_var_tzname = yes; then
11089 cat >>confdefs.h
<<\_ACEOF
11090 #define HAVE_TZNAME 1
11099 for ac_func
in gethostbyname_r
11101 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11102 echo "$as_me:$LINENO: checking for $ac_func" >&5
11103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11104 if eval "test \"\${$as_ac_var+set}\" = set"; then
11105 echo $ECHO_N "(cached) $ECHO_C" >&6
11107 if test x
$gcc_no_link = xyes
; then
11108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11110 { (exit 1); exit 1; }; }
11112 cat >conftest.
$ac_ext <<_ACEOF
11115 cat confdefs.h
>>conftest.
$ac_ext
11116 cat >>conftest.
$ac_ext <<_ACEOF
11117 /* end confdefs.h. */
11118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11120 #define $ac_func innocuous_$ac_func
11122 /* System header to define __stub macros and hopefully few prototypes,
11123 which can conflict with char $ac_func (); below.
11124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11125 <limits.h> exists even on freestanding compilers. */
11128 # include <limits.h>
11130 # include <assert.h>
11135 /* Override any gcc2 internal prototype to avoid an error. */
11140 /* We use char because int might match the return type of a gcc2
11141 builtin and then its argument prototype would still apply. */
11143 /* The GNU C library defines this for functions which it implements
11144 to always fail with ENOSYS. Some functions are actually named
11145 something starting with __ and the normal name is an alias. */
11146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11149 char (*f) () = $ac_func;
11158 return f != $ac_func;
11163 rm -f conftest.
$ac_objext conftest
$ac_exeext
11164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11165 (eval $ac_link) 2>conftest.er1
11167 grep -v '^ *+' conftest.er1
>conftest.err
11169 cat conftest.err
>&5
11170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11171 (exit $ac_status); } &&
11172 { ac_try
='test -z "$ac_c_werror_flag"
11173 || test ! -s conftest.err'
11174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11175 (eval $ac_try) 2>&5
11177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11178 (exit $ac_status); }; } &&
11179 { ac_try
='test -s conftest$ac_exeext'
11180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11181 (eval $ac_try) 2>&5
11183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11184 (exit $ac_status); }; }; then
11185 eval "$as_ac_var=yes"
11187 echo "$as_me: failed program was:" >&5
11188 sed 's/^/| /' conftest.
$ac_ext >&5
11190 eval "$as_ac_var=no"
11192 rm -f conftest.err conftest.
$ac_objext \
11193 conftest
$ac_exeext conftest.
$ac_ext
11195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11197 if test `eval echo '${'$as_ac_var'}'` = yes; then
11198 cat >>confdefs.h
<<_ACEOF
11199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11203 cat >>confdefs.h
<<\_ACEOF
11204 #define HAVE_GETHOSTBYNAME_R 1
11207 # There are two different kinds of gethostbyname_r.
11208 # We look for the one that returns `int'.
11209 # Hopefully this check is robust enough.
11210 cat >conftest.
$ac_ext <<_ACEOF
11213 cat confdefs.h
>>conftest.
$ac_ext
11214 cat >>conftest.
$ac_ext <<_ACEOF
11215 /* end confdefs.h. */
11219 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11220 $EGREP "int.*gethostbyname_r" >/dev
/null
2>&1; then
11223 cat >>confdefs.h
<<\_ACEOF
11224 #define GETHOSTBYNAME_R_RETURNS_INT 1
11231 case " $GCINCS " in
11232 *" -D_REENTRANT "*) ;;
11234 echo "$as_me:$LINENO: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5
11235 echo $ECHO_N "checking whether gethostbyname_r declaration requires -D_REENTRANT... $ECHO_C" >&6
11236 if test "${libjava_cv_gethostbyname_r_needs_reentrant+set}" = set; then
11237 echo $ECHO_N "(cached) $ECHO_C" >&6
11240 ac_cpp
='$CXXCPP $CPPFLAGS'
11241 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11242 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11243 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11245 cat >conftest.
$ac_ext <<_ACEOF
11248 cat confdefs.h
>>conftest.
$ac_ext
11249 cat >>conftest.
$ac_ext <<_ACEOF
11250 /* end confdefs.h. */
11255 gethostbyname_r("", 0, 0);
11260 rm -f conftest.
$ac_objext
11261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11262 (eval $ac_compile) 2>conftest.er1
11264 grep -v '^ *+' conftest.er1
>conftest.err
11266 cat conftest.err
>&5
11267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11268 (exit $ac_status); } &&
11269 { ac_try
='test -z "$ac_cxx_werror_flag"
11270 || test ! -s conftest.err'
11271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11272 (eval $ac_try) 2>&5
11274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11275 (exit $ac_status); }; } &&
11276 { ac_try
='test -s conftest.$ac_objext'
11277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11278 (eval $ac_try) 2>&5
11280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11281 (exit $ac_status); }; }; then
11282 libjava_cv_gethostbyname_r_needs_reentrant
=no
11284 echo "$as_me: failed program was:" >&5
11285 sed 's/^/| /' conftest.
$ac_ext >&5
11287 CPPFLAGS_SAVE
="$CPPFLAGS"
11288 CPPFLAGS
="$CPPFLAGS -D_REENTRANT"
11289 cat >conftest.
$ac_ext <<_ACEOF
11292 cat confdefs.h
>>conftest.
$ac_ext
11293 cat >>conftest.
$ac_ext <<_ACEOF
11294 /* end confdefs.h. */
11299 gethostbyname_r("", 0, 0);
11304 rm -f conftest.
$ac_objext
11305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11306 (eval $ac_compile) 2>conftest.er1
11308 grep -v '^ *+' conftest.er1
>conftest.err
11310 cat conftest.err
>&5
11311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11312 (exit $ac_status); } &&
11313 { ac_try
='test -z "$ac_cxx_werror_flag"
11314 || test ! -s conftest.err'
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); }; } &&
11320 { ac_try
='test -s conftest.$ac_objext'
11321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11322 (eval $ac_try) 2>&5
11324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11325 (exit $ac_status); }; }; then
11326 libjava_cv_gethostbyname_r_needs_reentrant
=yes
11328 echo "$as_me: failed program was:" >&5
11329 sed 's/^/| /' conftest.
$ac_ext >&5
11331 libjava_cv_gethostbyname_r_needs_reentrant
=fail
11333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11334 CPPFLAGS
="$CPPFLAGS_SAVE"
11337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11339 ac_cpp
='$CPP $CPPFLAGS'
11340 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11341 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11342 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11346 echo "$as_me:$LINENO: result: $libjava_cv_gethostbyname_r_needs_reentrant" >&5
11347 echo "${ECHO_T}$libjava_cv_gethostbyname_r_needs_reentrant" >&6
11348 if test "x$libjava_cv_gethostbyname_r_needs_reentrant" = xyes
; then
11350 cat >>confdefs.h
<<\_ACEOF
11351 #define _REENTRANT 1
11358 echo "$as_me:$LINENO: checking for struct hostent_data" >&5
11359 echo $ECHO_N "checking for struct hostent_data... $ECHO_C" >&6
11360 if test "${libjava_cv_struct_hostent_data+set}" = set; then
11361 echo $ECHO_N "(cached) $ECHO_C" >&6
11363 cat >conftest.
$ac_ext <<_ACEOF
11366 cat confdefs.h
>>conftest.
$ac_ext
11367 cat >>conftest.
$ac_ext <<_ACEOF
11368 /* end confdefs.h. */
11370 #if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
11371 # define _REENTRANT 1
11377 struct hostent_data data;
11382 rm -f conftest.
$ac_objext
11383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11384 (eval $ac_compile) 2>conftest.er1
11386 grep -v '^ *+' conftest.er1
>conftest.err
11388 cat conftest.err
>&5
11389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11390 (exit $ac_status); } &&
11391 { ac_try
='test -z "$ac_c_werror_flag"
11392 || test ! -s conftest.err'
11393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11394 (eval $ac_try) 2>&5
11396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11397 (exit $ac_status); }; } &&
11398 { ac_try
='test -s conftest.$ac_objext'
11399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11400 (eval $ac_try) 2>&5
11402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11403 (exit $ac_status); }; }; then
11404 libjava_cv_struct_hostent_data
=yes
11406 echo "$as_me: failed program was:" >&5
11407 sed 's/^/| /' conftest.
$ac_ext >&5
11409 libjava_cv_struct_hostent_data
=no
11411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11413 echo "$as_me:$LINENO: result: $libjava_cv_struct_hostent_data" >&5
11414 echo "${ECHO_T}$libjava_cv_struct_hostent_data" >&6
11415 if test "x$libjava_cv_struct_hostent_data" = xyes
; then
11417 cat >>confdefs.h
<<\_ACEOF
11418 #define HAVE_STRUCT_HOSTENT_DATA 1
11427 # FIXME: libjava source code expects to find a prototype for
11428 # gethostbyaddr_r in netdb.h. The outer check ensures that
11429 # HAVE_GETHOSTBYADDR_R will not be defined if the prototype fails
11430 # to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
11431 # linkage check is enough, yet C++ code requires proper prototypes.)
11432 cat >conftest.
$ac_ext <<_ACEOF
11435 cat confdefs.h
>>conftest.
$ac_ext
11436 cat >>conftest.
$ac_ext <<_ACEOF
11437 /* end confdefs.h. */
11441 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11442 $EGREP "gethostbyaddr_r" >/dev
/null
2>&1; then
11445 for ac_func
in gethostbyaddr_r
11447 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11448 echo "$as_me:$LINENO: checking for $ac_func" >&5
11449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11450 if eval "test \"\${$as_ac_var+set}\" = set"; then
11451 echo $ECHO_N "(cached) $ECHO_C" >&6
11453 if test x
$gcc_no_link = xyes
; then
11454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11456 { (exit 1); exit 1; }; }
11458 cat >conftest.
$ac_ext <<_ACEOF
11461 cat confdefs.h
>>conftest.
$ac_ext
11462 cat >>conftest.
$ac_ext <<_ACEOF
11463 /* end confdefs.h. */
11464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11466 #define $ac_func innocuous_$ac_func
11468 /* System header to define __stub macros and hopefully few prototypes,
11469 which can conflict with char $ac_func (); below.
11470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11471 <limits.h> exists even on freestanding compilers. */
11474 # include <limits.h>
11476 # include <assert.h>
11481 /* Override any gcc2 internal prototype to avoid an error. */
11486 /* We use char because int might match the return type of a gcc2
11487 builtin and then its argument prototype would still apply. */
11489 /* The GNU C library defines this for functions which it implements
11490 to always fail with ENOSYS. Some functions are actually named
11491 something starting with __ and the normal name is an alias. */
11492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11495 char (*f) () = $ac_func;
11504 return f != $ac_func;
11509 rm -f conftest.
$ac_objext conftest
$ac_exeext
11510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11511 (eval $ac_link) 2>conftest.er1
11513 grep -v '^ *+' conftest.er1
>conftest.err
11515 cat conftest.err
>&5
11516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11517 (exit $ac_status); } &&
11518 { ac_try
='test -z "$ac_c_werror_flag"
11519 || test ! -s conftest.err'
11520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11521 (eval $ac_try) 2>&5
11523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 (exit $ac_status); }; } &&
11525 { ac_try
='test -s conftest$ac_exeext'
11526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11527 (eval $ac_try) 2>&5
11529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530 (exit $ac_status); }; }; then
11531 eval "$as_ac_var=yes"
11533 echo "$as_me: failed program was:" >&5
11534 sed 's/^/| /' conftest.
$ac_ext >&5
11536 eval "$as_ac_var=no"
11538 rm -f conftest.err conftest.
$ac_objext \
11539 conftest
$ac_exeext conftest.
$ac_ext
11541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11543 if test `eval echo '${'$as_ac_var'}'` = yes; then
11544 cat >>confdefs.h
<<_ACEOF
11545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11549 cat >>confdefs.h
<<\_ACEOF
11550 #define HAVE_GETHOSTBYADDR_R 1
11553 # There are two different kinds of gethostbyaddr_r.
11554 # We look for the one that returns `int'.
11555 # Hopefully this check is robust enough.
11556 cat >conftest.
$ac_ext <<_ACEOF
11559 cat confdefs.h
>>conftest.
$ac_ext
11560 cat >>conftest.
$ac_ext <<_ACEOF
11561 /* end confdefs.h. */
11565 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11566 $EGREP "int.*gethostbyaddr_r" >/dev
/null
2>&1; then
11569 cat >>confdefs.h
<<\_ACEOF
11570 #define GETHOSTBYADDR_R_RETURNS_INT 1
11584 for ac_func
in gethostname
11586 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11587 echo "$as_me:$LINENO: checking for $ac_func" >&5
11588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11589 if eval "test \"\${$as_ac_var+set}\" = set"; then
11590 echo $ECHO_N "(cached) $ECHO_C" >&6
11592 if test x
$gcc_no_link = xyes
; then
11593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11595 { (exit 1); exit 1; }; }
11597 cat >conftest.
$ac_ext <<_ACEOF
11600 cat confdefs.h
>>conftest.
$ac_ext
11601 cat >>conftest.
$ac_ext <<_ACEOF
11602 /* end confdefs.h. */
11603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11605 #define $ac_func innocuous_$ac_func
11607 /* System header to define __stub macros and hopefully few prototypes,
11608 which can conflict with char $ac_func (); below.
11609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11610 <limits.h> exists even on freestanding compilers. */
11613 # include <limits.h>
11615 # include <assert.h>
11620 /* Override any gcc2 internal prototype to avoid an error. */
11625 /* We use char because int might match the return type of a gcc2
11626 builtin and then its argument prototype would still apply. */
11628 /* The GNU C library defines this for functions which it implements
11629 to always fail with ENOSYS. Some functions are actually named
11630 something starting with __ and the normal name is an alias. */
11631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11634 char (*f) () = $ac_func;
11643 return f != $ac_func;
11648 rm -f conftest.
$ac_objext conftest
$ac_exeext
11649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11650 (eval $ac_link) 2>conftest.er1
11652 grep -v '^ *+' conftest.er1
>conftest.err
11654 cat conftest.err
>&5
11655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11656 (exit $ac_status); } &&
11657 { ac_try
='test -z "$ac_c_werror_flag"
11658 || test ! -s conftest.err'
11659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11660 (eval $ac_try) 2>&5
11662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11663 (exit $ac_status); }; } &&
11664 { ac_try
='test -s conftest$ac_exeext'
11665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11666 (eval $ac_try) 2>&5
11668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11669 (exit $ac_status); }; }; then
11670 eval "$as_ac_var=yes"
11672 echo "$as_me: failed program was:" >&5
11673 sed 's/^/| /' conftest.
$ac_ext >&5
11675 eval "$as_ac_var=no"
11677 rm -f conftest.err conftest.
$ac_objext \
11678 conftest
$ac_exeext conftest.
$ac_ext
11680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11682 if test `eval echo '${'$as_ac_var'}'` = yes; then
11683 cat >>confdefs.h
<<_ACEOF
11684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11688 cat >>confdefs.h
<<\_ACEOF
11689 #define HAVE_GETHOSTNAME 1
11692 cat >conftest.
$ac_ext <<_ACEOF
11695 cat confdefs.h
>>conftest.
$ac_ext
11696 cat >>conftest.
$ac_ext <<_ACEOF
11697 /* end confdefs.h. */
11698 #include <unistd.h>
11701 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11702 $EGREP "gethostname" >/dev
/null
2>&1; then
11705 cat >>confdefs.h
<<\_ACEOF
11706 #define HAVE_GETHOSTNAME_DECL 1
11717 for ac_func
in usleep
11719 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11720 echo "$as_me:$LINENO: checking for $ac_func" >&5
11721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11722 if eval "test \"\${$as_ac_var+set}\" = set"; then
11723 echo $ECHO_N "(cached) $ECHO_C" >&6
11725 if test x
$gcc_no_link = xyes
; then
11726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11728 { (exit 1); exit 1; }; }
11730 cat >conftest.
$ac_ext <<_ACEOF
11733 cat confdefs.h
>>conftest.
$ac_ext
11734 cat >>conftest.
$ac_ext <<_ACEOF
11735 /* end confdefs.h. */
11736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11738 #define $ac_func innocuous_$ac_func
11740 /* System header to define __stub macros and hopefully few prototypes,
11741 which can conflict with char $ac_func (); below.
11742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11743 <limits.h> exists even on freestanding compilers. */
11746 # include <limits.h>
11748 # include <assert.h>
11753 /* Override any gcc2 internal prototype to avoid an error. */
11758 /* We use char because int might match the return type of a gcc2
11759 builtin and then its argument prototype would still apply. */
11761 /* The GNU C library defines this for functions which it implements
11762 to always fail with ENOSYS. Some functions are actually named
11763 something starting with __ and the normal name is an alias. */
11764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11767 char (*f) () = $ac_func;
11776 return f != $ac_func;
11781 rm -f conftest.
$ac_objext conftest
$ac_exeext
11782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11783 (eval $ac_link) 2>conftest.er1
11785 grep -v '^ *+' conftest.er1
>conftest.err
11787 cat conftest.err
>&5
11788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11789 (exit $ac_status); } &&
11790 { ac_try
='test -z "$ac_c_werror_flag"
11791 || test ! -s conftest.err'
11792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11793 (eval $ac_try) 2>&5
11795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11796 (exit $ac_status); }; } &&
11797 { ac_try
='test -s conftest$ac_exeext'
11798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11799 (eval $ac_try) 2>&5
11801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11802 (exit $ac_status); }; }; then
11803 eval "$as_ac_var=yes"
11805 echo "$as_me: failed program was:" >&5
11806 sed 's/^/| /' conftest.
$ac_ext >&5
11808 eval "$as_ac_var=no"
11810 rm -f conftest.err conftest.
$ac_objext \
11811 conftest
$ac_exeext conftest.
$ac_ext
11813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11815 if test `eval echo '${'$as_ac_var'}'` = yes; then
11816 cat >>confdefs.h
<<_ACEOF
11817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11820 cat >conftest.
$ac_ext <<_ACEOF
11823 cat confdefs.h
>>conftest.
$ac_ext
11824 cat >>conftest.
$ac_ext <<_ACEOF
11825 /* end confdefs.h. */
11826 #include <unistd.h>
11829 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11830 $EGREP "usleep" >/dev
/null
2>&1; then
11833 cat >>confdefs.h
<<\_ACEOF
11834 #define HAVE_USLEEP_DECL 1
11844 # Look for these functions in the thread library, but only bother
11845 # if using POSIX threads.
11846 if test "$THREADS" = posix
; then
11848 LIBS
="$LIBS $THREADLIBS"
11849 # Some POSIX thread systems don't have pthread_mutexattr_settype.
11853 for ac_func
in pthread_mutexattr_settype pthread_mutexattr_setkind_np
11855 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11856 echo "$as_me:$LINENO: checking for $ac_func" >&5
11857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11858 if eval "test \"\${$as_ac_var+set}\" = set"; then
11859 echo $ECHO_N "(cached) $ECHO_C" >&6
11861 if test x
$gcc_no_link = xyes
; then
11862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11864 { (exit 1); exit 1; }; }
11866 cat >conftest.
$ac_ext <<_ACEOF
11869 cat confdefs.h
>>conftest.
$ac_ext
11870 cat >>conftest.
$ac_ext <<_ACEOF
11871 /* end confdefs.h. */
11872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11874 #define $ac_func innocuous_$ac_func
11876 /* System header to define __stub macros and hopefully few prototypes,
11877 which can conflict with char $ac_func (); below.
11878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11879 <limits.h> exists even on freestanding compilers. */
11882 # include <limits.h>
11884 # include <assert.h>
11889 /* Override any gcc2 internal prototype to avoid an error. */
11894 /* We use char because int might match the return type of a gcc2
11895 builtin and then its argument prototype would still apply. */
11897 /* The GNU C library defines this for functions which it implements
11898 to always fail with ENOSYS. Some functions are actually named
11899 something starting with __ and the normal name is an alias. */
11900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11903 char (*f) () = $ac_func;
11912 return f != $ac_func;
11917 rm -f conftest.
$ac_objext conftest
$ac_exeext
11918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11919 (eval $ac_link) 2>conftest.er1
11921 grep -v '^ *+' conftest.er1
>conftest.err
11923 cat conftest.err
>&5
11924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11925 (exit $ac_status); } &&
11926 { ac_try
='test -z "$ac_c_werror_flag"
11927 || 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
11960 # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since
11961 # Solaris 7 the name librt is preferred.
11963 for ac_func
in sched_yield
11965 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11966 echo "$as_me:$LINENO: checking for $ac_func" >&5
11967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11968 if eval "test \"\${$as_ac_var+set}\" = set"; then
11969 echo $ECHO_N "(cached) $ECHO_C" >&6
11971 if test x
$gcc_no_link = xyes
; then
11972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11974 { (exit 1); exit 1; }; }
11976 cat >conftest.
$ac_ext <<_ACEOF
11979 cat confdefs.h
>>conftest.
$ac_ext
11980 cat >>conftest.
$ac_ext <<_ACEOF
11981 /* end confdefs.h. */
11982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11984 #define $ac_func innocuous_$ac_func
11986 /* System header to define __stub macros and hopefully few prototypes,
11987 which can conflict with char $ac_func (); below.
11988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11989 <limits.h> exists even on freestanding compilers. */
11992 # include <limits.h>
11994 # include <assert.h>
11999 /* Override any gcc2 internal prototype to avoid an error. */
12004 /* We use char because int might match the return type of a gcc2
12005 builtin and then its argument prototype would still apply. */
12007 /* The GNU C library defines this for functions which it implements
12008 to always fail with ENOSYS. Some functions are actually named
12009 something starting with __ and the normal name is an alias. */
12010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12013 char (*f) () = $ac_func;
12022 return f != $ac_func;
12027 rm -f conftest.
$ac_objext conftest
$ac_exeext
12028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12029 (eval $ac_link) 2>conftest.er1
12031 grep -v '^ *+' conftest.er1
>conftest.err
12033 cat conftest.err
>&5
12034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12035 (exit $ac_status); } &&
12036 { ac_try
='test -z "$ac_c_werror_flag"
12037 || test ! -s conftest.err'
12038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12039 (eval $ac_try) 2>&5
12041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12042 (exit $ac_status); }; } &&
12043 { ac_try
='test -s conftest$ac_exeext'
12044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12045 (eval $ac_try) 2>&5
12047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12048 (exit $ac_status); }; }; then
12049 eval "$as_ac_var=yes"
12051 echo "$as_me: failed program was:" >&5
12052 sed 's/^/| /' conftest.
$ac_ext >&5
12054 eval "$as_ac_var=no"
12056 rm -f conftest.err conftest.
$ac_objext \
12057 conftest
$ac_exeext conftest.
$ac_ext
12059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12061 if test `eval echo '${'$as_ac_var'}'` = yes; then
12062 cat >>confdefs.h
<<_ACEOF
12063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12068 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
12069 echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
12070 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
12071 echo $ECHO_N "(cached) $ECHO_C" >&6
12073 ac_check_lib_save_LIBS
=$LIBS
12075 if test x
$gcc_no_link = xyes
; then
12076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12078 { (exit 1); exit 1; }; }
12080 cat >conftest.
$ac_ext <<_ACEOF
12083 cat confdefs.h
>>conftest.
$ac_ext
12084 cat >>conftest.
$ac_ext <<_ACEOF
12085 /* end confdefs.h. */
12087 /* Override any gcc2 internal prototype to avoid an error. */
12091 /* We use char because int might match the return type of a gcc2
12092 builtin and then its argument prototype would still apply. */
12093 char sched_yield ();
12102 rm -f conftest.
$ac_objext conftest
$ac_exeext
12103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12104 (eval $ac_link) 2>conftest.er1
12106 grep -v '^ *+' conftest.er1
>conftest.err
12108 cat conftest.err
>&5
12109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12110 (exit $ac_status); } &&
12111 { ac_try
='test -z "$ac_c_werror_flag"
12112 || test ! -s conftest.err'
12113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12114 (eval $ac_try) 2>&5
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); }; } &&
12118 { ac_try
='test -s conftest$ac_exeext'
12119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12120 (eval $ac_try) 2>&5
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); }; }; then
12124 ac_cv_lib_rt_sched_yield
=yes
12126 echo "$as_me: failed program was:" >&5
12127 sed 's/^/| /' conftest.
$ac_ext >&5
12129 ac_cv_lib_rt_sched_yield
=no
12131 rm -f conftest.err conftest.
$ac_objext \
12132 conftest
$ac_exeext conftest.
$ac_ext
12133 LIBS
=$ac_check_lib_save_LIBS
12135 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
12136 echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
12137 if test $ac_cv_lib_rt_sched_yield = yes; then
12139 cat >>confdefs.h
<<\_ACEOF
12140 #define HAVE_SCHED_YIELD 1
12143 THREADLIBS
="$THREADLIBS -lrt"
12144 THREADSPEC
="$THREADSPEC -lrt"
12147 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
12148 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
12149 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
12150 echo $ECHO_N "(cached) $ECHO_C" >&6
12152 ac_check_lib_save_LIBS
=$LIBS
12153 LIBS
="-lposix4 $LIBS"
12154 if test x
$gcc_no_link = xyes
; then
12155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12157 { (exit 1); exit 1; }; }
12159 cat >conftest.
$ac_ext <<_ACEOF
12162 cat confdefs.h
>>conftest.
$ac_ext
12163 cat >>conftest.
$ac_ext <<_ACEOF
12164 /* end confdefs.h. */
12166 /* Override any gcc2 internal prototype to avoid an error. */
12170 /* We use char because int might match the return type of a gcc2
12171 builtin and then its argument prototype would still apply. */
12172 char sched_yield ();
12181 rm -f conftest.
$ac_objext conftest
$ac_exeext
12182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12183 (eval $ac_link) 2>conftest.er1
12185 grep -v '^ *+' conftest.er1
>conftest.err
12187 cat conftest.err
>&5
12188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12189 (exit $ac_status); } &&
12190 { ac_try
='test -z "$ac_c_werror_flag"
12191 || test ! -s conftest.err'
12192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12193 (eval $ac_try) 2>&5
12195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12196 (exit $ac_status); }; } &&
12197 { ac_try
='test -s conftest$ac_exeext'
12198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12199 (eval $ac_try) 2>&5
12201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12202 (exit $ac_status); }; }; then
12203 ac_cv_lib_posix4_sched_yield
=yes
12205 echo "$as_me: failed program was:" >&5
12206 sed 's/^/| /' conftest.
$ac_ext >&5
12208 ac_cv_lib_posix4_sched_yield
=no
12210 rm -f conftest.err conftest.
$ac_objext \
12211 conftest
$ac_exeext conftest.
$ac_ext
12212 LIBS
=$ac_check_lib_save_LIBS
12214 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
12215 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
12216 if test $ac_cv_lib_posix4_sched_yield = yes; then
12218 cat >>confdefs.h
<<\_ACEOF
12219 #define HAVE_SCHED_YIELD 1
12222 THREADLIBS
="$THREADLIBS -lposix4"
12223 THREADSPEC
="$THREADSPEC -lposix4"
12233 # We can save a little space at runtime if the mutex has m_count
12234 # or __m_count. This is a nice hack for Linux.
12235 cat >conftest.
$ac_ext <<_ACEOF
12238 cat confdefs.h
>>conftest.
$ac_ext
12239 cat >>conftest.
$ac_ext <<_ACEOF
12240 /* end confdefs.h. */
12241 #include <pthread.h>
12246 extern pthread_mutex_t *mutex; int q = mutex->m_count;
12252 rm -f conftest.
$ac_objext
12253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12254 (eval $ac_compile) 2>conftest.er1
12256 grep -v '^ *+' conftest.er1
>conftest.err
12258 cat conftest.err
>&5
12259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12260 (exit $ac_status); } &&
12261 { ac_try
='test -z "$ac_c_werror_flag"
12262 || test ! -s conftest.err'
12263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12264 (eval $ac_try) 2>&5
12266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12267 (exit $ac_status); }; } &&
12268 { ac_try
='test -s conftest.$ac_objext'
12269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12270 (eval $ac_try) 2>&5
12272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12273 (exit $ac_status); }; }; then
12275 cat >>confdefs.h
<<\_ACEOF
12276 #define PTHREAD_MUTEX_HAVE_M_COUNT 1
12280 echo "$as_me: failed program was:" >&5
12281 sed 's/^/| /' conftest.
$ac_ext >&5
12284 cat >conftest.
$ac_ext <<_ACEOF
12287 cat confdefs.h
>>conftest.
$ac_ext
12288 cat >>conftest.
$ac_ext <<_ACEOF
12289 /* end confdefs.h. */
12290 #include <pthread.h>
12295 extern pthread_mutex_t *mutex; int q = mutex->__m_count;
12301 rm -f conftest.
$ac_objext
12302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12303 (eval $ac_compile) 2>conftest.er1
12305 grep -v '^ *+' conftest.er1
>conftest.err
12307 cat conftest.err
>&5
12308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12309 (exit $ac_status); } &&
12310 { ac_try
='test -z "$ac_c_werror_flag"
12311 || test ! -s conftest.err'
12312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12313 (eval $ac_try) 2>&5
12315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316 (exit $ac_status); }; } &&
12317 { ac_try
='test -s conftest.$ac_objext'
12318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12319 (eval $ac_try) 2>&5
12321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12322 (exit $ac_status); }; }; then
12324 cat >>confdefs.h
<<\_ACEOF
12325 #define PTHREAD_MUTEX_HAVE___M_COUNT 1
12329 echo "$as_me: failed program was:" >&5
12330 sed 's/^/| /' conftest.
$ac_ext >&5
12333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12335 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12338 # We require a way to get the time.
12343 for ac_func
in gettimeofday
time ftime
12345 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12346 echo "$as_me:$LINENO: checking for $ac_func" >&5
12347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12348 if eval "test \"\${$as_ac_var+set}\" = set"; then
12349 echo $ECHO_N "(cached) $ECHO_C" >&6
12351 if test x
$gcc_no_link = xyes
; then
12352 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12354 { (exit 1); exit 1; }; }
12356 cat >conftest.
$ac_ext <<_ACEOF
12359 cat confdefs.h
>>conftest.
$ac_ext
12360 cat >>conftest.
$ac_ext <<_ACEOF
12361 /* end confdefs.h. */
12362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12364 #define $ac_func innocuous_$ac_func
12366 /* System header to define __stub macros and hopefully few prototypes,
12367 which can conflict with char $ac_func (); below.
12368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12369 <limits.h> exists even on freestanding compilers. */
12372 # include <limits.h>
12374 # include <assert.h>
12379 /* Override any gcc2 internal prototype to avoid an error. */
12384 /* We use char because int might match the return type of a gcc2
12385 builtin and then its argument prototype would still apply. */
12387 /* The GNU C library defines this for functions which it implements
12388 to always fail with ENOSYS. Some functions are actually named
12389 something starting with __ and the normal name is an alias. */
12390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12393 char (*f) () = $ac_func;
12402 return f != $ac_func;
12407 rm -f conftest.
$ac_objext conftest
$ac_exeext
12408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12409 (eval $ac_link) 2>conftest.er1
12411 grep -v '^ *+' conftest.er1
>conftest.err
12413 cat conftest.err
>&5
12414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415 (exit $ac_status); } &&
12416 { ac_try
='test -z "$ac_c_werror_flag"
12417 || test ! -s conftest.err'
12418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12419 (eval $ac_try) 2>&5
12421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12422 (exit $ac_status); }; } &&
12423 { ac_try
='test -s conftest$ac_exeext'
12424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12425 (eval $ac_try) 2>&5
12427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12428 (exit $ac_status); }; }; then
12429 eval "$as_ac_var=yes"
12431 echo "$as_me: failed program was:" >&5
12432 sed 's/^/| /' conftest.
$ac_ext >&5
12434 eval "$as_ac_var=no"
12436 rm -f conftest.err conftest.
$ac_objext \
12437 conftest
$ac_exeext conftest.
$ac_ext
12439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12441 if test `eval echo '${'$as_ac_var'}'` = yes; then
12442 cat >>confdefs.h
<<_ACEOF
12443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12449 if test "$time_found" = no
; then
12450 { { echo "$as_me:$LINENO: error: no function found to get the time" >&5
12451 echo "$as_me: error: no function found to get the time" >&2;}
12452 { (exit 1); exit 1; }; }
12456 for ac_func
in memmove
12458 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12459 echo "$as_me:$LINENO: checking for $ac_func" >&5
12460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12461 if eval "test \"\${$as_ac_var+set}\" = set"; then
12462 echo $ECHO_N "(cached) $ECHO_C" >&6
12464 if test x
$gcc_no_link = xyes
; then
12465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12467 { (exit 1); exit 1; }; }
12469 cat >conftest.
$ac_ext <<_ACEOF
12472 cat confdefs.h
>>conftest.
$ac_ext
12473 cat >>conftest.
$ac_ext <<_ACEOF
12474 /* end confdefs.h. */
12475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12477 #define $ac_func innocuous_$ac_func
12479 /* System header to define __stub macros and hopefully few prototypes,
12480 which can conflict with char $ac_func (); below.
12481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12482 <limits.h> exists even on freestanding compilers. */
12485 # include <limits.h>
12487 # include <assert.h>
12492 /* Override any gcc2 internal prototype to avoid an error. */
12497 /* We use char because int might match the return type of a gcc2
12498 builtin and then its argument prototype would still apply. */
12500 /* The GNU C library defines this for functions which it implements
12501 to always fail with ENOSYS. Some functions are actually named
12502 something starting with __ and the normal name is an alias. */
12503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12506 char (*f) () = $ac_func;
12515 return f != $ac_func;
12520 rm -f conftest.
$ac_objext conftest
$ac_exeext
12521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12522 (eval $ac_link) 2>conftest.er1
12524 grep -v '^ *+' conftest.er1
>conftest.err
12526 cat conftest.err
>&5
12527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12528 (exit $ac_status); } &&
12529 { ac_try
='test -z "$ac_c_werror_flag"
12530 || test ! -s conftest.err'
12531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12532 (eval $ac_try) 2>&5
12534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12535 (exit $ac_status); }; } &&
12536 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
12542 eval "$as_ac_var=yes"
12544 echo "$as_me: failed program was:" >&5
12545 sed 's/^/| /' conftest.
$ac_ext >&5
12547 eval "$as_ac_var=no"
12549 rm -f conftest.err conftest.
$ac_objext \
12550 conftest
$ac_exeext conftest.
$ac_ext
12552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12554 if test `eval echo '${'$as_ac_var'}'` = yes; then
12555 cat >>confdefs.h
<<_ACEOF
12556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12563 # We require memcpy.
12566 for ac_func
in memcpy
12568 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12569 echo "$as_me:$LINENO: checking for $ac_func" >&5
12570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12571 if eval "test \"\${$as_ac_var+set}\" = set"; then
12572 echo $ECHO_N "(cached) $ECHO_C" >&6
12574 if test x
$gcc_no_link = xyes
; then
12575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12577 { (exit 1); exit 1; }; }
12579 cat >conftest.
$ac_ext <<_ACEOF
12582 cat confdefs.h
>>conftest.
$ac_ext
12583 cat >>conftest.
$ac_ext <<_ACEOF
12584 /* end confdefs.h. */
12585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12587 #define $ac_func innocuous_$ac_func
12589 /* System header to define __stub macros and hopefully few prototypes,
12590 which can conflict with char $ac_func (); below.
12591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12592 <limits.h> exists even on freestanding compilers. */
12595 # include <limits.h>
12597 # include <assert.h>
12602 /* Override any gcc2 internal prototype to avoid an error. */
12607 /* We use char because int might match the return type of a gcc2
12608 builtin and then its argument prototype would still apply. */
12610 /* The GNU C library defines this for functions which it implements
12611 to always fail with ENOSYS. Some functions are actually named
12612 something starting with __ and the normal name is an alias. */
12613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12616 char (*f) () = $ac_func;
12625 return f != $ac_func;
12630 rm -f conftest.
$ac_objext conftest
$ac_exeext
12631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12632 (eval $ac_link) 2>conftest.er1
12634 grep -v '^ *+' conftest.er1
>conftest.err
12636 cat conftest.err
>&5
12637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12638 (exit $ac_status); } &&
12639 { ac_try
='test -z "$ac_c_werror_flag"
12640 || test ! -s conftest.err'
12641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12642 (eval $ac_try) 2>&5
12644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645 (exit $ac_status); }; } &&
12646 { ac_try
='test -s conftest$ac_exeext'
12647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12648 (eval $ac_try) 2>&5
12650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12651 (exit $ac_status); }; }; then
12652 eval "$as_ac_var=yes"
12654 echo "$as_me: failed program was:" >&5
12655 sed 's/^/| /' conftest.
$ac_ext >&5
12657 eval "$as_ac_var=no"
12659 rm -f conftest.err conftest.
$ac_objext \
12660 conftest
$ac_exeext conftest.
$ac_ext
12662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12664 if test `eval echo '${'$as_ac_var'}'` = yes; then
12665 cat >>confdefs.h
<<_ACEOF
12666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12672 if test "$memcpy_found" = no
; then
12673 { { echo "$as_me:$LINENO: error: memcpy is required" >&5
12674 echo "$as_me: error: memcpy is required" >&2;}
12675 { (exit 1); exit 1; }; }
12678 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12679 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12680 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12681 echo $ECHO_N "(cached) $ECHO_C" >&6
12683 ac_check_lib_save_LIBS
=$LIBS
12685 if test x
$gcc_no_link = xyes
; then
12686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12688 { (exit 1); exit 1; }; }
12690 cat >conftest.
$ac_ext <<_ACEOF
12693 cat confdefs.h
>>conftest.
$ac_ext
12694 cat >>conftest.
$ac_ext <<_ACEOF
12695 /* end confdefs.h. */
12697 /* Override any gcc2 internal prototype to avoid an error. */
12701 /* We use char because int might match the return type of a gcc2
12702 builtin and then its argument prototype would still apply. */
12712 rm -f conftest.
$ac_objext conftest
$ac_exeext
12713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12714 (eval $ac_link) 2>conftest.er1
12716 grep -v '^ *+' conftest.er1
>conftest.err
12718 cat conftest.err
>&5
12719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720 (exit $ac_status); } &&
12721 { ac_try
='test -z "$ac_c_werror_flag"
12722 || test ! -s conftest.err'
12723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12724 (eval $ac_try) 2>&5
12726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12727 (exit $ac_status); }; } &&
12728 { ac_try
='test -s conftest$ac_exeext'
12729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12730 (eval $ac_try) 2>&5
12732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12733 (exit $ac_status); }; }; then
12734 ac_cv_lib_dl_dlopen
=yes
12736 echo "$as_me: failed program was:" >&5
12737 sed 's/^/| /' conftest.
$ac_ext >&5
12739 ac_cv_lib_dl_dlopen
=no
12741 rm -f conftest.err conftest.
$ac_objext \
12742 conftest
$ac_exeext conftest.
$ac_ext
12743 LIBS
=$ac_check_lib_save_LIBS
12745 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12746 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12747 if test $ac_cv_lib_dl_dlopen = yes; then
12750 cat >>confdefs.h
<<\_ACEOF
12751 #define HAVE_DLOPEN 1
12757 # Some library-finding code we stole from Tcl.
12758 #--------------------------------------------------------------------
12759 # Check for the existence of the -lsocket and -lnsl libraries.
12760 # The order here is important, so that they end up in the right
12761 # order in the command line generated by make. Here are some
12762 # special considerations:
12763 # 1. Use "connect" and "accept" to check for -lsocket, and
12764 # "gethostbyname" to check for -lnsl.
12765 # 2. Use each function name only once: can't redo a check because
12766 # autoconf caches the results of the last check and won't redo it.
12767 # 3. Use -lnsl and -lsocket only if they supply procedures that
12768 # aren't already present in the normal libraries. This is because
12769 # IRIX 5.2 has libraries, but they aren't needed and they're
12770 # bogus: they goof up name resolution if used.
12771 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
12772 # To get around this problem, check for both libraries together
12773 # if -lsocket doesn't work by itself.
12774 #--------------------------------------------------------------------
12776 echo "$as_me:$LINENO: checking for socket libraries" >&5
12777 echo $ECHO_N "checking for socket libraries... $ECHO_C" >&6
12778 if test "${gcj_cv_lib_sockets+set}" = set; then
12779 echo $ECHO_N "(cached) $ECHO_C" >&6
12781 gcj_cv_lib_sockets
=
12783 unset ac_cv_func_connect
12784 echo "$as_me:$LINENO: checking for connect" >&5
12785 echo $ECHO_N "checking for connect... $ECHO_C" >&6
12786 if test "${ac_cv_func_connect+set}" = set; then
12787 echo $ECHO_N "(cached) $ECHO_C" >&6
12789 if test x
$gcc_no_link = xyes
; then
12790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12792 { (exit 1); exit 1; }; }
12794 cat >conftest.
$ac_ext <<_ACEOF
12797 cat confdefs.h
>>conftest.
$ac_ext
12798 cat >>conftest.
$ac_ext <<_ACEOF
12799 /* end confdefs.h. */
12800 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
12801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12802 #define connect innocuous_connect
12804 /* System header to define __stub macros and hopefully few prototypes,
12805 which can conflict with char connect (); below.
12806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12807 <limits.h> exists even on freestanding compilers. */
12810 # include <limits.h>
12812 # include <assert.h>
12817 /* Override any gcc2 internal prototype to avoid an error. */
12822 /* We use char because int might match the return type of a gcc2
12823 builtin and then its argument prototype would still apply. */
12825 /* The GNU C library defines this for functions which it implements
12826 to always fail with ENOSYS. Some functions are actually named
12827 something starting with __ and the normal name is an alias. */
12828 #if defined (__stub_connect) || defined (__stub___connect)
12831 char (*f) () = connect;
12840 return f != connect;
12845 rm -f conftest.
$ac_objext conftest
$ac_exeext
12846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12847 (eval $ac_link) 2>conftest.er1
12849 grep -v '^ *+' conftest.er1
>conftest.err
12851 cat conftest.err
>&5
12852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12853 (exit $ac_status); } &&
12854 { ac_try
='test -z "$ac_c_werror_flag"
12855 || test ! -s conftest.err'
12856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12857 (eval $ac_try) 2>&5
12859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12860 (exit $ac_status); }; } &&
12861 { ac_try
='test -s conftest$ac_exeext'
12862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12863 (eval $ac_try) 2>&5
12865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12866 (exit $ac_status); }; }; then
12867 ac_cv_func_connect
=yes
12869 echo "$as_me: failed program was:" >&5
12870 sed 's/^/| /' conftest.
$ac_ext >&5
12872 ac_cv_func_connect
=no
12874 rm -f conftest.err conftest.
$ac_objext \
12875 conftest
$ac_exeext conftest.
$ac_ext
12877 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
12878 echo "${ECHO_T}$ac_cv_func_connect" >&6
12879 if test $ac_cv_func_connect = yes; then
12885 if test "$gcj_checkSocket" = 1; then
12886 unset ac_cv_func_connect
12887 echo "$as_me:$LINENO: checking for main in -lsocket" >&5
12888 echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
12889 if test "${ac_cv_lib_socket_main+set}" = set; then
12890 echo $ECHO_N "(cached) $ECHO_C" >&6
12892 ac_check_lib_save_LIBS
=$LIBS
12893 LIBS
="-lsocket $LIBS"
12894 if test x
$gcc_no_link = xyes
; then
12895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12897 { (exit 1); exit 1; }; }
12899 cat >conftest.
$ac_ext <<_ACEOF
12902 cat confdefs.h
>>conftest.
$ac_ext
12903 cat >>conftest.
$ac_ext <<_ACEOF
12904 /* end confdefs.h. */
12915 rm -f conftest.
$ac_objext conftest
$ac_exeext
12916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12917 (eval $ac_link) 2>conftest.er1
12919 grep -v '^ *+' conftest.er1
>conftest.err
12921 cat conftest.err
>&5
12922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12923 (exit $ac_status); } &&
12924 { ac_try
='test -z "$ac_c_werror_flag"
12925 || test ! -s conftest.err'
12926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12927 (eval $ac_try) 2>&5
12929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12930 (exit $ac_status); }; } &&
12931 { ac_try
='test -s conftest$ac_exeext'
12932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12933 (eval $ac_try) 2>&5
12935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12936 (exit $ac_status); }; }; then
12937 ac_cv_lib_socket_main
=yes
12939 echo "$as_me: failed program was:" >&5
12940 sed 's/^/| /' conftest.
$ac_ext >&5
12942 ac_cv_lib_socket_main
=no
12944 rm -f conftest.err conftest.
$ac_objext \
12945 conftest
$ac_exeext conftest.
$ac_ext
12946 LIBS
=$ac_check_lib_save_LIBS
12948 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
12949 echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
12950 if test $ac_cv_lib_socket_main = yes; then
12951 gcj_cv_lib_sockets
="-lsocket"
12957 if test "$gcj_checkBoth" = 1; then
12959 LIBS
="$LIBS -lsocket -lnsl"
12960 unset ac_cv_func_accept
12961 echo "$as_me:$LINENO: checking for accept" >&5
12962 echo $ECHO_N "checking for accept... $ECHO_C" >&6
12963 if test "${ac_cv_func_accept+set}" = set; then
12964 echo $ECHO_N "(cached) $ECHO_C" >&6
12966 if test x
$gcc_no_link = xyes
; then
12967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12969 { (exit 1); exit 1; }; }
12971 cat >conftest.
$ac_ext <<_ACEOF
12974 cat confdefs.h
>>conftest.
$ac_ext
12975 cat >>conftest.
$ac_ext <<_ACEOF
12976 /* end confdefs.h. */
12977 /* Define accept to an innocuous variant, in case <limits.h> declares accept.
12978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12979 #define accept innocuous_accept
12981 /* System header to define __stub macros and hopefully few prototypes,
12982 which can conflict with char accept (); below.
12983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12984 <limits.h> exists even on freestanding compilers. */
12987 # include <limits.h>
12989 # include <assert.h>
12994 /* Override any gcc2 internal prototype to avoid an error. */
12999 /* We use char because int might match the return type of a gcc2
13000 builtin and then its argument prototype would still apply. */
13002 /* The GNU C library defines this for functions which it implements
13003 to always fail with ENOSYS. Some functions are actually named
13004 something starting with __ and the normal name is an alias. */
13005 #if defined (__stub_accept) || defined (__stub___accept)
13008 char (*f) () = accept;
13017 return f != accept;
13022 rm -f conftest.
$ac_objext conftest
$ac_exeext
13023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13024 (eval $ac_link) 2>conftest.er1
13026 grep -v '^ *+' conftest.er1
>conftest.err
13028 cat conftest.err
>&5
13029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13030 (exit $ac_status); } &&
13031 { ac_try
='test -z "$ac_c_werror_flag"
13032 || test ! -s conftest.err'
13033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13034 (eval $ac_try) 2>&5
13036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13037 (exit $ac_status); }; } &&
13038 { ac_try
='test -s conftest$ac_exeext'
13039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13040 (eval $ac_try) 2>&5
13042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13043 (exit $ac_status); }; }; then
13044 ac_cv_func_accept
=yes
13046 echo "$as_me: failed program was:" >&5
13047 sed 's/^/| /' conftest.
$ac_ext >&5
13049 ac_cv_func_accept
=no
13051 rm -f conftest.err conftest.
$ac_objext \
13052 conftest
$ac_exeext conftest.
$ac_ext
13054 echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5
13055 echo "${ECHO_T}$ac_cv_func_accept" >&6
13056 if test $ac_cv_func_accept = yes; then
13058 gcj_cv_lib_sockets
="-lsocket -lnsl"
13061 unset ac_cv_func_accept
13064 unset ac_cv_func_gethostbyname
13066 LIBS
="$LIBS $gcj_cv_lib_sockets"
13067 echo "$as_me:$LINENO: checking for gethostbyname" >&5
13068 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
13069 if test "${ac_cv_func_gethostbyname+set}" = set; then
13070 echo $ECHO_N "(cached) $ECHO_C" >&6
13072 if test x
$gcc_no_link = xyes
; then
13073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13075 { (exit 1); exit 1; }; }
13077 cat >conftest.
$ac_ext <<_ACEOF
13080 cat confdefs.h
>>conftest.
$ac_ext
13081 cat >>conftest.
$ac_ext <<_ACEOF
13082 /* end confdefs.h. */
13083 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
13084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13085 #define gethostbyname innocuous_gethostbyname
13087 /* System header to define __stub macros and hopefully few prototypes,
13088 which can conflict with char gethostbyname (); below.
13089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13090 <limits.h> exists even on freestanding compilers. */
13093 # include <limits.h>
13095 # include <assert.h>
13098 #undef gethostbyname
13100 /* Override any gcc2 internal prototype to avoid an error. */
13105 /* We use char because int might match the return type of a gcc2
13106 builtin and then its argument prototype would still apply. */
13107 char gethostbyname ();
13108 /* The GNU C library defines this for functions which it implements
13109 to always fail with ENOSYS. Some functions are actually named
13110 something starting with __ and the normal name is an alias. */
13111 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13114 char (*f) () = gethostbyname;
13123 return f != gethostbyname;
13128 rm -f conftest.
$ac_objext conftest
$ac_exeext
13129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13130 (eval $ac_link) 2>conftest.er1
13132 grep -v '^ *+' conftest.er1
>conftest.err
13134 cat conftest.err
>&5
13135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13136 (exit $ac_status); } &&
13137 { ac_try
='test -z "$ac_c_werror_flag"
13138 || test ! -s conftest.err'
13139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13140 (eval $ac_try) 2>&5
13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); }; } &&
13144 { ac_try
='test -s conftest$ac_exeext'
13145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13146 (eval $ac_try) 2>&5
13148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13149 (exit $ac_status); }; }; then
13150 ac_cv_func_gethostbyname
=yes
13152 echo "$as_me: failed program was:" >&5
13153 sed 's/^/| /' conftest.
$ac_ext >&5
13155 ac_cv_func_gethostbyname
=no
13157 rm -f conftest.err conftest.
$ac_objext \
13158 conftest
$ac_exeext conftest.
$ac_ext
13160 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
13161 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
13162 if test $ac_cv_func_gethostbyname = yes; then
13165 echo "$as_me:$LINENO: checking for main in -lnsl" >&5
13166 echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
13167 if test "${ac_cv_lib_nsl_main+set}" = set; then
13168 echo $ECHO_N "(cached) $ECHO_C" >&6
13170 ac_check_lib_save_LIBS
=$LIBS
13172 if test x
$gcc_no_link = xyes
; then
13173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13175 { (exit 1); exit 1; }; }
13177 cat >conftest.
$ac_ext <<_ACEOF
13180 cat confdefs.h
>>conftest.
$ac_ext
13181 cat >>conftest.
$ac_ext <<_ACEOF
13182 /* end confdefs.h. */
13193 rm -f conftest.
$ac_objext conftest
$ac_exeext
13194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13195 (eval $ac_link) 2>conftest.er1
13197 grep -v '^ *+' conftest.er1
>conftest.err
13199 cat conftest.err
>&5
13200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13201 (exit $ac_status); } &&
13202 { ac_try
='test -z "$ac_c_werror_flag"
13203 || test ! -s conftest.err'
13204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13205 (eval $ac_try) 2>&5
13207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13208 (exit $ac_status); }; } &&
13209 { ac_try
='test -s conftest$ac_exeext'
13210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13211 (eval $ac_try) 2>&5
13213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13214 (exit $ac_status); }; }; then
13215 ac_cv_lib_nsl_main
=yes
13217 echo "$as_me: failed program was:" >&5
13218 sed 's/^/| /' conftest.
$ac_ext >&5
13220 ac_cv_lib_nsl_main
=no
13222 rm -f conftest.err conftest.
$ac_objext \
13223 conftest
$ac_exeext conftest.
$ac_ext
13224 LIBS
=$ac_check_lib_save_LIBS
13226 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
13227 echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
13228 if test $ac_cv_lib_nsl_main = yes; then
13229 gcj_cv_lib_sockets
="$gcj_cv_lib_sockets -lnsl"
13234 unset ac_cv_func_gethostbyname
13238 echo "$as_me:$LINENO: result: $gcj_cv_lib_sockets" >&5
13239 echo "${ECHO_T}$gcj_cv_lib_sockets" >&6
13240 SYSTEMSPEC
="$SYSTEMSPEC $gcj_cv_lib_sockets"
13242 if test "$with_system_zlib" = yes; then
13243 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
13244 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
13245 if test "${ac_cv_lib_z_deflate+set}" = set; then
13246 echo $ECHO_N "(cached) $ECHO_C" >&6
13248 ac_check_lib_save_LIBS
=$LIBS
13250 if test x
$gcc_no_link = xyes
; then
13251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13253 { (exit 1); exit 1; }; }
13255 cat >conftest.
$ac_ext <<_ACEOF
13258 cat confdefs.h
>>conftest.
$ac_ext
13259 cat >>conftest.
$ac_ext <<_ACEOF
13260 /* end confdefs.h. */
13262 /* Override any gcc2 internal prototype to avoid an error. */
13266 /* We use char because int might match the return type of a gcc2
13267 builtin and then its argument prototype would still apply. */
13277 rm -f conftest.
$ac_objext conftest
$ac_exeext
13278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13279 (eval $ac_link) 2>conftest.er1
13281 grep -v '^ *+' conftest.er1
>conftest.err
13283 cat conftest.err
>&5
13284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13285 (exit $ac_status); } &&
13286 { ac_try
='test -z "$ac_c_werror_flag"
13287 || test ! -s conftest.err'
13288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13289 (eval $ac_try) 2>&5
13291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292 (exit $ac_status); }; } &&
13293 { ac_try
='test -s conftest$ac_exeext'
13294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13295 (eval $ac_try) 2>&5
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); }; }; then
13299 ac_cv_lib_z_deflate
=yes
13301 echo "$as_me: failed program was:" >&5
13302 sed 's/^/| /' conftest.
$ac_ext >&5
13304 ac_cv_lib_z_deflate
=no
13306 rm -f conftest.err conftest.
$ac_objext \
13307 conftest
$ac_exeext conftest.
$ac_ext
13308 LIBS
=$ac_check_lib_save_LIBS
13310 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
13311 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
13312 if test $ac_cv_lib_z_deflate = yes; then
13320 # Test for Gtk stuff, if asked for.
13321 if test "$use_gtk_awt" = yes; then
13325 if test -z "$PKG_CONFIG"; then
13326 # Extract the first word of "pkg-config", so it can be a program name with args.
13327 set dummy pkg-config
; ac_word
=$2
13328 echo "$as_me:$LINENO: checking for $ac_word" >&5
13329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13330 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13331 echo $ECHO_N "(cached) $ECHO_C" >&6
13333 case $PKG_CONFIG in
13335 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13339 for as_dir
in $PATH
13342 test -z "$as_dir" && as_dir
=.
13343 for ac_exec_ext
in '' $ac_executable_extensions; do
13344 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13345 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13352 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13356 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13358 if test -n "$PKG_CONFIG"; then
13359 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13360 echo "${ECHO_T}$PKG_CONFIG" >&6
13362 echo "$as_me:$LINENO: result: no" >&5
13363 echo "${ECHO_T}no" >&6
13368 if test "$PKG_CONFIG" = "no" ; then
13369 echo "*** The pkg-config script could not be found. Make sure it is"
13370 echo "*** in your path, or set the PKG_CONFIG environment variable"
13371 echo "*** to the full path to pkg-config."
13372 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13374 PKG_CONFIG_MIN_VERSION
=0.9.0
13375 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13376 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4" >&5
13377 echo $ECHO_N "checking for gtk+-2.0 >= 2.4... $ECHO_C" >&6
13379 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4" ; then
13380 echo "$as_me:$LINENO: result: yes" >&5
13381 echo "${ECHO_T}yes" >&6
13384 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
13385 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
13386 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4"`
13387 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
13388 echo "${ECHO_T}$GTK_CFLAGS" >&6
13390 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
13391 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
13392 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4"`
13393 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
13394 echo "${ECHO_T}$GTK_LIBS" >&6
13398 ## If we have a custom action on failure, don't print errors, but
13399 ## do set a variable so people can do so.
13400 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4"`
13401 echo $GTK_PKG_ERRORS
13407 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13408 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13412 if test $succeeded = yes; then
13415 { { 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
13416 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;}
13417 { (exit 1); exit 1; }; }
13426 if test -z "$PKG_CONFIG"; then
13427 # Extract the first word of "pkg-config", so it can be a program name with args.
13428 set dummy pkg-config
; ac_word
=$2
13429 echo "$as_me:$LINENO: checking for $ac_word" >&5
13430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13431 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13432 echo $ECHO_N "(cached) $ECHO_C" >&6
13434 case $PKG_CONFIG in
13436 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13440 for as_dir
in $PATH
13443 test -z "$as_dir" && as_dir
=.
13444 for ac_exec_ext
in '' $ac_executable_extensions; do
13445 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13446 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13453 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13457 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13459 if test -n "$PKG_CONFIG"; then
13460 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13461 echo "${ECHO_T}$PKG_CONFIG" >&6
13463 echo "$as_me:$LINENO: result: no" >&5
13464 echo "${ECHO_T}no" >&6
13469 if test "$PKG_CONFIG" = "no" ; then
13470 echo "*** The pkg-config script could not be found. Make sure it is"
13471 echo "*** in your path, or set the PKG_CONFIG environment variable"
13472 echo "*** to the full path to pkg-config."
13473 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13475 PKG_CONFIG_MIN_VERSION
=0.9.0
13476 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13477 echo "$as_me:$LINENO: checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4" >&5
13478 echo $ECHO_N "checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... $ECHO_C" >&6
13480 if $PKG_CONFIG --exists "glib-2.0 >= 2.4 gthread-2.0 >= 2.4" ; then
13481 echo "$as_me:$LINENO: result: yes" >&5
13482 echo "${ECHO_T}yes" >&6
13485 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
13486 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
13487 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
13488 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
13489 echo "${ECHO_T}$GLIB_CFLAGS" >&6
13491 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
13492 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
13493 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
13494 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
13495 echo "${ECHO_T}$GLIB_LIBS" >&6
13499 ## If we have a custom action on failure, don't print errors, but
13500 ## do set a variable so people can do so.
13501 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
13502 echo $GLIB_PKG_ERRORS
13508 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13509 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13513 if test $succeeded = yes; then
13516 { { 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
13517 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;}
13518 { (exit 1); exit 1; }; }
13527 if test -z "$PKG_CONFIG"; then
13528 # Extract the first word of "pkg-config", so it can be a program name with args.
13529 set dummy pkg-config
; ac_word
=$2
13530 echo "$as_me:$LINENO: checking for $ac_word" >&5
13531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13532 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13533 echo $ECHO_N "(cached) $ECHO_C" >&6
13535 case $PKG_CONFIG in
13537 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13541 for as_dir
in $PATH
13544 test -z "$as_dir" && as_dir
=.
13545 for ac_exec_ext
in '' $ac_executable_extensions; do
13546 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13547 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13554 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13558 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13560 if test -n "$PKG_CONFIG"; then
13561 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13562 echo "${ECHO_T}$PKG_CONFIG" >&6
13564 echo "$as_me:$LINENO: result: no" >&5
13565 echo "${ECHO_T}no" >&6
13570 if test "$PKG_CONFIG" = "no" ; then
13571 echo "*** The pkg-config script could not be found. Make sure it is"
13572 echo "*** in your path, or set the PKG_CONFIG environment variable"
13573 echo "*** to the full path to pkg-config."
13574 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13576 PKG_CONFIG_MIN_VERSION
=0.9.0
13577 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13578 echo "$as_me:$LINENO: checking for libart-2.0 >= 2.1" >&5
13579 echo $ECHO_N "checking for libart-2.0 >= 2.1... $ECHO_C" >&6
13581 if $PKG_CONFIG --exists "libart-2.0 >= 2.1" ; then
13582 echo "$as_me:$LINENO: result: yes" >&5
13583 echo "${ECHO_T}yes" >&6
13586 echo "$as_me:$LINENO: checking LIBART_CFLAGS" >&5
13587 echo $ECHO_N "checking LIBART_CFLAGS... $ECHO_C" >&6
13588 LIBART_CFLAGS
=`$PKG_CONFIG --cflags "libart-2.0 >= 2.1"`
13589 echo "$as_me:$LINENO: result: $LIBART_CFLAGS" >&5
13590 echo "${ECHO_T}$LIBART_CFLAGS" >&6
13592 echo "$as_me:$LINENO: checking LIBART_LIBS" >&5
13593 echo $ECHO_N "checking LIBART_LIBS... $ECHO_C" >&6
13594 LIBART_LIBS
=`$PKG_CONFIG --libs "libart-2.0 >= 2.1"`
13595 echo "$as_me:$LINENO: result: $LIBART_LIBS" >&5
13596 echo "${ECHO_T}$LIBART_LIBS" >&6
13600 ## If we have a custom action on failure, don't print errors, but
13601 ## do set a variable so people can do so.
13602 LIBART_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libart-2.0 >= 2.1"`
13603 echo $LIBART_PKG_ERRORS
13609 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13610 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13614 if test $succeeded = yes; then
13617 { { 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
13618 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;}
13619 { (exit 1); exit 1; }; }
13626 # On Solaris, and maybe other architectures, the Boehm collector
13628 if test "$GC" = boehm
; then
13629 echo "$as_me:$LINENO: checking for main in -ldl" >&5
13630 echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6
13631 if test "${ac_cv_lib_dl_main+set}" = set; then
13632 echo $ECHO_N "(cached) $ECHO_C" >&6
13634 ac_check_lib_save_LIBS
=$LIBS
13636 if test x
$gcc_no_link = xyes
; then
13637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13639 { (exit 1); exit 1; }; }
13641 cat >conftest.
$ac_ext <<_ACEOF
13644 cat confdefs.h
>>conftest.
$ac_ext
13645 cat >>conftest.
$ac_ext <<_ACEOF
13646 /* end confdefs.h. */
13657 rm -f conftest.
$ac_objext conftest
$ac_exeext
13658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13659 (eval $ac_link) 2>conftest.er1
13661 grep -v '^ *+' conftest.er1
>conftest.err
13663 cat conftest.err
>&5
13664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665 (exit $ac_status); } &&
13666 { ac_try
='test -z "$ac_c_werror_flag"
13667 || test ! -s conftest.err'
13668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13669 (eval $ac_try) 2>&5
13671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13672 (exit $ac_status); }; } &&
13673 { ac_try
='test -s conftest$ac_exeext'
13674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13675 (eval $ac_try) 2>&5
13677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13678 (exit $ac_status); }; }; then
13679 ac_cv_lib_dl_main
=yes
13681 echo "$as_me: failed program was:" >&5
13682 sed 's/^/| /' conftest.
$ac_ext >&5
13684 ac_cv_lib_dl_main
=no
13686 rm -f conftest.err conftest.
$ac_objext \
13687 conftest
$ac_exeext conftest.
$ac_ext
13688 LIBS
=$ac_check_lib_save_LIBS
13690 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5
13691 echo "${ECHO_T}$ac_cv_lib_dl_main" >&6
13692 if test $ac_cv_lib_dl_main = yes; then
13693 SYSTEMSPEC
="$SYSTEMSPEC -ldl"
13700 if test "$supply_backtrace" = yes; then
13701 SUPPLY_BACKTRACE_TRUE
=
13702 SUPPLY_BACKTRACE_FALSE
='#'
13704 SUPPLY_BACKTRACE_TRUE
='#'
13705 SUPPLY_BACKTRACE_FALSE
=
13709 if test -z "${with_multisubdir}"; then
13712 builddotdot
=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`
13717 # Which gcj do we use?
13719 built_gcc_dir
="`cd ${builddotdot}/../../gcc && ${PWDCMD-pwd}`"
13720 if test -n "${with_cross_host}"; then
13721 # We are being configured with a cross compiler. We can't
13722 # use ac_exeext, because that is for the target platform.
13725 case "${with_cross_host}" in
13726 *mingw
* |
*cygwin
*)
13727 cross_host_exeext
=.exe
13730 if test -x "${built_gcc_dir}/gcj${cross_host_exeext}"; then
13731 if test x
"$build_noncanonical" = x
"$with_cross_host"; then
13732 # Ordinary cross (host!=target and host=build)
13735 # Canadian cross (host!=target and host!=build)
13742 # We are being configured with a native or crossed-native compiler
13743 if test -x "${built_gcc_dir}/gcj${ac_exeext}"; then
13744 if test x
"$build" = x
"$host"; then
13745 # True native build (host=target and host=build)
13748 # Crossed-native build (host=target and host!=build)
13755 case "${which_gcj}" in
13757 GCJ
="$built_gcc_dir/gcj -B`${PWDCMD-pwd}`/ -B$built_gcc_dir/"
13758 GCJH
='$(MULTIBUILDTOP)../$(COMPPATH)/gcc/gcjh'
13759 ZIP
='$(MULTIBUILDTOP)../$(COMPPATH)/fastjar/fastjar'
13762 if test "x${with_newlib}" = "xyes"; then
13763 # FIXME (comment): Why is this needed?
13764 GCC_UNWIND_INCLUDE
=
13765 GCJ
="${target_noncanonical}-gcj"
13767 GCJ
="${target_noncanonical}-gcj -B`${PWDCMD-pwd}`/"
13770 GCJH
='$(target_noncanonical)-gcjh'
13773 GCJ
="gcj -B`${PWDCMD-pwd}`/"
13774 ## In this case, gcj is found outside the build tree. However, zip is
13775 ## found in the build tree.
13776 ZIP
='$(MULTIBUILDTOP)../$(COMPPATH)/fastjar/fastjar'
13784 # Create it, so that compile/link tests don't fail
13785 test -f libgcj.spec ||
touch libgcj.spec
13787 # Use a semicolon as CLASSPATH separator for MinGW, otherwise a colon.
13789 *-mingw32) CLASSPATH_SEPARATOR
=';' ;;
13790 *) CLASSPATH_SEPARATOR
=':' ;;
13794 # We must search the source tree for java.lang, since we still don't
13795 # have libgcj.jar nor java/lang/*.class
13796 GCJ_SAVE_CPPFLAGS
=$CPPFLAGS
13797 CPPFLAGS
="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`"
13799 # Since some classes depend on this one, we need its source available
13800 # before we can do any GCJ compilation test :-(
13801 if test ! -f gnu
/classpath
/Configuration.java
; then
13802 test -d gnu || mkdir gnu
13803 test -d gnu
/classpath || mkdir gnu
/classpath
13804 sed -e 's,@LIBGCJDEBUG@,$LIBGCJDEBUG,' \
13805 -e 's,@TOOLKIT@,$TOOLKIT,' \
13806 < $srcdir/gnu
/classpath
/Configuration.java.
in \
13807 > gnu
/classpath
/Configuration.java
13808 # We do not want to redirect the output of the grep below to /dev/null,
13809 # but we add /dev/null to the input list so that grep will print the
13810 # filename of Configuration.java in case it finds any matches.
13811 if grep @ gnu
/classpath
/Configuration.java
/dev
/null
; then
13812 { { echo "$as_me:$LINENO: error: configure.ac is missing the substitutions above" >&5
13813 echo "$as_me: error: configure.ac is missing the substitutions above" >&2;}
13814 { (exit 1); exit 1; }; }
13818 if test -n "$ac_tool_prefix"; then
13819 # Extract the first word of "${ac_tool_prefix}gcj", so it can be a program name with args.
13820 set dummy
${ac_tool_prefix}gcj
; ac_word
=$2
13821 echo "$as_me:$LINENO: checking for $ac_word" >&5
13822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13823 if test "${ac_cv_prog_GCJ+set}" = set; then
13824 echo $ECHO_N "(cached) $ECHO_C" >&6
13826 if test -n "$GCJ"; then
13827 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
13829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13830 for as_dir
in $PATH
13833 test -z "$as_dir" && as_dir
=.
13834 for ac_exec_ext
in '' $ac_executable_extensions; do
13835 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13836 ac_cv_prog_GCJ
="${ac_tool_prefix}gcj"
13837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13845 GCJ
=$ac_cv_prog_GCJ
13846 if test -n "$GCJ"; then
13847 echo "$as_me:$LINENO: result: $GCJ" >&5
13848 echo "${ECHO_T}$GCJ" >&6
13850 echo "$as_me:$LINENO: result: no" >&5
13851 echo "${ECHO_T}no" >&6
13855 if test -z "$ac_cv_prog_GCJ"; then
13857 # Extract the first word of "gcj", so it can be a program name with args.
13858 set dummy gcj
; ac_word
=$2
13859 echo "$as_me:$LINENO: checking for $ac_word" >&5
13860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13861 if test "${ac_cv_prog_ac_ct_GCJ+set}" = set; then
13862 echo $ECHO_N "(cached) $ECHO_C" >&6
13864 if test -n "$ac_ct_GCJ"; then
13865 ac_cv_prog_ac_ct_GCJ
="$ac_ct_GCJ" # Let the user override the test.
13867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13868 for as_dir
in $PATH
13871 test -z "$as_dir" && as_dir
=.
13872 for ac_exec_ext
in '' $ac_executable_extensions; do
13873 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13874 ac_cv_prog_ac_ct_GCJ
="gcj"
13875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13881 test -z "$ac_cv_prog_ac_ct_GCJ" && ac_cv_prog_ac_ct_GCJ
="no"
13884 ac_ct_GCJ
=$ac_cv_prog_ac_ct_GCJ
13885 if test -n "$ac_ct_GCJ"; then
13886 echo "$as_me:$LINENO: result: $ac_ct_GCJ" >&5
13887 echo "${ECHO_T}$ac_ct_GCJ" >&6
13889 echo "$as_me:$LINENO: result: no" >&5
13890 echo "${ECHO_T}no" >&6
13895 GCJ
="$ac_cv_prog_GCJ"
13898 test "x${GCJFLAGS+set}" = xset || GCJFLAGS
="-g -O2"
13903 CPPFLAGS
=$GCJ_SAVE_CPPFLAGS
13905 echo "$as_me:$LINENO: checking size of void *" >&5
13906 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
13907 if test "${ac_cv_sizeof_void_p+set}" = set; then
13908 echo $ECHO_N "(cached) $ECHO_C" >&6
13910 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
13911 cat >conftest.
$ac_ext <<_ACEOF
13914 cat confdefs.h
>>conftest.
$ac_ext
13915 cat >>conftest.
$ac_ext <<_ACEOF
13916 /* end confdefs.h. */
13917 #include "confdefs.h"
13918 #include <sys/types.h>
13924 switch (0) case 0: case (sizeof (void *) == $ac_size):;
13929 rm -f conftest.
$ac_objext
13930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13931 (eval $ac_compile) 2>conftest.er1
13933 grep -v '^ *+' conftest.er1
>conftest.err
13935 cat conftest.err
>&5
13936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13937 (exit $ac_status); } &&
13938 { ac_try
='test -z "$ac_c_werror_flag"
13939 || test ! -s conftest.err'
13940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13941 (eval $ac_try) 2>&5
13943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13944 (exit $ac_status); }; } &&
13945 { ac_try
='test -s conftest.$ac_objext'
13946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13947 (eval $ac_try) 2>&5
13949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13950 (exit $ac_status); }; }; then
13951 ac_cv_sizeof_void_p
=$ac_size
13953 echo "$as_me: failed program was:" >&5
13954 sed 's/^/| /' conftest.
$ac_ext >&5
13957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13958 if test x
$ac_cv_sizeof_void_p != x
; then break; fi
13963 if test x
$ac_cv_sizeof_void_p = x
; then
13964 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
13965 echo "$as_me: error: cannot determine a size for void *" >&2;}
13966 { (exit 1); exit 1; }; }
13968 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
13969 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
13971 cat >>confdefs.h
<<_ACEOF
13972 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13977 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
13978 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
13979 if test "${ac_cv_c_bigendian+set}" = set; then
13980 echo $ECHO_N "(cached) $ECHO_C" >&6
13982 ac_cv_c_bigendian
=unknown
13983 # See if sys/param.h defines the BYTE_ORDER macro.
13984 cat >conftest.
$ac_ext <<_ACEOF
13987 cat confdefs.h
>>conftest.
$ac_ext
13988 cat >>conftest.
$ac_ext <<_ACEOF
13989 /* end confdefs.h. */
13990 #include <sys/types.h>
13991 #include <sys/param.h>
13996 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
13997 bogus endian macros
14003 rm -f conftest.
$ac_objext
14004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14005 (eval $ac_compile) 2>conftest.er1
14007 grep -v '^ *+' conftest.er1
>conftest.err
14009 cat conftest.err
>&5
14010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14011 (exit $ac_status); } &&
14012 { ac_try
='test -z "$ac_c_werror_flag"
14013 || test ! -s conftest.err'
14014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14015 (eval $ac_try) 2>&5
14017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14018 (exit $ac_status); }; } &&
14019 { ac_try
='test -s conftest.$ac_objext'
14020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14021 (eval $ac_try) 2>&5
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); }; }; then
14025 # It does; now see whether it defined to BIG_ENDIAN or not.
14026 cat >conftest.
$ac_ext <<_ACEOF
14029 cat confdefs.h
>>conftest.
$ac_ext
14030 cat >>conftest.
$ac_ext <<_ACEOF
14031 /* end confdefs.h. */
14032 #include <sys/types.h>
14033 #include <sys/param.h>
14038 #if BYTE_ORDER != BIG_ENDIAN
14045 rm -f conftest.
$ac_objext
14046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14047 (eval $ac_compile) 2>conftest.er1
14049 grep -v '^ *+' conftest.er1
>conftest.err
14051 cat conftest.err
>&5
14052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14053 (exit $ac_status); } &&
14054 { ac_try
='test -z "$ac_c_werror_flag"
14055 || test ! -s conftest.err'
14056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14057 (eval $ac_try) 2>&5
14059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14060 (exit $ac_status); }; } &&
14061 { ac_try
='test -s conftest.$ac_objext'
14062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14063 (eval $ac_try) 2>&5
14065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14066 (exit $ac_status); }; }; then
14067 ac_cv_c_bigendian
=yes
14069 echo "$as_me: failed program was:" >&5
14070 sed 's/^/| /' conftest.
$ac_ext >&5
14072 ac_cv_c_bigendian
=no
14074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14076 echo "$as_me: failed program was:" >&5
14077 sed 's/^/| /' conftest.
$ac_ext >&5
14080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14081 if test $ac_cv_c_bigendian = unknown
; then
14082 if test "$cross_compiling" = yes; then
14083 echo $ac_n "cross-compiling... " 2>&6
14085 cat >conftest.
$ac_ext <<_ACEOF
14088 cat confdefs.h
>>conftest.
$ac_ext
14089 cat >>conftest.
$ac_ext <<_ACEOF
14090 /* end confdefs.h. */
14092 /* Are we little or big endian? From Harbison&Steele. */
14096 char c[sizeof (long)];
14099 exit (u.c[sizeof (long) - 1] == 1);
14102 rm -f conftest
$ac_exeext
14103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14104 (eval $ac_link) 2>&5
14106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14107 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14109 (eval $ac_try) 2>&5
14111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112 (exit $ac_status); }; }; then
14113 ac_cv_c_bigendian
=no
14115 echo "$as_me: program exited with status $ac_status" >&5
14116 echo "$as_me: failed program was:" >&5
14117 sed 's/^/| /' conftest.
$ac_ext >&5
14119 ( exit $ac_status )
14120 ac_cv_c_bigendian
=yes
14122 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14126 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
14127 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
14128 if test $ac_cv_c_bigendian = unknown
; then
14129 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
14130 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
14132 cat >conftest.c
<<EOF
14133 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14134 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14135 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
14136 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14137 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14138 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
14139 int main() { _ascii (); _ebcdic (); return 0; }
14141 if test -f conftest.c
; then
14142 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
14143 if test `grep -l BIGenDianSyS conftest.o` ; then
14144 echo $ac_n ' big endian probe OK, ' 1>&6
14145 ac_cv_c_bigendian
=yes
14147 if test `grep -l LiTTleEnDian conftest.o` ; then
14148 echo $ac_n ' little endian probe OK, ' 1>&6
14149 if test $ac_cv_c_bigendian = yes ; then
14150 ac_cv_c_bigendian
=unknown
;
14152 ac_cv_c_bigendian
=no
14155 echo $ac_n 'guessing bigendian ... ' >&6
14158 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
14159 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
14161 if test $ac_cv_c_bigendian = yes; then
14163 cat >>confdefs.h
<<\_ACEOF
14164 #define WORDS_BIGENDIAN 1
14168 cat >>confdefs.h
<<\_ACEOF
14169 #define HOST_WORDS_BIG_ENDIAN 1
14177 cat >>confdefs.h
<<_ACEOF
14178 #define BYTEORDER $BYTEORDER
14181 if test $ac_cv_c_bigendian = unknown
; then
14182 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
14183 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
14184 { (exit 1); exit 1; }; }
14192 if test -z "$ZLIBSPEC"; then
14193 # Use zlib from the GCC tree.
14194 ZINCS
='-I$(top_srcdir)/../zlib'
14195 ZLIBS
=..
/zlib
/libzgcj_convenience.la
14198 SYS_ZLIBS
="$ZLIBSPEC"
14210 if test "$NATIVE" = yes; then
14220 if test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes; then
14221 NEEDS_DATA_START_TRUE
=
14222 NEEDS_DATA_START_FALSE
='#'
14224 NEEDS_DATA_START_TRUE
='#'
14225 NEEDS_DATA_START_FALSE
=
14230 # Process the option "--enable-version-specific-runtime-libs"
14231 # Calculate toolexeclibdir
14232 case ${version_specific_libs} in
14234 # Need the gcc compiler version to know where to install libraries
14235 # and header files if --enable-version-specific-runtime-libs option
14237 includedir
='${libdir}/gcc/${target_noncanonical}/'$gcc_version/include
/
14238 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
14239 toolexecmainlibdir
='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
14240 toolexeclibdir
=$toolexecmainlibdir
14243 if test -n "$with_cross_host" &&
14244 test x
"$with_cross_host" != x
"no"; then
14245 # Install a library built with a cross compiler in tooldir, not libdir.
14246 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
14247 toolexecmainlibdir
='$(toolexecdir)/lib'
14249 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
14250 toolexecmainlibdir
='$(libdir)'
14252 multi_os_directory
=`$CC -print-multi-os-directory`
14253 case $multi_os_directory in
14254 .
) toolexeclibdir
=$toolexecmainlibdir ;; # Avoid trailing /.
14255 *) toolexeclibdir
=$toolexecmainlibdir/$multi_os_directory ;;
14263 # Determine gcj version number.
14264 gcjversion
=`$GCJ -v 2>&1 | sed -n 's/^.*version \([^ ]*\).*$/\1/p'`
14265 GCJVERSION
=$gcjversion
14268 cat >>confdefs.h
<<_ACEOF
14269 #define GCJVERSION "$GCJVERSION"
14273 # We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
14274 # On that system, sys/ioctl.h will not include sys/filio.h unless
14275 # BSD_COMP is defined; just including sys/filio.h is simpler.
14295 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
14297 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14298 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14299 echo "$as_me:$LINENO: checking for $ac_header" >&5
14300 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14302 echo $ECHO_N "(cached) $ECHO_C" >&6
14304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14305 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14307 # Is the header compilable?
14308 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14309 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14310 cat >conftest.
$ac_ext <<_ACEOF
14313 cat confdefs.h
>>conftest.
$ac_ext
14314 cat >>conftest.
$ac_ext <<_ACEOF
14315 /* end confdefs.h. */
14316 $ac_includes_default
14317 #include <$ac_header>
14319 rm -f conftest.
$ac_objext
14320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14321 (eval $ac_compile) 2>conftest.er1
14323 grep -v '^ *+' conftest.er1
>conftest.err
14325 cat conftest.err
>&5
14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14327 (exit $ac_status); } &&
14328 { ac_try
='test -z "$ac_c_werror_flag"
14329 || test ! -s conftest.err'
14330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14331 (eval $ac_try) 2>&5
14333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14334 (exit $ac_status); }; } &&
14335 { ac_try
='test -s conftest.$ac_objext'
14336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14337 (eval $ac_try) 2>&5
14339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14340 (exit $ac_status); }; }; then
14341 ac_header_compiler
=yes
14343 echo "$as_me: failed program was:" >&5
14344 sed 's/^/| /' conftest.
$ac_ext >&5
14346 ac_header_compiler
=no
14348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14349 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14350 echo "${ECHO_T}$ac_header_compiler" >&6
14352 # Is the header present?
14353 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14354 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14355 cat >conftest.
$ac_ext <<_ACEOF
14358 cat confdefs.h
>>conftest.
$ac_ext
14359 cat >>conftest.
$ac_ext <<_ACEOF
14360 /* end confdefs.h. */
14361 #include <$ac_header>
14363 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14364 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14366 grep -v '^ *+' conftest.er1
>conftest.err
14368 cat conftest.err
>&5
14369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14370 (exit $ac_status); } >/dev
/null
; then
14371 if test -s conftest.err
; then
14372 ac_cpp_err
=$ac_c_preproc_warn_flag
14373 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14380 if test -z "$ac_cpp_err"; then
14381 ac_header_preproc
=yes
14383 echo "$as_me: failed program was:" >&5
14384 sed 's/^/| /' conftest.
$ac_ext >&5
14386 ac_header_preproc
=no
14388 rm -f conftest.err conftest.
$ac_ext
14389 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14390 echo "${ECHO_T}$ac_header_preproc" >&6
14392 # So? What about this header?
14393 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14395 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14396 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14397 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14398 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14399 ac_header_preproc
=yes
14402 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14403 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14404 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14405 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14406 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14407 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14408 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14409 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14410 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14411 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14412 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14413 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14416 ## ---------------------------------- ##
14417 ## Report this to the libjava lists. ##
14418 ## ---------------------------------- ##
14421 sed "s/^/$as_me: WARNING: /" >&2
14424 echo "$as_me:$LINENO: checking for $ac_header" >&5
14425 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14426 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14427 echo $ECHO_N "(cached) $ECHO_C" >&6
14429 eval "$as_ac_Header=\$ac_header_preproc"
14431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14432 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14435 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14436 cat >>confdefs.h
<<_ACEOF
14437 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14444 # We avoid AC_HEADER_DIRENT since we really only care about dirent.h
14445 # for now. If you change this, you also must update natFile.cc.
14447 for ac_header
in dirent.h
14449 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14451 echo "$as_me:$LINENO: checking for $ac_header" >&5
14452 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14453 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14454 echo $ECHO_N "(cached) $ECHO_C" >&6
14456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14457 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14459 # Is the header compilable?
14460 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14461 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14462 cat >conftest.
$ac_ext <<_ACEOF
14465 cat confdefs.h
>>conftest.
$ac_ext
14466 cat >>conftest.
$ac_ext <<_ACEOF
14467 /* end confdefs.h. */
14468 $ac_includes_default
14469 #include <$ac_header>
14471 rm -f conftest.
$ac_objext
14472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14473 (eval $ac_compile) 2>conftest.er1
14475 grep -v '^ *+' conftest.er1
>conftest.err
14477 cat conftest.err
>&5
14478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479 (exit $ac_status); } &&
14480 { ac_try
='test -z "$ac_c_werror_flag"
14481 || test ! -s conftest.err'
14482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14483 (eval $ac_try) 2>&5
14485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486 (exit $ac_status); }; } &&
14487 { ac_try
='test -s conftest.$ac_objext'
14488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14489 (eval $ac_try) 2>&5
14491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492 (exit $ac_status); }; }; then
14493 ac_header_compiler
=yes
14495 echo "$as_me: failed program was:" >&5
14496 sed 's/^/| /' conftest.
$ac_ext >&5
14498 ac_header_compiler
=no
14500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14501 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14502 echo "${ECHO_T}$ac_header_compiler" >&6
14504 # Is the header present?
14505 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14506 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14507 cat >conftest.
$ac_ext <<_ACEOF
14510 cat confdefs.h
>>conftest.
$ac_ext
14511 cat >>conftest.
$ac_ext <<_ACEOF
14512 /* end confdefs.h. */
14513 #include <$ac_header>
14515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14516 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14518 grep -v '^ *+' conftest.er1
>conftest.err
14520 cat conftest.err
>&5
14521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14522 (exit $ac_status); } >/dev
/null
; then
14523 if test -s conftest.err
; then
14524 ac_cpp_err
=$ac_c_preproc_warn_flag
14525 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14532 if test -z "$ac_cpp_err"; then
14533 ac_header_preproc
=yes
14535 echo "$as_me: failed program was:" >&5
14536 sed 's/^/| /' conftest.
$ac_ext >&5
14538 ac_header_preproc
=no
14540 rm -f conftest.err conftest.
$ac_ext
14541 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14542 echo "${ECHO_T}$ac_header_preproc" >&6
14544 # So? What about this header?
14545 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14547 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14548 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14550 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14551 ac_header_preproc
=yes
14554 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14555 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14556 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14557 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14558 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14559 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14560 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14561 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14562 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14563 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14564 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14565 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14568 ## ---------------------------------- ##
14569 ## Report this to the libjava lists. ##
14570 ## ---------------------------------- ##
14573 sed "s/^/$as_me: WARNING: /" >&2
14576 echo "$as_me:$LINENO: checking for $ac_header" >&5
14577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14579 echo $ECHO_N "(cached) $ECHO_C" >&6
14581 eval "$as_ac_Header=\$ac_header_preproc"
14583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14584 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14587 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14588 cat >>confdefs.h
<<_ACEOF
14589 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14597 for ac_header
in inttypes.h
14599 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14601 echo "$as_me:$LINENO: checking for $ac_header" >&5
14602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14604 echo $ECHO_N "(cached) $ECHO_C" >&6
14606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14607 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14609 # Is the header compilable?
14610 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14611 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14612 cat >conftest.
$ac_ext <<_ACEOF
14615 cat confdefs.h
>>conftest.
$ac_ext
14616 cat >>conftest.
$ac_ext <<_ACEOF
14617 /* end confdefs.h. */
14618 $ac_includes_default
14619 #include <$ac_header>
14621 rm -f conftest.
$ac_objext
14622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14623 (eval $ac_compile) 2>conftest.er1
14625 grep -v '^ *+' conftest.er1
>conftest.err
14627 cat conftest.err
>&5
14628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14629 (exit $ac_status); } &&
14630 { ac_try
='test -z "$ac_c_werror_flag"
14631 || test ! -s conftest.err'
14632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14633 (eval $ac_try) 2>&5
14635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14636 (exit $ac_status); }; } &&
14637 { ac_try
='test -s conftest.$ac_objext'
14638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14639 (eval $ac_try) 2>&5
14641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14642 (exit $ac_status); }; }; then
14643 ac_header_compiler
=yes
14645 echo "$as_me: failed program was:" >&5
14646 sed 's/^/| /' conftest.
$ac_ext >&5
14648 ac_header_compiler
=no
14650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14651 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14652 echo "${ECHO_T}$ac_header_compiler" >&6
14654 # Is the header present?
14655 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14656 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14657 cat >conftest.
$ac_ext <<_ACEOF
14660 cat confdefs.h
>>conftest.
$ac_ext
14661 cat >>conftest.
$ac_ext <<_ACEOF
14662 /* end confdefs.h. */
14663 #include <$ac_header>
14665 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14666 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14668 grep -v '^ *+' conftest.er1
>conftest.err
14670 cat conftest.err
>&5
14671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672 (exit $ac_status); } >/dev
/null
; then
14673 if test -s conftest.err
; then
14674 ac_cpp_err
=$ac_c_preproc_warn_flag
14675 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14682 if test -z "$ac_cpp_err"; then
14683 ac_header_preproc
=yes
14685 echo "$as_me: failed program was:" >&5
14686 sed 's/^/| /' conftest.
$ac_ext >&5
14688 ac_header_preproc
=no
14690 rm -f conftest.err conftest.
$ac_ext
14691 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14692 echo "${ECHO_T}$ac_header_preproc" >&6
14694 # So? What about this header?
14695 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14697 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14698 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14699 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14700 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14701 ac_header_preproc
=yes
14704 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14705 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14706 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14707 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14708 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14709 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14710 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14711 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14712 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14713 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14714 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14715 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14718 ## ---------------------------------- ##
14719 ## Report this to the libjava lists. ##
14720 ## ---------------------------------- ##
14723 sed "s/^/$as_me: WARNING: /" >&2
14726 echo "$as_me:$LINENO: checking for $ac_header" >&5
14727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14729 echo $ECHO_N "(cached) $ECHO_C" >&6
14731 eval "$as_ac_Header=\$ac_header_preproc"
14733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14737 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14738 cat >>confdefs.h
<<_ACEOF
14739 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14743 cat >>confdefs.h
<<\_ACEOF
14744 #define HAVE_INTTYPES_H 1
14748 cat >>confdefs.h
<<\_ACEOF
14749 #define JV_HAVE_INTTYPES_H 1
14757 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
14758 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
14759 if test "${ac_cv_header_sys_wait_h+set}" = set; then
14760 echo $ECHO_N "(cached) $ECHO_C" >&6
14762 cat >conftest.
$ac_ext <<_ACEOF
14765 cat confdefs.h
>>conftest.
$ac_ext
14766 cat >>conftest.
$ac_ext <<_ACEOF
14767 /* end confdefs.h. */
14768 #include <sys/types.h>
14769 #include <sys/wait.h>
14770 #ifndef WEXITSTATUS
14771 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
14774 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
14782 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
14787 rm -f conftest.
$ac_objext
14788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14789 (eval $ac_compile) 2>conftest.er1
14791 grep -v '^ *+' conftest.er1
>conftest.err
14793 cat conftest.err
>&5
14794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14795 (exit $ac_status); } &&
14796 { ac_try
='test -z "$ac_c_werror_flag"
14797 || test ! -s conftest.err'
14798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14799 (eval $ac_try) 2>&5
14801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14802 (exit $ac_status); }; } &&
14803 { ac_try
='test -s conftest.$ac_objext'
14804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14805 (eval $ac_try) 2>&5
14807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14808 (exit $ac_status); }; }; then
14809 ac_cv_header_sys_wait_h
=yes
14811 echo "$as_me: failed program was:" >&5
14812 sed 's/^/| /' conftest.
$ac_ext >&5
14814 ac_cv_header_sys_wait_h
=no
14816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14818 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
14819 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
14820 if test $ac_cv_header_sys_wait_h = yes; then
14822 cat >>confdefs.h
<<\_ACEOF
14823 #define HAVE_SYS_WAIT_H 1
14829 echo "$as_me:$LINENO: checking for ssize_t" >&5
14830 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
14831 if test "${ac_cv_type_ssize_t+set}" = set; then
14832 echo $ECHO_N "(cached) $ECHO_C" >&6
14834 cat >conftest.
$ac_ext <<_ACEOF
14837 cat confdefs.h
>>conftest.
$ac_ext
14838 cat >>conftest.
$ac_ext <<_ACEOF
14839 /* end confdefs.h. */
14840 $ac_includes_default
14846 if (sizeof (ssize_t))
14852 rm -f conftest.
$ac_objext
14853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14854 (eval $ac_compile) 2>conftest.er1
14856 grep -v '^ *+' conftest.er1
>conftest.err
14858 cat conftest.err
>&5
14859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860 (exit $ac_status); } &&
14861 { ac_try
='test -z "$ac_c_werror_flag"
14862 || test ! -s conftest.err'
14863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14864 (eval $ac_try) 2>&5
14866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14867 (exit $ac_status); }; } &&
14868 { ac_try
='test -s conftest.$ac_objext'
14869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14870 (eval $ac_try) 2>&5
14872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14873 (exit $ac_status); }; }; then
14874 ac_cv_type_ssize_t
=yes
14876 echo "$as_me: failed program was:" >&5
14877 sed 's/^/| /' conftest.
$ac_ext >&5
14879 ac_cv_type_ssize_t
=no
14881 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14883 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
14884 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
14885 if test $ac_cv_type_ssize_t = yes; then
14889 cat >>confdefs.h
<<_ACEOF
14890 #define ssize_t int
14896 echo "$as_me:$LINENO: checking for in_addr_t" >&5
14897 echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6
14898 cat >conftest.
$ac_ext <<_ACEOF
14901 cat confdefs.h
>>conftest.
$ac_ext
14902 cat >>conftest.
$ac_ext <<_ACEOF
14903 /* end confdefs.h. */
14904 #include <sys/types.h>
14906 #include <stdlib.h>
14907 #include <stddef.h>
14909 #if HAVE_NETINET_IN_H
14910 #include <netinet/in.h>
14920 rm -f conftest.
$ac_objext
14921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14922 (eval $ac_compile) 2>conftest.er1
14924 grep -v '^ *+' conftest.er1
>conftest.err
14926 cat conftest.err
>&5
14927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14928 (exit $ac_status); } &&
14929 { ac_try
='test -z "$ac_c_werror_flag"
14930 || test ! -s conftest.err'
14931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14932 (eval $ac_try) 2>&5
14934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14935 (exit $ac_status); }; } &&
14936 { ac_try
='test -s conftest.$ac_objext'
14937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14938 (eval $ac_try) 2>&5
14940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941 (exit $ac_status); }; }; then
14943 cat >>confdefs.h
<<\_ACEOF
14944 #define HAVE_IN_ADDR_T 1
14947 echo "$as_me:$LINENO: result: yes" >&5
14948 echo "${ECHO_T}yes" >&6
14950 echo "$as_me: failed program was:" >&5
14951 sed 's/^/| /' conftest.
$ac_ext >&5
14953 echo "$as_me:$LINENO: result: no" >&5
14954 echo "${ECHO_T}no" >&6
14956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14958 echo "$as_me:$LINENO: checking whether struct ip_mreq is in netinet/in.h" >&5
14959 echo $ECHO_N "checking whether struct ip_mreq is in netinet/in.h... $ECHO_C" >&6
14960 cat >conftest.
$ac_ext <<_ACEOF
14963 cat confdefs.h
>>conftest.
$ac_ext
14964 cat >>conftest.
$ac_ext <<_ACEOF
14965 /* end confdefs.h. */
14966 #include <netinet/in.h>
14970 struct ip_mreq mreq;
14975 rm -f conftest.
$ac_objext
14976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14977 (eval $ac_compile) 2>conftest.er1
14979 grep -v '^ *+' conftest.er1
>conftest.err
14981 cat conftest.err
>&5
14982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14983 (exit $ac_status); } &&
14984 { ac_try
='test -z "$ac_c_werror_flag"
14985 || test ! -s conftest.err'
14986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14987 (eval $ac_try) 2>&5
14989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14990 (exit $ac_status); }; } &&
14991 { ac_try
='test -s conftest.$ac_objext'
14992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14993 (eval $ac_try) 2>&5
14995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14996 (exit $ac_status); }; }; then
14998 cat >>confdefs.h
<<\_ACEOF
14999 #define HAVE_STRUCT_IP_MREQ 1
15002 echo "$as_me:$LINENO: result: yes" >&5
15003 echo "${ECHO_T}yes" >&6
15005 echo "$as_me: failed program was:" >&5
15006 sed 's/^/| /' conftest.
$ac_ext >&5
15008 echo "$as_me:$LINENO: result: no" >&5
15009 echo "${ECHO_T}no" >&6
15011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15013 echo "$as_me:$LINENO: checking whether struct ipv6_mreq is in netinet/in.h" >&5
15014 echo $ECHO_N "checking whether struct ipv6_mreq is in netinet/in.h... $ECHO_C" >&6
15015 cat >conftest.
$ac_ext <<_ACEOF
15018 cat confdefs.h
>>conftest.
$ac_ext
15019 cat >>conftest.
$ac_ext <<_ACEOF
15020 /* end confdefs.h. */
15021 #include <netinet/in.h>
15025 struct ipv6_mreq mreq6;
15030 rm -f conftest.
$ac_objext
15031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15032 (eval $ac_compile) 2>conftest.er1
15034 grep -v '^ *+' conftest.er1
>conftest.err
15036 cat conftest.err
>&5
15037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15038 (exit $ac_status); } &&
15039 { ac_try
='test -z "$ac_c_werror_flag"
15040 || test ! -s conftest.err'
15041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15042 (eval $ac_try) 2>&5
15044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15045 (exit $ac_status); }; } &&
15046 { ac_try
='test -s conftest.$ac_objext'
15047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15048 (eval $ac_try) 2>&5
15050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15051 (exit $ac_status); }; }; then
15053 cat >>confdefs.h
<<\_ACEOF
15054 #define HAVE_STRUCT_IPV6_MREQ 1
15057 echo "$as_me:$LINENO: result: yes" >&5
15058 echo "${ECHO_T}yes" >&6
15060 echo "$as_me: failed program was:" >&5
15061 sed 's/^/| /' conftest.
$ac_ext >&5
15063 echo "$as_me:$LINENO: result: no" >&5
15064 echo "${ECHO_T}no" >&6
15066 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15068 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
15069 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
15070 cat >conftest.
$ac_ext <<_ACEOF
15073 cat confdefs.h
>>conftest.
$ac_ext
15074 cat >>conftest.
$ac_ext <<_ACEOF
15075 /* end confdefs.h. */
15076 #include <netinet/in.h>
15080 struct sockaddr_in6 addr6;
15085 rm -f conftest.
$ac_objext
15086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15087 (eval $ac_compile) 2>conftest.er1
15089 grep -v '^ *+' conftest.er1
>conftest.err
15091 cat conftest.err
>&5
15092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15093 (exit $ac_status); } &&
15094 { ac_try
='test -z "$ac_c_werror_flag"
15095 || test ! -s conftest.err'
15096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15097 (eval $ac_try) 2>&5
15099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15100 (exit $ac_status); }; } &&
15101 { ac_try
='test -s conftest.$ac_objext'
15102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15103 (eval $ac_try) 2>&5
15105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15106 (exit $ac_status); }; }; then
15108 cat >>confdefs.h
<<\_ACEOF
15109 #define HAVE_INET6 1
15112 echo "$as_me:$LINENO: result: yes" >&5
15113 echo "${ECHO_T}yes" >&6
15115 echo "$as_me: failed program was:" >&5
15116 sed 's/^/| /' conftest.
$ac_ext >&5
15118 echo "$as_me:$LINENO: result: no" >&5
15119 echo "${ECHO_T}no" >&6
15121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15123 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
15124 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
15125 cat >conftest.
$ac_ext <<_ACEOF
15128 cat confdefs.h
>>conftest.
$ac_ext
15129 cat >>conftest.
$ac_ext <<_ACEOF
15130 /* end confdefs.h. */
15131 #define _POSIX_PII_SOCKET
15132 #include <sys/types.h>
15133 #include <sys/socket.h>
15142 rm -f conftest.
$ac_objext
15143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15144 (eval $ac_compile) 2>conftest.er1
15146 grep -v '^ *+' conftest.er1
>conftest.err
15148 cat conftest.err
>&5
15149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15150 (exit $ac_status); } &&
15151 { ac_try
='test -z "$ac_c_werror_flag"
15152 || test ! -s conftest.err'
15153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15154 (eval $ac_try) 2>&5
15156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15157 (exit $ac_status); }; } &&
15158 { ac_try
='test -s conftest.$ac_objext'
15159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15160 (eval $ac_try) 2>&5
15162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15163 (exit $ac_status); }; }; then
15165 cat >>confdefs.h
<<\_ACEOF
15166 #define HAVE_SOCKLEN_T 1
15169 echo "$as_me:$LINENO: result: yes" >&5
15170 echo "${ECHO_T}yes" >&6
15172 echo "$as_me: failed program was:" >&5
15173 sed 's/^/| /' conftest.
$ac_ext >&5
15175 echo "$as_me:$LINENO: result: no" >&5
15176 echo "${ECHO_T}no" >&6
15178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15180 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
15181 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
15182 cat >conftest.
$ac_ext <<_ACEOF
15185 cat confdefs.h
>>conftest.
$ac_ext
15186 cat >>conftest.
$ac_ext <<_ACEOF
15187 /* end confdefs.h. */
15192 struct tm tim; tim.tm_gmtoff = 0;
15197 rm -f conftest.
$ac_objext
15198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15199 (eval $ac_compile) 2>conftest.er1
15201 grep -v '^ *+' conftest.er1
>conftest.err
15203 cat conftest.err
>&5
15204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15205 (exit $ac_status); } &&
15206 { ac_try
='test -z "$ac_c_werror_flag"
15207 || test ! -s conftest.err'
15208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15209 (eval $ac_try) 2>&5
15211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15212 (exit $ac_status); }; } &&
15213 { ac_try
='test -s conftest.$ac_objext'
15214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15215 (eval $ac_try) 2>&5
15217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15218 (exit $ac_status); }; }; then
15220 cat >>confdefs.h
<<\_ACEOF
15221 #define STRUCT_TM_HAS_GMTOFF 1
15224 echo "$as_me:$LINENO: result: yes" >&5
15225 echo "${ECHO_T}yes" >&6
15227 echo "$as_me: failed program was:" >&5
15228 sed 's/^/| /' conftest.
$ac_ext >&5
15230 echo "$as_me:$LINENO: result: no" >&5
15231 echo "${ECHO_T}no" >&6
15232 echo "$as_me:$LINENO: checking for global timezone variable" >&5
15233 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
15234 cat >conftest.
$ac_ext <<_ACEOF
15237 cat confdefs.h
>>conftest.
$ac_ext
15238 cat >>conftest.
$ac_ext <<_ACEOF
15239 /* end confdefs.h. */
15244 void i(){long z2 = 2*timezone;}
15249 rm -f conftest.
$ac_objext
15250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15251 (eval $ac_compile) 2>conftest.er1
15253 grep -v '^ *+' conftest.er1
>conftest.err
15255 cat conftest.err
>&5
15256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15257 (exit $ac_status); } &&
15258 { ac_try
='test -z "$ac_c_werror_flag"
15259 || test ! -s conftest.err'
15260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15261 (eval $ac_try) 2>&5
15263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15264 (exit $ac_status); }; } &&
15265 { ac_try
='test -s conftest.$ac_objext'
15266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15267 (eval $ac_try) 2>&5
15269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15270 (exit $ac_status); }; }; then
15272 cat >>confdefs.h
<<\_ACEOF
15273 #define HAVE_TIMEZONE 1
15276 echo "$as_me:$LINENO: result: yes" >&5
15277 echo "${ECHO_T}yes" >&6
15279 echo "$as_me: failed program was:" >&5
15280 sed 's/^/| /' conftest.
$ac_ext >&5
15282 echo "$as_me:$LINENO: result: no" >&5
15283 echo "${ECHO_T}no" >&6
15284 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
15285 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
15286 cat >conftest.
$ac_ext <<_ACEOF
15289 cat confdefs.h
>>conftest.
$ac_ext
15290 cat >>conftest.
$ac_ext <<_ACEOF
15291 /* end confdefs.h. */
15296 long z2 = _timezone;
15301 rm -f conftest.
$ac_objext
15302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15303 (eval $ac_compile) 2>conftest.er1
15305 grep -v '^ *+' conftest.er1
>conftest.err
15307 cat conftest.err
>&5
15308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15309 (exit $ac_status); } &&
15310 { ac_try
='test -z "$ac_c_werror_flag"
15311 || test ! -s conftest.err'
15312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15313 (eval $ac_try) 2>&5
15315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15316 (exit $ac_status); }; } &&
15317 { ac_try
='test -s conftest.$ac_objext'
15318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15319 (eval $ac_try) 2>&5
15321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15322 (exit $ac_status); }; }; then
15324 cat >>confdefs.h
<<\_ACEOF
15325 #define HAVE_UNDERSCORE_TIMEZONE 1
15328 echo "$as_me:$LINENO: result: yes" >&5
15329 echo "${ECHO_T}yes" >&6
15331 echo "$as_me: failed program was:" >&5
15332 sed 's/^/| /' conftest.
$ac_ext >&5
15334 echo "$as_me:$LINENO: result: no" >&5
15335 echo "${ECHO_T}no" >&6
15337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15343 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15344 # for constant arguments. Useless!
15345 echo "$as_me:$LINENO: checking for working alloca.h" >&5
15346 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
15347 if test "${ac_cv_working_alloca_h+set}" = set; then
15348 echo $ECHO_N "(cached) $ECHO_C" >&6
15350 if test x
$gcc_no_link = xyes
; then
15351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15353 { (exit 1); exit 1; }; }
15355 cat >conftest.
$ac_ext <<_ACEOF
15358 cat confdefs.h
>>conftest.
$ac_ext
15359 cat >>conftest.
$ac_ext <<_ACEOF
15360 /* end confdefs.h. */
15361 #include <alloca.h>
15365 char *p = (char *) alloca (2 * sizeof (int));
15370 rm -f conftest.
$ac_objext conftest
$ac_exeext
15371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15372 (eval $ac_link) 2>conftest.er1
15374 grep -v '^ *+' conftest.er1
>conftest.err
15376 cat conftest.err
>&5
15377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15378 (exit $ac_status); } &&
15379 { ac_try
='test -z "$ac_c_werror_flag"
15380 || test ! -s conftest.err'
15381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15382 (eval $ac_try) 2>&5
15384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15385 (exit $ac_status); }; } &&
15386 { ac_try
='test -s conftest$ac_exeext'
15387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15388 (eval $ac_try) 2>&5
15390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15391 (exit $ac_status); }; }; then
15392 ac_cv_working_alloca_h
=yes
15394 echo "$as_me: failed program was:" >&5
15395 sed 's/^/| /' conftest.
$ac_ext >&5
15397 ac_cv_working_alloca_h
=no
15399 rm -f conftest.err conftest.
$ac_objext \
15400 conftest
$ac_exeext conftest.
$ac_ext
15402 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15403 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
15404 if test $ac_cv_working_alloca_h = yes; then
15406 cat >>confdefs.h
<<\_ACEOF
15407 #define HAVE_ALLOCA_H 1
15412 echo "$as_me:$LINENO: checking for alloca" >&5
15413 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
15414 if test "${ac_cv_func_alloca_works+set}" = set; then
15415 echo $ECHO_N "(cached) $ECHO_C" >&6
15417 if test x
$gcc_no_link = xyes
; then
15418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15420 { (exit 1); exit 1; }; }
15422 cat >conftest.
$ac_ext <<_ACEOF
15425 cat confdefs.h
>>conftest.
$ac_ext
15426 cat >>conftest.
$ac_ext <<_ACEOF
15427 /* end confdefs.h. */
15429 # define alloca __builtin_alloca
15432 # include <malloc.h>
15433 # define alloca _alloca
15436 # include <alloca.h>
15441 # ifndef alloca /* predefined by HP cc +Olibcalls */
15452 char *p = (char *) alloca (1);
15457 rm -f conftest.
$ac_objext conftest
$ac_exeext
15458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15459 (eval $ac_link) 2>conftest.er1
15461 grep -v '^ *+' conftest.er1
>conftest.err
15463 cat conftest.err
>&5
15464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15465 (exit $ac_status); } &&
15466 { ac_try
='test -z "$ac_c_werror_flag"
15467 || test ! -s conftest.err'
15468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15469 (eval $ac_try) 2>&5
15471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15472 (exit $ac_status); }; } &&
15473 { ac_try
='test -s conftest$ac_exeext'
15474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15475 (eval $ac_try) 2>&5
15477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15478 (exit $ac_status); }; }; then
15479 ac_cv_func_alloca_works
=yes
15481 echo "$as_me: failed program was:" >&5
15482 sed 's/^/| /' conftest.
$ac_ext >&5
15484 ac_cv_func_alloca_works
=no
15486 rm -f conftest.err conftest.
$ac_objext \
15487 conftest
$ac_exeext conftest.
$ac_ext
15489 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15490 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
15492 if test $ac_cv_func_alloca_works = yes; then
15494 cat >>confdefs.h
<<\_ACEOF
15495 #define HAVE_ALLOCA 1
15499 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15500 # that cause trouble. Some versions do not even contain alloca or
15501 # contain a buggy version. If you still want to use their alloca,
15502 # use ar to extract alloca.o from them instead of compiling alloca.c.
15504 ALLOCA
=alloca.
$ac_objext
15506 cat >>confdefs.h
<<\_ACEOF
15511 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15512 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
15513 if test "${ac_cv_os_cray+set}" = set; then
15514 echo $ECHO_N "(cached) $ECHO_C" >&6
15516 cat >conftest.
$ac_ext <<_ACEOF
15519 cat confdefs.h
>>conftest.
$ac_ext
15520 cat >>conftest.
$ac_ext <<_ACEOF
15521 /* end confdefs.h. */
15522 #if defined(CRAY) && ! defined(CRAY2)
15529 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15530 $EGREP "webecray" >/dev
/null
2>&1; then
15538 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15539 echo "${ECHO_T}$ac_cv_os_cray" >&6
15540 if test $ac_cv_os_cray = yes; then
15541 for ac_func
in _getb67 GETB67 getb67
; do
15542 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15543 echo "$as_me:$LINENO: checking for $ac_func" >&5
15544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15545 if eval "test \"\${$as_ac_var+set}\" = set"; then
15546 echo $ECHO_N "(cached) $ECHO_C" >&6
15548 if test x
$gcc_no_link = xyes
; then
15549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15551 { (exit 1); exit 1; }; }
15553 cat >conftest.
$ac_ext <<_ACEOF
15556 cat confdefs.h
>>conftest.
$ac_ext
15557 cat >>conftest.
$ac_ext <<_ACEOF
15558 /* end confdefs.h. */
15559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15561 #define $ac_func innocuous_$ac_func
15563 /* System header to define __stub macros and hopefully few prototypes,
15564 which can conflict with char $ac_func (); below.
15565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15566 <limits.h> exists even on freestanding compilers. */
15569 # include <limits.h>
15571 # include <assert.h>
15576 /* Override any gcc2 internal prototype to avoid an error. */
15581 /* We use char because int might match the return type of a gcc2
15582 builtin and then its argument prototype would still apply. */
15584 /* The GNU C library defines this for functions which it implements
15585 to always fail with ENOSYS. Some functions are actually named
15586 something starting with __ and the normal name is an alias. */
15587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15590 char (*f) () = $ac_func;
15599 return f != $ac_func;
15604 rm -f conftest.
$ac_objext conftest
$ac_exeext
15605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15606 (eval $ac_link) 2>conftest.er1
15608 grep -v '^ *+' conftest.er1
>conftest.err
15610 cat conftest.err
>&5
15611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15612 (exit $ac_status); } &&
15613 { ac_try
='test -z "$ac_c_werror_flag"
15614 || test ! -s conftest.err'
15615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15616 (eval $ac_try) 2>&5
15618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15619 (exit $ac_status); }; } &&
15620 { ac_try
='test -s conftest$ac_exeext'
15621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15622 (eval $ac_try) 2>&5
15624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15625 (exit $ac_status); }; }; then
15626 eval "$as_ac_var=yes"
15628 echo "$as_me: failed program was:" >&5
15629 sed 's/^/| /' conftest.
$ac_ext >&5
15631 eval "$as_ac_var=no"
15633 rm -f conftest.err conftest.
$ac_objext \
15634 conftest
$ac_exeext conftest.
$ac_ext
15636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15638 if test `eval echo '${'$as_ac_var'}'` = yes; then
15640 cat >>confdefs.h
<<_ACEOF
15641 #define CRAY_STACKSEG_END $ac_func
15650 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
15651 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
15652 if test "${ac_cv_c_stack_direction+set}" = set; then
15653 echo $ECHO_N "(cached) $ECHO_C" >&6
15655 if test "$cross_compiling" = yes; then
15656 ac_cv_c_stack_direction
=0
15658 cat >conftest.
$ac_ext <<_ACEOF
15661 cat confdefs.h
>>conftest.
$ac_ext
15662 cat >>conftest.
$ac_ext <<_ACEOF
15663 /* end confdefs.h. */
15665 find_stack_direction ()
15667 static char *addr = 0;
15672 return find_stack_direction ();
15675 return (&dummy > addr) ? 1 : -1;
15681 exit (find_stack_direction () < 0);
15684 rm -f conftest
$ac_exeext
15685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15686 (eval $ac_link) 2>&5
15688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15689 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15691 (eval $ac_try) 2>&5
15693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15694 (exit $ac_status); }; }; then
15695 ac_cv_c_stack_direction
=1
15697 echo "$as_me: program exited with status $ac_status" >&5
15698 echo "$as_me: failed program was:" >&5
15699 sed 's/^/| /' conftest.
$ac_ext >&5
15701 ( exit $ac_status )
15702 ac_cv_c_stack_direction
=-1
15704 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15707 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
15708 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
15710 cat >>confdefs.h
<<_ACEOF
15711 #define STACK_DIRECTION $ac_cv_c_stack_direction
15717 if test x
$gcc_no_link = xyes
; then
15718 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset
; then
15719 ac_cv_func_mmap_fixed_mapped
=no
15722 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset
; then
15725 for ac_header
in stdlib.h unistd.h
15727 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15729 echo "$as_me:$LINENO: checking for $ac_header" >&5
15730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15732 echo $ECHO_N "(cached) $ECHO_C" >&6
15734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15735 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15737 # Is the header compilable?
15738 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15739 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15740 cat >conftest.
$ac_ext <<_ACEOF
15743 cat confdefs.h
>>conftest.
$ac_ext
15744 cat >>conftest.
$ac_ext <<_ACEOF
15745 /* end confdefs.h. */
15746 $ac_includes_default
15747 #include <$ac_header>
15749 rm -f conftest.
$ac_objext
15750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15751 (eval $ac_compile) 2>conftest.er1
15753 grep -v '^ *+' conftest.er1
>conftest.err
15755 cat conftest.err
>&5
15756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15757 (exit $ac_status); } &&
15758 { ac_try
='test -z "$ac_c_werror_flag"
15759 || test ! -s conftest.err'
15760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15761 (eval $ac_try) 2>&5
15763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15764 (exit $ac_status); }; } &&
15765 { ac_try
='test -s conftest.$ac_objext'
15766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15767 (eval $ac_try) 2>&5
15769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15770 (exit $ac_status); }; }; then
15771 ac_header_compiler
=yes
15773 echo "$as_me: failed program was:" >&5
15774 sed 's/^/| /' conftest.
$ac_ext >&5
15776 ac_header_compiler
=no
15778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15779 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15780 echo "${ECHO_T}$ac_header_compiler" >&6
15782 # Is the header present?
15783 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15784 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15785 cat >conftest.
$ac_ext <<_ACEOF
15788 cat confdefs.h
>>conftest.
$ac_ext
15789 cat >>conftest.
$ac_ext <<_ACEOF
15790 /* end confdefs.h. */
15791 #include <$ac_header>
15793 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15794 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15796 grep -v '^ *+' conftest.er1
>conftest.err
15798 cat conftest.err
>&5
15799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15800 (exit $ac_status); } >/dev
/null
; then
15801 if test -s conftest.err
; then
15802 ac_cpp_err
=$ac_c_preproc_warn_flag
15803 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15810 if test -z "$ac_cpp_err"; then
15811 ac_header_preproc
=yes
15813 echo "$as_me: failed program was:" >&5
15814 sed 's/^/| /' conftest.
$ac_ext >&5
15816 ac_header_preproc
=no
15818 rm -f conftest.err conftest.
$ac_ext
15819 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15820 echo "${ECHO_T}$ac_header_preproc" >&6
15822 # So? What about this header?
15823 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15825 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15826 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15827 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15828 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15829 ac_header_preproc
=yes
15832 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15833 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15834 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15835 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15836 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15837 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15838 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15839 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15840 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15841 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15842 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15843 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15846 ## ---------------------------------- ##
15847 ## Report this to the libjava lists. ##
15848 ## ---------------------------------- ##
15851 sed "s/^/$as_me: WARNING: /" >&2
15854 echo "$as_me:$LINENO: checking for $ac_header" >&5
15855 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15856 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15857 echo $ECHO_N "(cached) $ECHO_C" >&6
15859 eval "$as_ac_Header=\$ac_header_preproc"
15861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15862 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15865 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15866 cat >>confdefs.h
<<_ACEOF
15867 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15875 for ac_func
in getpagesize
15877 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15878 echo "$as_me:$LINENO: checking for $ac_func" >&5
15879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15880 if eval "test \"\${$as_ac_var+set}\" = set"; then
15881 echo $ECHO_N "(cached) $ECHO_C" >&6
15883 if test x
$gcc_no_link = xyes
; then
15884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15886 { (exit 1); exit 1; }; }
15888 cat >conftest.
$ac_ext <<_ACEOF
15891 cat confdefs.h
>>conftest.
$ac_ext
15892 cat >>conftest.
$ac_ext <<_ACEOF
15893 /* end confdefs.h. */
15894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15896 #define $ac_func innocuous_$ac_func
15898 /* System header to define __stub macros and hopefully few prototypes,
15899 which can conflict with char $ac_func (); below.
15900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15901 <limits.h> exists even on freestanding compilers. */
15904 # include <limits.h>
15906 # include <assert.h>
15911 /* Override any gcc2 internal prototype to avoid an error. */
15916 /* We use char because int might match the return type of a gcc2
15917 builtin and then its argument prototype would still apply. */
15919 /* The GNU C library defines this for functions which it implements
15920 to always fail with ENOSYS. Some functions are actually named
15921 something starting with __ and the normal name is an alias. */
15922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15925 char (*f) () = $ac_func;
15934 return f != $ac_func;
15939 rm -f conftest.
$ac_objext conftest
$ac_exeext
15940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15941 (eval $ac_link) 2>conftest.er1
15943 grep -v '^ *+' conftest.er1
>conftest.err
15945 cat conftest.err
>&5
15946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15947 (exit $ac_status); } &&
15948 { ac_try
='test -z "$ac_c_werror_flag"
15949 || test ! -s conftest.err'
15950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15951 (eval $ac_try) 2>&5
15953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15954 (exit $ac_status); }; } &&
15955 { ac_try
='test -s conftest$ac_exeext'
15956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15957 (eval $ac_try) 2>&5
15959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15960 (exit $ac_status); }; }; then
15961 eval "$as_ac_var=yes"
15963 echo "$as_me: failed program was:" >&5
15964 sed 's/^/| /' conftest.
$ac_ext >&5
15966 eval "$as_ac_var=no"
15968 rm -f conftest.err conftest.
$ac_objext \
15969 conftest
$ac_exeext conftest.
$ac_ext
15971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15973 if test `eval echo '${'$as_ac_var'}'` = yes; then
15974 cat >>confdefs.h
<<_ACEOF
15975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15981 echo "$as_me:$LINENO: checking for working mmap" >&5
15982 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
15983 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
15984 echo $ECHO_N "(cached) $ECHO_C" >&6
15986 if test "$cross_compiling" = yes; then
15987 ac_cv_func_mmap_fixed_mapped
=no
15989 cat >conftest.
$ac_ext <<_ACEOF
15992 cat confdefs.h
>>conftest.
$ac_ext
15993 cat >>conftest.
$ac_ext <<_ACEOF
15994 /* end confdefs.h. */
15995 $ac_includes_default
15996 /* malloc might have been renamed as rpl_malloc. */
15999 /* Thanks to Mike Haertel and Jim Avera for this test.
16000 Here is a matrix of mmap possibilities:
16001 mmap private not fixed
16002 mmap private fixed at somewhere currently unmapped
16003 mmap private fixed at somewhere already mapped
16004 mmap shared not fixed
16005 mmap shared fixed at somewhere currently unmapped
16006 mmap shared fixed at somewhere already mapped
16007 For private mappings, we should verify that changes cannot be read()
16008 back from the file, nor mmap's back from the file at a different
16009 address. (There have been systems where private was not correctly
16010 implemented like the infamous i386 svr4.0, and systems where the
16011 VM page cache was not coherent with the file system buffer cache
16012 like early versions of FreeBSD and possibly contemporary NetBSD.)
16013 For shared mappings, we should conversely verify that changes get
16014 propagated back to all the places they're supposed to be.
16016 Grep wants private fixed already mapped.
16017 The main things grep needs to know about mmap are:
16018 * does it exist and is it safe to write into the mmap'd area
16019 * how to use it (BSD variants) */
16022 #include <sys/mman.h>
16024 #if !STDC_HEADERS && !HAVE_STDLIB_H
16028 /* This mess was copied from the GNU getpagesize.h. */
16029 #if !HAVE_GETPAGESIZE
16030 /* Assume that all systems that can run configure have sys/param.h. */
16031 # if !HAVE_SYS_PARAM_H
16032 # define HAVE_SYS_PARAM_H 1
16035 # ifdef _SC_PAGESIZE
16036 # define getpagesize() sysconf(_SC_PAGESIZE)
16037 # else /* no _SC_PAGESIZE */
16038 # if HAVE_SYS_PARAM_H
16039 # include <sys/param.h>
16040 # ifdef EXEC_PAGESIZE
16041 # define getpagesize() EXEC_PAGESIZE
16042 # else /* no EXEC_PAGESIZE */
16044 # define getpagesize() NBPG * CLSIZE
16047 # endif /* no CLSIZE */
16048 # else /* no NBPG */
16050 # define getpagesize() NBPC
16051 # else /* no NBPC */
16053 # define getpagesize() PAGESIZE
16054 # endif /* PAGESIZE */
16055 # endif /* no NBPC */
16056 # endif /* no NBPG */
16057 # endif /* no EXEC_PAGESIZE */
16058 # else /* no HAVE_SYS_PARAM_H */
16059 # define getpagesize() 8192 /* punt totally */
16060 # endif /* no HAVE_SYS_PARAM_H */
16061 # endif /* no _SC_PAGESIZE */
16063 #endif /* no HAVE_GETPAGESIZE */
16068 char *data, *data2, *data3;
16072 pagesize = getpagesize ();
16074 /* First, make a file with some known garbage in it. */
16075 data = (char *) malloc (pagesize);
16078 for (i = 0; i < pagesize; ++i)
16079 *(data + i) = rand ();
16081 fd = creat ("conftest.mmap", 0600);
16084 if (write (fd, data, pagesize) != pagesize)
16088 /* Next, try to mmap the file at a fixed address which already has
16089 something else allocated at it. If we can, also make sure that
16090 we see the same garbage. */
16091 fd = open ("conftest.mmap", O_RDWR);
16094 data2 = (char *) malloc (2 * pagesize);
16097 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
16098 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
16099 MAP_PRIVATE | MAP_FIXED, fd, 0L))
16101 for (i = 0; i < pagesize; ++i)
16102 if (*(data + i) != *(data2 + i))
16105 /* Finally, make sure that changes to the mapped area do not
16106 percolate back to the file as seen by read(). (This is a bug on
16107 some variants of i386 svr4.0.) */
16108 for (i = 0; i < pagesize; ++i)
16109 *(data2 + i) = *(data2 + i) + 1;
16110 data3 = (char *) malloc (pagesize);
16113 if (read (fd, data3, pagesize) != pagesize)
16115 for (i = 0; i < pagesize; ++i)
16116 if (*(data + i) != *(data3 + i))
16122 rm -f conftest
$ac_exeext
16123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16124 (eval $ac_link) 2>&5
16126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16129 (eval $ac_try) 2>&5
16131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16132 (exit $ac_status); }; }; then
16133 ac_cv_func_mmap_fixed_mapped
=yes
16135 echo "$as_me: program exited with status $ac_status" >&5
16136 echo "$as_me: failed program was:" >&5
16137 sed 's/^/| /' conftest.
$ac_ext >&5
16139 ( exit $ac_status )
16140 ac_cv_func_mmap_fixed_mapped
=no
16142 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16145 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
16146 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
16147 if test $ac_cv_func_mmap_fixed_mapped = yes; then
16149 cat >>confdefs.h
<<\_ACEOF
16150 #define HAVE_MMAP 1
16154 rm -f conftest.mmap
16158 for ac_prog
in perl
16160 # Extract the first word of "$ac_prog", so it can be a program name with args.
16161 set dummy
$ac_prog; ac_word
=$2
16162 echo "$as_me:$LINENO: checking for $ac_word" >&5
16163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16164 if test "${ac_cv_prog_PERL+set}" = set; then
16165 echo $ECHO_N "(cached) $ECHO_C" >&6
16167 if test -n "$PERL"; then
16168 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
16170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16171 for as_dir
in $PATH
16174 test -z "$as_dir" && as_dir
=.
16175 for ac_exec_ext
in '' $ac_executable_extensions; do
16176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16177 ac_cv_prog_PERL
="$ac_prog"
16178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16186 PERL
=$ac_cv_prog_PERL
16187 if test -n "$PERL"; then
16188 echo "$as_me:$LINENO: result: $PERL" >&5
16189 echo "${ECHO_T}$PERL" >&6
16191 echo "$as_me:$LINENO: result: no" >&5
16192 echo "${ECHO_T}no" >&6
16195 test -n "$PERL" && break
16197 test -n "$PERL" || PERL
="false"
16201 SIGNAL_HANDLER_AUX
=
16205 SIGNAL_HANDLER
=include
/i386-signal.h
16207 sparc
*-sun-solaris*)
16208 SIGNAL_HANDLER
=include
/sparc-signal.h
16211 # SYSDEP_SOURCES=sysdep/ia64.c
16212 # test -d sysdep || mkdir sysdep
16215 SIGNAL_HANDLER
=include
/pa-signal.h
16218 SIGNAL_HANDLER
=include
/dwarf2-signal.h
16221 SIGNAL_HANDLER
=include
/powerpc-signal.h
16224 SIGNAL_HANDLER
=include
/dwarf2-signal.h
16227 SIGNAL_HANDLER
=include
/s390-signal.h
16230 SIGNAL_HANDLER
=include
/x86_64-signal.h
16231 SIGNAL_HANDLER_AUX
=include
/i386-signal.h
16234 SIGNAL_HANDLER
=include
/dwarf2-signal.h
16237 SIGNAL_HANDLER
=include
/sh-signal.h
16240 SIGNAL_HANDLER
=include
/win32-signal.h
16243 SIGNAL_HANDLER
=include
/mips-signal.h
16246 SIGNAL_HANDLER
=include
/darwin-signal.h
16249 SIGNAL_HANDLER
=include
/default-signal.h
16253 # If we're using sjlj exceptions, forget what we just learned.
16254 if test "$enable_sjlj_exceptions" = yes; then
16255 SIGNAL_HANDLER
=include
/default-signal.h
16256 SIGNAL_HANDLER_AUX
=
16259 # Define here any compiler flags that you need in order to make backtrace() work.
16262 x86_64
*-*-linux*|i?
86-*)
16263 BACKTRACESPEC
=-fno-omit-frame-pointer
16270 if test -z "$SIGNAL_HANDLER_AUX"; then
16271 SIGNAL_HANDLER_AUX
=$SIGNAL_HANDLER
16274 ac_config_links
="$ac_config_links include/java-signal.h:$SIGNAL_HANDLER include/java-signal-aux.h:$SIGNAL_HANDLER_AUX"
16277 if test "${multilib}" = "yes"; then
16278 multilib_arg
="--enable-multilib"
16285 here
=`${PWDCMD-pwd}`
16288 # We get this from the environment.
16291 ac_config_files
="$ac_config_files Makefile libgcj.pc libgcj.spec libgcj-test.spec gnu/classpath/Configuration.java gcj/Makefile include/Makefile testsuite/Makefile"
16294 ac_config_commands
="$ac_config_commands default"
16297 cat >confcache
<<\_ACEOF
16298 # This file is a shell script that caches the results of configure
16299 # tests run on this system so they can be shared between configure
16300 # scripts and configure runs, see configure's option --config-cache.
16301 # It is not useful on other systems. If it contains results you don't
16302 # want to keep, you may remove or edit it.
16304 # config.status only pays attention to the cache file if you give it
16305 # the --recheck option to rerun configure.
16307 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16308 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16309 # following values.
16313 # The following way of writing the cache mishandles newlines in values,
16314 # but we know of no workaround that is simple, portable, and efficient.
16315 # So, don't put newlines in cache variables' values.
16316 # Ultrix sh set writes to stderr and can't be redirected directly,
16317 # and sets the high bit in the cache file unless we assign to the vars.
16320 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16322 # `set' does not quote correctly, so add quotes (double-quote
16323 # substitution turns \\\\ into \\, and sed turns \\ into \).
16326 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16329 # `set' quotes correctly as required by POSIX, so do not add quotes.
16331 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
16338 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16340 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16342 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
16343 if test -w $cache_file; then
16344 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
16345 cat confcache
>$cache_file
16347 echo "not updating unwritable cache $cache_file"
16352 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16353 # Let make expand exec_prefix.
16354 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16356 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16357 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16358 # trailing colons and then remove the whole line if VPATH becomes empty
16359 # (actually we leave an empty line to preserve line numbers).
16360 if test "x$srcdir" = x.
; then
16361 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
16362 s/:*\$(srcdir):*/:/;
16363 s/:*\${srcdir}:*/:/;
16365 s/^\([^=]*=[ ]*\):*/\1/;
16371 DEFS
=-DHAVE_CONFIG_H
16375 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16376 # 1. Remove the extension, and $U if already installed.
16377 ac_i
=`echo "$ac_i" |
16378 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
16380 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
16381 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
16383 LIBOBJS
=$ac_libobjs
16385 LTLIBOBJS
=$ac_ltlibobjs
16388 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16389 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
16390 Usually this means the macro was only invoked conditionally." >&5
16391 echo "$as_me: error: conditional \"AMDEP\" was never defined.
16392 Usually this means the macro was only invoked conditionally." >&2;}
16393 { (exit 1); exit 1; }; }
16395 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16396 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16397 Usually this means the macro was only invoked conditionally." >&5
16398 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16399 Usually this means the macro was only invoked conditionally." >&2;}
16400 { (exit 1); exit 1; }; }
16402 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16403 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
16404 Usually this means the macro was only invoked conditionally." >&5
16405 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
16406 Usually this means the macro was only invoked conditionally." >&2;}
16407 { (exit 1); exit 1; }; }
16409 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16410 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
16411 Usually this means the macro was only invoked conditionally." >&5
16412 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
16413 Usually this means the macro was only invoked conditionally." >&2;}
16414 { (exit 1); exit 1; }; }
16416 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
16417 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
16418 Usually this means the macro was only invoked conditionally." >&5
16419 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
16420 Usually this means the macro was only invoked conditionally." >&2;}
16421 { (exit 1); exit 1; }; }
16423 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
16424 { { echo "$as_me:$LINENO: error: conditional \"TESTSUBDIR\" was never defined.
16425 Usually this means the macro was only invoked conditionally." >&5
16426 echo "$as_me: error: conditional \"TESTSUBDIR\" was never defined.
16427 Usually this means the macro was only invoked conditionally." >&2;}
16428 { (exit 1); exit 1; }; }
16430 if test -z "${ONESTEP_TRUE}" && test -z "${ONESTEP_FALSE}"; then
16431 { { echo "$as_me:$LINENO: error: conditional \"ONESTEP\" was never defined.
16432 Usually this means the macro was only invoked conditionally." >&5
16433 echo "$as_me: error: conditional \"ONESTEP\" was never defined.
16434 Usually this means the macro was only invoked conditionally." >&2;}
16435 { (exit 1); exit 1; }; }
16437 if test -z "${USING_WIN32_PLATFORM_TRUE}" && test -z "${USING_WIN32_PLATFORM_FALSE}"; then
16438 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
16439 Usually this means the macro was only invoked conditionally." >&5
16440 echo "$as_me: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
16441 Usually this means the macro was only invoked conditionally." >&2;}
16442 { (exit 1); exit 1; }; }
16444 if test -z "${USING_POSIX_PLATFORM_TRUE}" && test -z "${USING_POSIX_PLATFORM_FALSE}"; then
16445 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
16446 Usually this means the macro was only invoked conditionally." >&5
16447 echo "$as_me: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
16448 Usually this means the macro was only invoked conditionally." >&2;}
16449 { (exit 1); exit 1; }; }
16451 if test -z "${USING_ECOS_PLATFORM_TRUE}" && test -z "${USING_ECOS_PLATFORM_FALSE}"; then
16452 { { echo "$as_me:$LINENO: error: conditional \"USING_ECOS_PLATFORM\" was never defined.
16453 Usually this means the macro was only invoked conditionally." >&5
16454 echo "$as_me: error: conditional \"USING_ECOS_PLATFORM\" was never defined.
16455 Usually this means the macro was only invoked conditionally." >&2;}
16456 { (exit 1); exit 1; }; }
16458 if test -z "${USING_DARWIN_CRT_TRUE}" && test -z "${USING_DARWIN_CRT_FALSE}"; then
16459 { { echo "$as_me:$LINENO: error: conditional \"USING_DARWIN_CRT\" was never defined.
16460 Usually this means the macro was only invoked conditionally." >&5
16461 echo "$as_me: error: conditional \"USING_DARWIN_CRT\" was never defined.
16462 Usually this means the macro was only invoked conditionally." >&2;}
16463 { (exit 1); exit 1; }; }
16465 if test -z "${XLIB_AWT_TRUE}" && test -z "${XLIB_AWT_FALSE}"; then
16466 { { echo "$as_me:$LINENO: error: conditional \"XLIB_AWT\" was never defined.
16467 Usually this means the macro was only invoked conditionally." >&5
16468 echo "$as_me: error: conditional \"XLIB_AWT\" was never defined.
16469 Usually this means the macro was only invoked conditionally." >&2;}
16470 { (exit 1); exit 1; }; }
16472 if test -z "${GTK_AWT_TRUE}" && test -z "${GTK_AWT_FALSE}"; then
16473 { { echo "$as_me:$LINENO: error: conditional \"GTK_AWT\" was never defined.
16474 Usually this means the macro was only invoked conditionally." >&5
16475 echo "$as_me: error: conditional \"GTK_AWT\" was never defined.
16476 Usually this means the macro was only invoked conditionally." >&2;}
16477 { (exit 1); exit 1; }; }
16479 if test -z "${GTK_CAIRO_TRUE}" && test -z "${GTK_CAIRO_FALSE}"; then
16480 { { echo "$as_me:$LINENO: error: conditional \"GTK_CAIRO\" was never defined.
16481 Usually this means the macro was only invoked conditionally." >&5
16482 echo "$as_me: error: conditional \"GTK_CAIRO\" was never defined.
16483 Usually this means the macro was only invoked conditionally." >&2;}
16484 { (exit 1); exit 1; }; }
16486 if test -z "${USING_BOEHMGC_TRUE}" && test -z "${USING_BOEHMGC_FALSE}"; then
16487 { { echo "$as_me:$LINENO: error: conditional \"USING_BOEHMGC\" was never defined.
16488 Usually this means the macro was only invoked conditionally." >&5
16489 echo "$as_me: error: conditional \"USING_BOEHMGC\" was never defined.
16490 Usually this means the macro was only invoked conditionally." >&2;}
16491 { (exit 1); exit 1; }; }
16493 if test -z "${USING_NOGC_TRUE}" && test -z "${USING_NOGC_FALSE}"; then
16494 { { echo "$as_me:$LINENO: error: conditional \"USING_NOGC\" was never defined.
16495 Usually this means the macro was only invoked conditionally." >&5
16496 echo "$as_me: error: conditional \"USING_NOGC\" was never defined.
16497 Usually this means the macro was only invoked conditionally." >&2;}
16498 { (exit 1); exit 1; }; }
16500 if test -z "${USING_POSIX_THREADS_TRUE}" && test -z "${USING_POSIX_THREADS_FALSE}"; then
16501 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_THREADS\" was never defined.
16502 Usually this means the macro was only invoked conditionally." >&5
16503 echo "$as_me: error: conditional \"USING_POSIX_THREADS\" was never defined.
16504 Usually this means the macro was only invoked conditionally." >&2;}
16505 { (exit 1); exit 1; }; }
16507 if test -z "${USING_WIN32_THREADS_TRUE}" && test -z "${USING_WIN32_THREADS_FALSE}"; then
16508 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_THREADS\" was never defined.
16509 Usually this means the macro was only invoked conditionally." >&5
16510 echo "$as_me: error: conditional \"USING_WIN32_THREADS\" was never defined.
16511 Usually this means the macro was only invoked conditionally." >&2;}
16512 { (exit 1); exit 1; }; }
16514 if test -z "${USING_NO_THREADS_TRUE}" && test -z "${USING_NO_THREADS_FALSE}"; then
16515 { { echo "$as_me:$LINENO: error: conditional \"USING_NO_THREADS\" was never defined.
16516 Usually this means the macro was only invoked conditionally." >&5
16517 echo "$as_me: error: conditional \"USING_NO_THREADS\" was never defined.
16518 Usually this means the macro was only invoked conditionally." >&2;}
16519 { (exit 1); exit 1; }; }
16521 if test -z "${USING_GCC_TRUE}" && test -z "${USING_GCC_FALSE}"; then
16522 { { echo "$as_me:$LINENO: error: conditional \"USING_GCC\" was never defined.
16523 Usually this means the macro was only invoked conditionally." >&5
16524 echo "$as_me: error: conditional \"USING_GCC\" was never defined.
16525 Usually this means the macro was only invoked conditionally." >&2;}
16526 { (exit 1); exit 1; }; }
16528 if test -z "${SUPPLY_BACKTRACE_TRUE}" && test -z "${SUPPLY_BACKTRACE_FALSE}"; then
16529 { { echo "$as_me:$LINENO: error: conditional \"SUPPLY_BACKTRACE\" was never defined.
16530 Usually this means the macro was only invoked conditionally." >&5
16531 echo "$as_me: error: conditional \"SUPPLY_BACKTRACE\" was never defined.
16532 Usually this means the macro was only invoked conditionally." >&2;}
16533 { (exit 1); exit 1; }; }
16535 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
16536 { { echo "$as_me:$LINENO: error: conditional \"NATIVE\" was never defined.
16537 Usually this means the macro was only invoked conditionally." >&5
16538 echo "$as_me: error: conditional \"NATIVE\" was never defined.
16539 Usually this means the macro was only invoked conditionally." >&2;}
16540 { (exit 1); exit 1; }; }
16542 if test -z "${NEEDS_DATA_START_TRUE}" && test -z "${NEEDS_DATA_START_FALSE}"; then
16543 { { echo "$as_me:$LINENO: error: conditional \"NEEDS_DATA_START\" was never defined.
16544 Usually this means the macro was only invoked conditionally." >&5
16545 echo "$as_me: error: conditional \"NEEDS_DATA_START\" was never defined.
16546 Usually this means the macro was only invoked conditionally." >&2;}
16547 { (exit 1); exit 1; }; }
16550 : ${CONFIG_STATUS=./config.status}
16551 ac_clean_files_save
=$ac_clean_files
16552 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16553 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
16554 echo "$as_me: creating $CONFIG_STATUS" >&6;}
16555 cat >$CONFIG_STATUS <<_ACEOF
16557 # Generated by $as_me.
16558 # Run this file to recreate the current configuration.
16559 # Compiler output produced by configure, useful for debugging
16560 # configure, is in config.log if it exists.
16563 ac_cs_recheck=false
16565 SHELL=\${CONFIG_SHELL-$SHELL}
16568 cat >>$CONFIG_STATUS <<\_ACEOF
16569 ## --------------------- ##
16570 ## M4sh Initialization. ##
16571 ## --------------------- ##
16573 # Be Bourne compatible
16574 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16577 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
16578 # is contrary to our usage. Disable this feature.
16579 alias -g '${1+"$@"}'='"$@"'
16580 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
16583 DUALCASE
=1; export DUALCASE
# for MKS sh
16585 # Support unset when possible.
16586 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
16593 # Work around bugs in pre-3.0 UWIN ksh.
16594 $as_unset ENV MAIL MAILPATH
16601 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
16602 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
16603 LC_TELEPHONE LC_TIME
16605 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
16606 eval $as_var=C
; export $as_var
16612 # Required to use basename.
16613 if expr a
: '\(a\)' >/dev
/null
2>&1; then
16619 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
16620 as_basename
=basename
16626 # Name of the executable.
16627 as_me
=`$as_basename "$0" ||
16628 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16629 X"$0" : 'X\(//\)$' \| \
16630 X"$0" : 'X\(/\)$' \| \
16631 . : '\(.\)' 2>/dev/null ||
16633 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
16634 /^X\/\(\/\/\)$/{ s//\1/; q; }
16635 /^X\/\(\/\).*/{ s//\1/; q; }
16639 # PATH needs CR, and LINENO needs CR and PATH.
16640 # Avoid depending upon Character Ranges.
16641 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16642 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16643 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16644 as_cr_digits
='0123456789'
16645 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16647 # The user is always right.
16648 if test "${PATH_SEPARATOR+set}" != set; then
16649 echo "#! /bin/sh" >conf$$.sh
16650 echo "exit 0" >>conf$$.sh
16652 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16661 as_lineno_1
=$LINENO
16662 as_lineno_2
=$LINENO
16663 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
16664 test "x$as_lineno_1" != "x$as_lineno_2" &&
16665 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
16666 # Find who we are. Look in the path if we contain no path at all
16669 *[\\/]* ) as_myself
=$0 ;;
16670 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16671 for as_dir
in $PATH
16674 test -z "$as_dir" && as_dir
=.
16675 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
16680 # We did not find ourselves, most probably we were run as `sh COMMAND'
16681 # in which case we are not to be found in the path.
16682 if test "x$as_myself" = x
; then
16685 if test ! -f "$as_myself"; then
16686 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
16687 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
16688 { (exit 1); exit 1; }; }
16690 case $CONFIG_SHELL in
16692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16693 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
16696 test -z "$as_dir" && as_dir
=.
16697 for as_base
in sh bash ksh sh5
; do
16700 if ("$as_dir/$as_base" -c '
16701 as_lineno_1=$LINENO
16702 as_lineno_2=$LINENO
16703 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
16704 test "x$as_lineno_1" != "x$as_lineno_2" &&
16705 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
16706 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
16707 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
16708 CONFIG_SHELL
=$as_dir/$as_base
16709 export CONFIG_SHELL
16710 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
16718 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
16719 # uniformly replaced by the line number. The first 'sed' inserts a
16720 # line-number line before each line; the second 'sed' does the real
16721 # work. The second script uses 'N' to pair each line-number line
16722 # with the numbered line, and appends trailing '-' during
16723 # substitution so that $LINENO is not a special case at line end.
16724 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
16725 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
16726 sed '=' <$as_myself |
16731 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
16734 s,^['$as_cr_digits']*\n,,
16735 ' >$as_me.lineno
&&
16736 chmod +x
$as_me.lineno ||
16737 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
16738 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
16739 { (exit 1); exit 1; }; }
16741 # Don't try to exec as it changes $[0], causing all sort of problems
16742 # (the dirname of $[0] is not the place where we might find the
16743 # original and so on. Autoconf is especially sensible to this).
16745 # Exit status is that of the last command.
16750 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
16751 *c
*,-n*) ECHO_N
= ECHO_C
='
16753 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
16754 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
16757 if expr a
: '\(a\)' >/dev
/null
2>&1; then
16763 rm -f conf$$ conf$$.exe conf$$.
file
16765 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16766 # We could just check for DJGPP; but this test a) works b) is more generic
16767 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
16768 if test -f conf$$.exe
; then
16769 # Don't use ln at all; we don't have any links
16774 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16779 rm -f conf$$ conf$$.exe conf$$.
file
16781 if mkdir
-p .
2>/dev
/null
; then
16784 test -d .
/-p && rmdir .
/-p
16788 as_executable_p
="test -f"
16790 # Sed expression to map a string onto a valid CPP name.
16791 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16793 # Sed expression to map a string onto a valid variable name.
16794 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16798 # We need space, tab and new line, in precisely that order.
16808 # Open the log real soon, to keep \$[0] and so on meaningful, and to
16809 # report actual input values of CONFIG_FILES etc. instead of their
16810 # values after options handling. Logging --version etc. is OK.
16814 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16815 ## Running $as_me. ##
16820 This file was extended by libjava $as_me version-unused, which was
16821 generated by GNU Autoconf 2.59. Invocation command line was
16823 CONFIG_FILES = $CONFIG_FILES
16824 CONFIG_HEADERS = $CONFIG_HEADERS
16825 CONFIG_LINKS = $CONFIG_LINKS
16826 CONFIG_COMMANDS = $CONFIG_COMMANDS
16830 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
16834 # Files that config.status was made for.
16835 if test -n "$ac_config_files"; then
16836 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
16839 if test -n "$ac_config_headers"; then
16840 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
16843 if test -n "$ac_config_links"; then
16844 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
16847 if test -n "$ac_config_commands"; then
16848 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
16851 cat >>$CONFIG_STATUS <<\_ACEOF
16854 \`$as_me' instantiates files from templates according to the
16855 current configuration.
16857 Usage: $0 [OPTIONS] [FILE]...
16859 -h, --help print this help, then exit
16860 -V, --version print version number, then exit
16861 -q, --quiet do not print progress messages
16862 -d, --debug don't remove temporary files
16863 --recheck update $as_me by reconfiguring in the same conditions
16864 --file=FILE[:TEMPLATE]
16865 instantiate the configuration file FILE
16866 --header=FILE[:TEMPLATE]
16867 instantiate the configuration header FILE
16869 Configuration files:
16872 Configuration headers:
16875 Configuration links:
16878 Configuration commands:
16881 Report bugs to <bug-autoconf@gnu.org>."
16884 cat >>$CONFIG_STATUS <<_ACEOF
16886 libjava config.status version-unused
16887 configured by $0, generated by GNU Autoconf 2.59,
16888 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
16890 Copyright (C) 2003 Free Software Foundation, Inc.
16891 This config.status script is free software; the Free Software Foundation
16892 gives unlimited permission to copy, distribute and modify it."
16897 cat >>$CONFIG_STATUS <<\_ACEOF
16898 # If no file are specified by the user, then we need to provide default
16899 # value. By we need to know if files were specified by the user.
16905 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
16906 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
16914 *) # This is not an option, so the user has probably given explicit
16917 ac_need_defaults
=false
;;
16921 # Handling of the options.
16923 cat >>$CONFIG_STATUS <<\_ACEOF
16924 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16926 --version |
--vers* |
-V )
16927 echo "$ac_cs_version"; exit 0 ;;
16929 # Conflict between --help and --header
16930 { { echo "$as_me:$LINENO: error: ambiguous option: $1
16931 Try \`$0 --help' for more information." >&5
16932 echo "$as_me: error: ambiguous option: $1
16933 Try \`$0 --help' for more information." >&2;}
16934 { (exit 1); exit 1; }; };;
16935 --help |
--hel |
-h )
16936 echo "$ac_cs_usage"; exit 0 ;;
16937 --debug |
--d* |
-d )
16939 --file |
--fil |
--fi |
--f )
16941 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
16942 ac_need_defaults
=false
;;
16943 --header |
--heade |
--head |
--hea )
16945 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
16946 ac_need_defaults
=false
;;
16947 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16948 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16951 # This is an error.
16952 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
16953 Try \`$0 --help' for more information." >&5
16954 echo "$as_me: error: unrecognized option: $1
16955 Try \`$0 --help' for more information." >&2;}
16956 { (exit 1); exit 1; }; } ;;
16958 *) ac_config_targets
="$ac_config_targets $1" ;;
16964 ac_configure_extra_args
=
16966 if $ac_cs_silent; then
16968 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16972 cat >>$CONFIG_STATUS <<_ACEOF
16973 if \$ac_cs_recheck; then
16974 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
16975 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16980 cat >>$CONFIG_STATUS <<_ACEOF
16982 # INIT-COMMANDS section.
16985 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16989 with_multisubdir=${with_multisubdir}
16990 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16991 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16992 libgcj_basedir=${libgcj_basedir}
16995 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
17002 cat >>$CONFIG_STATUS <<\_ACEOF
17003 for ac_config_target
in $ac_config_targets
17005 case "$ac_config_target" in
17006 # Handling of arguments.
17007 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17008 "libgcj.pc" ) CONFIG_FILES
="$CONFIG_FILES libgcj.pc" ;;
17009 "libgcj.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj.spec" ;;
17010 "libgcj-test.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj-test.spec" ;;
17011 "gnu/classpath/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
17012 "gcj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gcj/Makefile" ;;
17013 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
17014 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
17015 "include/platform.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/platform.h:include/$PLATFORMH" ;;
17016 "java/io/natFile.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc" ;;
17017 "java/lang/ConcreteProcess.java" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/ConcreteProcess.java:java/lang/${PLATFORM}Process.java" ;;
17018 "java/lang/natConcreteProcess.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc" ;;
17019 "java/net/natInetAddress.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natInetAddress.cc:java/net/natInetAddress${PLATFORMNET}.cc" ;;
17020 "java/net/natNetworkInterface.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natNetworkInterface.cc:java/net/natNetworkInterface${PLATFORMNET}.cc" ;;
17021 "gnu/java/net/natPlainSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc" ;;
17022 "gnu/java/net/natPlainDatagramSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc" ;;
17023 "gnu/java/nio/natPipeImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natPipeImpl.cc:gnu/java/nio/natPipeImpl${PLATFORM}.cc" ;;
17024 "gnu/java/nio/natSelectorImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natSelectorImpl.cc:gnu/java/nio/natSelectorImpl${PLATFORM}.cc" ;;
17025 "gnu/java/nio/channels/natFileChannelImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc" ;;
17026 "include/java-gc.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-gc.h:include/$GCHDR" ;;
17027 "include/java-threads.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-threads.h:include/$THREADH" ;;
17028 "sysdep/locks.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/locks.h:sysdep/$sysdeps_dir/locks.h" ;;
17029 "include/java-signal.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal.h:$SIGNAL_HANDLER" ;;
17030 "include/java-signal-aux.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal-aux.h:$SIGNAL_HANDLER_AUX" ;;
17031 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17032 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
17033 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
17034 "gcj/libgcj-config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS gcj/libgcj-config.h" ;;
17035 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
17036 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
17037 { (exit 1); exit 1; }; };;
17041 # If the user did not use the arguments to specify the items to instantiate,
17042 # then the envvar interface is used. Set only those that are not.
17043 # We use the long form for the default assignment because of an extremely
17044 # bizarre bug on SunOS 4.1.3.
17045 if $ac_need_defaults; then
17046 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17047 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17048 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
17049 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17052 # Have a temporary directory for convenience. Make it in the build tree
17053 # simply because there is no reason to put it here, and in addition,
17054 # creating and moving files from /tmp can sometimes cause problems.
17055 # Create a temporary directory, and hook for its removal unless debugging.
17058 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
17059 trap '{ (exit 1); exit 1; }' 1 2 13 15
17062 # Create a (secure) tmp directory for tmp files.
17065 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
17066 test -n "$tmp" && test -d "$tmp"
17069 tmp
=.
/confstat$$
-$RANDOM
17070 (umask 077 && mkdir
$tmp)
17073 echo "$me: cannot create a temporary directory in ." >&2
17074 { (exit 1); exit 1; }
17079 cat >>$CONFIG_STATUS <<_ACEOF
17082 # CONFIG_FILES section.
17085 # No need to generate the scripts if there are no CONFIG_FILES.
17086 # This happens for instance when ./config.status config.h
17087 if test -n "\$CONFIG_FILES"; then
17088 # Protect against being on the right side of a sed subst in config.status.
17089 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
17090 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
17091 s,@SHELL@,$SHELL,;t t
17092 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
17093 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
17094 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
17095 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
17096 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
17097 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
17098 s,@exec_prefix@,$exec_prefix,;t t
17099 s,@prefix@,$prefix,;t t
17100 s,@program_transform_name@,$program_transform_name,;t t
17101 s,@bindir@,$bindir,;t t
17102 s,@sbindir@,$sbindir,;t t
17103 s,@libexecdir@,$libexecdir,;t t
17104 s,@datadir@,$datadir,;t t
17105 s,@sysconfdir@,$sysconfdir,;t t
17106 s,@sharedstatedir@,$sharedstatedir,;t t
17107 s,@localstatedir@,$localstatedir,;t t
17108 s,@libdir@,$libdir,;t t
17109 s,@includedir@,$includedir,;t t
17110 s,@oldincludedir@,$oldincludedir,;t t
17111 s,@infodir@,$infodir,;t t
17112 s,@mandir@,$mandir,;t t
17113 s,@build_alias@,$build_alias,;t t
17114 s,@host_alias@,$host_alias,;t t
17115 s,@target_alias@,$target_alias,;t t
17116 s,@DEFS@,$DEFS,;t t
17117 s,@ECHO_C@,$ECHO_C,;t t
17118 s,@ECHO_N@,$ECHO_N,;t t
17119 s,@ECHO_T@,$ECHO_T,;t t
17120 s,@LIBS@,$LIBS,;t t
17121 s,@libgcj_basedir@,$libgcj_basedir,;t t
17122 s,@build@,$build,;t t
17123 s,@build_cpu@,$build_cpu,;t t
17124 s,@build_vendor@,$build_vendor,;t t
17125 s,@build_os@,$build_os,;t t
17126 s,@host@,$host,;t t
17127 s,@host_cpu@,$host_cpu,;t t
17128 s,@host_vendor@,$host_vendor,;t t
17129 s,@host_os@,$host_os,;t t
17130 s,@target@,$target,;t t
17131 s,@target_cpu@,$target_cpu,;t t
17132 s,@target_vendor@,$target_vendor,;t t
17133 s,@target_os@,$target_os,;t t
17134 s,@target_noncanonical@,$target_noncanonical,;t t
17135 s,@LN_S@,$LN_S,;t t
17136 s,@mkinstalldirs@,$mkinstalldirs,;t t
17138 s,@ac_ct_CC@,$ac_ct_CC,;t t
17139 s,@EXEEXT@,$EXEEXT,;t t
17140 s,@OBJEXT@,$OBJEXT,;t t
17142 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
17143 s,@CFLAGS@,$CFLAGS,;t t
17144 s,@CXXFLAGS@,$CXXFLAGS,;t t
17145 s,@LDFLAGS@,$LDFLAGS,;t t
17146 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
17147 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
17148 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
17149 s,@CYGPATH_W@,$CYGPATH_W,;t t
17150 s,@PACKAGE@,$PACKAGE,;t t
17151 s,@VERSION@,$VERSION,;t t
17152 s,@ACLOCAL@,$ACLOCAL,;t t
17153 s,@AUTOCONF@,$AUTOCONF,;t t
17154 s,@AUTOMAKE@,$AUTOMAKE,;t t
17155 s,@AUTOHEADER@,$AUTOHEADER,;t t
17156 s,@MAKEINFO@,$MAKEINFO,;t t
17157 s,@install_sh@,$install_sh,;t t
17158 s,@STRIP@,$STRIP,;t t
17159 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
17160 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
17161 s,@mkdir_p@,$mkdir_p,;t t
17163 s,@SET_MAKE@,$SET_MAKE,;t t
17164 s,@am__leading_dot@,$am__leading_dot,;t t
17165 s,@AMTAR@,$AMTAR,;t t
17166 s,@am__tar@,$am__tar,;t t
17167 s,@am__untar@,$am__untar,;t t
17168 s,@DEPDIR@,$DEPDIR,;t t
17169 s,@am__include@,$am__include,;t t
17170 s,@am__quote@,$am__quote,;t t
17171 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
17172 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
17173 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
17174 s,@CCDEPMODE@,$CCDEPMODE,;t t
17175 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
17176 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
17177 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
17178 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
17179 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
17181 s,@ac_ct_AS@,$ac_ct_AS,;t t
17183 s,@ac_ct_AR@,$ac_ct_AR,;t t
17184 s,@RANLIB@,$RANLIB,;t t
17185 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
17186 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
17187 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
17188 s,@MAINT@,$MAINT,;t t
17189 s,@LIBGCJ_CFLAGS@,$LIBGCJ_CFLAGS,;t t
17190 s,@LIBGCJ_CXXFLAGS@,$LIBGCJ_CXXFLAGS,;t t
17191 s,@LIBGCJ_JAVAFLAGS@,$LIBGCJ_JAVAFLAGS,;t t
17192 s,@INCLTDL@,$INCLTDL,;t t
17193 s,@LIBLTDL@,$LIBLTDL,;t t
17194 s,@DIRLTDL@,$DIRLTDL,;t t
17195 s,@LIBTOOL@,$LIBTOOL,;t t
17196 s,@CXXCPP@,$CXXCPP,;t t
17197 s,@CPPFLAGS@,$CPPFLAGS,;t t
17199 s,@GCJFLAGS@,$GCJFLAGS,;t t
17200 s,@GCJDEPMODE@,$GCJDEPMODE,;t t
17201 s,@am__fastdepGCJ_TRUE@,$am__fastdepGCJ_TRUE,;t t
17202 s,@am__fastdepGCJ_FALSE@,$am__fastdepGCJ_FALSE,;t t
17203 s,@subdirs@,$subdirs,;t t
17204 s,@COMPPATH@,$COMPPATH,;t t
17205 s,@TESTSUBDIR_TRUE@,$TESTSUBDIR_TRUE,;t t
17206 s,@TESTSUBDIR_FALSE@,$TESTSUBDIR_FALSE,;t t
17207 s,@ONESTEP_TRUE@,$ONESTEP_TRUE,;t t
17208 s,@ONESTEP_FALSE@,$ONESTEP_FALSE,;t t
17209 s,@LIBGCJDEBUG@,$LIBGCJDEBUG,;t t
17210 s,@INTERPRETER@,$INTERPRETER,;t t
17211 s,@LIBFFI@,$LIBFFI,;t t
17212 s,@LIBFFIINCS@,$LIBFFIINCS,;t t
17213 s,@PLATFORM_INNER_NAT_HDRS@,$PLATFORM_INNER_NAT_HDRS,;t t
17215 s,@EGREP@,$EGREP,;t t
17216 s,@USING_WIN32_PLATFORM_TRUE@,$USING_WIN32_PLATFORM_TRUE,;t t
17217 s,@USING_WIN32_PLATFORM_FALSE@,$USING_WIN32_PLATFORM_FALSE,;t t
17218 s,@USING_POSIX_PLATFORM_TRUE@,$USING_POSIX_PLATFORM_TRUE,;t t
17219 s,@USING_POSIX_PLATFORM_FALSE@,$USING_POSIX_PLATFORM_FALSE,;t t
17220 s,@USING_ECOS_PLATFORM_TRUE@,$USING_ECOS_PLATFORM_TRUE,;t t
17221 s,@USING_ECOS_PLATFORM_FALSE@,$USING_ECOS_PLATFORM_FALSE,;t t
17222 s,@USING_DARWIN_CRT_TRUE@,$USING_DARWIN_CRT_TRUE,;t t
17223 s,@USING_DARWIN_CRT_FALSE@,$USING_DARWIN_CRT_FALSE,;t t
17224 s,@SYSTEMSPEC@,$SYSTEMSPEC,;t t
17225 s,@LIBGCJTESTSPEC@,$LIBGCJTESTSPEC,;t t
17226 s,@ZLIBSPEC@,$ZLIBSPEC,;t t
17227 s,@ZLIBTESTSPEC@,$ZLIBTESTSPEC,;t t
17228 s,@X_CFLAGS@,$X_CFLAGS,;t t
17229 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
17230 s,@X_LIBS@,$X_LIBS,;t t
17231 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
17232 s,@TOOLKIT@,$TOOLKIT,;t t
17233 s,@XLIB_AWT_TRUE@,$XLIB_AWT_TRUE,;t t
17234 s,@XLIB_AWT_FALSE@,$XLIB_AWT_FALSE,;t t
17235 s,@GTK_AWT_TRUE@,$GTK_AWT_TRUE,;t t
17236 s,@GTK_AWT_FALSE@,$GTK_AWT_FALSE,;t t
17237 s,@GTK_CAIRO_TRUE@,$GTK_CAIRO_TRUE,;t t
17238 s,@GTK_CAIRO_FALSE@,$GTK_CAIRO_FALSE,;t t
17239 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
17240 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
17241 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
17242 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
17243 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
17244 s,@GCLIBS@,$GCLIBS,;t t
17245 s,@GCINCS@,$GCINCS,;t t
17246 s,@GCDEPS@,$GCDEPS,;t t
17247 s,@GCSPEC@,$GCSPEC,;t t
17248 s,@JC1GCSPEC@,$JC1GCSPEC,;t t
17249 s,@GCTESTSPEC@,$GCTESTSPEC,;t t
17250 s,@USING_BOEHMGC_TRUE@,$USING_BOEHMGC_TRUE,;t t
17251 s,@USING_BOEHMGC_FALSE@,$USING_BOEHMGC_FALSE,;t t
17252 s,@USING_NOGC_TRUE@,$USING_NOGC_TRUE,;t t
17253 s,@USING_NOGC_FALSE@,$USING_NOGC_FALSE,;t t
17254 s,@THREADLIBS@,$THREADLIBS,;t t
17255 s,@THREADINCS@,$THREADINCS,;t t
17256 s,@THREADDEPS@,$THREADDEPS,;t t
17257 s,@THREADSPEC@,$THREADSPEC,;t t
17258 s,@THREADLDFLAGS@,$THREADLDFLAGS,;t t
17259 s,@THREADCXXFLAGS@,$THREADCXXFLAGS,;t t
17260 s,@USING_POSIX_THREADS_TRUE@,$USING_POSIX_THREADS_TRUE,;t t
17261 s,@USING_POSIX_THREADS_FALSE@,$USING_POSIX_THREADS_FALSE,;t t
17262 s,@USING_WIN32_THREADS_TRUE@,$USING_WIN32_THREADS_TRUE,;t t
17263 s,@USING_WIN32_THREADS_FALSE@,$USING_WIN32_THREADS_FALSE,;t t
17264 s,@USING_NO_THREADS_TRUE@,$USING_NO_THREADS_TRUE,;t t
17265 s,@USING_NO_THREADS_FALSE@,$USING_NO_THREADS_FALSE,;t t
17266 s,@HASH_SYNC_SPEC@,$HASH_SYNC_SPEC,;t t
17267 s,@USING_GCC_TRUE@,$USING_GCC_TRUE,;t t
17268 s,@USING_GCC_FALSE@,$USING_GCC_FALSE,;t t
17269 s,@tool_include_dir@,$tool_include_dir,;t t
17270 s,@gcc_version@,$gcc_version,;t t
17271 s,@LIBICONV@,$LIBICONV,;t t
17272 s,@LTLIBICONV@,$LTLIBICONV,;t t
17273 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
17274 s,@GTK_LIBS@,$GTK_LIBS,;t t
17275 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
17276 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
17277 s,@LIBART_CFLAGS@,$LIBART_CFLAGS,;t t
17278 s,@LIBART_LIBS@,$LIBART_LIBS,;t t
17279 s,@SUPPLY_BACKTRACE_TRUE@,$SUPPLY_BACKTRACE_TRUE,;t t
17280 s,@SUPPLY_BACKTRACE_FALSE@,$SUPPLY_BACKTRACE_FALSE,;t t
17281 s,@GCJH@,$GCJH,;t t
17283 s,@CLASSPATH_SEPARATOR@,$CLASSPATH_SEPARATOR,;t t
17284 s,@ac_ct_GCJ@,$ac_ct_GCJ,;t t
17285 s,@ZLIBS@,$ZLIBS,;t t
17286 s,@SYS_ZLIBS@,$SYS_ZLIBS,;t t
17287 s,@ZINCS@,$ZINCS,;t t
17288 s,@DIVIDESPEC@,$DIVIDESPEC,;t t
17289 s,@CHECKREFSPEC@,$CHECKREFSPEC,;t t
17290 s,@EXCEPTIONSPEC@,$EXCEPTIONSPEC,;t t
17291 s,@IEEESPEC@,$IEEESPEC,;t t
17292 s,@NATIVE_TRUE@,$NATIVE_TRUE,;t t
17293 s,@NATIVE_FALSE@,$NATIVE_FALSE,;t t
17294 s,@NEEDS_DATA_START_TRUE@,$NEEDS_DATA_START_TRUE,;t t
17295 s,@NEEDS_DATA_START_FALSE@,$NEEDS_DATA_START_FALSE,;t t
17296 s,@GCC_UNWIND_INCLUDE@,$GCC_UNWIND_INCLUDE,;t t
17297 s,@toolexecdir@,$toolexecdir,;t t
17298 s,@toolexecmainlibdir@,$toolexecmainlibdir,;t t
17299 s,@toolexeclibdir@,$toolexeclibdir,;t t
17300 s,@GCJVERSION@,$GCJVERSION,;t t
17301 s,@ALLOCA@,$ALLOCA,;t t
17302 s,@PERL@,$PERL,;t t
17303 s,@BACKTRACESPEC@,$BACKTRACESPEC,;t t
17304 s,@SYSDEP_SOURCES@,$SYSDEP_SOURCES,;t t
17305 s,@here@,$here,;t t
17306 s,@LIBOBJS@,$LIBOBJS,;t t
17307 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
17312 cat >>$CONFIG_STATUS <<\_ACEOF
17313 # Split the substitutions into bite-sized pieces for seds with
17314 # small command number limits, like on Digital OSF/1 and HP-UX.
17315 ac_max_sed_lines
=48
17316 ac_sed_frag
=1 # Number of current file.
17317 ac_beg
=1 # First line for current file.
17318 ac_end
=$ac_max_sed_lines # Line after last line for current file.
17321 while $ac_more_lines; do
17322 if test $ac_beg -gt 1; then
17323 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
17325 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
17327 if test ! -s $tmp/subs.frag
; then
17328 ac_more_lines
=false
17330 # The purpose of the label and of the branching condition is to
17331 # speed up the sed processing (if there are no `@' at all, there
17332 # is no need to browse any of the substitutions).
17333 # These are the two extra sed commands mentioned above.
17335 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
17336 if test -z "$ac_sed_cmds"; then
17337 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
17339 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
17341 ac_sed_frag
=`expr $ac_sed_frag + 1`
17343 ac_end
=`expr $ac_end + $ac_max_sed_lines`
17346 if test -z "$ac_sed_cmds"; then
17349 fi # test -n "$CONFIG_FILES"
17352 cat >>$CONFIG_STATUS <<\_ACEOF
17353 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
17354 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17356 - |
*:- |
*:-:* ) # input from stdin
17358 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17359 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17360 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17361 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17362 * ) ac_file_in
=$ac_file.
in ;;
17365 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
17366 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
17367 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17368 X"$ac_file" : 'X\(//\)[^/]' \| \
17369 X"$ac_file" : 'X\(//\)$' \| \
17370 X"$ac_file" : 'X\(/\)' \| \
17371 . : '\(.\)' 2>/dev/null ||
17373 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17374 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17375 /^X\(\/\/\)$/{ s//\1/; q; }
17376 /^X\(\/\).*/{ s//\1/; q; }
17378 { if $as_mkdir_p; then
17383 while test ! -d "$as_dir"; do
17384 as_dirs
="$as_dir $as_dirs"
17385 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17386 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17387 X"$as_dir" : 'X\(//\)[^/]' \| \
17388 X"$as_dir" : 'X\(//\)$' \| \
17389 X"$as_dir" : 'X\(/\)' \| \
17390 . : '\(.\)' 2>/dev/null ||
17392 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17393 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17394 /^X\(\/\/\)$/{ s//\1/; q; }
17395 /^X\(\/\).*/{ s//\1/; q; }
17398 test ! -n "$as_dirs" || mkdir
$as_dirs
17399 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17400 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17401 { (exit 1); exit 1; }; }; }
17405 if test "$ac_dir" != .
; then
17406 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17407 # A "../" for each directory in $ac_dir_suffix.
17408 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17410 ac_dir_suffix
= ac_top_builddir
=
17414 .
) # No --srcdir option. We are building in place.
17416 if test -z "$ac_top_builddir"; then
17419 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
17421 [\\/]* | ?
:[\\/]* ) # Absolute path.
17422 ac_srcdir
=$srcdir$ac_dir_suffix;
17423 ac_top_srcdir
=$srcdir ;;
17424 *) # Relative path.
17425 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
17426 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
17429 # Do not use `cd foo && pwd` to compute absolute paths, because
17430 # the directories may not exist.
17432 .
) ac_abs_builddir
="$ac_dir";;
17435 .
) ac_abs_builddir
=`pwd`;;
17436 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
17437 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
17440 case $ac_abs_builddir in
17441 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17443 case ${ac_top_builddir}.
in
17444 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
17445 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17446 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
17449 case $ac_abs_builddir in
17450 .
) ac_abs_srcdir
=$ac_srcdir;;
17453 .
) ac_abs_srcdir
=$ac_abs_builddir;;
17454 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
17455 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
17458 case $ac_abs_builddir in
17459 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
17461 case $ac_top_srcdir in
17462 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
17463 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
17464 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
17470 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17471 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
17474 if test x
"$ac_file" != x-
; then
17475 { echo "$as_me:$LINENO: creating $ac_file" >&5
17476 echo "$as_me: creating $ac_file" >&6;}
17479 # Let's still pretend it is `configure' which instantiates (i.e., don't
17480 # use $as_me), people would be surprised to read:
17481 # /* config.h. Generated by config.status. */
17482 if test x
"$ac_file" = x-
; then
17485 configure_input
="$ac_file. "
17487 configure_input
=$configure_input"Generated from `echo $ac_file_in |
17488 sed 's,.*/,,'` by configure."
17490 # First look for the input files in the build tree, otherwise in the
17492 ac_file_inputs
=`IFS=:
17493 for f in $ac_file_in; do
17495 -) echo $tmp/stdin ;;
17497 # Absolute (can't be DOS-style, as IFS=:)
17498 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17499 echo "$as_me: error: cannot find input file: $f" >&2;}
17500 { (exit 1); exit 1; }; }
17503 if test -f "$f"; then
17506 elif test -f "$srcdir/$f"; then
17511 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17512 echo "$as_me: error: cannot find input file: $f" >&2;}
17513 { (exit 1); exit 1; }; }
17516 done` ||
{ (exit 1); exit 1; }
17518 cat >>$CONFIG_STATUS <<_ACEOF
17522 cat >>$CONFIG_STATUS <<\_ACEOF
17524 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17525 s
,@configure_input@
,$configure_input,;t t
17526 s
,@srcdir@
,$ac_srcdir,;t t
17527 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
17528 s
,@top_srcdir@
,$ac_top_srcdir,;t t
17529 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
17530 s
,@builddir@
,$ac_builddir,;t t
17531 s
,@abs_builddir@
,$ac_abs_builddir,;t t
17532 s
,@top_builddir@
,$ac_top_builddir,;t t
17533 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
17534 s
,@INSTALL@
,$ac_INSTALL,;t t
17535 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
17537 if test x"$ac_file" != x-; then
17538 mv $tmp/out $ac_file
17546 cat >>$CONFIG_STATUS <<\_ACEOF
17549 # CONFIG_HEADER section.
17552 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
17553 # NAME is the cpp macro being defined and VALUE is the value it is being given.
17555 # ac_d sets the value in "#define NAME VALUE" lines.
17556 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
17557 ac_dB
='[ ].*$,\1#\2'
17560 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
17561 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17562 ac_uB
='$,\1#\2define\3'
17566 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
17567 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17569 - |
*:- |
*:-:* ) # input from stdin
17571 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17572 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17573 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17574 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17575 * ) ac_file_in
=$ac_file.
in ;;
17578 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
17579 echo "$as_me: creating $ac_file" >&6;}
17581 # First look for the input files in the build tree, otherwise in the
17583 ac_file_inputs
=`IFS=:
17584 for f in $ac_file_in; do
17586 -) echo $tmp/stdin ;;
17588 # Absolute (can't be DOS-style, as IFS=:)
17589 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17590 echo "$as_me: error: cannot find input file: $f" >&2;}
17591 { (exit 1); exit 1; }; }
17592 # Do quote $f, to prevent DOS paths from being IFS'd.
17595 if test -f "$f"; then
17598 elif test -f "$srcdir/$f"; then
17603 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17604 echo "$as_me: error: cannot find input file: $f" >&2;}
17605 { (exit 1); exit 1; }; }
17608 done` ||
{ (exit 1); exit 1; }
17609 # Remove the trailing spaces.
17610 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
17614 # Transform confdefs.h into two sed scripts, `conftest.defines' and
17615 # `conftest.undefs', that substitutes the proper values into
17616 # config.h.in to produce config.h. The first handles `#define'
17617 # templates, and the second `#undef' templates.
17618 # And first: Protect against being on the right side of a sed subst in
17619 # config.status. Protect against being in an unquoted here document
17620 # in config.status.
17621 rm -f conftest.defines conftest.undefs
17622 # Using a here document instead of a string reduces the quoting nightmare.
17623 # Putting comments in sed scripts is not portable.
17625 # `end' is used to avoid that the second main sed command (meant for
17626 # 0-ary CPP macros) applies to n-ary macro definitions.
17627 # See the Autoconf documentation for `clear'.
17628 cat >confdef2sed.
sed <<\_ACEOF
17633 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
17635 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
17638 # If some macros were called several times there might be several times
17639 # the same #defines, which is useless. Nevertheless, we may not want to
17640 # sort them, since we want the *last* AC-DEFINE to be honored.
17641 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
17642 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
17643 rm -f confdef2sed.sed
17645 # This sed command replaces #undef with comments. This is necessary, for
17646 # example, in the case of _POSIX_SOURCE, which is predefined and required
17647 # on some systems where configure will not decide to define it.
17648 cat >>conftest.undefs <<\_ACEOF
17649 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
17652 # Break up conftest.defines because some shells have a limit on the size
17653 # of here documents, and old seds have small limits too (100 cmds).
17654 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
17655 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
17656 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
17657 echo ' :' >>$CONFIG_STATUS
17658 rm -f conftest.tail
17659 while grep . conftest.defines >/dev/null
17661 # Write a limited-size here document to $tmp/defines.sed.
17662 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
17663 # Speed up: don't consider the non `#define' lines.
17664 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
17665 # Work around the forget-to-reset-the-flag bug.
17666 echo 't clr' >>$CONFIG_STATUS
17667 echo ': clr' >>$CONFIG_STATUS
17668 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
17670 sed -f $tmp/defines.sed $tmp/in >$tmp/out
17672 mv $tmp/out $tmp/in
17674 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
17675 rm -f conftest.defines
17676 mv conftest.
tail conftest.defines
17678 rm -f conftest.defines
17679 echo ' fi # grep' >>$CONFIG_STATUS
17680 echo >>$CONFIG_STATUS
17682 # Break up conftest.undefs because some shells have a limit on the size
17683 # of here documents, and old seds have small limits too (100 cmds).
17684 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
17685 rm -f conftest.
tail
17686 while grep . conftest.undefs
>/dev
/null
17688 # Write a limited-size here document to $tmp/undefs.sed.
17689 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
17690 # Speed up: don't consider the non
`#undef'
17691 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
17692 # Work around the forget-to-reset-the-flag bug.
17693 echo 't clr' >>$CONFIG_STATUS
17694 echo ': clr' >>$CONFIG_STATUS
17695 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
17697 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
17699 mv $tmp/out $tmp/in
17701 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
17702 rm -f conftest.undefs
17703 mv conftest.tail conftest.undefs
17705 rm -f conftest.undefs
17707 cat >>$CONFIG_STATUS <<\_ACEOF
17708 # Let's still pretend it is `configure
' which instantiates (i.e., don't
17709 # use $as_me), people would be surprised to read:
17710 # /* config.h. Generated by config.status. */
17711 if test x
"$ac_file" = x-
; then
17712 echo "/* Generated by configure. */" >$tmp/config.h
17714 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
17716 cat $tmp/in >>$tmp/config.h
17718 if test x
"$ac_file" != x-
; then
17719 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
17720 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
17721 echo "$as_me: $ac_file is unchanged" >&6;}
17723 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
17724 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17725 X"$ac_file" : 'X\(//\)[^/]' \| \
17726 X"$ac_file" : 'X\(//\)$' \| \
17727 X"$ac_file" : 'X\(/\)' \| \
17728 . : '\(.\)' 2>/dev/null ||
17730 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17731 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17732 /^X\(\/\/\)$/{ s//\1/; q; }
17733 /^X\(\/\).*/{ s//\1/; q; }
17735 { if $as_mkdir_p; then
17740 while test ! -d "$as_dir"; do
17741 as_dirs
="$as_dir $as_dirs"
17742 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17743 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17744 X"$as_dir" : 'X\(//\)[^/]' \| \
17745 X"$as_dir" : 'X\(//\)$' \| \
17746 X"$as_dir" : 'X\(/\)' \| \
17747 . : '\(.\)' 2>/dev/null ||
17749 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17750 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17751 /^X\(\/\/\)$/{ s//\1/; q; }
17752 /^X\(\/\).*/{ s//\1/; q; }
17755 test ! -n "$as_dirs" || mkdir
$as_dirs
17756 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17757 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17758 { (exit 1); exit 1; }; }; }
17761 mv $tmp/config.h
$ac_file
17765 rm -f $tmp/config.h
17767 # Compute $ac_file's index in $config_headers.
17769 for _am_header
in $config_headers :; do
17770 case $_am_header in
17771 $ac_file |
$ac_file:* )
17774 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17777 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
17778 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17779 X$ac_file : 'X\(//\)[^/]' \| \
17780 X$ac_file : 'X\(//\)$' \| \
17781 X$ac_file : 'X\(/\)' \| \
17782 . : '\(.\)' 2>/dev/null ||
17784 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17785 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17786 /^X\(\/\/\)$/{ s//\1/; q; }
17787 /^X\(\/\).*/{ s//\1/; q; }
17788 s/.*/./; q'`/stamp-h
$_am_stamp_count
17791 cat >>$CONFIG_STATUS <<\_ACEOF
17794 # CONFIG_LINKS section.
17797 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
17798 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
17799 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17801 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
17802 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
17804 if test ! -r $srcdir/$ac_source; then
17805 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
17806 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
17807 { (exit 1); exit 1; }; }
17811 # Make relative symlinks.
17812 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
17813 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17814 X"$ac_dest" : 'X\(//\)[^/]' \| \
17815 X"$ac_dest" : 'X\(//\)$' \| \
17816 X"$ac_dest" : 'X\(/\)' \| \
17817 . : '\(.\)' 2>/dev/null ||
17819 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17820 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17821 /^X\(\/\/\)$/{ s//\1/; q; }
17822 /^X\(\/\).*/{ s//\1/; q; }
17824 { if $as_mkdir_p; then
17825 mkdir
-p "$ac_dest_dir"
17827 as_dir
="$ac_dest_dir"
17829 while test ! -d "$as_dir"; do
17830 as_dirs
="$as_dir $as_dirs"
17831 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17832 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17833 X"$as_dir" : 'X\(//\)[^/]' \| \
17834 X"$as_dir" : 'X\(//\)$' \| \
17835 X"$as_dir" : 'X\(/\)' \| \
17836 . : '\(.\)' 2>/dev/null ||
17838 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17839 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17840 /^X\(\/\/\)$/{ s//\1/; q; }
17841 /^X\(\/\).*/{ s//\1/; q; }
17844 test ! -n "$as_dirs" || mkdir
$as_dirs
17845 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
17846 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
17847 { (exit 1); exit 1; }; }; }
17851 if test "$ac_dest_dir" != .
; then
17852 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
17853 # A "../" for each directory in $ac_dir_suffix.
17854 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17856 ac_dir_suffix
= ac_top_builddir
=
17860 .
) # No --srcdir option. We are building in place.
17862 if test -z "$ac_top_builddir"; then
17865 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
17867 [\\/]* | ?
:[\\/]* ) # Absolute path.
17868 ac_srcdir
=$srcdir$ac_dir_suffix;
17869 ac_top_srcdir
=$srcdir ;;
17870 *) # Relative path.
17871 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
17872 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
17875 # Do not use `cd foo && pwd` to compute absolute paths, because
17876 # the directories may not exist.
17878 .
) ac_abs_builddir
="$ac_dest_dir";;
17880 case "$ac_dest_dir" in
17881 .
) ac_abs_builddir
=`pwd`;;
17882 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
17883 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
17886 case $ac_abs_builddir in
17887 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17889 case ${ac_top_builddir}.
in
17890 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
17891 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17892 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
17895 case $ac_abs_builddir in
17896 .
) ac_abs_srcdir
=$ac_srcdir;;
17899 .
) ac_abs_srcdir
=$ac_abs_builddir;;
17900 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
17901 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
17904 case $ac_abs_builddir in
17905 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
17907 case $ac_top_srcdir in
17908 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
17909 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
17910 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
17916 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
17917 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
17920 # Try a symlink, then a hard link, then a copy.
17921 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
17922 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
17923 cp -p $srcdir/$ac_source $ac_dest ||
17924 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
17925 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
17926 { (exit 1); exit 1; }; }
17929 cat >>$CONFIG_STATUS <<\_ACEOF
17932 # CONFIG_COMMANDS section.
17934 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
17935 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
17936 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17937 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
17938 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17939 X"$ac_dest" : 'X\(//\)[^/]' \| \
17940 X"$ac_dest" : 'X\(//\)$' \| \
17941 X"$ac_dest" : 'X\(/\)' \| \
17942 . : '\(.\)' 2>/dev/null ||
17944 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17945 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17946 /^X\(\/\/\)$/{ s//\1/; q; }
17947 /^X\(\/\).*/{ s//\1/; q; }
17949 { if $as_mkdir_p; then
17954 while test ! -d "$as_dir"; do
17955 as_dirs
="$as_dir $as_dirs"
17956 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17957 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17958 X"$as_dir" : 'X\(//\)[^/]' \| \
17959 X"$as_dir" : 'X\(//\)$' \| \
17960 X"$as_dir" : 'X\(/\)' \| \
17961 . : '\(.\)' 2>/dev/null ||
17963 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17964 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17965 /^X\(\/\/\)$/{ s//\1/; q; }
17966 /^X\(\/\).*/{ s//\1/; q; }
17969 test ! -n "$as_dirs" || mkdir
$as_dirs
17970 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17971 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17972 { (exit 1); exit 1; }; }; }
17976 if test "$ac_dir" != .
; then
17977 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17978 # A "../" for each directory in $ac_dir_suffix.
17979 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17981 ac_dir_suffix
= ac_top_builddir
=
17985 .
) # No --srcdir option. We are building in place.
17987 if test -z "$ac_top_builddir"; then
17990 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
17992 [\\/]* | ?
:[\\/]* ) # Absolute path.
17993 ac_srcdir
=$srcdir$ac_dir_suffix;
17994 ac_top_srcdir
=$srcdir ;;
17995 *) # Relative path.
17996 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
17997 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18000 # Do not use `cd foo && pwd` to compute absolute paths, because
18001 # the directories may not exist.
18003 .
) ac_abs_builddir
="$ac_dir";;
18006 .
) ac_abs_builddir
=`pwd`;;
18007 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
18008 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
18011 case $ac_abs_builddir in
18012 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18014 case ${ac_top_builddir}.
in
18015 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
18016 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18017 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
18020 case $ac_abs_builddir in
18021 .
) ac_abs_srcdir
=$ac_srcdir;;
18024 .
) ac_abs_srcdir
=$ac_abs_builddir;;
18025 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
18026 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
18029 case $ac_abs_builddir in
18030 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
18032 case $ac_top_srcdir in
18033 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
18034 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
18035 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
18040 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
18041 echo "$as_me: executing $ac_dest commands" >&6;}
18043 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
18044 # Strip MF so we end up with the name of the file.
18045 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18046 # Check whether this is an Automake generated Makefile or not.
18047 # We used to match only the files named `Makefile.in', but
18048 # some people rename them; so instead we look at the file content.
18049 # Grep'ing the first line is not enough: some people post-process
18050 # each Makefile.in and add a new line on top of each file to say so.
18051 # So let's grep whole file.
18052 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
18053 dirpart
=`(dirname "$mf") 2>/dev/null ||
18054 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18055 X"$mf" : 'X\(//\)[^/]' \| \
18056 X"$mf" : 'X\(//\)$' \| \
18057 X"$mf" : 'X\(/\)' \| \
18058 . : '\(.\)' 2>/dev/null ||
18060 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18061 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18062 /^X\(\/\/\)$/{ s//\1/; q; }
18063 /^X\(\/\).*/{ s//\1/; q; }
18068 # Extract the definition of DEPDIR, am__include, and am__quote
18069 # from the Makefile without running `make'.
18070 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18071 test -z "$DEPDIR" && continue
18072 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18073 test -z "am__include" && continue
18074 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18075 # When using ansi2knr, U may be empty or an underscore; expand it
18076 U
=`sed -n 's/^U = //p' < "$mf"`
18077 # Find all dependency output files, they are included files with
18078 # $(DEPDIR) in their names. We invoke sed twice because it is the
18079 # simplest approach to changing $(DEPDIR) to its actual value in the
18081 for file in `sed -n "
18082 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18083 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18084 # Make sure the directory exists.
18085 test -f "$dirpart/$file" && continue
18086 fdir
=`(dirname "$file") 2>/dev/null ||
18087 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18088 X"$file" : 'X\(//\)[^/]' \| \
18089 X"$file" : 'X\(//\)$' \| \
18090 X"$file" : 'X\(/\)' \| \
18091 . : '\(.\)' 2>/dev/null ||
18093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18094 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18095 /^X\(\/\/\)$/{ s//\1/; q; }
18096 /^X\(\/\).*/{ s//\1/; q; }
18098 { if $as_mkdir_p; then
18099 mkdir
-p $dirpart/$fdir
18101 as_dir
=$dirpart/$fdir
18103 while test ! -d "$as_dir"; do
18104 as_dirs
="$as_dir $as_dirs"
18105 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18106 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18107 X"$as_dir" : 'X\(//\)[^/]' \| \
18108 X"$as_dir" : 'X\(//\)$' \| \
18109 X"$as_dir" : 'X\(/\)' \| \
18110 . : '\(.\)' 2>/dev/null ||
18112 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18113 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18114 /^X\(\/\/\)$/{ s//\1/; q; }
18115 /^X\(\/\).*/{ s//\1/; q; }
18118 test ! -n "$as_dirs" || mkdir
$as_dirs
18119 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
18120 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
18121 { (exit 1); exit 1; }; }; }
18123 # echo "creating $dirpart/$file"
18124 echo '# dummy' > "$dirpart/$file"
18128 default
) # Only add multilib support code if we just rebuilt top-level Makefile.
18129 case " $CONFIG_FILES " in
18131 LD
="${ORIGINAL_LD_FOR_MULTILIBS}"
18132 ac_file
=Makefile .
${libgcj_basedir}/..
/config-ml.
in
18140 cat >>$CONFIG_STATUS <<\_ACEOF
18142 { (exit 0); exit 0; }
18144 chmod +x
$CONFIG_STATUS
18145 ac_clean_files
=$ac_clean_files_save
18148 # configure is writing to config.log, and then calls config.status.
18149 # config.status does its own redirection, appending to config.log.
18150 # Unfortunately, on DOS this fails, as config.log is still kept open
18151 # by configure, so config.status won't be able to write to it; its
18152 # output is simply discarded. So we exec the FD to /dev/null,
18153 # effectively closing config.log, so it can be properly (re)opened and
18154 # appended to by config.status. When coming back to configure, we
18155 # need to make the FD available again.
18156 if test "$no_create" != yes; then
18158 ac_config_status_args
=
18159 test "$silent" = yes &&
18160 ac_config_status_args
="$ac_config_status_args --quiet"
18162 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18164 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18165 # would make configure fail if this is the last instruction.
18166 $ac_cs_success ||
{ (exit 1); exit 1; }
18170 # CONFIG_SUBDIRS section.
18172 if test "$no_recursion" != yes; then
18174 # Remove --cache-file and --srcdir arguments so they do not pile up.
18175 ac_sub_configure_args
=
18177 for ac_arg
in $ac_configure_args; do
18178 if test -n "$ac_prev"; then
18183 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
18184 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
18185 ac_prev
=cache_file
;;
18186 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
18187 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
18190 --config-cache |
-C)
18192 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
18194 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
18196 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
18198 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
18200 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
18204 # Always prepend --prefix to ensure using the same prefix
18205 # in subdir configurations.
18206 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
18209 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
18211 # Do not complain, so a configure script can configure whichever
18212 # parts of a large source tree are present.
18213 test -d $srcdir/$ac_dir ||
continue
18215 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
18216 echo "$as_me: configuring in $ac_dir" >&6;}
18217 { if $as_mkdir_p; then
18222 while test ! -d "$as_dir"; do
18223 as_dirs
="$as_dir $as_dirs"
18224 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18225 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18226 X"$as_dir" : 'X\(//\)[^/]' \| \
18227 X"$as_dir" : 'X\(//\)$' \| \
18228 X"$as_dir" : 'X\(/\)' \| \
18229 . : '\(.\)' 2>/dev/null ||
18231 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18232 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18233 /^X\(\/\/\)$/{ s//\1/; q; }
18234 /^X\(\/\).*/{ s//\1/; q; }
18237 test ! -n "$as_dirs" || mkdir
$as_dirs
18238 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18239 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18240 { (exit 1); exit 1; }; }; }
18244 if test "$ac_dir" != .
; then
18245 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18246 # A "../" for each directory in $ac_dir_suffix.
18247 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18249 ac_dir_suffix
= ac_top_builddir
=
18253 .
) # No --srcdir option. We are building in place.
18255 if test -z "$ac_top_builddir"; then
18258 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18260 [\\/]* | ?
:[\\/]* ) # Absolute path.
18261 ac_srcdir
=$srcdir$ac_dir_suffix;
18262 ac_top_srcdir
=$srcdir ;;
18263 *) # Relative path.
18264 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18265 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18268 # Do not use `cd foo && pwd` to compute absolute paths, because
18269 # the directories may not exist.
18271 .
) ac_abs_builddir
="$ac_dir";;
18274 .
) ac_abs_builddir
=`pwd`;;
18275 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
18276 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
18279 case $ac_abs_builddir in
18280 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18282 case ${ac_top_builddir}.
in
18283 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
18284 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18285 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
18288 case $ac_abs_builddir in
18289 .
) ac_abs_srcdir
=$ac_srcdir;;
18292 .
) ac_abs_srcdir
=$ac_abs_builddir;;
18293 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
18294 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
18297 case $ac_abs_builddir in
18298 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
18300 case $ac_top_srcdir in
18301 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
18302 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
18303 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
18310 # Check for guested configure; otherwise get Cygnus style configure.
18311 if test -f $ac_srcdir/configure.gnu
; then
18312 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
18313 elif test -f $ac_srcdir/configure
; then
18314 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
18315 elif test -f $ac_srcdir/configure.
in; then
18316 ac_sub_configure
=$ac_configure
18318 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
18319 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
18323 # The recursion is here.
18324 if test -n "$ac_sub_configure"; then
18325 # Make the cache file name correct relative to the subdirectory.
18326 case $cache_file in
18327 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
18328 *) # Relative path.
18329 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
18332 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
18333 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
18334 # The eval makes quoting arguments work.
18335 eval $ac_sub_configure $ac_sub_configure_args \
18336 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
18337 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
18338 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
18339 { (exit 1); exit 1; }; }