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" || test ! -s conftest.err'
2208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2212 (exit $ac_status); }; } &&
2213 { ac_try
='test -s conftest.$ac_objext'
2214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2218 (exit $ac_status); }; }; then
2221 echo "$as_me: failed program was:" >&5
2222 sed 's/^/| /' conftest.
$ac_ext >&5
2226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2227 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2230 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2231 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2232 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2233 ac_test_CFLAGS
=${CFLAGS+set}
2234 ac_save_CFLAGS
=$CFLAGS
2236 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2237 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2238 if test "${ac_cv_prog_cc_g+set}" = set; then
2239 echo $ECHO_N "(cached) $ECHO_C" >&6
2241 cat >conftest.
$ac_ext <<_ACEOF
2244 cat confdefs.h
>>conftest.
$ac_ext
2245 cat >>conftest.
$ac_ext <<_ACEOF
2246 /* end confdefs.h. */
2256 rm -f conftest.
$ac_objext
2257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2258 (eval $ac_compile) 2>conftest.er1
2260 grep -v '^ *+' conftest.er1
>conftest.err
2262 cat conftest.err
>&5
2263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2264 (exit $ac_status); } &&
2265 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2270 (exit $ac_status); }; } &&
2271 { ac_try
='test -s conftest.$ac_objext'
2272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276 (exit $ac_status); }; }; then
2279 echo "$as_me: failed program was:" >&5
2280 sed 's/^/| /' conftest.
$ac_ext >&5
2284 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2286 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2287 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2288 if test "$ac_test_CFLAGS" = set; then
2289 CFLAGS
=$ac_save_CFLAGS
2290 elif test $ac_cv_prog_cc_g = yes; then
2291 if test "$GCC" = yes; then
2297 if test "$GCC" = yes; then
2303 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2304 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2305 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2306 echo $ECHO_N "(cached) $ECHO_C" >&6
2308 ac_cv_prog_cc_stdc
=no
2310 cat >conftest.
$ac_ext <<_ACEOF
2313 cat confdefs.h
>>conftest.
$ac_ext
2314 cat >>conftest.
$ac_ext <<_ACEOF
2315 /* end confdefs.h. */
2318 #include <sys/types.h>
2319 #include <sys/stat.h>
2320 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2321 struct buf { int x; };
2322 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2323 static char *e (p, i)
2329 static char *f (char * (*g) (char **, int), char **p, ...)
2334 s = g (p, va_arg (v,int));
2339 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2340 function prototypes and stuff, but not '\xHH' hex character constants.
2341 These don't provoke an error unfortunately, instead are silently treated
2342 as 'x'. The following induces an error, until -std1 is added to get
2343 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2344 array size at least. It's necessary to write '\x00'==0 to get something
2345 that's true only with -std1. */
2346 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2348 int test (int i, double x);
2349 struct s1 {int (*f) (int a);};
2350 struct s2 {int (*f) (double a);};
2351 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2357 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2362 # Don't try gcc -ansi; that turns off useful extensions and
2363 # breaks some systems' header files.
2364 # AIX -qlanglvl=ansi
2365 # Ultrix and OSF/1 -std1
2366 # HP-UX 10.20 and later -Ae
2367 # HP-UX older versions -Aa -D_HPUX_SOURCE
2368 # SVR4 -Xc -D__EXTENSIONS__
2369 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2371 CC
="$ac_save_CC $ac_arg"
2372 rm -f conftest.
$ac_objext
2373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2374 (eval $ac_compile) 2>conftest.er1
2376 grep -v '^ *+' conftest.er1
>conftest.err
2378 cat conftest.err
>&5
2379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2380 (exit $ac_status); } &&
2381 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2386 (exit $ac_status); }; } &&
2387 { ac_try
='test -s conftest.$ac_objext'
2388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2392 (exit $ac_status); }; }; then
2393 ac_cv_prog_cc_stdc
=$ac_arg
2396 echo "$as_me: failed program was:" >&5
2397 sed 's/^/| /' conftest.
$ac_ext >&5
2400 rm -f conftest.err conftest.
$ac_objext
2402 rm -f conftest.
$ac_ext conftest.
$ac_objext
2407 case "x$ac_cv_prog_cc_stdc" in
2409 echo "$as_me:$LINENO: result: none needed" >&5
2410 echo "${ECHO_T}none needed" >&6 ;;
2412 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2413 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2414 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2417 # Some people use a C++ compiler to compile C. Since we use `exit',
2418 # in C++ we need to declare it. In case someone uses the same compiler
2419 # for both compiling C and C++ we need to have the C++ compiler decide
2420 # the declaration of exit, since it's the most demanding environment.
2421 cat >conftest.
$ac_ext <<_ACEOF
2426 rm -f conftest.
$ac_objext
2427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2428 (eval $ac_compile) 2>conftest.er1
2430 grep -v '^ *+' conftest.er1
>conftest.err
2432 cat conftest.err
>&5
2433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2434 (exit $ac_status); } &&
2435 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2440 (exit $ac_status); }; } &&
2441 { ac_try
='test -s conftest.$ac_objext'
2442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2446 (exit $ac_status); }; }; then
2447 for ac_declaration
in \
2449 'extern "C" void std::exit (int) throw (); using std::exit;' \
2450 'extern "C" void std::exit (int); using std::exit;' \
2451 'extern "C" void exit (int) throw ();' \
2452 'extern "C" void exit (int);' \
2455 cat >conftest.
$ac_ext <<_ACEOF
2458 cat confdefs.h
>>conftest.
$ac_ext
2459 cat >>conftest.
$ac_ext <<_ACEOF
2460 /* end confdefs.h. */
2471 rm -f conftest.
$ac_objext
2472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2473 (eval $ac_compile) 2>conftest.er1
2475 grep -v '^ *+' conftest.er1
>conftest.err
2477 cat conftest.err
>&5
2478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2479 (exit $ac_status); } &&
2480 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2485 (exit $ac_status); }; } &&
2486 { ac_try
='test -s conftest.$ac_objext'
2487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491 (exit $ac_status); }; }; then
2494 echo "$as_me: failed program was:" >&5
2495 sed 's/^/| /' conftest.
$ac_ext >&5
2499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2500 cat >conftest.
$ac_ext <<_ACEOF
2503 cat confdefs.h
>>conftest.
$ac_ext
2504 cat >>conftest.
$ac_ext <<_ACEOF
2505 /* end confdefs.h. */
2515 rm -f conftest.
$ac_objext
2516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2517 (eval $ac_compile) 2>conftest.er1
2519 grep -v '^ *+' conftest.er1
>conftest.err
2521 cat conftest.err
>&5
2522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2523 (exit $ac_status); } &&
2524 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2529 (exit $ac_status); }; } &&
2530 { ac_try
='test -s conftest.$ac_objext'
2531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); }; }; then
2538 echo "$as_me: failed program was:" >&5
2539 sed 's/^/| /' conftest.
$ac_ext >&5
2542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2545 if test -n "$ac_declaration"; then
2546 echo '#ifdef __cplusplus' >>confdefs.h
2547 echo $ac_declaration >>confdefs.h
2548 echo '#endif' >>confdefs.h
2552 echo "$as_me: failed program was:" >&5
2553 sed 's/^/| /' conftest.
$ac_ext >&5
2556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2558 ac_cpp
='$CPP $CPPFLAGS'
2559 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2560 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2561 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2564 ac_cpp
='$CXXCPP $CPPFLAGS'
2565 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2566 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2567 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2568 if test -n "$ac_tool_prefix"; then
2569 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2571 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2572 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2573 echo "$as_me:$LINENO: checking for $ac_word" >&5
2574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2575 if test "${glibcxx_cv_prog_CXX+set}" = set; then
2576 echo $ECHO_N "(cached) $ECHO_C" >&6
2578 if test -n "$CXX"; then
2579 glibcxx_cv_prog_CXX
="$CXX" # Let the user override the test.
2581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2585 test -z "$as_dir" && as_dir
=.
2586 for ac_exec_ext
in '' $ac_executable_extensions; do
2587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2588 glibcxx_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2597 CXX
=$glibcxx_cv_prog_CXX
2598 if test -n "$CXX"; then
2599 echo "$as_me:$LINENO: result: $CXX" >&5
2600 echo "${ECHO_T}$CXX" >&6
2602 echo "$as_me:$LINENO: result: no" >&5
2603 echo "${ECHO_T}no" >&6
2606 test -n "$CXX" && break
2609 if test -z "$CXX"; then
2611 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2613 # Extract the first word of "$ac_prog", so it can be a program name with args.
2614 set dummy
$ac_prog; ac_word
=$2
2615 echo "$as_me:$LINENO: checking for $ac_word" >&5
2616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2617 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2618 echo $ECHO_N "(cached) $ECHO_C" >&6
2620 if test -n "$ac_ct_CXX"; then
2621 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2627 test -z "$as_dir" && as_dir
=.
2628 for ac_exec_ext
in '' $ac_executable_extensions; do
2629 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2630 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2639 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2640 if test -n "$ac_ct_CXX"; then
2641 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2642 echo "${ECHO_T}$ac_ct_CXX" >&6
2644 echo "$as_me:$LINENO: result: no" >&5
2645 echo "${ECHO_T}no" >&6
2648 test -n "$ac_ct_CXX" && break
2650 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2656 # Provide some information about the compiler.
2657 echo "$as_me:$LINENO:" \
2658 "checking for C++ compiler version" >&5
2659 ac_compiler
=`set X $ac_compile; echo $2`
2660 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2661 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); }
2665 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2666 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); }
2670 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2671 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2674 (exit $ac_status); }
2676 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2677 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2678 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2679 echo $ECHO_N "(cached) $ECHO_C" >&6
2681 cat >conftest.
$ac_ext <<_ACEOF
2684 cat confdefs.h
>>conftest.
$ac_ext
2685 cat >>conftest.
$ac_ext <<_ACEOF
2686 /* end confdefs.h. */
2699 rm -f conftest.
$ac_objext
2700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2701 (eval $ac_compile) 2>conftest.er1
2703 grep -v '^ *+' conftest.er1
>conftest.err
2705 cat conftest.err
>&5
2706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2707 (exit $ac_status); } &&
2708 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 (exit $ac_status); }; } &&
2714 { ac_try
='test -s conftest.$ac_objext'
2715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719 (exit $ac_status); }; }; then
2722 echo "$as_me: failed program was:" >&5
2723 sed 's/^/| /' conftest.
$ac_ext >&5
2727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2728 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2731 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2732 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2733 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2734 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2735 ac_save_CXXFLAGS
=$CXXFLAGS
2737 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2738 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2739 if test "${ac_cv_prog_cxx_g+set}" = set; then
2740 echo $ECHO_N "(cached) $ECHO_C" >&6
2742 cat >conftest.
$ac_ext <<_ACEOF
2745 cat confdefs.h
>>conftest.
$ac_ext
2746 cat >>conftest.
$ac_ext <<_ACEOF
2747 /* end confdefs.h. */
2757 rm -f conftest.
$ac_objext
2758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2759 (eval $ac_compile) 2>conftest.er1
2761 grep -v '^ *+' conftest.er1
>conftest.err
2763 cat conftest.err
>&5
2764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765 (exit $ac_status); } &&
2766 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); }; } &&
2772 { ac_try
='test -s conftest.$ac_objext'
2773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); }; }; then
2778 ac_cv_prog_cxx_g
=yes
2780 echo "$as_me: failed program was:" >&5
2781 sed 's/^/| /' conftest.
$ac_ext >&5
2785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2787 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2788 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2789 if test "$ac_test_CXXFLAGS" = set; then
2790 CXXFLAGS
=$ac_save_CXXFLAGS
2791 elif test $ac_cv_prog_cxx_g = yes; then
2792 if test "$GXX" = yes; then
2798 if test "$GXX" = yes; then
2804 for ac_declaration
in \
2806 'extern "C" void std::exit (int) throw (); using std::exit;' \
2807 'extern "C" void std::exit (int); using std::exit;' \
2808 'extern "C" void exit (int) throw ();' \
2809 'extern "C" void exit (int);' \
2812 cat >conftest.
$ac_ext <<_ACEOF
2815 cat confdefs.h
>>conftest.
$ac_ext
2816 cat >>conftest.
$ac_ext <<_ACEOF
2817 /* end confdefs.h. */
2828 rm -f conftest.
$ac_objext
2829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2830 (eval $ac_compile) 2>conftest.er1
2832 grep -v '^ *+' conftest.er1
>conftest.err
2834 cat conftest.err
>&5
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); } &&
2837 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842 (exit $ac_status); }; } &&
2843 { ac_try
='test -s conftest.$ac_objext'
2844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2848 (exit $ac_status); }; }; then
2851 echo "$as_me: failed program was:" >&5
2852 sed 's/^/| /' conftest.
$ac_ext >&5
2856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2857 cat >conftest.
$ac_ext <<_ACEOF
2860 cat confdefs.h
>>conftest.
$ac_ext
2861 cat >>conftest.
$ac_ext <<_ACEOF
2862 /* end confdefs.h. */
2872 rm -f conftest.
$ac_objext
2873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2874 (eval $ac_compile) 2>conftest.er1
2876 grep -v '^ *+' conftest.er1
>conftest.err
2878 cat conftest.err
>&5
2879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880 (exit $ac_status); } &&
2881 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2886 (exit $ac_status); }; } &&
2887 { ac_try
='test -s conftest.$ac_objext'
2888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); }; }; then
2895 echo "$as_me: failed program was:" >&5
2896 sed 's/^/| /' conftest.
$ac_ext >&5
2899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2902 if test -n "$ac_declaration"; then
2903 echo '#ifdef __cplusplus' >>confdefs.h
2904 echo $ac_declaration >>confdefs.h
2905 echo '#endif' >>confdefs.h
2909 ac_cpp
='$CPP $CPPFLAGS'
2910 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2911 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2912 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2914 CXXFLAGS
="$save_CXXFLAGS"
2920 am__api_version
="1.9"
2921 # Find a good install program. We prefer a C program (faster),
2922 # so one script is as good as another. But avoid the broken or
2923 # incompatible versions:
2924 # SysV /etc/install, /usr/sbin/install
2925 # SunOS /usr/etc/install
2926 # IRIX /sbin/install
2928 # AmigaOS /C/install, which installs bootblocks on floppy discs
2929 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2930 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2931 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2932 # OS/2's system install, which has a completely different semantic
2933 # ./install, which can be erroneously created by make from ./install.sh.
2934 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2935 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2936 if test -z "$INSTALL"; then
2937 if test "${ac_cv_path_install+set}" = set; then
2938 echo $ECHO_N "(cached) $ECHO_C" >&6
2940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2944 test -z "$as_dir" && as_dir
=.
2945 # Account for people who put trailing slashes in PATH elements.
2947 .
/ | .
// |
/cC
/* | \
2948 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2949 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2952 # OSF1 and SCO ODT 3.0 have their own names for install.
2953 # Don't use installbsd from OSF since it installs stuff as root
2955 for ac_prog
in ginstall scoinst
install; do
2956 for ac_exec_ext
in '' $ac_executable_extensions; do
2957 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2958 if test $ac_prog = install &&
2959 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2960 # AIX install. It has an incompatible calling convention.
2962 elif test $ac_prog = install &&
2963 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2964 # program-specific install script used by HP pwplus--don't use.
2967 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2979 if test "${ac_cv_path_install+set}" = set; then
2980 INSTALL
=$ac_cv_path_install
2982 # As a last resort, use the slow shell script. We don't cache a
2983 # path for INSTALL within a source directory, because that will
2984 # break other packages using the cache if that directory is
2985 # removed, or if the path is relative.
2986 INSTALL
=$ac_install_sh
2989 echo "$as_me:$LINENO: result: $INSTALL" >&5
2990 echo "${ECHO_T}$INSTALL" >&6
2992 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2993 # It thinks the first close brace ends the variable substitution.
2994 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2996 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2998 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3000 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3001 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
3004 echo timestamp
> conftest.
file
3005 # Do `set' in a subshell so we don't clobber the current shell's
3006 # arguments. Must try -L first in case configure is actually a
3007 # symlink; some systems play weird games with the mod time of symlinks
3008 # (eg FreeBSD returns the mod time of the symlink's containing
3011 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
3012 if test "$*" = "X"; then
3014 set X
`ls -t $srcdir/configure conftest.file`
3017 if test "$*" != "X $srcdir/configure conftest.file" \
3018 && test "$*" != "X conftest.file $srcdir/configure"; then
3020 # If neither matched, then we have a broken ls. This can happen
3021 # if, for instance, CONFIG_SHELL is bash and it inherits a
3022 # broken ls alias from the environment. This has actually
3023 # happened. Such a system could not be considered "sane".
3024 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
3025 alias in your environment" >&5
3026 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
3027 alias in your environment" >&2;}
3028 { (exit 1); exit 1; }; }
3031 test "$2" = conftest.
file
3037 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3038 Check your system clock" >&5
3039 echo "$as_me: error: newly created file is older than distributed files!
3040 Check your system clock" >&2;}
3041 { (exit 1); exit 1; }; }
3043 echo "$as_me:$LINENO: result: yes" >&5
3044 echo "${ECHO_T}yes" >&6
3045 test "$program_prefix" != NONE
&&
3046 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
3047 # Use a double $ so make ignores it.
3048 test "$program_suffix" != NONE
&&
3049 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
3050 # Double any \ or $. echo might interpret backslashes.
3051 # By default was `s,x,x', remove it if useless.
3052 cat <<\_ACEOF
>conftest.
sed
3053 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
3055 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
3058 # expand $ac_aux_dir to an absolute path
3059 am_aux_dir
=`cd $ac_aux_dir && pwd`
3061 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
3062 # Use eval to expand $SHELL
3063 if eval "$MISSING --run true"; then
3064 am_missing_run
="$MISSING --run "
3067 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3068 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3071 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
3072 # We used to keeping the `.' as first argument, in order to
3073 # allow $(mkdir_p) to be used without argument. As in
3074 # $(mkdir_p) $(somedir)
3075 # where $(somedir) is conditionally defined. However this is wrong
3077 # 1. if the package is installed by a user who cannot write `.'
3078 # make install will fail,
3079 # 2. the above comment should most certainly read
3080 # $(mkdir_p) $(DESTDIR)$(somedir)
3081 # so it does not work when $(somedir) is undefined and
3082 # $(DESTDIR) is not.
3083 # To support the latter case, we have to write
3084 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
3085 # so the `.' trick is pointless.
3086 mkdir_p
='mkdir -p --'
3088 # On NextStep and OpenStep, the `mkdir' command does not
3089 # recognize any option. It will interpret all options as
3090 # directories to create, and then abort because `.' already
3092 for d
in .
/-p .
/--version;
3094 test -d $d && rmdir $d
3096 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
3097 if test -f "$ac_aux_dir/mkinstalldirs"; then
3098 mkdir_p
='$(mkinstalldirs)'
3100 mkdir_p
='$(install_sh) -d'
3104 for ac_prog
in gawk mawk nawk
awk
3106 # Extract the first word of "$ac_prog", so it can be a program name with args.
3107 set dummy
$ac_prog; ac_word
=$2
3108 echo "$as_me:$LINENO: checking for $ac_word" >&5
3109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3110 if test "${ac_cv_prog_AWK+set}" = set; then
3111 echo $ECHO_N "(cached) $ECHO_C" >&6
3113 if test -n "$AWK"; then
3114 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3120 test -z "$as_dir" && as_dir
=.
3121 for ac_exec_ext
in '' $ac_executable_extensions; do
3122 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3123 ac_cv_prog_AWK
="$ac_prog"
3124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3133 if test -n "$AWK"; then
3134 echo "$as_me:$LINENO: result: $AWK" >&5
3135 echo "${ECHO_T}$AWK" >&6
3137 echo "$as_me:$LINENO: result: no" >&5
3138 echo "${ECHO_T}no" >&6
3141 test -n "$AWK" && break
3144 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3145 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3146 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3147 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3148 echo $ECHO_N "(cached) $ECHO_C" >&6
3150 cat >conftest.
make <<\_ACEOF
3152 @
echo 'ac_maketemp="$(MAKE)"'
3154 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3155 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3156 if test -n "$ac_maketemp"; then
3157 eval ac_cv_prog_make_
${ac_make}_set
=yes
3159 eval ac_cv_prog_make_
${ac_make}_set
=no
3163 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3164 echo "$as_me:$LINENO: result: yes" >&5
3165 echo "${ECHO_T}yes" >&6
3168 echo "$as_me:$LINENO: result: no" >&5
3169 echo "${ECHO_T}no" >&6
3170 SET_MAKE
="MAKE=${MAKE-make}"
3173 rm -rf .tst
2>/dev
/null
3174 mkdir .tst
2>/dev
/null
3175 if test -d .tst
; then
3180 rmdir .tst
2>/dev
/null
3182 DEPDIR
="${am__leading_dot}deps"
3184 ac_config_commands
="$ac_config_commands depfiles"
3187 am_make
=${MAKE-make}
3188 cat > confinc
<< 'END'
3193 # If we don't find an include directive, just comment out the code.
3194 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3195 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3199 # First try GNU make style include.
3200 echo "include confinc" > confmf
3201 # We grep out `Entering directory' and `Leaving directory'
3202 # messages which can occur if `w' ends up in MAKEFLAGS.
3203 # In particular we don't look at `^make:' because GNU make might
3204 # be invoked under some other name (usually "gmake"), in which
3205 # case it prints its new name instead of `make'.
3206 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3211 # Now try BSD make style include.
3212 if test "$am__include" = "#"; then
3213 echo '.include "confinc"' > confmf
3214 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3215 am__include
=.include
3222 echo "$as_me:$LINENO: result: $_am_result" >&5
3223 echo "${ECHO_T}$_am_result" >&6
3224 rm -f confinc confmf
3226 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3227 if test "${enable_dependency_tracking+set}" = set; then
3228 enableval
="$enable_dependency_tracking"
3231 if test "x$enable_dependency_tracking" != xno
; then
3232 am_depcomp
="$ac_aux_dir/depcomp"
3237 if test "x$enable_dependency_tracking" != xno; then
3247 # test to see if srcdir already configured
3248 if test "`cd $srcdir && pwd`" != "`pwd`" &&
3249 test -f $srcdir/config.status
; then
3250 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3251 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3252 { (exit 1); exit 1; }; }
3255 # test whether we have cygpath
3256 if test -z "$CYGPATH_W"; then
3257 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3258 CYGPATH_W
='cygpath -w'
3265 # Define the identity of the package.
3267 VERSION
='version-unused'
3270 cat >>confdefs.h
<<_ACEOF
3271 #define PACKAGE "$PACKAGE"
3275 cat >>confdefs.h
<<_ACEOF
3276 #define VERSION "$VERSION"
3279 # Some tools Automake needs.
3281 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3284 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3287 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3290 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3293 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3295 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3297 # Installed binaries are usually stripped using `strip' when the user
3298 # run `make install-strip'. However `strip' might not be the right
3299 # tool to use in cross-compilation environments, therefore Automake
3300 # will honor the `STRIP' environment variable to overrule this program.
3301 if test "$cross_compiling" != no
; then
3302 if test -n "$ac_tool_prefix"; then
3303 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3304 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3305 echo "$as_me:$LINENO: checking for $ac_word" >&5
3306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3307 if test "${ac_cv_prog_STRIP+set}" = set; then
3308 echo $ECHO_N "(cached) $ECHO_C" >&6
3310 if test -n "$STRIP"; then
3311 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3317 test -z "$as_dir" && as_dir
=.
3318 for ac_exec_ext
in '' $ac_executable_extensions; do
3319 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3320 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3329 STRIP
=$ac_cv_prog_STRIP
3330 if test -n "$STRIP"; then
3331 echo "$as_me:$LINENO: result: $STRIP" >&5
3332 echo "${ECHO_T}$STRIP" >&6
3334 echo "$as_me:$LINENO: result: no" >&5
3335 echo "${ECHO_T}no" >&6
3339 if test -z "$ac_cv_prog_STRIP"; then
3341 # Extract the first word of "strip", so it can be a program name with args.
3342 set dummy strip
; ac_word
=$2
3343 echo "$as_me:$LINENO: checking for $ac_word" >&5
3344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3345 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3346 echo $ECHO_N "(cached) $ECHO_C" >&6
3348 if test -n "$ac_ct_STRIP"; then
3349 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3355 test -z "$as_dir" && as_dir
=.
3356 for ac_exec_ext
in '' $ac_executable_extensions; do
3357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3358 ac_cv_prog_ac_ct_STRIP
="strip"
3359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3365 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3368 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3369 if test -n "$ac_ct_STRIP"; then
3370 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3371 echo "${ECHO_T}$ac_ct_STRIP" >&6
3373 echo "$as_me:$LINENO: result: no" >&5
3374 echo "${ECHO_T}no" >&6
3379 STRIP
="$ac_cv_prog_STRIP"
3383 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3385 # We need awk for the "check" target. The system "awk" is bad on
3387 # Always define AMTAR for backward compatibility.
3389 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3391 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3396 depcc
="$CC" am_compiler_list
=
3398 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3399 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3400 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3401 echo $ECHO_N "(cached) $ECHO_C" >&6
3403 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3404 # We make a subdir and do the tests there. Otherwise we can end up
3405 # making bogus files that we don't know about and never remove. For
3406 # instance it was reported that on HP-UX the gcc test will end up
3407 # making a dummy file named `D' -- because `-MD' means `put the output
3410 # Copy depcomp to subdir because otherwise we won't find it if we're
3411 # using a relative directory.
3412 cp "$am_depcomp" conftest.dir
3414 # We will build objects and dependencies in a subdirectory because
3415 # it helps to detect inapplicable dependency modes. For instance
3416 # both Tru64's cc and ICC support -MD to output dependencies as a
3417 # side effect of compilation, but ICC will put the dependencies in
3418 # the current directory while Tru64 will put them in the object
3422 am_cv_CC_dependencies_compiler_type
=none
3423 if test "$am_compiler_list" = ""; then
3424 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3426 for depmode
in $am_compiler_list; do
3427 # Setup a source with many dependencies, because some compilers
3428 # like to wrap large dependency lists on column 80 (with \), and
3429 # we should not choose a depcomp mode which is confused by this.
3431 # We need to recreate these files for each test, as the compiler may
3432 # overwrite some of them when testing with obscure command lines.
3433 # This happens at least with the AIX C compiler.
3435 for i
in 1 2 3 4 5 6; do
3436 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3437 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3438 # Solaris 8's {/usr,}/bin/sh.
3439 touch sub
/conftst
$i.h
3441 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3445 # after this tag, mechanisms are not by side-effect, so they'll
3446 # only be used when explicitly requested
3447 if test "x$enable_dependency_tracking" = xyes
; then
3455 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3456 # mode. It turns out that the SunPro C++ compiler does not properly
3457 # handle `-M -o', and we need to detect this.
3458 if depmode
=$depmode \
3459 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3460 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3461 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3462 >/dev
/null
2>conftest.err
&&
3463 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3464 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3465 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3466 # icc doesn't choke on unknown options, it will just issue warnings
3467 # or remarks (even with -Werror). So we grep stderr for any message
3468 # that says an option was ignored or not supported.
3469 # When given -MP, icc 7.0 and 7.1 complain thusly:
3470 # icc: Command line warning: ignoring option '-M'; no argument required
3471 # The diagnosis changed in icc 8.0:
3472 # icc: Command line remark: option '-MP' not supported
3473 if (grep 'ignoring option' conftest.err ||
3474 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3475 am_cv_CC_dependencies_compiler_type
=$depmode
3484 am_cv_CC_dependencies_compiler_type
=none
3488 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3489 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3490 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3495 test "x$enable_dependency_tracking" != xno \
3496 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3498 am__fastdepCC_FALSE
='#'
3500 am__fastdepCC_TRUE
='#'
3501 am__fastdepCC_FALSE
=
3505 depcc
="$CXX" am_compiler_list
=
3507 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3508 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3509 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3510 echo $ECHO_N "(cached) $ECHO_C" >&6
3512 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3513 # We make a subdir and do the tests there. Otherwise we can end up
3514 # making bogus files that we don't know about and never remove. For
3515 # instance it was reported that on HP-UX the gcc test will end up
3516 # making a dummy file named `D' -- because `-MD' means `put the output
3519 # Copy depcomp to subdir because otherwise we won't find it if we're
3520 # using a relative directory.
3521 cp "$am_depcomp" conftest.dir
3523 # We will build objects and dependencies in a subdirectory because
3524 # it helps to detect inapplicable dependency modes. For instance
3525 # both Tru64's cc and ICC support -MD to output dependencies as a
3526 # side effect of compilation, but ICC will put the dependencies in
3527 # the current directory while Tru64 will put them in the object
3531 am_cv_CXX_dependencies_compiler_type
=none
3532 if test "$am_compiler_list" = ""; then
3533 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3535 for depmode
in $am_compiler_list; do
3536 # Setup a source with many dependencies, because some compilers
3537 # like to wrap large dependency lists on column 80 (with \), and
3538 # we should not choose a depcomp mode which is confused by this.
3540 # We need to recreate these files for each test, as the compiler may
3541 # overwrite some of them when testing with obscure command lines.
3542 # This happens at least with the AIX C compiler.
3544 for i
in 1 2 3 4 5 6; do
3545 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3546 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3547 # Solaris 8's {/usr,}/bin/sh.
3548 touch sub
/conftst
$i.h
3550 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3554 # after this tag, mechanisms are not by side-effect, so they'll
3555 # only be used when explicitly requested
3556 if test "x$enable_dependency_tracking" = xyes
; then
3564 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3565 # mode. It turns out that the SunPro C++ compiler does not properly
3566 # handle `-M -o', and we need to detect this.
3567 if depmode
=$depmode \
3568 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3569 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3570 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3571 >/dev
/null
2>conftest.err
&&
3572 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3573 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3574 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3575 # icc doesn't choke on unknown options, it will just issue warnings
3576 # or remarks (even with -Werror). So we grep stderr for any message
3577 # that says an option was ignored or not supported.
3578 # When given -MP, icc 7.0 and 7.1 complain thusly:
3579 # icc: Command line warning: ignoring option '-M'; no argument required
3580 # The diagnosis changed in icc 8.0:
3581 # icc: Command line remark: option '-MP' not supported
3582 if (grep 'ignoring option' conftest.err ||
3583 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3584 am_cv_CXX_dependencies_compiler_type
=$depmode
3593 am_cv_CXX_dependencies_compiler_type
=none
3597 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3598 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3599 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3604 test "x$enable_dependency_tracking" != xno \
3605 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3606 am__fastdepCXX_TRUE
=
3607 am__fastdepCXX_FALSE
='#'
3609 am__fastdepCXX_TRUE
='#'
3610 am__fastdepCXX_FALSE
=
3616 if test -n "$ac_tool_prefix"; then
3617 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3618 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3619 echo "$as_me:$LINENO: checking for $ac_word" >&5
3620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3621 if test "${ac_cv_prog_AS+set}" = set; then
3622 echo $ECHO_N "(cached) $ECHO_C" >&6
3624 if test -n "$AS"; then
3625 ac_cv_prog_AS
="$AS" # Let the user override the test.
3627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3631 test -z "$as_dir" && as_dir
=.
3632 for ac_exec_ext
in '' $ac_executable_extensions; do
3633 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3634 ac_cv_prog_AS
="${ac_tool_prefix}as"
3635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3644 if test -n "$AS"; then
3645 echo "$as_me:$LINENO: result: $AS" >&5
3646 echo "${ECHO_T}$AS" >&6
3648 echo "$as_me:$LINENO: result: no" >&5
3649 echo "${ECHO_T}no" >&6
3653 if test -z "$ac_cv_prog_AS"; then
3655 # Extract the first word of "as", so it can be a program name with args.
3656 set dummy as
; ac_word
=$2
3657 echo "$as_me:$LINENO: checking for $ac_word" >&5
3658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3659 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3660 echo $ECHO_N "(cached) $ECHO_C" >&6
3662 if test -n "$ac_ct_AS"; then
3663 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3669 test -z "$as_dir" && as_dir
=.
3670 for ac_exec_ext
in '' $ac_executable_extensions; do
3671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3672 ac_cv_prog_ac_ct_AS
="as"
3673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3681 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3682 if test -n "$ac_ct_AS"; then
3683 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3684 echo "${ECHO_T}$ac_ct_AS" >&6
3686 echo "$as_me:$LINENO: result: no" >&5
3687 echo "${ECHO_T}no" >&6
3695 if test -n "$ac_tool_prefix"; then
3696 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3697 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3698 echo "$as_me:$LINENO: checking for $ac_word" >&5
3699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3700 if test "${ac_cv_prog_AR+set}" = set; then
3701 echo $ECHO_N "(cached) $ECHO_C" >&6
3703 if test -n "$AR"; then
3704 ac_cv_prog_AR
="$AR" # Let the user override the test.
3706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3710 test -z "$as_dir" && as_dir
=.
3711 for ac_exec_ext
in '' $ac_executable_extensions; do
3712 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3713 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3723 if test -n "$AR"; then
3724 echo "$as_me:$LINENO: result: $AR" >&5
3725 echo "${ECHO_T}$AR" >&6
3727 echo "$as_me:$LINENO: result: no" >&5
3728 echo "${ECHO_T}no" >&6
3732 if test -z "$ac_cv_prog_AR"; then
3734 # Extract the first word of "ar", so it can be a program name with args.
3735 set dummy
ar; ac_word
=$2
3736 echo "$as_me:$LINENO: checking for $ac_word" >&5
3737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3738 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3739 echo $ECHO_N "(cached) $ECHO_C" >&6
3741 if test -n "$ac_ct_AR"; then
3742 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3748 test -z "$as_dir" && as_dir
=.
3749 for ac_exec_ext
in '' $ac_executable_extensions; do
3750 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3751 ac_cv_prog_ac_ct_AR
="ar"
3752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3760 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3761 if test -n "$ac_ct_AR"; then
3762 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3763 echo "${ECHO_T}$ac_ct_AR" >&6
3765 echo "$as_me:$LINENO: result: no" >&5
3766 echo "${ECHO_T}no" >&6
3774 if test -n "$ac_tool_prefix"; then
3775 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3776 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3777 echo "$as_me:$LINENO: checking for $ac_word" >&5
3778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3779 if test "${ac_cv_prog_RANLIB+set}" = set; then
3780 echo $ECHO_N "(cached) $ECHO_C" >&6
3782 if test -n "$RANLIB"; then
3783 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3789 test -z "$as_dir" && as_dir
=.
3790 for ac_exec_ext
in '' $ac_executable_extensions; do
3791 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3792 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3801 RANLIB
=$ac_cv_prog_RANLIB
3802 if test -n "$RANLIB"; then
3803 echo "$as_me:$LINENO: result: $RANLIB" >&5
3804 echo "${ECHO_T}$RANLIB" >&6
3806 echo "$as_me:$LINENO: result: no" >&5
3807 echo "${ECHO_T}no" >&6
3811 if test -z "$ac_cv_prog_RANLIB"; then
3812 ac_ct_RANLIB
=$RANLIB
3813 # Extract the first word of "ranlib", so it can be a program name with args.
3814 set dummy ranlib
; ac_word
=$2
3815 echo "$as_me:$LINENO: checking for $ac_word" >&5
3816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3817 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3818 echo $ECHO_N "(cached) $ECHO_C" >&6
3820 if test -n "$ac_ct_RANLIB"; then
3821 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3827 test -z "$as_dir" && as_dir
=.
3828 for ac_exec_ext
in '' $ac_executable_extensions; do
3829 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3830 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3837 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3840 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3841 if test -n "$ac_ct_RANLIB"; then
3842 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3843 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3845 echo "$as_me:$LINENO: result: no" >&5
3846 echo "${ECHO_T}no" >&6
3849 RANLIB
=$ac_ct_RANLIB
3851 RANLIB
="$ac_cv_prog_RANLIB"
3855 # Find a good install program. We prefer a C program (faster),
3856 # so one script is as good as another. But avoid the broken or
3857 # incompatible versions:
3858 # SysV /etc/install, /usr/sbin/install
3859 # SunOS /usr/etc/install
3860 # IRIX /sbin/install
3862 # AmigaOS /C/install, which installs bootblocks on floppy discs
3863 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3864 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3865 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3866 # OS/2's system install, which has a completely different semantic
3867 # ./install, which can be erroneously created by make from ./install.sh.
3868 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3869 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3870 if test -z "$INSTALL"; then
3871 if test "${ac_cv_path_install+set}" = set; then
3872 echo $ECHO_N "(cached) $ECHO_C" >&6
3874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3878 test -z "$as_dir" && as_dir
=.
3879 # Account for people who put trailing slashes in PATH elements.
3881 .
/ | .
// |
/cC
/* | \
3882 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3883 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3886 # OSF1 and SCO ODT 3.0 have their own names for install.
3887 # Don't use installbsd from OSF since it installs stuff as root
3889 for ac_prog
in ginstall scoinst
install; do
3890 for ac_exec_ext
in '' $ac_executable_extensions; do
3891 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3892 if test $ac_prog = install &&
3893 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3894 # AIX install. It has an incompatible calling convention.
3896 elif test $ac_prog = install &&
3897 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3898 # program-specific install script used by HP pwplus--don't use.
3901 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3913 if test "${ac_cv_path_install+set}" = set; then
3914 INSTALL
=$ac_cv_path_install
3916 # As a last resort, use the slow shell script. We don't cache a
3917 # path for INSTALL within a source directory, because that will
3918 # break other packages using the cache if that directory is
3919 # removed, or if the path is relative.
3920 INSTALL
=$ac_install_sh
3923 echo "$as_me:$LINENO: result: $INSTALL" >&5
3924 echo "${ECHO_T}$INSTALL" >&6
3926 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3927 # It thinks the first close brace ends the variable substitution.
3928 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3930 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3932 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3935 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3936 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3937 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3938 if test "${enable_maintainer_mode+set}" = set; then
3939 enableval
="$enable_maintainer_mode"
3940 USE_MAINTAINER_MODE
=$enableval
3942 USE_MAINTAINER_MODE
=no
3944 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3945 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3948 if test $USE_MAINTAINER_MODE = yes; then
3949 MAINTAINER_MODE_TRUE
=
3950 MAINTAINER_MODE_FALSE
='#'
3952 MAINTAINER_MODE_TRUE
='#'
3953 MAINTAINER_MODE_FALSE
=
3956 MAINT
=$MAINTAINER_MODE_TRUE
3962 # configure.host sets the following important variables
3963 # libgcj_cflags - host specific C compiler flags
3964 # libgcj_cxxflags - host specific C++ compiler flags
3965 # libgcj_javaflags - host specific Java compiler flags
3971 .
${srcdir}/configure.
host
3973 LIBGCJ_CFLAGS
="${libgcj_cflags}"
3974 LIBGCJ_CXXFLAGS
="${libgcj_cxxflags}"
3975 LIBGCJ_JAVAFLAGS
="${libgcj_javaflags}"
3980 ac_config_headers
="$ac_config_headers include/config.h gcj/libgcj-config.h"
3983 # Only use libltdl for non-newlib builds.
3984 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
3985 case $enable_ltdl_convenience in
3986 no
) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
3987 echo "$as_me: error: this package needs a convenience libltdl" >&2;}
3988 { (exit 1); exit 1; }; } ;;
3989 "") enable_ltdl_convenience
=yes
3990 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
3992 LIBLTDL
='${top_builddir}/''libltdl'/libltdlc.la
3993 INCLTDL
='-I${top_srcdir}/''libltdl'
3998 cat >>confdefs.h
<<\_ACEOF
4002 # Sigh. Libtool's macro doesn't do the right thing.
4003 INCLTDL
="-I\$(top_srcdir)/libltdl $INCLTDL"
4004 # FIXME: this is a hack.
4005 sub_auxdir
="`cd $ac_aux_dir && ${PWDCMD-pwd}`"
4006 ac_configure_args
="$ac_configure_args --with-auxdir=$sub_auxdir"
4011 # Check whether --enable-shared or --disable-shared was given.
4012 if test "${enable_shared+set}" = set; then
4013 enableval
="$enable_shared"
4014 p
=${PACKAGE-default}
4016 yes) enable_shared
=yes ;;
4017 no
) enable_shared
=no
;;
4020 # Look at the argument we got. We use all the common list separators.
4021 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4022 for pkg
in $enableval; do
4023 if test "X$pkg" = "X$p"; then
4033 # Check whether --enable-static or --disable-static was given.
4034 if test "${enable_static+set}" = set; then
4035 enableval
="$enable_static"
4036 p
=${PACKAGE-default}
4038 yes) enable_static
=yes ;;
4039 no
) enable_static
=no
;;
4042 # Look at the argument we got. We use all the common list separators.
4043 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4044 for pkg
in $enableval; do
4045 if test "X$pkg" = "X$p"; then
4055 # Check whether --enable-fast-install or --disable-fast-install was given.
4056 if test "${enable_fast_install+set}" = set; then
4057 enableval
="$enable_fast_install"
4058 p
=${PACKAGE-default}
4060 yes) enable_fast_install
=yes ;;
4061 no
) enable_fast_install
=no
;;
4063 enable_fast_install
=no
4064 # Look at the argument we got. We use all the common list separators.
4065 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4066 for pkg
in $enableval; do
4067 if test "X$pkg" = "X$p"; then
4068 enable_fast_install
=yes
4075 enable_fast_install
=yes
4078 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4079 if test "${with_gnu_ld+set}" = set; then
4080 withval
="$with_gnu_ld"
4081 test "$withval" = no || with_gnu_ld
=yes
4086 if test "$GCC" = yes; then
4087 # Check if gcc -print-prog-name=ld gives a path.
4088 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4089 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4092 # gcc leaves a trailing carriage return which upsets mingw
4093 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4095 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4098 # Accept absolute paths.
4099 [\\/]* |
[A-Za-z
]:[\\/]*)
4100 re_direlt
='/[^/][^/]*/\.\./'
4101 # Canonicalize the path of ld
4102 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
4103 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4104 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
4106 test -z "$LD" && LD
="$ac_prog"
4109 # If it fails, then pretend we aren't using GCC.
4113 # If it is relative, then search for the first ld in PATH.
4117 elif test "$with_gnu_ld" = yes; then
4118 echo "$as_me:$LINENO: checking for GNU ld" >&5
4119 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4121 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4122 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4124 if test "${lt_cv_path_LD+set}" = set; then
4125 echo $ECHO_N "(cached) $ECHO_C" >&6
4127 if test -z "$LD"; then
4128 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4129 for ac_dir
in $PATH; do
4130 test -z "$ac_dir" && ac_dir
=.
4131 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4132 lt_cv_path_LD
="$ac_dir/$ac_prog"
4133 # Check to see if the program is GNU ld. I'd rather use --version,
4134 # but apparently some GNU ld's only accept -v.
4135 # Break only if it was the GNU/non-GNU ld that we prefer.
4136 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
4137 test "$with_gnu_ld" != no
&& break
4139 test "$with_gnu_ld" != yes && break
4145 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4150 if test -n "$LD"; then
4151 echo "$as_me:$LINENO: result: $LD" >&5
4152 echo "${ECHO_T}$LD" >&6
4154 echo "$as_me:$LINENO: result: no" >&5
4155 echo "${ECHO_T}no" >&6
4157 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4158 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4159 { (exit 1); exit 1; }; }
4160 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4161 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4162 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4163 echo $ECHO_N "(cached) $ECHO_C" >&6
4165 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4166 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4167 lt_cv_prog_gnu_ld
=yes
4169 lt_cv_prog_gnu_ld
=no
4172 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4173 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4174 with_gnu_ld
=$lt_cv_prog_gnu_ld
4177 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4178 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4179 if test "${lt_cv_ld_reload_flag+set}" = set; then
4180 echo $ECHO_N "(cached) $ECHO_C" >&6
4182 lt_cv_ld_reload_flag
='-r'
4184 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4185 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4186 reload_flag
=$lt_cv_ld_reload_flag
4187 test -n "$reload_flag" && reload_flag
=" $reload_flag"
4189 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4190 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4191 if test "${lt_cv_path_NM+set}" = set; then
4192 echo $ECHO_N "(cached) $ECHO_C" >&6
4194 if test -n "$NM"; then
4195 # Let the user override the test.
4198 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4199 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
4200 test -z "$ac_dir" && ac_dir
=.
4201 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
4202 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
4203 # Check to see if the nm accepts a BSD-compat flag.
4204 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4205 # nm: unknown option "B" ignored
4206 # Tru64's nm complains that /dev/null is an invalid object file
4207 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
4208 lt_cv_path_NM
="$tmp_nm -B"
4210 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
4211 lt_cv_path_NM
="$tmp_nm -p"
4214 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4215 continue # so that we can try to find one that supports BSD flags
4220 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4225 echo "$as_me:$LINENO: result: $NM" >&5
4226 echo "${ECHO_T}$NM" >&6
4228 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4229 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4230 if test "${lt_cv_deplibs_check_method+set}" = set; then
4231 echo $ECHO_N "(cached) $ECHO_C" >&6
4233 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4234 lt_cv_file_magic_test_file
=
4235 lt_cv_deplibs_check_method
='unknown'
4236 # Need to set the preceding variable on all platforms that support
4237 # interlibrary dependencies.
4238 # 'none' -- dependencies not supported.
4239 # `unknown' -- same as none, but documents that we really don't know.
4240 # 'pass_all' -- all dependencies passed with no checks.
4241 # 'test_compile' -- check by making test program.
4242 # 'file_magic [regex]' -- check by looking for files in library path
4243 # which responds to the $file_magic_cmd with a given egrep regex.
4244 # If you have `file' or equivalent on your system and you're not sure
4245 # whether `pass_all' will *always* work, you probably want this one.
4249 lt_cv_deplibs_check_method
=pass_all
4253 lt_cv_deplibs_check_method
=pass_all
4257 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4258 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4259 lt_cv_file_magic_test_file
=/shlib
/libc.so
4262 cygwin
* | mingw
* |pw32
*)
4263 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4264 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4267 darwin
* | rhapsody
*)
4268 # this will be overwritten by pass_all, but leave it in just in case
4269 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
4270 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4272 rhapsody
* | darwin1.012
)
4273 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
4276 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
4279 lt_cv_deplibs_check_method
=pass_all
4282 freebsd
* | kfreebsd
*-gnu)
4283 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4286 # Not sure whether the presence of OpenBSD here was a mistake.
4287 # Let's accept both of them until this is cleared up.
4288 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4289 lt_cv_file_magic_cmd
=/usr
/bin
/file
4290 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4294 lt_cv_deplibs_check_method
=pass_all
4299 lt_cv_deplibs_check_method
=pass_all
4305 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4306 lt_cv_file_magic_cmd
=/usr
/bin
/file
4307 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4310 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4311 lt_cv_file_magic_cmd
=/usr
/bin
/file
4312 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4320 # this will be overridden with pass_all, but let us keep it just in case
4321 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4325 *-32|
*"-32 ") libmagic
=32-bit;;
4326 *-n32|
*"-n32 ") libmagic
=N32
;;
4327 *-64|
*"-64 ") libmagic
=64-bit;;
4328 *) libmagic
=never-match
;;
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 ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4334 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
4335 lt_cv_deplibs_check_method
=pass_all
4338 # This must be Linux ELF.
4341 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* | sh
* )
4342 lt_cv_deplibs_check_method
=pass_all
;;
4344 # glibc up to 2.1.1 does not perform some relocations on ARM
4345 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4347 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
4350 netbsd
* | knetbsd
*-gnu)
4351 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4352 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4354 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
4359 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4360 lt_cv_file_magic_cmd
=/usr
/bin
/file
4361 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4364 osf3
* | osf4
* | osf5
*)
4365 # this will be overridden with pass_all, but let us keep it just in case
4366 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
4367 lt_cv_file_magic_test_file
=/shlib
/libc.so
4368 lt_cv_deplibs_check_method
=pass_all
4372 lt_cv_deplibs_check_method
=pass_all
4376 lt_cv_deplibs_check_method
=pass_all
4377 lt_cv_file_magic_test_file
=/lib
/libc.so
4380 sysv5uw
[78]* | sysv4
*uw2
*)
4381 lt_cv_deplibs_check_method
=pass_all
4384 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
4385 case $host_vendor in
4387 lt_cv_deplibs_check_method
=pass_all
4390 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]'
4391 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4398 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4399 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4400 file_magic_cmd
=$lt_cv_file_magic_cmd
4401 deplibs_check_method
=$lt_cv_deplibs_check_method
4406 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4408 # Only perform the check for file, if the check method requires it
4409 case $deplibs_check_method in
4411 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4412 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4413 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4414 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4415 echo $ECHO_N "(cached) $ECHO_C" >&6
4419 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
4422 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
4425 ac_save_MAGIC_CMD
="$MAGIC_CMD"
4426 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
4427 ac_dummy
="/usr/bin:$PATH"
4428 for ac_dir
in $ac_dummy; do
4429 test -z "$ac_dir" && ac_dir
=.
4430 if test -f $ac_dir/${ac_tool_prefix}file; then
4431 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
4432 if test -n "$file_magic_test_file"; then
4433 case $deplibs_check_method in
4435 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4436 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4437 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
4438 egrep "$file_magic_regex" > /dev
/null
; then
4443 *** Warning: the command libtool uses to detect shared libraries,
4444 *** $file_magic_cmd, produces output that libtool cannot recognize.
4445 *** The result is that libtool may fail to recognize shared libraries
4446 *** as such. This will affect the creation of libtool libraries that
4447 *** depend on shared libraries, but programs linked with such libtool
4448 *** libraries will work regardless of this problem. Nevertheless, you
4449 *** may want to report the problem to your system manager and/or to
4450 *** bug-libtool@gnu.org
4460 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4465 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4466 if test -n "$MAGIC_CMD"; then
4467 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4468 echo "${ECHO_T}$MAGIC_CMD" >&6
4470 echo "$as_me:$LINENO: result: no" >&5
4471 echo "${ECHO_T}no" >&6
4474 if test -z "$lt_cv_path_MAGIC_CMD"; then
4475 if test -n "$ac_tool_prefix"; then
4476 echo "$as_me:$LINENO: checking for file" >&5
4477 echo $ECHO_N "checking for file... $ECHO_C" >&6
4478 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4479 echo $ECHO_N "(cached) $ECHO_C" >&6
4483 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
4486 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
4489 ac_save_MAGIC_CMD
="$MAGIC_CMD"
4490 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
4491 ac_dummy
="/usr/bin:$PATH"
4492 for ac_dir
in $ac_dummy; do
4493 test -z "$ac_dir" && ac_dir
=.
4494 if test -f $ac_dir/file; then
4495 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
4496 if test -n "$file_magic_test_file"; then
4497 case $deplibs_check_method in
4499 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4500 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4501 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
4502 egrep "$file_magic_regex" > /dev
/null
; then
4507 *** Warning: the command libtool uses to detect shared libraries,
4508 *** $file_magic_cmd, produces output that libtool cannot recognize.
4509 *** The result is that libtool may fail to recognize shared libraries
4510 *** as such. This will affect the creation of libtool libraries that
4511 *** depend on shared libraries, but programs linked with such libtool
4512 *** libraries will work regardless of this problem. Nevertheless, you
4513 *** may want to report the problem to your system manager and/or to
4514 *** bug-libtool@gnu.org
4524 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4529 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4530 if test -n "$MAGIC_CMD"; then
4531 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4532 echo "${ECHO_T}$MAGIC_CMD" >&6
4534 echo "$as_me:$LINENO: result: no" >&5
4535 echo "${ECHO_T}no" >&6
4547 if test -n "$ac_tool_prefix"; then
4548 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4549 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4550 echo "$as_me:$LINENO: checking for $ac_word" >&5
4551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4552 if test "${ac_cv_prog_RANLIB+set}" = set; then
4553 echo $ECHO_N "(cached) $ECHO_C" >&6
4555 if test -n "$RANLIB"; then
4556 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4562 test -z "$as_dir" && as_dir
=.
4563 for ac_exec_ext
in '' $ac_executable_extensions; do
4564 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4565 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4574 RANLIB
=$ac_cv_prog_RANLIB
4575 if test -n "$RANLIB"; then
4576 echo "$as_me:$LINENO: result: $RANLIB" >&5
4577 echo "${ECHO_T}$RANLIB" >&6
4579 echo "$as_me:$LINENO: result: no" >&5
4580 echo "${ECHO_T}no" >&6
4584 if test -z "$ac_cv_prog_RANLIB"; then
4585 ac_ct_RANLIB
=$RANLIB
4586 # Extract the first word of "ranlib", so it can be a program name with args.
4587 set dummy ranlib
; ac_word
=$2
4588 echo "$as_me:$LINENO: checking for $ac_word" >&5
4589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4590 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4591 echo $ECHO_N "(cached) $ECHO_C" >&6
4593 if test -n "$ac_ct_RANLIB"; then
4594 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4600 test -z "$as_dir" && as_dir
=.
4601 for ac_exec_ext
in '' $ac_executable_extensions; do
4602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4603 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4610 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4613 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4614 if test -n "$ac_ct_RANLIB"; then
4615 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4616 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4618 echo "$as_me:$LINENO: result: no" >&5
4619 echo "${ECHO_T}no" >&6
4622 RANLIB
=$ac_ct_RANLIB
4624 RANLIB
="$ac_cv_prog_RANLIB"
4627 if test -n "$ac_tool_prefix"; then
4628 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4629 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4630 echo "$as_me:$LINENO: checking for $ac_word" >&5
4631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4632 if test "${ac_cv_prog_STRIP+set}" = set; then
4633 echo $ECHO_N "(cached) $ECHO_C" >&6
4635 if test -n "$STRIP"; then
4636 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4642 test -z "$as_dir" && as_dir
=.
4643 for ac_exec_ext
in '' $ac_executable_extensions; do
4644 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4645 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4654 STRIP
=$ac_cv_prog_STRIP
4655 if test -n "$STRIP"; then
4656 echo "$as_me:$LINENO: result: $STRIP" >&5
4657 echo "${ECHO_T}$STRIP" >&6
4659 echo "$as_me:$LINENO: result: no" >&5
4660 echo "${ECHO_T}no" >&6
4664 if test -z "$ac_cv_prog_STRIP"; then
4666 # Extract the first word of "strip", so it can be a program name with args.
4667 set dummy strip
; ac_word
=$2
4668 echo "$as_me:$LINENO: checking for $ac_word" >&5
4669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4670 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4671 echo $ECHO_N "(cached) $ECHO_C" >&6
4673 if test -n "$ac_ct_STRIP"; then
4674 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4680 test -z "$as_dir" && as_dir
=.
4681 for ac_exec_ext
in '' $ac_executable_extensions; do
4682 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4683 ac_cv_prog_ac_ct_STRIP
="strip"
4684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4690 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
4693 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4694 if test -n "$ac_ct_STRIP"; then
4695 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4696 echo "${ECHO_T}$ac_ct_STRIP" >&6
4698 echo "$as_me:$LINENO: result: no" >&5
4699 echo "${ECHO_T}no" >&6
4704 STRIP
="$ac_cv_prog_STRIP"
4708 # Check for any special flags to pass to ltconfig.
4709 libtool_flags
="--cache-file=$cache_file"
4710 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
4711 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
4712 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
4713 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
4714 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
4717 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4718 if test "${enable_libtool_lock+set}" = set; then
4719 enableval
="$enable_libtool_lock"
4722 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
4723 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
4726 # Check whether --with-pic or --without-pic was given.
4727 if test "${with_pic+set}" = set; then
4733 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
4734 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
4736 # Some flags need to be propagated to the compiler or linker for good
4740 # Find out which ABI we are using.
4741 echo '#line 4741 "configure"' > conftest.
$ac_ext
4742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4743 (eval $ac_compile) 2>&5
4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746 (exit $ac_status); }; then
4747 if test "$lt_cv_prog_gnu_ld" = yes; then
4748 case `/usr/bin/file conftest.$ac_objext` in
4750 LD
="${LD-ld} -melf32bsmip"
4753 LD
="${LD-ld} -melf32bmipn32"
4756 LD
="${LD-ld} -melf64bmip"
4760 case `/usr/bin/file conftest.$ac_objext` in
4777 # Find out which ABI we are using.
4778 echo 'int i;' > conftest.
$ac_ext
4779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4780 (eval $ac_compile) 2>&5
4782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4783 (exit $ac_status); }; then
4784 case "`/usr/bin/file conftest.o`" in
4796 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4797 # Find out which ABI we are using.
4798 echo 'int i;' > conftest.
$ac_ext
4799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4800 (eval $ac_compile) 2>&5
4802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803 (exit $ac_status); }; then
4804 case "`/usr/bin/file conftest.o`" in
4808 LD
="${LD-ld} -m elf_i386"
4810 ppc64-
*linux
*|powerpc64-
*linux
*)
4811 LD
="${LD-ld} -m elf32ppclinux"
4814 LD
="${LD-ld} -m elf_s390"
4817 LD
="${LD-ld} -m elf32_sparc"
4824 LD
="${LD-ld} -m elf_x86_64"
4826 ppc
*-*linux
*|powerpc
*-*linux
*)
4827 LD
="${LD-ld} -m elf64ppc"
4830 LD
="${LD-ld} -m elf64_s390"
4833 LD
="${LD-ld} -m elf64_sparc"
4843 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4844 SAVE_CFLAGS
="$CFLAGS"
4845 CFLAGS
="$CFLAGS -belf"
4846 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4847 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4848 if test "${lt_cv_cc_needs_belf+set}" = set; then
4849 echo $ECHO_N "(cached) $ECHO_C" >&6
4854 ac_cpp
='$CPP $CPPFLAGS'
4855 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4856 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4857 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4859 if test x
$gcc_no_link = xyes
; then
4860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4862 { (exit 1); exit 1; }; }
4864 cat >conftest.
$ac_ext <<_ACEOF
4867 cat confdefs.h
>>conftest.
$ac_ext
4868 cat >>conftest.
$ac_ext <<_ACEOF
4869 /* end confdefs.h. */
4879 rm -f conftest.
$ac_objext conftest
$ac_exeext
4880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4881 (eval $ac_link) 2>conftest.er1
4883 grep -v '^ *+' conftest.er1
>conftest.err
4885 cat conftest.err
>&5
4886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4887 (exit $ac_status); } &&
4888 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4893 (exit $ac_status); }; } &&
4894 { ac_try
='test -s conftest$ac_exeext'
4895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4899 (exit $ac_status); }; }; then
4900 lt_cv_cc_needs_belf
=yes
4902 echo "$as_me: failed program was:" >&5
4903 sed 's/^/| /' conftest.
$ac_ext >&5
4905 lt_cv_cc_needs_belf
=no
4907 rm -f conftest.err conftest.
$ac_objext \
4908 conftest
$ac_exeext conftest.
$ac_ext
4910 ac_cpp
='$CPP $CPPFLAGS'
4911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4916 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4917 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4918 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4919 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4920 CFLAGS
="$SAVE_CFLAGS"
4928 # Save cache, so that ltconfig can load it
4929 cat >confcache
<<\_ACEOF
4930 # This file is a shell script that caches the results of configure
4931 # tests run on this system so they can be shared between configure
4932 # scripts and configure runs, see configure's option --config-cache.
4933 # It is not useful on other systems. If it contains results you don't
4934 # want to keep, you may remove or edit it.
4936 # config.status only pays attention to the cache file if you give it
4937 # the --recheck option to rerun configure.
4939 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4940 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4945 # The following way of writing the cache mishandles newlines in values,
4946 # but we know of no workaround that is simple, portable, and efficient.
4947 # So, don't put newlines in cache variables' values.
4948 # Ultrix sh set writes to stderr and can't be redirected directly,
4949 # and sets the high bit in the cache file unless we assign to the vars.
4952 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4954 # `set' does not quote correctly, so add quotes (double-quote
4955 # substitution turns \\\\ into \\, and sed turns \\ into \).
4958 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4961 # `set' quotes correctly as required by POSIX, so do not add quotes.
4963 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4970 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4972 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4974 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4975 if test -w $cache_file; then
4976 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4977 cat confcache
>$cache_file
4979 echo "not updating unwritable cache $cache_file"
4984 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4985 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4986 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4987 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4988 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4989 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4990 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4991 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4992 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4993 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4994 echo "$as_me: error: libtool configure failed" >&2;}
4995 { (exit 1); exit 1; }; }
4997 # Reload cache, that may have been modified by ltconfig
4998 if test -r "$cache_file"; then
4999 # Some versions of bash will fail to source /dev/null (special
5000 # files actually), so we avoid doing that.
5001 if test -f "$cache_file"; then
5002 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5003 echo "$as_me: loading cache $cache_file" >&6;}
5005 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
5006 *) . .
/$cache_file;;
5010 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5011 echo "$as_me: creating cache $cache_file" >&6;}
5016 # This can be used to rebuild libtool when needed
5017 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5019 # Always use our own libtool.
5020 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
5022 # Redirect the config.log output again, so that the ltconfig log is not
5023 # clobbered by the next message.
5024 exec 5>>.
/config.log
5027 ac_cpp
='$CXXCPP $CPPFLAGS'
5028 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5029 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5030 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5031 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5032 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5033 if test -z "$CXXCPP"; then
5034 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5035 echo $ECHO_N "(cached) $ECHO_C" >&6
5037 # Double quotes because CXXCPP needs to be expanded
5038 for CXXCPP
in "$CXX -E" "/lib/cpp"
5041 for ac_cxx_preproc_warn_flag
in '' yes
5043 # Use a header file that comes with gcc, so configuring glibc
5044 # with a fresh cross-compiler works.
5045 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5046 # <limits.h> exists even on freestanding compilers.
5047 # On the NeXT, cc -E runs the code through the compiler's parser,
5048 # not just through cpp. "Syntax error" is here to catch this case.
5049 cat >conftest.
$ac_ext <<_ACEOF
5052 cat confdefs.h
>>conftest.
$ac_ext
5053 cat >>conftest.
$ac_ext <<_ACEOF
5054 /* end confdefs.h. */
5056 # include <limits.h>
5058 # include <assert.h>
5062 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5063 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5065 grep -v '^ *+' conftest.er1
>conftest.err
5067 cat conftest.err
>&5
5068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5069 (exit $ac_status); } >/dev
/null
; then
5070 if test -s conftest.err
; then
5071 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5072 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5079 if test -z "$ac_cpp_err"; then
5082 echo "$as_me: failed program was:" >&5
5083 sed 's/^/| /' conftest.
$ac_ext >&5
5085 # Broken: fails on valid input.
5088 rm -f conftest.err conftest.
$ac_ext
5090 # OK, works on sane cases. Now check whether non-existent headers
5091 # can be detected and how.
5092 cat >conftest.
$ac_ext <<_ACEOF
5095 cat confdefs.h
>>conftest.
$ac_ext
5096 cat >>conftest.
$ac_ext <<_ACEOF
5097 /* end confdefs.h. */
5098 #include <ac_nonexistent.h>
5100 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5101 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5103 grep -v '^ *+' conftest.er1
>conftest.err
5105 cat conftest.err
>&5
5106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5107 (exit $ac_status); } >/dev
/null
; then
5108 if test -s conftest.err
; then
5109 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5110 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5117 if test -z "$ac_cpp_err"; then
5118 # Broken: success on invalid input.
5121 echo "$as_me: failed program was:" >&5
5122 sed 's/^/| /' conftest.
$ac_ext >&5
5124 # Passes both tests.
5128 rm -f conftest.err conftest.
$ac_ext
5131 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5132 rm -f conftest.err conftest.
$ac_ext
5133 if $ac_preproc_ok; then
5138 ac_cv_prog_CXXCPP
=$CXXCPP
5141 CXXCPP
=$ac_cv_prog_CXXCPP
5143 ac_cv_prog_CXXCPP
=$CXXCPP
5145 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5146 echo "${ECHO_T}$CXXCPP" >&6
5148 for ac_cxx_preproc_warn_flag
in '' yes
5150 # Use a header file that comes with gcc, so configuring glibc
5151 # with a fresh cross-compiler works.
5152 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5153 # <limits.h> exists even on freestanding compilers.
5154 # On the NeXT, cc -E runs the code through the compiler's parser,
5155 # not just through cpp. "Syntax error" is here to catch this case.
5156 cat >conftest.
$ac_ext <<_ACEOF
5159 cat confdefs.h
>>conftest.
$ac_ext
5160 cat >>conftest.
$ac_ext <<_ACEOF
5161 /* end confdefs.h. */
5163 # include <limits.h>
5165 # include <assert.h>
5169 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5170 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5172 grep -v '^ *+' conftest.er1
>conftest.err
5174 cat conftest.err
>&5
5175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5176 (exit $ac_status); } >/dev
/null
; then
5177 if test -s conftest.err
; then
5178 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5179 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5186 if test -z "$ac_cpp_err"; then
5189 echo "$as_me: failed program was:" >&5
5190 sed 's/^/| /' conftest.
$ac_ext >&5
5192 # Broken: fails on valid input.
5195 rm -f conftest.err conftest.
$ac_ext
5197 # OK, works on sane cases. Now check whether non-existent headers
5198 # can be detected and how.
5199 cat >conftest.
$ac_ext <<_ACEOF
5202 cat confdefs.h
>>conftest.
$ac_ext
5203 cat >>conftest.
$ac_ext <<_ACEOF
5204 /* end confdefs.h. */
5205 #include <ac_nonexistent.h>
5207 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5208 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5210 grep -v '^ *+' conftest.er1
>conftest.err
5212 cat conftest.err
>&5
5213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5214 (exit $ac_status); } >/dev
/null
; then
5215 if test -s conftest.err
; then
5216 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5217 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5224 if test -z "$ac_cpp_err"; then
5225 # Broken: success on invalid input.
5228 echo "$as_me: failed program was:" >&5
5229 sed 's/^/| /' conftest.
$ac_ext >&5
5231 # Passes both tests.
5235 rm -f conftest.err conftest.
$ac_ext
5238 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5239 rm -f conftest.err conftest.
$ac_ext
5240 if $ac_preproc_ok; then
5243 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5244 See \`config.log' for more details." >&5
5245 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5246 See \`config.log' for more details." >&2;}
5247 { (exit 1); exit 1; }; }
5251 ac_cpp
='$CPP $CPPFLAGS'
5252 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5253 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5254 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5258 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
5260 lt_save_CFLAGS
="$CFLAGS"
5261 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
5262 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
5263 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
5264 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
5265 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
5266 deplibs_check_method
="$deplibs_check_method" \
5267 file_magic_cmd
="$file_magic_cmd" \
5268 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
5269 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
5270 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
5271 echo "$as_me: error: libtool tag configuration failed" >&2;}
5272 { (exit 1); exit 1; }; }
5274 CFLAGS
="$lt_save_CFLAGS"
5276 # Redirect the config.log output again, so that the ltconfig log is not
5277 # clobbered by the next message.
5278 exec 5>>.
/config.log
5286 for ac_prog
in gcj gcj-3.2 gcj-3.1 gcj-3.0 gcj-2.95
5288 # Extract the first word of "$ac_prog", so it can be a program name with args.
5289 set dummy
$ac_prog; ac_word
=$2
5290 echo "$as_me:$LINENO: checking for $ac_word" >&5
5291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5292 if test "${ac_cv_prog_GCJ+set}" = set; then
5293 echo $ECHO_N "(cached) $ECHO_C" >&6
5295 if test -n "$GCJ"; then
5296 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
5298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5302 test -z "$as_dir" && as_dir
=.
5303 for ac_exec_ext
in '' $ac_executable_extensions; do
5304 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5305 ac_cv_prog_GCJ
="$ac_prog"
5306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5315 if test -n "$GCJ"; then
5316 echo "$as_me:$LINENO: result: $GCJ" >&5
5317 echo "${ECHO_T}$GCJ" >&6
5319 echo "$as_me:$LINENO: result: no" >&5
5320 echo "${ECHO_T}no" >&6
5323 test -n "$GCJ" && break
5325 test -n "$GCJ" || GCJ
="gcj"
5327 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
5328 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
5329 { (exit 1); exit 1; }; }
5330 if test "x${GCJFLAGS-unset}" = xunset
; then
5335 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
5337 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5338 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5339 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
5340 echo $ECHO_N "(cached) $ECHO_C" >&6
5342 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5343 # We make a subdir and do the tests there. Otherwise we can end up
5344 # making bogus files that we don't know about and never remove. For
5345 # instance it was reported that on HP-UX the gcc test will end up
5346 # making a dummy file named `D' -- because `-MD' means `put the output
5349 # Copy depcomp to subdir because otherwise we won't find it if we're
5350 # using a relative directory.
5351 cp "$am_depcomp" conftest.dir
5353 # We will build objects and dependencies in a subdirectory because
5354 # it helps to detect inapplicable dependency modes. For instance
5355 # both Tru64's cc and ICC support -MD to output dependencies as a
5356 # side effect of compilation, but ICC will put the dependencies in
5357 # the current directory while Tru64 will put them in the object
5361 am_cv_GCJ_dependencies_compiler_type
=none
5362 if test "$am_compiler_list" = ""; then
5363 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5365 for depmode
in $am_compiler_list; do
5366 # Setup a source with many dependencies, because some compilers
5367 # like to wrap large dependency lists on column 80 (with \), and
5368 # we should not choose a depcomp mode which is confused by this.
5370 # We need to recreate these files for each test, as the compiler may
5371 # overwrite some of them when testing with obscure command lines.
5372 # This happens at least with the AIX C compiler.
5374 for i
in 1 2 3 4 5 6; do
5375 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5376 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5377 # Solaris 8's {/usr,}/bin/sh.
5378 touch sub
/conftst
$i.h
5380 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5384 # after this tag, mechanisms are not by side-effect, so they'll
5385 # only be used when explicitly requested
5386 if test "x$enable_dependency_tracking" = xyes
; then
5394 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5395 # mode. It turns out that the SunPro C++ compiler does not properly
5396 # handle `-M -o', and we need to detect this.
5397 if depmode
=$depmode \
5398 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5399 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5400 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5401 >/dev
/null
2>conftest.err
&&
5402 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5403 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5404 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5405 # icc doesn't choke on unknown options, it will just issue warnings
5406 # or remarks (even with -Werror). So we grep stderr for any message
5407 # that says an option was ignored or not supported.
5408 # When given -MP, icc 7.0 and 7.1 complain thusly:
5409 # icc: Command line warning: ignoring option '-M'; no argument required
5410 # The diagnosis changed in icc 8.0:
5411 # icc: Command line remark: option '-MP' not supported
5412 if (grep 'ignoring option' conftest.err ||
5413 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5414 am_cv_GCJ_dependencies_compiler_type
=$depmode
5423 am_cv_GCJ_dependencies_compiler_type
=none
5427 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
5428 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
5429 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
5434 test "x$enable_dependency_tracking" != xno \
5435 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
5436 am__fastdepGCJ_TRUE
=
5437 am__fastdepGCJ_FALSE
='#'
5439 am__fastdepGCJ_TRUE
='#'
5440 am__fastdepGCJ_FALSE
=
5446 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-gcj.sh"
5448 lt_save_CFLAGS
="$CFLAGS"
5449 AR
="$AR" LTCC
="$CC" CC
="$GCJ" CFLAGS
="$GCJFLAGS" CPPFLAGS
="$CPPFLAGS" \
5450 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
5451 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
5452 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
5453 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
5454 deplibs_check_method
="$deplibs_check_method" \
5455 file_magic_cmd
="$file_magic_cmd" \
5456 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
5457 --build="$build" --add-tag=GCJ
$ac_aux_dir/ltcf-gcj.sh
$host \
5458 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
5459 echo "$as_me: error: libtool tag configuration failed" >&2;}
5460 { (exit 1); exit 1; }; }
5462 CFLAGS
="$lt_save_CFLAGS"
5464 # Redirect the config.log output again, so that the ltconfig log is not
5465 # clobbered by the next message.
5466 exec 5>>.
/config.log
5470 if test "x$CC" != xcc
; then
5471 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
5472 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
5474 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
5475 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
5477 set dummy
$CC; ac_cc
=`echo $2 |
5478 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5479 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
5480 echo $ECHO_N "(cached) $ECHO_C" >&6
5482 cat >conftest.
$ac_ext <<_ACEOF
5485 cat confdefs.h
>>conftest.
$ac_ext
5486 cat >>conftest.
$ac_ext <<_ACEOF
5487 /* end confdefs.h. */
5497 # Make sure it works both with $CC and with simple cc.
5498 # We do the test twice because some compilers refuse to overwrite an
5499 # existing .o file with -o, though they will create one.
5500 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
5501 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5505 (exit $ac_status); } &&
5506 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510 (exit $ac_status); };
5512 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
5513 if test "x$CC" != xcc
; then
5514 # Test first that cc exists at all.
5515 if { ac_try
='cc -c conftest.$ac_ext >&5'
5516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5520 (exit $ac_status); }; }; then
5521 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
5522 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5526 (exit $ac_status); } &&
5527 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5531 (exit $ac_status); };
5536 # cc exists but doesn't like -o.
5537 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
5542 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
5547 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
5548 echo "$as_me:$LINENO: result: yes" >&5
5549 echo "${ECHO_T}yes" >&6
5551 echo "$as_me:$LINENO: result: no" >&5
5552 echo "${ECHO_T}no" >&6
5554 cat >>confdefs.h
<<\_ACEOF
5555 #define NO_MINUS_C_MINUS_O 1
5560 # FIXME: we rely on the cache variable name because
5561 # there is no other way.
5563 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5564 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
5565 # Losing compiler, so override with the script.
5566 # FIXME: It is wrong to rewrite CC.
5567 # But if we don't then we get into trouble of one sort or another.
5568 # A longer-term fix would be to have automake use am__CC in this case,
5569 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5570 CC
="$am_aux_dir/compile $CC"
5575 subdirs
="$subdirs libltdl"
5578 if test -z "$with_target_subdir" ||
test "$with_target_subdir" = "."; then
5585 # The -no-testsuite modules omit the test subdir.
5588 if test -d $srcdir/testsuite
; then
5590 TESTSUBDIR_FALSE
='#'
5597 # Should the runtime set system properties by examining the
5598 # environment variable GCJ_PROPERTIES?
5599 # Check whether --enable-getenv-properties or --disable-getenv-properties was given.
5600 if test "${enable_getenv_properties+set}" = set; then
5601 enableval
="$enable_getenv_properties"
5605 # Whether GCJ_PROPERTIES is used depends on the target.
5606 if test -z "$enable_getenv_properties"; then
5607 enable_getenv_properties
=${enable_getenv_properties_default-yes}
5609 if test "$enable_getenv_properties" = no
; then
5611 cat >>confdefs.h
<<\_ACEOF
5612 #define DISABLE_GETENV_PROPERTIES 1
5617 # Whether we should use arguments to main()
5618 if test -z "$enable_main_args"; then
5619 enable_main_args
=${enable_main_args_default-yes}
5621 if test "$enable_main_args" = no
; then
5623 cat >>confdefs.h
<<\_ACEOF
5624 #define DISABLE_MAIN_ARGS 1
5630 # Should we use hashtable-based synchronization?
5631 # Currently works only for Linux X86/ia64
5632 # Typically faster and more space-efficient
5633 # Check whether --enable-hash-synchronization or --disable-hash-synchronization was given.
5634 if test "${enable_hash_synchronization+set}" = set; then
5635 enableval
="$enable_hash_synchronization"
5639 if test -z "$enable_hash_synchronization"; then
5640 enable_hash_synchronization
=$enable_hash_synchronization_default
5643 # Do we allow intermodule optimizations (i.e. compiling many files at once)?
5644 # Check whether --enable-libgcj-multifile or --disable-libgcj-multifile was given.
5645 if test "${enable_libgcj_multifile+set}" = set; then
5646 enableval
="$enable_libgcj_multifile"
5647 case "${enableval}" in
5648 yes) enable_libgcj_multifile
=yes ;;
5649 no
) enable_libgcj_multifile
=no
;;
5650 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-libgcj-multifile" >&5
5651 echo "$as_me: error: bad value ${enableval} for --enable-libgcj-multifile" >&2;}
5652 { (exit 1); exit 1; }; } ;;
5655 enable_libgcj_multifile
=no
5659 if test "$enable_libgcj_multifile" = yes; then
5668 # What is the native OS API for MinGW?
5670 # Check whether --with-win32-nlsapi or --without-win32-nlsapi was given.
5671 if test "${with_win32_nlsapi+set}" = set; then
5672 withval
="$with_win32_nlsapi"
5673 case "${withval}" in
5674 ansi
) with_win32_nlsapi
=ansi
;;
5675 unicows
) with_win32_nlsapi
=unicows
;;
5676 unicode
) with_win32_nlsapi
=unicode
;;
5677 *) { { echo "$as_me:$LINENO: error: Bad value ${withval} for --with-win32-nlsapi." >&5
5678 echo "$as_me: error: Bad value ${withval} for --with-win32-nlsapi." >&2;}
5679 { (exit 1); exit 1; }; } ;;
5682 with_win32_nlsapi
=ansi
5685 case "${with_win32_nlsapi}" in
5688 cat >>confdefs.h
<<\_ACEOF
5689 #define MINGW_LIBGCJ_UNICODE 1
5695 # configure.host sets slow_pthread_self if the synchronization code should
5696 # try to avoid pthread_self calls by caching thread IDs in a hashtable.
5697 if test "${slow_pthread_self}" = "yes"; then
5699 cat >>confdefs.h
<<\_ACEOF
5700 #define SLOW_PTHREAD_SELF 1
5706 # See if the user has requested runtime debugging.
5709 # Check whether --enable-libgcj-debug or --disable-libgcj-debug was given.
5710 if test "${enable_libgcj_debug+set}" = set; then
5711 enableval
="$enable_libgcj_debug"
5712 if test "$enable_libgcj_debug" = yes; then
5714 cat >>confdefs.h
<<\_ACEOF
5722 # Check for gc debugging. This option is handled both here and in the GC.
5723 # Check whether --enable-gc-debug or --disable-gc-debug was given.
5724 if test "${enable_gc_debug+set}" = set; then
5725 enableval
="$enable_gc_debug"
5726 if test "$enable_gc_debug" = "yes"; then
5728 cat >>confdefs.h
<<\_ACEOF
5729 #define LIBGCJ_GC_DEBUG 1
5735 # See if the user has the interpreter included.
5736 # Check whether --enable-interpreter or --disable-interpreter was given.
5737 if test "${enable_interpreter+set}" = set; then
5738 enableval
="$enable_interpreter"
5739 if test "$enable_interpreter" = yes; then
5740 # This can also be set in configure.host.
5741 libgcj_interpreter
=yes
5742 elif test "$enable_interpreter" = no
; then
5743 libgcj_interpreter
=no
5747 if test "$libgcj_interpreter" = yes; then
5749 cat >>confdefs.h
<<\_ACEOF
5750 #define INTERPRETER 1
5754 INTERPRETER
="$libgcj_interpreter"
5757 echo "$as_me:$LINENO: checking for exception model to use" >&5
5758 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
5760 ac_cpp
='$CXXCPP $CPPFLAGS'
5761 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5762 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5763 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5765 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
5766 if test "${enable_sjlj_exceptions+set}" = set; then
5767 enableval
="$enable_sjlj_exceptions"
5770 cat > conftest.
$ac_ext << EOF
5771 #line 5771 "configure"
5780 old_CXXFLAGS
="$CXXFLAGS"
5782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5783 (eval $ac_compile) 2>&5
5785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5786 (exit $ac_status); }; then
5787 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1 ; then
5788 enable_sjlj_exceptions
=yes
5789 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1 ; then
5790 enable_sjlj_exceptions
=no
5793 CXXFLAGS
="$old_CXXFLAGS"
5796 if test x
$enable_sjlj_exceptions = xyes
; then
5798 cat >>confdefs.h
<<\_ACEOF
5799 #define SJLJ_EXCEPTIONS 1
5802 ac_exception_model_name
=sjlj
5803 elif test x
$enable_sjlj_exceptions = xno
; then
5804 ac_exception_model_name
="call frame"
5806 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5807 echo "$as_me: error: unable to detect exception model" >&2;}
5808 { (exit 1); exit 1; }; }
5811 ac_cpp
='$CPP $CPPFLAGS'
5812 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5813 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5814 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5816 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5817 echo "${ECHO_T}$ac_exception_model_name" >&6
5819 # If we are non using SJLJ exceptions, and this host does not have support
5820 # for unwinding from a signal handler, enable checked dereferences and divides.
5821 if test $can_unwind_signal = no
&& test $enable_sjlj_exceptions = no
; then
5822 CHECKREFSPEC
=-fcheck-references
5823 DIVIDESPEC
=-fuse-divide-subroutine
5827 # See if the user wants to disable java.net. This is the mildly
5828 # ugly way that we admit that target-side configuration sucks.
5829 # Check whether --enable-java-net or --disable-java-net was given.
5830 if test "${enable_java_net+set}" = set; then
5831 enableval
="$enable_java_net"
5835 # Whether java.net is built by default can depend on the target.
5836 if test -z "$enable_java_net"; then
5837 enable_java_net
=${enable_java_net_default-yes}
5839 if test "$enable_java_net" = no
; then
5841 cat >>confdefs.h
<<\_ACEOF
5842 #define DISABLE_JAVA_NET 1
5847 # See if the user wants to configure without libffi. Some
5848 # architectures don't support it, and default values are set in
5851 # Check whether --with-libffi or --without-libffi was given.
5852 if test "${with_libffi+set}" = set; then
5853 withval
="$with_libffi"
5856 with_libffi
=${with_libffi_default-yes}
5861 if test "$with_libffi" != no
; then
5863 cat >>confdefs.h
<<\_ACEOF
5864 #define USE_LIBFFI 1
5867 LIBFFI
=..
/libffi
/libffi_convenience.la
5868 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
5873 # See if the user wants to disable JVMPI support.
5874 # Check whether --enable-jvmpi or --disable-jvmpi was given.
5875 if test "${enable_jvmpi+set}" = set; then
5876 enableval
="$enable_jvmpi"
5880 if test "$enable_jvmpi" != no
; then
5882 cat >>confdefs.h
<<\_ACEOF
5883 #define ENABLE_JVMPI 1
5888 # If the target is an eCos system, use the appropriate eCos
5890 # FIXME: this should not be a local option but a global target
5891 # system; at present there is no eCos target.
5892 TARGET_ECOS
=${PROCESS-"no"}
5894 # Check whether --with-ecos or --without-ecos was given.
5895 if test "${with_ecos+set}" = set; then
5896 withval
="$with_ecos"
5897 TARGET_ECOS
="$with_ecos"
5903 PLATFORM_INNER_NAT_HDRS
=
5904 case "$TARGET_ECOS" in
5911 echo "$as_me:$LINENO: checking whether 'ld' is at least 2.13" >&5
5912 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6
5913 LD_PROG
=`$CC --print-prog-name=ld`
5914 LD_VERSION
=`$LD_PROG --version`
5915 LD_VERSION_MAJOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
5916 LD_VERSION_MINOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
5917 if expr "$LD_VERSION_MAJOR" \
> 2 > /dev
/null
; then
5920 if expr "$LD_VERSION_MAJOR" = 2 && expr "$LD_VERSION_MINOR" \
>= 13 > /dev
/null
; then
5924 if test "x$LD_OK" != x
; then
5925 echo "$as_me:$LINENO: result: yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
5926 echo "${ECHO_T}yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
5928 echo "$as_me:$LINENO: result: no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
5929 echo "${ECHO_T}no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
5930 { echo "$as_me:$LINENO: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&5
5931 echo "$as_me: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&2;}
5933 cat >>confdefs.h
<<\_ACEOF
5934 #define JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS 1
5943 PLATFORM_INNER_NAT_HDRS
='java/lang/ConcreteProcess$$ProcessManager.h'
5951 cat >>confdefs.h
<<\_ACEOF
5959 ac_config_links
="$ac_config_links include/platform.h:include/$PLATFORMH"
5963 ac_cpp
='$CPP $CPPFLAGS'
5964 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5965 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5966 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5967 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5968 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5969 # On Suns, sometimes $CPP names a directory.
5970 if test -n "$CPP" && test -d "$CPP"; then
5973 if test -z "$CPP"; then
5974 if test "${ac_cv_prog_CPP+set}" = set; then
5975 echo $ECHO_N "(cached) $ECHO_C" >&6
5977 # Double quotes because CPP needs to be expanded
5978 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5981 for ac_c_preproc_warn_flag
in '' yes
5983 # Use a header file that comes with gcc, so configuring glibc
5984 # with a fresh cross-compiler works.
5985 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5986 # <limits.h> exists even on freestanding compilers.
5987 # On the NeXT, cc -E runs the code through the compiler's parser,
5988 # not just through cpp. "Syntax error" is here to catch this case.
5989 cat >conftest.
$ac_ext <<_ACEOF
5992 cat confdefs.h
>>conftest.
$ac_ext
5993 cat >>conftest.
$ac_ext <<_ACEOF
5994 /* end confdefs.h. */
5996 # include <limits.h>
5998 # include <assert.h>
6002 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6003 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6005 grep -v '^ *+' conftest.er1
>conftest.err
6007 cat conftest.err
>&5
6008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009 (exit $ac_status); } >/dev
/null
; then
6010 if test -s conftest.err
; then
6011 ac_cpp_err
=$ac_c_preproc_warn_flag
6012 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6019 if test -z "$ac_cpp_err"; then
6022 echo "$as_me: failed program was:" >&5
6023 sed 's/^/| /' conftest.
$ac_ext >&5
6025 # Broken: fails on valid input.
6028 rm -f conftest.err conftest.
$ac_ext
6030 # OK, works on sane cases. Now check whether non-existent headers
6031 # can be detected and how.
6032 cat >conftest.
$ac_ext <<_ACEOF
6035 cat confdefs.h
>>conftest.
$ac_ext
6036 cat >>conftest.
$ac_ext <<_ACEOF
6037 /* end confdefs.h. */
6038 #include <ac_nonexistent.h>
6040 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6041 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6043 grep -v '^ *+' conftest.er1
>conftest.err
6045 cat conftest.err
>&5
6046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6047 (exit $ac_status); } >/dev
/null
; then
6048 if test -s conftest.err
; then
6049 ac_cpp_err
=$ac_c_preproc_warn_flag
6050 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6057 if test -z "$ac_cpp_err"; then
6058 # Broken: success on invalid input.
6061 echo "$as_me: failed program was:" >&5
6062 sed 's/^/| /' conftest.
$ac_ext >&5
6064 # Passes both tests.
6068 rm -f conftest.err conftest.
$ac_ext
6071 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6072 rm -f conftest.err conftest.
$ac_ext
6073 if $ac_preproc_ok; then
6085 echo "$as_me:$LINENO: result: $CPP" >&5
6086 echo "${ECHO_T}$CPP" >&6
6088 for ac_c_preproc_warn_flag
in '' yes
6090 # Use a header file that comes with gcc, so configuring glibc
6091 # with a fresh cross-compiler works.
6092 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6093 # <limits.h> exists even on freestanding compilers.
6094 # On the NeXT, cc -E runs the code through the compiler's parser,
6095 # not just through cpp. "Syntax error" is here to catch this case.
6096 cat >conftest.
$ac_ext <<_ACEOF
6099 cat confdefs.h
>>conftest.
$ac_ext
6100 cat >>conftest.
$ac_ext <<_ACEOF
6101 /* end confdefs.h. */
6103 # include <limits.h>
6105 # include <assert.h>
6109 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6110 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6112 grep -v '^ *+' conftest.er1
>conftest.err
6114 cat conftest.err
>&5
6115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6116 (exit $ac_status); } >/dev
/null
; then
6117 if test -s conftest.err
; then
6118 ac_cpp_err
=$ac_c_preproc_warn_flag
6119 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6126 if test -z "$ac_cpp_err"; then
6129 echo "$as_me: failed program was:" >&5
6130 sed 's/^/| /' conftest.
$ac_ext >&5
6132 # Broken: fails on valid input.
6135 rm -f conftest.err conftest.
$ac_ext
6137 # OK, works on sane cases. Now check whether non-existent headers
6138 # can be detected and how.
6139 cat >conftest.
$ac_ext <<_ACEOF
6142 cat confdefs.h
>>conftest.
$ac_ext
6143 cat >>conftest.
$ac_ext <<_ACEOF
6144 /* end confdefs.h. */
6145 #include <ac_nonexistent.h>
6147 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6148 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6150 grep -v '^ *+' conftest.er1
>conftest.err
6152 cat conftest.err
>&5
6153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6154 (exit $ac_status); } >/dev
/null
; then
6155 if test -s conftest.err
; then
6156 ac_cpp_err
=$ac_c_preproc_warn_flag
6157 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6164 if test -z "$ac_cpp_err"; then
6165 # Broken: success on invalid input.
6168 echo "$as_me: failed program was:" >&5
6169 sed 's/^/| /' conftest.
$ac_ext >&5
6171 # Passes both tests.
6175 rm -f conftest.err conftest.
$ac_ext
6178 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6179 rm -f conftest.err conftest.
$ac_ext
6180 if $ac_preproc_ok; then
6183 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6184 See \`config.log' for more details." >&5
6185 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6186 See \`config.log' for more details." >&2;}
6187 { (exit 1); exit 1; }; }
6191 ac_cpp
='$CPP $CPPFLAGS'
6192 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6193 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6194 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6197 echo "$as_me:$LINENO: checking for egrep" >&5
6198 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6199 if test "${ac_cv_prog_egrep+set}" = set; then
6200 echo $ECHO_N "(cached) $ECHO_C" >&6
6202 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
6203 then ac_cv_prog_egrep
='grep -E'
6204 else ac_cv_prog_egrep
='egrep'
6207 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6208 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6209 EGREP
=$ac_cv_prog_egrep
6212 cat >conftest.
$ac_ext <<_ACEOF
6215 cat confdefs.h
>>conftest.
$ac_ext
6216 cat >>conftest.
$ac_ext <<_ACEOF
6217 /* end confdefs.h. */
6221 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6222 $EGREP "uint32_t" >/dev
/null
2>&1; then
6224 cat >>confdefs.h
<<\_ACEOF
6225 #define HAVE_INT32_DEFINED 1
6231 cat >conftest.
$ac_ext <<_ACEOF
6234 cat confdefs.h
>>conftest.
$ac_ext
6235 cat >>conftest.
$ac_ext <<_ACEOF
6236 /* end confdefs.h. */
6237 #include <inttypes.h>
6240 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6241 $EGREP "uint32_t" >/dev
/null
2>&1; then
6243 cat >>confdefs.h
<<\_ACEOF
6244 #define HAVE_INT32_DEFINED 1
6250 cat >conftest.
$ac_ext <<_ACEOF
6253 cat confdefs.h
>>conftest.
$ac_ext
6254 cat >>conftest.
$ac_ext <<_ACEOF
6255 /* end confdefs.h. */
6256 #include <sys/types.h>
6259 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6260 $EGREP "u_int32_t" >/dev
/null
2>&1; then
6262 cat >>confdefs.h
<<\_ACEOF
6263 #define HAVE_BSD_INT32_DEFINED 1
6269 cat >conftest.
$ac_ext <<_ACEOF
6272 cat confdefs.h
>>conftest.
$ac_ext
6273 cat >>conftest.
$ac_ext <<_ACEOF
6274 /* end confdefs.h. */
6275 #include <sys/config.h>
6278 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6279 $EGREP "u_int32_t" >/dev
/null
2>&1; then
6281 cat >>confdefs.h
<<\_ACEOF
6282 #define HAVE_BSD_INT32_DEFINED 1
6291 if test "$PLATFORM" = Win32
; then
6292 USING_WIN32_PLATFORM_TRUE
=
6293 USING_WIN32_PLATFORM_FALSE
='#'
6295 USING_WIN32_PLATFORM_TRUE
='#'
6296 USING_WIN32_PLATFORM_FALSE
=
6301 if test "$PLATFORM" = Posix
; then
6302 USING_POSIX_PLATFORM_TRUE
=
6303 USING_POSIX_PLATFORM_FALSE
='#'
6305 USING_POSIX_PLATFORM_TRUE
='#'
6306 USING_POSIX_PLATFORM_FALSE
=
6311 if test "$PLATFORM" = Ecos
; then
6312 USING_ECOS_PLATFORM_TRUE
=
6313 USING_ECOS_PLATFORM_FALSE
='#'
6315 USING_ECOS_PLATFORM_TRUE
='#'
6316 USING_ECOS_PLATFORM_FALSE
=
6321 *-darwin*) DARWIN_CRT
=true
;;
6322 *) DARWIN_CRT
=false
;;
6326 if $DARWIN_CRT; then
6327 USING_DARWIN_CRT_TRUE
=
6328 USING_DARWIN_CRT_FALSE
='#'
6330 USING_DARWIN_CRT_TRUE
='#'
6331 USING_DARWIN_CRT_FALSE
=
6335 # These may not be defined in a non-ANS conformant embedded system.
6336 # FIXME: Should these case a runtime exception in that case?
6337 cat >conftest.
$ac_ext <<_ACEOF
6340 cat confdefs.h
>>conftest.
$ac_ext
6341 cat >>conftest.
$ac_ext <<_ACEOF
6342 /* end confdefs.h. */
6346 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6347 $EGREP "mktime" >/dev
/null
2>&1; then
6349 cat >>confdefs.h
<<\_ACEOF
6350 #define HAVE_MKTIME 1
6356 cat >conftest.
$ac_ext <<_ACEOF
6359 cat confdefs.h
>>conftest.
$ac_ext
6360 cat >>conftest.
$ac_ext <<_ACEOF
6361 /* end confdefs.h. */
6365 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6366 $EGREP "localtime" >/dev
/null
2>&1; then
6368 cat >>confdefs.h
<<\_ACEOF
6369 #define HAVE_LOCALTIME 1
6376 # Create the subdirectory for natFile.cc, or the attempt
6377 # to create the link will fail.
6378 test -d java || mkdir java
6379 test -d java
/io || mkdir java
/io
6380 test -d gnu || mkdir gnu
6381 ac_config_links
="$ac_config_links java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc"
6384 # Likewise for ConcreteProcess.java and natConcreteProcess.cc.
6385 test -d java
/lang || mkdir java
/lang
6386 ac_config_links
="$ac_config_links java/lang/ConcreteProcess.java:java/lang/${PLATFORM}Process.java"
6388 ac_config_links
="$ac_config_links java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc"
6391 # Likewise for natInetAddress.cc and natNetworkInterface.cc.
6392 test -d java
/net || mkdir java
/net
6393 ac_config_links
="$ac_config_links java/net/natInetAddress.cc:java/net/natInetAddress${PLATFORMNET}.cc"
6395 ac_config_links
="$ac_config_links java/net/natNetworkInterface.cc:java/net/natNetworkInterface${PLATFORMNET}.cc"
6398 # Likewise for natPlainSocketImpl.cc and natPlainDatagramSocketImpl.cc.
6399 test -d gnu
/java || mkdir gnu
/java
6400 test -d gnu
/java
/net || mkdir gnu
/java
/net
6401 ac_config_links
="$ac_config_links gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc"
6403 ac_config_links
="$ac_config_links gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc"
6406 # Likewise for natPipeImpl.cc and natSelectorImpl.cc.
6407 test -d gnu
/java
/nio || mkdir gnu
/java
/nio
6408 ac_config_links
="$ac_config_links gnu/java/nio/natPipeImpl.cc:gnu/java/nio/natPipeImpl${PLATFORM}.cc"
6410 ac_config_links
="$ac_config_links gnu/java/nio/natSelectorImpl.cc:gnu/java/nio/natSelectorImpl${PLATFORM}.cc"
6412 test -d gnu
/java
/nio
/channels || mkdir gnu
/java
/nio
/channels
6413 ac_config_links
="$ac_config_links gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc"
6418 SYSTEMSPEC
="-lgdi32 -lws2_32"
6419 if test "${with_win32_nlsapi}" = "unicows"; then
6420 SYSTEMSPEC
="-lunicows $SYSTEMSPEC"
6429 LIBGCJTESTSPEC
="-L`${PWDCMD-pwd}`/.libs -rpath `${PWDCMD-pwd}`/.libs"
6433 # Check whether --with-system-zlib or --without-system-zlib was given.
6434 if test "${with_system_zlib+set}" = set; then
6435 withval
="$with_system_zlib"
6444 if test "x$ac_path_x_has_been_run" != xyes
; then
6445 echo "$as_me:$LINENO: checking for X" >&5
6446 echo $ECHO_N "checking for X... $ECHO_C" >&6
6448 ac_path_x_has_been_run
=yes
6450 # Check whether --with-x or --without-x was given.
6451 if test "${with_x+set}" = set; then
6455 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
6456 if test "x$with_x" = xno
; then
6457 # The user explicitly disabled X.
6460 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
6461 # Both variables are already set.
6464 if test "${ac_cv_have_x+set}" = set; then
6465 echo $ECHO_N "(cached) $ECHO_C" >&6
6467 # One or both of the vars are not set, and there is no cached value.
6468 ac_x_includes
=no ac_x_libraries
=no
6470 if mkdir conftest.dir
; then
6472 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
6473 cat >Imakefile
<<'_ACEOF'
6475 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
6477 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
6478 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6479 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
6480 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
6481 for ac_extension
in a so sl
; do
6482 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
6483 test -f $ac_im_libdir/libX11.
$ac_extension; then
6484 ac_im_usrlibdir
=$ac_im_libdir; break
6487 # Screen out bogus values from the imake configuration. They are
6488 # bogus both because they are the default anyway, and because
6489 # using them would break gcc on systems where it needs fixed includes.
6490 case $ac_im_incroot in
6492 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
6494 case $ac_im_usrlibdir in
6496 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
6503 # Standard set of common directories for X headers.
6504 # Check X11 before X11Rn because it is often a symlink to the current release.
6516 /usr/local/X11/include
6517 /usr/local/X11R6/include
6518 /usr/local/X11R5/include
6519 /usr/local/X11R4/include
6521 /usr/local/include/X11
6522 /usr/local/include/X11R6
6523 /usr/local/include/X11R5
6524 /usr/local/include/X11R4
6528 /usr/XFree86/include/X11
6532 /usr/unsupported/include
6534 /usr/local/x11r5/include
6535 /usr/lpp/Xamples/include
6537 /usr/openwin/include
6538 /usr/openwin/share/include'
6540 if test "$ac_x_includes" = no
; then
6541 # Guess where to find include files, by looking for a specified header file.
6542 # First, try using that file with no special directory specified.
6543 cat >conftest.
$ac_ext <<_ACEOF
6546 cat confdefs.h
>>conftest.
$ac_ext
6547 cat >>conftest.
$ac_ext <<_ACEOF
6548 /* end confdefs.h. */
6549 #include <X11/Intrinsic.h>
6551 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6552 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6554 grep -v '^ *+' conftest.er1
>conftest.err
6556 cat conftest.err
>&5
6557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6558 (exit $ac_status); } >/dev
/null
; then
6559 if test -s conftest.err
; then
6560 ac_cpp_err
=$ac_c_preproc_warn_flag
6561 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6568 if test -z "$ac_cpp_err"; then
6569 # We can compile using X headers with no special include directory.
6572 echo "$as_me: failed program was:" >&5
6573 sed 's/^/| /' conftest.
$ac_ext >&5
6575 for ac_dir
in $ac_x_header_dirs; do
6576 if test -r "$ac_dir/X11/Intrinsic.h"; then
6577 ac_x_includes
=$ac_dir
6582 rm -f conftest.err conftest.
$ac_ext
6583 fi # $ac_x_includes = no
6585 if test "$ac_x_libraries" = no
; then
6586 # Check for the libraries.
6587 # See if we find them without any special options.
6588 # Don't add to $LIBS permanently.
6591 if test x
$gcc_no_link = xyes
; then
6592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6594 { (exit 1); exit 1; }; }
6596 cat >conftest.
$ac_ext <<_ACEOF
6599 cat confdefs.h
>>conftest.
$ac_ext
6600 cat >>conftest.
$ac_ext <<_ACEOF
6601 /* end confdefs.h. */
6602 #include <X11/Intrinsic.h>
6611 rm -f conftest.
$ac_objext conftest
$ac_exeext
6612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6613 (eval $ac_link) 2>conftest.er1
6615 grep -v '^ *+' conftest.er1
>conftest.err
6617 cat conftest.err
>&5
6618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619 (exit $ac_status); } &&
6620 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625 (exit $ac_status); }; } &&
6626 { ac_try
='test -s conftest$ac_exeext'
6627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631 (exit $ac_status); }; }; then
6633 # We can link X programs with no special library path.
6636 echo "$as_me: failed program was:" >&5
6637 sed 's/^/| /' conftest.
$ac_ext >&5
6640 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
6642 # Don't even attempt the hair of trying to link an X program!
6643 for ac_extension
in a so sl
; do
6644 if test -r $ac_dir/libXt.
$ac_extension; then
6645 ac_x_libraries
=$ac_dir
6651 rm -f conftest.err conftest.
$ac_objext \
6652 conftest
$ac_exeext conftest.
$ac_ext
6653 fi # $ac_x_libraries = no
6655 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
6656 # Didn't find X anywhere. Cache the known absence of X.
6657 ac_cv_have_x
="have_x=no"
6659 # Record where we found X for the cache.
6660 ac_cv_have_x
="have_x=yes \
6661 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
6666 eval "$ac_cv_have_x"
6669 if test "$have_x" != yes; then
6670 echo "$as_me:$LINENO: result: $have_x" >&5
6671 echo "${ECHO_T}$have_x" >&6
6674 # If each of the values was on the command line, it overrides each guess.
6675 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
6676 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
6677 # Update the cache value to reflect the command line values.
6678 ac_cv_have_x
="have_x=yes \
6679 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
6680 # It might be that x_includes is empty (headers are found in the
6681 # standard search path. Then output the corresponding message
6682 ac_out_x_includes
=$x_includes
6683 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
6684 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
6685 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
6689 if test "$no_x" = yes; then
6690 # Not all programs may use this symbol, but it does not hurt to define it.
6692 cat >>confdefs.h
<<\_ACEOF
6693 #define X_DISPLAY_MISSING 1
6696 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
6698 if test -n "$x_includes"; then
6699 X_CFLAGS
="$X_CFLAGS -I$x_includes"
6702 # It would also be nice to do this for all -L options, not just this one.
6703 if test -n "$x_libraries"; then
6704 X_LIBS
="$X_LIBS -L$x_libraries"
6705 # For Solaris; some versions of Sun CC require a space after -R and
6706 # others require no space. Words are not sufficient . . . .
6707 case `(uname -sr) 2>/dev/null` in
6709 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
6710 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
6711 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
6712 if test x
$gcc_no_link = xyes
; then
6713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6715 { (exit 1); exit 1; }; }
6717 cat >conftest.
$ac_ext <<_ACEOF
6720 cat confdefs.h
>>conftest.
$ac_ext
6721 cat >>conftest.
$ac_ext <<_ACEOF
6722 /* end confdefs.h. */
6732 rm -f conftest.
$ac_objext conftest
$ac_exeext
6733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6734 (eval $ac_link) 2>conftest.er1
6736 grep -v '^ *+' conftest.er1
>conftest.err
6738 cat conftest.err
>&5
6739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6740 (exit $ac_status); } &&
6741 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6746 (exit $ac_status); }; } &&
6747 { ac_try
='test -s conftest$ac_exeext'
6748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6752 (exit $ac_status); }; }; then
6755 echo "$as_me: failed program was:" >&5
6756 sed 's/^/| /' conftest.
$ac_ext >&5
6760 rm -f conftest.err conftest.
$ac_objext \
6761 conftest
$ac_exeext conftest.
$ac_ext
6762 if test $ac_R_nospace = yes; then
6763 echo "$as_me:$LINENO: result: no" >&5
6764 echo "${ECHO_T}no" >&6
6765 X_LIBS
="$X_LIBS -R$x_libraries"
6767 LIBS
="$ac_xsave_LIBS -R $x_libraries"
6768 if test x
$gcc_no_link = xyes
; then
6769 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6771 { (exit 1); exit 1; }; }
6773 cat >conftest.
$ac_ext <<_ACEOF
6776 cat confdefs.h
>>conftest.
$ac_ext
6777 cat >>conftest.
$ac_ext <<_ACEOF
6778 /* end confdefs.h. */
6788 rm -f conftest.
$ac_objext conftest
$ac_exeext
6789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6790 (eval $ac_link) 2>conftest.er1
6792 grep -v '^ *+' conftest.er1
>conftest.err
6794 cat conftest.err
>&5
6795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6796 (exit $ac_status); } &&
6797 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6802 (exit $ac_status); }; } &&
6803 { ac_try
='test -s conftest$ac_exeext'
6804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6808 (exit $ac_status); }; }; then
6811 echo "$as_me: failed program was:" >&5
6812 sed 's/^/| /' conftest.
$ac_ext >&5
6816 rm -f conftest.err conftest.
$ac_objext \
6817 conftest
$ac_exeext conftest.
$ac_ext
6818 if test $ac_R_space = yes; then
6819 echo "$as_me:$LINENO: result: yes" >&5
6820 echo "${ECHO_T}yes" >&6
6821 X_LIBS
="$X_LIBS -R $x_libraries"
6823 echo "$as_me:$LINENO: result: neither works" >&5
6824 echo "${ECHO_T}neither works" >&6
6831 # Check for system-dependent libraries X programs must link with.
6832 # Do this before checking for the system-independent R6 libraries
6833 # (-lICE), since we may need -lsocket or whatever for X linking.
6835 if test "$ISC" = yes; then
6836 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
6838 # Martyn Johnson says this is needed for Ultrix, if the X
6839 # libraries were built with DECnet support. And Karl Berry says
6840 # the Alpha needs dnet_stub (dnet does not exist).
6841 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
6842 if test x
$gcc_no_link = xyes
; then
6843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6845 { (exit 1); exit 1; }; }
6847 cat >conftest.
$ac_ext <<_ACEOF
6850 cat confdefs.h
>>conftest.
$ac_ext
6851 cat >>conftest.
$ac_ext <<_ACEOF
6852 /* end confdefs.h. */
6854 /* Override any gcc2 internal prototype to avoid an error. */
6858 /* We use char because int might match the return type of a gcc2
6859 builtin and then its argument prototype would still apply. */
6860 char XOpenDisplay ();
6869 rm -f conftest.
$ac_objext conftest
$ac_exeext
6870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6871 (eval $ac_link) 2>conftest.er1
6873 grep -v '^ *+' conftest.er1
>conftest.err
6875 cat conftest.err
>&5
6876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6877 (exit $ac_status); } &&
6878 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883 (exit $ac_status); }; } &&
6884 { ac_try
='test -s conftest$ac_exeext'
6885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6889 (exit $ac_status); }; }; then
6892 echo "$as_me: failed program was:" >&5
6893 sed 's/^/| /' conftest.
$ac_ext >&5
6895 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
6896 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
6897 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
6898 echo $ECHO_N "(cached) $ECHO_C" >&6
6900 ac_check_lib_save_LIBS
=$LIBS
6902 if test x
$gcc_no_link = xyes
; then
6903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6905 { (exit 1); exit 1; }; }
6907 cat >conftest.
$ac_ext <<_ACEOF
6910 cat confdefs.h
>>conftest.
$ac_ext
6911 cat >>conftest.
$ac_ext <<_ACEOF
6912 /* end confdefs.h. */
6914 /* Override any gcc2 internal prototype to avoid an error. */
6918 /* We use char because int might match the return type of a gcc2
6919 builtin and then its argument prototype would still apply. */
6929 rm -f conftest.
$ac_objext conftest
$ac_exeext
6930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6931 (eval $ac_link) 2>conftest.er1
6933 grep -v '^ *+' conftest.er1
>conftest.err
6935 cat conftest.err
>&5
6936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6937 (exit $ac_status); } &&
6938 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6943 (exit $ac_status); }; } &&
6944 { ac_try
='test -s conftest$ac_exeext'
6945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6949 (exit $ac_status); }; }; then
6950 ac_cv_lib_dnet_dnet_ntoa
=yes
6952 echo "$as_me: failed program was:" >&5
6953 sed 's/^/| /' conftest.
$ac_ext >&5
6955 ac_cv_lib_dnet_dnet_ntoa
=no
6957 rm -f conftest.err conftest.
$ac_objext \
6958 conftest
$ac_exeext conftest.
$ac_ext
6959 LIBS
=$ac_check_lib_save_LIBS
6961 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
6962 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
6963 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
6964 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
6967 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
6968 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
6969 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
6970 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
6971 echo $ECHO_N "(cached) $ECHO_C" >&6
6973 ac_check_lib_save_LIBS
=$LIBS
6974 LIBS
="-ldnet_stub $LIBS"
6975 if test x
$gcc_no_link = xyes
; then
6976 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6978 { (exit 1); exit 1; }; }
6980 cat >conftest.
$ac_ext <<_ACEOF
6983 cat confdefs.h
>>conftest.
$ac_ext
6984 cat >>conftest.
$ac_ext <<_ACEOF
6985 /* end confdefs.h. */
6987 /* Override any gcc2 internal prototype to avoid an error. */
6991 /* We use char because int might match the return type of a gcc2
6992 builtin and then its argument prototype would still apply. */
7002 rm -f conftest.
$ac_objext conftest
$ac_exeext
7003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7004 (eval $ac_link) 2>conftest.er1
7006 grep -v '^ *+' conftest.er1
>conftest.err
7008 cat conftest.err
>&5
7009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7010 (exit $ac_status); } &&
7011 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7016 (exit $ac_status); }; } &&
7017 { ac_try
='test -s conftest$ac_exeext'
7018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7022 (exit $ac_status); }; }; then
7023 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
7025 echo "$as_me: failed program was:" >&5
7026 sed 's/^/| /' conftest.
$ac_ext >&5
7028 ac_cv_lib_dnet_stub_dnet_ntoa
=no
7030 rm -f conftest.err conftest.
$ac_objext \
7031 conftest
$ac_exeext conftest.
$ac_ext
7032 LIBS
=$ac_check_lib_save_LIBS
7034 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7035 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
7036 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
7037 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7042 rm -f conftest.err conftest.
$ac_objext \
7043 conftest
$ac_exeext conftest.
$ac_ext
7044 LIBS
="$ac_xsave_LIBS"
7046 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7047 # to get the SysV transport functions.
7048 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7050 # The nsl library prevents programs from opening the X display
7051 # on Irix 5.2, according to T.E. Dickey.
7052 # The functions gethostbyname, getservbyname, and inet_addr are
7053 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7054 echo "$as_me:$LINENO: checking for gethostbyname" >&5
7055 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
7056 if test "${ac_cv_func_gethostbyname+set}" = set; then
7057 echo $ECHO_N "(cached) $ECHO_C" >&6
7059 if test x
$gcc_no_link = xyes
; then
7060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7062 { (exit 1); exit 1; }; }
7064 cat >conftest.
$ac_ext <<_ACEOF
7067 cat confdefs.h
>>conftest.
$ac_ext
7068 cat >>conftest.
$ac_ext <<_ACEOF
7069 /* end confdefs.h. */
7070 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
7071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7072 #define gethostbyname innocuous_gethostbyname
7074 /* System header to define __stub macros and hopefully few prototypes,
7075 which can conflict with char gethostbyname (); below.
7076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7077 <limits.h> exists even on freestanding compilers. */
7080 # include <limits.h>
7082 # include <assert.h>
7085 #undef gethostbyname
7087 /* Override any gcc2 internal prototype to avoid an error. */
7092 /* We use char because int might match the return type of a gcc2
7093 builtin and then its argument prototype would still apply. */
7094 char gethostbyname ();
7095 /* The GNU C library defines this for functions which it implements
7096 to always fail with ENOSYS. Some functions are actually named
7097 something starting with __ and the normal name is an alias. */
7098 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7101 char (*f) () = gethostbyname;
7110 return f != gethostbyname;
7115 rm -f conftest.
$ac_objext conftest
$ac_exeext
7116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7117 (eval $ac_link) 2>conftest.er1
7119 grep -v '^ *+' conftest.er1
>conftest.err
7121 cat conftest.err
>&5
7122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7123 (exit $ac_status); } &&
7124 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7129 (exit $ac_status); }; } &&
7130 { ac_try
='test -s conftest$ac_exeext'
7131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7135 (exit $ac_status); }; }; then
7136 ac_cv_func_gethostbyname
=yes
7138 echo "$as_me: failed program was:" >&5
7139 sed 's/^/| /' conftest.
$ac_ext >&5
7141 ac_cv_func_gethostbyname
=no
7143 rm -f conftest.err conftest.
$ac_objext \
7144 conftest
$ac_exeext conftest.
$ac_ext
7146 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
7147 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
7149 if test $ac_cv_func_gethostbyname = no
; then
7150 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
7151 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
7152 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
7153 echo $ECHO_N "(cached) $ECHO_C" >&6
7155 ac_check_lib_save_LIBS
=$LIBS
7157 if test x
$gcc_no_link = xyes
; then
7158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7160 { (exit 1); exit 1; }; }
7162 cat >conftest.
$ac_ext <<_ACEOF
7165 cat confdefs.h
>>conftest.
$ac_ext
7166 cat >>conftest.
$ac_ext <<_ACEOF
7167 /* end confdefs.h. */
7169 /* Override any gcc2 internal prototype to avoid an error. */
7173 /* We use char because int might match the return type of a gcc2
7174 builtin and then its argument prototype would still apply. */
7175 char gethostbyname ();
7184 rm -f conftest.
$ac_objext conftest
$ac_exeext
7185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7186 (eval $ac_link) 2>conftest.er1
7188 grep -v '^ *+' conftest.er1
>conftest.err
7190 cat conftest.err
>&5
7191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7192 (exit $ac_status); } &&
7193 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7198 (exit $ac_status); }; } &&
7199 { ac_try
='test -s conftest$ac_exeext'
7200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7204 (exit $ac_status); }; }; then
7205 ac_cv_lib_nsl_gethostbyname
=yes
7207 echo "$as_me: failed program was:" >&5
7208 sed 's/^/| /' conftest.
$ac_ext >&5
7210 ac_cv_lib_nsl_gethostbyname
=no
7212 rm -f conftest.err conftest.
$ac_objext \
7213 conftest
$ac_exeext conftest.
$ac_ext
7214 LIBS
=$ac_check_lib_save_LIBS
7216 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
7217 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
7218 if test $ac_cv_lib_nsl_gethostbyname = yes; then
7219 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7222 if test $ac_cv_lib_nsl_gethostbyname = no
; then
7223 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
7224 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
7225 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
7226 echo $ECHO_N "(cached) $ECHO_C" >&6
7228 ac_check_lib_save_LIBS
=$LIBS
7230 if test x
$gcc_no_link = xyes
; then
7231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7233 { (exit 1); exit 1; }; }
7235 cat >conftest.
$ac_ext <<_ACEOF
7238 cat confdefs.h
>>conftest.
$ac_ext
7239 cat >>conftest.
$ac_ext <<_ACEOF
7240 /* end confdefs.h. */
7242 /* Override any gcc2 internal prototype to avoid an error. */
7246 /* We use char because int might match the return type of a gcc2
7247 builtin and then its argument prototype would still apply. */
7248 char gethostbyname ();
7257 rm -f conftest.
$ac_objext conftest
$ac_exeext
7258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7259 (eval $ac_link) 2>conftest.er1
7261 grep -v '^ *+' conftest.er1
>conftest.err
7263 cat conftest.err
>&5
7264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7265 (exit $ac_status); } &&
7266 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7271 (exit $ac_status); }; } &&
7272 { ac_try
='test -s conftest$ac_exeext'
7273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7277 (exit $ac_status); }; }; then
7278 ac_cv_lib_bsd_gethostbyname
=yes
7280 echo "$as_me: failed program was:" >&5
7281 sed 's/^/| /' conftest.
$ac_ext >&5
7283 ac_cv_lib_bsd_gethostbyname
=no
7285 rm -f conftest.err conftest.
$ac_objext \
7286 conftest
$ac_exeext conftest.
$ac_ext
7287 LIBS
=$ac_check_lib_save_LIBS
7289 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
7290 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
7291 if test $ac_cv_lib_bsd_gethostbyname = yes; then
7292 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
7298 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7299 # socket/setsockopt and other routines are undefined under SCO ODT
7300 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7301 # on later versions), says Simon Leinen: it contains gethostby*
7302 # variants that don't use the name server (or something). -lsocket
7303 # must be given before -lnsl if both are needed. We assume that
7304 # if connect needs -lnsl, so does gethostbyname.
7305 echo "$as_me:$LINENO: checking for connect" >&5
7306 echo $ECHO_N "checking for connect... $ECHO_C" >&6
7307 if test "${ac_cv_func_connect+set}" = set; then
7308 echo $ECHO_N "(cached) $ECHO_C" >&6
7310 if test x
$gcc_no_link = xyes
; then
7311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7313 { (exit 1); exit 1; }; }
7315 cat >conftest.
$ac_ext <<_ACEOF
7318 cat confdefs.h
>>conftest.
$ac_ext
7319 cat >>conftest.
$ac_ext <<_ACEOF
7320 /* end confdefs.h. */
7321 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
7322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7323 #define connect innocuous_connect
7325 /* System header to define __stub macros and hopefully few prototypes,
7326 which can conflict with char connect (); below.
7327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7328 <limits.h> exists even on freestanding compilers. */
7331 # include <limits.h>
7333 # include <assert.h>
7338 /* Override any gcc2 internal prototype to avoid an error. */
7343 /* We use char because int might match the return type of a gcc2
7344 builtin and then its argument prototype would still apply. */
7346 /* The GNU C library defines this for functions which it implements
7347 to always fail with ENOSYS. Some functions are actually named
7348 something starting with __ and the normal name is an alias. */
7349 #if defined (__stub_connect) || defined (__stub___connect)
7352 char (*f) () = connect;
7361 return f != connect;
7366 rm -f conftest.
$ac_objext conftest
$ac_exeext
7367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7368 (eval $ac_link) 2>conftest.er1
7370 grep -v '^ *+' conftest.er1
>conftest.err
7372 cat conftest.err
>&5
7373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7374 (exit $ac_status); } &&
7375 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7380 (exit $ac_status); }; } &&
7381 { ac_try
='test -s conftest$ac_exeext'
7382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7386 (exit $ac_status); }; }; then
7387 ac_cv_func_connect
=yes
7389 echo "$as_me: failed program was:" >&5
7390 sed 's/^/| /' conftest.
$ac_ext >&5
7392 ac_cv_func_connect
=no
7394 rm -f conftest.err conftest.
$ac_objext \
7395 conftest
$ac_exeext conftest.
$ac_ext
7397 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
7398 echo "${ECHO_T}$ac_cv_func_connect" >&6
7400 if test $ac_cv_func_connect = no
; then
7401 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
7402 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
7403 if test "${ac_cv_lib_socket_connect+set}" = set; then
7404 echo $ECHO_N "(cached) $ECHO_C" >&6
7406 ac_check_lib_save_LIBS
=$LIBS
7407 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7408 if test x
$gcc_no_link = xyes
; then
7409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7411 { (exit 1); exit 1; }; }
7413 cat >conftest.
$ac_ext <<_ACEOF
7416 cat confdefs.h
>>conftest.
$ac_ext
7417 cat >>conftest.
$ac_ext <<_ACEOF
7418 /* end confdefs.h. */
7420 /* Override any gcc2 internal prototype to avoid an error. */
7424 /* We use char because int might match the return type of a gcc2
7425 builtin and then its argument prototype would still apply. */
7435 rm -f conftest.
$ac_objext conftest
$ac_exeext
7436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7437 (eval $ac_link) 2>conftest.er1
7439 grep -v '^ *+' conftest.er1
>conftest.err
7441 cat conftest.err
>&5
7442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7443 (exit $ac_status); } &&
7444 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7449 (exit $ac_status); }; } &&
7450 { ac_try
='test -s conftest$ac_exeext'
7451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7455 (exit $ac_status); }; }; then
7456 ac_cv_lib_socket_connect
=yes
7458 echo "$as_me: failed program was:" >&5
7459 sed 's/^/| /' conftest.
$ac_ext >&5
7461 ac_cv_lib_socket_connect
=no
7463 rm -f conftest.err conftest.
$ac_objext \
7464 conftest
$ac_exeext conftest.
$ac_ext
7465 LIBS
=$ac_check_lib_save_LIBS
7467 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
7468 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
7469 if test $ac_cv_lib_socket_connect = yes; then
7470 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7475 # Guillermo Gomez says -lposix is necessary on A/UX.
7476 echo "$as_me:$LINENO: checking for remove" >&5
7477 echo $ECHO_N "checking for remove... $ECHO_C" >&6
7478 if test "${ac_cv_func_remove+set}" = set; then
7479 echo $ECHO_N "(cached) $ECHO_C" >&6
7481 if test x
$gcc_no_link = xyes
; then
7482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7484 { (exit 1); exit 1; }; }
7486 cat >conftest.
$ac_ext <<_ACEOF
7489 cat confdefs.h
>>conftest.
$ac_ext
7490 cat >>conftest.
$ac_ext <<_ACEOF
7491 /* end confdefs.h. */
7492 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
7493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7494 #define remove innocuous_remove
7496 /* System header to define __stub macros and hopefully few prototypes,
7497 which can conflict with char remove (); below.
7498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7499 <limits.h> exists even on freestanding compilers. */
7502 # include <limits.h>
7504 # include <assert.h>
7509 /* Override any gcc2 internal prototype to avoid an error. */
7514 /* We use char because int might match the return type of a gcc2
7515 builtin and then its argument prototype would still apply. */
7517 /* The GNU C library defines this for functions which it implements
7518 to always fail with ENOSYS. Some functions are actually named
7519 something starting with __ and the normal name is an alias. */
7520 #if defined (__stub_remove) || defined (__stub___remove)
7523 char (*f) () = remove;
7537 rm -f conftest.
$ac_objext conftest
$ac_exeext
7538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7539 (eval $ac_link) 2>conftest.er1
7541 grep -v '^ *+' conftest.er1
>conftest.err
7543 cat conftest.err
>&5
7544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7545 (exit $ac_status); } &&
7546 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7551 (exit $ac_status); }; } &&
7552 { ac_try
='test -s conftest$ac_exeext'
7553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7557 (exit $ac_status); }; }; then
7558 ac_cv_func_remove
=yes
7560 echo "$as_me: failed program was:" >&5
7561 sed 's/^/| /' conftest.
$ac_ext >&5
7563 ac_cv_func_remove
=no
7565 rm -f conftest.err conftest.
$ac_objext \
7566 conftest
$ac_exeext conftest.
$ac_ext
7568 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
7569 echo "${ECHO_T}$ac_cv_func_remove" >&6
7571 if test $ac_cv_func_remove = no
; then
7572 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
7573 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
7574 if test "${ac_cv_lib_posix_remove+set}" = set; then
7575 echo $ECHO_N "(cached) $ECHO_C" >&6
7577 ac_check_lib_save_LIBS
=$LIBS
7578 LIBS
="-lposix $LIBS"
7579 if test x
$gcc_no_link = xyes
; then
7580 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7582 { (exit 1); exit 1; }; }
7584 cat >conftest.
$ac_ext <<_ACEOF
7587 cat confdefs.h
>>conftest.
$ac_ext
7588 cat >>conftest.
$ac_ext <<_ACEOF
7589 /* end confdefs.h. */
7591 /* Override any gcc2 internal prototype to avoid an error. */
7595 /* We use char because int might match the return type of a gcc2
7596 builtin and then its argument prototype would still apply. */
7606 rm -f conftest.
$ac_objext conftest
$ac_exeext
7607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7608 (eval $ac_link) 2>conftest.er1
7610 grep -v '^ *+' conftest.er1
>conftest.err
7612 cat conftest.err
>&5
7613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7614 (exit $ac_status); } &&
7615 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7620 (exit $ac_status); }; } &&
7621 { ac_try
='test -s conftest$ac_exeext'
7622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7626 (exit $ac_status); }; }; then
7627 ac_cv_lib_posix_remove
=yes
7629 echo "$as_me: failed program was:" >&5
7630 sed 's/^/| /' conftest.
$ac_ext >&5
7632 ac_cv_lib_posix_remove
=no
7634 rm -f conftest.err conftest.
$ac_objext \
7635 conftest
$ac_exeext conftest.
$ac_ext
7636 LIBS
=$ac_check_lib_save_LIBS
7638 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
7639 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
7640 if test $ac_cv_lib_posix_remove = yes; then
7641 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7646 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7647 echo "$as_me:$LINENO: checking for shmat" >&5
7648 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
7649 if test "${ac_cv_func_shmat+set}" = set; then
7650 echo $ECHO_N "(cached) $ECHO_C" >&6
7652 if test x
$gcc_no_link = xyes
; then
7653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7655 { (exit 1); exit 1; }; }
7657 cat >conftest.
$ac_ext <<_ACEOF
7660 cat confdefs.h
>>conftest.
$ac_ext
7661 cat >>conftest.
$ac_ext <<_ACEOF
7662 /* end confdefs.h. */
7663 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
7664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7665 #define shmat innocuous_shmat
7667 /* System header to define __stub macros and hopefully few prototypes,
7668 which can conflict with char shmat (); below.
7669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7670 <limits.h> exists even on freestanding compilers. */
7673 # include <limits.h>
7675 # include <assert.h>
7680 /* Override any gcc2 internal prototype to avoid an error. */
7685 /* We use char because int might match the return type of a gcc2
7686 builtin and then its argument prototype would still apply. */
7688 /* The GNU C library defines this for functions which it implements
7689 to always fail with ENOSYS. Some functions are actually named
7690 something starting with __ and the normal name is an alias. */
7691 #if defined (__stub_shmat) || defined (__stub___shmat)
7694 char (*f) () = shmat;
7708 rm -f conftest.
$ac_objext conftest
$ac_exeext
7709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7710 (eval $ac_link) 2>conftest.er1
7712 grep -v '^ *+' conftest.er1
>conftest.err
7714 cat conftest.err
>&5
7715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7716 (exit $ac_status); } &&
7717 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7722 (exit $ac_status); }; } &&
7723 { ac_try
='test -s conftest$ac_exeext'
7724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7728 (exit $ac_status); }; }; then
7729 ac_cv_func_shmat
=yes
7731 echo "$as_me: failed program was:" >&5
7732 sed 's/^/| /' conftest.
$ac_ext >&5
7736 rm -f conftest.err conftest.
$ac_objext \
7737 conftest
$ac_exeext conftest.
$ac_ext
7739 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
7740 echo "${ECHO_T}$ac_cv_func_shmat" >&6
7742 if test $ac_cv_func_shmat = no
; then
7743 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
7744 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
7745 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
7746 echo $ECHO_N "(cached) $ECHO_C" >&6
7748 ac_check_lib_save_LIBS
=$LIBS
7750 if test x
$gcc_no_link = xyes
; then
7751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7753 { (exit 1); exit 1; }; }
7755 cat >conftest.
$ac_ext <<_ACEOF
7758 cat confdefs.h
>>conftest.
$ac_ext
7759 cat >>conftest.
$ac_ext <<_ACEOF
7760 /* end confdefs.h. */
7762 /* Override any gcc2 internal prototype to avoid an error. */
7766 /* We use char because int might match the return type of a gcc2
7767 builtin and then its argument prototype would still apply. */
7777 rm -f conftest.
$ac_objext conftest
$ac_exeext
7778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7779 (eval $ac_link) 2>conftest.er1
7781 grep -v '^ *+' conftest.er1
>conftest.err
7783 cat conftest.err
>&5
7784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7785 (exit $ac_status); } &&
7786 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7791 (exit $ac_status); }; } &&
7792 { ac_try
='test -s conftest$ac_exeext'
7793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7797 (exit $ac_status); }; }; then
7798 ac_cv_lib_ipc_shmat
=yes
7800 echo "$as_me: failed program was:" >&5
7801 sed 's/^/| /' conftest.
$ac_ext >&5
7803 ac_cv_lib_ipc_shmat
=no
7805 rm -f conftest.err conftest.
$ac_objext \
7806 conftest
$ac_exeext conftest.
$ac_ext
7807 LIBS
=$ac_check_lib_save_LIBS
7809 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
7810 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
7811 if test $ac_cv_lib_ipc_shmat = yes; then
7812 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7818 # Check for libraries that X11R6 Xt/Xaw programs need.
7819 ac_save_LDFLAGS
=$LDFLAGS
7820 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7821 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7822 # check for ICE first), but we must link in the order -lSM -lICE or
7823 # we get undefined symbols. So assume we have SM if we have ICE.
7824 # These have to be linked with before -lX11, unlike the other
7825 # libraries we check for below, so use a different variable.
7826 # John Interrante, Karl Berry
7827 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
7828 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
7829 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
7830 echo $ECHO_N "(cached) $ECHO_C" >&6
7832 ac_check_lib_save_LIBS
=$LIBS
7833 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7834 if test x
$gcc_no_link = xyes
; then
7835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7837 { (exit 1); exit 1; }; }
7839 cat >conftest.
$ac_ext <<_ACEOF
7842 cat confdefs.h
>>conftest.
$ac_ext
7843 cat >>conftest.
$ac_ext <<_ACEOF
7844 /* end confdefs.h. */
7846 /* Override any gcc2 internal prototype to avoid an error. */
7850 /* We use char because int might match the return type of a gcc2
7851 builtin and then its argument prototype would still apply. */
7852 char IceConnectionNumber ();
7856 IceConnectionNumber ();
7861 rm -f conftest.
$ac_objext conftest
$ac_exeext
7862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7863 (eval $ac_link) 2>conftest.er1
7865 grep -v '^ *+' conftest.er1
>conftest.err
7867 cat conftest.err
>&5
7868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7869 (exit $ac_status); } &&
7870 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7875 (exit $ac_status); }; } &&
7876 { ac_try
='test -s conftest$ac_exeext'
7877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7881 (exit $ac_status); }; }; then
7882 ac_cv_lib_ICE_IceConnectionNumber
=yes
7884 echo "$as_me: failed program was:" >&5
7885 sed 's/^/| /' conftest.
$ac_ext >&5
7887 ac_cv_lib_ICE_IceConnectionNumber
=no
7889 rm -f conftest.err conftest.
$ac_objext \
7890 conftest
$ac_exeext conftest.
$ac_ext
7891 LIBS
=$ac_check_lib_save_LIBS
7893 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7894 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
7895 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
7896 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7899 LDFLAGS
=$ac_save_LDFLAGS
7904 # Determine which AWT peer libraries to build
7905 # Check whether --enable-java-awt or --disable-java-awt was given.
7906 if test "${enable_java_awt+set}" = set; then
7907 enableval
="$enable_java_awt"
7911 peerlibs
="`echo ${enable_java_awt} | tr ',' ' '`"
7914 # The default toolkit to use is the first one specified.
7918 for peer
in $peerlibs ; do
7921 if test "$no_x" = yes; then
7922 echo "*** xlib peers requested but no X library available" 1>&2
7926 if test -z "$TOOLKIT"; then
7927 TOOLKIT
=gnu.awt.xlib.XToolkit
7932 if test "$no_x" = yes; then
7933 echo "*** xlib peers requested but no X library available" 1>&2
7937 if test -z "$TOOLKIT"; then
7938 TOOLKIT
=gnu.java.awt.peer.gtk.GtkToolkit
7940 test -d jniinclude || mkdir jniinclude
7949 echo "*** unrecognised argument \"${peer}\" for --enable-java-awt" 1>&2
7956 if test "$use_xlib_awt" = yes; then
7966 if test "$use_gtk_awt" = yes; then
7975 # determine whether to enable the cairo GTK Graphics2D backend
7976 # Check whether --enable-gtk-cairo or --disable-gtk-cairo was given.
7977 if test "${enable_gtk_cairo+set}" = set; then
7978 enableval
="$enable_gtk_cairo"
7983 if test "x${enable_gtk_cairo}" = xyes
; then
7991 if test "x${enable_gtk_cairo}" = xyes
7996 if test -z "$PKG_CONFIG"; then
7997 # Extract the first word of "pkg-config", so it can be a program name with args.
7998 set dummy pkg-config
; ac_word
=$2
7999 echo "$as_me:$LINENO: checking for $ac_word" >&5
8000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8001 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
8002 echo $ECHO_N "(cached) $ECHO_C" >&6
8006 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
8009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8013 test -z "$as_dir" && as_dir
=.
8014 for ac_exec_ext
in '' $ac_executable_extensions; do
8015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8016 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
8017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8023 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
8027 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
8029 if test -n "$PKG_CONFIG"; then
8030 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8031 echo "${ECHO_T}$PKG_CONFIG" >&6
8033 echo "$as_me:$LINENO: result: no" >&5
8034 echo "${ECHO_T}no" >&6
8039 if test "$PKG_CONFIG" = "no" ; then
8040 echo "*** The pkg-config script could not be found. Make sure it is"
8041 echo "*** in your path, or set the PKG_CONFIG environment variable"
8042 echo "*** to the full path to pkg-config."
8043 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
8045 PKG_CONFIG_MIN_VERSION
=0.9.0
8046 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
8047 echo "$as_me:$LINENO: checking for cairo" >&5
8048 echo $ECHO_N "checking for cairo... $ECHO_C" >&6
8050 if $PKG_CONFIG --exists "cairo" ; then
8051 echo "$as_me:$LINENO: result: yes" >&5
8052 echo "${ECHO_T}yes" >&6
8055 echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5
8056 echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6
8057 CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo"`
8058 echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5
8059 echo "${ECHO_T}$CAIRO_CFLAGS" >&6
8061 echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5
8062 echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6
8063 CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo"`
8064 echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5
8065 echo "${ECHO_T}$CAIRO_LIBS" >&6
8069 ## If we have a custom action on failure, don't print errors, but
8070 ## do set a variable so people can do so.
8071 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
8072 echo $CAIRO_PKG_ERRORS
8078 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
8079 echo "*** See http://www.freedesktop.org/software/pkgconfig"
8083 if test $succeeded = yes; then
8086 { { 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
8087 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;}
8088 { (exit 1); exit 1; }; }
8094 if test -z "$PKG_CONFIG"; then
8095 # Extract the first word of "pkg-config", so it can be a program name with args.
8096 set dummy pkg-config
; ac_word
=$2
8097 echo "$as_me:$LINENO: checking for $ac_word" >&5
8098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8099 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
8100 echo $ECHO_N "(cached) $ECHO_C" >&6
8104 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
8107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8111 test -z "$as_dir" && as_dir
=.
8112 for ac_exec_ext
in '' $ac_executable_extensions; do
8113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8114 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
8115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8121 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
8125 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
8127 if test -n "$PKG_CONFIG"; then
8128 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8129 echo "${ECHO_T}$PKG_CONFIG" >&6
8131 echo "$as_me:$LINENO: result: no" >&5
8132 echo "${ECHO_T}no" >&6
8137 if test "$PKG_CONFIG" = "no" ; then
8138 echo "*** The pkg-config script could not be found. Make sure it is"
8139 echo "*** in your path, or set the PKG_CONFIG environment variable"
8140 echo "*** to the full path to pkg-config."
8141 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
8143 PKG_CONFIG_MIN_VERSION
=0.9.0
8144 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
8145 echo "$as_me:$LINENO: checking for pangoft2" >&5
8146 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
8148 if $PKG_CONFIG --exists "pangoft2" ; then
8149 echo "$as_me:$LINENO: result: yes" >&5
8150 echo "${ECHO_T}yes" >&6
8153 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
8154 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
8155 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
8156 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
8157 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
8159 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
8160 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
8161 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
8162 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
8163 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
8167 ## If we have a custom action on failure, don't print errors, but
8168 ## do set a variable so people can do so.
8169 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
8170 echo $PANGOFT2_PKG_ERRORS
8176 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
8177 echo "*** See http://www.freedesktop.org/software/pkgconfig"
8181 if test $succeeded = yes; then
8184 { { 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
8185 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;}
8186 { (exit 1); exit 1; }; }
8195 # FIXME: this should be _libs on some hosts.
8198 # Allow the GC to be disabled. Can be useful when debugging.
8199 echo "$as_me:$LINENO: checking for garbage collector to use" >&5
8200 echo $ECHO_N "checking for garbage collector to use... $ECHO_C" >&6
8201 # Check whether --enable-java-gc or --disable-java-gc was given.
8202 if test "${enable_java_gc+set}" = set; then
8203 enableval
="$enable_java_gc"
8216 echo "$as_me:$LINENO: result: boehm" >&5
8217 echo "${ECHO_T}boehm" >&6
8218 GCLIBS
=..
/boehm-gc
/libgcjgc_convenience.la
8219 JC1GCSPEC
='-fuse-boehm-gc'
8220 GCTESTSPEC
="-L`${PWDCMD-pwd}`/../boehm-gc/.libs -rpath `${PWDCMD-pwd}`/../boehm-gc/.libs"
8221 GCINCS
='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include'
8224 # The POSIX thread support needs to know this.
8226 cat >>confdefs.h
<<\_ACEOF
8227 #define HAVE_BOEHM_GC 1
8232 echo "$as_me:$LINENO: result: none" >&5
8233 echo "${ECHO_T}none" >&6
8237 { { echo "$as_me:$LINENO: error: unrecognized collector \"$GC\"" >&5
8238 echo "$as_me: error: unrecognized collector \"$GC\"" >&2;}
8239 { (exit 1); exit 1; }; }
8248 ac_config_links
="$ac_config_links include/java-gc.h:include/$GCHDR"
8252 if test "$GC" = boehm
; then
8254 USING_BOEHMGC_FALSE
='#'
8256 USING_BOEHMGC_TRUE
='#'
8257 USING_BOEHMGC_FALSE
=
8262 if test "$GC" = no
; then
8264 USING_NOGC_FALSE
='#'
8272 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
8273 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
8274 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
8275 echo "$as_me:$LINENO: result: $THREADS" >&5
8276 echo "${ECHO_T}$THREADS" >&6
8282 posix | posix95 | pthreads
)
8287 cat >>confdefs.h
<<\_ACEOF
8288 #define LINUX_THREADS 1
8296 decosf1 | irix | mach | os2 | solaris | dce | vxworks
)
8297 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
8298 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
8299 { (exit 1); exit 1; }; }
8302 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
8303 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
8304 { (exit 1); exit 1; }; }
8319 # Don't set THREADLIBS here. Cygwin doesn't have -lpthread.
8322 # Before FreeBSD 5, it didn't have -lpthread (or any library which
8323 # merely adds pthread_* functions) but it does have a -pthread switch
8324 # which is required at link-time to select -lc_r *instead* of -lc.
8325 THREADLDFLAGS
=-pthread
8326 # Don't set THREADSPEC here as might be expected since -pthread is
8327 # not processed when found within a spec file, it must come from
8328 # the command line. For now, the user must provide the -pthread
8329 # switch to link code compiled with gcj. In future, consider adding
8330 # support for weak references to pthread_* functions ala gthr.h API.
8331 THREADSPEC
='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
8334 # FreeBSD 5 implements a model much closer to other modern UNIX
8335 # which support threads. However, it still does not support
8337 THREADLDFLAGS
=-pthread
8341 THREADCXXFLAGS
=-pthread
8342 # boehm-gc needs some functions from librt, so link that too.
8343 THREADLIBS
='-lpthread -lrt'
8344 THREADSPEC
='-lpthread -lrt'
8347 THREADLIBS
=-lpthread
8348 THREADSPEC
=-lpthread
8351 THREADH
=posix-threads.h
8352 # MIT pthreads doesn't seem to have the mutexattr functions.
8353 # But for now we don't check for it. We just assume you aren't
8354 # using MIT pthreads.
8356 cat >>confdefs.h
<<\_ACEOF
8357 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
8361 # If we're using the Boehm GC, then we happen to know that it
8362 # defines _REENTRANT, so we don't bother. Eww.
8363 if test "$GC" != boehm
; then
8365 cat >>confdefs.h
<<\_ACEOF
8366 #define _REENTRANT 1
8371 cat >>confdefs.h
<<\_ACEOF
8372 #define _POSIX_PTHREAD_SEMANTICS 1
8378 THREADH
=win32-threads.h
8382 THREADH
=no-threads.h
8385 ac_config_links
="$ac_config_links include/java-threads.h:include/$THREADH"
8395 if test "$THREADS" = posix
; then
8396 USING_POSIX_THREADS_TRUE
=
8397 USING_POSIX_THREADS_FALSE
='#'
8399 USING_POSIX_THREADS_TRUE
='#'
8400 USING_POSIX_THREADS_FALSE
=
8405 if test "$THREADS" = win32
; then
8406 USING_WIN32_THREADS_TRUE
=
8407 USING_WIN32_THREADS_FALSE
='#'
8409 USING_WIN32_THREADS_TRUE
='#'
8410 USING_WIN32_THREADS_FALSE
=
8415 if test "$THREADS" = none
; then
8416 USING_NO_THREADS_TRUE
=
8417 USING_NO_THREADS_FALSE
='#'
8419 USING_NO_THREADS_TRUE
='#'
8420 USING_NO_THREADS_FALSE
=
8424 if test -d sysdep
; then true
; else mkdir sysdep
; fi
8425 ac_config_links
="$ac_config_links sysdep/locks.h:sysdep/$sysdeps_dir/locks.h"
8429 # Hash synchronization is only useful with posix threads right now.
8430 if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then
8431 HASH_SYNC_SPEC
=-fhash-synchronization
8433 cat >>confdefs.h
<<\_ACEOF
8434 #define JV_HASH_SYNCHRONIZATION 1
8443 if test "$GCC" = yes; then
8452 # We're in the tree with gcc, and need to include some of its headers.
8453 GCC_UNWIND_INCLUDE
='-I$(libgcj_basedir)/../gcc'
8455 # Figure out where generated headers like libgcj-config.h get installed.
8456 gcc_version_trigger
=${libgcj_basedir}/..
/gcc
/version.c
8457 gcc_version_full
=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
8458 gcc_version
=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
8459 tool_include_dir
='$(libdir)/gcc/$(target_noncanonical)/'${gcc_version}/include
8463 if test "x${with_newlib}" = "xyes"; then
8464 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
8465 # may not work correctly, because the compiler may not be able to
8468 # We assume newlib. This lets us hard-code the functions we know
8471 cat >>confdefs.h
<<\_ACEOF
8472 #define HAVE_MEMMOVE 1
8476 cat >>confdefs.h
<<\_ACEOF
8477 #define HAVE_MEMCPY 1
8481 cat >>confdefs.h
<<\_ACEOF
8482 #define HAVE_STRERROR 1
8486 cat >>confdefs.h
<<\_ACEOF
8491 cat >>confdefs.h
<<\_ACEOF
8492 #define HAVE_GMTIME_R 1
8496 cat >>confdefs.h
<<\_ACEOF
8497 #define HAVE_LOCALTIME_R 1
8501 cat >>confdefs.h
<<\_ACEOF
8502 #define HAVE_USLEEP_DECL 1
8505 # This is only for POSIX threads.
8507 cat >>confdefs.h
<<\_ACEOF
8508 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
8511 # We also assume we are using gcc, which provides alloca.
8512 cat >>confdefs.h
<<\_ACEOF
8513 #define HAVE_ALLOCA 1
8517 # Assume we do not have getuid and friends.
8519 cat >>confdefs.h
<<\_ACEOF
8533 for ac_func
in strerror ioctl
select fstat open fsync
sleep opendir
8535 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8536 echo "$as_me:$LINENO: checking for $ac_func" >&5
8537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8538 if eval "test \"\${$as_ac_var+set}\" = set"; then
8539 echo $ECHO_N "(cached) $ECHO_C" >&6
8541 if test x
$gcc_no_link = xyes
; then
8542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8544 { (exit 1); exit 1; }; }
8546 cat >conftest.
$ac_ext <<_ACEOF
8549 cat confdefs.h
>>conftest.
$ac_ext
8550 cat >>conftest.
$ac_ext <<_ACEOF
8551 /* end confdefs.h. */
8552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8554 #define $ac_func innocuous_$ac_func
8556 /* System header to define __stub macros and hopefully few prototypes,
8557 which can conflict with char $ac_func (); below.
8558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8559 <limits.h> exists even on freestanding compilers. */
8562 # include <limits.h>
8564 # include <assert.h>
8569 /* Override any gcc2 internal prototype to avoid an error. */
8574 /* We use char because int might match the return type of a gcc2
8575 builtin and then its argument prototype would still apply. */
8577 /* The GNU C library defines this for functions which it implements
8578 to always fail with ENOSYS. Some functions are actually named
8579 something starting with __ and the normal name is an alias. */
8580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8583 char (*f) () = $ac_func;
8592 return f != $ac_func;
8597 rm -f conftest.
$ac_objext conftest
$ac_exeext
8598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8599 (eval $ac_link) 2>conftest.er1
8601 grep -v '^ *+' conftest.er1
>conftest.err
8603 cat conftest.err
>&5
8604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8605 (exit $ac_status); } &&
8606 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8611 (exit $ac_status); }; } &&
8612 { ac_try
='test -s conftest$ac_exeext'
8613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8617 (exit $ac_status); }; }; then
8618 eval "$as_ac_var=yes"
8620 echo "$as_me: failed program was:" >&5
8621 sed 's/^/| /' conftest.
$ac_ext >&5
8623 eval "$as_ac_var=no"
8625 rm -f conftest.err conftest.
$ac_objext \
8626 conftest
$ac_exeext conftest.
$ac_ext
8628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8630 if test `eval echo '${'$as_ac_var'}'` = yes; then
8631 cat >>confdefs.h
<<_ACEOF
8632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8643 for ac_func
in gmtime_r localtime_r readdir_r getpwuid_r getcwd
8645 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8646 echo "$as_me:$LINENO: checking for $ac_func" >&5
8647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8648 if eval "test \"\${$as_ac_var+set}\" = set"; then
8649 echo $ECHO_N "(cached) $ECHO_C" >&6
8651 if test x
$gcc_no_link = xyes
; then
8652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8654 { (exit 1); exit 1; }; }
8656 cat >conftest.
$ac_ext <<_ACEOF
8659 cat confdefs.h
>>conftest.
$ac_ext
8660 cat >>conftest.
$ac_ext <<_ACEOF
8661 /* end confdefs.h. */
8662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8664 #define $ac_func innocuous_$ac_func
8666 /* System header to define __stub macros and hopefully few prototypes,
8667 which can conflict with char $ac_func (); below.
8668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8669 <limits.h> exists even on freestanding compilers. */
8672 # include <limits.h>
8674 # include <assert.h>
8679 /* Override any gcc2 internal prototype to avoid an error. */
8684 /* We use char because int might match the return type of a gcc2
8685 builtin and then its argument prototype would still apply. */
8687 /* The GNU C library defines this for functions which it implements
8688 to always fail with ENOSYS. Some functions are actually named
8689 something starting with __ and the normal name is an alias. */
8690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8693 char (*f) () = $ac_func;
8702 return f != $ac_func;
8707 rm -f conftest.
$ac_objext conftest
$ac_exeext
8708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8709 (eval $ac_link) 2>conftest.er1
8711 grep -v '^ *+' conftest.er1
>conftest.err
8713 cat conftest.err
>&5
8714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8715 (exit $ac_status); } &&
8716 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8721 (exit $ac_status); }; } &&
8722 { ac_try
='test -s conftest$ac_exeext'
8723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8727 (exit $ac_status); }; }; then
8728 eval "$as_ac_var=yes"
8730 echo "$as_me: failed program was:" >&5
8731 sed 's/^/| /' conftest.
$ac_ext >&5
8733 eval "$as_ac_var=no"
8735 rm -f conftest.err conftest.
$ac_objext \
8736 conftest
$ac_exeext conftest.
$ac_ext
8738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8740 if test `eval echo '${'$as_ac_var'}'` = yes; then
8741 cat >>confdefs.h
<<_ACEOF
8742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8757 for ac_func
in access stat mkdir rename
rmdir unlink realpath utime
chmod
8759 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8760 echo "$as_me:$LINENO: checking for $ac_func" >&5
8761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8762 if eval "test \"\${$as_ac_var+set}\" = set"; then
8763 echo $ECHO_N "(cached) $ECHO_C" >&6
8765 if test x
$gcc_no_link = xyes
; then
8766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8768 { (exit 1); exit 1; }; }
8770 cat >conftest.
$ac_ext <<_ACEOF
8773 cat confdefs.h
>>conftest.
$ac_ext
8774 cat >>conftest.
$ac_ext <<_ACEOF
8775 /* end confdefs.h. */
8776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8778 #define $ac_func innocuous_$ac_func
8780 /* System header to define __stub macros and hopefully few prototypes,
8781 which can conflict with char $ac_func (); below.
8782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8783 <limits.h> exists even on freestanding compilers. */
8786 # include <limits.h>
8788 # include <assert.h>
8793 /* Override any gcc2 internal prototype to avoid an error. */
8798 /* We use char because int might match the return type of a gcc2
8799 builtin and then its argument prototype would still apply. */
8801 /* The GNU C library defines this for functions which it implements
8802 to always fail with ENOSYS. Some functions are actually named
8803 something starting with __ and the normal name is an alias. */
8804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8807 char (*f) () = $ac_func;
8816 return f != $ac_func;
8821 rm -f conftest.
$ac_objext conftest
$ac_exeext
8822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8823 (eval $ac_link) 2>conftest.er1
8825 grep -v '^ *+' conftest.er1
>conftest.err
8827 cat conftest.err
>&5
8828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8829 (exit $ac_status); } &&
8830 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8835 (exit $ac_status); }; } &&
8836 { ac_try
='test -s conftest$ac_exeext'
8837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8841 (exit $ac_status); }; }; then
8842 eval "$as_ac_var=yes"
8844 echo "$as_me: failed program was:" >&5
8845 sed 's/^/| /' conftest.
$ac_ext >&5
8847 eval "$as_ac_var=no"
8849 rm -f conftest.err conftest.
$ac_objext \
8850 conftest
$ac_exeext conftest.
$ac_ext
8852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8854 if test `eval echo '${'$as_ac_var'}'` = yes; then
8855 cat >>confdefs.h
<<_ACEOF
8856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8864 for ac_func
in nl_langinfo setlocale
8866 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8867 echo "$as_me:$LINENO: checking for $ac_func" >&5
8868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8869 if eval "test \"\${$as_ac_var+set}\" = set"; then
8870 echo $ECHO_N "(cached) $ECHO_C" >&6
8872 if test x
$gcc_no_link = xyes
; then
8873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8875 { (exit 1); exit 1; }; }
8877 cat >conftest.
$ac_ext <<_ACEOF
8880 cat confdefs.h
>>conftest.
$ac_ext
8881 cat >>conftest.
$ac_ext <<_ACEOF
8882 /* end confdefs.h. */
8883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8885 #define $ac_func innocuous_$ac_func
8887 /* System header to define __stub macros and hopefully few prototypes,
8888 which can conflict with char $ac_func (); below.
8889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8890 <limits.h> exists even on freestanding compilers. */
8893 # include <limits.h>
8895 # include <assert.h>
8900 /* Override any gcc2 internal prototype to avoid an error. */
8905 /* We use char because int might match the return type of a gcc2
8906 builtin and then its argument prototype would still apply. */
8908 /* The GNU C library defines this for functions which it implements
8909 to always fail with ENOSYS. Some functions are actually named
8910 something starting with __ and the normal name is an alias. */
8911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8914 char (*f) () = $ac_func;
8923 return f != $ac_func;
8928 rm -f conftest.
$ac_objext conftest
$ac_exeext
8929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8930 (eval $ac_link) 2>conftest.er1
8932 grep -v '^ *+' conftest.er1
>conftest.err
8934 cat conftest.err
>&5
8935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8936 (exit $ac_status); } &&
8937 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8942 (exit $ac_status); }; } &&
8943 { ac_try
='test -s conftest$ac_exeext'
8944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8948 (exit $ac_status); }; }; then
8949 eval "$as_ac_var=yes"
8951 echo "$as_me: failed program was:" >&5
8952 sed 's/^/| /' conftest.
$ac_ext >&5
8954 eval "$as_ac_var=no"
8956 rm -f conftest.err conftest.
$ac_objext \
8957 conftest
$ac_exeext conftest.
$ac_ext
8959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8961 if test `eval echo '${'$as_ac_var'}'` = yes; then
8962 cat >>confdefs.h
<<_ACEOF
8963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8971 for ac_func
in inet_aton inet_addr
8973 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8974 echo "$as_me:$LINENO: checking for $ac_func" >&5
8975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8976 if eval "test \"\${$as_ac_var+set}\" = set"; then
8977 echo $ECHO_N "(cached) $ECHO_C" >&6
8979 if test x
$gcc_no_link = xyes
; then
8980 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8982 { (exit 1); exit 1; }; }
8984 cat >conftest.
$ac_ext <<_ACEOF
8987 cat confdefs.h
>>conftest.
$ac_ext
8988 cat >>conftest.
$ac_ext <<_ACEOF
8989 /* end confdefs.h. */
8990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8992 #define $ac_func innocuous_$ac_func
8994 /* System header to define __stub macros and hopefully few prototypes,
8995 which can conflict with char $ac_func (); below.
8996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8997 <limits.h> exists even on freestanding compilers. */
9000 # include <limits.h>
9002 # include <assert.h>
9007 /* Override any gcc2 internal prototype to avoid an error. */
9012 /* We use char because int might match the return type of a gcc2
9013 builtin and then its argument prototype would still apply. */
9015 /* The GNU C library defines this for functions which it implements
9016 to always fail with ENOSYS. Some functions are actually named
9017 something starting with __ and the normal name is an alias. */
9018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9021 char (*f) () = $ac_func;
9030 return f != $ac_func;
9035 rm -f conftest.
$ac_objext conftest
$ac_exeext
9036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9037 (eval $ac_link) 2>conftest.er1
9039 grep -v '^ *+' conftest.er1
>conftest.err
9041 cat conftest.err
>&5
9042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9043 (exit $ac_status); } &&
9044 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9049 (exit $ac_status); }; } &&
9050 { ac_try
='test -s conftest$ac_exeext'
9051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9055 (exit $ac_status); }; }; then
9056 eval "$as_ac_var=yes"
9058 echo "$as_me: failed program was:" >&5
9059 sed 's/^/| /' conftest.
$ac_ext >&5
9061 eval "$as_ac_var=no"
9063 rm -f conftest.err conftest.
$ac_objext \
9064 conftest
$ac_exeext conftest.
$ac_ext
9066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9068 if test `eval echo '${'$as_ac_var'}'` = yes; then
9069 cat >>confdefs.h
<<_ACEOF
9070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9079 for ac_func
in inet_pton uname inet_ntoa
9081 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9082 echo "$as_me:$LINENO: checking for $ac_func" >&5
9083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9084 if eval "test \"\${$as_ac_var+set}\" = set"; then
9085 echo $ECHO_N "(cached) $ECHO_C" >&6
9087 if test x
$gcc_no_link = xyes
; then
9088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9090 { (exit 1); exit 1; }; }
9092 cat >conftest.
$ac_ext <<_ACEOF
9095 cat confdefs.h
>>conftest.
$ac_ext
9096 cat >>conftest.
$ac_ext <<_ACEOF
9097 /* end confdefs.h. */
9098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9100 #define $ac_func innocuous_$ac_func
9102 /* System header to define __stub macros and hopefully few prototypes,
9103 which can conflict with char $ac_func (); below.
9104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9105 <limits.h> exists even on freestanding compilers. */
9108 # include <limits.h>
9110 # include <assert.h>
9115 /* Override any gcc2 internal prototype to avoid an error. */
9120 /* We use char because int might match the return type of a gcc2
9121 builtin and then its argument prototype would still apply. */
9123 /* The GNU C library defines this for functions which it implements
9124 to always fail with ENOSYS. Some functions are actually named
9125 something starting with __ and the normal name is an alias. */
9126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9129 char (*f) () = $ac_func;
9138 return f != $ac_func;
9143 rm -f conftest.
$ac_objext conftest
$ac_exeext
9144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9145 (eval $ac_link) 2>conftest.er1
9147 grep -v '^ *+' conftest.er1
>conftest.err
9149 cat conftest.err
>&5
9150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9151 (exit $ac_status); } &&
9152 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9157 (exit $ac_status); }; } &&
9158 { ac_try
='test -s conftest$ac_exeext'
9159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9163 (exit $ac_status); }; }; then
9164 eval "$as_ac_var=yes"
9166 echo "$as_me: failed program was:" >&5
9167 sed 's/^/| /' conftest.
$ac_ext >&5
9169 eval "$as_ac_var=no"
9171 rm -f conftest.err conftest.
$ac_objext \
9172 conftest
$ac_exeext conftest.
$ac_ext
9174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9176 if test `eval echo '${'$as_ac_var'}'` = yes; then
9177 cat >>confdefs.h
<<_ACEOF
9178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9189 for ac_func
in fork execvp pipe sigaction ftruncate
9191 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9192 echo "$as_me:$LINENO: checking for $ac_func" >&5
9193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9194 if eval "test \"\${$as_ac_var+set}\" = set"; then
9195 echo $ECHO_N "(cached) $ECHO_C" >&6
9197 if test x
$gcc_no_link = xyes
; then
9198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9200 { (exit 1); exit 1; }; }
9202 cat >conftest.
$ac_ext <<_ACEOF
9205 cat confdefs.h
>>conftest.
$ac_ext
9206 cat >>conftest.
$ac_ext <<_ACEOF
9207 /* end confdefs.h. */
9208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9210 #define $ac_func innocuous_$ac_func
9212 /* System header to define __stub macros and hopefully few prototypes,
9213 which can conflict with char $ac_func (); below.
9214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9215 <limits.h> exists even on freestanding compilers. */
9218 # include <limits.h>
9220 # include <assert.h>
9225 /* Override any gcc2 internal prototype to avoid an error. */
9230 /* We use char because int might match the return type of a gcc2
9231 builtin and then its argument prototype would still apply. */
9233 /* The GNU C library defines this for functions which it implements
9234 to always fail with ENOSYS. Some functions are actually named
9235 something starting with __ and the normal name is an alias. */
9236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9239 char (*f) () = $ac_func;
9248 return f != $ac_func;
9253 rm -f conftest.
$ac_objext conftest
$ac_exeext
9254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9255 (eval $ac_link) 2>conftest.er1
9257 grep -v '^ *+' conftest.er1
>conftest.err
9259 cat conftest.err
>&5
9260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9261 (exit $ac_status); } &&
9262 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9267 (exit $ac_status); }; } &&
9268 { ac_try
='test -s conftest$ac_exeext'
9269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9273 (exit $ac_status); }; }; then
9274 eval "$as_ac_var=yes"
9276 echo "$as_me: failed program was:" >&5
9277 sed 's/^/| /' conftest.
$ac_ext >&5
9279 eval "$as_ac_var=no"
9281 rm -f conftest.err conftest.
$ac_objext \
9282 conftest
$ac_exeext conftest.
$ac_ext
9284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9286 if test `eval echo '${'$as_ac_var'}'` = yes; then
9287 cat >>confdefs.h
<<_ACEOF
9288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9294 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
9295 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
9296 if test "${ac_cv_header_stdc+set}" = set; then
9297 echo $ECHO_N "(cached) $ECHO_C" >&6
9299 cat >conftest.
$ac_ext <<_ACEOF
9302 cat confdefs.h
>>conftest.
$ac_ext
9303 cat >>conftest.
$ac_ext <<_ACEOF
9304 /* end confdefs.h. */
9318 rm -f conftest.
$ac_objext
9319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9320 (eval $ac_compile) 2>conftest.er1
9322 grep -v '^ *+' conftest.er1
>conftest.err
9324 cat conftest.err
>&5
9325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9326 (exit $ac_status); } &&
9327 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9332 (exit $ac_status); }; } &&
9333 { ac_try
='test -s conftest.$ac_objext'
9334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9338 (exit $ac_status); }; }; then
9339 ac_cv_header_stdc
=yes
9341 echo "$as_me: failed program was:" >&5
9342 sed 's/^/| /' conftest.
$ac_ext >&5
9344 ac_cv_header_stdc
=no
9346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9348 if test $ac_cv_header_stdc = yes; then
9349 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9350 cat >conftest.
$ac_ext <<_ACEOF
9353 cat confdefs.h
>>conftest.
$ac_ext
9354 cat >>conftest.
$ac_ext <<_ACEOF
9355 /* end confdefs.h. */
9359 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9360 $EGREP "memchr" >/dev
/null
2>&1; then
9363 ac_cv_header_stdc
=no
9369 if test $ac_cv_header_stdc = yes; then
9370 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9371 cat >conftest.
$ac_ext <<_ACEOF
9374 cat confdefs.h
>>conftest.
$ac_ext
9375 cat >>conftest.
$ac_ext <<_ACEOF
9376 /* end confdefs.h. */
9380 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9381 $EGREP "free" >/dev
/null
2>&1; then
9384 ac_cv_header_stdc
=no
9390 if test $ac_cv_header_stdc = yes; then
9391 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9392 if test "$cross_compiling" = yes; then
9395 cat >conftest.
$ac_ext <<_ACEOF
9398 cat confdefs.h
>>conftest.
$ac_ext
9399 cat >>conftest.
$ac_ext <<_ACEOF
9400 /* end confdefs.h. */
9402 #if ((' ' & 0x0FF) == 0x020)
9403 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9404 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9406 # define ISLOWER(c) \
9407 (('a' <= (c) && (c) <= 'i') \
9408 || ('j' <= (c) && (c) <= 'r') \
9409 || ('s' <= (c) && (c) <= 'z'))
9410 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9413 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9418 for (i = 0; i < 256; i++)
9419 if (XOR (islower (i), ISLOWER (i))
9420 || toupper (i) != TOUPPER (i))
9425 rm -f conftest
$ac_exeext
9426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9427 (eval $ac_link) 2>&5
9429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9430 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9435 (exit $ac_status); }; }; then
9438 echo "$as_me: program exited with status $ac_status" >&5
9439 echo "$as_me: failed program was:" >&5
9440 sed 's/^/| /' conftest.
$ac_ext >&5
9443 ac_cv_header_stdc
=no
9445 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9449 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
9450 echo "${ECHO_T}$ac_cv_header_stdc" >&6
9451 if test $ac_cv_header_stdc = yes; then
9453 cat >>confdefs.h
<<\_ACEOF
9454 #define STDC_HEADERS 1
9459 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9469 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
9470 inttypes.h stdint.h unistd.h
9472 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9473 echo "$as_me:$LINENO: checking for $ac_header" >&5
9474 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9476 echo $ECHO_N "(cached) $ECHO_C" >&6
9478 cat >conftest.
$ac_ext <<_ACEOF
9481 cat confdefs.h
>>conftest.
$ac_ext
9482 cat >>conftest.
$ac_ext <<_ACEOF
9483 /* end confdefs.h. */
9484 $ac_includes_default
9486 #include <$ac_header>
9488 rm -f conftest.
$ac_objext
9489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9490 (eval $ac_compile) 2>conftest.er1
9492 grep -v '^ *+' conftest.er1
>conftest.err
9494 cat conftest.err
>&5
9495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9496 (exit $ac_status); } &&
9497 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9502 (exit $ac_status); }; } &&
9503 { ac_try
='test -s conftest.$ac_objext'
9504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9508 (exit $ac_status); }; }; then
9509 eval "$as_ac_Header=yes"
9511 echo "$as_me: failed program was:" >&5
9512 sed 's/^/| /' conftest.
$ac_ext >&5
9514 eval "$as_ac_Header=no"
9516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9519 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9520 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9521 cat >>confdefs.h
<<_ACEOF
9522 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9533 for ac_header
in execinfo.h unistd.h dlfcn.h
9535 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9537 echo "$as_me:$LINENO: checking for $ac_header" >&5
9538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9540 echo $ECHO_N "(cached) $ECHO_C" >&6
9542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9543 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9545 # Is the header compilable?
9546 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9547 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9548 cat >conftest.
$ac_ext <<_ACEOF
9551 cat confdefs.h
>>conftest.
$ac_ext
9552 cat >>conftest.
$ac_ext <<_ACEOF
9553 /* end confdefs.h. */
9554 $ac_includes_default
9555 #include <$ac_header>
9557 rm -f conftest.
$ac_objext
9558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9559 (eval $ac_compile) 2>conftest.er1
9561 grep -v '^ *+' conftest.er1
>conftest.err
9563 cat conftest.err
>&5
9564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9565 (exit $ac_status); } &&
9566 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9571 (exit $ac_status); }; } &&
9572 { ac_try
='test -s conftest.$ac_objext'
9573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9577 (exit $ac_status); }; }; then
9578 ac_header_compiler
=yes
9580 echo "$as_me: failed program was:" >&5
9581 sed 's/^/| /' conftest.
$ac_ext >&5
9583 ac_header_compiler
=no
9585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9586 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9587 echo "${ECHO_T}$ac_header_compiler" >&6
9589 # Is the header present?
9590 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9591 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9592 cat >conftest.
$ac_ext <<_ACEOF
9595 cat confdefs.h
>>conftest.
$ac_ext
9596 cat >>conftest.
$ac_ext <<_ACEOF
9597 /* end confdefs.h. */
9598 #include <$ac_header>
9600 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9601 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9603 grep -v '^ *+' conftest.er1
>conftest.err
9605 cat conftest.err
>&5
9606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9607 (exit $ac_status); } >/dev
/null
; then
9608 if test -s conftest.err
; then
9609 ac_cpp_err
=$ac_c_preproc_warn_flag
9610 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9617 if test -z "$ac_cpp_err"; then
9618 ac_header_preproc
=yes
9620 echo "$as_me: failed program was:" >&5
9621 sed 's/^/| /' conftest.
$ac_ext >&5
9623 ac_header_preproc
=no
9625 rm -f conftest.err conftest.
$ac_ext
9626 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9627 echo "${ECHO_T}$ac_header_preproc" >&6
9629 # So? What about this header?
9630 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9632 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9633 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9634 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9635 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9636 ac_header_preproc
=yes
9639 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9640 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9641 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9642 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9643 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9644 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9645 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9646 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9647 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9648 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9649 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9650 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9653 ## ---------------------------------- ##
9654 ## Report this to the libjava lists. ##
9655 ## ---------------------------------- ##
9658 sed "s/^/$as_me: WARNING: /" >&2
9661 echo "$as_me:$LINENO: checking for $ac_header" >&5
9662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9663 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9664 echo $ECHO_N "(cached) $ECHO_C" >&6
9666 eval "$as_ac_Header=\$ac_header_preproc"
9668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9672 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9673 cat >>confdefs.h
<<_ACEOF
9674 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9681 echo "$as_me:$LINENO: checking for backtrace" >&5
9682 echo $ECHO_N "checking for backtrace... $ECHO_C" >&6
9683 if test "${ac_cv_func_backtrace+set}" = set; then
9684 echo $ECHO_N "(cached) $ECHO_C" >&6
9686 if test x
$gcc_no_link = xyes
; then
9687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9689 { (exit 1); exit 1; }; }
9691 cat >conftest.
$ac_ext <<_ACEOF
9694 cat confdefs.h
>>conftest.
$ac_ext
9695 cat >>conftest.
$ac_ext <<_ACEOF
9696 /* end confdefs.h. */
9697 /* Define backtrace to an innocuous variant, in case <limits.h> declares backtrace.
9698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9699 #define backtrace innocuous_backtrace
9701 /* System header to define __stub macros and hopefully few prototypes,
9702 which can conflict with char backtrace (); below.
9703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9704 <limits.h> exists even on freestanding compilers. */
9707 # include <limits.h>
9709 # include <assert.h>
9714 /* Override any gcc2 internal prototype to avoid an error. */
9719 /* We use char because int might match the return type of a gcc2
9720 builtin and then its argument prototype would still apply. */
9722 /* The GNU C library defines this for functions which it implements
9723 to always fail with ENOSYS. Some functions are actually named
9724 something starting with __ and the normal name is an alias. */
9725 #if defined (__stub_backtrace) || defined (__stub___backtrace)
9728 char (*f) () = backtrace;
9737 return f != backtrace;
9742 rm -f conftest.
$ac_objext conftest
$ac_exeext
9743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9744 (eval $ac_link) 2>conftest.er1
9746 grep -v '^ *+' conftest.er1
>conftest.err
9748 cat conftest.err
>&5
9749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9750 (exit $ac_status); } &&
9751 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9756 (exit $ac_status); }; } &&
9757 { ac_try
='test -s conftest$ac_exeext'
9758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9762 (exit $ac_status); }; }; then
9763 ac_cv_func_backtrace
=yes
9765 echo "$as_me: failed program was:" >&5
9766 sed 's/^/| /' conftest.
$ac_ext >&5
9768 ac_cv_func_backtrace
=no
9770 rm -f conftest.err conftest.
$ac_objext \
9771 conftest
$ac_exeext conftest.
$ac_ext
9773 echo "$as_me:$LINENO: result: $ac_cv_func_backtrace" >&5
9774 echo "${ECHO_T}$ac_cv_func_backtrace" >&6
9775 if test $ac_cv_func_backtrace = yes; then
9779 # Has broken backtrace()
9782 # Has broken backtrace(), but we supply our own.
9783 if test -d sysdep
; then true
; else mkdir
-p sysdep
; fi
9784 supply_backtrace
=yes
9786 cat >>confdefs.h
<<\_ACEOF
9787 #define HAVE_BACKTRACE 1
9793 cat >>confdefs.h
<<\_ACEOF
9794 #define HAVE_BACKTRACE 1
9804 # Has backtrace() defined in libgcj itself
9806 cat >>confdefs.h
<<\_ACEOF
9807 #define HAVE_BACKTRACE 1
9816 echo "$as_me:$LINENO: checking for dladdr in -ldl" >&5
9817 echo $ECHO_N "checking for dladdr in -ldl... $ECHO_C" >&6
9818 if test "${ac_cv_lib_dl_dladdr+set}" = set; then
9819 echo $ECHO_N "(cached) $ECHO_C" >&6
9821 ac_check_lib_save_LIBS
=$LIBS
9823 if test x
$gcc_no_link = xyes
; then
9824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9826 { (exit 1); exit 1; }; }
9828 cat >conftest.
$ac_ext <<_ACEOF
9831 cat confdefs.h
>>conftest.
$ac_ext
9832 cat >>conftest.
$ac_ext <<_ACEOF
9833 /* end confdefs.h. */
9835 /* Override any gcc2 internal prototype to avoid an error. */
9839 /* We use char because int might match the return type of a gcc2
9840 builtin and then its argument prototype would still apply. */
9850 rm -f conftest.
$ac_objext conftest
$ac_exeext
9851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9852 (eval $ac_link) 2>conftest.er1
9854 grep -v '^ *+' conftest.er1
>conftest.err
9856 cat conftest.err
>&5
9857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9858 (exit $ac_status); } &&
9859 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9864 (exit $ac_status); }; } &&
9865 { ac_try
='test -s conftest$ac_exeext'
9866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9870 (exit $ac_status); }; }; then
9871 ac_cv_lib_dl_dladdr
=yes
9873 echo "$as_me: failed program was:" >&5
9874 sed 's/^/| /' conftest.
$ac_ext >&5
9876 ac_cv_lib_dl_dladdr
=no
9878 rm -f conftest.err conftest.
$ac_objext \
9879 conftest
$ac_exeext conftest.
$ac_ext
9880 LIBS
=$ac_check_lib_save_LIBS
9882 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dladdr" >&5
9883 echo "${ECHO_T}$ac_cv_lib_dl_dladdr" >&6
9884 if test $ac_cv_lib_dl_dladdr = yes; then
9886 if test "x${disable_dladdr}" = "xyes"; then
9891 cat >>confdefs.h
<<\_ACEOF
9892 #define HAVE_DLADDR 1
9899 if test x
"$build" = x
"$host"; then
9900 echo "$as_me:$LINENO: checking for /proc/self/exe" >&5
9901 echo $ECHO_N "checking for /proc/self/exe... $ECHO_C" >&6
9902 if test "${ac_cv_file__proc_self_exe+set}" = set; then
9903 echo $ECHO_N "(cached) $ECHO_C" >&6
9905 test "$cross_compiling" = yes &&
9906 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
9907 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
9908 { (exit 1); exit 1; }; }
9909 if test -r "/proc/self/exe"; then
9910 ac_cv_file__proc_self_exe
=yes
9912 ac_cv_file__proc_self_exe
=no
9915 echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_exe" >&5
9916 echo "${ECHO_T}$ac_cv_file__proc_self_exe" >&6
9917 if test $ac_cv_file__proc_self_exe = yes; then
9919 cat >>confdefs.h
<<_ACEOF
9920 #define HAVE__PROC_SELF_EXE 1
9925 cat >>confdefs.h
<<\_ACEOF
9926 #define HAVE_PROC_SELF_EXE 1
9935 cat >>confdefs.h
<<\_ACEOF
9936 #define HAVE_PROC_SELF_EXE 1
9944 if test "X$prefix" = "XNONE"; then
9945 acl_final_prefix
="$ac_default_prefix"
9947 acl_final_prefix
="$prefix"
9949 if test "X$exec_prefix" = "XNONE"; then
9950 acl_final_exec_prefix
='${prefix}'
9952 acl_final_exec_prefix
="$exec_prefix"
9954 acl_save_prefix
="$prefix"
9955 prefix
="$acl_final_prefix"
9956 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
9957 prefix
="$acl_save_prefix"
9960 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9961 if test "${with_gnu_ld+set}" = set; then
9962 withval
="$with_gnu_ld"
9963 test "$withval" = no || with_gnu_ld
=yes
9967 # Prepare PATH_SEPARATOR.
9968 # The user is always right.
9969 if test "${PATH_SEPARATOR+set}" != set; then
9970 echo "#! /bin/sh" >conf$$.sh
9971 echo "exit 0" >>conf$$.sh
9973 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9981 if test "$GCC" = yes; then
9982 # Check if gcc -print-prog-name=ld gives a path.
9983 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
9984 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
9987 # gcc leaves a trailing carriage return which upsets mingw
9988 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9990 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
9993 # Accept absolute paths.
9994 [\\/]* |
[A-Za-z
]:[\\/]*)
9995 re_direlt
='/[^/][^/]*/\.\./'
9996 # Canonicalize the path of ld
9997 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
9998 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
9999 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
10001 test -z "$LD" && LD
="$ac_prog"
10004 # If it fails, then pretend we aren't using GCC.
10008 # If it is relative, then search for the first ld in PATH.
10009 with_gnu_ld
=unknown
10012 elif test "$with_gnu_ld" = yes; then
10013 echo "$as_me:$LINENO: checking for GNU ld" >&5
10014 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10016 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10017 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10019 if test "${acl_cv_path_LD+set}" = set; then
10020 echo $ECHO_N "(cached) $ECHO_C" >&6
10022 if test -z "$LD"; then
10023 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
10024 for ac_dir
in $PATH; do
10025 test -z "$ac_dir" && ac_dir
=.
10026 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10027 acl_cv_path_LD
="$ac_dir/$ac_prog"
10028 # Check to see if the program is GNU ld. I'd rather use --version,
10029 # but apparently some GNU ld's only accept -v.
10030 # Break only if it was the GNU/non-GNU ld that we prefer.
10031 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
10032 test "$with_gnu_ld" != no
&& break
10034 test "$with_gnu_ld" != yes && break
10040 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
10044 LD
="$acl_cv_path_LD"
10045 if test -n "$LD"; then
10046 echo "$as_me:$LINENO: result: $LD" >&5
10047 echo "${ECHO_T}$LD" >&6
10049 echo "$as_me:$LINENO: result: no" >&5
10050 echo "${ECHO_T}no" >&6
10052 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10053 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10054 { (exit 1); exit 1; }; }
10055 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10056 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10057 if test "${acl_cv_prog_gnu_ld+set}" = set; then
10058 echo $ECHO_N "(cached) $ECHO_C" >&6
10060 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10061 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
10062 acl_cv_prog_gnu_ld
=yes
10064 acl_cv_prog_gnu_ld
=no
10067 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
10068 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
10069 with_gnu_ld
=$acl_cv_prog_gnu_ld
10073 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
10074 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
10075 if test "${acl_cv_rpath+set}" = set; then
10076 echo $ECHO_N "(cached) $ECHO_C" >&6
10079 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
10080 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
10082 rm -f .
/conftest.sh
10086 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
10087 echo "${ECHO_T}$acl_cv_rpath" >&6
10089 libext
="$acl_cv_libext"
10090 shlibext
="$acl_cv_shlibext"
10091 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
10092 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
10093 hardcode_direct
="$acl_cv_hardcode_direct"
10094 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
10095 # Check whether --enable-rpath or --disable-rpath was given.
10096 if test "${enable_rpath+set}" = set; then
10097 enableval
="$enable_rpath"
10111 acl_save_prefix
="$prefix"
10112 prefix
="$acl_final_prefix"
10113 acl_save_exec_prefix
="$exec_prefix"
10114 exec_prefix
="$acl_final_exec_prefix"
10116 eval additional_includedir
=\"$includedir\"
10117 eval additional_libdir
=\"$libdir\"
10119 exec_prefix
="$acl_save_exec_prefix"
10120 prefix
="$acl_save_prefix"
10123 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
10124 if test "${with_libiconv_prefix+set}" = set; then
10125 withval
="$with_libiconv_prefix"
10127 if test "X$withval" = "Xno"; then
10130 if test "X$withval" = "X"; then
10132 acl_save_prefix
="$prefix"
10133 prefix
="$acl_final_prefix"
10134 acl_save_exec_prefix
="$exec_prefix"
10135 exec_prefix
="$acl_final_exec_prefix"
10137 eval additional_includedir
=\"$includedir\"
10138 eval additional_libdir
=\"$libdir\"
10140 exec_prefix
="$acl_save_exec_prefix"
10141 prefix
="$acl_save_prefix"
10144 additional_includedir
="$withval/include"
10145 additional_libdir
="$withval/lib"
10155 names_already_handled
=
10156 names_next_round
='iconv '
10157 while test -n "$names_next_round"; do
10158 names_this_round
="$names_next_round"
10160 for name
in $names_this_round; do
10162 for n
in $names_already_handled; do
10163 if test "$n" = "$name"; then
10164 already_handled
=yes
10168 if test -z "$already_handled"; then
10169 names_already_handled
="$names_already_handled $name"
10170 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
10171 eval value
=\"\
$HAVE_LIB$uppername\"
10172 if test -n "$value"; then
10173 if test "$value" = yes; then
10174 eval value
=\"\
$LIB$uppername\"
10175 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
10176 eval value
=\"\
$LTLIB$uppername\"
10177 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
10186 if test $use_additional = yes; then
10187 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
10188 found_dir
="$additional_libdir"
10189 found_so
="$additional_libdir/lib$name.$shlibext"
10190 if test -f "$additional_libdir/lib$name.la"; then
10191 found_la
="$additional_libdir/lib$name.la"
10194 if test -f "$additional_libdir/lib$name.$libext"; then
10195 found_dir
="$additional_libdir"
10196 found_a
="$additional_libdir/lib$name.$libext"
10197 if test -f "$additional_libdir/lib$name.la"; then
10198 found_la
="$additional_libdir/lib$name.la"
10203 if test "X$found_dir" = "X"; then
10204 for x
in $LDFLAGS $LTLIBICONV; do
10206 acl_save_prefix
="$prefix"
10207 prefix
="$acl_final_prefix"
10208 acl_save_exec_prefix
="$exec_prefix"
10209 exec_prefix
="$acl_final_exec_prefix"
10211 exec_prefix
="$acl_save_exec_prefix"
10212 prefix
="$acl_save_prefix"
10216 dir
=`echo "X$x" | sed -e 's/^X-L//'`
10217 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
10219 found_so
="$dir/lib$name.$shlibext"
10220 if test -f "$dir/lib$name.la"; then
10221 found_la
="$dir/lib$name.la"
10224 if test -f "$dir/lib$name.$libext"; then
10226 found_a
="$dir/lib$name.$libext"
10227 if test -f "$dir/lib$name.la"; then
10228 found_la
="$dir/lib$name.la"
10234 if test "X$found_dir" != "X"; then
10239 if test "X$found_dir" != "X"; then
10240 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
10241 if test "X$found_so" != "X"; then
10242 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
10243 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10246 for x
in $ltrpathdirs; do
10247 if test "X$x" = "X$found_dir"; then
10252 if test -z "$haveit"; then
10253 ltrpathdirs
="$ltrpathdirs $found_dir"
10255 if test "$hardcode_direct" = yes; then
10256 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10258 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
10259 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10261 for x
in $rpathdirs; do
10262 if test "X$x" = "X$found_dir"; then
10267 if test -z "$haveit"; then
10268 rpathdirs
="$rpathdirs $found_dir"
10272 for x
in $LDFLAGS $LIBICONV; do
10274 acl_save_prefix
="$prefix"
10275 prefix
="$acl_final_prefix"
10276 acl_save_exec_prefix
="$exec_prefix"
10277 exec_prefix
="$acl_final_exec_prefix"
10279 exec_prefix
="$acl_save_exec_prefix"
10280 prefix
="$acl_save_prefix"
10282 if test "X$x" = "X-L$found_dir"; then
10287 if test -z "$haveit"; then
10288 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
10290 if test "$hardcode_minus_L" != no
; then
10291 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10293 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
10299 if test "X$found_a" != "X"; then
10300 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
10302 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
10305 additional_includedir
=
10306 case "$found_dir" in
10308 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
10309 additional_includedir
="$basedir/include"
10312 if test "X$additional_includedir" != "X"; then
10313 if test "X$additional_includedir" != "X/usr/include"; then
10315 if test "X$additional_includedir" = "X/usr/local/include"; then
10316 if test -n "$GCC"; then
10318 linux
*) haveit
=yes;;
10322 if test -z "$haveit"; then
10323 for x
in $CPPFLAGS $INCICONV; do
10325 acl_save_prefix
="$prefix"
10326 prefix
="$acl_final_prefix"
10327 acl_save_exec_prefix
="$exec_prefix"
10328 exec_prefix
="$acl_final_exec_prefix"
10330 exec_prefix
="$acl_save_exec_prefix"
10331 prefix
="$acl_save_prefix"
10333 if test "X$x" = "X-I$additional_includedir"; then
10338 if test -z "$haveit"; then
10339 if test -d "$additional_includedir"; then
10340 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
10346 if test -n "$found_la"; then
10347 save_libdir
="$libdir"
10348 case "$found_la" in
10349 */* |
*\\*) .
"$found_la" ;;
10350 *) .
"./$found_la" ;;
10352 libdir
="$save_libdir"
10353 for dep
in $dependency_libs; do
10356 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
10357 if test "X$additional_libdir" != "X/usr/lib"; then
10359 if test "X$additional_libdir" = "X/usr/local/lib"; then
10360 if test -n "$GCC"; then
10362 linux
*) haveit
=yes;;
10366 if test -z "$haveit"; then
10368 for x
in $LDFLAGS $LIBICONV; do
10370 acl_save_prefix
="$prefix"
10371 prefix
="$acl_final_prefix"
10372 acl_save_exec_prefix
="$exec_prefix"
10373 exec_prefix
="$acl_final_exec_prefix"
10375 exec_prefix
="$acl_save_exec_prefix"
10376 prefix
="$acl_save_prefix"
10378 if test "X$x" = "X-L$additional_libdir"; then
10383 if test -z "$haveit"; then
10384 if test -d "$additional_libdir"; then
10385 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
10389 for x
in $LDFLAGS $LTLIBICONV; do
10391 acl_save_prefix
="$prefix"
10392 prefix
="$acl_final_prefix"
10393 acl_save_exec_prefix
="$exec_prefix"
10394 exec_prefix
="$acl_final_exec_prefix"
10396 exec_prefix
="$acl_save_exec_prefix"
10397 prefix
="$acl_save_prefix"
10399 if test "X$x" = "X-L$additional_libdir"; then
10404 if test -z "$haveit"; then
10405 if test -d "$additional_libdir"; then
10406 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
10413 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
10414 if test "$enable_rpath" != no
; then
10416 for x
in $rpathdirs; do
10417 if test "X$x" = "X$dir"; then
10422 if test -z "$haveit"; then
10423 rpathdirs
="$rpathdirs $dir"
10426 for x
in $ltrpathdirs; do
10427 if test "X$x" = "X$dir"; then
10432 if test -z "$haveit"; then
10433 ltrpathdirs
="$ltrpathdirs $dir"
10438 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10441 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10444 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
10445 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
10451 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
10452 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
10458 if test "X$rpathdirs" != "X"; then
10459 if test -n "$hardcode_libdir_separator"; then
10461 for found_dir
in $rpathdirs; do
10462 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10464 acl_save_libdir
="$libdir"
10466 eval flag
=\"$hardcode_libdir_flag_spec\"
10467 libdir
="$acl_save_libdir"
10468 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10470 for found_dir
in $rpathdirs; do
10471 acl_save_libdir
="$libdir"
10472 libdir
="$found_dir"
10473 eval flag
=\"$hardcode_libdir_flag_spec\"
10474 libdir
="$acl_save_libdir"
10475 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10479 if test "X$ltrpathdirs" != "X"; then
10480 for found_dir
in $ltrpathdirs; do
10481 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
10491 am_save_CPPFLAGS
="$CPPFLAGS"
10493 for element
in $INCICONV; do
10495 for x
in $CPPFLAGS; do
10497 acl_save_prefix
="$prefix"
10498 prefix
="$acl_final_prefix"
10499 acl_save_exec_prefix
="$exec_prefix"
10500 exec_prefix
="$acl_final_exec_prefix"
10502 exec_prefix
="$acl_save_exec_prefix"
10503 prefix
="$acl_save_prefix"
10505 if test "X$x" = "X$element"; then
10510 if test -z "$haveit"; then
10511 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
10516 echo "$as_me:$LINENO: checking for iconv" >&5
10517 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
10518 if test "${am_cv_func_iconv+set}" = set; then
10519 echo $ECHO_N "(cached) $ECHO_C" >&6
10522 am_cv_func_iconv
="no, consider installing GNU libiconv"
10524 if test x
$gcc_no_link = xyes
; then
10525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10527 { (exit 1); exit 1; }; }
10529 cat >conftest.
$ac_ext <<_ACEOF
10532 cat confdefs.h
>>conftest.
$ac_ext
10533 cat >>conftest.
$ac_ext <<_ACEOF
10534 /* end confdefs.h. */
10535 #include <stdlib.h>
10540 iconv_t cd = iconv_open("","");
10541 iconv(cd,NULL,NULL,NULL,NULL);
10547 rm -f conftest.
$ac_objext conftest
$ac_exeext
10548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10549 (eval $ac_link) 2>conftest.er1
10551 grep -v '^ *+' conftest.er1
>conftest.err
10553 cat conftest.err
>&5
10554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10555 (exit $ac_status); } &&
10556 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10558 (eval $ac_try) 2>&5
10560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10561 (exit $ac_status); }; } &&
10562 { ac_try
='test -s conftest$ac_exeext'
10563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10564 (eval $ac_try) 2>&5
10566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10567 (exit $ac_status); }; }; then
10568 am_cv_func_iconv
=yes
10570 echo "$as_me: failed program was:" >&5
10571 sed 's/^/| /' conftest.
$ac_ext >&5
10574 rm -f conftest.err conftest.
$ac_objext \
10575 conftest
$ac_exeext conftest.
$ac_ext
10576 if test "$am_cv_func_iconv" != yes; then
10577 am_save_LIBS
="$LIBS"
10578 LIBS
="$LIBS $LIBICONV"
10579 if test x
$gcc_no_link = xyes
; then
10580 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10582 { (exit 1); exit 1; }; }
10584 cat >conftest.
$ac_ext <<_ACEOF
10587 cat confdefs.h
>>conftest.
$ac_ext
10588 cat >>conftest.
$ac_ext <<_ACEOF
10589 /* end confdefs.h. */
10590 #include <stdlib.h>
10595 iconv_t cd = iconv_open("","");
10596 iconv(cd,NULL,NULL,NULL,NULL);
10602 rm -f conftest.
$ac_objext conftest
$ac_exeext
10603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10604 (eval $ac_link) 2>conftest.er1
10606 grep -v '^ *+' conftest.er1
>conftest.err
10608 cat conftest.err
>&5
10609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10610 (exit $ac_status); } &&
10611 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10613 (eval $ac_try) 2>&5
10615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10616 (exit $ac_status); }; } &&
10617 { ac_try
='test -s conftest$ac_exeext'
10618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10619 (eval $ac_try) 2>&5
10621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10622 (exit $ac_status); }; }; then
10623 am_cv_lib_iconv
=yes
10624 am_cv_func_iconv
=yes
10626 echo "$as_me: failed program was:" >&5
10627 sed 's/^/| /' conftest.
$ac_ext >&5
10630 rm -f conftest.err conftest.
$ac_objext \
10631 conftest
$ac_exeext conftest.
$ac_ext
10632 LIBS
="$am_save_LIBS"
10636 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
10637 echo "${ECHO_T}$am_cv_func_iconv" >&6
10638 if test "$am_cv_func_iconv" = yes; then
10640 cat >>confdefs.h
<<\_ACEOF
10641 #define HAVE_ICONV 1
10645 if test "$am_cv_lib_iconv" = yes; then
10646 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
10647 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
10648 echo "$as_me:$LINENO: result: $LIBICONV" >&5
10649 echo "${ECHO_T}$LIBICONV" >&6
10651 CPPFLAGS
="$am_save_CPPFLAGS"
10658 if test "$am_cv_func_iconv" = yes; then
10659 echo "$as_me:$LINENO: checking for iconv declaration" >&5
10660 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
10661 if test "${am_cv_proto_iconv+set}" = set; then
10662 echo $ECHO_N "(cached) $ECHO_C" >&6
10665 cat >conftest.
$ac_ext <<_ACEOF
10668 cat confdefs.h
>>conftest.
$ac_ext
10669 cat >>conftest.
$ac_ext <<_ACEOF
10670 /* end confdefs.h. */
10672 #include <stdlib.h>
10678 #if defined(__STDC__) || defined(__cplusplus)
10679 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
10692 rm -f conftest.
$ac_objext
10693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10694 (eval $ac_compile) 2>conftest.er1
10696 grep -v '^ *+' conftest.er1
>conftest.err
10698 cat conftest.err
>&5
10699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10700 (exit $ac_status); } &&
10701 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10703 (eval $ac_try) 2>&5
10705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10706 (exit $ac_status); }; } &&
10707 { ac_try
='test -s conftest.$ac_objext'
10708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10709 (eval $ac_try) 2>&5
10711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10712 (exit $ac_status); }; }; then
10713 am_cv_proto_iconv_arg1
=""
10715 echo "$as_me: failed program was:" >&5
10716 sed 's/^/| /' conftest.
$ac_ext >&5
10718 am_cv_proto_iconv_arg1
="const"
10720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10721 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);"
10724 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
10725 echo "$as_me:$LINENO: result: ${ac_t:-
10726 }$am_cv_proto_iconv" >&5
10727 echo "${ECHO_T}${ac_t:-
10728 }$am_cv_proto_iconv" >&6
10730 cat >>confdefs.h
<<_ACEOF
10731 #define ICONV_CONST $am_cv_proto_iconv_arg1
10737 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
10738 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
10739 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
10740 echo $ECHO_N "(cached) $ECHO_C" >&6
10742 if test x
$gcc_no_link = xyes
; then
10743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10745 { (exit 1); exit 1; }; }
10747 cat >conftest.
$ac_ext <<_ACEOF
10750 cat confdefs.h
>>conftest.
$ac_ext
10751 cat >>conftest.
$ac_ext <<_ACEOF
10752 /* end confdefs.h. */
10753 #include <locale.h>
10762 rm -f conftest.
$ac_objext conftest
$ac_exeext
10763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10764 (eval $ac_link) 2>conftest.er1
10766 grep -v '^ *+' conftest.er1
>conftest.err
10768 cat conftest.err
>&5
10769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10770 (exit $ac_status); } &&
10771 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10773 (eval $ac_try) 2>&5
10775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10776 (exit $ac_status); }; } &&
10777 { ac_try
='test -s conftest$ac_exeext'
10778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10779 (eval $ac_try) 2>&5
10781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10782 (exit $ac_status); }; }; then
10783 am_cv_val_LC_MESSAGES
=yes
10785 echo "$as_me: failed program was:" >&5
10786 sed 's/^/| /' conftest.
$ac_ext >&5
10788 am_cv_val_LC_MESSAGES
=no
10790 rm -f conftest.err conftest.
$ac_objext \
10791 conftest
$ac_exeext conftest.
$ac_ext
10793 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
10794 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
10795 if test $am_cv_val_LC_MESSAGES = yes; then
10797 cat >>confdefs.h
<<\_ACEOF
10798 #define HAVE_LC_MESSAGES 1
10803 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
10804 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
10805 if test "${ac_cv_struct_tm+set}" = set; then
10806 echo $ECHO_N "(cached) $ECHO_C" >&6
10808 cat >conftest.
$ac_ext <<_ACEOF
10811 cat confdefs.h
>>conftest.
$ac_ext
10812 cat >>conftest.
$ac_ext <<_ACEOF
10813 /* end confdefs.h. */
10814 #include <sys/types.h>
10820 struct tm *tp; tp->tm_sec;
10825 rm -f conftest.
$ac_objext
10826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10827 (eval $ac_compile) 2>conftest.er1
10829 grep -v '^ *+' conftest.er1
>conftest.err
10831 cat conftest.err
>&5
10832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10833 (exit $ac_status); } &&
10834 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10836 (eval $ac_try) 2>&5
10838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10839 (exit $ac_status); }; } &&
10840 { ac_try
='test -s conftest.$ac_objext'
10841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10842 (eval $ac_try) 2>&5
10844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10845 (exit $ac_status); }; }; then
10846 ac_cv_struct_tm
=time.h
10848 echo "$as_me: failed program was:" >&5
10849 sed 's/^/| /' conftest.
$ac_ext >&5
10851 ac_cv_struct_tm
=sys
/time.h
10853 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10855 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
10856 echo "${ECHO_T}$ac_cv_struct_tm" >&6
10857 if test $ac_cv_struct_tm = sys
/time.h
; then
10859 cat >>confdefs.h
<<\_ACEOF
10860 #define TM_IN_SYS_TIME 1
10865 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
10866 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
10867 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
10868 echo $ECHO_N "(cached) $ECHO_C" >&6
10870 cat >conftest.
$ac_ext <<_ACEOF
10873 cat confdefs.h
>>conftest.
$ac_ext
10874 cat >>conftest.
$ac_ext <<_ACEOF
10875 /* end confdefs.h. */
10876 #include <sys/types.h>
10877 #include <$ac_cv_struct_tm>
10883 static struct tm ac_aggr;
10884 if (ac_aggr.tm_zone)
10890 rm -f conftest.
$ac_objext
10891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10892 (eval $ac_compile) 2>conftest.er1
10894 grep -v '^ *+' conftest.er1
>conftest.err
10896 cat conftest.err
>&5
10897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10898 (exit $ac_status); } &&
10899 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10901 (eval $ac_try) 2>&5
10903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10904 (exit $ac_status); }; } &&
10905 { ac_try
='test -s conftest.$ac_objext'
10906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10907 (eval $ac_try) 2>&5
10909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10910 (exit $ac_status); }; }; then
10911 ac_cv_member_struct_tm_tm_zone
=yes
10913 echo "$as_me: failed program was:" >&5
10914 sed 's/^/| /' conftest.
$ac_ext >&5
10916 cat >conftest.
$ac_ext <<_ACEOF
10919 cat confdefs.h
>>conftest.
$ac_ext
10920 cat >>conftest.
$ac_ext <<_ACEOF
10921 /* end confdefs.h. */
10922 #include <sys/types.h>
10923 #include <$ac_cv_struct_tm>
10929 static struct tm ac_aggr;
10930 if (sizeof ac_aggr.tm_zone)
10936 rm -f conftest.
$ac_objext
10937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10938 (eval $ac_compile) 2>conftest.er1
10940 grep -v '^ *+' conftest.er1
>conftest.err
10942 cat conftest.err
>&5
10943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10944 (exit $ac_status); } &&
10945 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10947 (eval $ac_try) 2>&5
10949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10950 (exit $ac_status); }; } &&
10951 { ac_try
='test -s conftest.$ac_objext'
10952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10953 (eval $ac_try) 2>&5
10955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10956 (exit $ac_status); }; }; then
10957 ac_cv_member_struct_tm_tm_zone
=yes
10959 echo "$as_me: failed program was:" >&5
10960 sed 's/^/| /' conftest.
$ac_ext >&5
10962 ac_cv_member_struct_tm_tm_zone
=no
10964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10968 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
10969 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
10970 if test $ac_cv_member_struct_tm_tm_zone = yes; then
10972 cat >>confdefs.h
<<_ACEOF
10973 #define HAVE_STRUCT_TM_TM_ZONE 1
10979 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
10981 cat >>confdefs.h
<<\_ACEOF
10982 #define HAVE_TM_ZONE 1
10986 echo "$as_me:$LINENO: checking for tzname" >&5
10987 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
10988 if test "${ac_cv_var_tzname+set}" = set; then
10989 echo $ECHO_N "(cached) $ECHO_C" >&6
10991 if test x
$gcc_no_link = xyes
; then
10992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10994 { (exit 1); exit 1; }; }
10996 cat >conftest.
$ac_ext <<_ACEOF
10999 cat confdefs.h
>>conftest.
$ac_ext
11000 cat >>conftest.
$ac_ext <<_ACEOF
11001 /* end confdefs.h. */
11003 #ifndef tzname /* For SGI. */
11004 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
11015 rm -f conftest.
$ac_objext conftest
$ac_exeext
11016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11017 (eval $ac_link) 2>conftest.er1
11019 grep -v '^ *+' conftest.er1
>conftest.err
11021 cat conftest.err
>&5
11022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11023 (exit $ac_status); } &&
11024 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11026 (eval $ac_try) 2>&5
11028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11029 (exit $ac_status); }; } &&
11030 { ac_try
='test -s conftest$ac_exeext'
11031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11032 (eval $ac_try) 2>&5
11034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11035 (exit $ac_status); }; }; then
11036 ac_cv_var_tzname
=yes
11038 echo "$as_me: failed program was:" >&5
11039 sed 's/^/| /' conftest.
$ac_ext >&5
11041 ac_cv_var_tzname
=no
11043 rm -f conftest.err conftest.
$ac_objext \
11044 conftest
$ac_exeext conftest.
$ac_ext
11046 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
11047 echo "${ECHO_T}$ac_cv_var_tzname" >&6
11048 if test $ac_cv_var_tzname = yes; then
11050 cat >>confdefs.h
<<\_ACEOF
11051 #define HAVE_TZNAME 1
11060 for ac_func
in gethostbyname_r
11062 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11063 echo "$as_me:$LINENO: checking for $ac_func" >&5
11064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11065 if eval "test \"\${$as_ac_var+set}\" = set"; then
11066 echo $ECHO_N "(cached) $ECHO_C" >&6
11068 if test x
$gcc_no_link = xyes
; then
11069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11071 { (exit 1); exit 1; }; }
11073 cat >conftest.
$ac_ext <<_ACEOF
11076 cat confdefs.h
>>conftest.
$ac_ext
11077 cat >>conftest.
$ac_ext <<_ACEOF
11078 /* end confdefs.h. */
11079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11081 #define $ac_func innocuous_$ac_func
11083 /* System header to define __stub macros and hopefully few prototypes,
11084 which can conflict with char $ac_func (); below.
11085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11086 <limits.h> exists even on freestanding compilers. */
11089 # include <limits.h>
11091 # include <assert.h>
11096 /* Override any gcc2 internal prototype to avoid an error. */
11101 /* We use char because int might match the return type of a gcc2
11102 builtin and then its argument prototype would still apply. */
11104 /* The GNU C library defines this for functions which it implements
11105 to always fail with ENOSYS. Some functions are actually named
11106 something starting with __ and the normal name is an alias. */
11107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11110 char (*f) () = $ac_func;
11119 return f != $ac_func;
11124 rm -f conftest.
$ac_objext conftest
$ac_exeext
11125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11126 (eval $ac_link) 2>conftest.er1
11128 grep -v '^ *+' conftest.er1
>conftest.err
11130 cat conftest.err
>&5
11131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11132 (exit $ac_status); } &&
11133 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11135 (eval $ac_try) 2>&5
11137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11138 (exit $ac_status); }; } &&
11139 { ac_try
='test -s conftest$ac_exeext'
11140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11141 (eval $ac_try) 2>&5
11143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11144 (exit $ac_status); }; }; then
11145 eval "$as_ac_var=yes"
11147 echo "$as_me: failed program was:" >&5
11148 sed 's/^/| /' conftest.
$ac_ext >&5
11150 eval "$as_ac_var=no"
11152 rm -f conftest.err conftest.
$ac_objext \
11153 conftest
$ac_exeext conftest.
$ac_ext
11155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11157 if test `eval echo '${'$as_ac_var'}'` = yes; then
11158 cat >>confdefs.h
<<_ACEOF
11159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11163 cat >>confdefs.h
<<\_ACEOF
11164 #define HAVE_GETHOSTBYNAME_R 1
11167 # There are two different kinds of gethostbyname_r.
11168 # We look for the one that returns `int'.
11169 # Hopefully this check is robust enough.
11170 cat >conftest.
$ac_ext <<_ACEOF
11173 cat confdefs.h
>>conftest.
$ac_ext
11174 cat >>conftest.
$ac_ext <<_ACEOF
11175 /* end confdefs.h. */
11179 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11180 $EGREP "int.*gethostbyname_r" >/dev
/null
2>&1; then
11183 cat >>confdefs.h
<<\_ACEOF
11184 #define GETHOSTBYNAME_R_RETURNS_INT 1
11191 case " $GCINCS " in
11192 *" -D_REENTRANT "*) ;;
11194 echo "$as_me:$LINENO: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5
11195 echo $ECHO_N "checking whether gethostbyname_r declaration requires -D_REENTRANT... $ECHO_C" >&6
11196 if test "${libjava_cv_gethostbyname_r_needs_reentrant+set}" = set; then
11197 echo $ECHO_N "(cached) $ECHO_C" >&6
11200 ac_cpp
='$CXXCPP $CPPFLAGS'
11201 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11202 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11203 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11205 cat >conftest.
$ac_ext <<_ACEOF
11208 cat confdefs.h
>>conftest.
$ac_ext
11209 cat >>conftest.
$ac_ext <<_ACEOF
11210 /* end confdefs.h. */
11215 gethostbyname_r("", 0, 0);
11220 rm -f conftest.
$ac_objext
11221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11222 (eval $ac_compile) 2>conftest.er1
11224 grep -v '^ *+' conftest.er1
>conftest.err
11226 cat conftest.err
>&5
11227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11228 (exit $ac_status); } &&
11229 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11231 (eval $ac_try) 2>&5
11233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11234 (exit $ac_status); }; } &&
11235 { ac_try
='test -s conftest.$ac_objext'
11236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11237 (eval $ac_try) 2>&5
11239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11240 (exit $ac_status); }; }; then
11241 libjava_cv_gethostbyname_r_needs_reentrant
=no
11243 echo "$as_me: failed program was:" >&5
11244 sed 's/^/| /' conftest.
$ac_ext >&5
11246 CPPFLAGS_SAVE
="$CPPFLAGS"
11247 CPPFLAGS
="$CPPFLAGS -D_REENTRANT"
11248 cat >conftest.
$ac_ext <<_ACEOF
11251 cat confdefs.h
>>conftest.
$ac_ext
11252 cat >>conftest.
$ac_ext <<_ACEOF
11253 /* end confdefs.h. */
11258 gethostbyname_r("", 0, 0);
11263 rm -f conftest.
$ac_objext
11264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11265 (eval $ac_compile) 2>conftest.er1
11267 grep -v '^ *+' conftest.er1
>conftest.err
11269 cat conftest.err
>&5
11270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11271 (exit $ac_status); } &&
11272 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11274 (eval $ac_try) 2>&5
11276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11277 (exit $ac_status); }; } &&
11278 { ac_try
='test -s conftest.$ac_objext'
11279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11280 (eval $ac_try) 2>&5
11282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11283 (exit $ac_status); }; }; then
11284 libjava_cv_gethostbyname_r_needs_reentrant
=yes
11286 echo "$as_me: failed program was:" >&5
11287 sed 's/^/| /' conftest.
$ac_ext >&5
11289 libjava_cv_gethostbyname_r_needs_reentrant
=fail
11291 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11292 CPPFLAGS
="$CPPFLAGS_SAVE"
11295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11297 ac_cpp
='$CPP $CPPFLAGS'
11298 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11299 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11300 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11304 echo "$as_me:$LINENO: result: $libjava_cv_gethostbyname_r_needs_reentrant" >&5
11305 echo "${ECHO_T}$libjava_cv_gethostbyname_r_needs_reentrant" >&6
11306 if test "x$libjava_cv_gethostbyname_r_needs_reentrant" = xyes
; then
11308 cat >>confdefs.h
<<\_ACEOF
11309 #define _REENTRANT 1
11316 echo "$as_me:$LINENO: checking for struct hostent_data" >&5
11317 echo $ECHO_N "checking for struct hostent_data... $ECHO_C" >&6
11318 if test "${libjava_cv_struct_hostent_data+set}" = set; then
11319 echo $ECHO_N "(cached) $ECHO_C" >&6
11321 cat >conftest.
$ac_ext <<_ACEOF
11324 cat confdefs.h
>>conftest.
$ac_ext
11325 cat >>conftest.
$ac_ext <<_ACEOF
11326 /* end confdefs.h. */
11328 #if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
11329 # define _REENTRANT 1
11335 struct hostent_data data;
11340 rm -f conftest.
$ac_objext
11341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11342 (eval $ac_compile) 2>conftest.er1
11344 grep -v '^ *+' conftest.er1
>conftest.err
11346 cat conftest.err
>&5
11347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11348 (exit $ac_status); } &&
11349 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11351 (eval $ac_try) 2>&5
11353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354 (exit $ac_status); }; } &&
11355 { ac_try
='test -s conftest.$ac_objext'
11356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11357 (eval $ac_try) 2>&5
11359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11360 (exit $ac_status); }; }; then
11361 libjava_cv_struct_hostent_data
=yes
11363 echo "$as_me: failed program was:" >&5
11364 sed 's/^/| /' conftest.
$ac_ext >&5
11366 libjava_cv_struct_hostent_data
=no
11368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11370 echo "$as_me:$LINENO: result: $libjava_cv_struct_hostent_data" >&5
11371 echo "${ECHO_T}$libjava_cv_struct_hostent_data" >&6
11372 if test "x$libjava_cv_struct_hostent_data" = xyes
; then
11374 cat >>confdefs.h
<<\_ACEOF
11375 #define HAVE_STRUCT_HOSTENT_DATA 1
11384 # FIXME: libjava source code expects to find a prototype for
11385 # gethostbyaddr_r in netdb.h. The outer check ensures that
11386 # HAVE_GETHOSTBYADDR_R will not be defined if the prototype fails
11387 # to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
11388 # linkage check is enough, yet C++ code requires proper prototypes.)
11389 cat >conftest.
$ac_ext <<_ACEOF
11392 cat confdefs.h
>>conftest.
$ac_ext
11393 cat >>conftest.
$ac_ext <<_ACEOF
11394 /* end confdefs.h. */
11398 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11399 $EGREP "gethostbyaddr_r" >/dev
/null
2>&1; then
11402 for ac_func
in gethostbyaddr_r
11404 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11405 echo "$as_me:$LINENO: checking for $ac_func" >&5
11406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11407 if eval "test \"\${$as_ac_var+set}\" = set"; then
11408 echo $ECHO_N "(cached) $ECHO_C" >&6
11410 if test x
$gcc_no_link = xyes
; then
11411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11413 { (exit 1); exit 1; }; }
11415 cat >conftest.
$ac_ext <<_ACEOF
11418 cat confdefs.h
>>conftest.
$ac_ext
11419 cat >>conftest.
$ac_ext <<_ACEOF
11420 /* end confdefs.h. */
11421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11423 #define $ac_func innocuous_$ac_func
11425 /* System header to define __stub macros and hopefully few prototypes,
11426 which can conflict with char $ac_func (); below.
11427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11428 <limits.h> exists even on freestanding compilers. */
11431 # include <limits.h>
11433 # include <assert.h>
11438 /* Override any gcc2 internal prototype to avoid an error. */
11443 /* We use char because int might match the return type of a gcc2
11444 builtin and then its argument prototype would still apply. */
11446 /* The GNU C library defines this for functions which it implements
11447 to always fail with ENOSYS. Some functions are actually named
11448 something starting with __ and the normal name is an alias. */
11449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11452 char (*f) () = $ac_func;
11461 return f != $ac_func;
11466 rm -f conftest.
$ac_objext conftest
$ac_exeext
11467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11468 (eval $ac_link) 2>conftest.er1
11470 grep -v '^ *+' conftest.er1
>conftest.err
11472 cat conftest.err
>&5
11473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11474 (exit $ac_status); } &&
11475 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11477 (eval $ac_try) 2>&5
11479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11480 (exit $ac_status); }; } &&
11481 { ac_try
='test -s conftest$ac_exeext'
11482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11483 (eval $ac_try) 2>&5
11485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11486 (exit $ac_status); }; }; then
11487 eval "$as_ac_var=yes"
11489 echo "$as_me: failed program was:" >&5
11490 sed 's/^/| /' conftest.
$ac_ext >&5
11492 eval "$as_ac_var=no"
11494 rm -f conftest.err conftest.
$ac_objext \
11495 conftest
$ac_exeext conftest.
$ac_ext
11497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11499 if test `eval echo '${'$as_ac_var'}'` = yes; then
11500 cat >>confdefs.h
<<_ACEOF
11501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11505 cat >>confdefs.h
<<\_ACEOF
11506 #define HAVE_GETHOSTBYADDR_R 1
11509 # There are two different kinds of gethostbyaddr_r.
11510 # We look for the one that returns `int'.
11511 # Hopefully this check is robust enough.
11512 cat >conftest.
$ac_ext <<_ACEOF
11515 cat confdefs.h
>>conftest.
$ac_ext
11516 cat >>conftest.
$ac_ext <<_ACEOF
11517 /* end confdefs.h. */
11521 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11522 $EGREP "int.*gethostbyaddr_r" >/dev
/null
2>&1; then
11525 cat >>confdefs.h
<<\_ACEOF
11526 #define GETHOSTBYADDR_R_RETURNS_INT 1
11540 for ac_func
in gethostname
11542 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11543 echo "$as_me:$LINENO: checking for $ac_func" >&5
11544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11545 if eval "test \"\${$as_ac_var+set}\" = set"; then
11546 echo $ECHO_N "(cached) $ECHO_C" >&6
11548 if test x
$gcc_no_link = xyes
; then
11549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11551 { (exit 1); exit 1; }; }
11553 cat >conftest.
$ac_ext <<_ACEOF
11556 cat confdefs.h
>>conftest.
$ac_ext
11557 cat >>conftest.
$ac_ext <<_ACEOF
11558 /* end confdefs.h. */
11559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11561 #define $ac_func innocuous_$ac_func
11563 /* System header to define __stub macros and hopefully few prototypes,
11564 which can conflict with char $ac_func (); below.
11565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11566 <limits.h> exists even on freestanding compilers. */
11569 # include <limits.h>
11571 # include <assert.h>
11576 /* Override any gcc2 internal prototype to avoid an error. */
11581 /* We use char because int might match the return type of a gcc2
11582 builtin and then its argument prototype would still apply. */
11584 /* The GNU C library defines this for functions which it implements
11585 to always fail with ENOSYS. Some functions are actually named
11586 something starting with __ and the normal name is an alias. */
11587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11590 char (*f) () = $ac_func;
11599 return f != $ac_func;
11604 rm -f conftest.
$ac_objext conftest
$ac_exeext
11605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11606 (eval $ac_link) 2>conftest.er1
11608 grep -v '^ *+' conftest.er1
>conftest.err
11610 cat conftest.err
>&5
11611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11612 (exit $ac_status); } &&
11613 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11615 (eval $ac_try) 2>&5
11617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11618 (exit $ac_status); }; } &&
11619 { ac_try
='test -s conftest$ac_exeext'
11620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11621 (eval $ac_try) 2>&5
11623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11624 (exit $ac_status); }; }; then
11625 eval "$as_ac_var=yes"
11627 echo "$as_me: failed program was:" >&5
11628 sed 's/^/| /' conftest.
$ac_ext >&5
11630 eval "$as_ac_var=no"
11632 rm -f conftest.err conftest.
$ac_objext \
11633 conftest
$ac_exeext conftest.
$ac_ext
11635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11637 if test `eval echo '${'$as_ac_var'}'` = yes; then
11638 cat >>confdefs.h
<<_ACEOF
11639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11643 cat >>confdefs.h
<<\_ACEOF
11644 #define HAVE_GETHOSTNAME 1
11647 cat >conftest.
$ac_ext <<_ACEOF
11650 cat confdefs.h
>>conftest.
$ac_ext
11651 cat >>conftest.
$ac_ext <<_ACEOF
11652 /* end confdefs.h. */
11653 #include <unistd.h>
11656 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11657 $EGREP "gethostname" >/dev
/null
2>&1; then
11660 cat >>confdefs.h
<<\_ACEOF
11661 #define HAVE_GETHOSTNAME_DECL 1
11672 for ac_func
in usleep
11674 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11675 echo "$as_me:$LINENO: checking for $ac_func" >&5
11676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11677 if eval "test \"\${$as_ac_var+set}\" = set"; then
11678 echo $ECHO_N "(cached) $ECHO_C" >&6
11680 if test x
$gcc_no_link = xyes
; then
11681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11683 { (exit 1); exit 1; }; }
11685 cat >conftest.
$ac_ext <<_ACEOF
11688 cat confdefs.h
>>conftest.
$ac_ext
11689 cat >>conftest.
$ac_ext <<_ACEOF
11690 /* end confdefs.h. */
11691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11693 #define $ac_func innocuous_$ac_func
11695 /* System header to define __stub macros and hopefully few prototypes,
11696 which can conflict with char $ac_func (); below.
11697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11698 <limits.h> exists even on freestanding compilers. */
11701 # include <limits.h>
11703 # include <assert.h>
11708 /* Override any gcc2 internal prototype to avoid an error. */
11713 /* We use char because int might match the return type of a gcc2
11714 builtin and then its argument prototype would still apply. */
11716 /* The GNU C library defines this for functions which it implements
11717 to always fail with ENOSYS. Some functions are actually named
11718 something starting with __ and the normal name is an alias. */
11719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11722 char (*f) () = $ac_func;
11731 return f != $ac_func;
11736 rm -f conftest.
$ac_objext conftest
$ac_exeext
11737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11738 (eval $ac_link) 2>conftest.er1
11740 grep -v '^ *+' conftest.er1
>conftest.err
11742 cat conftest.err
>&5
11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 (exit $ac_status); } &&
11745 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11747 (eval $ac_try) 2>&5
11749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11750 (exit $ac_status); }; } &&
11751 { ac_try
='test -s conftest$ac_exeext'
11752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11753 (eval $ac_try) 2>&5
11755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11756 (exit $ac_status); }; }; then
11757 eval "$as_ac_var=yes"
11759 echo "$as_me: failed program was:" >&5
11760 sed 's/^/| /' conftest.
$ac_ext >&5
11762 eval "$as_ac_var=no"
11764 rm -f conftest.err conftest.
$ac_objext \
11765 conftest
$ac_exeext conftest.
$ac_ext
11767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11769 if test `eval echo '${'$as_ac_var'}'` = yes; then
11770 cat >>confdefs.h
<<_ACEOF
11771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11774 cat >conftest.
$ac_ext <<_ACEOF
11777 cat confdefs.h
>>conftest.
$ac_ext
11778 cat >>conftest.
$ac_ext <<_ACEOF
11779 /* end confdefs.h. */
11780 #include <unistd.h>
11783 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11784 $EGREP "usleep" >/dev
/null
2>&1; then
11787 cat >>confdefs.h
<<\_ACEOF
11788 #define HAVE_USLEEP_DECL 1
11798 # Look for these functions in the thread library, but only bother
11799 # if using POSIX threads.
11800 if test "$THREADS" = posix
; then
11802 LIBS
="$LIBS $THREADLIBS"
11803 # Some POSIX thread systems don't have pthread_mutexattr_settype.
11807 for ac_func
in pthread_mutexattr_settype pthread_mutexattr_setkind_np
11809 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11810 echo "$as_me:$LINENO: checking for $ac_func" >&5
11811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11812 if eval "test \"\${$as_ac_var+set}\" = set"; then
11813 echo $ECHO_N "(cached) $ECHO_C" >&6
11815 if test x
$gcc_no_link = xyes
; then
11816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11818 { (exit 1); exit 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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11828 #define $ac_func innocuous_$ac_func
11830 /* System header to define __stub macros and hopefully few prototypes,
11831 which can conflict with char $ac_func (); below.
11832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11833 <limits.h> exists even on freestanding compilers. */
11836 # include <limits.h>
11838 # include <assert.h>
11843 /* Override any gcc2 internal prototype to avoid an error. */
11848 /* We use char because int might match the return type of a gcc2
11849 builtin and then its argument prototype would still apply. */
11851 /* The GNU C library defines this for functions which it implements
11852 to always fail with ENOSYS. Some functions are actually named
11853 something starting with __ and the normal name is an alias. */
11854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11857 char (*f) () = $ac_func;
11866 return f != $ac_func;
11871 rm -f conftest.
$ac_objext conftest
$ac_exeext
11872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11873 (eval $ac_link) 2>conftest.er1
11875 grep -v '^ *+' conftest.er1
>conftest.err
11877 cat conftest.err
>&5
11878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11879 (exit $ac_status); } &&
11880 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11882 (eval $ac_try) 2>&5
11884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11885 (exit $ac_status); }; } &&
11886 { ac_try
='test -s conftest$ac_exeext'
11887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11888 (eval $ac_try) 2>&5
11890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11891 (exit $ac_status); }; }; then
11892 eval "$as_ac_var=yes"
11894 echo "$as_me: failed program was:" >&5
11895 sed 's/^/| /' conftest.
$ac_ext >&5
11897 eval "$as_ac_var=no"
11899 rm -f conftest.err conftest.
$ac_objext \
11900 conftest
$ac_exeext conftest.
$ac_ext
11902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11904 if test `eval echo '${'$as_ac_var'}'` = yes; then
11905 cat >>confdefs.h
<<_ACEOF
11906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11913 # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since
11914 # Solaris 7 the name librt is preferred.
11916 for ac_func
in sched_yield
11918 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11919 echo "$as_me:$LINENO: checking for $ac_func" >&5
11920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11921 if eval "test \"\${$as_ac_var+set}\" = set"; then
11922 echo $ECHO_N "(cached) $ECHO_C" >&6
11924 if test x
$gcc_no_link = xyes
; then
11925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11927 { (exit 1); exit 1; }; }
11929 cat >conftest.
$ac_ext <<_ACEOF
11932 cat confdefs.h
>>conftest.
$ac_ext
11933 cat >>conftest.
$ac_ext <<_ACEOF
11934 /* end confdefs.h. */
11935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11937 #define $ac_func innocuous_$ac_func
11939 /* System header to define __stub macros and hopefully few prototypes,
11940 which can conflict with char $ac_func (); below.
11941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11942 <limits.h> exists even on freestanding compilers. */
11945 # include <limits.h>
11947 # include <assert.h>
11952 /* Override any gcc2 internal prototype to avoid an error. */
11957 /* We use char because int might match the return type of a gcc2
11958 builtin and then its argument prototype would still apply. */
11960 /* The GNU C library defines this for functions which it implements
11961 to always fail with ENOSYS. Some functions are actually named
11962 something starting with __ and the normal name is an alias. */
11963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11966 char (*f) () = $ac_func;
11975 return f != $ac_func;
11980 rm -f conftest.
$ac_objext conftest
$ac_exeext
11981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11982 (eval $ac_link) 2>conftest.er1
11984 grep -v '^ *+' conftest.er1
>conftest.err
11986 cat conftest.err
>&5
11987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11988 (exit $ac_status); } &&
11989 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11991 (eval $ac_try) 2>&5
11993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11994 (exit $ac_status); }; } &&
11995 { ac_try
='test -s conftest$ac_exeext'
11996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11997 (eval $ac_try) 2>&5
11999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12000 (exit $ac_status); }; }; then
12001 eval "$as_ac_var=yes"
12003 echo "$as_me: failed program was:" >&5
12004 sed 's/^/| /' conftest.
$ac_ext >&5
12006 eval "$as_ac_var=no"
12008 rm -f conftest.err conftest.
$ac_objext \
12009 conftest
$ac_exeext conftest.
$ac_ext
12011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12013 if test `eval echo '${'$as_ac_var'}'` = yes; then
12014 cat >>confdefs.h
<<_ACEOF
12015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12020 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
12021 echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
12022 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
12023 echo $ECHO_N "(cached) $ECHO_C" >&6
12025 ac_check_lib_save_LIBS
=$LIBS
12027 if test x
$gcc_no_link = xyes
; then
12028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12030 { (exit 1); exit 1; }; }
12032 cat >conftest.
$ac_ext <<_ACEOF
12035 cat confdefs.h
>>conftest.
$ac_ext
12036 cat >>conftest.
$ac_ext <<_ACEOF
12037 /* end confdefs.h. */
12039 /* Override any gcc2 internal prototype to avoid an error. */
12043 /* We use char because int might match the return type of a gcc2
12044 builtin and then its argument prototype would still apply. */
12045 char sched_yield ();
12054 rm -f conftest.
$ac_objext conftest
$ac_exeext
12055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12056 (eval $ac_link) 2>conftest.er1
12058 grep -v '^ *+' conftest.er1
>conftest.err
12060 cat conftest.err
>&5
12061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12062 (exit $ac_status); } &&
12063 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12065 (eval $ac_try) 2>&5
12067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12068 (exit $ac_status); }; } &&
12069 { ac_try
='test -s conftest$ac_exeext'
12070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12071 (eval $ac_try) 2>&5
12073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12074 (exit $ac_status); }; }; then
12075 ac_cv_lib_rt_sched_yield
=yes
12077 echo "$as_me: failed program was:" >&5
12078 sed 's/^/| /' conftest.
$ac_ext >&5
12080 ac_cv_lib_rt_sched_yield
=no
12082 rm -f conftest.err conftest.
$ac_objext \
12083 conftest
$ac_exeext conftest.
$ac_ext
12084 LIBS
=$ac_check_lib_save_LIBS
12086 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
12087 echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
12088 if test $ac_cv_lib_rt_sched_yield = yes; then
12090 cat >>confdefs.h
<<\_ACEOF
12091 #define HAVE_SCHED_YIELD 1
12094 THREADLIBS
="$THREADLIBS -lrt"
12095 THREADSPEC
="$THREADSPEC -lrt"
12098 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
12099 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
12100 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
12101 echo $ECHO_N "(cached) $ECHO_C" >&6
12103 ac_check_lib_save_LIBS
=$LIBS
12104 LIBS
="-lposix4 $LIBS"
12105 if test x
$gcc_no_link = xyes
; then
12106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12108 { (exit 1); exit 1; }; }
12110 cat >conftest.
$ac_ext <<_ACEOF
12113 cat confdefs.h
>>conftest.
$ac_ext
12114 cat >>conftest.
$ac_ext <<_ACEOF
12115 /* end confdefs.h. */
12117 /* Override any gcc2 internal prototype to avoid an error. */
12121 /* We use char because int might match the return type of a gcc2
12122 builtin and then its argument prototype would still apply. */
12123 char sched_yield ();
12132 rm -f conftest.
$ac_objext conftest
$ac_exeext
12133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12134 (eval $ac_link) 2>conftest.er1
12136 grep -v '^ *+' conftest.er1
>conftest.err
12138 cat conftest.err
>&5
12139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12140 (exit $ac_status); } &&
12141 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12143 (eval $ac_try) 2>&5
12145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12146 (exit $ac_status); }; } &&
12147 { ac_try
='test -s conftest$ac_exeext'
12148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12149 (eval $ac_try) 2>&5
12151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12152 (exit $ac_status); }; }; then
12153 ac_cv_lib_posix4_sched_yield
=yes
12155 echo "$as_me: failed program was:" >&5
12156 sed 's/^/| /' conftest.
$ac_ext >&5
12158 ac_cv_lib_posix4_sched_yield
=no
12160 rm -f conftest.err conftest.
$ac_objext \
12161 conftest
$ac_exeext conftest.
$ac_ext
12162 LIBS
=$ac_check_lib_save_LIBS
12164 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
12165 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
12166 if test $ac_cv_lib_posix4_sched_yield = yes; then
12168 cat >>confdefs.h
<<\_ACEOF
12169 #define HAVE_SCHED_YIELD 1
12172 THREADLIBS
="$THREADLIBS -lposix4"
12173 THREADSPEC
="$THREADSPEC -lposix4"
12183 # We can save a little space at runtime if the mutex has m_count
12184 # or __m_count. This is a nice hack for Linux.
12185 cat >conftest.
$ac_ext <<_ACEOF
12188 cat confdefs.h
>>conftest.
$ac_ext
12189 cat >>conftest.
$ac_ext <<_ACEOF
12190 /* end confdefs.h. */
12191 #include <pthread.h>
12196 extern pthread_mutex_t *mutex; int q = mutex->m_count;
12202 rm -f conftest.
$ac_objext
12203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12204 (eval $ac_compile) 2>conftest.er1
12206 grep -v '^ *+' conftest.er1
>conftest.err
12208 cat conftest.err
>&5
12209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12210 (exit $ac_status); } &&
12211 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12213 (eval $ac_try) 2>&5
12215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12216 (exit $ac_status); }; } &&
12217 { ac_try
='test -s conftest.$ac_objext'
12218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12219 (eval $ac_try) 2>&5
12221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12222 (exit $ac_status); }; }; then
12224 cat >>confdefs.h
<<\_ACEOF
12225 #define PTHREAD_MUTEX_HAVE_M_COUNT 1
12229 echo "$as_me: failed program was:" >&5
12230 sed 's/^/| /' conftest.
$ac_ext >&5
12233 cat >conftest.
$ac_ext <<_ACEOF
12236 cat confdefs.h
>>conftest.
$ac_ext
12237 cat >>conftest.
$ac_ext <<_ACEOF
12238 /* end confdefs.h. */
12239 #include <pthread.h>
12244 extern pthread_mutex_t *mutex; int q = mutex->__m_count;
12250 rm -f conftest.
$ac_objext
12251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12252 (eval $ac_compile) 2>conftest.er1
12254 grep -v '^ *+' conftest.er1
>conftest.err
12256 cat conftest.err
>&5
12257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12258 (exit $ac_status); } &&
12259 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12261 (eval $ac_try) 2>&5
12263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12264 (exit $ac_status); }; } &&
12265 { ac_try
='test -s conftest.$ac_objext'
12266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12267 (eval $ac_try) 2>&5
12269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12270 (exit $ac_status); }; }; then
12272 cat >>confdefs.h
<<\_ACEOF
12273 #define PTHREAD_MUTEX_HAVE___M_COUNT 1
12277 echo "$as_me: failed program was:" >&5
12278 sed 's/^/| /' conftest.
$ac_ext >&5
12281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12286 # We require a way to get the time.
12291 for ac_func
in gettimeofday
time ftime
12293 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12294 echo "$as_me:$LINENO: checking for $ac_func" >&5
12295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12296 if eval "test \"\${$as_ac_var+set}\" = set"; then
12297 echo $ECHO_N "(cached) $ECHO_C" >&6
12299 if test x
$gcc_no_link = xyes
; then
12300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12302 { (exit 1); exit 1; }; }
12304 cat >conftest.
$ac_ext <<_ACEOF
12307 cat confdefs.h
>>conftest.
$ac_ext
12308 cat >>conftest.
$ac_ext <<_ACEOF
12309 /* end confdefs.h. */
12310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12312 #define $ac_func innocuous_$ac_func
12314 /* System header to define __stub macros and hopefully few prototypes,
12315 which can conflict with char $ac_func (); below.
12316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12317 <limits.h> exists even on freestanding compilers. */
12320 # include <limits.h>
12322 # include <assert.h>
12327 /* Override any gcc2 internal prototype to avoid an error. */
12332 /* We use char because int might match the return type of a gcc2
12333 builtin and then its argument prototype would still apply. */
12335 /* The GNU C library defines this for functions which it implements
12336 to always fail with ENOSYS. Some functions are actually named
12337 something starting with __ and the normal name is an alias. */
12338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12341 char (*f) () = $ac_func;
12350 return f != $ac_func;
12355 rm -f conftest.
$ac_objext conftest
$ac_exeext
12356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12357 (eval $ac_link) 2>conftest.er1
12359 grep -v '^ *+' conftest.er1
>conftest.err
12361 cat conftest.err
>&5
12362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12363 (exit $ac_status); } &&
12364 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12366 (eval $ac_try) 2>&5
12368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12369 (exit $ac_status); }; } &&
12370 { ac_try
='test -s conftest$ac_exeext'
12371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12372 (eval $ac_try) 2>&5
12374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12375 (exit $ac_status); }; }; then
12376 eval "$as_ac_var=yes"
12378 echo "$as_me: failed program was:" >&5
12379 sed 's/^/| /' conftest.
$ac_ext >&5
12381 eval "$as_ac_var=no"
12383 rm -f conftest.err conftest.
$ac_objext \
12384 conftest
$ac_exeext conftest.
$ac_ext
12386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12388 if test `eval echo '${'$as_ac_var'}'` = yes; then
12389 cat >>confdefs.h
<<_ACEOF
12390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12396 if test "$time_found" = no
; then
12397 { { echo "$as_me:$LINENO: error: no function found to get the time" >&5
12398 echo "$as_me: error: no function found to get the time" >&2;}
12399 { (exit 1); exit 1; }; }
12403 for ac_func
in memmove
12405 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12406 echo "$as_me:$LINENO: checking for $ac_func" >&5
12407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12408 if eval "test \"\${$as_ac_var+set}\" = set"; then
12409 echo $ECHO_N "(cached) $ECHO_C" >&6
12411 if test x
$gcc_no_link = xyes
; then
12412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12414 { (exit 1); exit 1; }; }
12416 cat >conftest.
$ac_ext <<_ACEOF
12419 cat confdefs.h
>>conftest.
$ac_ext
12420 cat >>conftest.
$ac_ext <<_ACEOF
12421 /* end confdefs.h. */
12422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12424 #define $ac_func innocuous_$ac_func
12426 /* System header to define __stub macros and hopefully few prototypes,
12427 which can conflict with char $ac_func (); below.
12428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12429 <limits.h> exists even on freestanding compilers. */
12432 # include <limits.h>
12434 # include <assert.h>
12439 /* Override any gcc2 internal prototype to avoid an error. */
12444 /* We use char because int might match the return type of a gcc2
12445 builtin and then its argument prototype would still apply. */
12447 /* The GNU C library defines this for functions which it implements
12448 to always fail with ENOSYS. Some functions are actually named
12449 something starting with __ and the normal name is an alias. */
12450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12453 char (*f) () = $ac_func;
12462 return f != $ac_func;
12467 rm -f conftest.
$ac_objext conftest
$ac_exeext
12468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12469 (eval $ac_link) 2>conftest.er1
12471 grep -v '^ *+' conftest.er1
>conftest.err
12473 cat conftest.err
>&5
12474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12475 (exit $ac_status); } &&
12476 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12478 (eval $ac_try) 2>&5
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 (exit $ac_status); }; } &&
12482 { ac_try
='test -s conftest$ac_exeext'
12483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12484 (eval $ac_try) 2>&5
12486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12487 (exit $ac_status); }; }; then
12488 eval "$as_ac_var=yes"
12490 echo "$as_me: failed program was:" >&5
12491 sed 's/^/| /' conftest.
$ac_ext >&5
12493 eval "$as_ac_var=no"
12495 rm -f conftest.err conftest.
$ac_objext \
12496 conftest
$ac_exeext conftest.
$ac_ext
12498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12500 if test `eval echo '${'$as_ac_var'}'` = yes; then
12501 cat >>confdefs.h
<<_ACEOF
12502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12509 # We require memcpy.
12512 for ac_func
in memcpy
12514 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12515 echo "$as_me:$LINENO: checking for $ac_func" >&5
12516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12517 if eval "test \"\${$as_ac_var+set}\" = set"; then
12518 echo $ECHO_N "(cached) $ECHO_C" >&6
12520 if test x
$gcc_no_link = xyes
; then
12521 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12523 { (exit 1); exit 1; }; }
12525 cat >conftest.
$ac_ext <<_ACEOF
12528 cat confdefs.h
>>conftest.
$ac_ext
12529 cat >>conftest.
$ac_ext <<_ACEOF
12530 /* end confdefs.h. */
12531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12533 #define $ac_func innocuous_$ac_func
12535 /* System header to define __stub macros and hopefully few prototypes,
12536 which can conflict with char $ac_func (); below.
12537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12538 <limits.h> exists even on freestanding compilers. */
12541 # include <limits.h>
12543 # include <assert.h>
12548 /* Override any gcc2 internal prototype to avoid an error. */
12553 /* We use char because int might match the return type of a gcc2
12554 builtin and then its argument prototype would still apply. */
12556 /* The GNU C library defines this for functions which it implements
12557 to always fail with ENOSYS. Some functions are actually named
12558 something starting with __ and the normal name is an alias. */
12559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12562 char (*f) () = $ac_func;
12571 return f != $ac_func;
12576 rm -f conftest.
$ac_objext conftest
$ac_exeext
12577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12578 (eval $ac_link) 2>conftest.er1
12580 grep -v '^ *+' conftest.er1
>conftest.err
12582 cat conftest.err
>&5
12583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12584 (exit $ac_status); } &&
12585 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12587 (eval $ac_try) 2>&5
12589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12590 (exit $ac_status); }; } &&
12591 { ac_try
='test -s conftest$ac_exeext'
12592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12593 (eval $ac_try) 2>&5
12595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12596 (exit $ac_status); }; }; then
12597 eval "$as_ac_var=yes"
12599 echo "$as_me: failed program was:" >&5
12600 sed 's/^/| /' conftest.
$ac_ext >&5
12602 eval "$as_ac_var=no"
12604 rm -f conftest.err conftest.
$ac_objext \
12605 conftest
$ac_exeext conftest.
$ac_ext
12607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12609 if test `eval echo '${'$as_ac_var'}'` = yes; then
12610 cat >>confdefs.h
<<_ACEOF
12611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12617 if test "$memcpy_found" = no
; then
12618 { { echo "$as_me:$LINENO: error: memcpy is required" >&5
12619 echo "$as_me: error: memcpy is required" >&2;}
12620 { (exit 1); exit 1; }; }
12623 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12624 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12625 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12626 echo $ECHO_N "(cached) $ECHO_C" >&6
12628 ac_check_lib_save_LIBS
=$LIBS
12630 if test x
$gcc_no_link = xyes
; then
12631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12633 { (exit 1); exit 1; }; }
12635 cat >conftest.
$ac_ext <<_ACEOF
12638 cat confdefs.h
>>conftest.
$ac_ext
12639 cat >>conftest.
$ac_ext <<_ACEOF
12640 /* end confdefs.h. */
12642 /* Override any gcc2 internal prototype to avoid an error. */
12646 /* We use char because int might match the return type of a gcc2
12647 builtin and then its argument prototype would still apply. */
12657 rm -f conftest.
$ac_objext conftest
$ac_exeext
12658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12659 (eval $ac_link) 2>conftest.er1
12661 grep -v '^ *+' conftest.er1
>conftest.err
12663 cat conftest.err
>&5
12664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12665 (exit $ac_status); } &&
12666 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12668 (eval $ac_try) 2>&5
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); }; } &&
12672 { ac_try
='test -s conftest$ac_exeext'
12673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12674 (eval $ac_try) 2>&5
12676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12677 (exit $ac_status); }; }; then
12678 ac_cv_lib_dl_dlopen
=yes
12680 echo "$as_me: failed program was:" >&5
12681 sed 's/^/| /' conftest.
$ac_ext >&5
12683 ac_cv_lib_dl_dlopen
=no
12685 rm -f conftest.err conftest.
$ac_objext \
12686 conftest
$ac_exeext conftest.
$ac_ext
12687 LIBS
=$ac_check_lib_save_LIBS
12689 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12690 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12691 if test $ac_cv_lib_dl_dlopen = yes; then
12694 cat >>confdefs.h
<<\_ACEOF
12695 #define HAVE_DLOPEN 1
12701 # Some library-finding code we stole from Tcl.
12702 #--------------------------------------------------------------------
12703 # Check for the existence of the -lsocket and -lnsl libraries.
12704 # The order here is important, so that they end up in the right
12705 # order in the command line generated by make. Here are some
12706 # special considerations:
12707 # 1. Use "connect" and "accept" to check for -lsocket, and
12708 # "gethostbyname" to check for -lnsl.
12709 # 2. Use each function name only once: can't redo a check because
12710 # autoconf caches the results of the last check and won't redo it.
12711 # 3. Use -lnsl and -lsocket only if they supply procedures that
12712 # aren't already present in the normal libraries. This is because
12713 # IRIX 5.2 has libraries, but they aren't needed and they're
12714 # bogus: they goof up name resolution if used.
12715 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
12716 # To get around this problem, check for both libraries together
12717 # if -lsocket doesn't work by itself.
12718 #--------------------------------------------------------------------
12720 echo "$as_me:$LINENO: checking for socket libraries" >&5
12721 echo $ECHO_N "checking for socket libraries... $ECHO_C" >&6
12722 if test "${gcj_cv_lib_sockets+set}" = set; then
12723 echo $ECHO_N "(cached) $ECHO_C" >&6
12725 gcj_cv_lib_sockets
=
12727 unset ac_cv_func_connect
12728 echo "$as_me:$LINENO: checking for connect" >&5
12729 echo $ECHO_N "checking for connect... $ECHO_C" >&6
12730 if test "${ac_cv_func_connect+set}" = set; then
12731 echo $ECHO_N "(cached) $ECHO_C" >&6
12733 if test x
$gcc_no_link = xyes
; then
12734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12736 { (exit 1); exit 1; }; }
12738 cat >conftest.
$ac_ext <<_ACEOF
12741 cat confdefs.h
>>conftest.
$ac_ext
12742 cat >>conftest.
$ac_ext <<_ACEOF
12743 /* end confdefs.h. */
12744 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
12745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12746 #define connect innocuous_connect
12748 /* System header to define __stub macros and hopefully few prototypes,
12749 which can conflict with char connect (); below.
12750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12751 <limits.h> exists even on freestanding compilers. */
12754 # include <limits.h>
12756 # include <assert.h>
12761 /* Override any gcc2 internal prototype to avoid an error. */
12766 /* We use char because int might match the return type of a gcc2
12767 builtin and then its argument prototype would still apply. */
12769 /* The GNU C library defines this for functions which it implements
12770 to always fail with ENOSYS. Some functions are actually named
12771 something starting with __ and the normal name is an alias. */
12772 #if defined (__stub_connect) || defined (__stub___connect)
12775 char (*f) () = connect;
12784 return f != connect;
12789 rm -f conftest.
$ac_objext conftest
$ac_exeext
12790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12791 (eval $ac_link) 2>conftest.er1
12793 grep -v '^ *+' conftest.er1
>conftest.err
12795 cat conftest.err
>&5
12796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12797 (exit $ac_status); } &&
12798 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12800 (eval $ac_try) 2>&5
12802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12803 (exit $ac_status); }; } &&
12804 { ac_try
='test -s conftest$ac_exeext'
12805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12806 (eval $ac_try) 2>&5
12808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12809 (exit $ac_status); }; }; then
12810 ac_cv_func_connect
=yes
12812 echo "$as_me: failed program was:" >&5
12813 sed 's/^/| /' conftest.
$ac_ext >&5
12815 ac_cv_func_connect
=no
12817 rm -f conftest.err conftest.
$ac_objext \
12818 conftest
$ac_exeext conftest.
$ac_ext
12820 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
12821 echo "${ECHO_T}$ac_cv_func_connect" >&6
12822 if test $ac_cv_func_connect = yes; then
12828 if test "$gcj_checkSocket" = 1; then
12829 unset ac_cv_func_connect
12830 echo "$as_me:$LINENO: checking for main in -lsocket" >&5
12831 echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
12832 if test "${ac_cv_lib_socket_main+set}" = set; then
12833 echo $ECHO_N "(cached) $ECHO_C" >&6
12835 ac_check_lib_save_LIBS
=$LIBS
12836 LIBS
="-lsocket $LIBS"
12837 if test x
$gcc_no_link = xyes
; then
12838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12840 { (exit 1); exit 1; }; }
12842 cat >conftest.
$ac_ext <<_ACEOF
12845 cat confdefs.h
>>conftest.
$ac_ext
12846 cat >>conftest.
$ac_ext <<_ACEOF
12847 /* end confdefs.h. */
12858 rm -f conftest.
$ac_objext conftest
$ac_exeext
12859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12860 (eval $ac_link) 2>conftest.er1
12862 grep -v '^ *+' conftest.er1
>conftest.err
12864 cat conftest.err
>&5
12865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12866 (exit $ac_status); } &&
12867 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12869 (eval $ac_try) 2>&5
12871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12872 (exit $ac_status); }; } &&
12873 { ac_try
='test -s conftest$ac_exeext'
12874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12875 (eval $ac_try) 2>&5
12877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12878 (exit $ac_status); }; }; then
12879 ac_cv_lib_socket_main
=yes
12881 echo "$as_me: failed program was:" >&5
12882 sed 's/^/| /' conftest.
$ac_ext >&5
12884 ac_cv_lib_socket_main
=no
12886 rm -f conftest.err conftest.
$ac_objext \
12887 conftest
$ac_exeext conftest.
$ac_ext
12888 LIBS
=$ac_check_lib_save_LIBS
12890 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
12891 echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
12892 if test $ac_cv_lib_socket_main = yes; then
12893 gcj_cv_lib_sockets
="-lsocket"
12899 if test "$gcj_checkBoth" = 1; then
12901 LIBS
="$LIBS -lsocket -lnsl"
12902 unset ac_cv_func_accept
12903 echo "$as_me:$LINENO: checking for accept" >&5
12904 echo $ECHO_N "checking for accept... $ECHO_C" >&6
12905 if test "${ac_cv_func_accept+set}" = set; then
12906 echo $ECHO_N "(cached) $ECHO_C" >&6
12908 if test x
$gcc_no_link = xyes
; then
12909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12911 { (exit 1); exit 1; }; }
12913 cat >conftest.
$ac_ext <<_ACEOF
12916 cat confdefs.h
>>conftest.
$ac_ext
12917 cat >>conftest.
$ac_ext <<_ACEOF
12918 /* end confdefs.h. */
12919 /* Define accept to an innocuous variant, in case <limits.h> declares accept.
12920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12921 #define accept innocuous_accept
12923 /* System header to define __stub macros and hopefully few prototypes,
12924 which can conflict with char accept (); below.
12925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12926 <limits.h> exists even on freestanding compilers. */
12929 # include <limits.h>
12931 # include <assert.h>
12936 /* Override any gcc2 internal prototype to avoid an error. */
12941 /* We use char because int might match the return type of a gcc2
12942 builtin and then its argument prototype would still apply. */
12944 /* The GNU C library defines this for functions which it implements
12945 to always fail with ENOSYS. Some functions are actually named
12946 something starting with __ and the normal name is an alias. */
12947 #if defined (__stub_accept) || defined (__stub___accept)
12950 char (*f) () = accept;
12959 return f != accept;
12964 rm -f conftest.
$ac_objext conftest
$ac_exeext
12965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12966 (eval $ac_link) 2>conftest.er1
12968 grep -v '^ *+' conftest.er1
>conftest.err
12970 cat conftest.err
>&5
12971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12972 (exit $ac_status); } &&
12973 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12975 (eval $ac_try) 2>&5
12977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12978 (exit $ac_status); }; } &&
12979 { ac_try
='test -s conftest$ac_exeext'
12980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12981 (eval $ac_try) 2>&5
12983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12984 (exit $ac_status); }; }; then
12985 ac_cv_func_accept
=yes
12987 echo "$as_me: failed program was:" >&5
12988 sed 's/^/| /' conftest.
$ac_ext >&5
12990 ac_cv_func_accept
=no
12992 rm -f conftest.err conftest.
$ac_objext \
12993 conftest
$ac_exeext conftest.
$ac_ext
12995 echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5
12996 echo "${ECHO_T}$ac_cv_func_accept" >&6
12997 if test $ac_cv_func_accept = yes; then
12999 gcj_cv_lib_sockets
="-lsocket -lnsl"
13002 unset ac_cv_func_accept
13005 unset ac_cv_func_gethostbyname
13007 LIBS
="$LIBS $gcj_cv_lib_sockets"
13008 echo "$as_me:$LINENO: checking for gethostbyname" >&5
13009 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
13010 if test "${ac_cv_func_gethostbyname+set}" = set; then
13011 echo $ECHO_N "(cached) $ECHO_C" >&6
13013 if test x
$gcc_no_link = xyes
; then
13014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13016 { (exit 1); exit 1; }; }
13018 cat >conftest.
$ac_ext <<_ACEOF
13021 cat confdefs.h
>>conftest.
$ac_ext
13022 cat >>conftest.
$ac_ext <<_ACEOF
13023 /* end confdefs.h. */
13024 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
13025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13026 #define gethostbyname innocuous_gethostbyname
13028 /* System header to define __stub macros and hopefully few prototypes,
13029 which can conflict with char gethostbyname (); below.
13030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13031 <limits.h> exists even on freestanding compilers. */
13034 # include <limits.h>
13036 # include <assert.h>
13039 #undef gethostbyname
13041 /* Override any gcc2 internal prototype to avoid an error. */
13046 /* We use char because int might match the return type of a gcc2
13047 builtin and then its argument prototype would still apply. */
13048 char gethostbyname ();
13049 /* The GNU C library defines this for functions which it implements
13050 to always fail with ENOSYS. Some functions are actually named
13051 something starting with __ and the normal name is an alias. */
13052 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13055 char (*f) () = gethostbyname;
13064 return f != gethostbyname;
13069 rm -f conftest.
$ac_objext conftest
$ac_exeext
13070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13071 (eval $ac_link) 2>conftest.er1
13073 grep -v '^ *+' conftest.er1
>conftest.err
13075 cat conftest.err
>&5
13076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13077 (exit $ac_status); } &&
13078 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13080 (eval $ac_try) 2>&5
13082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13083 (exit $ac_status); }; } &&
13084 { ac_try
='test -s conftest$ac_exeext'
13085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13086 (eval $ac_try) 2>&5
13088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13089 (exit $ac_status); }; }; then
13090 ac_cv_func_gethostbyname
=yes
13092 echo "$as_me: failed program was:" >&5
13093 sed 's/^/| /' conftest.
$ac_ext >&5
13095 ac_cv_func_gethostbyname
=no
13097 rm -f conftest.err conftest.
$ac_objext \
13098 conftest
$ac_exeext conftest.
$ac_ext
13100 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
13101 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
13102 if test $ac_cv_func_gethostbyname = yes; then
13105 echo "$as_me:$LINENO: checking for main in -lnsl" >&5
13106 echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
13107 if test "${ac_cv_lib_nsl_main+set}" = set; then
13108 echo $ECHO_N "(cached) $ECHO_C" >&6
13110 ac_check_lib_save_LIBS
=$LIBS
13112 if test x
$gcc_no_link = xyes
; then
13113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13115 { (exit 1); exit 1; }; }
13117 cat >conftest.
$ac_ext <<_ACEOF
13120 cat confdefs.h
>>conftest.
$ac_ext
13121 cat >>conftest.
$ac_ext <<_ACEOF
13122 /* end confdefs.h. */
13133 rm -f conftest.
$ac_objext conftest
$ac_exeext
13134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13135 (eval $ac_link) 2>conftest.er1
13137 grep -v '^ *+' conftest.er1
>conftest.err
13139 cat conftest.err
>&5
13140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13141 (exit $ac_status); } &&
13142 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13144 (eval $ac_try) 2>&5
13146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13147 (exit $ac_status); }; } &&
13148 { ac_try
='test -s conftest$ac_exeext'
13149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13150 (eval $ac_try) 2>&5
13152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13153 (exit $ac_status); }; }; then
13154 ac_cv_lib_nsl_main
=yes
13156 echo "$as_me: failed program was:" >&5
13157 sed 's/^/| /' conftest.
$ac_ext >&5
13159 ac_cv_lib_nsl_main
=no
13161 rm -f conftest.err conftest.
$ac_objext \
13162 conftest
$ac_exeext conftest.
$ac_ext
13163 LIBS
=$ac_check_lib_save_LIBS
13165 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
13166 echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
13167 if test $ac_cv_lib_nsl_main = yes; then
13168 gcj_cv_lib_sockets
="$gcj_cv_lib_sockets -lnsl"
13173 unset ac_cv_func_gethostbyname
13177 echo "$as_me:$LINENO: result: $gcj_cv_lib_sockets" >&5
13178 echo "${ECHO_T}$gcj_cv_lib_sockets" >&6
13179 SYSTEMSPEC
="$SYSTEMSPEC $gcj_cv_lib_sockets"
13181 if test "$with_system_zlib" = yes; then
13182 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
13183 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
13184 if test "${ac_cv_lib_z_deflate+set}" = set; then
13185 echo $ECHO_N "(cached) $ECHO_C" >&6
13187 ac_check_lib_save_LIBS
=$LIBS
13189 if test x
$gcc_no_link = xyes
; then
13190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13192 { (exit 1); exit 1; }; }
13194 cat >conftest.
$ac_ext <<_ACEOF
13197 cat confdefs.h
>>conftest.
$ac_ext
13198 cat >>conftest.
$ac_ext <<_ACEOF
13199 /* end confdefs.h. */
13201 /* Override any gcc2 internal prototype to avoid an error. */
13205 /* We use char because int might match the return type of a gcc2
13206 builtin and then its argument prototype would still apply. */
13216 rm -f conftest.
$ac_objext conftest
$ac_exeext
13217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13218 (eval $ac_link) 2>conftest.er1
13220 grep -v '^ *+' conftest.er1
>conftest.err
13222 cat conftest.err
>&5
13223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13224 (exit $ac_status); } &&
13225 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13227 (eval $ac_try) 2>&5
13229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13230 (exit $ac_status); }; } &&
13231 { ac_try
='test -s conftest$ac_exeext'
13232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13233 (eval $ac_try) 2>&5
13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); }; }; then
13237 ac_cv_lib_z_deflate
=yes
13239 echo "$as_me: failed program was:" >&5
13240 sed 's/^/| /' conftest.
$ac_ext >&5
13242 ac_cv_lib_z_deflate
=no
13244 rm -f conftest.err conftest.
$ac_objext \
13245 conftest
$ac_exeext conftest.
$ac_ext
13246 LIBS
=$ac_check_lib_save_LIBS
13248 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
13249 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
13250 if test $ac_cv_lib_z_deflate = yes; then
13258 # Test for Gtk stuff, if asked for.
13259 if test "$use_gtk_awt" = yes; then
13263 if test -z "$PKG_CONFIG"; then
13264 # Extract the first word of "pkg-config", so it can be a program name with args.
13265 set dummy pkg-config
; ac_word
=$2
13266 echo "$as_me:$LINENO: checking for $ac_word" >&5
13267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13268 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13269 echo $ECHO_N "(cached) $ECHO_C" >&6
13271 case $PKG_CONFIG in
13273 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13277 for as_dir
in $PATH
13280 test -z "$as_dir" && as_dir
=.
13281 for ac_exec_ext
in '' $ac_executable_extensions; do
13282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13283 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13290 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13294 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13296 if test -n "$PKG_CONFIG"; then
13297 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13298 echo "${ECHO_T}$PKG_CONFIG" >&6
13300 echo "$as_me:$LINENO: result: no" >&5
13301 echo "${ECHO_T}no" >&6
13306 if test "$PKG_CONFIG" = "no" ; then
13307 echo "*** The pkg-config script could not be found. Make sure it is"
13308 echo "*** in your path, or set the PKG_CONFIG environment variable"
13309 echo "*** to the full path to pkg-config."
13310 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13312 PKG_CONFIG_MIN_VERSION
=0.9.0
13313 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13314 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4" >&5
13315 echo $ECHO_N "checking for gtk+-2.0 >= 2.4... $ECHO_C" >&6
13317 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4" ; then
13318 echo "$as_me:$LINENO: result: yes" >&5
13319 echo "${ECHO_T}yes" >&6
13322 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
13323 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
13324 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4"`
13325 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
13326 echo "${ECHO_T}$GTK_CFLAGS" >&6
13328 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
13329 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
13330 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4"`
13331 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
13332 echo "${ECHO_T}$GTK_LIBS" >&6
13336 ## If we have a custom action on failure, don't print errors, but
13337 ## do set a variable so people can do so.
13338 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4"`
13339 echo $GTK_PKG_ERRORS
13345 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13346 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13350 if test $succeeded = yes; then
13353 { { 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
13354 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;}
13355 { (exit 1); exit 1; }; }
13364 if test -z "$PKG_CONFIG"; then
13365 # Extract the first word of "pkg-config", so it can be a program name with args.
13366 set dummy pkg-config
; ac_word
=$2
13367 echo "$as_me:$LINENO: checking for $ac_word" >&5
13368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13369 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13370 echo $ECHO_N "(cached) $ECHO_C" >&6
13372 case $PKG_CONFIG in
13374 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13378 for as_dir
in $PATH
13381 test -z "$as_dir" && as_dir
=.
13382 for ac_exec_ext
in '' $ac_executable_extensions; do
13383 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13384 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13391 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13395 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13397 if test -n "$PKG_CONFIG"; then
13398 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13399 echo "${ECHO_T}$PKG_CONFIG" >&6
13401 echo "$as_me:$LINENO: result: no" >&5
13402 echo "${ECHO_T}no" >&6
13407 if test "$PKG_CONFIG" = "no" ; then
13408 echo "*** The pkg-config script could not be found. Make sure it is"
13409 echo "*** in your path, or set the PKG_CONFIG environment variable"
13410 echo "*** to the full path to pkg-config."
13411 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13413 PKG_CONFIG_MIN_VERSION
=0.9.0
13414 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13415 echo "$as_me:$LINENO: checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4" >&5
13416 echo $ECHO_N "checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... $ECHO_C" >&6
13418 if $PKG_CONFIG --exists "glib-2.0 >= 2.4 gthread-2.0 >= 2.4" ; then
13419 echo "$as_me:$LINENO: result: yes" >&5
13420 echo "${ECHO_T}yes" >&6
13423 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
13424 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
13425 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
13426 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
13427 echo "${ECHO_T}$GLIB_CFLAGS" >&6
13429 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
13430 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
13431 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
13432 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
13433 echo "${ECHO_T}$GLIB_LIBS" >&6
13437 ## If we have a custom action on failure, don't print errors, but
13438 ## do set a variable so people can do so.
13439 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
13440 echo $GLIB_PKG_ERRORS
13446 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13447 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13451 if test $succeeded = yes; then
13454 { { 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
13455 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;}
13456 { (exit 1); exit 1; }; }
13465 if test -z "$PKG_CONFIG"; then
13466 # Extract the first word of "pkg-config", so it can be a program name with args.
13467 set dummy pkg-config
; ac_word
=$2
13468 echo "$as_me:$LINENO: checking for $ac_word" >&5
13469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13470 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13471 echo $ECHO_N "(cached) $ECHO_C" >&6
13473 case $PKG_CONFIG in
13475 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13479 for as_dir
in $PATH
13482 test -z "$as_dir" && as_dir
=.
13483 for ac_exec_ext
in '' $ac_executable_extensions; do
13484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13485 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13492 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13496 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13498 if test -n "$PKG_CONFIG"; then
13499 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13500 echo "${ECHO_T}$PKG_CONFIG" >&6
13502 echo "$as_me:$LINENO: result: no" >&5
13503 echo "${ECHO_T}no" >&6
13508 if test "$PKG_CONFIG" = "no" ; then
13509 echo "*** The pkg-config script could not be found. Make sure it is"
13510 echo "*** in your path, or set the PKG_CONFIG environment variable"
13511 echo "*** to the full path to pkg-config."
13512 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13514 PKG_CONFIG_MIN_VERSION
=0.9.0
13515 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13516 echo "$as_me:$LINENO: checking for libart-2.0 >= 2.1" >&5
13517 echo $ECHO_N "checking for libart-2.0 >= 2.1... $ECHO_C" >&6
13519 if $PKG_CONFIG --exists "libart-2.0 >= 2.1" ; then
13520 echo "$as_me:$LINENO: result: yes" >&5
13521 echo "${ECHO_T}yes" >&6
13524 echo "$as_me:$LINENO: checking LIBART_CFLAGS" >&5
13525 echo $ECHO_N "checking LIBART_CFLAGS... $ECHO_C" >&6
13526 LIBART_CFLAGS
=`$PKG_CONFIG --cflags "libart-2.0 >= 2.1"`
13527 echo "$as_me:$LINENO: result: $LIBART_CFLAGS" >&5
13528 echo "${ECHO_T}$LIBART_CFLAGS" >&6
13530 echo "$as_me:$LINENO: checking LIBART_LIBS" >&5
13531 echo $ECHO_N "checking LIBART_LIBS... $ECHO_C" >&6
13532 LIBART_LIBS
=`$PKG_CONFIG --libs "libart-2.0 >= 2.1"`
13533 echo "$as_me:$LINENO: result: $LIBART_LIBS" >&5
13534 echo "${ECHO_T}$LIBART_LIBS" >&6
13538 ## If we have a custom action on failure, don't print errors, but
13539 ## do set a variable so people can do so.
13540 LIBART_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libart-2.0 >= 2.1"`
13541 echo $LIBART_PKG_ERRORS
13547 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13548 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13552 if test $succeeded = yes; then
13555 { { 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
13556 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;}
13557 { (exit 1); exit 1; }; }
13564 # On Solaris, and maybe other architectures, the Boehm collector
13566 if test "$GC" = boehm
; then
13567 echo "$as_me:$LINENO: checking for main in -ldl" >&5
13568 echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6
13569 if test "${ac_cv_lib_dl_main+set}" = set; then
13570 echo $ECHO_N "(cached) $ECHO_C" >&6
13572 ac_check_lib_save_LIBS
=$LIBS
13574 if test x
$gcc_no_link = xyes
; then
13575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13577 { (exit 1); exit 1; }; }
13579 cat >conftest.
$ac_ext <<_ACEOF
13582 cat confdefs.h
>>conftest.
$ac_ext
13583 cat >>conftest.
$ac_ext <<_ACEOF
13584 /* end confdefs.h. */
13595 rm -f conftest.
$ac_objext conftest
$ac_exeext
13596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13597 (eval $ac_link) 2>conftest.er1
13599 grep -v '^ *+' conftest.er1
>conftest.err
13601 cat conftest.err
>&5
13602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13603 (exit $ac_status); } &&
13604 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13606 (eval $ac_try) 2>&5
13608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13609 (exit $ac_status); }; } &&
13610 { ac_try
='test -s conftest$ac_exeext'
13611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13612 (eval $ac_try) 2>&5
13614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13615 (exit $ac_status); }; }; then
13616 ac_cv_lib_dl_main
=yes
13618 echo "$as_me: failed program was:" >&5
13619 sed 's/^/| /' conftest.
$ac_ext >&5
13621 ac_cv_lib_dl_main
=no
13623 rm -f conftest.err conftest.
$ac_objext \
13624 conftest
$ac_exeext conftest.
$ac_ext
13625 LIBS
=$ac_check_lib_save_LIBS
13627 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5
13628 echo "${ECHO_T}$ac_cv_lib_dl_main" >&6
13629 if test $ac_cv_lib_dl_main = yes; then
13630 SYSTEMSPEC
="$SYSTEMSPEC -ldl"
13637 if test "$supply_backtrace" = yes; then
13638 SUPPLY_BACKTRACE_TRUE
=
13639 SUPPLY_BACKTRACE_FALSE
='#'
13641 SUPPLY_BACKTRACE_TRUE
='#'
13642 SUPPLY_BACKTRACE_FALSE
=
13646 if test -z "${with_multisubdir}"; then
13649 builddotdot
=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`
13654 # Which gcj do we use?
13656 built_gcc_dir
="`cd ${builddotdot}/../../gcc && ${PWDCMD-pwd}`"
13657 if test -n "${with_cross_host}"; then
13658 # We are being configured with a cross compiler. We can't
13659 # use ac_exeext, because that is for the target platform.
13662 case "${with_cross_host}" in
13663 *mingw
* |
*cygwin
*)
13664 cross_host_exeext
=.exe
13667 if test -x "${built_gcc_dir}/gcj${cross_host_exeext}"; then
13668 if test x
"$build_noncanonical" = x
"$with_cross_host"; then
13669 # Ordinary cross (host!=target and host=build)
13672 # Canadian cross (host!=target and host!=build)
13679 # We are being configured with a native or crossed-native compiler
13680 if test -x "${built_gcc_dir}/gcj${ac_exeext}"; then
13681 if test x
"$build" = x
"$host"; then
13682 # True native build (host=target and host=build)
13685 # Crossed-native build (host=target and host!=build)
13692 case "${which_gcj}" in
13694 GCJ
="$built_gcc_dir/gcj -B`${PWDCMD-pwd}`/ -B$built_gcc_dir/"
13695 GCJH
='$(MULTIBUILDTOP)../$(COMPPATH)/gcc/gcjh'
13696 ZIP
='$(MULTIBUILDTOP)../$(COMPPATH)/fastjar/fastjar'
13699 if test "x${with_newlib}" = "xyes"; then
13700 # FIXME (comment): Why is this needed?
13701 GCC_UNWIND_INCLUDE
=
13702 GCJ
="${target_noncanonical}-gcj"
13704 GCJ
="${target_noncanonical}-gcj -B`${PWDCMD-pwd}`/"
13707 GCJH
='$(target_noncanonical)-gcjh'
13710 GCJ
="gcj -B`${PWDCMD-pwd}`/"
13711 ## In this case, gcj is found outside the build tree. However, zip is
13712 ## found in the build tree.
13713 ZIP
='$(MULTIBUILDTOP)../$(COMPPATH)/fastjar/fastjar'
13721 # Create it, so that compile/link tests don't fail
13722 test -f libgcj.spec ||
touch libgcj.spec
13724 # Use a semicolon as CLASSPATH separator for MinGW, otherwise a colon.
13726 *-mingw32) CLASSPATH_SEPARATOR
=';' ;;
13727 *) CLASSPATH_SEPARATOR
=':' ;;
13731 # We must search the source tree for java.lang, since we still don't
13732 # have libgcj.jar nor java/lang/*.class
13733 GCJ_SAVE_CPPFLAGS
=$CPPFLAGS
13734 CPPFLAGS
="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`"
13736 # Since some classes depend on this one, we need its source available
13737 # before we can do any GCJ compilation test :-(
13738 if test ! -f gnu
/classpath
/Configuration.java
; then
13739 test -d gnu || mkdir gnu
13740 test -d gnu
/classpath || mkdir gnu
/classpath
13741 sed -e 's,@LIBGCJDEBUG@,$LIBGCJDEBUG,' \
13742 -e 's,@TOOLKIT@,$TOOLKIT,' \
13743 < $srcdir/gnu
/classpath
/Configuration.java.
in \
13744 > gnu
/classpath
/Configuration.java
13745 # We do not want to redirect the output of the grep below to /dev/null,
13746 # but we add /dev/null to the input list so that grep will print the
13747 # filename of Configuration.java in case it finds any matches.
13748 if grep @ gnu
/classpath
/Configuration.java
/dev
/null
; then
13749 { { echo "$as_me:$LINENO: error: configure.ac is missing the substitutions above" >&5
13750 echo "$as_me: error: configure.ac is missing the substitutions above" >&2;}
13751 { (exit 1); exit 1; }; }
13755 if test -n "$ac_tool_prefix"; then
13756 # Extract the first word of "${ac_tool_prefix}gcj", so it can be a program name with args.
13757 set dummy
${ac_tool_prefix}gcj
; ac_word
=$2
13758 echo "$as_me:$LINENO: checking for $ac_word" >&5
13759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13760 if test "${ac_cv_prog_GCJ+set}" = set; then
13761 echo $ECHO_N "(cached) $ECHO_C" >&6
13763 if test -n "$GCJ"; then
13764 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
13766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13767 for as_dir
in $PATH
13770 test -z "$as_dir" && as_dir
=.
13771 for ac_exec_ext
in '' $ac_executable_extensions; do
13772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13773 ac_cv_prog_GCJ
="${ac_tool_prefix}gcj"
13774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13782 GCJ
=$ac_cv_prog_GCJ
13783 if test -n "$GCJ"; then
13784 echo "$as_me:$LINENO: result: $GCJ" >&5
13785 echo "${ECHO_T}$GCJ" >&6
13787 echo "$as_me:$LINENO: result: no" >&5
13788 echo "${ECHO_T}no" >&6
13792 if test -z "$ac_cv_prog_GCJ"; then
13794 # Extract the first word of "gcj", so it can be a program name with args.
13795 set dummy gcj
; ac_word
=$2
13796 echo "$as_me:$LINENO: checking for $ac_word" >&5
13797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13798 if test "${ac_cv_prog_ac_ct_GCJ+set}" = set; then
13799 echo $ECHO_N "(cached) $ECHO_C" >&6
13801 if test -n "$ac_ct_GCJ"; then
13802 ac_cv_prog_ac_ct_GCJ
="$ac_ct_GCJ" # Let the user override the test.
13804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13805 for as_dir
in $PATH
13808 test -z "$as_dir" && as_dir
=.
13809 for ac_exec_ext
in '' $ac_executable_extensions; do
13810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13811 ac_cv_prog_ac_ct_GCJ
="gcj"
13812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13818 test -z "$ac_cv_prog_ac_ct_GCJ" && ac_cv_prog_ac_ct_GCJ
="no"
13821 ac_ct_GCJ
=$ac_cv_prog_ac_ct_GCJ
13822 if test -n "$ac_ct_GCJ"; then
13823 echo "$as_me:$LINENO: result: $ac_ct_GCJ" >&5
13824 echo "${ECHO_T}$ac_ct_GCJ" >&6
13826 echo "$as_me:$LINENO: result: no" >&5
13827 echo "${ECHO_T}no" >&6
13832 GCJ
="$ac_cv_prog_GCJ"
13835 test "x${GCJFLAGS+set}" = xset || GCJFLAGS
="-g -O2"
13840 CPPFLAGS
=$GCJ_SAVE_CPPFLAGS
13842 echo "$as_me:$LINENO: checking size of void *" >&5
13843 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
13844 if test "${ac_cv_sizeof_void_p+set}" = set; then
13845 echo $ECHO_N "(cached) $ECHO_C" >&6
13847 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
13848 cat >conftest.
$ac_ext <<_ACEOF
13851 cat confdefs.h
>>conftest.
$ac_ext
13852 cat >>conftest.
$ac_ext <<_ACEOF
13853 /* end confdefs.h. */
13854 #include "confdefs.h"
13855 #include <sys/types.h>
13861 switch (0) case 0: case (sizeof (void *) == $ac_size):;
13866 rm -f conftest.
$ac_objext
13867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13868 (eval $ac_compile) 2>conftest.er1
13870 grep -v '^ *+' conftest.er1
>conftest.err
13872 cat conftest.err
>&5
13873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13874 (exit $ac_status); } &&
13875 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13877 (eval $ac_try) 2>&5
13879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13880 (exit $ac_status); }; } &&
13881 { ac_try
='test -s conftest.$ac_objext'
13882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13883 (eval $ac_try) 2>&5
13885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13886 (exit $ac_status); }; }; then
13887 ac_cv_sizeof_void_p
=$ac_size
13889 echo "$as_me: failed program was:" >&5
13890 sed 's/^/| /' conftest.
$ac_ext >&5
13893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13894 if test x
$ac_cv_sizeof_void_p != x
; then break; fi
13899 if test x
$ac_cv_sizeof_void_p = x
; then
13900 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
13901 echo "$as_me: error: cannot determine a size for void *" >&2;}
13902 { (exit 1); exit 1; }; }
13904 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
13905 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
13907 cat >>confdefs.h
<<_ACEOF
13908 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13913 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
13914 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
13915 if test "${ac_cv_c_bigendian+set}" = set; then
13916 echo $ECHO_N "(cached) $ECHO_C" >&6
13918 ac_cv_c_bigendian
=unknown
13919 # See if sys/param.h defines the BYTE_ORDER macro.
13920 cat >conftest.
$ac_ext <<_ACEOF
13923 cat confdefs.h
>>conftest.
$ac_ext
13924 cat >>conftest.
$ac_ext <<_ACEOF
13925 /* end confdefs.h. */
13926 #include <sys/types.h>
13927 #include <sys/param.h>
13932 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
13933 bogus endian macros
13939 rm -f conftest.
$ac_objext
13940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13941 (eval $ac_compile) 2>conftest.er1
13943 grep -v '^ *+' conftest.er1
>conftest.err
13945 cat conftest.err
>&5
13946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 (exit $ac_status); } &&
13948 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13950 (eval $ac_try) 2>&5
13952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13953 (exit $ac_status); }; } &&
13954 { ac_try
='test -s conftest.$ac_objext'
13955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13956 (eval $ac_try) 2>&5
13958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13959 (exit $ac_status); }; }; then
13960 # It does; now see whether it defined to BIG_ENDIAN or not.
13961 cat >conftest.
$ac_ext <<_ACEOF
13964 cat confdefs.h
>>conftest.
$ac_ext
13965 cat >>conftest.
$ac_ext <<_ACEOF
13966 /* end confdefs.h. */
13967 #include <sys/types.h>
13968 #include <sys/param.h>
13973 #if BYTE_ORDER != BIG_ENDIAN
13980 rm -f conftest.
$ac_objext
13981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13982 (eval $ac_compile) 2>conftest.er1
13984 grep -v '^ *+' conftest.er1
>conftest.err
13986 cat conftest.err
>&5
13987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13988 (exit $ac_status); } &&
13989 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13991 (eval $ac_try) 2>&5
13993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13994 (exit $ac_status); }; } &&
13995 { ac_try
='test -s conftest.$ac_objext'
13996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13997 (eval $ac_try) 2>&5
13999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000 (exit $ac_status); }; }; then
14001 ac_cv_c_bigendian
=yes
14003 echo "$as_me: failed program was:" >&5
14004 sed 's/^/| /' conftest.
$ac_ext >&5
14006 ac_cv_c_bigendian
=no
14008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14010 echo "$as_me: failed program was:" >&5
14011 sed 's/^/| /' conftest.
$ac_ext >&5
14014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14015 if test $ac_cv_c_bigendian = unknown
; then
14016 if test "$cross_compiling" = yes; then
14017 echo $ac_n "cross-compiling... " 2>&6
14019 cat >conftest.
$ac_ext <<_ACEOF
14022 cat confdefs.h
>>conftest.
$ac_ext
14023 cat >>conftest.
$ac_ext <<_ACEOF
14024 /* end confdefs.h. */
14026 /* Are we little or big endian? From Harbison&Steele. */
14030 char c[sizeof (long)];
14033 exit (u.c[sizeof (long) - 1] == 1);
14036 rm -f conftest
$ac_exeext
14037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14038 (eval $ac_link) 2>&5
14040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14041 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14043 (eval $ac_try) 2>&5
14045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14046 (exit $ac_status); }; }; then
14047 ac_cv_c_bigendian
=no
14049 echo "$as_me: program exited with status $ac_status" >&5
14050 echo "$as_me: failed program was:" >&5
14051 sed 's/^/| /' conftest.
$ac_ext >&5
14053 ( exit $ac_status )
14054 ac_cv_c_bigendian
=yes
14056 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14060 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
14061 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
14062 if test $ac_cv_c_bigendian = unknown
; then
14063 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
14064 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
14066 cat >conftest.c
<<EOF
14067 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14068 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14069 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
14070 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14071 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14072 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
14073 int main() { _ascii (); _ebcdic (); return 0; }
14075 if test -f conftest.c
; then
14076 if ${CC-cc} ${CFLAGS} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
14077 if test `grep -l BIGenDianSyS conftest.o` ; then
14078 echo $ac_n ' big endian probe OK, ' 1>&6
14079 ac_cv_c_bigendian
=yes
14081 if test `grep -l LiTTleEnDian conftest.o` ; then
14082 echo $ac_n ' little endian probe OK, ' 1>&6
14083 if test $ac_cv_c_bigendian = yes ; then
14084 ac_cv_c_bigendian
=unknown
;
14086 ac_cv_c_bigendian
=no
14089 echo $ac_n 'guessing bigendian ... ' >&6
14092 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
14093 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
14095 if test $ac_cv_c_bigendian = yes; then
14097 cat >>confdefs.h
<<\_ACEOF
14098 #define WORDS_BIGENDIAN 1
14102 cat >>confdefs.h
<<\_ACEOF
14103 #define HOST_WORDS_BIG_ENDIAN 1
14111 cat >>confdefs.h
<<_ACEOF
14112 #define BYTEORDER $BYTEORDER
14115 if test $ac_cv_c_bigendian = unknown
; then
14116 { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
14117 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
14118 { (exit 1); exit 1; }; }
14126 if test -z "$ZLIBSPEC"; then
14127 # Use zlib from the GCC tree.
14128 ZINCS
='-I$(top_srcdir)/../zlib'
14129 ZLIBS
=..
/zlib
/libzgcj_convenience.la
14132 SYS_ZLIBS
="$ZLIBSPEC"
14144 if test "$NATIVE" = yes; then
14154 if test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes; then
14155 NEEDS_DATA_START_TRUE
=
14156 NEEDS_DATA_START_FALSE
='#'
14158 NEEDS_DATA_START_TRUE
='#'
14159 NEEDS_DATA_START_FALSE
=
14164 # Process the option "--enable-version-specific-runtime-libs"
14165 # Calculate toolexeclibdir
14166 case ${version_specific_libs} in
14168 # Need the gcc compiler version to know where to install libraries
14169 # and header files if --enable-version-specific-runtime-libs option
14171 includedir
='${libdir}/gcc/${target_noncanonical}/'$gcc_version/include
/
14172 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
14173 toolexecmainlibdir
='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
14174 toolexeclibdir
=$toolexecmainlibdir
14177 if test -n "$with_cross_host" &&
14178 test x
"$with_cross_host" != x
"no"; then
14179 # Install a library built with a cross compiler in tooldir, not libdir.
14180 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
14181 toolexecmainlibdir
='$(toolexecdir)/lib'
14183 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
14184 toolexecmainlibdir
='$(libdir)'
14186 multi_os_directory
=`$CC -print-multi-os-directory`
14187 case $multi_os_directory in
14188 .
) toolexeclibdir
=$toolexecmainlibdir ;; # Avoid trailing /.
14189 *) toolexeclibdir
=$toolexecmainlibdir/$multi_os_directory ;;
14197 # Determine gcj version number.
14198 gcjversion
=`$GCJ -v 2>&1 | sed -n 's/^.*version \([^ ]*\).*$/\1/p'`
14199 GCJVERSION
=$gcjversion
14202 cat >>confdefs.h
<<_ACEOF
14203 #define GCJVERSION "$GCJVERSION"
14207 # We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
14208 # On that system, sys/ioctl.h will not include sys/filio.h unless
14209 # BSD_COMP is defined; just including sys/filio.h is simpler.
14229 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
14231 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14232 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14233 echo "$as_me:$LINENO: checking for $ac_header" >&5
14234 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14235 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14236 echo $ECHO_N "(cached) $ECHO_C" >&6
14238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14239 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14241 # Is the header compilable?
14242 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14243 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14244 cat >conftest.
$ac_ext <<_ACEOF
14247 cat confdefs.h
>>conftest.
$ac_ext
14248 cat >>conftest.
$ac_ext <<_ACEOF
14249 /* end confdefs.h. */
14250 $ac_includes_default
14251 #include <$ac_header>
14253 rm -f conftest.
$ac_objext
14254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14255 (eval $ac_compile) 2>conftest.er1
14257 grep -v '^ *+' conftest.er1
>conftest.err
14259 cat conftest.err
>&5
14260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14261 (exit $ac_status); } &&
14262 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14264 (eval $ac_try) 2>&5
14266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14267 (exit $ac_status); }; } &&
14268 { ac_try
='test -s conftest.$ac_objext'
14269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14270 (eval $ac_try) 2>&5
14272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14273 (exit $ac_status); }; }; then
14274 ac_header_compiler
=yes
14276 echo "$as_me: failed program was:" >&5
14277 sed 's/^/| /' conftest.
$ac_ext >&5
14279 ac_header_compiler
=no
14281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14282 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14283 echo "${ECHO_T}$ac_header_compiler" >&6
14285 # Is the header present?
14286 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14287 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14288 cat >conftest.
$ac_ext <<_ACEOF
14291 cat confdefs.h
>>conftest.
$ac_ext
14292 cat >>conftest.
$ac_ext <<_ACEOF
14293 /* end confdefs.h. */
14294 #include <$ac_header>
14296 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14297 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14299 grep -v '^ *+' conftest.er1
>conftest.err
14301 cat conftest.err
>&5
14302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14303 (exit $ac_status); } >/dev
/null
; then
14304 if test -s conftest.err
; then
14305 ac_cpp_err
=$ac_c_preproc_warn_flag
14306 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14313 if test -z "$ac_cpp_err"; then
14314 ac_header_preproc
=yes
14316 echo "$as_me: failed program was:" >&5
14317 sed 's/^/| /' conftest.
$ac_ext >&5
14319 ac_header_preproc
=no
14321 rm -f conftest.err conftest.
$ac_ext
14322 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14323 echo "${ECHO_T}$ac_header_preproc" >&6
14325 # So? What about this header?
14326 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14328 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14329 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14330 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14331 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14332 ac_header_preproc
=yes
14335 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14336 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14337 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14338 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14339 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14340 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14341 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14342 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14344 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14345 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14346 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14349 ## ---------------------------------- ##
14350 ## Report this to the libjava lists. ##
14351 ## ---------------------------------- ##
14354 sed "s/^/$as_me: WARNING: /" >&2
14357 echo "$as_me:$LINENO: checking for $ac_header" >&5
14358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14360 echo $ECHO_N "(cached) $ECHO_C" >&6
14362 eval "$as_ac_Header=\$ac_header_preproc"
14364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14365 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14368 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14369 cat >>confdefs.h
<<_ACEOF
14370 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14377 # We avoid AC_HEADER_DIRENT since we really only care about dirent.h
14378 # for now. If you change this, you also must update natFile.cc.
14380 for ac_header
in dirent.h
14382 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14383 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14384 echo "$as_me:$LINENO: checking for $ac_header" >&5
14385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14386 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14387 echo $ECHO_N "(cached) $ECHO_C" >&6
14389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14390 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14392 # Is the header compilable?
14393 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14394 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14395 cat >conftest.
$ac_ext <<_ACEOF
14398 cat confdefs.h
>>conftest.
$ac_ext
14399 cat >>conftest.
$ac_ext <<_ACEOF
14400 /* end confdefs.h. */
14401 $ac_includes_default
14402 #include <$ac_header>
14404 rm -f conftest.
$ac_objext
14405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14406 (eval $ac_compile) 2>conftest.er1
14408 grep -v '^ *+' conftest.er1
>conftest.err
14410 cat conftest.err
>&5
14411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14412 (exit $ac_status); } &&
14413 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14415 (eval $ac_try) 2>&5
14417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14418 (exit $ac_status); }; } &&
14419 { ac_try
='test -s conftest.$ac_objext'
14420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14421 (eval $ac_try) 2>&5
14423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14424 (exit $ac_status); }; }; then
14425 ac_header_compiler
=yes
14427 echo "$as_me: failed program was:" >&5
14428 sed 's/^/| /' conftest.
$ac_ext >&5
14430 ac_header_compiler
=no
14432 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14433 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14434 echo "${ECHO_T}$ac_header_compiler" >&6
14436 # Is the header present?
14437 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14438 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14439 cat >conftest.
$ac_ext <<_ACEOF
14442 cat confdefs.h
>>conftest.
$ac_ext
14443 cat >>conftest.
$ac_ext <<_ACEOF
14444 /* end confdefs.h. */
14445 #include <$ac_header>
14447 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14448 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14450 grep -v '^ *+' conftest.er1
>conftest.err
14452 cat conftest.err
>&5
14453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14454 (exit $ac_status); } >/dev
/null
; then
14455 if test -s conftest.err
; then
14456 ac_cpp_err
=$ac_c_preproc_warn_flag
14457 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14464 if test -z "$ac_cpp_err"; then
14465 ac_header_preproc
=yes
14467 echo "$as_me: failed program was:" >&5
14468 sed 's/^/| /' conftest.
$ac_ext >&5
14470 ac_header_preproc
=no
14472 rm -f conftest.err conftest.
$ac_ext
14473 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14474 echo "${ECHO_T}$ac_header_preproc" >&6
14476 # So? What about this header?
14477 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14479 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14480 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14481 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14482 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14483 ac_header_preproc
=yes
14486 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14487 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14488 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14489 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14490 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14491 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14492 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14493 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14495 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14496 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14497 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14500 ## ---------------------------------- ##
14501 ## Report this to the libjava lists. ##
14502 ## ---------------------------------- ##
14505 sed "s/^/$as_me: WARNING: /" >&2
14508 echo "$as_me:$LINENO: checking for $ac_header" >&5
14509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14510 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14511 echo $ECHO_N "(cached) $ECHO_C" >&6
14513 eval "$as_ac_Header=\$ac_header_preproc"
14515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14516 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14519 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14520 cat >>confdefs.h
<<_ACEOF
14521 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14529 for ac_header
in inttypes.h
14531 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14532 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14533 echo "$as_me:$LINENO: checking for $ac_header" >&5
14534 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14535 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14536 echo $ECHO_N "(cached) $ECHO_C" >&6
14538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14539 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14541 # Is the header compilable?
14542 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14543 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14544 cat >conftest.
$ac_ext <<_ACEOF
14547 cat confdefs.h
>>conftest.
$ac_ext
14548 cat >>conftest.
$ac_ext <<_ACEOF
14549 /* end confdefs.h. */
14550 $ac_includes_default
14551 #include <$ac_header>
14553 rm -f conftest.
$ac_objext
14554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14555 (eval $ac_compile) 2>conftest.er1
14557 grep -v '^ *+' conftest.er1
>conftest.err
14559 cat conftest.err
>&5
14560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14561 (exit $ac_status); } &&
14562 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14564 (eval $ac_try) 2>&5
14566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567 (exit $ac_status); }; } &&
14568 { ac_try
='test -s conftest.$ac_objext'
14569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14570 (eval $ac_try) 2>&5
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); }; }; then
14574 ac_header_compiler
=yes
14576 echo "$as_me: failed program was:" >&5
14577 sed 's/^/| /' conftest.
$ac_ext >&5
14579 ac_header_compiler
=no
14581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14582 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14583 echo "${ECHO_T}$ac_header_compiler" >&6
14585 # Is the header present?
14586 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14587 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14588 cat >conftest.
$ac_ext <<_ACEOF
14591 cat confdefs.h
>>conftest.
$ac_ext
14592 cat >>conftest.
$ac_ext <<_ACEOF
14593 /* end confdefs.h. */
14594 #include <$ac_header>
14596 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14597 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14599 grep -v '^ *+' conftest.er1
>conftest.err
14601 cat conftest.err
>&5
14602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603 (exit $ac_status); } >/dev
/null
; then
14604 if test -s conftest.err
; then
14605 ac_cpp_err
=$ac_c_preproc_warn_flag
14606 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14613 if test -z "$ac_cpp_err"; then
14614 ac_header_preproc
=yes
14616 echo "$as_me: failed program was:" >&5
14617 sed 's/^/| /' conftest.
$ac_ext >&5
14619 ac_header_preproc
=no
14621 rm -f conftest.err conftest.
$ac_ext
14622 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14623 echo "${ECHO_T}$ac_header_preproc" >&6
14625 # So? What about this header?
14626 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14628 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14629 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14630 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14631 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14632 ac_header_preproc
=yes
14635 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14636 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14637 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14638 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14639 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14640 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14641 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14642 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14643 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14644 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14645 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14646 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14649 ## ---------------------------------- ##
14650 ## Report this to the libjava lists. ##
14651 ## ---------------------------------- ##
14654 sed "s/^/$as_me: WARNING: /" >&2
14657 echo "$as_me:$LINENO: checking for $ac_header" >&5
14658 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14659 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14660 echo $ECHO_N "(cached) $ECHO_C" >&6
14662 eval "$as_ac_Header=\$ac_header_preproc"
14664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14665 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14668 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14669 cat >>confdefs.h
<<_ACEOF
14670 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14674 cat >>confdefs.h
<<\_ACEOF
14675 #define HAVE_INTTYPES_H 1
14679 cat >>confdefs.h
<<\_ACEOF
14680 #define JV_HAVE_INTTYPES_H 1
14688 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
14689 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
14690 if test "${ac_cv_header_sys_wait_h+set}" = set; then
14691 echo $ECHO_N "(cached) $ECHO_C" >&6
14693 cat >conftest.
$ac_ext <<_ACEOF
14696 cat confdefs.h
>>conftest.
$ac_ext
14697 cat >>conftest.
$ac_ext <<_ACEOF
14698 /* end confdefs.h. */
14699 #include <sys/types.h>
14700 #include <sys/wait.h>
14701 #ifndef WEXITSTATUS
14702 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
14705 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
14713 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
14718 rm -f conftest.
$ac_objext
14719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14720 (eval $ac_compile) 2>conftest.er1
14722 grep -v '^ *+' conftest.er1
>conftest.err
14724 cat conftest.err
>&5
14725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14726 (exit $ac_status); } &&
14727 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14729 (eval $ac_try) 2>&5
14731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14732 (exit $ac_status); }; } &&
14733 { ac_try
='test -s conftest.$ac_objext'
14734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14735 (eval $ac_try) 2>&5
14737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14738 (exit $ac_status); }; }; then
14739 ac_cv_header_sys_wait_h
=yes
14741 echo "$as_me: failed program was:" >&5
14742 sed 's/^/| /' conftest.
$ac_ext >&5
14744 ac_cv_header_sys_wait_h
=no
14746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14748 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
14749 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
14750 if test $ac_cv_header_sys_wait_h = yes; then
14752 cat >>confdefs.h
<<\_ACEOF
14753 #define HAVE_SYS_WAIT_H 1
14759 echo "$as_me:$LINENO: checking for ssize_t" >&5
14760 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
14761 if test "${ac_cv_type_ssize_t+set}" = set; then
14762 echo $ECHO_N "(cached) $ECHO_C" >&6
14764 cat >conftest.
$ac_ext <<_ACEOF
14767 cat confdefs.h
>>conftest.
$ac_ext
14768 cat >>conftest.
$ac_ext <<_ACEOF
14769 /* end confdefs.h. */
14770 $ac_includes_default
14776 if (sizeof (ssize_t))
14782 rm -f conftest.
$ac_objext
14783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14784 (eval $ac_compile) 2>conftest.er1
14786 grep -v '^ *+' conftest.er1
>conftest.err
14788 cat conftest.err
>&5
14789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14790 (exit $ac_status); } &&
14791 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14793 (eval $ac_try) 2>&5
14795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14796 (exit $ac_status); }; } &&
14797 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
14803 ac_cv_type_ssize_t
=yes
14805 echo "$as_me: failed program was:" >&5
14806 sed 's/^/| /' conftest.
$ac_ext >&5
14808 ac_cv_type_ssize_t
=no
14810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14812 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
14813 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
14814 if test $ac_cv_type_ssize_t = yes; then
14818 cat >>confdefs.h
<<_ACEOF
14819 #define ssize_t int
14825 echo "$as_me:$LINENO: checking for in_addr_t" >&5
14826 echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6
14827 cat >conftest.
$ac_ext <<_ACEOF
14830 cat confdefs.h
>>conftest.
$ac_ext
14831 cat >>conftest.
$ac_ext <<_ACEOF
14832 /* end confdefs.h. */
14833 #include <sys/types.h>
14835 #include <stdlib.h>
14836 #include <stddef.h>
14838 #if HAVE_NETINET_IN_H
14839 #include <netinet/in.h>
14849 rm -f conftest.
$ac_objext
14850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14851 (eval $ac_compile) 2>conftest.er1
14853 grep -v '^ *+' conftest.er1
>conftest.err
14855 cat conftest.err
>&5
14856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14857 (exit $ac_status); } &&
14858 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14860 (eval $ac_try) 2>&5
14862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14863 (exit $ac_status); }; } &&
14864 { ac_try
='test -s conftest.$ac_objext'
14865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14866 (eval $ac_try) 2>&5
14868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14869 (exit $ac_status); }; }; then
14871 cat >>confdefs.h
<<\_ACEOF
14872 #define HAVE_IN_ADDR_T 1
14875 echo "$as_me:$LINENO: result: yes" >&5
14876 echo "${ECHO_T}yes" >&6
14878 echo "$as_me: failed program was:" >&5
14879 sed 's/^/| /' conftest.
$ac_ext >&5
14881 echo "$as_me:$LINENO: result: no" >&5
14882 echo "${ECHO_T}no" >&6
14884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14886 echo "$as_me:$LINENO: checking whether struct ip_mreq is in netinet/in.h" >&5
14887 echo $ECHO_N "checking whether struct ip_mreq is in netinet/in.h... $ECHO_C" >&6
14888 cat >conftest.
$ac_ext <<_ACEOF
14891 cat confdefs.h
>>conftest.
$ac_ext
14892 cat >>conftest.
$ac_ext <<_ACEOF
14893 /* end confdefs.h. */
14894 #include <netinet/in.h>
14898 struct ip_mreq mreq;
14903 rm -f conftest.
$ac_objext
14904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14905 (eval $ac_compile) 2>conftest.er1
14907 grep -v '^ *+' conftest.er1
>conftest.err
14909 cat conftest.err
>&5
14910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14911 (exit $ac_status); } &&
14912 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14914 (eval $ac_try) 2>&5
14916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14917 (exit $ac_status); }; } &&
14918 { ac_try
='test -s conftest.$ac_objext'
14919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14920 (eval $ac_try) 2>&5
14922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14923 (exit $ac_status); }; }; then
14925 cat >>confdefs.h
<<\_ACEOF
14926 #define HAVE_STRUCT_IP_MREQ 1
14929 echo "$as_me:$LINENO: result: yes" >&5
14930 echo "${ECHO_T}yes" >&6
14932 echo "$as_me: failed program was:" >&5
14933 sed 's/^/| /' conftest.
$ac_ext >&5
14935 echo "$as_me:$LINENO: result: no" >&5
14936 echo "${ECHO_T}no" >&6
14938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14940 echo "$as_me:$LINENO: checking whether struct ipv6_mreq is in netinet/in.h" >&5
14941 echo $ECHO_N "checking whether struct ipv6_mreq is in netinet/in.h... $ECHO_C" >&6
14942 cat >conftest.
$ac_ext <<_ACEOF
14945 cat confdefs.h
>>conftest.
$ac_ext
14946 cat >>conftest.
$ac_ext <<_ACEOF
14947 /* end confdefs.h. */
14948 #include <netinet/in.h>
14952 struct ipv6_mreq mreq6;
14957 rm -f conftest.
$ac_objext
14958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14959 (eval $ac_compile) 2>conftest.er1
14961 grep -v '^ *+' conftest.er1
>conftest.err
14963 cat conftest.err
>&5
14964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14965 (exit $ac_status); } &&
14966 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14968 (eval $ac_try) 2>&5
14970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14971 (exit $ac_status); }; } &&
14972 { ac_try
='test -s conftest.$ac_objext'
14973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14974 (eval $ac_try) 2>&5
14976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14977 (exit $ac_status); }; }; then
14979 cat >>confdefs.h
<<\_ACEOF
14980 #define HAVE_STRUCT_IPV6_MREQ 1
14983 echo "$as_me:$LINENO: result: yes" >&5
14984 echo "${ECHO_T}yes" >&6
14986 echo "$as_me: failed program was:" >&5
14987 sed 's/^/| /' conftest.
$ac_ext >&5
14989 echo "$as_me:$LINENO: result: no" >&5
14990 echo "${ECHO_T}no" >&6
14992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14994 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
14995 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
14996 cat >conftest.
$ac_ext <<_ACEOF
14999 cat confdefs.h
>>conftest.
$ac_ext
15000 cat >>conftest.
$ac_ext <<_ACEOF
15001 /* end confdefs.h. */
15002 #include <netinet/in.h>
15006 struct sockaddr_in6 addr6;
15011 rm -f conftest.
$ac_objext
15012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15013 (eval $ac_compile) 2>conftest.er1
15015 grep -v '^ *+' conftest.er1
>conftest.err
15017 cat conftest.err
>&5
15018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15019 (exit $ac_status); } &&
15020 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15022 (eval $ac_try) 2>&5
15024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15025 (exit $ac_status); }; } &&
15026 { ac_try
='test -s conftest.$ac_objext'
15027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15028 (eval $ac_try) 2>&5
15030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15031 (exit $ac_status); }; }; then
15033 cat >>confdefs.h
<<\_ACEOF
15034 #define HAVE_INET6 1
15037 echo "$as_me:$LINENO: result: yes" >&5
15038 echo "${ECHO_T}yes" >&6
15040 echo "$as_me: failed program was:" >&5
15041 sed 's/^/| /' conftest.
$ac_ext >&5
15043 echo "$as_me:$LINENO: result: no" >&5
15044 echo "${ECHO_T}no" >&6
15046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15048 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
15049 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
15050 cat >conftest.
$ac_ext <<_ACEOF
15053 cat confdefs.h
>>conftest.
$ac_ext
15054 cat >>conftest.
$ac_ext <<_ACEOF
15055 /* end confdefs.h. */
15056 #define _POSIX_PII_SOCKET
15057 #include <sys/types.h>
15058 #include <sys/socket.h>
15067 rm -f conftest.
$ac_objext
15068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15069 (eval $ac_compile) 2>conftest.er1
15071 grep -v '^ *+' conftest.er1
>conftest.err
15073 cat conftest.err
>&5
15074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15075 (exit $ac_status); } &&
15076 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15078 (eval $ac_try) 2>&5
15080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15081 (exit $ac_status); }; } &&
15082 { ac_try
='test -s conftest.$ac_objext'
15083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15084 (eval $ac_try) 2>&5
15086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15087 (exit $ac_status); }; }; then
15089 cat >>confdefs.h
<<\_ACEOF
15090 #define HAVE_SOCKLEN_T 1
15093 echo "$as_me:$LINENO: result: yes" >&5
15094 echo "${ECHO_T}yes" >&6
15096 echo "$as_me: failed program was:" >&5
15097 sed 's/^/| /' conftest.
$ac_ext >&5
15099 echo "$as_me:$LINENO: result: no" >&5
15100 echo "${ECHO_T}no" >&6
15102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15104 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
15105 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
15106 cat >conftest.
$ac_ext <<_ACEOF
15109 cat confdefs.h
>>conftest.
$ac_ext
15110 cat >>conftest.
$ac_ext <<_ACEOF
15111 /* end confdefs.h. */
15116 struct tm tim; tim.tm_gmtoff = 0;
15121 rm -f conftest.
$ac_objext
15122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15123 (eval $ac_compile) 2>conftest.er1
15125 grep -v '^ *+' conftest.er1
>conftest.err
15127 cat conftest.err
>&5
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); } &&
15130 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15132 (eval $ac_try) 2>&5
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); }; } &&
15136 { ac_try
='test -s conftest.$ac_objext'
15137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15138 (eval $ac_try) 2>&5
15140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15141 (exit $ac_status); }; }; then
15143 cat >>confdefs.h
<<\_ACEOF
15144 #define STRUCT_TM_HAS_GMTOFF 1
15147 echo "$as_me:$LINENO: result: yes" >&5
15148 echo "${ECHO_T}yes" >&6
15150 echo "$as_me: failed program was:" >&5
15151 sed 's/^/| /' conftest.
$ac_ext >&5
15153 echo "$as_me:$LINENO: result: no" >&5
15154 echo "${ECHO_T}no" >&6
15155 echo "$as_me:$LINENO: checking for global timezone variable" >&5
15156 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
15157 cat >conftest.
$ac_ext <<_ACEOF
15160 cat confdefs.h
>>conftest.
$ac_ext
15161 cat >>conftest.
$ac_ext <<_ACEOF
15162 /* end confdefs.h. */
15167 void i(){long z2 = 2*timezone;}
15172 rm -f conftest.
$ac_objext
15173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15174 (eval $ac_compile) 2>conftest.er1
15176 grep -v '^ *+' conftest.er1
>conftest.err
15178 cat conftest.err
>&5
15179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15180 (exit $ac_status); } &&
15181 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15183 (eval $ac_try) 2>&5
15185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186 (exit $ac_status); }; } &&
15187 { ac_try
='test -s conftest.$ac_objext'
15188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15189 (eval $ac_try) 2>&5
15191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15192 (exit $ac_status); }; }; then
15194 cat >>confdefs.h
<<\_ACEOF
15195 #define HAVE_TIMEZONE 1
15198 echo "$as_me:$LINENO: result: yes" >&5
15199 echo "${ECHO_T}yes" >&6
15201 echo "$as_me: failed program was:" >&5
15202 sed 's/^/| /' conftest.
$ac_ext >&5
15204 echo "$as_me:$LINENO: result: no" >&5
15205 echo "${ECHO_T}no" >&6
15206 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
15207 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
15208 cat >conftest.
$ac_ext <<_ACEOF
15211 cat confdefs.h
>>conftest.
$ac_ext
15212 cat >>conftest.
$ac_ext <<_ACEOF
15213 /* end confdefs.h. */
15218 long z2 = _timezone;
15223 rm -f conftest.
$ac_objext
15224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15225 (eval $ac_compile) 2>conftest.er1
15227 grep -v '^ *+' conftest.er1
>conftest.err
15229 cat conftest.err
>&5
15230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15231 (exit $ac_status); } &&
15232 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15234 (eval $ac_try) 2>&5
15236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15237 (exit $ac_status); }; } &&
15238 { ac_try
='test -s conftest.$ac_objext'
15239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15240 (eval $ac_try) 2>&5
15242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15243 (exit $ac_status); }; }; then
15245 cat >>confdefs.h
<<\_ACEOF
15246 #define HAVE_UNDERSCORE_TIMEZONE 1
15249 echo "$as_me:$LINENO: result: yes" >&5
15250 echo "${ECHO_T}yes" >&6
15252 echo "$as_me: failed program was:" >&5
15253 sed 's/^/| /' conftest.
$ac_ext >&5
15255 echo "$as_me:$LINENO: result: no" >&5
15256 echo "${ECHO_T}no" >&6
15258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15264 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15265 # for constant arguments. Useless!
15266 echo "$as_me:$LINENO: checking for working alloca.h" >&5
15267 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
15268 if test "${ac_cv_working_alloca_h+set}" = set; then
15269 echo $ECHO_N "(cached) $ECHO_C" >&6
15271 if test x
$gcc_no_link = xyes
; then
15272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15274 { (exit 1); exit 1; }; }
15276 cat >conftest.
$ac_ext <<_ACEOF
15279 cat confdefs.h
>>conftest.
$ac_ext
15280 cat >>conftest.
$ac_ext <<_ACEOF
15281 /* end confdefs.h. */
15282 #include <alloca.h>
15286 char *p = (char *) alloca (2 * sizeof (int));
15291 rm -f conftest.
$ac_objext conftest
$ac_exeext
15292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15293 (eval $ac_link) 2>conftest.er1
15295 grep -v '^ *+' conftest.er1
>conftest.err
15297 cat conftest.err
>&5
15298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15299 (exit $ac_status); } &&
15300 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15302 (eval $ac_try) 2>&5
15304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15305 (exit $ac_status); }; } &&
15306 { ac_try
='test -s conftest$ac_exeext'
15307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15308 (eval $ac_try) 2>&5
15310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15311 (exit $ac_status); }; }; then
15312 ac_cv_working_alloca_h
=yes
15314 echo "$as_me: failed program was:" >&5
15315 sed 's/^/| /' conftest.
$ac_ext >&5
15317 ac_cv_working_alloca_h
=no
15319 rm -f conftest.err conftest.
$ac_objext \
15320 conftest
$ac_exeext conftest.
$ac_ext
15322 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15323 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
15324 if test $ac_cv_working_alloca_h = yes; then
15326 cat >>confdefs.h
<<\_ACEOF
15327 #define HAVE_ALLOCA_H 1
15332 echo "$as_me:$LINENO: checking for alloca" >&5
15333 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
15334 if test "${ac_cv_func_alloca_works+set}" = set; then
15335 echo $ECHO_N "(cached) $ECHO_C" >&6
15337 if test x
$gcc_no_link = xyes
; then
15338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15340 { (exit 1); exit 1; }; }
15342 cat >conftest.
$ac_ext <<_ACEOF
15345 cat confdefs.h
>>conftest.
$ac_ext
15346 cat >>conftest.
$ac_ext <<_ACEOF
15347 /* end confdefs.h. */
15349 # define alloca __builtin_alloca
15352 # include <malloc.h>
15353 # define alloca _alloca
15356 # include <alloca.h>
15361 # ifndef alloca /* predefined by HP cc +Olibcalls */
15372 char *p = (char *) alloca (1);
15377 rm -f conftest.
$ac_objext conftest
$ac_exeext
15378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15379 (eval $ac_link) 2>conftest.er1
15381 grep -v '^ *+' conftest.er1
>conftest.err
15383 cat conftest.err
>&5
15384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15385 (exit $ac_status); } &&
15386 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
15392 { ac_try
='test -s conftest$ac_exeext'
15393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15394 (eval $ac_try) 2>&5
15396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15397 (exit $ac_status); }; }; then
15398 ac_cv_func_alloca_works
=yes
15400 echo "$as_me: failed program was:" >&5
15401 sed 's/^/| /' conftest.
$ac_ext >&5
15403 ac_cv_func_alloca_works
=no
15405 rm -f conftest.err conftest.
$ac_objext \
15406 conftest
$ac_exeext conftest.
$ac_ext
15408 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15409 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
15411 if test $ac_cv_func_alloca_works = yes; then
15413 cat >>confdefs.h
<<\_ACEOF
15414 #define HAVE_ALLOCA 1
15418 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15419 # that cause trouble. Some versions do not even contain alloca or
15420 # contain a buggy version. If you still want to use their alloca,
15421 # use ar to extract alloca.o from them instead of compiling alloca.c.
15423 ALLOCA
=alloca.
$ac_objext
15425 cat >>confdefs.h
<<\_ACEOF
15430 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15431 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
15432 if test "${ac_cv_os_cray+set}" = set; then
15433 echo $ECHO_N "(cached) $ECHO_C" >&6
15435 cat >conftest.
$ac_ext <<_ACEOF
15438 cat confdefs.h
>>conftest.
$ac_ext
15439 cat >>conftest.
$ac_ext <<_ACEOF
15440 /* end confdefs.h. */
15441 #if defined(CRAY) && ! defined(CRAY2)
15448 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15449 $EGREP "webecray" >/dev
/null
2>&1; then
15457 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15458 echo "${ECHO_T}$ac_cv_os_cray" >&6
15459 if test $ac_cv_os_cray = yes; then
15460 for ac_func
in _getb67 GETB67 getb67
; do
15461 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15462 echo "$as_me:$LINENO: checking for $ac_func" >&5
15463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15464 if eval "test \"\${$as_ac_var+set}\" = set"; then
15465 echo $ECHO_N "(cached) $ECHO_C" >&6
15467 if test x
$gcc_no_link = xyes
; then
15468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15470 { (exit 1); exit 1; }; }
15472 cat >conftest.
$ac_ext <<_ACEOF
15475 cat confdefs.h
>>conftest.
$ac_ext
15476 cat >>conftest.
$ac_ext <<_ACEOF
15477 /* end confdefs.h. */
15478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15480 #define $ac_func innocuous_$ac_func
15482 /* System header to define __stub macros and hopefully few prototypes,
15483 which can conflict with char $ac_func (); below.
15484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15485 <limits.h> exists even on freestanding compilers. */
15488 # include <limits.h>
15490 # include <assert.h>
15495 /* Override any gcc2 internal prototype to avoid an error. */
15500 /* We use char because int might match the return type of a gcc2
15501 builtin and then its argument prototype would still apply. */
15503 /* The GNU C library defines this for functions which it implements
15504 to always fail with ENOSYS. Some functions are actually named
15505 something starting with __ and the normal name is an alias. */
15506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15509 char (*f) () = $ac_func;
15518 return f != $ac_func;
15523 rm -f conftest.
$ac_objext conftest
$ac_exeext
15524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15525 (eval $ac_link) 2>conftest.er1
15527 grep -v '^ *+' conftest.er1
>conftest.err
15529 cat conftest.err
>&5
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); } &&
15532 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534 (eval $ac_try) 2>&5
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); }; } &&
15538 { ac_try
='test -s conftest$ac_exeext'
15539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15540 (eval $ac_try) 2>&5
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 (exit $ac_status); }; }; then
15544 eval "$as_ac_var=yes"
15546 echo "$as_me: failed program was:" >&5
15547 sed 's/^/| /' conftest.
$ac_ext >&5
15549 eval "$as_ac_var=no"
15551 rm -f conftest.err conftest.
$ac_objext \
15552 conftest
$ac_exeext conftest.
$ac_ext
15554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15556 if test `eval echo '${'$as_ac_var'}'` = yes; then
15558 cat >>confdefs.h
<<_ACEOF
15559 #define CRAY_STACKSEG_END $ac_func
15568 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
15569 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
15570 if test "${ac_cv_c_stack_direction+set}" = set; then
15571 echo $ECHO_N "(cached) $ECHO_C" >&6
15573 if test "$cross_compiling" = yes; then
15574 ac_cv_c_stack_direction
=0
15576 cat >conftest.
$ac_ext <<_ACEOF
15579 cat confdefs.h
>>conftest.
$ac_ext
15580 cat >>conftest.
$ac_ext <<_ACEOF
15581 /* end confdefs.h. */
15583 find_stack_direction ()
15585 static char *addr = 0;
15590 return find_stack_direction ();
15593 return (&dummy > addr) ? 1 : -1;
15599 exit (find_stack_direction () < 0);
15602 rm -f conftest
$ac_exeext
15603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15604 (eval $ac_link) 2>&5
15606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15607 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15609 (eval $ac_try) 2>&5
15611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15612 (exit $ac_status); }; }; then
15613 ac_cv_c_stack_direction
=1
15615 echo "$as_me: program exited with status $ac_status" >&5
15616 echo "$as_me: failed program was:" >&5
15617 sed 's/^/| /' conftest.
$ac_ext >&5
15619 ( exit $ac_status )
15620 ac_cv_c_stack_direction
=-1
15622 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15625 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
15626 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
15628 cat >>confdefs.h
<<_ACEOF
15629 #define STACK_DIRECTION $ac_cv_c_stack_direction
15635 if test x
$gcc_no_link = xyes
; then
15636 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset
; then
15637 ac_cv_func_mmap_fixed_mapped
=no
15640 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset
; then
15643 for ac_header
in stdlib.h unistd.h
15645 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15646 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15647 echo "$as_me:$LINENO: checking for $ac_header" >&5
15648 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15649 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15650 echo $ECHO_N "(cached) $ECHO_C" >&6
15652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15653 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15655 # Is the header compilable?
15656 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15657 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15658 cat >conftest.
$ac_ext <<_ACEOF
15661 cat confdefs.h
>>conftest.
$ac_ext
15662 cat >>conftest.
$ac_ext <<_ACEOF
15663 /* end confdefs.h. */
15664 $ac_includes_default
15665 #include <$ac_header>
15667 rm -f conftest.
$ac_objext
15668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15669 (eval $ac_compile) 2>conftest.er1
15671 grep -v '^ *+' conftest.er1
>conftest.err
15673 cat conftest.err
>&5
15674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15675 (exit $ac_status); } &&
15676 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15678 (eval $ac_try) 2>&5
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); }; } &&
15682 { ac_try
='test -s conftest.$ac_objext'
15683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15684 (eval $ac_try) 2>&5
15686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15687 (exit $ac_status); }; }; then
15688 ac_header_compiler
=yes
15690 echo "$as_me: failed program was:" >&5
15691 sed 's/^/| /' conftest.
$ac_ext >&5
15693 ac_header_compiler
=no
15695 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15696 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15697 echo "${ECHO_T}$ac_header_compiler" >&6
15699 # Is the header present?
15700 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15701 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15702 cat >conftest.
$ac_ext <<_ACEOF
15705 cat confdefs.h
>>conftest.
$ac_ext
15706 cat >>conftest.
$ac_ext <<_ACEOF
15707 /* end confdefs.h. */
15708 #include <$ac_header>
15710 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15711 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15713 grep -v '^ *+' conftest.er1
>conftest.err
15715 cat conftest.err
>&5
15716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15717 (exit $ac_status); } >/dev
/null
; then
15718 if test -s conftest.err
; then
15719 ac_cpp_err
=$ac_c_preproc_warn_flag
15720 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15727 if test -z "$ac_cpp_err"; then
15728 ac_header_preproc
=yes
15730 echo "$as_me: failed program was:" >&5
15731 sed 's/^/| /' conftest.
$ac_ext >&5
15733 ac_header_preproc
=no
15735 rm -f conftest.err conftest.
$ac_ext
15736 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15737 echo "${ECHO_T}$ac_header_preproc" >&6
15739 # So? What about this header?
15740 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15742 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15743 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15745 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15746 ac_header_preproc
=yes
15749 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15750 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15751 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15752 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15753 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15754 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15755 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15756 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15757 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15758 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15759 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15760 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15763 ## ---------------------------------- ##
15764 ## Report this to the libjava lists. ##
15765 ## ---------------------------------- ##
15768 sed "s/^/$as_me: WARNING: /" >&2
15771 echo "$as_me:$LINENO: checking for $ac_header" >&5
15772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15773 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15774 echo $ECHO_N "(cached) $ECHO_C" >&6
15776 eval "$as_ac_Header=\$ac_header_preproc"
15778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15779 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15782 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15783 cat >>confdefs.h
<<_ACEOF
15784 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15792 for ac_func
in getpagesize
15794 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15795 echo "$as_me:$LINENO: checking for $ac_func" >&5
15796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15797 if eval "test \"\${$as_ac_var+set}\" = set"; then
15798 echo $ECHO_N "(cached) $ECHO_C" >&6
15800 if test x
$gcc_no_link = xyes
; then
15801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15803 { (exit 1); exit 1; }; }
15805 cat >conftest.
$ac_ext <<_ACEOF
15808 cat confdefs.h
>>conftest.
$ac_ext
15809 cat >>conftest.
$ac_ext <<_ACEOF
15810 /* end confdefs.h. */
15811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15813 #define $ac_func innocuous_$ac_func
15815 /* System header to define __stub macros and hopefully few prototypes,
15816 which can conflict with char $ac_func (); below.
15817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15818 <limits.h> exists even on freestanding compilers. */
15821 # include <limits.h>
15823 # include <assert.h>
15828 /* Override any gcc2 internal prototype to avoid an error. */
15833 /* We use char because int might match the return type of a gcc2
15834 builtin and then its argument prototype would still apply. */
15836 /* The GNU C library defines this for functions which it implements
15837 to always fail with ENOSYS. Some functions are actually named
15838 something starting with __ and the normal name is an alias. */
15839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15842 char (*f) () = $ac_func;
15851 return f != $ac_func;
15856 rm -f conftest.
$ac_objext conftest
$ac_exeext
15857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15858 (eval $ac_link) 2>conftest.er1
15860 grep -v '^ *+' conftest.er1
>conftest.err
15862 cat conftest.err
>&5
15863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15864 (exit $ac_status); } &&
15865 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15867 (eval $ac_try) 2>&5
15869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15870 (exit $ac_status); }; } &&
15871 { ac_try
='test -s conftest$ac_exeext'
15872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15873 (eval $ac_try) 2>&5
15875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15876 (exit $ac_status); }; }; then
15877 eval "$as_ac_var=yes"
15879 echo "$as_me: failed program was:" >&5
15880 sed 's/^/| /' conftest.
$ac_ext >&5
15882 eval "$as_ac_var=no"
15884 rm -f conftest.err conftest.
$ac_objext \
15885 conftest
$ac_exeext conftest.
$ac_ext
15887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15889 if test `eval echo '${'$as_ac_var'}'` = yes; then
15890 cat >>confdefs.h
<<_ACEOF
15891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15897 echo "$as_me:$LINENO: checking for working mmap" >&5
15898 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
15899 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
15900 echo $ECHO_N "(cached) $ECHO_C" >&6
15902 if test "$cross_compiling" = yes; then
15903 ac_cv_func_mmap_fixed_mapped
=no
15905 cat >conftest.
$ac_ext <<_ACEOF
15908 cat confdefs.h
>>conftest.
$ac_ext
15909 cat >>conftest.
$ac_ext <<_ACEOF
15910 /* end confdefs.h. */
15911 $ac_includes_default
15912 /* malloc might have been renamed as rpl_malloc. */
15915 /* Thanks to Mike Haertel and Jim Avera for this test.
15916 Here is a matrix of mmap possibilities:
15917 mmap private not fixed
15918 mmap private fixed at somewhere currently unmapped
15919 mmap private fixed at somewhere already mapped
15920 mmap shared not fixed
15921 mmap shared fixed at somewhere currently unmapped
15922 mmap shared fixed at somewhere already mapped
15923 For private mappings, we should verify that changes cannot be read()
15924 back from the file, nor mmap's back from the file at a different
15925 address. (There have been systems where private was not correctly
15926 implemented like the infamous i386 svr4.0, and systems where the
15927 VM page cache was not coherent with the file system buffer cache
15928 like early versions of FreeBSD and possibly contemporary NetBSD.)
15929 For shared mappings, we should conversely verify that changes get
15930 propagated back to all the places they're supposed to be.
15932 Grep wants private fixed already mapped.
15933 The main things grep needs to know about mmap are:
15934 * does it exist and is it safe to write into the mmap'd area
15935 * how to use it (BSD variants) */
15938 #include <sys/mman.h>
15940 #if !STDC_HEADERS && !HAVE_STDLIB_H
15944 /* This mess was copied from the GNU getpagesize.h. */
15945 #if !HAVE_GETPAGESIZE
15946 /* Assume that all systems that can run configure have sys/param.h. */
15947 # if !HAVE_SYS_PARAM_H
15948 # define HAVE_SYS_PARAM_H 1
15951 # ifdef _SC_PAGESIZE
15952 # define getpagesize() sysconf(_SC_PAGESIZE)
15953 # else /* no _SC_PAGESIZE */
15954 # if HAVE_SYS_PARAM_H
15955 # include <sys/param.h>
15956 # ifdef EXEC_PAGESIZE
15957 # define getpagesize() EXEC_PAGESIZE
15958 # else /* no EXEC_PAGESIZE */
15960 # define getpagesize() NBPG * CLSIZE
15963 # endif /* no CLSIZE */
15964 # else /* no NBPG */
15966 # define getpagesize() NBPC
15967 # else /* no NBPC */
15969 # define getpagesize() PAGESIZE
15970 # endif /* PAGESIZE */
15971 # endif /* no NBPC */
15972 # endif /* no NBPG */
15973 # endif /* no EXEC_PAGESIZE */
15974 # else /* no HAVE_SYS_PARAM_H */
15975 # define getpagesize() 8192 /* punt totally */
15976 # endif /* no HAVE_SYS_PARAM_H */
15977 # endif /* no _SC_PAGESIZE */
15979 #endif /* no HAVE_GETPAGESIZE */
15984 char *data, *data2, *data3;
15988 pagesize = getpagesize ();
15990 /* First, make a file with some known garbage in it. */
15991 data = (char *) malloc (pagesize);
15994 for (i = 0; i < pagesize; ++i)
15995 *(data + i) = rand ();
15997 fd = creat ("conftest.mmap", 0600);
16000 if (write (fd, data, pagesize) != pagesize)
16004 /* Next, try to mmap the file at a fixed address which already has
16005 something else allocated at it. If we can, also make sure that
16006 we see the same garbage. */
16007 fd = open ("conftest.mmap", O_RDWR);
16010 data2 = (char *) malloc (2 * pagesize);
16013 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
16014 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
16015 MAP_PRIVATE | MAP_FIXED, fd, 0L))
16017 for (i = 0; i < pagesize; ++i)
16018 if (*(data + i) != *(data2 + i))
16021 /* Finally, make sure that changes to the mapped area do not
16022 percolate back to the file as seen by read(). (This is a bug on
16023 some variants of i386 svr4.0.) */
16024 for (i = 0; i < pagesize; ++i)
16025 *(data2 + i) = *(data2 + i) + 1;
16026 data3 = (char *) malloc (pagesize);
16029 if (read (fd, data3, pagesize) != pagesize)
16031 for (i = 0; i < pagesize; ++i)
16032 if (*(data + i) != *(data3 + i))
16038 rm -f conftest
$ac_exeext
16039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16040 (eval $ac_link) 2>&5
16042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16045 (eval $ac_try) 2>&5
16047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16048 (exit $ac_status); }; }; then
16049 ac_cv_func_mmap_fixed_mapped
=yes
16051 echo "$as_me: program exited with status $ac_status" >&5
16052 echo "$as_me: failed program was:" >&5
16053 sed 's/^/| /' conftest.
$ac_ext >&5
16055 ( exit $ac_status )
16056 ac_cv_func_mmap_fixed_mapped
=no
16058 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16061 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
16062 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
16063 if test $ac_cv_func_mmap_fixed_mapped = yes; then
16065 cat >>confdefs.h
<<\_ACEOF
16066 #define HAVE_MMAP 1
16070 rm -f conftest.mmap
16074 for ac_prog
in perl
16076 # Extract the first word of "$ac_prog", so it can be a program name with args.
16077 set dummy
$ac_prog; ac_word
=$2
16078 echo "$as_me:$LINENO: checking for $ac_word" >&5
16079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16080 if test "${ac_cv_prog_PERL+set}" = set; then
16081 echo $ECHO_N "(cached) $ECHO_C" >&6
16083 if test -n "$PERL"; then
16084 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
16086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16087 for as_dir
in $PATH
16090 test -z "$as_dir" && as_dir
=.
16091 for ac_exec_ext
in '' $ac_executable_extensions; do
16092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16093 ac_cv_prog_PERL
="$ac_prog"
16094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16102 PERL
=$ac_cv_prog_PERL
16103 if test -n "$PERL"; then
16104 echo "$as_me:$LINENO: result: $PERL" >&5
16105 echo "${ECHO_T}$PERL" >&6
16107 echo "$as_me:$LINENO: result: no" >&5
16108 echo "${ECHO_T}no" >&6
16111 test -n "$PERL" && break
16113 test -n "$PERL" || PERL
="false"
16117 SIGNAL_HANDLER_AUX
=
16121 SIGNAL_HANDLER
=include
/i386-signal.h
16123 sparc
*-sun-solaris*)
16124 SIGNAL_HANDLER
=include
/sparc-signal.h
16127 # SYSDEP_SOURCES=sysdep/ia64.c
16128 # test -d sysdep || mkdir sysdep
16131 SIGNAL_HANDLER
=include
/pa-signal.h
16134 SIGNAL_HANDLER
=include
/dwarf2-signal.h
16137 SIGNAL_HANDLER
=include
/powerpc-signal.h
16140 SIGNAL_HANDLER
=include
/dwarf2-signal.h
16143 SIGNAL_HANDLER
=include
/s390-signal.h
16146 SIGNAL_HANDLER
=include
/x86_64-signal.h
16147 SIGNAL_HANDLER_AUX
=include
/i386-signal.h
16150 SIGNAL_HANDLER
=include
/dwarf2-signal.h
16153 SIGNAL_HANDLER
=include
/sh-signal.h
16156 SIGNAL_HANDLER
=include
/win32-signal.h
16159 SIGNAL_HANDLER
=include
/mips-signal.h
16162 SIGNAL_HANDLER
=include
/darwin-signal.h
16165 SIGNAL_HANDLER
=include
/default-signal.h
16169 # If we're using sjlj exceptions, forget what we just learned.
16170 if test "$enable_sjlj_exceptions" = yes; then
16171 SIGNAL_HANDLER
=include
/default-signal.h
16172 SIGNAL_HANDLER_AUX
=
16175 # Define here any compiler flags that you need in order to make backtrace() work.
16178 x86_64
*-*-linux*|i?
86-*)
16179 BACKTRACESPEC
=-fno-omit-frame-pointer
16186 if test -z "$SIGNAL_HANDLER_AUX"; then
16187 SIGNAL_HANDLER_AUX
=$SIGNAL_HANDLER
16190 ac_config_links
="$ac_config_links include/java-signal.h:$SIGNAL_HANDLER include/java-signal-aux.h:$SIGNAL_HANDLER_AUX"
16193 if test "${multilib}" = "yes"; then
16194 multilib_arg
="--enable-multilib"
16201 here
=`${PWDCMD-pwd}`
16204 # We get this from the environment.
16207 ac_config_files
="$ac_config_files Makefile libgcj.pc libgcj.spec libgcj-test.spec gnu/classpath/Configuration.java gcj/Makefile include/Makefile testsuite/Makefile"
16210 ac_config_commands
="$ac_config_commands default"
16213 cat >confcache
<<\_ACEOF
16214 # This file is a shell script that caches the results of configure
16215 # tests run on this system so they can be shared between configure
16216 # scripts and configure runs, see configure's option --config-cache.
16217 # It is not useful on other systems. If it contains results you don't
16218 # want to keep, you may remove or edit it.
16220 # config.status only pays attention to the cache file if you give it
16221 # the --recheck option to rerun configure.
16223 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16224 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16225 # following values.
16229 # The following way of writing the cache mishandles newlines in values,
16230 # but we know of no workaround that is simple, portable, and efficient.
16231 # So, don't put newlines in cache variables' values.
16232 # Ultrix sh set writes to stderr and can't be redirected directly,
16233 # and sets the high bit in the cache file unless we assign to the vars.
16236 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16238 # `set' does not quote correctly, so add quotes (double-quote
16239 # substitution turns \\\\ into \\, and sed turns \\ into \).
16242 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16245 # `set' quotes correctly as required by POSIX, so do not add quotes.
16247 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
16254 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16256 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16258 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
16259 if test -w $cache_file; then
16260 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
16261 cat confcache
>$cache_file
16263 echo "not updating unwritable cache $cache_file"
16268 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16269 # Let make expand exec_prefix.
16270 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16272 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16273 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16274 # trailing colons and then remove the whole line if VPATH becomes empty
16275 # (actually we leave an empty line to preserve line numbers).
16276 if test "x$srcdir" = x.
; then
16277 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
16278 s/:*\$(srcdir):*/:/;
16279 s/:*\${srcdir}:*/:/;
16281 s/^\([^=]*=[ ]*\):*/\1/;
16287 DEFS
=-DHAVE_CONFIG_H
16291 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16292 # 1. Remove the extension, and $U if already installed.
16293 ac_i
=`echo "$ac_i" |
16294 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
16296 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
16297 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
16299 LIBOBJS
=$ac_libobjs
16301 LTLIBOBJS
=$ac_ltlibobjs
16304 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16305 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
16306 Usually this means the macro was only invoked conditionally." >&5
16307 echo "$as_me: error: conditional \"AMDEP\" was never defined.
16308 Usually this means the macro was only invoked conditionally." >&2;}
16309 { (exit 1); exit 1; }; }
16311 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16312 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16313 Usually this means the macro was only invoked conditionally." >&5
16314 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16315 Usually this means the macro was only invoked conditionally." >&2;}
16316 { (exit 1); exit 1; }; }
16318 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16319 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
16320 Usually this means the macro was only invoked conditionally." >&5
16321 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
16322 Usually this means the macro was only invoked conditionally." >&2;}
16323 { (exit 1); exit 1; }; }
16325 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16326 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
16327 Usually this means the macro was only invoked conditionally." >&5
16328 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
16329 Usually this means the macro was only invoked conditionally." >&2;}
16330 { (exit 1); exit 1; }; }
16332 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
16333 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
16334 Usually this means the macro was only invoked conditionally." >&5
16335 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
16336 Usually this means the macro was only invoked conditionally." >&2;}
16337 { (exit 1); exit 1; }; }
16339 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
16340 { { echo "$as_me:$LINENO: error: conditional \"TESTSUBDIR\" was never defined.
16341 Usually this means the macro was only invoked conditionally." >&5
16342 echo "$as_me: error: conditional \"TESTSUBDIR\" was never defined.
16343 Usually this means the macro was only invoked conditionally." >&2;}
16344 { (exit 1); exit 1; }; }
16346 if test -z "${ONESTEP_TRUE}" && test -z "${ONESTEP_FALSE}"; then
16347 { { echo "$as_me:$LINENO: error: conditional \"ONESTEP\" was never defined.
16348 Usually this means the macro was only invoked conditionally." >&5
16349 echo "$as_me: error: conditional \"ONESTEP\" was never defined.
16350 Usually this means the macro was only invoked conditionally." >&2;}
16351 { (exit 1); exit 1; }; }
16353 if test -z "${USING_WIN32_PLATFORM_TRUE}" && test -z "${USING_WIN32_PLATFORM_FALSE}"; then
16354 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
16355 Usually this means the macro was only invoked conditionally." >&5
16356 echo "$as_me: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
16357 Usually this means the macro was only invoked conditionally." >&2;}
16358 { (exit 1); exit 1; }; }
16360 if test -z "${USING_POSIX_PLATFORM_TRUE}" && test -z "${USING_POSIX_PLATFORM_FALSE}"; then
16361 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
16362 Usually this means the macro was only invoked conditionally." >&5
16363 echo "$as_me: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
16364 Usually this means the macro was only invoked conditionally." >&2;}
16365 { (exit 1); exit 1; }; }
16367 if test -z "${USING_ECOS_PLATFORM_TRUE}" && test -z "${USING_ECOS_PLATFORM_FALSE}"; then
16368 { { echo "$as_me:$LINENO: error: conditional \"USING_ECOS_PLATFORM\" was never defined.
16369 Usually this means the macro was only invoked conditionally." >&5
16370 echo "$as_me: error: conditional \"USING_ECOS_PLATFORM\" was never defined.
16371 Usually this means the macro was only invoked conditionally." >&2;}
16372 { (exit 1); exit 1; }; }
16374 if test -z "${USING_DARWIN_CRT_TRUE}" && test -z "${USING_DARWIN_CRT_FALSE}"; then
16375 { { echo "$as_me:$LINENO: error: conditional \"USING_DARWIN_CRT\" was never defined.
16376 Usually this means the macro was only invoked conditionally." >&5
16377 echo "$as_me: error: conditional \"USING_DARWIN_CRT\" was never defined.
16378 Usually this means the macro was only invoked conditionally." >&2;}
16379 { (exit 1); exit 1; }; }
16381 if test -z "${XLIB_AWT_TRUE}" && test -z "${XLIB_AWT_FALSE}"; then
16382 { { echo "$as_me:$LINENO: error: conditional \"XLIB_AWT\" was never defined.
16383 Usually this means the macro was only invoked conditionally." >&5
16384 echo "$as_me: error: conditional \"XLIB_AWT\" was never defined.
16385 Usually this means the macro was only invoked conditionally." >&2;}
16386 { (exit 1); exit 1; }; }
16388 if test -z "${GTK_AWT_TRUE}" && test -z "${GTK_AWT_FALSE}"; then
16389 { { echo "$as_me:$LINENO: error: conditional \"GTK_AWT\" was never defined.
16390 Usually this means the macro was only invoked conditionally." >&5
16391 echo "$as_me: error: conditional \"GTK_AWT\" was never defined.
16392 Usually this means the macro was only invoked conditionally." >&2;}
16393 { (exit 1); exit 1; }; }
16395 if test -z "${GTK_CAIRO_TRUE}" && test -z "${GTK_CAIRO_FALSE}"; then
16396 { { echo "$as_me:$LINENO: error: conditional \"GTK_CAIRO\" was never defined.
16397 Usually this means the macro was only invoked conditionally." >&5
16398 echo "$as_me: error: conditional \"GTK_CAIRO\" was never defined.
16399 Usually this means the macro was only invoked conditionally." >&2;}
16400 { (exit 1); exit 1; }; }
16402 if test -z "${USING_BOEHMGC_TRUE}" && test -z "${USING_BOEHMGC_FALSE}"; then
16403 { { echo "$as_me:$LINENO: error: conditional \"USING_BOEHMGC\" was never defined.
16404 Usually this means the macro was only invoked conditionally." >&5
16405 echo "$as_me: error: conditional \"USING_BOEHMGC\" was never defined.
16406 Usually this means the macro was only invoked conditionally." >&2;}
16407 { (exit 1); exit 1; }; }
16409 if test -z "${USING_NOGC_TRUE}" && test -z "${USING_NOGC_FALSE}"; then
16410 { { echo "$as_me:$LINENO: error: conditional \"USING_NOGC\" was never defined.
16411 Usually this means the macro was only invoked conditionally." >&5
16412 echo "$as_me: error: conditional \"USING_NOGC\" was never defined.
16413 Usually this means the macro was only invoked conditionally." >&2;}
16414 { (exit 1); exit 1; }; }
16416 if test -z "${USING_POSIX_THREADS_TRUE}" && test -z "${USING_POSIX_THREADS_FALSE}"; then
16417 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_THREADS\" was never defined.
16418 Usually this means the macro was only invoked conditionally." >&5
16419 echo "$as_me: error: conditional \"USING_POSIX_THREADS\" was never defined.
16420 Usually this means the macro was only invoked conditionally." >&2;}
16421 { (exit 1); exit 1; }; }
16423 if test -z "${USING_WIN32_THREADS_TRUE}" && test -z "${USING_WIN32_THREADS_FALSE}"; then
16424 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_THREADS\" was never defined.
16425 Usually this means the macro was only invoked conditionally." >&5
16426 echo "$as_me: error: conditional \"USING_WIN32_THREADS\" was never defined.
16427 Usually this means the macro was only invoked conditionally." >&2;}
16428 { (exit 1); exit 1; }; }
16430 if test -z "${USING_NO_THREADS_TRUE}" && test -z "${USING_NO_THREADS_FALSE}"; then
16431 { { echo "$as_me:$LINENO: error: conditional \"USING_NO_THREADS\" was never defined.
16432 Usually this means the macro was only invoked conditionally." >&5
16433 echo "$as_me: error: conditional \"USING_NO_THREADS\" was never defined.
16434 Usually this means the macro was only invoked conditionally." >&2;}
16435 { (exit 1); exit 1; }; }
16437 if test -z "${USING_GCC_TRUE}" && test -z "${USING_GCC_FALSE}"; then
16438 { { echo "$as_me:$LINENO: error: conditional \"USING_GCC\" was never defined.
16439 Usually this means the macro was only invoked conditionally." >&5
16440 echo "$as_me: error: conditional \"USING_GCC\" was never defined.
16441 Usually this means the macro was only invoked conditionally." >&2;}
16442 { (exit 1); exit 1; }; }
16444 if test -z "${SUPPLY_BACKTRACE_TRUE}" && test -z "${SUPPLY_BACKTRACE_FALSE}"; then
16445 { { echo "$as_me:$LINENO: error: conditional \"SUPPLY_BACKTRACE\" was never defined.
16446 Usually this means the macro was only invoked conditionally." >&5
16447 echo "$as_me: error: conditional \"SUPPLY_BACKTRACE\" was never defined.
16448 Usually this means the macro was only invoked conditionally." >&2;}
16449 { (exit 1); exit 1; }; }
16451 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
16452 { { echo "$as_me:$LINENO: error: conditional \"NATIVE\" was never defined.
16453 Usually this means the macro was only invoked conditionally." >&5
16454 echo "$as_me: error: conditional \"NATIVE\" was never defined.
16455 Usually this means the macro was only invoked conditionally." >&2;}
16456 { (exit 1); exit 1; }; }
16458 if test -z "${NEEDS_DATA_START_TRUE}" && test -z "${NEEDS_DATA_START_FALSE}"; then
16459 { { echo "$as_me:$LINENO: error: conditional \"NEEDS_DATA_START\" was never defined.
16460 Usually this means the macro was only invoked conditionally." >&5
16461 echo "$as_me: error: conditional \"NEEDS_DATA_START\" was never defined.
16462 Usually this means the macro was only invoked conditionally." >&2;}
16463 { (exit 1); exit 1; }; }
16466 : ${CONFIG_STATUS=./config.status}
16467 ac_clean_files_save
=$ac_clean_files
16468 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16469 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
16470 echo "$as_me: creating $CONFIG_STATUS" >&6;}
16471 cat >$CONFIG_STATUS <<_ACEOF
16473 # Generated by $as_me.
16474 # Run this file to recreate the current configuration.
16475 # Compiler output produced by configure, useful for debugging
16476 # configure, is in config.log if it exists.
16479 ac_cs_recheck=false
16481 SHELL=\${CONFIG_SHELL-$SHELL}
16484 cat >>$CONFIG_STATUS <<\_ACEOF
16485 ## --------------------- ##
16486 ## M4sh Initialization. ##
16487 ## --------------------- ##
16489 # Be Bourne compatible
16490 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16493 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
16494 # is contrary to our usage. Disable this feature.
16495 alias -g '${1+"$@"}'='"$@"'
16496 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
16499 DUALCASE
=1; export DUALCASE
# for MKS sh
16501 # Support unset when possible.
16502 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
16509 # Work around bugs in pre-3.0 UWIN ksh.
16510 $as_unset ENV MAIL MAILPATH
16517 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
16518 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
16519 LC_TELEPHONE LC_TIME
16521 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
16522 eval $as_var=C
; export $as_var
16528 # Required to use basename.
16529 if expr a
: '\(a\)' >/dev
/null
2>&1; then
16535 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
16536 as_basename
=basename
16542 # Name of the executable.
16543 as_me
=`$as_basename "$0" ||
16544 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16545 X"$0" : 'X\(//\)$' \| \
16546 X"$0" : 'X\(/\)$' \| \
16547 . : '\(.\)' 2>/dev/null ||
16549 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
16550 /^X\/\(\/\/\)$/{ s//\1/; q; }
16551 /^X\/\(\/\).*/{ s//\1/; q; }
16555 # PATH needs CR, and LINENO needs CR and PATH.
16556 # Avoid depending upon Character Ranges.
16557 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16558 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16559 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16560 as_cr_digits
='0123456789'
16561 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16563 # The user is always right.
16564 if test "${PATH_SEPARATOR+set}" != set; then
16565 echo "#! /bin/sh" >conf$$.sh
16566 echo "exit 0" >>conf$$.sh
16568 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16577 as_lineno_1
=$LINENO
16578 as_lineno_2
=$LINENO
16579 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
16580 test "x$as_lineno_1" != "x$as_lineno_2" &&
16581 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
16582 # Find who we are. Look in the path if we contain no path at all
16585 *[\\/]* ) as_myself
=$0 ;;
16586 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16587 for as_dir
in $PATH
16590 test -z "$as_dir" && as_dir
=.
16591 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
16596 # We did not find ourselves, most probably we were run as `sh COMMAND'
16597 # in which case we are not to be found in the path.
16598 if test "x$as_myself" = x
; then
16601 if test ! -f "$as_myself"; then
16602 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
16603 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
16604 { (exit 1); exit 1; }; }
16606 case $CONFIG_SHELL in
16608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16609 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
16612 test -z "$as_dir" && as_dir
=.
16613 for as_base
in sh bash ksh sh5
; do
16616 if ("$as_dir/$as_base" -c '
16617 as_lineno_1=$LINENO
16618 as_lineno_2=$LINENO
16619 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
16620 test "x$as_lineno_1" != "x$as_lineno_2" &&
16621 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
16622 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
16623 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
16624 CONFIG_SHELL
=$as_dir/$as_base
16625 export CONFIG_SHELL
16626 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
16634 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
16635 # uniformly replaced by the line number. The first 'sed' inserts a
16636 # line-number line before each line; the second 'sed' does the real
16637 # work. The second script uses 'N' to pair each line-number line
16638 # with the numbered line, and appends trailing '-' during
16639 # substitution so that $LINENO is not a special case at line end.
16640 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
16641 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
16642 sed '=' <$as_myself |
16647 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
16650 s,^['$as_cr_digits']*\n,,
16651 ' >$as_me.lineno
&&
16652 chmod +x
$as_me.lineno ||
16653 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
16654 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
16655 { (exit 1); exit 1; }; }
16657 # Don't try to exec as it changes $[0], causing all sort of problems
16658 # (the dirname of $[0] is not the place where we might find the
16659 # original and so on. Autoconf is especially sensible to this).
16661 # Exit status is that of the last command.
16666 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
16667 *c
*,-n*) ECHO_N
= ECHO_C
='
16669 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
16670 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
16673 if expr a
: '\(a\)' >/dev
/null
2>&1; then
16679 rm -f conf$$ conf$$.exe conf$$.
file
16681 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16682 # We could just check for DJGPP; but this test a) works b) is more generic
16683 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
16684 if test -f conf$$.exe
; then
16685 # Don't use ln at all; we don't have any links
16690 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16695 rm -f conf$$ conf$$.exe conf$$.
file
16697 if mkdir
-p .
2>/dev
/null
; then
16700 test -d .
/-p && rmdir .
/-p
16704 as_executable_p
="test -f"
16706 # Sed expression to map a string onto a valid CPP name.
16707 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16709 # Sed expression to map a string onto a valid variable name.
16710 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16714 # We need space, tab and new line, in precisely that order.
16724 # Open the log real soon, to keep \$[0] and so on meaningful, and to
16725 # report actual input values of CONFIG_FILES etc. instead of their
16726 # values after options handling. Logging --version etc. is OK.
16730 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16731 ## Running $as_me. ##
16736 This file was extended by libjava $as_me version-unused, which was
16737 generated by GNU Autoconf 2.59. Invocation command line was
16739 CONFIG_FILES = $CONFIG_FILES
16740 CONFIG_HEADERS = $CONFIG_HEADERS
16741 CONFIG_LINKS = $CONFIG_LINKS
16742 CONFIG_COMMANDS = $CONFIG_COMMANDS
16746 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
16750 # Files that config.status was made for.
16751 if test -n "$ac_config_files"; then
16752 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
16755 if test -n "$ac_config_headers"; then
16756 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
16759 if test -n "$ac_config_links"; then
16760 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
16763 if test -n "$ac_config_commands"; then
16764 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
16767 cat >>$CONFIG_STATUS <<\_ACEOF
16770 \`$as_me' instantiates files from templates according to the
16771 current configuration.
16773 Usage: $0 [OPTIONS] [FILE]...
16775 -h, --help print this help, then exit
16776 -V, --version print version number, then exit
16777 -q, --quiet do not print progress messages
16778 -d, --debug don't remove temporary files
16779 --recheck update $as_me by reconfiguring in the same conditions
16780 --file=FILE[:TEMPLATE]
16781 instantiate the configuration file FILE
16782 --header=FILE[:TEMPLATE]
16783 instantiate the configuration header FILE
16785 Configuration files:
16788 Configuration headers:
16791 Configuration links:
16794 Configuration commands:
16797 Report bugs to <bug-autoconf@gnu.org>."
16800 cat >>$CONFIG_STATUS <<_ACEOF
16802 libjava config.status version-unused
16803 configured by $0, generated by GNU Autoconf 2.59,
16804 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
16806 Copyright (C) 2003 Free Software Foundation, Inc.
16807 This config.status script is free software; the Free Software Foundation
16808 gives unlimited permission to copy, distribute and modify it."
16813 cat >>$CONFIG_STATUS <<\_ACEOF
16814 # If no file are specified by the user, then we need to provide default
16815 # value. By we need to know if files were specified by the user.
16821 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
16822 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
16830 *) # This is not an option, so the user has probably given explicit
16833 ac_need_defaults
=false
;;
16837 # Handling of the options.
16839 cat >>$CONFIG_STATUS <<\_ACEOF
16840 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16842 --version |
--vers* |
-V )
16843 echo "$ac_cs_version"; exit 0 ;;
16845 # Conflict between --help and --header
16846 { { echo "$as_me:$LINENO: error: ambiguous option: $1
16847 Try \`$0 --help' for more information." >&5
16848 echo "$as_me: error: ambiguous option: $1
16849 Try \`$0 --help' for more information." >&2;}
16850 { (exit 1); exit 1; }; };;
16851 --help |
--hel |
-h )
16852 echo "$ac_cs_usage"; exit 0 ;;
16853 --debug |
--d* |
-d )
16855 --file |
--fil |
--fi |
--f )
16857 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
16858 ac_need_defaults
=false
;;
16859 --header |
--heade |
--head |
--hea )
16861 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
16862 ac_need_defaults
=false
;;
16863 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16864 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16867 # This is an error.
16868 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
16869 Try \`$0 --help' for more information." >&5
16870 echo "$as_me: error: unrecognized option: $1
16871 Try \`$0 --help' for more information." >&2;}
16872 { (exit 1); exit 1; }; } ;;
16874 *) ac_config_targets
="$ac_config_targets $1" ;;
16880 ac_configure_extra_args
=
16882 if $ac_cs_silent; then
16884 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16888 cat >>$CONFIG_STATUS <<_ACEOF
16889 if \$ac_cs_recheck; then
16890 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
16891 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16896 cat >>$CONFIG_STATUS <<_ACEOF
16898 # INIT-COMMANDS section.
16901 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16905 with_multisubdir=${with_multisubdir}
16906 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16907 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16908 libgcj_basedir=${libgcj_basedir}
16911 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
16918 cat >>$CONFIG_STATUS <<\_ACEOF
16919 for ac_config_target
in $ac_config_targets
16921 case "$ac_config_target" in
16922 # Handling of arguments.
16923 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16924 "libgcj.pc" ) CONFIG_FILES
="$CONFIG_FILES libgcj.pc" ;;
16925 "libgcj.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj.spec" ;;
16926 "libgcj-test.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj-test.spec" ;;
16927 "gnu/classpath/Configuration.java" ) CONFIG_FILES
="$CONFIG_FILES gnu/classpath/Configuration.java" ;;
16928 "gcj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gcj/Makefile" ;;
16929 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
16930 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16931 "include/platform.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/platform.h:include/$PLATFORMH" ;;
16932 "java/io/natFile.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc" ;;
16933 "java/lang/ConcreteProcess.java" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/ConcreteProcess.java:java/lang/${PLATFORM}Process.java" ;;
16934 "java/lang/natConcreteProcess.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc" ;;
16935 "java/net/natInetAddress.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natInetAddress.cc:java/net/natInetAddress${PLATFORMNET}.cc" ;;
16936 "java/net/natNetworkInterface.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natNetworkInterface.cc:java/net/natNetworkInterface${PLATFORMNET}.cc" ;;
16937 "gnu/java/net/natPlainSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc" ;;
16938 "gnu/java/net/natPlainDatagramSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc" ;;
16939 "gnu/java/nio/natPipeImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natPipeImpl.cc:gnu/java/nio/natPipeImpl${PLATFORM}.cc" ;;
16940 "gnu/java/nio/natSelectorImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natSelectorImpl.cc:gnu/java/nio/natSelectorImpl${PLATFORM}.cc" ;;
16941 "gnu/java/nio/channels/natFileChannelImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc" ;;
16942 "include/java-gc.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-gc.h:include/$GCHDR" ;;
16943 "include/java-threads.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-threads.h:include/$THREADH" ;;
16944 "sysdep/locks.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/locks.h:sysdep/$sysdeps_dir/locks.h" ;;
16945 "include/java-signal.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal.h:$SIGNAL_HANDLER" ;;
16946 "include/java-signal-aux.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal-aux.h:$SIGNAL_HANDLER_AUX" ;;
16947 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16948 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
16949 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
16950 "gcj/libgcj-config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS gcj/libgcj-config.h" ;;
16951 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
16952 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16953 { (exit 1); exit 1; }; };;
16957 # If the user did not use the arguments to specify the items to instantiate,
16958 # then the envvar interface is used. Set only those that are not.
16959 # We use the long form for the default assignment because of an extremely
16960 # bizarre bug on SunOS 4.1.3.
16961 if $ac_need_defaults; then
16962 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16963 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16964 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
16965 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16968 # Have a temporary directory for convenience. Make it in the build tree
16969 # simply because there is no reason to put it here, and in addition,
16970 # creating and moving files from /tmp can sometimes cause problems.
16971 # Create a temporary directory, and hook for its removal unless debugging.
16974 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
16975 trap '{ (exit 1); exit 1; }' 1 2 13 15
16978 # Create a (secure) tmp directory for tmp files.
16981 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
16982 test -n "$tmp" && test -d "$tmp"
16985 tmp
=.
/confstat$$
-$RANDOM
16986 (umask 077 && mkdir
$tmp)
16989 echo "$me: cannot create a temporary directory in ." >&2
16990 { (exit 1); exit 1; }
16995 cat >>$CONFIG_STATUS <<_ACEOF
16998 # CONFIG_FILES section.
17001 # No need to generate the scripts if there are no CONFIG_FILES.
17002 # This happens for instance when ./config.status config.h
17003 if test -n "\$CONFIG_FILES"; then
17004 # Protect against being on the right side of a sed subst in config.status.
17005 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
17006 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
17007 s,@SHELL@,$SHELL,;t t
17008 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
17009 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
17010 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
17011 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
17012 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
17013 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
17014 s,@exec_prefix@,$exec_prefix,;t t
17015 s,@prefix@,$prefix,;t t
17016 s,@program_transform_name@,$program_transform_name,;t t
17017 s,@bindir@,$bindir,;t t
17018 s,@sbindir@,$sbindir,;t t
17019 s,@libexecdir@,$libexecdir,;t t
17020 s,@datadir@,$datadir,;t t
17021 s,@sysconfdir@,$sysconfdir,;t t
17022 s,@sharedstatedir@,$sharedstatedir,;t t
17023 s,@localstatedir@,$localstatedir,;t t
17024 s,@libdir@,$libdir,;t t
17025 s,@includedir@,$includedir,;t t
17026 s,@oldincludedir@,$oldincludedir,;t t
17027 s,@infodir@,$infodir,;t t
17028 s,@mandir@,$mandir,;t t
17029 s,@build_alias@,$build_alias,;t t
17030 s,@host_alias@,$host_alias,;t t
17031 s,@target_alias@,$target_alias,;t t
17032 s,@DEFS@,$DEFS,;t t
17033 s,@ECHO_C@,$ECHO_C,;t t
17034 s,@ECHO_N@,$ECHO_N,;t t
17035 s,@ECHO_T@,$ECHO_T,;t t
17036 s,@LIBS@,$LIBS,;t t
17037 s,@libgcj_basedir@,$libgcj_basedir,;t t
17038 s,@build@,$build,;t t
17039 s,@build_cpu@,$build_cpu,;t t
17040 s,@build_vendor@,$build_vendor,;t t
17041 s,@build_os@,$build_os,;t t
17042 s,@host@,$host,;t t
17043 s,@host_cpu@,$host_cpu,;t t
17044 s,@host_vendor@,$host_vendor,;t t
17045 s,@host_os@,$host_os,;t t
17046 s,@target@,$target,;t t
17047 s,@target_cpu@,$target_cpu,;t t
17048 s,@target_vendor@,$target_vendor,;t t
17049 s,@target_os@,$target_os,;t t
17050 s,@target_noncanonical@,$target_noncanonical,;t t
17051 s,@LN_S@,$LN_S,;t t
17052 s,@mkinstalldirs@,$mkinstalldirs,;t t
17054 s,@ac_ct_CC@,$ac_ct_CC,;t t
17055 s,@EXEEXT@,$EXEEXT,;t t
17056 s,@OBJEXT@,$OBJEXT,;t t
17058 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
17059 s,@CFLAGS@,$CFLAGS,;t t
17060 s,@CXXFLAGS@,$CXXFLAGS,;t t
17061 s,@LDFLAGS@,$LDFLAGS,;t t
17062 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
17063 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
17064 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
17065 s,@CYGPATH_W@,$CYGPATH_W,;t t
17066 s,@PACKAGE@,$PACKAGE,;t t
17067 s,@VERSION@,$VERSION,;t t
17068 s,@ACLOCAL@,$ACLOCAL,;t t
17069 s,@AUTOCONF@,$AUTOCONF,;t t
17070 s,@AUTOMAKE@,$AUTOMAKE,;t t
17071 s,@AUTOHEADER@,$AUTOHEADER,;t t
17072 s,@MAKEINFO@,$MAKEINFO,;t t
17073 s,@install_sh@,$install_sh,;t t
17074 s,@STRIP@,$STRIP,;t t
17075 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
17076 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
17077 s,@mkdir_p@,$mkdir_p,;t t
17079 s,@SET_MAKE@,$SET_MAKE,;t t
17080 s,@am__leading_dot@,$am__leading_dot,;t t
17081 s,@AMTAR@,$AMTAR,;t t
17082 s,@am__tar@,$am__tar,;t t
17083 s,@am__untar@,$am__untar,;t t
17084 s,@DEPDIR@,$DEPDIR,;t t
17085 s,@am__include@,$am__include,;t t
17086 s,@am__quote@,$am__quote,;t t
17087 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
17088 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
17089 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
17090 s,@CCDEPMODE@,$CCDEPMODE,;t t
17091 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
17092 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
17093 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
17094 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
17095 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
17097 s,@ac_ct_AS@,$ac_ct_AS,;t t
17099 s,@ac_ct_AR@,$ac_ct_AR,;t t
17100 s,@RANLIB@,$RANLIB,;t t
17101 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
17102 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
17103 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
17104 s,@MAINT@,$MAINT,;t t
17105 s,@LIBGCJ_CFLAGS@,$LIBGCJ_CFLAGS,;t t
17106 s,@LIBGCJ_CXXFLAGS@,$LIBGCJ_CXXFLAGS,;t t
17107 s,@LIBGCJ_JAVAFLAGS@,$LIBGCJ_JAVAFLAGS,;t t
17108 s,@INCLTDL@,$INCLTDL,;t t
17109 s,@LIBLTDL@,$LIBLTDL,;t t
17110 s,@DIRLTDL@,$DIRLTDL,;t t
17111 s,@LIBTOOL@,$LIBTOOL,;t t
17112 s,@CXXCPP@,$CXXCPP,;t t
17113 s,@CPPFLAGS@,$CPPFLAGS,;t t
17115 s,@GCJFLAGS@,$GCJFLAGS,;t t
17116 s,@GCJDEPMODE@,$GCJDEPMODE,;t t
17117 s,@am__fastdepGCJ_TRUE@,$am__fastdepGCJ_TRUE,;t t
17118 s,@am__fastdepGCJ_FALSE@,$am__fastdepGCJ_FALSE,;t t
17119 s,@subdirs@,$subdirs,;t t
17120 s,@COMPPATH@,$COMPPATH,;t t
17121 s,@TESTSUBDIR_TRUE@,$TESTSUBDIR_TRUE,;t t
17122 s,@TESTSUBDIR_FALSE@,$TESTSUBDIR_FALSE,;t t
17123 s,@ONESTEP_TRUE@,$ONESTEP_TRUE,;t t
17124 s,@ONESTEP_FALSE@,$ONESTEP_FALSE,;t t
17125 s,@LIBGCJDEBUG@,$LIBGCJDEBUG,;t t
17126 s,@INTERPRETER@,$INTERPRETER,;t t
17127 s,@LIBFFI@,$LIBFFI,;t t
17128 s,@LIBFFIINCS@,$LIBFFIINCS,;t t
17129 s,@PLATFORM_INNER_NAT_HDRS@,$PLATFORM_INNER_NAT_HDRS,;t t
17131 s,@EGREP@,$EGREP,;t t
17132 s,@USING_WIN32_PLATFORM_TRUE@,$USING_WIN32_PLATFORM_TRUE,;t t
17133 s,@USING_WIN32_PLATFORM_FALSE@,$USING_WIN32_PLATFORM_FALSE,;t t
17134 s,@USING_POSIX_PLATFORM_TRUE@,$USING_POSIX_PLATFORM_TRUE,;t t
17135 s,@USING_POSIX_PLATFORM_FALSE@,$USING_POSIX_PLATFORM_FALSE,;t t
17136 s,@USING_ECOS_PLATFORM_TRUE@,$USING_ECOS_PLATFORM_TRUE,;t t
17137 s,@USING_ECOS_PLATFORM_FALSE@,$USING_ECOS_PLATFORM_FALSE,;t t
17138 s,@USING_DARWIN_CRT_TRUE@,$USING_DARWIN_CRT_TRUE,;t t
17139 s,@USING_DARWIN_CRT_FALSE@,$USING_DARWIN_CRT_FALSE,;t t
17140 s,@SYSTEMSPEC@,$SYSTEMSPEC,;t t
17141 s,@LIBGCJTESTSPEC@,$LIBGCJTESTSPEC,;t t
17142 s,@ZLIBSPEC@,$ZLIBSPEC,;t t
17143 s,@ZLIBTESTSPEC@,$ZLIBTESTSPEC,;t t
17144 s,@X_CFLAGS@,$X_CFLAGS,;t t
17145 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
17146 s,@X_LIBS@,$X_LIBS,;t t
17147 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
17148 s,@TOOLKIT@,$TOOLKIT,;t t
17149 s,@XLIB_AWT_TRUE@,$XLIB_AWT_TRUE,;t t
17150 s,@XLIB_AWT_FALSE@,$XLIB_AWT_FALSE,;t t
17151 s,@GTK_AWT_TRUE@,$GTK_AWT_TRUE,;t t
17152 s,@GTK_AWT_FALSE@,$GTK_AWT_FALSE,;t t
17153 s,@GTK_CAIRO_TRUE@,$GTK_CAIRO_TRUE,;t t
17154 s,@GTK_CAIRO_FALSE@,$GTK_CAIRO_FALSE,;t t
17155 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
17156 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
17157 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
17158 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
17159 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
17160 s,@GCLIBS@,$GCLIBS,;t t
17161 s,@GCINCS@,$GCINCS,;t t
17162 s,@GCDEPS@,$GCDEPS,;t t
17163 s,@GCSPEC@,$GCSPEC,;t t
17164 s,@JC1GCSPEC@,$JC1GCSPEC,;t t
17165 s,@GCTESTSPEC@,$GCTESTSPEC,;t t
17166 s,@USING_BOEHMGC_TRUE@,$USING_BOEHMGC_TRUE,;t t
17167 s,@USING_BOEHMGC_FALSE@,$USING_BOEHMGC_FALSE,;t t
17168 s,@USING_NOGC_TRUE@,$USING_NOGC_TRUE,;t t
17169 s,@USING_NOGC_FALSE@,$USING_NOGC_FALSE,;t t
17170 s,@THREADLIBS@,$THREADLIBS,;t t
17171 s,@THREADINCS@,$THREADINCS,;t t
17172 s,@THREADDEPS@,$THREADDEPS,;t t
17173 s,@THREADSPEC@,$THREADSPEC,;t t
17174 s,@THREADLDFLAGS@,$THREADLDFLAGS,;t t
17175 s,@THREADCXXFLAGS@,$THREADCXXFLAGS,;t t
17176 s,@USING_POSIX_THREADS_TRUE@,$USING_POSIX_THREADS_TRUE,;t t
17177 s,@USING_POSIX_THREADS_FALSE@,$USING_POSIX_THREADS_FALSE,;t t
17178 s,@USING_WIN32_THREADS_TRUE@,$USING_WIN32_THREADS_TRUE,;t t
17179 s,@USING_WIN32_THREADS_FALSE@,$USING_WIN32_THREADS_FALSE,;t t
17180 s,@USING_NO_THREADS_TRUE@,$USING_NO_THREADS_TRUE,;t t
17181 s,@USING_NO_THREADS_FALSE@,$USING_NO_THREADS_FALSE,;t t
17182 s,@HASH_SYNC_SPEC@,$HASH_SYNC_SPEC,;t t
17183 s,@USING_GCC_TRUE@,$USING_GCC_TRUE,;t t
17184 s,@USING_GCC_FALSE@,$USING_GCC_FALSE,;t t
17185 s,@tool_include_dir@,$tool_include_dir,;t t
17186 s,@gcc_version@,$gcc_version,;t t
17187 s,@LIBICONV@,$LIBICONV,;t t
17188 s,@LTLIBICONV@,$LTLIBICONV,;t t
17189 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
17190 s,@GTK_LIBS@,$GTK_LIBS,;t t
17191 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
17192 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
17193 s,@LIBART_CFLAGS@,$LIBART_CFLAGS,;t t
17194 s,@LIBART_LIBS@,$LIBART_LIBS,;t t
17195 s,@SUPPLY_BACKTRACE_TRUE@,$SUPPLY_BACKTRACE_TRUE,;t t
17196 s,@SUPPLY_BACKTRACE_FALSE@,$SUPPLY_BACKTRACE_FALSE,;t t
17197 s,@GCJH@,$GCJH,;t t
17199 s,@CLASSPATH_SEPARATOR@,$CLASSPATH_SEPARATOR,;t t
17200 s,@ac_ct_GCJ@,$ac_ct_GCJ,;t t
17201 s,@ZLIBS@,$ZLIBS,;t t
17202 s,@SYS_ZLIBS@,$SYS_ZLIBS,;t t
17203 s,@ZINCS@,$ZINCS,;t t
17204 s,@DIVIDESPEC@,$DIVIDESPEC,;t t
17205 s,@CHECKREFSPEC@,$CHECKREFSPEC,;t t
17206 s,@EXCEPTIONSPEC@,$EXCEPTIONSPEC,;t t
17207 s,@IEEESPEC@,$IEEESPEC,;t t
17208 s,@NATIVE_TRUE@,$NATIVE_TRUE,;t t
17209 s,@NATIVE_FALSE@,$NATIVE_FALSE,;t t
17210 s,@NEEDS_DATA_START_TRUE@,$NEEDS_DATA_START_TRUE,;t t
17211 s,@NEEDS_DATA_START_FALSE@,$NEEDS_DATA_START_FALSE,;t t
17212 s,@GCC_UNWIND_INCLUDE@,$GCC_UNWIND_INCLUDE,;t t
17213 s,@toolexecdir@,$toolexecdir,;t t
17214 s,@toolexecmainlibdir@,$toolexecmainlibdir,;t t
17215 s,@toolexeclibdir@,$toolexeclibdir,;t t
17216 s,@GCJVERSION@,$GCJVERSION,;t t
17217 s,@ALLOCA@,$ALLOCA,;t t
17218 s,@PERL@,$PERL,;t t
17219 s,@BACKTRACESPEC@,$BACKTRACESPEC,;t t
17220 s,@SYSDEP_SOURCES@,$SYSDEP_SOURCES,;t t
17221 s,@here@,$here,;t t
17222 s,@LIBOBJS@,$LIBOBJS,;t t
17223 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
17228 cat >>$CONFIG_STATUS <<\_ACEOF
17229 # Split the substitutions into bite-sized pieces for seds with
17230 # small command number limits, like on Digital OSF/1 and HP-UX.
17231 ac_max_sed_lines
=48
17232 ac_sed_frag
=1 # Number of current file.
17233 ac_beg
=1 # First line for current file.
17234 ac_end
=$ac_max_sed_lines # Line after last line for current file.
17237 while $ac_more_lines; do
17238 if test $ac_beg -gt 1; then
17239 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
17241 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
17243 if test ! -s $tmp/subs.frag
; then
17244 ac_more_lines
=false
17246 # The purpose of the label and of the branching condition is to
17247 # speed up the sed processing (if there are no `@' at all, there
17248 # is no need to browse any of the substitutions).
17249 # These are the two extra sed commands mentioned above.
17251 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
17252 if test -z "$ac_sed_cmds"; then
17253 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
17255 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
17257 ac_sed_frag
=`expr $ac_sed_frag + 1`
17259 ac_end
=`expr $ac_end + $ac_max_sed_lines`
17262 if test -z "$ac_sed_cmds"; then
17265 fi # test -n "$CONFIG_FILES"
17268 cat >>$CONFIG_STATUS <<\_ACEOF
17269 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
17270 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17272 - |
*:- |
*:-:* ) # input from stdin
17274 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17275 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17276 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17277 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17278 * ) ac_file_in
=$ac_file.
in ;;
17281 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
17282 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
17283 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17284 X"$ac_file" : 'X\(//\)[^/]' \| \
17285 X"$ac_file" : 'X\(//\)$' \| \
17286 X"$ac_file" : 'X\(/\)' \| \
17287 . : '\(.\)' 2>/dev/null ||
17289 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17290 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17291 /^X\(\/\/\)$/{ s//\1/; q; }
17292 /^X\(\/\).*/{ s//\1/; q; }
17294 { if $as_mkdir_p; then
17299 while test ! -d "$as_dir"; do
17300 as_dirs
="$as_dir $as_dirs"
17301 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17303 X"$as_dir" : 'X\(//\)[^/]' \| \
17304 X"$as_dir" : 'X\(//\)$' \| \
17305 X"$as_dir" : 'X\(/\)' \| \
17306 . : '\(.\)' 2>/dev/null ||
17308 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17309 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17310 /^X\(\/\/\)$/{ s//\1/; q; }
17311 /^X\(\/\).*/{ s//\1/; q; }
17314 test ! -n "$as_dirs" || mkdir
$as_dirs
17315 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17316 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17317 { (exit 1); exit 1; }; }; }
17321 if test "$ac_dir" != .
; then
17322 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17323 # A "../" for each directory in $ac_dir_suffix.
17324 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17326 ac_dir_suffix
= ac_top_builddir
=
17330 .
) # No --srcdir option. We are building in place.
17332 if test -z "$ac_top_builddir"; then
17335 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
17337 [\\/]* | ?
:[\\/]* ) # Absolute path.
17338 ac_srcdir
=$srcdir$ac_dir_suffix;
17339 ac_top_srcdir
=$srcdir ;;
17340 *) # Relative path.
17341 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
17342 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
17345 # Do not use `cd foo && pwd` to compute absolute paths, because
17346 # the directories may not exist.
17348 .
) ac_abs_builddir
="$ac_dir";;
17351 .
) ac_abs_builddir
=`pwd`;;
17352 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
17353 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
17356 case $ac_abs_builddir in
17357 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17359 case ${ac_top_builddir}.
in
17360 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
17361 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17362 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
17365 case $ac_abs_builddir in
17366 .
) ac_abs_srcdir
=$ac_srcdir;;
17369 .
) ac_abs_srcdir
=$ac_abs_builddir;;
17370 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
17371 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
17374 case $ac_abs_builddir in
17375 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
17377 case $ac_top_srcdir in
17378 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
17379 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
17380 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
17386 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17387 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
17390 # Let's still pretend it is `configure' which instantiates (i.e., don't
17391 # use $as_me), people would be surprised to read:
17392 # /* config.h. Generated by config.status. */
17393 if test x
"$ac_file" = x-
; then
17396 configure_input
="$ac_file. "
17398 configure_input
=$configure_input"Generated from `echo $ac_file_in |
17399 sed 's,.*/,,'` by configure."
17401 # First look for the input files in the build tree, otherwise in the
17403 ac_file_inputs
=`IFS=:
17404 for f in $ac_file_in; do
17406 -) echo $tmp/stdin ;;
17408 # Absolute (can't be DOS-style, as IFS=:)
17409 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17410 echo "$as_me: error: cannot find input file: $f" >&2;}
17411 { (exit 1); exit 1; }; }
17414 if test -f "$f"; then
17417 elif test -f "$srcdir/$f"; then
17422 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17423 echo "$as_me: error: cannot find input file: $f" >&2;}
17424 { (exit 1); exit 1; }; }
17427 done` ||
{ (exit 1); exit 1; }
17429 if test x
"$ac_file" != x-
; then
17430 { echo "$as_me:$LINENO: creating $ac_file" >&5
17431 echo "$as_me: creating $ac_file" >&6;}
17435 cat >>$CONFIG_STATUS <<_ACEOF
17439 cat >>$CONFIG_STATUS <<\_ACEOF
17441 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17442 s
,@configure_input@
,$configure_input,;t t
17443 s
,@srcdir@
,$ac_srcdir,;t t
17444 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
17445 s
,@top_srcdir@
,$ac_top_srcdir,;t t
17446 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
17447 s
,@builddir@
,$ac_builddir,;t t
17448 s
,@abs_builddir@
,$ac_abs_builddir,;t t
17449 s
,@top_builddir@
,$ac_top_builddir,;t t
17450 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
17451 s
,@INSTALL@
,$ac_INSTALL,;t t
17452 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
17454 if test x"$ac_file" != x-; then
17455 mv $tmp/out $ac_file
17463 cat >>$CONFIG_STATUS <<\_ACEOF
17466 # CONFIG_HEADER section.
17469 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
17470 # NAME is the cpp macro being defined and VALUE is the value it is being given.
17472 # ac_d sets the value in "#define NAME VALUE" lines.
17473 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
17474 ac_dB
='[ ].*$,\1#\2'
17477 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
17478 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17479 ac_uB
='$,\1#\2define\3'
17483 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
17484 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17486 - |
*:- |
*:-:* ) # input from stdin
17488 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17489 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17490 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17491 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17492 * ) ac_file_in
=$ac_file.
in ;;
17495 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
17496 echo "$as_me: creating $ac_file" >&6;}
17498 # First look for the input files in the build tree, otherwise in the
17500 ac_file_inputs
=`IFS=:
17501 for f in $ac_file_in; do
17503 -) echo $tmp/stdin ;;
17505 # Absolute (can't be DOS-style, as IFS=:)
17506 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17507 echo "$as_me: error: cannot find input file: $f" >&2;}
17508 { (exit 1); exit 1; }; }
17509 # Do quote $f, to prevent DOS paths from being IFS'd.
17512 if test -f "$f"; then
17515 elif test -f "$srcdir/$f"; then
17520 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17521 echo "$as_me: error: cannot find input file: $f" >&2;}
17522 { (exit 1); exit 1; }; }
17525 done` ||
{ (exit 1); exit 1; }
17526 # Remove the trailing spaces.
17527 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
17531 # Transform confdefs.h into two sed scripts, `conftest.defines' and
17532 # `conftest.undefs', that substitutes the proper values into
17533 # config.h.in to produce config.h. The first handles `#define'
17534 # templates, and the second `#undef' templates.
17535 # And first: Protect against being on the right side of a sed subst in
17536 # config.status. Protect against being in an unquoted here document
17537 # in config.status.
17538 rm -f conftest.defines conftest.undefs
17539 # Using a here document instead of a string reduces the quoting nightmare.
17540 # Putting comments in sed scripts is not portable.
17542 # `end' is used to avoid that the second main sed command (meant for
17543 # 0-ary CPP macros) applies to n-ary macro definitions.
17544 # See the Autoconf documentation for `clear'.
17545 cat >confdef2sed.
sed <<\_ACEOF
17550 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
17552 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
17555 # If some macros were called several times there might be several times
17556 # the same #defines, which is useless. Nevertheless, we may not want to
17557 # sort them, since we want the *last* AC-DEFINE to be honored.
17558 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
17559 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
17560 rm -f confdef2sed.sed
17562 # This sed command replaces #undef with comments. This is necessary, for
17563 # example, in the case of _POSIX_SOURCE, which is predefined and required
17564 # on some systems where configure will not decide to define it.
17565 cat >>conftest.undefs <<\_ACEOF
17566 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
17569 # Break up conftest.defines because some shells have a limit on the size
17570 # of here documents, and old seds have small limits too (100 cmds).
17571 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
17572 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
17573 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
17574 echo ' :' >>$CONFIG_STATUS
17575 rm -f conftest.tail
17576 while grep . conftest.defines >/dev/null
17578 # Write a limited-size here document to $tmp/defines.sed.
17579 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
17580 # Speed up: don't consider the non `#define' lines.
17581 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
17582 # Work around the forget-to-reset-the-flag bug.
17583 echo 't clr' >>$CONFIG_STATUS
17584 echo ': clr' >>$CONFIG_STATUS
17585 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
17587 sed -f $tmp/defines.sed $tmp/in >$tmp/out
17589 mv $tmp/out $tmp/in
17591 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
17592 rm -f conftest.defines
17593 mv conftest.
tail conftest.defines
17595 rm -f conftest.defines
17596 echo ' fi # grep' >>$CONFIG_STATUS
17597 echo >>$CONFIG_STATUS
17599 # Break up conftest.undefs because some shells have a limit on the size
17600 # of here documents, and old seds have small limits too (100 cmds).
17601 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
17602 rm -f conftest.
tail
17603 while grep . conftest.undefs
>/dev
/null
17605 # Write a limited-size here document to $tmp/undefs.sed.
17606 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
17607 # Speed up: don't consider the non
`#undef'
17608 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
17609 # Work around the forget-to-reset-the-flag bug.
17610 echo 't clr' >>$CONFIG_STATUS
17611 echo ': clr' >>$CONFIG_STATUS
17612 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
17614 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
17616 mv $tmp/out $tmp/in
17618 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
17619 rm -f conftest.undefs
17620 mv conftest.tail conftest.undefs
17622 rm -f conftest.undefs
17624 cat >>$CONFIG_STATUS <<\_ACEOF
17625 # Let's still pretend it is `configure
' which instantiates (i.e., don't
17626 # use $as_me), people would be surprised to read:
17627 # /* config.h. Generated by config.status. */
17628 if test x
"$ac_file" = x-
; then
17629 echo "/* Generated by configure. */" >$tmp/config.h
17631 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
17633 cat $tmp/in >>$tmp/config.h
17635 if test x
"$ac_file" != x-
; then
17636 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
17637 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
17638 echo "$as_me: $ac_file is unchanged" >&6;}
17640 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
17641 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17642 X"$ac_file" : 'X\(//\)[^/]' \| \
17643 X"$ac_file" : 'X\(//\)$' \| \
17644 X"$ac_file" : 'X\(/\)' \| \
17645 . : '\(.\)' 2>/dev/null ||
17647 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17648 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17649 /^X\(\/\/\)$/{ s//\1/; q; }
17650 /^X\(\/\).*/{ s//\1/; q; }
17652 { if $as_mkdir_p; then
17657 while test ! -d "$as_dir"; do
17658 as_dirs
="$as_dir $as_dirs"
17659 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17660 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17661 X"$as_dir" : 'X\(//\)[^/]' \| \
17662 X"$as_dir" : 'X\(//\)$' \| \
17663 X"$as_dir" : 'X\(/\)' \| \
17664 . : '\(.\)' 2>/dev/null ||
17666 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17667 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17668 /^X\(\/\/\)$/{ s//\1/; q; }
17669 /^X\(\/\).*/{ s//\1/; q; }
17672 test ! -n "$as_dirs" || mkdir
$as_dirs
17673 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17674 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17675 { (exit 1); exit 1; }; }; }
17678 mv $tmp/config.h
$ac_file
17682 rm -f $tmp/config.h
17684 # Compute $ac_file's index in $config_headers.
17686 for _am_header
in $config_headers :; do
17687 case $_am_header in
17688 $ac_file |
$ac_file:* )
17691 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17694 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
17695 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17696 X$ac_file : 'X\(//\)[^/]' \| \
17697 X$ac_file : 'X\(//\)$' \| \
17698 X$ac_file : 'X\(/\)' \| \
17699 . : '\(.\)' 2>/dev/null ||
17701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17702 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17703 /^X\(\/\/\)$/{ s//\1/; q; }
17704 /^X\(\/\).*/{ s//\1/; q; }
17705 s/.*/./; q'`/stamp-h
$_am_stamp_count
17708 cat >>$CONFIG_STATUS <<\_ACEOF
17711 # CONFIG_LINKS section.
17714 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
17715 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
17716 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17718 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
17719 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
17721 if test ! -r $srcdir/$ac_source; then
17722 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
17723 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
17724 { (exit 1); exit 1; }; }
17728 # Make relative symlinks.
17729 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
17730 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17731 X"$ac_dest" : 'X\(//\)[^/]' \| \
17732 X"$ac_dest" : 'X\(//\)$' \| \
17733 X"$ac_dest" : 'X\(/\)' \| \
17734 . : '\(.\)' 2>/dev/null ||
17736 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17737 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17738 /^X\(\/\/\)$/{ s//\1/; q; }
17739 /^X\(\/\).*/{ s//\1/; q; }
17741 { if $as_mkdir_p; then
17742 mkdir
-p "$ac_dest_dir"
17744 as_dir
="$ac_dest_dir"
17746 while test ! -d "$as_dir"; do
17747 as_dirs
="$as_dir $as_dirs"
17748 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17749 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17750 X"$as_dir" : 'X\(//\)[^/]' \| \
17751 X"$as_dir" : 'X\(//\)$' \| \
17752 X"$as_dir" : 'X\(/\)' \| \
17753 . : '\(.\)' 2>/dev/null ||
17755 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17756 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17757 /^X\(\/\/\)$/{ s//\1/; q; }
17758 /^X\(\/\).*/{ s//\1/; q; }
17761 test ! -n "$as_dirs" || mkdir
$as_dirs
17762 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
17763 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
17764 { (exit 1); exit 1; }; }; }
17768 if test "$ac_dest_dir" != .
; then
17769 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
17770 # A "../" for each directory in $ac_dir_suffix.
17771 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17773 ac_dir_suffix
= ac_top_builddir
=
17777 .
) # No --srcdir option. We are building in place.
17779 if test -z "$ac_top_builddir"; then
17782 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
17784 [\\/]* | ?
:[\\/]* ) # Absolute path.
17785 ac_srcdir
=$srcdir$ac_dir_suffix;
17786 ac_top_srcdir
=$srcdir ;;
17787 *) # Relative path.
17788 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
17789 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
17792 # Do not use `cd foo && pwd` to compute absolute paths, because
17793 # the directories may not exist.
17795 .
) ac_abs_builddir
="$ac_dest_dir";;
17797 case "$ac_dest_dir" in
17798 .
) ac_abs_builddir
=`pwd`;;
17799 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
17800 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
17803 case $ac_abs_builddir in
17804 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17806 case ${ac_top_builddir}.
in
17807 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
17808 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17809 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
17812 case $ac_abs_builddir in
17813 .
) ac_abs_srcdir
=$ac_srcdir;;
17816 .
) ac_abs_srcdir
=$ac_abs_builddir;;
17817 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
17818 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
17821 case $ac_abs_builddir in
17822 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
17824 case $ac_top_srcdir in
17825 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
17826 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
17827 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
17833 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
17834 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
17837 # Try a symlink, then a hard link, then a copy.
17838 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
17839 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
17840 cp -p $srcdir/$ac_source $ac_dest ||
17841 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
17842 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
17843 { (exit 1); exit 1; }; }
17846 cat >>$CONFIG_STATUS <<\_ACEOF
17849 # CONFIG_COMMANDS section.
17851 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
17852 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
17853 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17854 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
17855 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17856 X"$ac_dest" : 'X\(//\)[^/]' \| \
17857 X"$ac_dest" : 'X\(//\)$' \| \
17858 X"$ac_dest" : 'X\(/\)' \| \
17859 . : '\(.\)' 2>/dev/null ||
17861 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17862 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17863 /^X\(\/\/\)$/{ s//\1/; q; }
17864 /^X\(\/\).*/{ s//\1/; q; }
17866 { if $as_mkdir_p; then
17871 while test ! -d "$as_dir"; do
17872 as_dirs
="$as_dir $as_dirs"
17873 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17874 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17875 X"$as_dir" : 'X\(//\)[^/]' \| \
17876 X"$as_dir" : 'X\(//\)$' \| \
17877 X"$as_dir" : 'X\(/\)' \| \
17878 . : '\(.\)' 2>/dev/null ||
17880 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17881 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17882 /^X\(\/\/\)$/{ s//\1/; q; }
17883 /^X\(\/\).*/{ s//\1/; q; }
17886 test ! -n "$as_dirs" || mkdir
$as_dirs
17887 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17888 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17889 { (exit 1); exit 1; }; }; }
17893 if test "$ac_dir" != .
; then
17894 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17895 # A "../" for each directory in $ac_dir_suffix.
17896 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17898 ac_dir_suffix
= ac_top_builddir
=
17902 .
) # No --srcdir option. We are building in place.
17904 if test -z "$ac_top_builddir"; then
17907 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
17909 [\\/]* | ?
:[\\/]* ) # Absolute path.
17910 ac_srcdir
=$srcdir$ac_dir_suffix;
17911 ac_top_srcdir
=$srcdir ;;
17912 *) # Relative path.
17913 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
17914 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
17917 # Do not use `cd foo && pwd` to compute absolute paths, because
17918 # the directories may not exist.
17920 .
) ac_abs_builddir
="$ac_dir";;
17923 .
) ac_abs_builddir
=`pwd`;;
17924 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
17925 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
17928 case $ac_abs_builddir in
17929 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17931 case ${ac_top_builddir}.
in
17932 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
17933 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17934 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
17937 case $ac_abs_builddir in
17938 .
) ac_abs_srcdir
=$ac_srcdir;;
17941 .
) ac_abs_srcdir
=$ac_abs_builddir;;
17942 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
17943 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
17946 case $ac_abs_builddir in
17947 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
17949 case $ac_top_srcdir in
17950 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
17951 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
17952 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
17957 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
17958 echo "$as_me: executing $ac_dest commands" >&6;}
17960 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
17961 # Strip MF so we end up with the name of the file.
17962 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17963 # Check whether this is an Automake generated Makefile or not.
17964 # We used to match only the files named `Makefile.in', but
17965 # some people rename them; so instead we look at the file content.
17966 # Grep'ing the first line is not enough: some people post-process
17967 # each Makefile.in and add a new line on top of each file to say so.
17968 # So let's grep whole file.
17969 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
17970 dirpart
=`(dirname "$mf") 2>/dev/null ||
17971 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17972 X"$mf" : 'X\(//\)[^/]' \| \
17973 X"$mf" : 'X\(//\)$' \| \
17974 X"$mf" : 'X\(/\)' \| \
17975 . : '\(.\)' 2>/dev/null ||
17977 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17978 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17979 /^X\(\/\/\)$/{ s//\1/; q; }
17980 /^X\(\/\).*/{ s//\1/; q; }
17985 # Extract the definition of DEPDIR, am__include, and am__quote
17986 # from the Makefile without running `make'.
17987 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17988 test -z "$DEPDIR" && continue
17989 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17990 test -z "am__include" && continue
17991 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17992 # When using ansi2knr, U may be empty or an underscore; expand it
17993 U
=`sed -n 's/^U = //p' < "$mf"`
17994 # Find all dependency output files, they are included files with
17995 # $(DEPDIR) in their names. We invoke sed twice because it is the
17996 # simplest approach to changing $(DEPDIR) to its actual value in the
17998 for file in `sed -n "
17999 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18000 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18001 # Make sure the directory exists.
18002 test -f "$dirpart/$file" && continue
18003 fdir
=`(dirname "$file") 2>/dev/null ||
18004 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18005 X"$file" : 'X\(//\)[^/]' \| \
18006 X"$file" : 'X\(//\)$' \| \
18007 X"$file" : 'X\(/\)' \| \
18008 . : '\(.\)' 2>/dev/null ||
18010 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18011 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18012 /^X\(\/\/\)$/{ s//\1/; q; }
18013 /^X\(\/\).*/{ s//\1/; q; }
18015 { if $as_mkdir_p; then
18016 mkdir
-p $dirpart/$fdir
18018 as_dir
=$dirpart/$fdir
18020 while test ! -d "$as_dir"; do
18021 as_dirs
="$as_dir $as_dirs"
18022 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18023 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18024 X"$as_dir" : 'X\(//\)[^/]' \| \
18025 X"$as_dir" : 'X\(//\)$' \| \
18026 X"$as_dir" : 'X\(/\)' \| \
18027 . : '\(.\)' 2>/dev/null ||
18029 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18030 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18031 /^X\(\/\/\)$/{ s//\1/; q; }
18032 /^X\(\/\).*/{ s//\1/; q; }
18035 test ! -n "$as_dirs" || mkdir
$as_dirs
18036 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
18037 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
18038 { (exit 1); exit 1; }; }; }
18040 # echo "creating $dirpart/$file"
18041 echo '# dummy' > "$dirpart/$file"
18045 default
) # Only add multilib support code if we just rebuilt top-level Makefile.
18046 case " $CONFIG_FILES " in
18048 LD
="${ORIGINAL_LD_FOR_MULTILIBS}"
18049 ac_file
=Makefile .
${libgcj_basedir}/..
/config-ml.
in
18057 cat >>$CONFIG_STATUS <<\_ACEOF
18059 { (exit 0); exit 0; }
18061 chmod +x
$CONFIG_STATUS
18062 ac_clean_files
=$ac_clean_files_save
18065 # configure is writing to config.log, and then calls config.status.
18066 # config.status does its own redirection, appending to config.log.
18067 # Unfortunately, on DOS this fails, as config.log is still kept open
18068 # by configure, so config.status won't be able to write to it; its
18069 # output is simply discarded. So we exec the FD to /dev/null,
18070 # effectively closing config.log, so it can be properly (re)opened and
18071 # appended to by config.status. When coming back to configure, we
18072 # need to make the FD available again.
18073 if test "$no_create" != yes; then
18075 ac_config_status_args
=
18076 test "$silent" = yes &&
18077 ac_config_status_args
="$ac_config_status_args --quiet"
18079 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18081 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18082 # would make configure fail if this is the last instruction.
18083 $ac_cs_success ||
{ (exit 1); exit 1; }
18087 # CONFIG_SUBDIRS section.
18089 if test "$no_recursion" != yes; then
18091 # Remove --cache-file and --srcdir arguments so they do not pile up.
18092 ac_sub_configure_args
=
18094 for ac_arg
in $ac_configure_args; do
18095 if test -n "$ac_prev"; then
18100 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
18101 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
18102 ac_prev
=cache_file
;;
18103 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
18104 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
18107 --config-cache |
-C)
18109 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
18111 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
18113 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
18115 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
18117 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
18121 # Always prepend --prefix to ensure using the same prefix
18122 # in subdir configurations.
18123 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
18126 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
18128 # Do not complain, so a configure script can configure whichever
18129 # parts of a large source tree are present.
18130 test -d $srcdir/$ac_dir ||
continue
18132 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
18133 echo "$as_me: configuring in $ac_dir" >&6;}
18134 { if $as_mkdir_p; then
18139 while test ! -d "$as_dir"; do
18140 as_dirs
="$as_dir $as_dirs"
18141 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18142 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18143 X"$as_dir" : 'X\(//\)[^/]' \| \
18144 X"$as_dir" : 'X\(//\)$' \| \
18145 X"$as_dir" : 'X\(/\)' \| \
18146 . : '\(.\)' 2>/dev/null ||
18148 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18149 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18150 /^X\(\/\/\)$/{ s//\1/; q; }
18151 /^X\(\/\).*/{ s//\1/; q; }
18154 test ! -n "$as_dirs" || mkdir
$as_dirs
18155 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18156 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18157 { (exit 1); exit 1; }; }; }
18161 if test "$ac_dir" != .
; then
18162 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18163 # A "../" for each directory in $ac_dir_suffix.
18164 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18166 ac_dir_suffix
= ac_top_builddir
=
18170 .
) # No --srcdir option. We are building in place.
18172 if test -z "$ac_top_builddir"; then
18175 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18177 [\\/]* | ?
:[\\/]* ) # Absolute path.
18178 ac_srcdir
=$srcdir$ac_dir_suffix;
18179 ac_top_srcdir
=$srcdir ;;
18180 *) # Relative path.
18181 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18182 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18185 # Do not use `cd foo && pwd` to compute absolute paths, because
18186 # the directories may not exist.
18188 .
) ac_abs_builddir
="$ac_dir";;
18191 .
) ac_abs_builddir
=`pwd`;;
18192 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
18193 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
18196 case $ac_abs_builddir in
18197 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18199 case ${ac_top_builddir}.
in
18200 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
18201 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18202 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
18205 case $ac_abs_builddir in
18206 .
) ac_abs_srcdir
=$ac_srcdir;;
18209 .
) ac_abs_srcdir
=$ac_abs_builddir;;
18210 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
18211 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
18214 case $ac_abs_builddir in
18215 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
18217 case $ac_top_srcdir in
18218 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
18219 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
18220 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
18227 # Check for guested configure; otherwise get Cygnus style configure.
18228 if test -f $ac_srcdir/configure.gnu
; then
18229 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
18230 elif test -f $ac_srcdir/configure
; then
18231 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
18232 elif test -f $ac_srcdir/configure.
in; then
18233 ac_sub_configure
=$ac_configure
18235 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
18236 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
18240 # The recursion is here.
18241 if test -n "$ac_sub_configure"; then
18242 # Make the cache file name correct relative to the subdirectory.
18243 case $cache_file in
18244 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
18245 *) # Relative path.
18246 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
18249 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
18250 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
18251 # The eval makes quoting arguments work.
18252 eval $ac_sub_configure $ac_sub_configure_args \
18253 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
18254 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
18255 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
18256 { (exit 1); exit 1; }; }