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 classpath libltdl"
276 # Factoring default headers for most tests.
277 ac_includes_default
="\
280 # include <sys/types.h>
283 # include <sys/stat.h>
294 # if !STDC_HEADERS && HAVE_MEMORY_H
300 # include <strings.h>
303 # include <inttypes.h>
313 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os build_libsubdir build_subdir host_subdir target_subdir libgcj_basedir host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical LN_S mkinstalldirs CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LDFLAGS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE AS ac_ct_AS LD ac_ct_LD AR ac_ct_AR RANLIB ac_ct_RANLIB JAR ZIP UNZIP BASH_JAR_TRUE BASH_JAR_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBGCJ_CFLAGS LIBGCJ_CXXFLAGS LIBGCJ_JAVAFLAGS LIBGCJ_LD_SYMBOLIC LIBGCJDEBUG TOOLKIT XLIB_AWT_TRUE XLIB_AWT_FALSE GCJH INCLTDL LIBLTDL DIRLTDL LIBTOOL CXXCPP CPPFLAGS GCJ GCJFLAGS GCJDEPMODE am__fastdepGCJ_TRUE am__fastdepGCJ_FALSE subdirs TESTSUBDIR_TRUE TESTSUBDIR_FALSE JAVA_HOME_SET_TRUE JAVA_HOME_SET_FALSE JAVA_HOME 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_DARWIN_CRT_TRUE USING_DARWIN_CRT_FALSE SYSTEMSPEC LIBGCJTESTSPEC ZLIBSPEC ZLIBTESTSPEC X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS extra_ldflags_libjava GCLIBS GCINCS GCDEPS GCSPEC JC1GCSPEC GCTESTSPEC USING_BOEHMGC_TRUE USING_BOEHMGC_FALSE USING_NOGC_TRUE USING_NOGC_FALSE THREADLIBS THREADINCS THREADDEPS THREADSPEC THREADSTARTFILESPEC 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 USE_LIBGCJ_BC_TRUE USE_LIBGCJ_BC_FALSE LIBGCJ_SPEC HASH_SYNC_SPEC USING_GCC_TRUE USING_GCC_FALSE LIBICONV LTLIBICONV PKG_CONFIG GTK_CFLAGS GTK_LIBS GLIB_CFLAGS GLIB_LIBS LIBART_CFLAGS LIBART_LIBS CLASSPATH_SEPARATOR ac_ct_GCJ ZLIBS SYS_ZLIBS ZINCS DIVIDESPEC CHECKREFSPEC EXCEPTIONSPEC BACKTRACESPEC IEEESPEC NATIVE_TRUE NATIVE_FALSE NEEDS_DATA_START_TRUE NEEDS_DATA_START_FALSE GCC_UNWIND_INCLUDE toolexecdir toolexecmainlibdir toolexeclibdir dbexecdir GCJVERSION gxx_include_dir libstdcxx_incdir ALLOCA PERL SYSDEP_SOURCES LD_START_STATIC_SPEC LD_FINISH_STATIC_SPEC 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 --enable-plugin build gcjwebplugin web browser plugin
857 --enable-gconf-peer compile GConf native peers
for util.preferences
858 --disable-dependency-tracking speeds up one-time build
859 --enable-dependency-tracking do not reject slow dependency extractors
860 --enable-maintainer-mode enable make rules and dependencies not useful
861 (and sometimes confusing
) to the casual installer
862 --enable-libgcj-debug enable runtime debugging code
863 --enable-java-awt list of AWT peer implementations to be built
864 --enable-shared=PKGS build shared libraries default
=yes
865 --enable-static=PKGS build static libraries default
=yes
866 --enable-fast-install=PKGS optimize
for fast installation default
=yes
867 --disable-libtool-lock avoid locking
(might
break parallel builds
)
868 --disable-getenv-properties
869 don
't set system properties from GCJ_PROPERTIES
870 --enable-hash-synchronization
871 use global hash table for monitor locks
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-gc=TYPE choose garbage collector (default is boehm)
879 --disable-rpath do not hardcode runtime library paths
880 --enable-tls Use thread-local storage [default=yes]
883 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
884 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
885 --with-build-libsubdir=DIR Directory where to find libraries for build system
886 --with-target-subdir=SUBDIR
887 configure in a subdirectory
888 --with-cross-host=HOST configure with a cross compiler from HOST
889 --with-newlib configure with newlib
890 --with-gnu-ld assume the C compiler uses GNU ld default=no
891 --with-pic try to use only PIC/non-PIC objects default=use both
892 --with-java-home=DIRECTORY
893 value of java.home system property
894 --with-win32-nlsapi=ansi or unicows or unicode
895 native MinGW libgcj Win32 OS API (default is ansi)
896 --without-libffi don't use libffi
897 --with-ecos enable runtime eCos target support
898 --with-system-zlib use installed libz
899 --with-x use the X Window System
900 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
901 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
903 Some influential environment variables:
904 CC C compiler command
905 CFLAGS C compiler flags
906 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
907 nonstandard directory <lib dir>
908 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
909 headers in a nonstandard directory <include dir>
910 CXX C++ compiler command
911 CXXFLAGS C++ compiler flags
912 CXXCPP C++ preprocessor
915 Use these variables to override the choices made by `configure' or to
help
916 it to
find libraries and programs with nonstandard names
/locations.
921 if test "$ac_init_help" = "recursive"; then
922 # If there are subdirs, report their specific --help.
924 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
925 test -d $ac_dir ||
continue
928 if test "$ac_dir" != .
; then
929 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
930 # A "../" for each directory in $ac_dir_suffix.
931 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
933 ac_dir_suffix
= ac_top_builddir
=
937 .
) # No --srcdir option. We are building in place.
939 if test -z "$ac_top_builddir"; then
942 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
944 [\\/]* | ?
:[\\/]* ) # Absolute path.
945 ac_srcdir
=$srcdir$ac_dir_suffix;
946 ac_top_srcdir
=$srcdir ;;
948 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
949 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
952 # Do not use `cd foo && pwd` to compute absolute paths, because
953 # the directories may not exist.
955 .
) ac_abs_builddir
="$ac_dir";;
958 .
) ac_abs_builddir
=`pwd`;;
959 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
960 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
963 case $ac_abs_builddir in
964 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
966 case ${ac_top_builddir}.
in
967 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
968 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
969 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
972 case $ac_abs_builddir in
973 .
) ac_abs_srcdir
=$ac_srcdir;;
976 .
) ac_abs_srcdir
=$ac_abs_builddir;;
977 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
978 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
981 case $ac_abs_builddir in
982 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
984 case $ac_top_srcdir in
985 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
986 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
987 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
992 # Check for guested configure; otherwise get Cygnus style configure.
993 if test -f $ac_srcdir/configure.gnu
; then
995 $SHELL $ac_srcdir/configure.gnu
--help=recursive
996 elif test -f $ac_srcdir/configure
; then
998 $SHELL $ac_srcdir/configure
--help=recursive
999 elif test -f $ac_srcdir/configure.ac ||
1000 test -f $ac_srcdir/configure.
in; then
1002 $ac_configure --help
1004 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1010 test -n "$ac_init_help" && exit 0
1011 if $ac_init_version; then
1013 libjava configure version-unused
1014 generated by GNU Autoconf
2.59
1016 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1017 This configure
script is free software
; the Free Software Foundation
1018 gives unlimited permission to copy
, distribute and modify it.
1024 This file contains any messages produced by compilers while
1025 running configure, to aid debugging if configure makes a mistake.
1027 It was created by libjava $as_me version-unused, which was
1028 generated by GNU Autoconf 2.59. Invocation command line was
1039 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1040 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1041 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1042 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1043 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1045 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1046 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1048 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1049 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1050 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1051 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1052 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1053 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1054 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1062 test -z "$as_dir" && as_dir
=.
1063 echo "PATH: $as_dir"
1078 # Keep a trace of the command line.
1079 # Strip out --no-create and --no-recursion so they do not pile up.
1080 # Strip out --silent because we don't want to record it for future runs.
1081 # Also quote any args containing shell meta-characters.
1082 # Make two passes to allow for proper duplicate-argument suppression.
1087 ac_must_keep_next
=false
1093 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1094 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1095 |
-silent |
--silent |
--silen |
--sile |
--sil)
1097 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1098 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1101 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1103 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1104 if test $ac_must_keep_next = true
; then
1105 ac_must_keep_next
=false
# Got value, back to normal.
1108 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1109 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1110 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1111 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1112 case "$ac_configure_args0 " in
1113 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1116 -* ) ac_must_keep_next
=true
;;
1119 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1120 # Get rid of the leading space.
1126 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1127 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1129 # When interrupted or exit'd, cleanup temporary files, and complete
1130 # config.log. We remove comments because anyway the quotes in there
1131 # would cause problems or look ugly.
1132 # WARNING: Be sure not to use single quotes in there, as some shells,
1133 # such as our DU 5.0 friend, will then `close' the trap.
1134 trap 'exit_status=$?
1135 # Save into config.log some information that might help in debugging.
1140 ## ---------------- ##
1141 ## Cache variables. ##
1142 ## ---------------- ##
1145 # The following way of writing the cache mishandles newlines in values,
1148 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1151 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1152 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1156 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1163 ## ----------------- ##
1164 ## Output variables. ##
1165 ## ----------------- ##
1168 for ac_var in $ac_subst_vars
1170 eval ac_val=$`echo $ac_var`
1171 echo "$ac_var='"'"'$ac_val'"'"'"
1175 if test -n "$ac_subst_files"; then
1182 for ac_var in $ac_subst_files
1184 eval ac_val=$`echo $ac_var`
1185 echo "$ac_var='"'"'$ac_val'"'"'"
1190 if test -s confdefs.h; then
1197 sed "/^$/d" confdefs.h | sort
1200 test "$ac_signal" != 0 &&
1201 echo "$as_me: caught signal $ac_signal"
1202 echo "$as_me: exit $exit_status"
1204 rm -f core *.core &&
1205 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1208 for ac_signal
in 1 2 13 15; do
1209 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1213 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1214 rm -rf conftest
* confdefs.h
1215 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1218 # Predefined preprocessor variables.
1220 cat >>confdefs.h
<<_ACEOF
1221 #define PACKAGE_NAME "$PACKAGE_NAME"
1225 cat >>confdefs.h
<<_ACEOF
1226 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1230 cat >>confdefs.h
<<_ACEOF
1231 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1235 cat >>confdefs.h
<<_ACEOF
1236 #define PACKAGE_STRING "$PACKAGE_STRING"
1240 cat >>confdefs.h
<<_ACEOF
1241 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1245 # Let the site file select an alternate cache file if it wants to.
1246 # Prefer explicitly selected file to automatically selected ones.
1247 if test -z "$CONFIG_SITE"; then
1248 if test "x$prefix" != xNONE
; then
1249 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1251 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1254 for ac_site_file
in $CONFIG_SITE; do
1255 if test -r "$ac_site_file"; then
1256 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1257 echo "$as_me: loading site script $ac_site_file" >&6;}
1258 sed 's/^/| /' "$ac_site_file" >&5
1263 if test -r "$cache_file"; then
1264 # Some versions of bash will fail to source /dev/null (special
1265 # files actually), so we avoid doing that.
1266 if test -f "$cache_file"; then
1267 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1268 echo "$as_me: loading cache $cache_file" >&6;}
1270 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1271 *) . .
/$cache_file;;
1275 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1276 echo "$as_me: creating cache $cache_file" >&6;}
1280 # Check that the precious variables saved in the cache have kept the same
1282 ac_cache_corrupted
=false
1283 for ac_var
in `(set) 2>&1 |
1284 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1285 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1286 eval ac_new_set
=\
$ac_env_${ac_var}_set
1287 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1288 eval ac_new_val
="\$ac_env_${ac_var}_value"
1289 case $ac_old_set,$ac_new_set in
1291 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1292 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1293 ac_cache_corrupted
=: ;;
1295 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1296 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1297 ac_cache_corrupted
=: ;;
1300 if test "x$ac_old_val" != "x$ac_new_val"; then
1301 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1302 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1303 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1304 echo "$as_me: former value: $ac_old_val" >&2;}
1305 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1306 echo "$as_me: current value: $ac_new_val" >&2;}
1307 ac_cache_corrupted
=:
1310 # Pass precious variables to config.status.
1311 if test "$ac_new_set" = set; then
1313 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1314 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1315 *) ac_arg
=$ac_var=$ac_new_val ;;
1317 case " $ac_configure_args " in
1318 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1319 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1323 if $ac_cache_corrupted; then
1324 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1325 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1326 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1327 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1328 { (exit 1); exit 1; }; }
1332 ac_cpp
='$CPP $CPPFLAGS'
1333 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1334 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1335 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1367 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1368 if test -f $ac_dir/install-sh
; then
1370 ac_install_sh
="$ac_aux_dir/install-sh -c"
1372 elif test -f $ac_dir/install.sh
; then
1374 ac_install_sh
="$ac_aux_dir/install.sh -c"
1376 elif test -f $ac_dir/shtool
; then
1378 ac_install_sh
="$ac_aux_dir/shtool install -c"
1382 if test -z "$ac_aux_dir"; then
1383 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1384 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1385 { (exit 1); exit 1; }; }
1387 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1388 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1389 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1391 # Make sure we can run config.sub.
1392 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1393 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1394 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1395 { (exit 1); exit 1; }; }
1397 echo "$as_me:$LINENO: checking build system type" >&5
1398 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1399 if test "${ac_cv_build+set}" = set; then
1400 echo $ECHO_N "(cached) $ECHO_C" >&6
1402 ac_cv_build_alias
=$build_alias
1403 test -z "$ac_cv_build_alias" &&
1404 ac_cv_build_alias
=`$ac_config_guess`
1405 test -z "$ac_cv_build_alias" &&
1406 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1407 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1408 { (exit 1); exit 1; }; }
1409 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1410 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1411 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1412 { (exit 1); exit 1; }; }
1415 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1416 echo "${ECHO_T}$ac_cv_build" >&6
1418 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1419 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1420 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1423 case ${build_alias} in
1424 "") build_noncanonical
=${build} ;;
1425 *) build_noncanonical
=${build_alias} ;;
1428 case ${host_alias} in
1429 "") host_noncanonical
=${build_noncanonical} ;;
1430 *) host_noncanonical
=${host_alias} ;;
1433 case ${target_alias} in
1434 "") target_noncanonical
=${host_noncanonical} ;;
1435 *) target_noncanonical
=${target_alias} ;;
1439 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1440 # have matching libraries, they should use host libraries: Makefile.tpl
1441 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1442 # However, they still use the build modules, because the corresponding
1443 # host modules (e.g. bison) are only built for the host when bootstrap
1445 # - build_subdir is where we find build modules, and never changes.
1446 # - build_libsubdir is where we find build libraries, and can be overridden.
1448 # Prefix 'build-' so this never conflicts with target_subdir.
1449 build_subdir
="build-${build_noncanonical}"
1451 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1452 if test "${with_build_libsubdir+set}" = set; then
1453 withval
="$with_build_libsubdir"
1454 build_libsubdir
="$withval"
1456 build_libsubdir
="$build_subdir"
1458 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1459 if ( test $srcdir = .
&& test -d gcc
) \
1460 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1461 host_subdir
="host-${host_noncanonical}"
1466 target_subdir
=${target_noncanonical}
1469 # We use these options to decide which functions to include.
1471 # Check whether --with-target-subdir or --without-target-subdir was given.
1472 if test "${with_target_subdir+set}" = set; then
1473 withval
="$with_target_subdir"
1477 # We may get other options which we don't document:
1478 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1480 # When building with srcdir == objdir, links to the source files will
1481 # be created in directories within the target_subdir. We have to
1482 # adjust toplevel_srcdir accordingly, so that configure finds
1483 # install-sh and other auxiliary files that live in the top-level
1485 if test "${srcdir}" = "."; then
1486 if test -z "${with_target_subdir}"; then
1489 if test "${with_target_subdir}" != "."; then
1490 toprel
="${with_multisrctop}../.."
1492 toprel
="${with_multisrctop}.."
1499 libgcj_basedir
=$srcdir/$toprel/.
/libjava
1502 echo "$as_me:$LINENO: checking host system type" >&5
1503 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1504 if test "${ac_cv_host+set}" = set; then
1505 echo $ECHO_N "(cached) $ECHO_C" >&6
1507 ac_cv_host_alias
=$host_alias
1508 test -z "$ac_cv_host_alias" &&
1509 ac_cv_host_alias
=$ac_cv_build_alias
1510 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1511 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1512 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1513 { (exit 1); exit 1; }; }
1516 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1517 echo "${ECHO_T}$ac_cv_host" >&6
1519 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1520 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1521 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1524 echo "$as_me:$LINENO: checking target system type" >&5
1525 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1526 if test "${ac_cv_target+set}" = set; then
1527 echo $ECHO_N "(cached) $ECHO_C" >&6
1529 ac_cv_target_alias
=$target_alias
1530 test "x$ac_cv_target_alias" = "x" &&
1531 ac_cv_target_alias
=$ac_cv_host_alias
1532 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1533 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1534 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1535 { (exit 1); exit 1; }; }
1538 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1539 echo "${ECHO_T}$ac_cv_target" >&6
1540 target
=$ac_cv_target
1541 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1542 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1543 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1546 # The aliases save the names the user supplied, while $host etc.
1547 # will get canonicalized.
1548 test -n "$target_alias" &&
1549 test "$program_prefix$program_suffix$program_transform_name" = \
1551 program_prefix
=${target_alias}-
1552 case ${build_alias} in
1553 "") build_noncanonical
=${build} ;;
1554 *) build_noncanonical
=${build_alias} ;;
1557 case ${target_alias} in
1558 "") target_noncanonical
=${host_noncanonical} ;;
1559 *) target_noncanonical
=${target_alias} ;;
1565 # This works around the fact that libtool configuration may change LD
1566 # for this particular configuration, but some shells, instead of
1567 # keeping the changes in LD private, export them just because LD is
1569 ORIGINAL_LD_FOR_MULTILIBS
=$LD
1571 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1572 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1574 if test "$LN_S" = "ln -s"; then
1575 echo "$as_me:$LINENO: result: yes" >&5
1576 echo "${ECHO_T}yes" >&6
1578 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1579 echo "${ECHO_T}no, using $LN_S" >&6
1583 # This works around an automake problem.
1584 mkinstalldirs
="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
1588 # Check whether --with-cross-host or --without-cross-host was given.
1589 if test "${with_cross_host+set}" = set; then
1590 withval
="$with_cross_host"
1595 # Check whether --with-newlib or --without-newlib was given.
1596 if test "${with_newlib+set}" = set; then
1597 withval
="$with_newlib"
1601 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1602 if test "${enable_version_specific_runtime_libs+set}" = set; then
1603 enableval
="$enable_version_specific_runtime_libs"
1604 case "$enableval" in
1605 yes) version_specific_libs
=yes ;;
1606 no
) version_specific_libs
=no
;;
1607 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1608 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1609 { (exit 1); exit 1; }; };;
1612 version_specific_libs
=no
1616 # Default to --enable-multilib
1617 # Check whether --enable-multilib or --disable-multilib was given.
1618 if test "${enable_multilib+set}" = set; then
1619 enableval
="$enable_multilib"
1620 case "${enableval}" in
1621 yes) multilib
=yes ;;
1623 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
1624 echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
1625 { (exit 1); exit 1; }; } ;;
1630 # Check whether --enable-plugin or --disable-plugin was given.
1631 if test "${enable_plugin+set}" = set; then
1632 enableval
="$enable_plugin"
1633 case "$enableval" in
1634 yes) plugin_enabled
=yes ;;
1635 no
) plugin_enabled
=no
;;
1636 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable plugin" >&5
1637 echo "$as_me: error: Unknown argument to enable/disable plugin" >&2;}
1638 { (exit 1); exit 1; }; };;
1645 # Check whether --enable-gconf-peer or --disable-gconf-peer was given.
1646 if test "${enable_gconf_peer+set}" = set; then
1647 enableval
="$enable_gconf_peer"
1648 case "$enableval" in
1649 yes) gconf_enabled
=yes ;;
1650 no
) gconf_enabled
=no
;;
1651 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable gconf-peer" >&5
1652 echo "$as_me: error: Unknown argument to enable/disable gconf-peer" >&2;}
1653 { (exit 1); exit 1; }; };;
1660 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
1663 # (1) We use an abnormal CXX (without library references), so we
1664 # must cache it under a different name.
1665 # (2) CC, CFLAGS, CXX, CXXFLAGS, LDFLAGS must not be 'precious', or
1666 # the non-multilib-adjusted value will be used in multilibs.
1667 # (3) As a side effect, we must SUBST CXXFLAGS, CFLAGS, and LDFLAGS ourselves.
1668 # (4) As another side effect, automake doesn't automatically include them
1670 # (5) For libstdc++-v3, -fno-builtin must be present here so that a
1671 # non-conflicting form of std::exit can be guessed by AC_PROG_CXX, and
1672 # used in later tests. This may not be necessary in libjava; I don't know.
1676 save_CXXFLAGS
="$CXXFLAGS"
1677 CXXFLAGS
="$CXXFLAGS -fno-builtin"
1679 ac_cpp
='$CPP $CPPFLAGS'
1680 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1681 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1682 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1683 if test -n "$ac_tool_prefix"; then
1684 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1685 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1686 echo "$as_me:$LINENO: checking for $ac_word" >&5
1687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1688 if test "${ac_cv_prog_CC+set}" = set; then
1689 echo $ECHO_N "(cached) $ECHO_C" >&6
1691 if test -n "$CC"; then
1692 ac_cv_prog_CC
="$CC" # Let the user override the test.
1694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1698 test -z "$as_dir" && as_dir
=.
1699 for ac_exec_ext
in '' $ac_executable_extensions; do
1700 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1701 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1711 if test -n "$CC"; then
1712 echo "$as_me:$LINENO: result: $CC" >&5
1713 echo "${ECHO_T}$CC" >&6
1715 echo "$as_me:$LINENO: result: no" >&5
1716 echo "${ECHO_T}no" >&6
1720 if test -z "$ac_cv_prog_CC"; then
1722 # Extract the first word of "gcc", so it can be a program name with args.
1723 set dummy gcc
; ac_word
=$2
1724 echo "$as_me:$LINENO: checking for $ac_word" >&5
1725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1726 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1727 echo $ECHO_N "(cached) $ECHO_C" >&6
1729 if test -n "$ac_ct_CC"; then
1730 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1736 test -z "$as_dir" && as_dir
=.
1737 for ac_exec_ext
in '' $ac_executable_extensions; do
1738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1739 ac_cv_prog_ac_ct_CC
="gcc"
1740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1748 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1749 if test -n "$ac_ct_CC"; then
1750 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1751 echo "${ECHO_T}$ac_ct_CC" >&6
1753 echo "$as_me:$LINENO: result: no" >&5
1754 echo "${ECHO_T}no" >&6
1762 if test -z "$CC"; then
1763 if test -n "$ac_tool_prefix"; then
1764 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1765 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1766 echo "$as_me:$LINENO: checking for $ac_word" >&5
1767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1768 if test "${ac_cv_prog_CC+set}" = set; then
1769 echo $ECHO_N "(cached) $ECHO_C" >&6
1771 if test -n "$CC"; then
1772 ac_cv_prog_CC
="$CC" # Let the user override the test.
1774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1778 test -z "$as_dir" && as_dir
=.
1779 for ac_exec_ext
in '' $ac_executable_extensions; do
1780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1781 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1791 if test -n "$CC"; then
1792 echo "$as_me:$LINENO: result: $CC" >&5
1793 echo "${ECHO_T}$CC" >&6
1795 echo "$as_me:$LINENO: result: no" >&5
1796 echo "${ECHO_T}no" >&6
1800 if test -z "$ac_cv_prog_CC"; then
1802 # Extract the first word of "cc", so it can be a program name with args.
1803 set dummy cc
; ac_word
=$2
1804 echo "$as_me:$LINENO: checking for $ac_word" >&5
1805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1806 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1807 echo $ECHO_N "(cached) $ECHO_C" >&6
1809 if test -n "$ac_ct_CC"; then
1810 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1816 test -z "$as_dir" && as_dir
=.
1817 for ac_exec_ext
in '' $ac_executable_extensions; do
1818 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1819 ac_cv_prog_ac_ct_CC
="cc"
1820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1828 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1829 if test -n "$ac_ct_CC"; then
1830 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1831 echo "${ECHO_T}$ac_ct_CC" >&6
1833 echo "$as_me:$LINENO: result: no" >&5
1834 echo "${ECHO_T}no" >&6
1843 if test -z "$CC"; then
1844 # Extract the first word of "cc", so it can be a program name with args.
1845 set dummy cc
; ac_word
=$2
1846 echo "$as_me:$LINENO: checking for $ac_word" >&5
1847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1848 if test "${ac_cv_prog_CC+set}" = set; then
1849 echo $ECHO_N "(cached) $ECHO_C" >&6
1851 if test -n "$CC"; then
1852 ac_cv_prog_CC
="$CC" # Let the user override the test.
1855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1859 test -z "$as_dir" && as_dir
=.
1860 for ac_exec_ext
in '' $ac_executable_extensions; do
1861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1862 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1863 ac_prog_rejected
=yes
1867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1873 if test $ac_prog_rejected = yes; then
1874 # We found a bogon in the path, so make sure we never use it.
1875 set dummy
$ac_cv_prog_CC
1877 if test $# != 0; then
1878 # We chose a different compiler from the bogus one.
1879 # However, it has the same basename, so the bogon will be chosen
1880 # first if we set CC to just the basename; use the full file name.
1882 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1888 if test -n "$CC"; then
1889 echo "$as_me:$LINENO: result: $CC" >&5
1890 echo "${ECHO_T}$CC" >&6
1892 echo "$as_me:$LINENO: result: no" >&5
1893 echo "${ECHO_T}no" >&6
1897 if test -z "$CC"; then
1898 if test -n "$ac_tool_prefix"; then
1901 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1902 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1903 echo "$as_me:$LINENO: checking for $ac_word" >&5
1904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1905 if test "${ac_cv_prog_CC+set}" = set; then
1906 echo $ECHO_N "(cached) $ECHO_C" >&6
1908 if test -n "$CC"; then
1909 ac_cv_prog_CC
="$CC" # Let the user override the test.
1911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1915 test -z "$as_dir" && as_dir
=.
1916 for ac_exec_ext
in '' $ac_executable_extensions; do
1917 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1918 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1928 if test -n "$CC"; then
1929 echo "$as_me:$LINENO: result: $CC" >&5
1930 echo "${ECHO_T}$CC" >&6
1932 echo "$as_me:$LINENO: result: no" >&5
1933 echo "${ECHO_T}no" >&6
1936 test -n "$CC" && break
1939 if test -z "$CC"; then
1943 # Extract the first word of "$ac_prog", so it can be a program name with args.
1944 set dummy
$ac_prog; ac_word
=$2
1945 echo "$as_me:$LINENO: checking for $ac_word" >&5
1946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1947 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1948 echo $ECHO_N "(cached) $ECHO_C" >&6
1950 if test -n "$ac_ct_CC"; then
1951 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1957 test -z "$as_dir" && as_dir
=.
1958 for ac_exec_ext
in '' $ac_executable_extensions; do
1959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1960 ac_cv_prog_ac_ct_CC
="$ac_prog"
1961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1969 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1970 if test -n "$ac_ct_CC"; then
1971 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1972 echo "${ECHO_T}$ac_ct_CC" >&6
1974 echo "$as_me:$LINENO: result: no" >&5
1975 echo "${ECHO_T}no" >&6
1978 test -n "$ac_ct_CC" && break
1987 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1988 See \`config.log' for more details." >&5
1989 echo "$as_me: error: no acceptable C compiler found in \$PATH
1990 See \`config.log' for more details." >&2;}
1991 { (exit 1); exit 1; }; }
1993 # Provide some information about the compiler.
1994 echo "$as_me:$LINENO:" \
1995 "checking for C compiler version" >&5
1996 ac_compiler
=`set X $ac_compile; echo $2`
1997 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1998 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2001 (exit $ac_status); }
2002 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2003 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2006 (exit $ac_status); }
2007 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2008 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2011 (exit $ac_status); }
2013 cat >conftest.
$ac_ext <<_ACEOF
2016 cat confdefs.h
>>conftest.
$ac_ext
2017 cat >>conftest.
$ac_ext <<_ACEOF
2018 /* end confdefs.h. */
2029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2030 (eval $ac_link) 2>&5
2032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2033 (exit $ac_status); }; then
2039 if test x
$gcc_no_link = xyes
; then
2040 # Setting cross_compile will disable run tests; it will
2041 # also disable AC_CHECK_FILE but that's generally
2042 # correct if we can't link.
2046 cat >conftest.
$ac_ext <<_ACEOF
2049 cat confdefs.h
>>conftest.
$ac_ext
2050 cat >>conftest.
$ac_ext <<_ACEOF
2051 /* end confdefs.h. */
2061 ac_clean_files_save
=$ac_clean_files
2062 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2063 # Try to create an executable without -o first, disregard a.out.
2064 # It will help us diagnose broken compilers, and finding out an intuition
2066 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2067 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2068 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2069 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2070 (eval $ac_link_default) 2>&5
2072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2073 (exit $ac_status); }; then
2074 # Find the output, starting from the most likely. This scheme is
2075 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2078 # Be careful to initialize this variable, since it used to be cached.
2079 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2081 # b.out is created by i960 compilers.
2082 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2084 test -f "$ac_file" ||
continue
2086 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2089 # This is the source file.
2092 # We found the default executable, but exeext='' is most
2096 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2097 # FIXME: I believe we export ac_cv_exeext for Libtool,
2098 # but it would be cool to find out if it's true. Does anybody
2099 # maintain Libtool? --akim.
2107 echo "$as_me: failed program was:" >&5
2108 sed 's/^/| /' conftest.
$ac_ext >&5
2110 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2111 See \`config.log' for more details." >&5
2112 echo "$as_me: error: C compiler cannot create executables
2113 See \`config.log' for more details." >&2;}
2114 { (exit 77); exit 77; }; }
2117 ac_exeext
=$ac_cv_exeext
2118 echo "$as_me:$LINENO: result: $ac_file" >&5
2119 echo "${ECHO_T}$ac_file" >&6
2121 # Check the compiler produces executables we can run. If not, either
2122 # the compiler is broken, or we cross compile.
2123 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2124 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2125 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2126 # If not cross compiling, check that we can run a simple program.
2127 if test "$cross_compiling" != yes; then
2128 if { ac_try
='./$ac_file'
2129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2133 (exit $ac_status); }; }; then
2136 if test "$cross_compiling" = maybe
; then
2139 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2140 If you meant to cross compile, use \`--host'.
2141 See \`config.log' for more details." >&5
2142 echo "$as_me: error: cannot run C compiled programs.
2143 If you meant to cross compile, use \`--host'.
2144 See \`config.log' for more details." >&2;}
2145 { (exit 1); exit 1; }; }
2149 echo "$as_me:$LINENO: result: yes" >&5
2150 echo "${ECHO_T}yes" >&6
2152 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2153 ac_clean_files
=$ac_clean_files_save
2154 # Check the compiler produces executables we can run. If not, either
2155 # the compiler is broken, or we cross compile.
2156 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2157 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2158 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2159 echo "${ECHO_T}$cross_compiling" >&6
2161 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2162 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2164 (eval $ac_link) 2>&5
2166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2167 (exit $ac_status); }; then
2168 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2169 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2170 # work properly (i.e., refer to `conftest.exe'), while it won't with
2172 for ac_file
in conftest.exe conftest conftest.
*; do
2173 test -f "$ac_file" ||
continue
2175 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2176 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2183 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2184 See \`config.log' for more details." >&5
2185 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2186 See \`config.log' for more details." >&2;}
2187 { (exit 1); exit 1; }; }
2190 rm -f conftest
$ac_cv_exeext
2191 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2192 echo "${ECHO_T}$ac_cv_exeext" >&6
2194 rm -f conftest.
$ac_ext
2195 EXEEXT
=$ac_cv_exeext
2198 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2199 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2200 if test "${ac_cv_objext+set}" = set; then
2201 echo $ECHO_N "(cached) $ECHO_C" >&6
2203 cat >conftest.
$ac_ext <<_ACEOF
2206 cat confdefs.h
>>conftest.
$ac_ext
2207 cat >>conftest.
$ac_ext <<_ACEOF
2208 /* end confdefs.h. */
2218 rm -f conftest.o conftest.obj
2219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2220 (eval $ac_compile) 2>&5
2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2223 (exit $ac_status); }; then
2224 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2226 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2227 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2232 echo "$as_me: failed program was:" >&5
2233 sed 's/^/| /' conftest.
$ac_ext >&5
2235 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2236 See \`config.log' for more details." >&5
2237 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2238 See \`config.log' for more details." >&2;}
2239 { (exit 1); exit 1; }; }
2242 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2244 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2245 echo "${ECHO_T}$ac_cv_objext" >&6
2246 OBJEXT
=$ac_cv_objext
2248 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2249 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2250 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2251 echo $ECHO_N "(cached) $ECHO_C" >&6
2253 cat >conftest.
$ac_ext <<_ACEOF
2256 cat confdefs.h
>>conftest.
$ac_ext
2257 cat >>conftest.
$ac_ext <<_ACEOF
2258 /* end confdefs.h. */
2271 rm -f conftest.
$ac_objext
2272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2273 (eval $ac_compile) 2>conftest.er1
2275 grep -v '^ *+' conftest.er1
>conftest.err
2277 cat conftest.err
>&5
2278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2279 (exit $ac_status); } &&
2280 { ac_try
='test -z "$ac_c_werror_flag"
2281 || test ! -s conftest.err'
2282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2286 (exit $ac_status); }; } &&
2287 { ac_try
='test -s conftest.$ac_objext'
2288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2292 (exit $ac_status); }; }; then
2295 echo "$as_me: failed program was:" >&5
2296 sed 's/^/| /' conftest.
$ac_ext >&5
2300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2301 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2304 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2305 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2306 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2307 ac_test_CFLAGS
=${CFLAGS+set}
2308 ac_save_CFLAGS
=$CFLAGS
2310 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2311 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2312 if test "${ac_cv_prog_cc_g+set}" = set; then
2313 echo $ECHO_N "(cached) $ECHO_C" >&6
2315 cat >conftest.
$ac_ext <<_ACEOF
2318 cat confdefs.h
>>conftest.
$ac_ext
2319 cat >>conftest.
$ac_ext <<_ACEOF
2320 /* end confdefs.h. */
2330 rm -f conftest.
$ac_objext
2331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2332 (eval $ac_compile) 2>conftest.er1
2334 grep -v '^ *+' conftest.er1
>conftest.err
2336 cat conftest.err
>&5
2337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2338 (exit $ac_status); } &&
2339 { ac_try
='test -z "$ac_c_werror_flag"
2340 || test ! -s conftest.err'
2341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2345 (exit $ac_status); }; } &&
2346 { ac_try
='test -s conftest.$ac_objext'
2347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2351 (exit $ac_status); }; }; then
2354 echo "$as_me: failed program was:" >&5
2355 sed 's/^/| /' conftest.
$ac_ext >&5
2359 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2361 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2362 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2363 if test "$ac_test_CFLAGS" = set; then
2364 CFLAGS
=$ac_save_CFLAGS
2365 elif test $ac_cv_prog_cc_g = yes; then
2366 if test "$GCC" = yes; then
2372 if test "$GCC" = yes; then
2378 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2379 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2380 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2381 echo $ECHO_N "(cached) $ECHO_C" >&6
2383 ac_cv_prog_cc_stdc
=no
2385 cat >conftest.
$ac_ext <<_ACEOF
2388 cat confdefs.h
>>conftest.
$ac_ext
2389 cat >>conftest.
$ac_ext <<_ACEOF
2390 /* end confdefs.h. */
2393 #include <sys/types.h>
2394 #include <sys/stat.h>
2395 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2396 struct buf { int x; };
2397 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2398 static char *e (p, i)
2404 static char *f (char * (*g) (char **, int), char **p, ...)
2409 s = g (p, va_arg (v,int));
2414 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2415 function prototypes and stuff, but not '\xHH' hex character constants.
2416 These don't provoke an error unfortunately, instead are silently treated
2417 as 'x'. The following induces an error, until -std1 is added to get
2418 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2419 array size at least. It's necessary to write '\x00'==0 to get something
2420 that's true only with -std1. */
2421 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2423 int test (int i, double x);
2424 struct s1 {int (*f) (int a);};
2425 struct s2 {int (*f) (double a);};
2426 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2432 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2437 # Don't try gcc -ansi; that turns off useful extensions and
2438 # breaks some systems' header files.
2439 # AIX -qlanglvl=ansi
2440 # Ultrix and OSF/1 -std1
2441 # HP-UX 10.20 and later -Ae
2442 # HP-UX older versions -Aa -D_HPUX_SOURCE
2443 # SVR4 -Xc -D__EXTENSIONS__
2444 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2446 CC
="$ac_save_CC $ac_arg"
2447 rm -f conftest.
$ac_objext
2448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2449 (eval $ac_compile) 2>conftest.er1
2451 grep -v '^ *+' conftest.er1
>conftest.err
2453 cat conftest.err
>&5
2454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2455 (exit $ac_status); } &&
2456 { ac_try
='test -z "$ac_c_werror_flag"
2457 || test ! -s conftest.err'
2458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); }; } &&
2463 { ac_try
='test -s conftest.$ac_objext'
2464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); }; }; then
2469 ac_cv_prog_cc_stdc
=$ac_arg
2472 echo "$as_me: failed program was:" >&5
2473 sed 's/^/| /' conftest.
$ac_ext >&5
2476 rm -f conftest.err conftest.
$ac_objext
2478 rm -f conftest.
$ac_ext conftest.
$ac_objext
2483 case "x$ac_cv_prog_cc_stdc" in
2485 echo "$as_me:$LINENO: result: none needed" >&5
2486 echo "${ECHO_T}none needed" >&6 ;;
2488 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2489 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2490 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2493 # Some people use a C++ compiler to compile C. Since we use `exit',
2494 # in C++ we need to declare it. In case someone uses the same compiler
2495 # for both compiling C and C++ we need to have the C++ compiler decide
2496 # the declaration of exit, since it's the most demanding environment.
2497 cat >conftest.
$ac_ext <<_ACEOF
2502 rm -f conftest.
$ac_objext
2503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2504 (eval $ac_compile) 2>conftest.er1
2506 grep -v '^ *+' conftest.er1
>conftest.err
2508 cat conftest.err
>&5
2509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510 (exit $ac_status); } &&
2511 { ac_try
='test -z "$ac_c_werror_flag"
2512 || test ! -s conftest.err'
2513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2517 (exit $ac_status); }; } &&
2518 { ac_try
='test -s conftest.$ac_objext'
2519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2523 (exit $ac_status); }; }; then
2524 for ac_declaration
in \
2526 'extern "C" void std::exit (int) throw (); using std::exit;' \
2527 'extern "C" void std::exit (int); using std::exit;' \
2528 'extern "C" void exit (int) throw ();' \
2529 'extern "C" void exit (int);' \
2532 cat >conftest.
$ac_ext <<_ACEOF
2535 cat confdefs.h
>>conftest.
$ac_ext
2536 cat >>conftest.
$ac_ext <<_ACEOF
2537 /* end confdefs.h. */
2548 rm -f conftest.
$ac_objext
2549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2550 (eval $ac_compile) 2>conftest.er1
2552 grep -v '^ *+' conftest.er1
>conftest.err
2554 cat conftest.err
>&5
2555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2556 (exit $ac_status); } &&
2557 { ac_try
='test -z "$ac_c_werror_flag"
2558 || test ! -s conftest.err'
2559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563 (exit $ac_status); }; } &&
2564 { ac_try
='test -s conftest.$ac_objext'
2565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2569 (exit $ac_status); }; }; then
2572 echo "$as_me: failed program was:" >&5
2573 sed 's/^/| /' conftest.
$ac_ext >&5
2577 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2578 cat >conftest.
$ac_ext <<_ACEOF
2581 cat confdefs.h
>>conftest.
$ac_ext
2582 cat >>conftest.
$ac_ext <<_ACEOF
2583 /* end confdefs.h. */
2593 rm -f conftest.
$ac_objext
2594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2595 (eval $ac_compile) 2>conftest.er1
2597 grep -v '^ *+' conftest.er1
>conftest.err
2599 cat conftest.err
>&5
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); } &&
2602 { ac_try
='test -z "$ac_c_werror_flag"
2603 || test ! -s conftest.err'
2604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608 (exit $ac_status); }; } &&
2609 { ac_try
='test -s conftest.$ac_objext'
2610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614 (exit $ac_status); }; }; then
2617 echo "$as_me: failed program was:" >&5
2618 sed 's/^/| /' conftest.
$ac_ext >&5
2621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2624 if test -n "$ac_declaration"; then
2625 echo '#ifdef __cplusplus' >>confdefs.h
2626 echo $ac_declaration >>confdefs.h
2627 echo '#endif' >>confdefs.h
2631 echo "$as_me: failed program was:" >&5
2632 sed 's/^/| /' conftest.
$ac_ext >&5
2635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2637 ac_cpp
='$CPP $CPPFLAGS'
2638 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2639 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2640 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2643 ac_cpp
='$CXXCPP $CPPFLAGS'
2644 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2645 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2646 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2647 if test -n "$ac_tool_prefix"; then
2648 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2650 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2651 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2652 echo "$as_me:$LINENO: checking for $ac_word" >&5
2653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2654 if test "${glibcxx_cv_prog_CXX+set}" = set; then
2655 echo $ECHO_N "(cached) $ECHO_C" >&6
2657 if test -n "$CXX"; then
2658 glibcxx_cv_prog_CXX
="$CXX" # Let the user override the test.
2660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2664 test -z "$as_dir" && as_dir
=.
2665 for ac_exec_ext
in '' $ac_executable_extensions; do
2666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2667 glibcxx_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2676 CXX
=$glibcxx_cv_prog_CXX
2677 if test -n "$CXX"; then
2678 echo "$as_me:$LINENO: result: $CXX" >&5
2679 echo "${ECHO_T}$CXX" >&6
2681 echo "$as_me:$LINENO: result: no" >&5
2682 echo "${ECHO_T}no" >&6
2685 test -n "$CXX" && break
2688 if test -z "$CXX"; then
2690 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2692 # Extract the first word of "$ac_prog", so it can be a program name with args.
2693 set dummy
$ac_prog; ac_word
=$2
2694 echo "$as_me:$LINENO: checking for $ac_word" >&5
2695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2696 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2697 echo $ECHO_N "(cached) $ECHO_C" >&6
2699 if test -n "$ac_ct_CXX"; then
2700 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2706 test -z "$as_dir" && as_dir
=.
2707 for ac_exec_ext
in '' $ac_executable_extensions; do
2708 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2709 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2718 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2719 if test -n "$ac_ct_CXX"; then
2720 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2721 echo "${ECHO_T}$ac_ct_CXX" >&6
2723 echo "$as_me:$LINENO: result: no" >&5
2724 echo "${ECHO_T}no" >&6
2727 test -n "$ac_ct_CXX" && break
2729 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2735 # Provide some information about the compiler.
2736 echo "$as_me:$LINENO:" \
2737 "checking for C++ compiler version" >&5
2738 ac_compiler
=`set X $ac_compile; echo $2`
2739 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2740 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743 (exit $ac_status); }
2744 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2745 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); }
2749 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2750 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); }
2755 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2756 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2757 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2758 echo $ECHO_N "(cached) $ECHO_C" >&6
2760 cat >conftest.
$ac_ext <<_ACEOF
2763 cat confdefs.h
>>conftest.
$ac_ext
2764 cat >>conftest.
$ac_ext <<_ACEOF
2765 /* end confdefs.h. */
2778 rm -f conftest.
$ac_objext
2779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2780 (eval $ac_compile) 2>conftest.er1
2782 grep -v '^ *+' conftest.er1
>conftest.err
2784 cat conftest.err
>&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); } &&
2787 { ac_try
='test -z "$ac_cxx_werror_flag"
2788 || test ! -s conftest.err'
2789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 (exit $ac_status); }; } &&
2794 { ac_try
='test -s conftest.$ac_objext'
2795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 (exit $ac_status); }; }; then
2802 echo "$as_me: failed program was:" >&5
2803 sed 's/^/| /' conftest.
$ac_ext >&5
2807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2808 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2811 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2812 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2813 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2814 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2815 ac_save_CXXFLAGS
=$CXXFLAGS
2817 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2818 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2819 if test "${ac_cv_prog_cxx_g+set}" = set; then
2820 echo $ECHO_N "(cached) $ECHO_C" >&6
2822 cat >conftest.
$ac_ext <<_ACEOF
2825 cat confdefs.h
>>conftest.
$ac_ext
2826 cat >>conftest.
$ac_ext <<_ACEOF
2827 /* end confdefs.h. */
2837 rm -f conftest.
$ac_objext
2838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2839 (eval $ac_compile) 2>conftest.er1
2841 grep -v '^ *+' conftest.er1
>conftest.err
2843 cat conftest.err
>&5
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); } &&
2846 { ac_try
='test -z "$ac_cxx_werror_flag"
2847 || test ! -s conftest.err'
2848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2852 (exit $ac_status); }; } &&
2853 { ac_try
='test -s conftest.$ac_objext'
2854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858 (exit $ac_status); }; }; then
2859 ac_cv_prog_cxx_g
=yes
2861 echo "$as_me: failed program was:" >&5
2862 sed 's/^/| /' conftest.
$ac_ext >&5
2866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2868 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2869 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2870 if test "$ac_test_CXXFLAGS" = set; then
2871 CXXFLAGS
=$ac_save_CXXFLAGS
2872 elif test $ac_cv_prog_cxx_g = yes; then
2873 if test "$GXX" = yes; then
2879 if test "$GXX" = yes; then
2885 for ac_declaration
in \
2887 'extern "C" void std::exit (int) throw (); using std::exit;' \
2888 'extern "C" void std::exit (int); using std::exit;' \
2889 'extern "C" void exit (int) throw ();' \
2890 'extern "C" void exit (int);' \
2893 cat >conftest.
$ac_ext <<_ACEOF
2896 cat confdefs.h
>>conftest.
$ac_ext
2897 cat >>conftest.
$ac_ext <<_ACEOF
2898 /* end confdefs.h. */
2909 rm -f conftest.
$ac_objext
2910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2911 (eval $ac_compile) 2>conftest.er1
2913 grep -v '^ *+' conftest.er1
>conftest.err
2915 cat conftest.err
>&5
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); } &&
2918 { ac_try
='test -z "$ac_cxx_werror_flag"
2919 || test ! -s conftest.err'
2920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 (exit $ac_status); }; } &&
2925 { ac_try
='test -s conftest.$ac_objext'
2926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); }; }; then
2933 echo "$as_me: failed program was:" >&5
2934 sed 's/^/| /' conftest.
$ac_ext >&5
2938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2939 cat >conftest.
$ac_ext <<_ACEOF
2942 cat confdefs.h
>>conftest.
$ac_ext
2943 cat >>conftest.
$ac_ext <<_ACEOF
2944 /* end confdefs.h. */
2954 rm -f conftest.
$ac_objext
2955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2956 (eval $ac_compile) 2>conftest.er1
2958 grep -v '^ *+' conftest.er1
>conftest.err
2960 cat conftest.err
>&5
2961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962 (exit $ac_status); } &&
2963 { ac_try
='test -z "$ac_cxx_werror_flag"
2964 || test ! -s conftest.err'
2965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969 (exit $ac_status); }; } &&
2970 { ac_try
='test -s conftest.$ac_objext'
2971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975 (exit $ac_status); }; }; then
2978 echo "$as_me: failed program was:" >&5
2979 sed 's/^/| /' conftest.
$ac_ext >&5
2982 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2985 if test -n "$ac_declaration"; then
2986 echo '#ifdef __cplusplus' >>confdefs.h
2987 echo $ac_declaration >>confdefs.h
2988 echo '#endif' >>confdefs.h
2992 ac_cpp
='$CPP $CPPFLAGS'
2993 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2994 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2995 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2997 CXXFLAGS
="$save_CXXFLAGS"
3003 am__api_version
="1.9"
3004 # Find a good install program. We prefer a C program (faster),
3005 # so one script is as good as another. But avoid the broken or
3006 # incompatible versions:
3007 # SysV /etc/install, /usr/sbin/install
3008 # SunOS /usr/etc/install
3009 # IRIX /sbin/install
3011 # AmigaOS /C/install, which installs bootblocks on floppy discs
3012 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3013 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3014 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3015 # OS/2's system install, which has a completely different semantic
3016 # ./install, which can be erroneously created by make from ./install.sh.
3017 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3018 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3019 if test -z "$INSTALL"; then
3020 if test "${ac_cv_path_install+set}" = set; then
3021 echo $ECHO_N "(cached) $ECHO_C" >&6
3023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3027 test -z "$as_dir" && as_dir
=.
3028 # Account for people who put trailing slashes in PATH elements.
3030 .
/ | .
// |
/cC
/* | \
3031 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3032 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3035 # OSF1 and SCO ODT 3.0 have their own names for install.
3036 # Don't use installbsd from OSF since it installs stuff as root
3038 for ac_prog
in ginstall scoinst
install; do
3039 for ac_exec_ext
in '' $ac_executable_extensions; do
3040 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3041 if test $ac_prog = install &&
3042 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3043 # AIX install. It has an incompatible calling convention.
3045 elif test $ac_prog = install &&
3046 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3047 # program-specific install script used by HP pwplus--don't use.
3050 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3062 if test "${ac_cv_path_install+set}" = set; then
3063 INSTALL
=$ac_cv_path_install
3065 # As a last resort, use the slow shell script. We don't cache a
3066 # path for INSTALL within a source directory, because that will
3067 # break other packages using the cache if that directory is
3068 # removed, or if the path is relative.
3069 INSTALL
=$ac_install_sh
3072 echo "$as_me:$LINENO: result: $INSTALL" >&5
3073 echo "${ECHO_T}$INSTALL" >&6
3075 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3076 # It thinks the first close brace ends the variable substitution.
3077 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3079 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3081 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3083 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3084 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
3087 echo timestamp
> conftest.
file
3088 # Do `set' in a subshell so we don't clobber the current shell's
3089 # arguments. Must try -L first in case configure is actually a
3090 # symlink; some systems play weird games with the mod time of symlinks
3091 # (eg FreeBSD returns the mod time of the symlink's containing
3094 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
3095 if test "$*" = "X"; then
3097 set X
`ls -t $srcdir/configure conftest.file`
3100 if test "$*" != "X $srcdir/configure conftest.file" \
3101 && test "$*" != "X conftest.file $srcdir/configure"; then
3103 # If neither matched, then we have a broken ls. This can happen
3104 # if, for instance, CONFIG_SHELL is bash and it inherits a
3105 # broken ls alias from the environment. This has actually
3106 # happened. Such a system could not be considered "sane".
3107 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
3108 alias in your environment" >&5
3109 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
3110 alias in your environment" >&2;}
3111 { (exit 1); exit 1; }; }
3114 test "$2" = conftest.
file
3120 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3121 Check your system clock" >&5
3122 echo "$as_me: error: newly created file is older than distributed files!
3123 Check your system clock" >&2;}
3124 { (exit 1); exit 1; }; }
3126 echo "$as_me:$LINENO: result: yes" >&5
3127 echo "${ECHO_T}yes" >&6
3128 test "$program_prefix" != NONE
&&
3129 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
3130 # Use a double $ so make ignores it.
3131 test "$program_suffix" != NONE
&&
3132 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
3133 # Double any \ or $. echo might interpret backslashes.
3134 # By default was `s,x,x', remove it if useless.
3135 cat <<\_ACEOF
>conftest.
sed
3136 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
3138 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
3141 # expand $ac_aux_dir to an absolute path
3142 am_aux_dir
=`cd $ac_aux_dir && pwd`
3144 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
3145 # Use eval to expand $SHELL
3146 if eval "$MISSING --run true"; then
3147 am_missing_run
="$MISSING --run "
3150 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3151 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3154 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
3155 # We used to keeping the `.' as first argument, in order to
3156 # allow $(mkdir_p) to be used without argument. As in
3157 # $(mkdir_p) $(somedir)
3158 # where $(somedir) is conditionally defined. However this is wrong
3160 # 1. if the package is installed by a user who cannot write `.'
3161 # make install will fail,
3162 # 2. the above comment should most certainly read
3163 # $(mkdir_p) $(DESTDIR)$(somedir)
3164 # so it does not work when $(somedir) is undefined and
3165 # $(DESTDIR) is not.
3166 # To support the latter case, we have to write
3167 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
3168 # so the `.' trick is pointless.
3169 mkdir_p
='mkdir -p --'
3171 # On NextStep and OpenStep, the `mkdir' command does not
3172 # recognize any option. It will interpret all options as
3173 # directories to create, and then abort because `.' already
3175 for d
in .
/-p .
/--version;
3177 test -d $d && rmdir $d
3179 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
3180 if test -f "$ac_aux_dir/mkinstalldirs"; then
3181 mkdir_p
='$(mkinstalldirs)'
3183 mkdir_p
='$(install_sh) -d'
3187 for ac_prog
in gawk mawk nawk
awk
3189 # Extract the first word of "$ac_prog", so it can be a program name with args.
3190 set dummy
$ac_prog; ac_word
=$2
3191 echo "$as_me:$LINENO: checking for $ac_word" >&5
3192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3193 if test "${ac_cv_prog_AWK+set}" = set; then
3194 echo $ECHO_N "(cached) $ECHO_C" >&6
3196 if test -n "$AWK"; then
3197 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3203 test -z "$as_dir" && as_dir
=.
3204 for ac_exec_ext
in '' $ac_executable_extensions; do
3205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3206 ac_cv_prog_AWK
="$ac_prog"
3207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3216 if test -n "$AWK"; then
3217 echo "$as_me:$LINENO: result: $AWK" >&5
3218 echo "${ECHO_T}$AWK" >&6
3220 echo "$as_me:$LINENO: result: no" >&5
3221 echo "${ECHO_T}no" >&6
3224 test -n "$AWK" && break
3227 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3228 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3229 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3230 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3231 echo $ECHO_N "(cached) $ECHO_C" >&6
3233 cat >conftest.
make <<\_ACEOF
3235 @
echo 'ac_maketemp="$(MAKE)"'
3237 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3238 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3239 if test -n "$ac_maketemp"; then
3240 eval ac_cv_prog_make_
${ac_make}_set
=yes
3242 eval ac_cv_prog_make_
${ac_make}_set
=no
3246 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3247 echo "$as_me:$LINENO: result: yes" >&5
3248 echo "${ECHO_T}yes" >&6
3251 echo "$as_me:$LINENO: result: no" >&5
3252 echo "${ECHO_T}no" >&6
3253 SET_MAKE
="MAKE=${MAKE-make}"
3256 rm -rf .tst
2>/dev
/null
3257 mkdir .tst
2>/dev
/null
3258 if test -d .tst
; then
3263 rmdir .tst
2>/dev
/null
3265 DEPDIR
="${am__leading_dot}deps"
3267 ac_config_commands
="$ac_config_commands depfiles"
3270 am_make
=${MAKE-make}
3271 cat > confinc
<< 'END'
3276 # If we don't find an include directive, just comment out the code.
3277 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3278 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3282 # First try GNU make style include.
3283 echo "include confinc" > confmf
3284 # We grep out `Entering directory' and `Leaving directory'
3285 # messages which can occur if `w' ends up in MAKEFLAGS.
3286 # In particular we don't look at `^make:' because GNU make might
3287 # be invoked under some other name (usually "gmake"), in which
3288 # case it prints its new name instead of `make'.
3289 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3294 # Now try BSD make style include.
3295 if test "$am__include" = "#"; then
3296 echo '.include "confinc"' > confmf
3297 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3298 am__include
=.include
3305 echo "$as_me:$LINENO: result: $_am_result" >&5
3306 echo "${ECHO_T}$_am_result" >&6
3307 rm -f confinc confmf
3309 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3310 if test "${enable_dependency_tracking+set}" = set; then
3311 enableval
="$enable_dependency_tracking"
3314 if test "x$enable_dependency_tracking" != xno
; then
3315 am_depcomp
="$ac_aux_dir/depcomp"
3320 if test "x$enable_dependency_tracking" != xno; then
3330 # test to see if srcdir already configured
3331 if test "`cd $srcdir && pwd`" != "`pwd`" &&
3332 test -f $srcdir/config.status
; then
3333 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3334 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3335 { (exit 1); exit 1; }; }
3338 # test whether we have cygpath
3339 if test -z "$CYGPATH_W"; then
3340 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3341 CYGPATH_W
='cygpath -w'
3348 # Define the identity of the package.
3350 VERSION
='version-unused'
3353 cat >>confdefs.h
<<_ACEOF
3354 #define PACKAGE "$PACKAGE"
3358 cat >>confdefs.h
<<_ACEOF
3359 #define VERSION "$VERSION"
3362 # Some tools Automake needs.
3364 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3367 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3370 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3373 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3376 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3378 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3380 # Installed binaries are usually stripped using `strip' when the user
3381 # run `make install-strip'. However `strip' might not be the right
3382 # tool to use in cross-compilation environments, therefore Automake
3383 # will honor the `STRIP' environment variable to overrule this program.
3384 if test "$cross_compiling" != no
; then
3385 if test -n "$ac_tool_prefix"; then
3386 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3387 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3388 echo "$as_me:$LINENO: checking for $ac_word" >&5
3389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3390 if test "${ac_cv_prog_STRIP+set}" = set; then
3391 echo $ECHO_N "(cached) $ECHO_C" >&6
3393 if test -n "$STRIP"; then
3394 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3400 test -z "$as_dir" && as_dir
=.
3401 for ac_exec_ext
in '' $ac_executable_extensions; do
3402 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3403 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3412 STRIP
=$ac_cv_prog_STRIP
3413 if test -n "$STRIP"; then
3414 echo "$as_me:$LINENO: result: $STRIP" >&5
3415 echo "${ECHO_T}$STRIP" >&6
3417 echo "$as_me:$LINENO: result: no" >&5
3418 echo "${ECHO_T}no" >&6
3422 if test -z "$ac_cv_prog_STRIP"; then
3424 # Extract the first word of "strip", so it can be a program name with args.
3425 set dummy strip
; ac_word
=$2
3426 echo "$as_me:$LINENO: checking for $ac_word" >&5
3427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3428 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3429 echo $ECHO_N "(cached) $ECHO_C" >&6
3431 if test -n "$ac_ct_STRIP"; then
3432 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3438 test -z "$as_dir" && as_dir
=.
3439 for ac_exec_ext
in '' $ac_executable_extensions; do
3440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3441 ac_cv_prog_ac_ct_STRIP
="strip"
3442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3448 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3451 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3452 if test -n "$ac_ct_STRIP"; then
3453 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3454 echo "${ECHO_T}$ac_ct_STRIP" >&6
3456 echo "$as_me:$LINENO: result: no" >&5
3457 echo "${ECHO_T}no" >&6
3462 STRIP
="$ac_cv_prog_STRIP"
3466 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3468 # We need awk for the "check" target. The system "awk" is bad on
3470 # Always define AMTAR for backward compatibility.
3472 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3474 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3479 depcc
="$CC" am_compiler_list
=
3481 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3482 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3483 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3484 echo $ECHO_N "(cached) $ECHO_C" >&6
3486 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3487 # We make a subdir and do the tests there. Otherwise we can end up
3488 # making bogus files that we don't know about and never remove. For
3489 # instance it was reported that on HP-UX the gcc test will end up
3490 # making a dummy file named `D' -- because `-MD' means `put the output
3493 # Copy depcomp to subdir because otherwise we won't find it if we're
3494 # using a relative directory.
3495 cp "$am_depcomp" conftest.dir
3497 # We will build objects and dependencies in a subdirectory because
3498 # it helps to detect inapplicable dependency modes. For instance
3499 # both Tru64's cc and ICC support -MD to output dependencies as a
3500 # side effect of compilation, but ICC will put the dependencies in
3501 # the current directory while Tru64 will put them in the object
3505 am_cv_CC_dependencies_compiler_type
=none
3506 if test "$am_compiler_list" = ""; then
3507 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3509 for depmode
in $am_compiler_list; do
3510 # Setup a source with many dependencies, because some compilers
3511 # like to wrap large dependency lists on column 80 (with \), and
3512 # we should not choose a depcomp mode which is confused by this.
3514 # We need to recreate these files for each test, as the compiler may
3515 # overwrite some of them when testing with obscure command lines.
3516 # This happens at least with the AIX C compiler.
3518 for i
in 1 2 3 4 5 6; do
3519 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3520 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3521 # Solaris 8's {/usr,}/bin/sh.
3522 touch sub
/conftst
$i.h
3524 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3528 # after this tag, mechanisms are not by side-effect, so they'll
3529 # only be used when explicitly requested
3530 if test "x$enable_dependency_tracking" = xyes
; then
3538 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3539 # mode. It turns out that the SunPro C++ compiler does not properly
3540 # handle `-M -o', and we need to detect this.
3541 if depmode
=$depmode \
3542 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3543 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3544 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3545 >/dev
/null
2>conftest.err
&&
3546 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3547 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3548 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3549 # icc doesn't choke on unknown options, it will just issue warnings
3550 # or remarks (even with -Werror). So we grep stderr for any message
3551 # that says an option was ignored or not supported.
3552 # When given -MP, icc 7.0 and 7.1 complain thusly:
3553 # icc: Command line warning: ignoring option '-M'; no argument required
3554 # The diagnosis changed in icc 8.0:
3555 # icc: Command line remark: option '-MP' not supported
3556 if (grep 'ignoring option' conftest.err ||
3557 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3558 am_cv_CC_dependencies_compiler_type
=$depmode
3567 am_cv_CC_dependencies_compiler_type
=none
3571 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3572 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3573 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3578 test "x$enable_dependency_tracking" != xno \
3579 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3581 am__fastdepCC_FALSE
='#'
3583 am__fastdepCC_TRUE
='#'
3584 am__fastdepCC_FALSE
=
3588 depcc
="$CXX" am_compiler_list
=
3590 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3591 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3592 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3593 echo $ECHO_N "(cached) $ECHO_C" >&6
3595 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3596 # We make a subdir and do the tests there. Otherwise we can end up
3597 # making bogus files that we don't know about and never remove. For
3598 # instance it was reported that on HP-UX the gcc test will end up
3599 # making a dummy file named `D' -- because `-MD' means `put the output
3602 # Copy depcomp to subdir because otherwise we won't find it if we're
3603 # using a relative directory.
3604 cp "$am_depcomp" conftest.dir
3606 # We will build objects and dependencies in a subdirectory because
3607 # it helps to detect inapplicable dependency modes. For instance
3608 # both Tru64's cc and ICC support -MD to output dependencies as a
3609 # side effect of compilation, but ICC will put the dependencies in
3610 # the current directory while Tru64 will put them in the object
3614 am_cv_CXX_dependencies_compiler_type
=none
3615 if test "$am_compiler_list" = ""; then
3616 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3618 for depmode
in $am_compiler_list; do
3619 # Setup a source with many dependencies, because some compilers
3620 # like to wrap large dependency lists on column 80 (with \), and
3621 # we should not choose a depcomp mode which is confused by this.
3623 # We need to recreate these files for each test, as the compiler may
3624 # overwrite some of them when testing with obscure command lines.
3625 # This happens at least with the AIX C compiler.
3627 for i
in 1 2 3 4 5 6; do
3628 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3629 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3630 # Solaris 8's {/usr,}/bin/sh.
3631 touch sub
/conftst
$i.h
3633 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3637 # after this tag, mechanisms are not by side-effect, so they'll
3638 # only be used when explicitly requested
3639 if test "x$enable_dependency_tracking" = xyes
; then
3647 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3648 # mode. It turns out that the SunPro C++ compiler does not properly
3649 # handle `-M -o', and we need to detect this.
3650 if depmode
=$depmode \
3651 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3652 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3653 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3654 >/dev
/null
2>conftest.err
&&
3655 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3656 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3657 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3658 # icc doesn't choke on unknown options, it will just issue warnings
3659 # or remarks (even with -Werror). So we grep stderr for any message
3660 # that says an option was ignored or not supported.
3661 # When given -MP, icc 7.0 and 7.1 complain thusly:
3662 # icc: Command line warning: ignoring option '-M'; no argument required
3663 # The diagnosis changed in icc 8.0:
3664 # icc: Command line remark: option '-MP' not supported
3665 if (grep 'ignoring option' conftest.err ||
3666 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3667 am_cv_CXX_dependencies_compiler_type
=$depmode
3676 am_cv_CXX_dependencies_compiler_type
=none
3680 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3681 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3682 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3687 test "x$enable_dependency_tracking" != xno \
3688 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3689 am__fastdepCXX_TRUE
=
3690 am__fastdepCXX_FALSE
='#'
3692 am__fastdepCXX_TRUE
='#'
3693 am__fastdepCXX_FALSE
=
3699 if test -n "$ac_tool_prefix"; then
3700 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3701 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3702 echo "$as_me:$LINENO: checking for $ac_word" >&5
3703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3704 if test "${ac_cv_prog_AS+set}" = set; then
3705 echo $ECHO_N "(cached) $ECHO_C" >&6
3707 if test -n "$AS"; then
3708 ac_cv_prog_AS
="$AS" # Let the user override the test.
3710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3714 test -z "$as_dir" && as_dir
=.
3715 for ac_exec_ext
in '' $ac_executable_extensions; do
3716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3717 ac_cv_prog_AS
="${ac_tool_prefix}as"
3718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3727 if test -n "$AS"; then
3728 echo "$as_me:$LINENO: result: $AS" >&5
3729 echo "${ECHO_T}$AS" >&6
3731 echo "$as_me:$LINENO: result: no" >&5
3732 echo "${ECHO_T}no" >&6
3736 if test -z "$ac_cv_prog_AS"; then
3738 # Extract the first word of "as", so it can be a program name with args.
3739 set dummy as
; ac_word
=$2
3740 echo "$as_me:$LINENO: checking for $ac_word" >&5
3741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3742 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3743 echo $ECHO_N "(cached) $ECHO_C" >&6
3745 if test -n "$ac_ct_AS"; then
3746 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3752 test -z "$as_dir" && as_dir
=.
3753 for ac_exec_ext
in '' $ac_executable_extensions; do
3754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3755 ac_cv_prog_ac_ct_AS
="as"
3756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3764 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3765 if test -n "$ac_ct_AS"; then
3766 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3767 echo "${ECHO_T}$ac_ct_AS" >&6
3769 echo "$as_me:$LINENO: result: no" >&5
3770 echo "${ECHO_T}no" >&6
3778 if test -n "$ac_tool_prefix"; then
3779 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
3780 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
3781 echo "$as_me:$LINENO: checking for $ac_word" >&5
3782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3783 if test "${ac_cv_prog_LD+set}" = set; then
3784 echo $ECHO_N "(cached) $ECHO_C" >&6
3786 if test -n "$LD"; then
3787 ac_cv_prog_LD
="$LD" # Let the user override the test.
3789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3793 test -z "$as_dir" && as_dir
=.
3794 for ac_exec_ext
in '' $ac_executable_extensions; do
3795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3796 ac_cv_prog_LD
="${ac_tool_prefix}ld"
3797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3806 if test -n "$LD"; then
3807 echo "$as_me:$LINENO: result: $LD" >&5
3808 echo "${ECHO_T}$LD" >&6
3810 echo "$as_me:$LINENO: result: no" >&5
3811 echo "${ECHO_T}no" >&6
3815 if test -z "$ac_cv_prog_LD"; then
3817 # Extract the first word of "ld", so it can be a program name with args.
3818 set dummy ld
; ac_word
=$2
3819 echo "$as_me:$LINENO: checking for $ac_word" >&5
3820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3821 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
3822 echo $ECHO_N "(cached) $ECHO_C" >&6
3824 if test -n "$ac_ct_LD"; then
3825 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
3827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3831 test -z "$as_dir" && as_dir
=.
3832 for ac_exec_ext
in '' $ac_executable_extensions; do
3833 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3834 ac_cv_prog_ac_ct_LD
="ld"
3835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3843 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
3844 if test -n "$ac_ct_LD"; then
3845 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
3846 echo "${ECHO_T}$ac_ct_LD" >&6
3848 echo "$as_me:$LINENO: result: no" >&5
3849 echo "${ECHO_T}no" >&6
3857 if test -n "$ac_tool_prefix"; then
3858 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3859 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3860 echo "$as_me:$LINENO: checking for $ac_word" >&5
3861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3862 if test "${ac_cv_prog_AR+set}" = set; then
3863 echo $ECHO_N "(cached) $ECHO_C" >&6
3865 if test -n "$AR"; then
3866 ac_cv_prog_AR
="$AR" # Let the user override the test.
3868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3872 test -z "$as_dir" && as_dir
=.
3873 for ac_exec_ext
in '' $ac_executable_extensions; do
3874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3875 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3885 if test -n "$AR"; then
3886 echo "$as_me:$LINENO: result: $AR" >&5
3887 echo "${ECHO_T}$AR" >&6
3889 echo "$as_me:$LINENO: result: no" >&5
3890 echo "${ECHO_T}no" >&6
3894 if test -z "$ac_cv_prog_AR"; then
3896 # Extract the first word of "ar", so it can be a program name with args.
3897 set dummy
ar; ac_word
=$2
3898 echo "$as_me:$LINENO: checking for $ac_word" >&5
3899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3900 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3901 echo $ECHO_N "(cached) $ECHO_C" >&6
3903 if test -n "$ac_ct_AR"; then
3904 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3910 test -z "$as_dir" && as_dir
=.
3911 for ac_exec_ext
in '' $ac_executable_extensions; do
3912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3913 ac_cv_prog_ac_ct_AR
="ar"
3914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3922 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3923 if test -n "$ac_ct_AR"; then
3924 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3925 echo "${ECHO_T}$ac_ct_AR" >&6
3927 echo "$as_me:$LINENO: result: no" >&5
3928 echo "${ECHO_T}no" >&6
3936 if test -n "$ac_tool_prefix"; then
3937 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3938 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3939 echo "$as_me:$LINENO: checking for $ac_word" >&5
3940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3941 if test "${ac_cv_prog_RANLIB+set}" = set; then
3942 echo $ECHO_N "(cached) $ECHO_C" >&6
3944 if test -n "$RANLIB"; then
3945 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3951 test -z "$as_dir" && as_dir
=.
3952 for ac_exec_ext
in '' $ac_executable_extensions; do
3953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3954 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3963 RANLIB
=$ac_cv_prog_RANLIB
3964 if test -n "$RANLIB"; then
3965 echo "$as_me:$LINENO: result: $RANLIB" >&5
3966 echo "${ECHO_T}$RANLIB" >&6
3968 echo "$as_me:$LINENO: result: no" >&5
3969 echo "${ECHO_T}no" >&6
3973 if test -z "$ac_cv_prog_RANLIB"; then
3974 ac_ct_RANLIB
=$RANLIB
3975 # Extract the first word of "ranlib", so it can be a program name with args.
3976 set dummy ranlib
; ac_word
=$2
3977 echo "$as_me:$LINENO: checking for $ac_word" >&5
3978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3979 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3980 echo $ECHO_N "(cached) $ECHO_C" >&6
3982 if test -n "$ac_ct_RANLIB"; then
3983 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3989 test -z "$as_dir" && as_dir
=.
3990 for ac_exec_ext
in '' $ac_executable_extensions; do
3991 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3992 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3999 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4002 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4003 if test -n "$ac_ct_RANLIB"; then
4004 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4005 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4007 echo "$as_me:$LINENO: result: no" >&5
4008 echo "${ECHO_T}no" >&6
4011 RANLIB
=$ac_ct_RANLIB
4013 RANLIB
="$ac_cv_prog_RANLIB"
4016 for ac_prog
in gawk mawk nawk
awk
4018 # Extract the first word of "$ac_prog", so it can be a program name with args.
4019 set dummy
$ac_prog; ac_word
=$2
4020 echo "$as_me:$LINENO: checking for $ac_word" >&5
4021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4022 if test "${ac_cv_prog_AWK+set}" = set; then
4023 echo $ECHO_N "(cached) $ECHO_C" >&6
4025 if test -n "$AWK"; then
4026 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4032 test -z "$as_dir" && as_dir
=.
4033 for ac_exec_ext
in '' $ac_executable_extensions; do
4034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4035 ac_cv_prog_AWK
="$ac_prog"
4036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4045 if test -n "$AWK"; then
4046 echo "$as_me:$LINENO: result: $AWK" >&5
4047 echo "${ECHO_T}$AWK" >&6
4049 echo "$as_me:$LINENO: result: no" >&5
4050 echo "${ECHO_T}no" >&6
4053 test -n "$AWK" && break
4056 for ac_prog
in jar fastjar
4058 # Extract the first word of "$ac_prog", so it can be a program name with args.
4059 set dummy
$ac_prog; ac_word
=$2
4060 echo "$as_me:$LINENO: checking for $ac_word" >&5
4061 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4062 if test "${ac_cv_prog_JAR+set}" = set; then
4063 echo $ECHO_N "(cached) $ECHO_C" >&6
4065 if test -n "$JAR"; then
4066 ac_cv_prog_JAR
="$JAR" # Let the user override the test.
4068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4072 test -z "$as_dir" && as_dir
=.
4073 for ac_exec_ext
in '' $ac_executable_extensions; do
4074 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4075 ac_cv_prog_JAR
="$ac_prog"
4076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4085 if test -n "$JAR"; then
4086 echo "$as_me:$LINENO: result: $JAR" >&5
4087 echo "${ECHO_T}$JAR" >&6
4089 echo "$as_me:$LINENO: result: no" >&5
4090 echo "${ECHO_T}no" >&6
4093 test -n "$JAR" && break
4095 test -n "$JAR" || JAR
="no"
4097 # Extract the first word of "zip", so it can be a program name with args.
4098 set dummy
zip; ac_word
=$2
4099 echo "$as_me:$LINENO: checking for $ac_word" >&5
4100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4101 if test "${ac_cv_path_ZIP+set}" = set; then
4102 echo $ECHO_N "(cached) $ECHO_C" >&6
4106 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
4109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4113 test -z "$as_dir" && as_dir
=.
4114 for ac_exec_ext
in '' $ac_executable_extensions; do
4115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4116 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
4117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4123 test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP
="no"
4129 if test -n "$ZIP"; then
4130 echo "$as_me:$LINENO: result: $ZIP" >&5
4131 echo "${ECHO_T}$ZIP" >&6
4133 echo "$as_me:$LINENO: result: no" >&5
4134 echo "${ECHO_T}no" >&6
4137 # Extract the first word of "unzip", so it can be a program name with args.
4138 set dummy
unzip; ac_word
=$2
4139 echo "$as_me:$LINENO: checking for $ac_word" >&5
4140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4141 if test "${ac_cv_path_UNZIP+set}" = set; then
4142 echo $ECHO_N "(cached) $ECHO_C" >&6
4146 ac_cv_path_UNZIP
="$UNZIP" # Let the user override the test with a path.
4149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4153 test -z "$as_dir" && as_dir
=.
4154 for ac_exec_ext
in '' $ac_executable_extensions; do
4155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4156 ac_cv_path_UNZIP
="$as_dir/$ac_word$ac_exec_ext"
4157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4163 test -z "$ac_cv_path_UNZIP" && ac_cv_path_UNZIP
="unzip"
4167 UNZIP
=$ac_cv_path_UNZIP
4169 if test -n "$UNZIP"; then
4170 echo "$as_me:$LINENO: result: $UNZIP" >&5
4171 echo "${ECHO_T}$UNZIP" >&6
4173 echo "$as_me:$LINENO: result: no" >&5
4174 echo "${ECHO_T}no" >&6
4179 if test "$JAR" = no
; then
4187 if test "$ZIP" = no
; then
4188 if test "$JAR" = no
; then
4189 { { echo "$as_me:$LINENO: error: cannot find neither zip nor jar, cannot continue" >&5
4190 echo "$as_me: error: cannot find neither zip nor jar, cannot continue" >&2;}
4191 { (exit 1); exit 1; }; }
4194 # InfoZIP available, use the 'guaranteed' Bourne-shell JAR to build libjava
4195 JAR
=`pwd`/scripts
/jar
4198 # Find a good install program. We prefer a C program (faster),
4199 # so one script is as good as another. But avoid the broken or
4200 # incompatible versions:
4201 # SysV /etc/install, /usr/sbin/install
4202 # SunOS /usr/etc/install
4203 # IRIX /sbin/install
4205 # AmigaOS /C/install, which installs bootblocks on floppy discs
4206 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4207 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4208 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4209 # OS/2's system install, which has a completely different semantic
4210 # ./install, which can be erroneously created by make from ./install.sh.
4211 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4212 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4213 if test -z "$INSTALL"; then
4214 if test "${ac_cv_path_install+set}" = set; then
4215 echo $ECHO_N "(cached) $ECHO_C" >&6
4217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4221 test -z "$as_dir" && as_dir
=.
4222 # Account for people who put trailing slashes in PATH elements.
4224 .
/ | .
// |
/cC
/* | \
4225 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4226 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4229 # OSF1 and SCO ODT 3.0 have their own names for install.
4230 # Don't use installbsd from OSF since it installs stuff as root
4232 for ac_prog
in ginstall scoinst
install; do
4233 for ac_exec_ext
in '' $ac_executable_extensions; do
4234 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4235 if test $ac_prog = install &&
4236 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4237 # AIX install. It has an incompatible calling convention.
4239 elif test $ac_prog = install &&
4240 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4241 # program-specific install script used by HP pwplus--don't use.
4244 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4256 if test "${ac_cv_path_install+set}" = set; then
4257 INSTALL
=$ac_cv_path_install
4259 # As a last resort, use the slow shell script. We don't cache a
4260 # path for INSTALL within a source directory, because that will
4261 # break other packages using the cache if that directory is
4262 # removed, or if the path is relative.
4263 INSTALL
=$ac_install_sh
4266 echo "$as_me:$LINENO: result: $INSTALL" >&5
4267 echo "${ECHO_T}$INSTALL" >&6
4269 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4270 # It thinks the first close brace ends the variable substitution.
4271 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4273 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4275 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4278 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4279 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4280 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4281 if test "${enable_maintainer_mode+set}" = set; then
4282 enableval
="$enable_maintainer_mode"
4283 USE_MAINTAINER_MODE
=$enableval
4285 USE_MAINTAINER_MODE
=no
4287 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4288 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4291 if test $USE_MAINTAINER_MODE = yes; then
4292 MAINTAINER_MODE_TRUE
=
4293 MAINTAINER_MODE_FALSE
='#'
4295 MAINTAINER_MODE_TRUE
='#'
4296 MAINTAINER_MODE_FALSE
=
4299 MAINT
=$MAINTAINER_MODE_TRUE
4305 # configure.host sets the following important variables
4306 # libgcj_cflags - host specific C compiler flags
4307 # libgcj_cxxflags - host specific C++ compiler flags
4308 # libgcj_javaflags - host specific Java compiler flags
4314 .
${srcdir}/configure.
host
4316 LIBGCJ_CFLAGS
="${libgcj_cflags}"
4317 LIBGCJ_CXXFLAGS
="${libgcj_cxxflags}"
4318 LIBGCJ_JAVAFLAGS
="${libgcj_javaflags}"
4319 LIBGCJ_LD_SYMBOLIC
="${libgcj_ld_symbolic}"
4325 # Only use libltdl for non-newlib builds.
4326 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
4327 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
4328 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
4330 libname_spec
='lib$name'
4338 shlibpath_overrides_runpath
=unknown
4340 dynamic_linker
="$host_os ld.so"
4341 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
4342 if test "$GCC" = yes; then
4343 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
4344 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
4345 # if the path contains ";" then we assume it to be the separator
4346 # otherwise default to the standard path separator (i.e. ":") - it is
4347 # assumed that no part of a normal pathname contains ";" but that should
4348 # okay in the real world where ";" in dirpaths is itself problematic.
4349 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
4351 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
4354 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
4356 need_lib_prefix
=unknown
4357 hardcode_into_libs
=no
4359 # when you set need_version to no, make sure it does not cause -set_version
4360 # flags to be left without arguments
4361 need_version
=unknown
4366 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
4367 shlibpath_var
=LIBPATH
4369 # AIX 3 has no versioning support, so we append a major version to the name.
4370 soname_spec
='${libname}${release}${shared_ext}$major'
4377 hardcode_into_libs
=yes
4378 if test "$host_cpu" = ia64
; then
4379 # AIX 5 supports IA64
4380 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
4381 shlibpath_var
=LD_LIBRARY_PATH
4383 # With GCC up to 2.95.x, collect2 would create an import file
4384 # for dependence libraries. The import file would start with
4385 # the line `#! .'. This would cause the generated library to
4386 # depend on `.', always an invalid library. This was fixed in
4387 # development snapshots of GCC prior to 3.0.
4389 aix4 | aix4.
[01] | aix4.
[01].
*)
4390 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
4392 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
4399 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
4400 # soname into executable. Probably we can add versioning support to
4401 # collect2, so additional links can be useful in future.
4402 if test "$aix_use_runtimelinking" = yes; then
4403 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
4404 # instead of lib<name>.a to let people know that these are not
4405 # typical AIX shared libraries.
4406 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4408 # We preserve .a as extension for shared libraries through AIX4.2
4409 # and later when we are not doing run time linking.
4410 library_names_spec
='${libname}${release}.a $libname.a'
4411 soname_spec
='${libname}${release}${shared_ext}$major'
4413 shlibpath_var
=LIBPATH
4418 library_names_spec
='$libname.ixlibrary $libname.a'
4419 # Create ${libname}_ixlibrary.a entries in /sys/libs.
4420 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
4424 library_names_spec
='${libname}${shared_ext}'
4425 dynamic_linker
="$host_os ld.so"
4426 shlibpath_var
=LIBRARY_PATH
4432 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4433 soname_spec
='${libname}${release}${shared_ext}$major'
4434 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
4435 shlibpath_var
=LD_LIBRARY_PATH
4436 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
4437 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
4438 # the default ld.so.conf also contains /usr/contrib/lib and
4439 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
4440 # libtool to hard-code these into programs
4443 cygwin
* | mingw
* | pw32
*)
4444 version_type
=windows
4449 case $GCC,$host_os in
4450 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
4451 library_names_spec
='$libname.dll.a'
4452 # DLL is installed to $(libdir)/../bin by postinstall_cmds
4453 postinstall_cmds
='base_file=`basename \${file}`~
4454 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
4455 dldir=$destdir/`dirname \$dlpath`~
4456 test -d \$dldir || mkdir -p \$dldir~
4457 $install_prog $dir/$dlname \$dldir/$dlname'
4458 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
4459 dlpath=$dir/\$dldll~
4461 shlibpath_overrides_runpath
=yes
4465 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
4466 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
4467 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
4470 # MinGW DLLs use traditional 'lib' prefix
4471 soname_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
4472 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
4473 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
4474 # It is most probably a Windows format PATH printed by
4475 # mingw gcc, but we are running on Cygwin. Gcc prints its search
4476 # path with ; separators, and with drive letters. We can handle the
4477 # drive letters (cygwin fileutils understands them), so leave them,
4478 # especially as we might pass files found there to a mingw objdump,
4479 # which wouldn't understand a cygwinified path. Ahh.
4480 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
4482 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
4486 # pw32 DLLs use 'pw' prefix rather than 'lib'
4487 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}${shared_ext}'
4493 library_names_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
4496 dynamic_linker
='Win32 ld.exe'
4497 # FIXME: first we should search . and the directory the executable is in
4501 darwin
* | rhapsody
*)
4502 dynamic_linker
="$host_os dyld"
4506 # FIXME: Relying on posixy $() will cause problems for
4507 # cross-compilation, but unfortunately the echo tests do not
4508 # yet detect zsh echo's removal of \ escapes.
4509 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
4510 soname_spec
='${libname}${release}${major}$shared_ext'
4511 shlibpath_overrides_runpath
=yes
4512 shlibpath_var
=DYLD_LIBRARY_PATH
4513 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
4514 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
4515 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
4516 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
4518 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
4525 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
4526 soname_spec
='${libname}${release}${shared_ext}$major'
4527 shlibpath_var
=LD_LIBRARY_PATH
4535 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
4536 version_type
=freebsd-
$objformat
4537 case $version_type in
4539 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
4544 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
4548 shlibpath_var
=LD_LIBRARY_PATH
4551 shlibpath_overrides_runpath
=yes
4553 freebsd3.01
* | freebsdelf3.01
*)
4554 shlibpath_overrides_runpath
=yes
4555 hardcode_into_libs
=yes
4558 shlibpath_overrides_runpath
=no
4559 hardcode_into_libs
=yes
4568 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
4569 soname_spec
='${libname}${release}${shared_ext}$major'
4570 shlibpath_var
=LD_LIBRARY_PATH
4571 hardcode_into_libs
=yes
4574 hpux9
* | hpux10
* | hpux11
*)
4575 # Give a soname corresponding to the major version so that dld.sl refuses to
4576 # link against other versions.
4583 hardcode_into_libs
=yes
4584 dynamic_linker
="$host_os dld.so"
4585 shlibpath_var
=LD_LIBRARY_PATH
4586 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
4587 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4588 soname_spec
='${libname}${release}${shared_ext}$major'
4589 if test "X$HPUX_IA64_MODE" = X32
; then
4590 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
4592 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
4594 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
4598 hardcode_into_libs
=yes
4599 dynamic_linker
="$host_os dld.sl"
4600 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
4601 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
4602 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4603 soname_spec
='${libname}${release}${shared_ext}$major'
4604 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
4605 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
4609 dynamic_linker
="$host_os dld.sl"
4610 shlibpath_var
=SHLIB_PATH
4611 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
4612 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4613 soname_spec
='${libname}${release}${shared_ext}$major'
4616 # HP-UX runs *really* slowly unless shared libraries are mode 555.
4617 postinstall_cmds
='chmod 555 $lib'
4620 irix5
* | irix6
* | nonstopux
*)
4622 nonstopux
*) version_type
=nonstopux
;;
4624 if test "$lt_cv_prog_gnu_ld" = yes; then
4632 soname_spec
='${libname}${release}${shared_ext}$major'
4633 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
4635 irix5
* | nonstopux
*)
4639 case $LD in # libtool.m4 will add one of these switches to LD
4640 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
4641 libsuff
= shlibsuff
= libmagic
=32-bit;;
4642 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
4643 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
4644 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
4645 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
4646 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
4650 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
4651 shlibpath_overrides_runpath
=no
4652 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
4653 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
4654 hardcode_into_libs
=yes
4657 # No shared lib support for Linux oldld, aout, or coff.
4658 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
4662 # This must be Linux ELF.
4667 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4668 soname_spec
='${libname}${release}${shared_ext}$major'
4669 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
4670 shlibpath_var
=LD_LIBRARY_PATH
4671 shlibpath_overrides_runpath
=no
4672 # This implies no fast_install, which is unacceptable.
4673 # Some rework will be needed to allow for fast_install
4674 # before this can be enabled.
4675 hardcode_into_libs
=yes
4677 # We used to test for /lib/ld.so.1 and disable shared libraries on
4678 # powerpc, because MkLinux only supported shared libraries with the
4679 # GNU dynamic linker. Since this was broken with cross compilers,
4680 # most powerpc-linux boxes support dynamic linking these days and
4681 # people can always --disable-shared, the test was removed, and we
4682 # assume the GNU/Linux dynamic linker is in use.
4683 dynamic_linker
='GNU/Linux ld.so'
4690 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
4691 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4692 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4693 dynamic_linker
='NetBSD (a.out) ld.so'
4695 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
4696 soname_spec
='${libname}${release}${shared_ext}$major'
4697 dynamic_linker
='NetBSD ld.elf_so'
4699 shlibpath_var
=LD_LIBRARY_PATH
4700 shlibpath_overrides_runpath
=yes
4701 hardcode_into_libs
=yes
4706 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4707 shlibpath_var
=LD_LIBRARY_PATH
4708 shlibpath_overrides_runpath
=yes
4715 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4716 soname_spec
='${libname}${release}${shared_ext}$major'
4717 shlibpath_var
=LD_LIBRARY_PATH
4718 shlibpath_overrides_runpath
=yes
4725 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4726 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4727 shlibpath_var
=LD_LIBRARY_PATH
4728 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4730 openbsd2.
[89] | openbsd2.
[89].
*)
4731 shlibpath_overrides_runpath
=no
4734 shlibpath_overrides_runpath
=yes
4738 shlibpath_overrides_runpath
=yes
4743 libname_spec
='$name'
4746 library_names_spec
='$libname${shared_ext} $libname.a'
4747 dynamic_linker
='OS/2 ld.exe'
4748 shlibpath_var
=LIBPATH
4751 osf3
* | osf4
* | osf5
*)
4755 soname_spec
='${libname}${release}${shared_ext}$major'
4756 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4757 shlibpath_var
=LD_LIBRARY_PATH
4758 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
4759 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
4764 soname_spec
='${libname}${release}${shared_ext}$major'
4765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4766 shlibpath_var
=LD_LIBRARY_PATH
4773 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4774 soname_spec
='${libname}${release}${shared_ext}$major'
4775 shlibpath_var
=LD_LIBRARY_PATH
4776 shlibpath_overrides_runpath
=yes
4777 hardcode_into_libs
=yes
4778 # ldd complains unless libraries are executable
4779 postinstall_cmds
='chmod +x $lib'
4784 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4785 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
4786 shlibpath_var
=LD_LIBRARY_PATH
4787 shlibpath_overrides_runpath
=yes
4788 if test "$with_gnu_ld" = yes; then
4794 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
4796 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4797 soname_spec
='${libname}${release}${shared_ext}$major'
4798 shlibpath_var
=LD_LIBRARY_PATH
4799 case $host_vendor in
4801 shlibpath_overrides_runpath
=no
4803 export_dynamic_flag_spec
='${wl}-Blargedynsym'
4804 runpath_var
=LD_RUN_PATH
4812 shlibpath_overrides_runpath
=no
4813 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
4819 if test -d /usr
/nec
;then
4821 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
4822 soname_spec
='$libname${shared_ext}.$major'
4823 shlibpath_var
=LD_LIBRARY_PATH
4829 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4830 soname_spec
='${libname}${release}${shared_ext}$major'
4831 shlibpath_var
=LD_LIBRARY_PATH
4838 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
4839 echo "${ECHO_T}$dynamic_linker" >&6
4840 test "$dynamic_linker" = no
&& can_build_shared
=no
4843 echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
4844 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6
4845 if test "${libltdl_cv_shlibpath_var+set}" = set; then
4846 echo $ECHO_N "(cached) $ECHO_C" >&6
4848 libltdl_cv_shlibpath_var
="$shlibpath_var"
4850 echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
4851 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6
4852 if test -n "$libltdl_cv_shlibpath_var"; then
4854 cat >>confdefs.h
<<_ACEOF
4855 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
4862 ac_config_headers
="$ac_config_headers include/config.h gcj/libgcj-config.h"
4865 # See if the user has requested runtime debugging.
4866 LIBGCJDEBUG
="disable"
4868 # Check whether --enable-libgcj-debug or --disable-libgcj-debug was given.
4869 if test "${enable_libgcj_debug+set}" = set; then
4870 enableval
="$enable_libgcj_debug"
4871 if test "$enable_libgcj_debug" = yes; then
4873 cat >>confdefs.h
<<\_ACEOF
4877 LIBGCJDEBUG
="enable"
4881 # Determine which AWT peer libraries to build
4882 # Check whether --enable-java-awt or --disable-java-awt was given.
4883 if test "${enable_java_awt+set}" = set; then
4884 enableval
="$enable_java_awt"
4888 peerlibs
="`echo ${enable_java_awt} | tr ',' ' '`"
4892 # The default toolkit to use is the first one specified.
4896 for peer
in $peerlibs ; do
4899 if test "$no_x" = yes; then
4900 echo "*** xlib peers requested but no X library available" 1>&2
4904 if test -z "$TOOLKIT"; then
4905 TOOLKIT
=gnu.awt.xlib.XToolkit
4910 if test "$no_x" = yes; then
4911 echo "*** gtk peers requested but no X library available" 1>&2
4915 if test -z "$TOOLKIT"; then
4916 TOOLKIT
=gnu.java.awt.peer.gtk.GtkToolkit
4921 if test "$no_x" = yes; then
4922 # Perhaps we should admit the possibility of embedded Qt.
4923 echo "*** Qt peers requested but no X library available" 1>&2
4927 if test -z "$TOOLKIT"; then
4928 TOOLKIT
=gnu.java.awt.peer.qt.QtToolkit
4939 echo "*** unrecognised argument \"${peer}\" for --enable-java-awt" 1>&2
4946 if test "$use_xlib_awt" = yes; then
4955 # Create standard.omit based on decisions we just made.
4956 cp $srcdir/standard.omit.
in standard.omit
4957 if test "$use_xlib_awt" != yes; then
4958 echo gnu
/awt
/xlib
>> standard.omit
4959 echo gnu
/gcj
/xlib
>> standard.omit
4962 if test -z "${with_multisubdir}"; then
4965 builddotdot
=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`
4970 # Which gcj do we use?
4972 built_gcc_dir
="`cd ${builddotdot}/../../${host_subdir}/gcc && ${PWDCMD-pwd}`"
4973 if test -n "${with_cross_host}"; then
4974 # We are being configured with a cross compiler. We can't
4975 # use ac_exeext, because that is for the target platform.
4978 case "${with_cross_host}" in
4980 cross_host_exeext
=.exe
4983 if test -x "${built_gcc_dir}/gcj${cross_host_exeext}"; then
4984 if test x
"$build_noncanonical" = x
"$with_cross_host"; then
4985 # Ordinary cross (host!=target and host=build)
4988 # Canadian cross (host!=target and host!=build)
4995 # We are being configured with a native or crossed-native compiler
4996 if test -x "${built_gcc_dir}/gcj${ac_exeext}"; then
4997 if test x
"$build" = x
"$host"; then
4998 # True native build (host=target and host=build)
5001 # Crossed-native build (host=target and host!=build)
5008 case "${which_gcj}" in
5010 GCJ
="$built_gcc_dir/gcj -B`${PWDCMD-pwd}`/ -B$built_gcc_dir/"
5011 GCJH
='$(top_builddir)/$(MULTIBUILDTOP)../../$(host_subdir)/gcc/gcjh'
5014 if test "x${with_newlib}" = "xyes"; then
5015 # FIXME (comment): Why is this needed?
5017 GCJ
="${target_noncanonical}-gcj"
5019 GCJ
="${target_noncanonical}-gcj -B`${PWDCMD-pwd}`/"
5021 GCJH
='$(target_noncanonical)-gcjh'
5024 GCJ
="gcj -B`${PWDCMD-pwd}`/"
5031 # Create it, so that compile/link tests don't fail
5032 test -f libgcj.spec ||
touch libgcj.spec
5036 # Set up to configure Classpath.
5037 # FIXME: no supported way to pass args in autoconf.
5038 ac_configure_args
="$ac_configure_args --with-fastjar=$JAR"
5039 ac_configure_args
="$ac_configure_args --enable-tool-wrappers"
5040 ac_configure_args
="$ac_configure_args --disable-load-library"
5041 ac_configure_args
="$ac_configure_args --${LIBGCJDEBUG}-debug"
5042 ac_configure_args
="$ac_configure_args --enable-default-toolkit=$TOOLKIT"
5043 dir1
=`cd $srcdir && pwd`
5045 ac_configure_args
="$ac_configure_args --with-vm-classes=$dir1:$dir2"
5046 ac_configure_args
="$ac_configure_args --disable-core-jni"
5047 ac_configure_args
="$ac_configure_args --disable-examples"
5048 ac_configure_args
="$ac_configure_args --with-glibj=build"
5049 if test "$plugin_enabled" != yes; then
5050 ac_configure_args
="$ac_configure_args --disable-plugin"
5052 if test "$gconf_enabled" != yes; then
5053 ac_configure_args
="$ac_configure_args --disable-gconf-peer"
5054 ac_configure_args
="$ac_configure_args --enable-default-preferences-peer=gnu.java.util.prefs.FileBasedFactory"
5056 if test "$use_gtk_awt" != yes; then
5057 ac_configure_args
="$ac_configure_args --disable-gtk-peer"
5059 if test "$use_qt_awt" != yes; then
5060 ac_configure_args
="$ac_configure_args --disable-qt-peer"
5062 # We need this as qt is disabled by default in classpath.
5063 ac_configure_args
="$ac_configure_args --enable-qt-peer"
5066 # Only use libltdl for non-newlib builds.
5067 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
5068 case $enable_ltdl_convenience in
5069 no
) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
5070 echo "$as_me: error: this package needs a convenience libltdl" >&2;}
5071 { (exit 1); exit 1; }; } ;;
5072 "") enable_ltdl_convenience
=yes
5073 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
5075 LIBLTDL
='${top_builddir}/''libltdl'/libltdlc.la
5076 INCLTDL
='-I${top_srcdir}/''libltdl'
5081 cat >>confdefs.h
<<\_ACEOF
5085 # Sigh. Libtool's macro doesn't do the right thing.
5086 INCLTDL
="-I\$(top_srcdir)/libltdl $INCLTDL"
5087 # FIXME: this is a hack.
5088 sub_auxdir
="`cd $ac_aux_dir && ${PWDCMD-pwd}`"
5089 ac_configure_args
="$ac_configure_args --with-auxdir=$sub_auxdir"
5094 # Check whether --enable-shared or --disable-shared was given.
5095 if test "${enable_shared+set}" = set; then
5096 enableval
="$enable_shared"
5097 p
=${PACKAGE-default}
5099 yes) enable_shared
=yes ;;
5100 no
) enable_shared
=no
;;
5103 # Look at the argument we got. We use all the common list separators.
5104 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5105 for pkg
in $enableval; do
5106 if test "X$pkg" = "X$p"; then
5116 # Check whether --enable-static or --disable-static was given.
5117 if test "${enable_static+set}" = set; then
5118 enableval
="$enable_static"
5119 p
=${PACKAGE-default}
5121 yes) enable_static
=yes ;;
5122 no
) enable_static
=no
;;
5125 # Look at the argument we got. We use all the common list separators.
5126 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5127 for pkg
in $enableval; do
5128 if test "X$pkg" = "X$p"; then
5138 # Check whether --enable-fast-install or --disable-fast-install was given.
5139 if test "${enable_fast_install+set}" = set; then
5140 enableval
="$enable_fast_install"
5141 p
=${PACKAGE-default}
5143 yes) enable_fast_install
=yes ;;
5144 no
) enable_fast_install
=no
;;
5146 enable_fast_install
=no
5147 # Look at the argument we got. We use all the common list separators.
5148 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5149 for pkg
in $enableval; do
5150 if test "X$pkg" = "X$p"; then
5151 enable_fast_install
=yes
5158 enable_fast_install
=yes
5161 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5162 if test "${with_gnu_ld+set}" = set; then
5163 withval
="$with_gnu_ld"
5164 test "$withval" = no || with_gnu_ld
=yes
5169 if test "$GCC" = yes; then
5170 # Check if gcc -print-prog-name=ld gives a path.
5171 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5172 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5175 # gcc leaves a trailing carriage return which upsets mingw
5176 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5178 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5181 # Accept absolute paths.
5182 [\\/]* |
[A-Za-z
]:[\\/]*)
5183 re_direlt
='/[^/][^/]*/\.\./'
5184 # Canonicalize the path of ld
5185 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5186 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5187 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5189 test -z "$LD" && LD
="$ac_prog"
5192 # If it fails, then pretend we aren't using GCC.
5196 # If it is relative, then search for the first ld in PATH.
5200 elif test "$with_gnu_ld" = yes; then
5201 echo "$as_me:$LINENO: checking for GNU ld" >&5
5202 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5204 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5205 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5207 if test "${lt_cv_path_LD+set}" = set; then
5208 echo $ECHO_N "(cached) $ECHO_C" >&6
5210 if test -z "$LD"; then
5211 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5212 for ac_dir
in $PATH; do
5213 test -z "$ac_dir" && ac_dir
=.
5214 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5215 lt_cv_path_LD
="$ac_dir/$ac_prog"
5216 # Check to see if the program is GNU ld. I'd rather use --version,
5217 # but apparently some GNU ld's only accept -v.
5218 # Break only if it was the GNU/non-GNU ld that we prefer.
5219 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
5220 test "$with_gnu_ld" != no
&& break
5222 test "$with_gnu_ld" != yes && break
5228 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5233 if test -n "$LD"; then
5234 echo "$as_me:$LINENO: result: $LD" >&5
5235 echo "${ECHO_T}$LD" >&6
5237 echo "$as_me:$LINENO: result: no" >&5
5238 echo "${ECHO_T}no" >&6
5240 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5241 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5242 { (exit 1); exit 1; }; }
5243 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5244 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5245 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5246 echo $ECHO_N "(cached) $ECHO_C" >&6
5248 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5249 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5250 lt_cv_prog_gnu_ld
=yes
5252 lt_cv_prog_gnu_ld
=no
5255 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5256 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5257 with_gnu_ld
=$lt_cv_prog_gnu_ld
5260 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5261 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5262 if test "${lt_cv_ld_reload_flag+set}" = set; then
5263 echo $ECHO_N "(cached) $ECHO_C" >&6
5265 lt_cv_ld_reload_flag
='-r'
5267 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5268 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5269 reload_flag
=$lt_cv_ld_reload_flag
5270 test -n "$reload_flag" && reload_flag
=" $reload_flag"
5272 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5273 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5274 if test "${lt_cv_path_NM+set}" = set; then
5275 echo $ECHO_N "(cached) $ECHO_C" >&6
5277 if test -n "$NM"; then
5278 # Let the user override the test.
5281 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5282 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
5283 test -z "$ac_dir" && ac_dir
=.
5284 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
5285 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
5286 # Check to see if the nm accepts a BSD-compat flag.
5287 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5288 # nm: unknown option "B" ignored
5289 # Tru64's nm complains that /dev/null is an invalid object file
5290 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
5291 lt_cv_path_NM
="$tmp_nm -B"
5293 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
5294 lt_cv_path_NM
="$tmp_nm -p"
5297 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5298 continue # so that we can try to find one that supports BSD flags
5303 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
5308 echo "$as_me:$LINENO: result: $NM" >&5
5309 echo "${ECHO_T}$NM" >&6
5311 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
5312 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
5313 if test "${lt_cv_deplibs_check_method+set}" = set; then
5314 echo $ECHO_N "(cached) $ECHO_C" >&6
5316 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5317 lt_cv_file_magic_test_file
=
5318 lt_cv_deplibs_check_method
='unknown'
5319 # Need to set the preceding variable on all platforms that support
5320 # interlibrary dependencies.
5321 # 'none' -- dependencies not supported.
5322 # `unknown' -- same as none, but documents that we really don't know.
5323 # 'pass_all' -- all dependencies passed with no checks.
5324 # 'test_compile' -- check by making test program.
5325 # 'file_magic [regex]' -- check by looking for files in library path
5326 # which responds to the $file_magic_cmd with a given egrep regex.
5327 # If you have `file' or equivalent on your system and you're not sure
5328 # whether `pass_all' will *always* work, you probably want this one.
5332 lt_cv_deplibs_check_method
=pass_all
5336 lt_cv_deplibs_check_method
=pass_all
5340 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5341 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5342 lt_cv_file_magic_test_file
=/shlib
/libc.so
5345 cygwin
* | mingw
* |pw32
*)
5346 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5347 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5350 darwin
* | rhapsody
*)
5351 # this will be overwritten by pass_all, but leave it in just in case
5352 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
5353 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5355 rhapsody
* | darwin1.012
)
5356 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
5359 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
5362 lt_cv_deplibs_check_method
=pass_all
5365 freebsd
* | kfreebsd
*-gnu)
5366 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5369 # Not sure whether the presence of OpenBSD here was a mistake.
5370 # Let's accept both of them until this is cleared up.
5371 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5372 lt_cv_file_magic_cmd
=/usr
/bin
/file
5373 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5377 lt_cv_deplibs_check_method
=pass_all
5382 lt_cv_deplibs_check_method
=pass_all
5388 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5389 lt_cv_file_magic_cmd
=/usr
/bin
/file
5390 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5393 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5394 lt_cv_file_magic_cmd
=/usr
/bin
/file
5395 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5403 # this will be overridden with pass_all, but let us keep it just in case
5404 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5408 *-32|
*"-32 ") libmagic
=32-bit;;
5409 *-n32|
*"-n32 ") libmagic
=N32
;;
5410 *-64|
*"-64 ") libmagic
=64-bit;;
5411 *) libmagic
=never-match
;;
5413 # this will be overridden with pass_all, but let us keep it just in case
5414 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5417 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
5418 lt_cv_deplibs_check_method
=pass_all
5421 # This must be Linux ELF.
5423 lt_cv_deplibs_check_method
=pass_all
5426 netbsd
* | knetbsd
*-gnu)
5427 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5428 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
5430 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
5435 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5436 lt_cv_file_magic_cmd
=/usr
/bin
/file
5437 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5440 osf3
* | osf4
* | osf5
*)
5441 # this will be overridden with pass_all, but let us keep it just in case
5442 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
5443 lt_cv_file_magic_test_file
=/shlib
/libc.so
5444 lt_cv_deplibs_check_method
=pass_all
5448 lt_cv_deplibs_check_method
=pass_all
5452 lt_cv_deplibs_check_method
=pass_all
5453 lt_cv_file_magic_test_file
=/lib
/libc.so
5456 sysv5uw
[78]* | sysv4
*uw2
*)
5457 lt_cv_deplibs_check_method
=pass_all
5460 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
5461 case $host_vendor in
5463 lt_cv_deplibs_check_method
=pass_all
5466 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]'
5467 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5474 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5475 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5476 file_magic_cmd
=$lt_cv_file_magic_cmd
5477 deplibs_check_method
=$lt_cv_deplibs_check_method
5482 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5484 # find the maximum length of command line arguments
5485 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5486 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5487 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5488 echo $ECHO_N "(cached) $ECHO_C" >&6
5495 # On DJGPP, this test can blow up pretty badly due to problems in libc
5496 # (any single argument exceeding 2000 bytes causes a buffer overrun
5497 # during glob expansion). Even if it were fixed, the result of this
5498 # check would be larger than it should be.
5499 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5503 # On Win9x/ME, this test blows up -- it succeeds, but takes
5504 # about 5 minutes as the teststring grows exponentially.
5505 # Worse, since 9x/ME are not pre-emptively multitasking,
5506 # you end up with a "frozen" computer, even though with patience
5507 # the test eventually succeeds (with a max line length of 256k).
5508 # Instead, let's just punt: use the minimum linelength reported by
5509 # all of the supported platforms: 8192 (on NT/2K/XP).
5510 lt_cv_sys_max_cmd_len
=8192;
5514 # On AmigaOS with pdksh, this test takes hours, literally.
5515 # So we just punt and use a minimum line length of 8192.
5516 lt_cv_sys_max_cmd_len
=8192;
5519 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5520 # This has been around since 386BSD, at least. Likely further.
5521 if test -x /sbin
/sysctl
; then
5522 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5523 elif test -x /usr
/sbin
/sysctl
; then
5524 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5526 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
5528 # And add a safety zone
5529 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5530 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5536 if test -n "$lt_cv_sys_max_cmd_len" ; then
5537 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5538 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5540 echo "$as_me:$LINENO: result: none" >&5
5541 echo "${ECHO_T}none" >&6
5545 # Only perform the check for file, if the check method requires it
5546 case $deplibs_check_method in
5548 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5549 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5550 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5551 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5552 echo $ECHO_N "(cached) $ECHO_C" >&6
5556 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5559 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5562 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5563 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5564 ac_dummy
="/usr/bin:$PATH"
5565 for ac_dir
in $ac_dummy; do
5566 test -z "$ac_dir" && ac_dir
=.
5567 if test -f $ac_dir/${ac_tool_prefix}file; then
5568 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
5569 if test -n "$file_magic_test_file"; then
5570 case $deplibs_check_method in
5572 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5573 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5574 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5575 egrep "$file_magic_regex" > /dev
/null
; then
5580 *** Warning: the command libtool uses to detect shared libraries,
5581 *** $file_magic_cmd, produces output that libtool cannot recognize.
5582 *** The result is that libtool may fail to recognize shared libraries
5583 *** as such. This will affect the creation of libtool libraries that
5584 *** depend on shared libraries, but programs linked with such libtool
5585 *** libraries will work regardless of this problem. Nevertheless, you
5586 *** may want to report the problem to your system manager and/or to
5587 *** bug-libtool@gnu.org
5597 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5602 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5603 if test -n "$MAGIC_CMD"; then
5604 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5605 echo "${ECHO_T}$MAGIC_CMD" >&6
5607 echo "$as_me:$LINENO: result: no" >&5
5608 echo "${ECHO_T}no" >&6
5611 if test -z "$lt_cv_path_MAGIC_CMD"; then
5612 if test -n "$ac_tool_prefix"; then
5613 echo "$as_me:$LINENO: checking for file" >&5
5614 echo $ECHO_N "checking for file... $ECHO_C" >&6
5615 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5616 echo $ECHO_N "(cached) $ECHO_C" >&6
5620 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5623 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5626 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5627 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5628 ac_dummy
="/usr/bin:$PATH"
5629 for ac_dir
in $ac_dummy; do
5630 test -z "$ac_dir" && ac_dir
=.
5631 if test -f $ac_dir/file; then
5632 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
5633 if test -n "$file_magic_test_file"; then
5634 case $deplibs_check_method in
5636 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5637 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5638 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5639 egrep "$file_magic_regex" > /dev
/null
; then
5644 *** Warning: the command libtool uses to detect shared libraries,
5645 *** $file_magic_cmd, produces output that libtool cannot recognize.
5646 *** The result is that libtool may fail to recognize shared libraries
5647 *** as such. This will affect the creation of libtool libraries that
5648 *** depend on shared libraries, but programs linked with such libtool
5649 *** libraries will work regardless of this problem. Nevertheless, you
5650 *** may want to report the problem to your system manager and/or to
5651 *** bug-libtool@gnu.org
5661 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5666 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5667 if test -n "$MAGIC_CMD"; then
5668 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5669 echo "${ECHO_T}$MAGIC_CMD" >&6
5671 echo "$as_me:$LINENO: result: no" >&5
5672 echo "${ECHO_T}no" >&6
5684 if test -n "$ac_tool_prefix"; then
5685 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5686 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5687 echo "$as_me:$LINENO: checking for $ac_word" >&5
5688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5689 if test "${ac_cv_prog_RANLIB+set}" = set; then
5690 echo $ECHO_N "(cached) $ECHO_C" >&6
5692 if test -n "$RANLIB"; then
5693 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5699 test -z "$as_dir" && as_dir
=.
5700 for ac_exec_ext
in '' $ac_executable_extensions; do
5701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5702 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5711 RANLIB
=$ac_cv_prog_RANLIB
5712 if test -n "$RANLIB"; then
5713 echo "$as_me:$LINENO: result: $RANLIB" >&5
5714 echo "${ECHO_T}$RANLIB" >&6
5716 echo "$as_me:$LINENO: result: no" >&5
5717 echo "${ECHO_T}no" >&6
5721 if test -z "$ac_cv_prog_RANLIB"; then
5722 ac_ct_RANLIB
=$RANLIB
5723 # Extract the first word of "ranlib", so it can be a program name with args.
5724 set dummy ranlib
; ac_word
=$2
5725 echo "$as_me:$LINENO: checking for $ac_word" >&5
5726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5727 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5728 echo $ECHO_N "(cached) $ECHO_C" >&6
5730 if test -n "$ac_ct_RANLIB"; then
5731 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5737 test -z "$as_dir" && as_dir
=.
5738 for ac_exec_ext
in '' $ac_executable_extensions; do
5739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5740 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5747 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5750 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5751 if test -n "$ac_ct_RANLIB"; then
5752 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5753 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5755 echo "$as_me:$LINENO: result: no" >&5
5756 echo "${ECHO_T}no" >&6
5759 RANLIB
=$ac_ct_RANLIB
5761 RANLIB
="$ac_cv_prog_RANLIB"
5764 if test -n "$ac_tool_prefix"; then
5765 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5766 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5767 echo "$as_me:$LINENO: checking for $ac_word" >&5
5768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5769 if test "${ac_cv_prog_STRIP+set}" = set; then
5770 echo $ECHO_N "(cached) $ECHO_C" >&6
5772 if test -n "$STRIP"; then
5773 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5779 test -z "$as_dir" && as_dir
=.
5780 for ac_exec_ext
in '' $ac_executable_extensions; do
5781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5782 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5791 STRIP
=$ac_cv_prog_STRIP
5792 if test -n "$STRIP"; then
5793 echo "$as_me:$LINENO: result: $STRIP" >&5
5794 echo "${ECHO_T}$STRIP" >&6
5796 echo "$as_me:$LINENO: result: no" >&5
5797 echo "${ECHO_T}no" >&6
5801 if test -z "$ac_cv_prog_STRIP"; then
5803 # Extract the first word of "strip", so it can be a program name with args.
5804 set dummy strip
; ac_word
=$2
5805 echo "$as_me:$LINENO: checking for $ac_word" >&5
5806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5807 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5808 echo $ECHO_N "(cached) $ECHO_C" >&6
5810 if test -n "$ac_ct_STRIP"; then
5811 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5817 test -z "$as_dir" && as_dir
=.
5818 for ac_exec_ext
in '' $ac_executable_extensions; do
5819 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5820 ac_cv_prog_ac_ct_STRIP
="strip"
5821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5827 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
5830 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5831 if test -n "$ac_ct_STRIP"; then
5832 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5833 echo "${ECHO_T}$ac_ct_STRIP" >&6
5835 echo "$as_me:$LINENO: result: no" >&5
5836 echo "${ECHO_T}no" >&6
5841 STRIP
="$ac_cv_prog_STRIP"
5845 # Check for any special flags to pass to ltconfig.
5846 libtool_flags
="--cache-file=$cache_file"
5847 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
5848 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
5849 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
5850 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
5851 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
5854 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5855 if test "${enable_libtool_lock+set}" = set; then
5856 enableval
="$enable_libtool_lock"
5859 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
5860 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
5863 # Check whether --with-pic or --without-pic was given.
5864 if test "${with_pic+set}" = set; then
5870 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
5871 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
5873 # Some flags need to be propagated to the compiler or linker for good
5877 # Find out which ABI we are using.
5878 echo '#line 5878 "configure"' > conftest.
$ac_ext
5879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5880 (eval $ac_compile) 2>&5
5882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5883 (exit $ac_status); }; then
5884 if test "$lt_cv_prog_gnu_ld" = yes; then
5885 case `/usr/bin/file conftest.$ac_objext` in
5887 LD
="${LD-ld} -melf32bsmip"
5890 LD
="${LD-ld} -melf32bmipn32"
5893 LD
="${LD-ld} -melf64bmip"
5897 case `/usr/bin/file conftest.$ac_objext` in
5914 # Find out which ABI we are using.
5915 echo 'int i;' > conftest.
$ac_ext
5916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5917 (eval $ac_compile) 2>&5
5919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5920 (exit $ac_status); }; then
5921 case "`/usr/bin/file conftest.o`" in
5933 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
5934 # Find out which ABI we are using.
5935 echo 'int i;' > conftest.
$ac_ext
5936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5937 (eval $ac_compile) 2>&5
5939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5940 (exit $ac_status); }; then
5941 case "`/usr/bin/file conftest.o`" in
5945 LD
="${LD-ld} -m elf_i386"
5947 ppc64-
*linux
*|powerpc64-
*linux
*)
5948 LD
="${LD-ld} -m elf32ppclinux"
5951 LD
="${LD-ld} -m elf_s390"
5954 LD
="${LD-ld} -m elf32_sparc"
5961 LD
="${LD-ld} -m elf_x86_64"
5963 ppc
*-*linux
*|powerpc
*-*linux
*)
5964 LD
="${LD-ld} -m elf64ppc"
5967 LD
="${LD-ld} -m elf64_s390"
5970 LD
="${LD-ld} -m elf64_sparc"
5980 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5981 SAVE_CFLAGS
="$CFLAGS"
5982 CFLAGS
="$CFLAGS -belf"
5983 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5984 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5985 if test "${lt_cv_cc_needs_belf+set}" = set; then
5986 echo $ECHO_N "(cached) $ECHO_C" >&6
5991 ac_cpp
='$CPP $CPPFLAGS'
5992 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5993 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5994 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5996 if test x
$gcc_no_link = xyes
; then
5997 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5999 { (exit 1); exit 1; }; }
6001 cat >conftest.
$ac_ext <<_ACEOF
6004 cat confdefs.h
>>conftest.
$ac_ext
6005 cat >>conftest.
$ac_ext <<_ACEOF
6006 /* end confdefs.h. */
6016 rm -f conftest.
$ac_objext conftest
$ac_exeext
6017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6018 (eval $ac_link) 2>conftest.er1
6020 grep -v '^ *+' conftest.er1
>conftest.err
6022 cat conftest.err
>&5
6023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6024 (exit $ac_status); } &&
6025 { ac_try
='test -z "$ac_c_werror_flag"
6026 || test ! -s conftest.err'
6027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031 (exit $ac_status); }; } &&
6032 { ac_try
='test -s conftest$ac_exeext'
6033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6037 (exit $ac_status); }; }; then
6038 lt_cv_cc_needs_belf
=yes
6040 echo "$as_me: failed program was:" >&5
6041 sed 's/^/| /' conftest.
$ac_ext >&5
6043 lt_cv_cc_needs_belf
=no
6045 rm -f conftest.err conftest.
$ac_objext \
6046 conftest
$ac_exeext conftest.
$ac_ext
6048 ac_cpp
='$CPP $CPPFLAGS'
6049 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6050 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6051 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6054 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6055 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6056 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6057 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6058 CFLAGS
="$SAVE_CFLAGS"
6066 # Save cache, so that ltconfig can load it
6067 cat >confcache
<<\_ACEOF
6068 # This file is a shell script that caches the results of configure
6069 # tests run on this system so they can be shared between configure
6070 # scripts and configure runs, see configure's option --config-cache.
6071 # It is not useful on other systems. If it contains results you don't
6072 # want to keep, you may remove or edit it.
6074 # config.status only pays attention to the cache file if you give it
6075 # the --recheck option to rerun configure.
6077 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6078 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6083 # The following way of writing the cache mishandles newlines in values,
6084 # but we know of no workaround that is simple, portable, and efficient.
6085 # So, don't put newlines in cache variables' values.
6086 # Ultrix sh set writes to stderr and can't be redirected directly,
6087 # and sets the high bit in the cache file unless we assign to the vars.
6090 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6092 # `set' does not quote correctly, so add quotes (double-quote
6093 # substitution turns \\\\ into \\, and sed turns \\ into \).
6096 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6099 # `set' quotes correctly as required by POSIX, so do not add quotes.
6101 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6108 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6110 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6112 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6113 if test -w $cache_file; then
6114 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6115 cat confcache
>$cache_file
6117 echo "not updating unwritable cache $cache_file"
6122 # Actually configure libtool. ac_aux_dir is where install-sh is found.
6123 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
6124 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
6125 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
6126 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
6127 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
6128 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
6129 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
6130 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
6131 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
6132 echo "$as_me: error: libtool configure failed" >&2;}
6133 { (exit 1); exit 1; }; }
6135 # Reload cache, that may have been modified by ltconfig
6136 if test -r "$cache_file"; then
6137 # Some versions of bash will fail to source /dev/null (special
6138 # files actually), so we avoid doing that.
6139 if test -f "$cache_file"; then
6140 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
6141 echo "$as_me: loading cache $cache_file" >&6;}
6143 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
6144 *) . .
/$cache_file;;
6148 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
6149 echo "$as_me: creating cache $cache_file" >&6;}
6154 # This can be used to rebuild libtool when needed
6155 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
6157 # Always use our own libtool.
6158 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6160 # Redirect the config.log output again, so that the ltconfig log is not
6161 # clobbered by the next message.
6162 exec 5>>.
/config.log
6165 ac_cpp
='$CXXCPP $CPPFLAGS'
6166 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6167 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6168 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6169 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6170 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6171 if test -z "$CXXCPP"; then
6172 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6173 echo $ECHO_N "(cached) $ECHO_C" >&6
6175 # Double quotes because CXXCPP needs to be expanded
6176 for CXXCPP
in "$CXX -E" "/lib/cpp"
6179 for ac_cxx_preproc_warn_flag
in '' yes
6181 # Use a header file that comes with gcc, so configuring glibc
6182 # with a fresh cross-compiler works.
6183 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6184 # <limits.h> exists even on freestanding compilers.
6185 # On the NeXT, cc -E runs the code through the compiler's parser,
6186 # not just through cpp. "Syntax error" is here to catch this case.
6187 cat >conftest.
$ac_ext <<_ACEOF
6190 cat confdefs.h
>>conftest.
$ac_ext
6191 cat >>conftest.
$ac_ext <<_ACEOF
6192 /* end confdefs.h. */
6194 # include <limits.h>
6196 # include <assert.h>
6200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6201 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6203 grep -v '^ *+' conftest.er1
>conftest.err
6205 cat conftest.err
>&5
6206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6207 (exit $ac_status); } >/dev
/null
; then
6208 if test -s conftest.err
; then
6209 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6210 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6217 if test -z "$ac_cpp_err"; then
6220 echo "$as_me: failed program was:" >&5
6221 sed 's/^/| /' conftest.
$ac_ext >&5
6223 # Broken: fails on valid input.
6226 rm -f conftest.err conftest.
$ac_ext
6228 # OK, works on sane cases. Now check whether non-existent headers
6229 # can be detected and how.
6230 cat >conftest.
$ac_ext <<_ACEOF
6233 cat confdefs.h
>>conftest.
$ac_ext
6234 cat >>conftest.
$ac_ext <<_ACEOF
6235 /* end confdefs.h. */
6236 #include <ac_nonexistent.h>
6238 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6239 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6241 grep -v '^ *+' conftest.er1
>conftest.err
6243 cat conftest.err
>&5
6244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6245 (exit $ac_status); } >/dev
/null
; then
6246 if test -s conftest.err
; then
6247 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6248 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6255 if test -z "$ac_cpp_err"; then
6256 # Broken: success on invalid input.
6259 echo "$as_me: failed program was:" >&5
6260 sed 's/^/| /' conftest.
$ac_ext >&5
6262 # Passes both tests.
6266 rm -f conftest.err conftest.
$ac_ext
6269 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6270 rm -f conftest.err conftest.
$ac_ext
6271 if $ac_preproc_ok; then
6276 ac_cv_prog_CXXCPP
=$CXXCPP
6279 CXXCPP
=$ac_cv_prog_CXXCPP
6281 ac_cv_prog_CXXCPP
=$CXXCPP
6283 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6284 echo "${ECHO_T}$CXXCPP" >&6
6286 for ac_cxx_preproc_warn_flag
in '' yes
6288 # Use a header file that comes with gcc, so configuring glibc
6289 # with a fresh cross-compiler works.
6290 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6291 # <limits.h> exists even on freestanding compilers.
6292 # On the NeXT, cc -E runs the code through the compiler's parser,
6293 # not just through cpp. "Syntax error" is here to catch this case.
6294 cat >conftest.
$ac_ext <<_ACEOF
6297 cat confdefs.h
>>conftest.
$ac_ext
6298 cat >>conftest.
$ac_ext <<_ACEOF
6299 /* end confdefs.h. */
6301 # include <limits.h>
6303 # include <assert.h>
6307 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6308 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6310 grep -v '^ *+' conftest.er1
>conftest.err
6312 cat conftest.err
>&5
6313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6314 (exit $ac_status); } >/dev
/null
; then
6315 if test -s conftest.err
; then
6316 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6317 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6324 if test -z "$ac_cpp_err"; then
6327 echo "$as_me: failed program was:" >&5
6328 sed 's/^/| /' conftest.
$ac_ext >&5
6330 # Broken: fails on valid input.
6333 rm -f conftest.err conftest.
$ac_ext
6335 # OK, works on sane cases. Now check whether non-existent headers
6336 # can be detected and how.
6337 cat >conftest.
$ac_ext <<_ACEOF
6340 cat confdefs.h
>>conftest.
$ac_ext
6341 cat >>conftest.
$ac_ext <<_ACEOF
6342 /* end confdefs.h. */
6343 #include <ac_nonexistent.h>
6345 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6346 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6348 grep -v '^ *+' conftest.er1
>conftest.err
6350 cat conftest.err
>&5
6351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6352 (exit $ac_status); } >/dev
/null
; then
6353 if test -s conftest.err
; then
6354 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6355 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6362 if test -z "$ac_cpp_err"; then
6363 # Broken: success on invalid input.
6366 echo "$as_me: failed program was:" >&5
6367 sed 's/^/| /' conftest.
$ac_ext >&5
6369 # Passes both tests.
6373 rm -f conftest.err conftest.
$ac_ext
6376 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6377 rm -f conftest.err conftest.
$ac_ext
6378 if $ac_preproc_ok; then
6381 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6382 See \`config.log' for more details." >&5
6383 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6384 See \`config.log' for more details." >&2;}
6385 { (exit 1); exit 1; }; }
6389 ac_cpp
='$CPP $CPPFLAGS'
6390 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6391 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6392 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6396 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
6398 lt_save_CFLAGS
="$CFLAGS"
6399 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
6400 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
6401 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
6402 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
6403 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
6404 deplibs_check_method
="$deplibs_check_method" \
6405 file_magic_cmd
="$file_magic_cmd" \
6406 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
6407 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
6408 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
6409 echo "$as_me: error: libtool tag configuration failed" >&2;}
6410 { (exit 1); exit 1; }; }
6412 CFLAGS
="$lt_save_CFLAGS"
6414 # Redirect the config.log output again, so that the ltconfig log is not
6415 # clobbered by the next message.
6416 exec 5>>.
/config.log
6426 # Extract the first word of "$ac_prog", so it can be a program name with args.
6427 set dummy
$ac_prog; ac_word
=$2
6428 echo "$as_me:$LINENO: checking for $ac_word" >&5
6429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6430 if test "${ac_cv_prog_GCJ+set}" = set; then
6431 echo $ECHO_N "(cached) $ECHO_C" >&6
6433 if test -n "$GCJ"; then
6434 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
6436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6440 test -z "$as_dir" && as_dir
=.
6441 for ac_exec_ext
in '' $ac_executable_extensions; do
6442 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6443 ac_cv_prog_GCJ
="$ac_prog"
6444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6453 if test -n "$GCJ"; then
6454 echo "$as_me:$LINENO: result: $GCJ" >&5
6455 echo "${ECHO_T}$GCJ" >&6
6457 echo "$as_me:$LINENO: result: no" >&5
6458 echo "${ECHO_T}no" >&6
6461 test -n "$GCJ" && break
6463 test -n "$GCJ" || GCJ
="gcj"
6465 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
6466 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
6467 { (exit 1); exit 1; }; }
6468 if test "x${GCJFLAGS-unset}" = xunset
; then
6473 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
6475 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6476 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6477 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
6478 echo $ECHO_N "(cached) $ECHO_C" >&6
6480 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6481 # We make a subdir and do the tests there. Otherwise we can end up
6482 # making bogus files that we don't know about and never remove. For
6483 # instance it was reported that on HP-UX the gcc test will end up
6484 # making a dummy file named `D' -- because `-MD' means `put the output
6487 # Copy depcomp to subdir because otherwise we won't find it if we're
6488 # using a relative directory.
6489 cp "$am_depcomp" conftest.dir
6491 # We will build objects and dependencies in a subdirectory because
6492 # it helps to detect inapplicable dependency modes. For instance
6493 # both Tru64's cc and ICC support -MD to output dependencies as a
6494 # side effect of compilation, but ICC will put the dependencies in
6495 # the current directory while Tru64 will put them in the object
6499 am_cv_GCJ_dependencies_compiler_type
=none
6500 if test "$am_compiler_list" = ""; then
6501 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6503 for depmode
in $am_compiler_list; do
6504 # Setup a source with many dependencies, because some compilers
6505 # like to wrap large dependency lists on column 80 (with \), and
6506 # we should not choose a depcomp mode which is confused by this.
6508 # We need to recreate these files for each test, as the compiler may
6509 # overwrite some of them when testing with obscure command lines.
6510 # This happens at least with the AIX C compiler.
6512 for i
in 1 2 3 4 5 6; do
6513 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6514 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6515 # Solaris 8's {/usr,}/bin/sh.
6516 touch sub
/conftst
$i.h
6518 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6522 # after this tag, mechanisms are not by side-effect, so they'll
6523 # only be used when explicitly requested
6524 if test "x$enable_dependency_tracking" = xyes
; then
6532 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6533 # mode. It turns out that the SunPro C++ compiler does not properly
6534 # handle `-M -o', and we need to detect this.
6535 if depmode
=$depmode \
6536 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6537 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6538 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6539 >/dev
/null
2>conftest.err
&&
6540 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6541 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6542 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6543 # icc doesn't choke on unknown options, it will just issue warnings
6544 # or remarks (even with -Werror). So we grep stderr for any message
6545 # that says an option was ignored or not supported.
6546 # When given -MP, icc 7.0 and 7.1 complain thusly:
6547 # icc: Command line warning: ignoring option '-M'; no argument required
6548 # The diagnosis changed in icc 8.0:
6549 # icc: Command line remark: option '-MP' not supported
6550 if (grep 'ignoring option' conftest.err ||
6551 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6552 am_cv_GCJ_dependencies_compiler_type
=$depmode
6561 am_cv_GCJ_dependencies_compiler_type
=none
6565 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
6566 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
6567 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
6572 test "x$enable_dependency_tracking" != xno \
6573 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
6574 am__fastdepGCJ_TRUE
=
6575 am__fastdepGCJ_FALSE
='#'
6577 am__fastdepGCJ_TRUE
='#'
6578 am__fastdepGCJ_FALSE
=
6584 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-gcj.sh"
6586 lt_save_CFLAGS
="$CFLAGS"
6587 AR
="$AR" LTCC
="$CC" CC
="$GCJ" CFLAGS
="$GCJFLAGS" CPPFLAGS
="$CPPFLAGS" \
6588 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
6589 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
6590 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
6591 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
6592 deplibs_check_method
="$deplibs_check_method" \
6593 file_magic_cmd
="$file_magic_cmd" \
6594 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
6595 --build="$build" --add-tag=GCJ
$ac_aux_dir/ltcf-gcj.sh
$host \
6596 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
6597 echo "$as_me: error: libtool tag configuration failed" >&2;}
6598 { (exit 1); exit 1; }; }
6600 CFLAGS
="$lt_save_CFLAGS"
6602 # Redirect the config.log output again, so that the ltconfig log is not
6603 # clobbered by the next message.
6604 exec 5>>.
/config.log
6608 if test "x$CC" != xcc
; then
6609 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
6610 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
6612 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
6613 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
6615 set dummy
$CC; ac_cc
=`echo $2 |
6616 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6617 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
6618 echo $ECHO_N "(cached) $ECHO_C" >&6
6620 cat >conftest.
$ac_ext <<_ACEOF
6623 cat confdefs.h
>>conftest.
$ac_ext
6624 cat >>conftest.
$ac_ext <<_ACEOF
6625 /* end confdefs.h. */
6635 # Make sure it works both with $CC and with simple cc.
6636 # We do the test twice because some compilers refuse to overwrite an
6637 # existing .o file with -o, though they will create one.
6638 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
6639 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6643 (exit $ac_status); } &&
6644 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648 (exit $ac_status); };
6650 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
6651 if test "x$CC" != xcc
; then
6652 # Test first that cc exists at all.
6653 if { ac_try
='cc -c conftest.$ac_ext >&5'
6654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6658 (exit $ac_status); }; }; then
6659 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
6660 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6664 (exit $ac_status); } &&
6665 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6669 (exit $ac_status); };
6674 # cc exists but doesn't like -o.
6675 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
6680 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
6685 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
6686 echo "$as_me:$LINENO: result: yes" >&5
6687 echo "${ECHO_T}yes" >&6
6689 echo "$as_me:$LINENO: result: no" >&5
6690 echo "${ECHO_T}no" >&6
6692 cat >>confdefs.h
<<\_ACEOF
6693 #define NO_MINUS_C_MINUS_O 1
6698 # FIXME: we rely on the cache variable name because
6699 # there is no other way.
6701 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6702 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
6703 # Losing compiler, so override with the script.
6704 # FIXME: It is wrong to rewrite CC.
6705 # But if we don't then we get into trouble of one sort or another.
6706 # A longer-term fix would be to have automake use am__CC in this case,
6707 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6708 CC
="$am_aux_dir/compile $CC"
6714 subdirs
="$subdirs classpath libltdl"
6717 # The -no-testsuite modules omit the test subdir.
6720 if test -d $srcdir/testsuite
; then
6722 TESTSUBDIR_FALSE
='#'
6729 # Should the runtime set system properties by examining the
6730 # environment variable GCJ_PROPERTIES?
6731 # Check whether --enable-getenv-properties or --disable-getenv-properties was given.
6732 if test "${enable_getenv_properties+set}" = set; then
6733 enableval
="$enable_getenv_properties"
6737 # Whether GCJ_PROPERTIES is used depends on the target.
6738 if test -z "$enable_getenv_properties"; then
6739 enable_getenv_properties
=${enable_getenv_properties_default-yes}
6741 if test "$enable_getenv_properties" = no
; then
6743 cat >>confdefs.h
<<\_ACEOF
6744 #define DISABLE_GETENV_PROPERTIES 1
6749 # Whether we should use arguments to main()
6750 if test -z "$enable_main_args"; then
6751 enable_main_args
=${enable_main_args_default-yes}
6753 if test "$enable_main_args" = no
; then
6755 cat >>confdefs.h
<<\_ACEOF
6756 #define DISABLE_MAIN_ARGS 1
6762 # Should we use hashtable-based synchronization?
6763 # Currently works only for Linux X86/ia64
6764 # Typically faster and more space-efficient
6765 # Check whether --enable-hash-synchronization or --disable-hash-synchronization was given.
6766 if test "${enable_hash_synchronization+set}" = set; then
6767 enableval
="$enable_hash_synchronization"
6771 if test -z "$enable_hash_synchronization"; then
6772 enable_hash_synchronization
=$enable_hash_synchronization_default
6776 # Check whether --with-java-home or --without-java-home was given.
6777 if test "${with_java_home+set}" = set; then
6778 withval
="$with_java_home"
6779 JAVA_HOME
="${withval}"
6785 if test ! -z "$JAVA_HOME"; then
6787 JAVA_HOME_SET_FALSE
='#'
6789 JAVA_HOME_SET_TRUE
='#'
6790 JAVA_HOME_SET_FALSE
=
6795 # What is the native OS API for MinGW?
6797 # Check whether --with-win32-nlsapi or --without-win32-nlsapi was given.
6798 if test "${with_win32_nlsapi+set}" = set; then
6799 withval
="$with_win32_nlsapi"
6800 case "${withval}" in
6801 ansi
) with_win32_nlsapi
=ansi
;;
6802 unicows
) with_win32_nlsapi
=unicows
;;
6803 unicode
) with_win32_nlsapi
=unicode
;;
6804 *) { { echo "$as_me:$LINENO: error: Bad value ${withval} for --with-win32-nlsapi." >&5
6805 echo "$as_me: error: Bad value ${withval} for --with-win32-nlsapi." >&2;}
6806 { (exit 1); exit 1; }; } ;;
6809 with_win32_nlsapi
=ansi
6812 case "${with_win32_nlsapi}" in
6815 cat >>confdefs.h
<<\_ACEOF
6816 #define MINGW_LIBGCJ_UNICODE 1
6822 # configure.host sets slow_pthread_self if the synchronization code should
6823 # try to avoid pthread_self calls by caching thread IDs in a hashtable.
6824 if test "${slow_pthread_self}" = "yes"; then
6826 cat >>confdefs.h
<<\_ACEOF
6827 #define SLOW_PTHREAD_SELF 1
6832 # Check for gc debugging. This option is handled both here and in the GC.
6833 # Check whether --enable-gc-debug or --disable-gc-debug was given.
6834 if test "${enable_gc_debug+set}" = set; then
6835 enableval
="$enable_gc_debug"
6836 if test "$enable_gc_debug" = "yes"; then
6838 cat >>confdefs.h
<<\_ACEOF
6839 #define LIBGCJ_GC_DEBUG 1
6845 # See if the user has the interpreter included.
6846 # Check whether --enable-interpreter or --disable-interpreter was given.
6847 if test "${enable_interpreter+set}" = set; then
6848 enableval
="$enable_interpreter"
6849 if test "$enable_interpreter" = yes; then
6850 # This can also be set in configure.host.
6851 libgcj_interpreter
=yes
6852 elif test "$enable_interpreter" = no
; then
6853 libgcj_interpreter
=no
6857 if test "$libgcj_interpreter" = yes; then
6859 cat >>confdefs.h
<<\_ACEOF
6860 #define INTERPRETER 1
6864 INTERPRETER
="$libgcj_interpreter"
6867 echo "$as_me:$LINENO: checking for exception model to use" >&5
6868 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
6870 ac_cpp
='$CXXCPP $CPPFLAGS'
6871 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6872 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6873 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6875 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
6876 if test "${enable_sjlj_exceptions+set}" = set; then
6877 enableval
="$enable_sjlj_exceptions"
6880 cat > conftest.
$ac_ext << EOF
6881 #line 6881 "configure"
6890 old_CXXFLAGS
="$CXXFLAGS"
6892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6893 (eval $ac_compile) 2>&5
6895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); }; then
6897 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1 ; then
6898 enable_sjlj_exceptions
=yes
6899 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1 ; then
6900 enable_sjlj_exceptions
=no
6903 CXXFLAGS
="$old_CXXFLAGS"
6906 if test x
$enable_sjlj_exceptions = xyes
; then
6908 cat >>confdefs.h
<<\_ACEOF
6909 #define SJLJ_EXCEPTIONS 1
6912 ac_exception_model_name
=sjlj
6913 elif test x
$enable_sjlj_exceptions = xno
; then
6914 ac_exception_model_name
="call frame"
6916 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
6917 echo "$as_me: error: unable to detect exception model" >&2;}
6918 { (exit 1); exit 1; }; }
6921 ac_cpp
='$CPP $CPPFLAGS'
6922 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6923 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6924 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6926 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
6927 echo "${ECHO_T}$ac_exception_model_name" >&6
6929 # If we are non using SJLJ exceptions, and this host does not have support
6930 # for unwinding from a signal handler, enable checked dereferences and divides.
6931 if test $can_unwind_signal = no
&& test $enable_sjlj_exceptions = no
; then
6932 CHECKREFSPEC
=-fcheck-references
6933 DIVIDESPEC
=-fuse-divide-subroutine
6937 # See if the user wants to disable java.net. This is the mildly
6938 # ugly way that we admit that target-side configuration sucks.
6939 # Check whether --enable-java-net or --disable-java-net was given.
6940 if test "${enable_java_net+set}" = set; then
6941 enableval
="$enable_java_net"
6945 # Whether java.net is built by default can depend on the target.
6946 if test -z "$enable_java_net"; then
6947 enable_java_net
=${enable_java_net_default-yes}
6949 if test "$enable_java_net" = no
; then
6951 cat >>confdefs.h
<<\_ACEOF
6952 #define DISABLE_JAVA_NET 1
6957 # See if the user wants to configure without libffi. Some
6958 # architectures don't support it, and default values are set in
6961 # Check whether --with-libffi or --without-libffi was given.
6962 if test "${with_libffi+set}" = set; then
6963 withval
="$with_libffi"
6966 with_libffi
=${with_libffi_default-yes}
6971 if test "$with_libffi" != no
; then
6973 cat >>confdefs.h
<<\_ACEOF
6974 #define USE_LIBFFI 1
6977 LIBFFI
=..
/libffi
/libffi_convenience.la
6978 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
6983 # See if the user wants to disable JVMPI support.
6984 # Check whether --enable-jvmpi or --disable-jvmpi was given.
6985 if test "${enable_jvmpi+set}" = set; then
6986 enableval
="$enable_jvmpi"
6990 if test "$enable_jvmpi" != no
; then
6992 cat >>confdefs.h
<<\_ACEOF
6993 #define ENABLE_JVMPI 1
6998 # If the target is an eCos system, use the appropriate eCos
7000 # FIXME: this should not be a local option but a global target
7001 # system; at present there is no eCos target.
7002 TARGET_ECOS
=${PROCESS-"no"}
7004 # Check whether --with-ecos or --without-ecos was given.
7005 if test "${with_ecos+set}" = set; then
7006 withval
="$with_ecos"
7007 TARGET_ECOS
="$with_ecos"
7011 PLATFORM_INNER_NAT_HDRS
=
7012 case "$TARGET_ECOS" in
7019 echo "$as_me:$LINENO: checking whether 'ld' is at least 2.13" >&5
7020 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6
7021 LD_PROG
=`$CC --print-prog-name=ld`
7022 LD_VERSION
=`$LD_PROG --version`
7023 LD_VERSION_MAJOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
7024 LD_VERSION_MINOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
7025 if expr "$LD_VERSION_MAJOR" \
> 2 > /dev
/null
; then
7028 if expr "$LD_VERSION_MAJOR" = 2 && expr "$LD_VERSION_MINOR" \
>= 13 > /dev
/null
; then
7032 if test "x$LD_OK" != x
; then
7033 echo "$as_me:$LINENO: result: yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
7034 echo "${ECHO_T}yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
7036 echo "$as_me:$LINENO: result: no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
7037 echo "${ECHO_T}no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
7038 { echo "$as_me:$LINENO: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&5
7039 echo "$as_me: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&2;}
7041 cat >>confdefs.h
<<\_ACEOF
7042 #define JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS 1
7051 PLATFORM_INNER_NAT_HDRS
='java/lang/ConcreteProcess$$ProcessManager.h'
7059 cat >>confdefs.h
<<\_ACEOF
7067 ac_config_links
="$ac_config_links include/platform.h:include/$PLATFORMH"
7071 ac_cpp
='$CPP $CPPFLAGS'
7072 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7073 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7074 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7075 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7076 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
7077 # On Suns, sometimes $CPP names a directory.
7078 if test -n "$CPP" && test -d "$CPP"; then
7081 if test -z "$CPP"; then
7082 if test "${ac_cv_prog_CPP+set}" = set; then
7083 echo $ECHO_N "(cached) $ECHO_C" >&6
7085 # Double quotes because CPP needs to be expanded
7086 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7089 for ac_c_preproc_warn_flag
in '' yes
7091 # Use a header file that comes with gcc, so configuring glibc
7092 # with a fresh cross-compiler works.
7093 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7094 # <limits.h> exists even on freestanding compilers.
7095 # On the NeXT, cc -E runs the code through the compiler's parser,
7096 # not just through cpp. "Syntax error" is here to catch this case.
7097 cat >conftest.
$ac_ext <<_ACEOF
7100 cat confdefs.h
>>conftest.
$ac_ext
7101 cat >>conftest.
$ac_ext <<_ACEOF
7102 /* end confdefs.h. */
7104 # include <limits.h>
7106 # include <assert.h>
7110 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7111 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7113 grep -v '^ *+' conftest.er1
>conftest.err
7115 cat conftest.err
>&5
7116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7117 (exit $ac_status); } >/dev
/null
; then
7118 if test -s conftest.err
; then
7119 ac_cpp_err
=$ac_c_preproc_warn_flag
7120 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7127 if test -z "$ac_cpp_err"; then
7130 echo "$as_me: failed program was:" >&5
7131 sed 's/^/| /' conftest.
$ac_ext >&5
7133 # Broken: fails on valid input.
7136 rm -f conftest.err conftest.
$ac_ext
7138 # OK, works on sane cases. Now check whether non-existent headers
7139 # can be detected and how.
7140 cat >conftest.
$ac_ext <<_ACEOF
7143 cat confdefs.h
>>conftest.
$ac_ext
7144 cat >>conftest.
$ac_ext <<_ACEOF
7145 /* end confdefs.h. */
7146 #include <ac_nonexistent.h>
7148 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7149 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7151 grep -v '^ *+' conftest.er1
>conftest.err
7153 cat conftest.err
>&5
7154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7155 (exit $ac_status); } >/dev
/null
; then
7156 if test -s conftest.err
; then
7157 ac_cpp_err
=$ac_c_preproc_warn_flag
7158 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7165 if test -z "$ac_cpp_err"; then
7166 # Broken: success on invalid input.
7169 echo "$as_me: failed program was:" >&5
7170 sed 's/^/| /' conftest.
$ac_ext >&5
7172 # Passes both tests.
7176 rm -f conftest.err conftest.
$ac_ext
7179 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7180 rm -f conftest.err conftest.
$ac_ext
7181 if $ac_preproc_ok; then
7193 echo "$as_me:$LINENO: result: $CPP" >&5
7194 echo "${ECHO_T}$CPP" >&6
7196 for ac_c_preproc_warn_flag
in '' yes
7198 # Use a header file that comes with gcc, so configuring glibc
7199 # with a fresh cross-compiler works.
7200 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7201 # <limits.h> exists even on freestanding compilers.
7202 # On the NeXT, cc -E runs the code through the compiler's parser,
7203 # not just through cpp. "Syntax error" is here to catch this case.
7204 cat >conftest.
$ac_ext <<_ACEOF
7207 cat confdefs.h
>>conftest.
$ac_ext
7208 cat >>conftest.
$ac_ext <<_ACEOF
7209 /* end confdefs.h. */
7211 # include <limits.h>
7213 # include <assert.h>
7217 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7218 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7220 grep -v '^ *+' conftest.er1
>conftest.err
7222 cat conftest.err
>&5
7223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7224 (exit $ac_status); } >/dev
/null
; then
7225 if test -s conftest.err
; then
7226 ac_cpp_err
=$ac_c_preproc_warn_flag
7227 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7234 if test -z "$ac_cpp_err"; then
7237 echo "$as_me: failed program was:" >&5
7238 sed 's/^/| /' conftest.
$ac_ext >&5
7240 # Broken: fails on valid input.
7243 rm -f conftest.err conftest.
$ac_ext
7245 # OK, works on sane cases. Now check whether non-existent headers
7246 # can be detected and how.
7247 cat >conftest.
$ac_ext <<_ACEOF
7250 cat confdefs.h
>>conftest.
$ac_ext
7251 cat >>conftest.
$ac_ext <<_ACEOF
7252 /* end confdefs.h. */
7253 #include <ac_nonexistent.h>
7255 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7256 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7258 grep -v '^ *+' conftest.er1
>conftest.err
7260 cat conftest.err
>&5
7261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7262 (exit $ac_status); } >/dev
/null
; then
7263 if test -s conftest.err
; then
7264 ac_cpp_err
=$ac_c_preproc_warn_flag
7265 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7272 if test -z "$ac_cpp_err"; then
7273 # Broken: success on invalid input.
7276 echo "$as_me: failed program was:" >&5
7277 sed 's/^/| /' conftest.
$ac_ext >&5
7279 # Passes both tests.
7283 rm -f conftest.err conftest.
$ac_ext
7286 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7287 rm -f conftest.err conftest.
$ac_ext
7288 if $ac_preproc_ok; then
7291 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7292 See \`config.log' for more details." >&5
7293 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7294 See \`config.log' for more details." >&2;}
7295 { (exit 1); exit 1; }; }
7299 ac_cpp
='$CPP $CPPFLAGS'
7300 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7301 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7302 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7305 echo "$as_me:$LINENO: checking for egrep" >&5
7306 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
7307 if test "${ac_cv_prog_egrep+set}" = set; then
7308 echo $ECHO_N "(cached) $ECHO_C" >&6
7310 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
7311 then ac_cv_prog_egrep
='grep -E'
7312 else ac_cv_prog_egrep
='egrep'
7315 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
7316 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
7317 EGREP
=$ac_cv_prog_egrep
7320 cat >conftest.
$ac_ext <<_ACEOF
7323 cat confdefs.h
>>conftest.
$ac_ext
7324 cat >>conftest.
$ac_ext <<_ACEOF
7325 /* end confdefs.h. */
7329 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7330 $EGREP "uint32_t" >/dev
/null
2>&1; then
7332 cat >>confdefs.h
<<\_ACEOF
7333 #define HAVE_INT32_DEFINED 1
7339 cat >conftest.
$ac_ext <<_ACEOF
7342 cat confdefs.h
>>conftest.
$ac_ext
7343 cat >>conftest.
$ac_ext <<_ACEOF
7344 /* end confdefs.h. */
7345 #include <inttypes.h>
7348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7349 $EGREP "uint32_t" >/dev
/null
2>&1; then
7351 cat >>confdefs.h
<<\_ACEOF
7352 #define HAVE_INT32_DEFINED 1
7358 cat >conftest.
$ac_ext <<_ACEOF
7361 cat confdefs.h
>>conftest.
$ac_ext
7362 cat >>conftest.
$ac_ext <<_ACEOF
7363 /* end confdefs.h. */
7364 #include <sys/types.h>
7367 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7368 $EGREP "u_int32_t" >/dev
/null
2>&1; then
7370 cat >>confdefs.h
<<\_ACEOF
7371 #define HAVE_BSD_INT32_DEFINED 1
7377 cat >conftest.
$ac_ext <<_ACEOF
7380 cat confdefs.h
>>conftest.
$ac_ext
7381 cat >>conftest.
$ac_ext <<_ACEOF
7382 /* end confdefs.h. */
7383 #include <sys/config.h>
7386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7387 $EGREP "u_int32_t" >/dev
/null
2>&1; then
7389 cat >>confdefs.h
<<\_ACEOF
7390 #define HAVE_BSD_INT32_DEFINED 1
7399 if test "$PLATFORM" = Win32
; then
7400 USING_WIN32_PLATFORM_TRUE
=
7401 USING_WIN32_PLATFORM_FALSE
='#'
7403 USING_WIN32_PLATFORM_TRUE
='#'
7404 USING_WIN32_PLATFORM_FALSE
=
7409 if test "$PLATFORM" = Posix ||
test "$PLATFORM" = Ecos
; then
7410 USING_POSIX_PLATFORM_TRUE
=
7411 USING_POSIX_PLATFORM_FALSE
='#'
7413 USING_POSIX_PLATFORM_TRUE
='#'
7414 USING_POSIX_PLATFORM_FALSE
=
7419 *-darwin*) DARWIN_CRT
=true
;;
7420 *) DARWIN_CRT
=false
;;
7424 if $DARWIN_CRT; then
7425 USING_DARWIN_CRT_TRUE
=
7426 USING_DARWIN_CRT_FALSE
='#'
7428 USING_DARWIN_CRT_TRUE
='#'
7429 USING_DARWIN_CRT_FALSE
=
7433 # These may not be defined in a non-ANS conformant embedded system.
7434 # FIXME: Should these case a runtime exception in that case?
7435 cat >conftest.
$ac_ext <<_ACEOF
7438 cat confdefs.h
>>conftest.
$ac_ext
7439 cat >>conftest.
$ac_ext <<_ACEOF
7440 /* end confdefs.h. */
7444 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7445 $EGREP "mktime" >/dev
/null
2>&1; then
7447 cat >>confdefs.h
<<\_ACEOF
7448 #define HAVE_MKTIME 1
7454 cat >conftest.
$ac_ext <<_ACEOF
7457 cat confdefs.h
>>conftest.
$ac_ext
7458 cat >>conftest.
$ac_ext <<_ACEOF
7459 /* end confdefs.h. */
7463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7464 $EGREP "localtime" >/dev
/null
2>&1; then
7466 cat >>confdefs.h
<<\_ACEOF
7467 #define HAVE_LOCALTIME 1
7474 # Create the subdirectory for natFile.cc, or the attempt
7475 # to create the link will fail.
7476 test -d java || mkdir java
7477 test -d java
/io || mkdir java
/io
7478 test -d gnu || mkdir gnu
7479 ac_config_links
="$ac_config_links java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc"
7482 # Likewise for ConcreteProcess.java and natConcreteProcess.cc.
7483 test -d java
/lang || mkdir java
/lang
7484 ac_config_links
="$ac_config_links java/lang/ConcreteProcess.java:java/lang/${PLATFORM}Process.java"
7486 ac_config_links
="$ac_config_links java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc"
7489 # Likewise for natVMInetAddress.cc and natVMNetworkInterface.cc.
7490 test -d java
/net || mkdir java
/net
7491 ac_config_links
="$ac_config_links java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc"
7493 ac_config_links
="$ac_config_links java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc"
7496 # Likewise for natPlainSocketImpl.cc and natPlainDatagramSocketImpl.cc.
7497 test -d gnu
/java || mkdir gnu
/java
7498 test -d gnu
/java
/net || mkdir gnu
/java
/net
7499 ac_config_links
="$ac_config_links gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc"
7501 ac_config_links
="$ac_config_links gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc"
7504 # Likewise for natPipeImpl.cc and natSelectorImpl.cc.
7505 test -d gnu
/java
/nio || mkdir gnu
/java
/nio
7506 ac_config_links
="$ac_config_links gnu/java/nio/natPipeImpl.cc:gnu/java/nio/natPipeImpl${PLATFORM}.cc"
7508 ac_config_links
="$ac_config_links gnu/java/nio/natSelectorImpl.cc:gnu/java/nio/natSelectorImpl${PLATFORM}.cc"
7510 test -d gnu
/java
/nio
/channels || mkdir gnu
/java
/nio
/channels
7511 ac_config_links
="$ac_config_links gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc"
7516 SYSTEMSPEC
="-lgdi32 -lws2_32"
7517 if test "${with_win32_nlsapi}" = "unicows"; then
7518 SYSTEMSPEC
="-lunicows $SYSTEMSPEC"
7527 LIBGCJTESTSPEC
="-L`${PWDCMD-pwd}`/.libs -rpath `${PWDCMD-pwd}`/.libs"
7531 # Check whether --with-system-zlib or --without-system-zlib was given.
7532 if test "${with_system_zlib+set}" = set; then
7533 withval
="$with_system_zlib"
7541 echo "$as_me:$LINENO: checking for X" >&5
7542 echo $ECHO_N "checking for X... $ECHO_C" >&6
7545 # Check whether --with-x or --without-x was given.
7546 if test "${with_x+set}" = set; then
7550 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7551 if test "x$with_x" = xno
; then
7552 # The user explicitly disabled X.
7555 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7556 # Both variables are already set.
7559 if test "${ac_cv_have_x+set}" = set; then
7560 echo $ECHO_N "(cached) $ECHO_C" >&6
7562 # One or both of the vars are not set, and there is no cached value.
7563 ac_x_includes
=no ac_x_libraries
=no
7565 if mkdir conftest.dir
; then
7567 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7568 cat >Imakefile
<<'_ACEOF'
7570 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7572 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7573 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7574 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7575 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7576 for ac_extension
in a so sl
; do
7577 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7578 test -f $ac_im_libdir/libX11.
$ac_extension; then
7579 ac_im_usrlibdir
=$ac_im_libdir; break
7582 # Screen out bogus values from the imake configuration. They are
7583 # bogus both because they are the default anyway, and because
7584 # using them would break gcc on systems where it needs fixed includes.
7585 case $ac_im_incroot in
7587 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7589 case $ac_im_usrlibdir in
7591 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7598 # Standard set of common directories for X headers.
7599 # Check X11 before X11Rn because it is often a symlink to the current release.
7611 /usr/local/X11/include
7612 /usr/local/X11R6/include
7613 /usr/local/X11R5/include
7614 /usr/local/X11R4/include
7616 /usr/local/include/X11
7617 /usr/local/include/X11R6
7618 /usr/local/include/X11R5
7619 /usr/local/include/X11R4
7623 /usr/XFree86/include/X11
7627 /usr/unsupported/include
7629 /usr/local/x11r5/include
7630 /usr/lpp/Xamples/include
7632 /usr/openwin/include
7633 /usr/openwin/share/include'
7635 if test "$ac_x_includes" = no
; then
7636 # Guess where to find include files, by looking for Intrinsic.h.
7637 # First, try using that file with no special directory specified.
7638 cat >conftest.
$ac_ext <<_ACEOF
7641 cat confdefs.h
>>conftest.
$ac_ext
7642 cat >>conftest.
$ac_ext <<_ACEOF
7643 /* end confdefs.h. */
7644 #include <X11/Intrinsic.h>
7646 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7647 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7649 grep -v '^ *+' conftest.er1
>conftest.err
7651 cat conftest.err
>&5
7652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7653 (exit $ac_status); } >/dev
/null
; then
7654 if test -s conftest.err
; then
7655 ac_cpp_err
=$ac_c_preproc_warn_flag
7656 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7663 if test -z "$ac_cpp_err"; then
7664 # We can compile using X headers with no special include directory.
7667 echo "$as_me: failed program was:" >&5
7668 sed 's/^/| /' conftest.
$ac_ext >&5
7670 for ac_dir
in $ac_x_header_dirs; do
7671 if test -r "$ac_dir/X11/Intrinsic.h"; then
7672 ac_x_includes
=$ac_dir
7677 rm -f conftest.err conftest.
$ac_ext
7678 fi # $ac_x_includes = no
7680 if test "$ac_x_libraries" = no
; then
7681 # Check for the libraries.
7682 # See if we find them without any special options.
7683 # Don't add to $LIBS permanently.
7686 if test x
$gcc_no_link = xyes
; then
7687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7689 { (exit 1); exit 1; }; }
7691 cat >conftest.
$ac_ext <<_ACEOF
7694 cat confdefs.h
>>conftest.
$ac_ext
7695 cat >>conftest.
$ac_ext <<_ACEOF
7696 /* end confdefs.h. */
7697 #include <X11/Intrinsic.h>
7706 rm -f conftest.
$ac_objext conftest
$ac_exeext
7707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7708 (eval $ac_link) 2>conftest.er1
7710 grep -v '^ *+' conftest.er1
>conftest.err
7712 cat conftest.err
>&5
7713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7714 (exit $ac_status); } &&
7715 { ac_try
='test -z "$ac_c_werror_flag"
7716 || test ! -s conftest.err'
7717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7721 (exit $ac_status); }; } &&
7722 { ac_try
='test -s conftest$ac_exeext'
7723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7727 (exit $ac_status); }; }; then
7729 # We can link X programs with no special library path.
7732 echo "$as_me: failed program was:" >&5
7733 sed 's/^/| /' conftest.
$ac_ext >&5
7736 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7738 # Don't even attempt the hair of trying to link an X program!
7739 for ac_extension
in a so sl
; do
7740 if test -r $ac_dir/libXt.
$ac_extension; then
7741 ac_x_libraries
=$ac_dir
7747 rm -f conftest.err conftest.
$ac_objext \
7748 conftest
$ac_exeext conftest.
$ac_ext
7749 fi # $ac_x_libraries = no
7751 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
7752 # Didn't find X anywhere. Cache the known absence of X.
7753 ac_cv_have_x
="have_x=no"
7755 # Record where we found X for the cache.
7756 ac_cv_have_x
="have_x=yes \
7757 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7762 eval "$ac_cv_have_x"
7765 if test "$have_x" != yes; then
7766 echo "$as_me:$LINENO: result: $have_x" >&5
7767 echo "${ECHO_T}$have_x" >&6
7770 # If each of the values was on the command line, it overrides each guess.
7771 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7772 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7773 # Update the cache value to reflect the command line values.
7774 ac_cv_have_x
="have_x=yes \
7775 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7776 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
7777 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
7780 if test "$no_x" = yes; then
7781 # Not all programs may use this symbol, but it does not hurt to define it.
7783 cat >>confdefs.h
<<\_ACEOF
7784 #define X_DISPLAY_MISSING 1
7787 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7789 if test -n "$x_includes"; then
7790 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7793 # It would also be nice to do this for all -L options, not just this one.
7794 if test -n "$x_libraries"; then
7795 X_LIBS
="$X_LIBS -L$x_libraries"
7796 # For Solaris; some versions of Sun CC require a space after -R and
7797 # others require no space. Words are not sufficient . . . .
7798 case `(uname -sr) 2>/dev/null` in
7800 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
7801 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
7802 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7803 if test x
$gcc_no_link = xyes
; then
7804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7806 { (exit 1); exit 1; }; }
7808 cat >conftest.
$ac_ext <<_ACEOF
7811 cat confdefs.h
>>conftest.
$ac_ext
7812 cat >>conftest.
$ac_ext <<_ACEOF
7813 /* end confdefs.h. */
7823 rm -f conftest.
$ac_objext conftest
$ac_exeext
7824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7825 (eval $ac_link) 2>conftest.er1
7827 grep -v '^ *+' conftest.er1
>conftest.err
7829 cat conftest.err
>&5
7830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7831 (exit $ac_status); } &&
7832 { ac_try
='test -z "$ac_c_werror_flag"
7833 || test ! -s conftest.err'
7834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7838 (exit $ac_status); }; } &&
7839 { ac_try
='test -s conftest$ac_exeext'
7840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7844 (exit $ac_status); }; }; then
7847 echo "$as_me: failed program was:" >&5
7848 sed 's/^/| /' conftest.
$ac_ext >&5
7852 rm -f conftest.err conftest.
$ac_objext \
7853 conftest
$ac_exeext conftest.
$ac_ext
7854 if test $ac_R_nospace = yes; then
7855 echo "$as_me:$LINENO: result: no" >&5
7856 echo "${ECHO_T}no" >&6
7857 X_LIBS
="$X_LIBS -R$x_libraries"
7859 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7860 if test x
$gcc_no_link = xyes
; then
7861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7863 { (exit 1); exit 1; }; }
7865 cat >conftest.
$ac_ext <<_ACEOF
7868 cat confdefs.h
>>conftest.
$ac_ext
7869 cat >>conftest.
$ac_ext <<_ACEOF
7870 /* end confdefs.h. */
7880 rm -f conftest.
$ac_objext conftest
$ac_exeext
7881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7882 (eval $ac_link) 2>conftest.er1
7884 grep -v '^ *+' conftest.er1
>conftest.err
7886 cat conftest.err
>&5
7887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7888 (exit $ac_status); } &&
7889 { ac_try
='test -z "$ac_c_werror_flag"
7890 || test ! -s conftest.err'
7891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7895 (exit $ac_status); }; } &&
7896 { ac_try
='test -s conftest$ac_exeext'
7897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7901 (exit $ac_status); }; }; then
7904 echo "$as_me: failed program was:" >&5
7905 sed 's/^/| /' conftest.
$ac_ext >&5
7909 rm -f conftest.err conftest.
$ac_objext \
7910 conftest
$ac_exeext conftest.
$ac_ext
7911 if test $ac_R_space = yes; then
7912 echo "$as_me:$LINENO: result: yes" >&5
7913 echo "${ECHO_T}yes" >&6
7914 X_LIBS
="$X_LIBS -R $x_libraries"
7916 echo "$as_me:$LINENO: result: neither works" >&5
7917 echo "${ECHO_T}neither works" >&6
7924 # Check for system-dependent libraries X programs must link with.
7925 # Do this before checking for the system-independent R6 libraries
7926 # (-lICE), since we may need -lsocket or whatever for X linking.
7928 if test "$ISC" = yes; then
7929 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7931 # Martyn Johnson says this is needed for Ultrix, if the X
7932 # libraries were built with DECnet support. And Karl Berry says
7933 # the Alpha needs dnet_stub (dnet does not exist).
7934 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
7935 if test x
$gcc_no_link = xyes
; then
7936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7938 { (exit 1); exit 1; }; }
7940 cat >conftest.
$ac_ext <<_ACEOF
7943 cat confdefs.h
>>conftest.
$ac_ext
7944 cat >>conftest.
$ac_ext <<_ACEOF
7945 /* end confdefs.h. */
7947 /* Override any gcc2 internal prototype to avoid an error. */
7951 /* We use char because int might match the return type of a gcc2
7952 builtin and then its argument prototype would still apply. */
7953 char XOpenDisplay ();
7962 rm -f conftest.
$ac_objext conftest
$ac_exeext
7963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7964 (eval $ac_link) 2>conftest.er1
7966 grep -v '^ *+' conftest.er1
>conftest.err
7968 cat conftest.err
>&5
7969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7970 (exit $ac_status); } &&
7971 { ac_try
='test -z "$ac_c_werror_flag"
7972 || test ! -s conftest.err'
7973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7977 (exit $ac_status); }; } &&
7978 { ac_try
='test -s conftest$ac_exeext'
7979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7983 (exit $ac_status); }; }; then
7986 echo "$as_me: failed program was:" >&5
7987 sed 's/^/| /' conftest.
$ac_ext >&5
7989 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
7990 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
7991 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
7992 echo $ECHO_N "(cached) $ECHO_C" >&6
7994 ac_check_lib_save_LIBS
=$LIBS
7996 if test x
$gcc_no_link = xyes
; then
7997 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7999 { (exit 1); exit 1; }; }
8001 cat >conftest.
$ac_ext <<_ACEOF
8004 cat confdefs.h
>>conftest.
$ac_ext
8005 cat >>conftest.
$ac_ext <<_ACEOF
8006 /* end confdefs.h. */
8008 /* Override any gcc2 internal prototype to avoid an error. */
8012 /* We use char because int might match the return type of a gcc2
8013 builtin and then its argument prototype would still apply. */
8023 rm -f conftest.
$ac_objext conftest
$ac_exeext
8024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8025 (eval $ac_link) 2>conftest.er1
8027 grep -v '^ *+' conftest.er1
>conftest.err
8029 cat conftest.err
>&5
8030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8031 (exit $ac_status); } &&
8032 { ac_try
='test -z "$ac_c_werror_flag"
8033 || test ! -s conftest.err'
8034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8038 (exit $ac_status); }; } &&
8039 { ac_try
='test -s conftest$ac_exeext'
8040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8044 (exit $ac_status); }; }; then
8045 ac_cv_lib_dnet_dnet_ntoa
=yes
8047 echo "$as_me: failed program was:" >&5
8048 sed 's/^/| /' conftest.
$ac_ext >&5
8050 ac_cv_lib_dnet_dnet_ntoa
=no
8052 rm -f conftest.err conftest.
$ac_objext \
8053 conftest
$ac_exeext conftest.
$ac_ext
8054 LIBS
=$ac_check_lib_save_LIBS
8056 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8057 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
8058 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
8059 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8062 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8063 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
8064 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
8065 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
8066 echo $ECHO_N "(cached) $ECHO_C" >&6
8068 ac_check_lib_save_LIBS
=$LIBS
8069 LIBS
="-ldnet_stub $LIBS"
8070 if test x
$gcc_no_link = xyes
; then
8071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8073 { (exit 1); exit 1; }; }
8075 cat >conftest.
$ac_ext <<_ACEOF
8078 cat confdefs.h
>>conftest.
$ac_ext
8079 cat >>conftest.
$ac_ext <<_ACEOF
8080 /* end confdefs.h. */
8082 /* Override any gcc2 internal prototype to avoid an error. */
8086 /* We use char because int might match the return type of a gcc2
8087 builtin and then its argument prototype would still apply. */
8097 rm -f conftest.
$ac_objext conftest
$ac_exeext
8098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8099 (eval $ac_link) 2>conftest.er1
8101 grep -v '^ *+' conftest.er1
>conftest.err
8103 cat conftest.err
>&5
8104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8105 (exit $ac_status); } &&
8106 { ac_try
='test -z "$ac_c_werror_flag"
8107 || test ! -s conftest.err'
8108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8112 (exit $ac_status); }; } &&
8113 { ac_try
='test -s conftest$ac_exeext'
8114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8118 (exit $ac_status); }; }; then
8119 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8121 echo "$as_me: failed program was:" >&5
8122 sed 's/^/| /' conftest.
$ac_ext >&5
8124 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8126 rm -f conftest.err conftest.
$ac_objext \
8127 conftest
$ac_exeext conftest.
$ac_ext
8128 LIBS
=$ac_check_lib_save_LIBS
8130 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8131 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
8132 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
8133 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8138 rm -f conftest.err conftest.
$ac_objext \
8139 conftest
$ac_exeext conftest.
$ac_ext
8140 LIBS
="$ac_xsave_LIBS"
8142 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8143 # to get the SysV transport functions.
8144 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8146 # The nsl library prevents programs from opening the X display
8147 # on Irix 5.2, according to T.E. Dickey.
8148 # The functions gethostbyname, getservbyname, and inet_addr are
8149 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8150 echo "$as_me:$LINENO: checking for gethostbyname" >&5
8151 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
8152 if test "${ac_cv_func_gethostbyname+set}" = set; then
8153 echo $ECHO_N "(cached) $ECHO_C" >&6
8155 if test x
$gcc_no_link = xyes
; then
8156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8158 { (exit 1); exit 1; }; }
8160 cat >conftest.
$ac_ext <<_ACEOF
8163 cat confdefs.h
>>conftest.
$ac_ext
8164 cat >>conftest.
$ac_ext <<_ACEOF
8165 /* end confdefs.h. */
8166 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
8167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8168 #define gethostbyname innocuous_gethostbyname
8170 /* System header to define __stub macros and hopefully few prototypes,
8171 which can conflict with char gethostbyname (); below.
8172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8173 <limits.h> exists even on freestanding compilers. */
8176 # include <limits.h>
8178 # include <assert.h>
8181 #undef gethostbyname
8183 /* Override any gcc2 internal prototype to avoid an error. */
8188 /* We use char because int might match the return type of a gcc2
8189 builtin and then its argument prototype would still apply. */
8190 char gethostbyname ();
8191 /* The GNU C library defines this for functions which it implements
8192 to always fail with ENOSYS. Some functions are actually named
8193 something starting with __ and the normal name is an alias. */
8194 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
8197 char (*f) () = gethostbyname;
8206 return f != gethostbyname;
8211 rm -f conftest.
$ac_objext conftest
$ac_exeext
8212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8213 (eval $ac_link) 2>conftest.er1
8215 grep -v '^ *+' conftest.er1
>conftest.err
8217 cat conftest.err
>&5
8218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8219 (exit $ac_status); } &&
8220 { ac_try
='test -z "$ac_c_werror_flag"
8221 || test ! -s conftest.err'
8222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8226 (exit $ac_status); }; } &&
8227 { ac_try
='test -s conftest$ac_exeext'
8228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8232 (exit $ac_status); }; }; then
8233 ac_cv_func_gethostbyname
=yes
8235 echo "$as_me: failed program was:" >&5
8236 sed 's/^/| /' conftest.
$ac_ext >&5
8238 ac_cv_func_gethostbyname
=no
8240 rm -f conftest.err conftest.
$ac_objext \
8241 conftest
$ac_exeext conftest.
$ac_ext
8243 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
8244 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
8246 if test $ac_cv_func_gethostbyname = no
; then
8247 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
8248 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
8249 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
8250 echo $ECHO_N "(cached) $ECHO_C" >&6
8252 ac_check_lib_save_LIBS
=$LIBS
8254 if test x
$gcc_no_link = xyes
; then
8255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8257 { (exit 1); exit 1; }; }
8259 cat >conftest.
$ac_ext <<_ACEOF
8262 cat confdefs.h
>>conftest.
$ac_ext
8263 cat >>conftest.
$ac_ext <<_ACEOF
8264 /* end confdefs.h. */
8266 /* Override any gcc2 internal prototype to avoid an error. */
8270 /* We use char because int might match the return type of a gcc2
8271 builtin and then its argument prototype would still apply. */
8272 char gethostbyname ();
8281 rm -f conftest.
$ac_objext conftest
$ac_exeext
8282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8283 (eval $ac_link) 2>conftest.er1
8285 grep -v '^ *+' conftest.er1
>conftest.err
8287 cat conftest.err
>&5
8288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8289 (exit $ac_status); } &&
8290 { ac_try
='test -z "$ac_c_werror_flag"
8291 || test ! -s conftest.err'
8292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8296 (exit $ac_status); }; } &&
8297 { ac_try
='test -s conftest$ac_exeext'
8298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8302 (exit $ac_status); }; }; then
8303 ac_cv_lib_nsl_gethostbyname
=yes
8305 echo "$as_me: failed program was:" >&5
8306 sed 's/^/| /' conftest.
$ac_ext >&5
8308 ac_cv_lib_nsl_gethostbyname
=no
8310 rm -f conftest.err conftest.
$ac_objext \
8311 conftest
$ac_exeext conftest.
$ac_ext
8312 LIBS
=$ac_check_lib_save_LIBS
8314 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
8315 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
8316 if test $ac_cv_lib_nsl_gethostbyname = yes; then
8317 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8320 if test $ac_cv_lib_nsl_gethostbyname = no
; then
8321 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
8322 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
8323 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
8324 echo $ECHO_N "(cached) $ECHO_C" >&6
8326 ac_check_lib_save_LIBS
=$LIBS
8328 if test x
$gcc_no_link = xyes
; then
8329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8331 { (exit 1); exit 1; }; }
8333 cat >conftest.
$ac_ext <<_ACEOF
8336 cat confdefs.h
>>conftest.
$ac_ext
8337 cat >>conftest.
$ac_ext <<_ACEOF
8338 /* end confdefs.h. */
8340 /* Override any gcc2 internal prototype to avoid an error. */
8344 /* We use char because int might match the return type of a gcc2
8345 builtin and then its argument prototype would still apply. */
8346 char gethostbyname ();
8355 rm -f conftest.
$ac_objext conftest
$ac_exeext
8356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8357 (eval $ac_link) 2>conftest.er1
8359 grep -v '^ *+' conftest.er1
>conftest.err
8361 cat conftest.err
>&5
8362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8363 (exit $ac_status); } &&
8364 { ac_try
='test -z "$ac_c_werror_flag"
8365 || test ! -s conftest.err'
8366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8370 (exit $ac_status); }; } &&
8371 { ac_try
='test -s conftest$ac_exeext'
8372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8376 (exit $ac_status); }; }; then
8377 ac_cv_lib_bsd_gethostbyname
=yes
8379 echo "$as_me: failed program was:" >&5
8380 sed 's/^/| /' conftest.
$ac_ext >&5
8382 ac_cv_lib_bsd_gethostbyname
=no
8384 rm -f conftest.err conftest.
$ac_objext \
8385 conftest
$ac_exeext conftest.
$ac_ext
8386 LIBS
=$ac_check_lib_save_LIBS
8388 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
8389 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
8390 if test $ac_cv_lib_bsd_gethostbyname = yes; then
8391 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
8397 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8398 # socket/setsockopt and other routines are undefined under SCO ODT
8399 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8400 # on later versions), says Simon Leinen: it contains gethostby*
8401 # variants that don't use the name server (or something). -lsocket
8402 # must be given before -lnsl if both are needed. We assume that
8403 # if connect needs -lnsl, so does gethostbyname.
8404 echo "$as_me:$LINENO: checking for connect" >&5
8405 echo $ECHO_N "checking for connect... $ECHO_C" >&6
8406 if test "${ac_cv_func_connect+set}" = set; then
8407 echo $ECHO_N "(cached) $ECHO_C" >&6
8409 if test x
$gcc_no_link = xyes
; then
8410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8412 { (exit 1); exit 1; }; }
8414 cat >conftest.
$ac_ext <<_ACEOF
8417 cat confdefs.h
>>conftest.
$ac_ext
8418 cat >>conftest.
$ac_ext <<_ACEOF
8419 /* end confdefs.h. */
8420 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
8421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8422 #define connect innocuous_connect
8424 /* System header to define __stub macros and hopefully few prototypes,
8425 which can conflict with char connect (); below.
8426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8427 <limits.h> exists even on freestanding compilers. */
8430 # include <limits.h>
8432 # include <assert.h>
8437 /* Override any gcc2 internal prototype to avoid an error. */
8442 /* We use char because int might match the return type of a gcc2
8443 builtin and then its argument prototype would still apply. */
8445 /* The GNU C library defines this for functions which it implements
8446 to always fail with ENOSYS. Some functions are actually named
8447 something starting with __ and the normal name is an alias. */
8448 #if defined (__stub_connect) || defined (__stub___connect)
8451 char (*f) () = connect;
8460 return f != connect;
8465 rm -f conftest.
$ac_objext conftest
$ac_exeext
8466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8467 (eval $ac_link) 2>conftest.er1
8469 grep -v '^ *+' conftest.er1
>conftest.err
8471 cat conftest.err
>&5
8472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8473 (exit $ac_status); } &&
8474 { ac_try
='test -z "$ac_c_werror_flag"
8475 || test ! -s conftest.err'
8476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8480 (exit $ac_status); }; } &&
8481 { ac_try
='test -s conftest$ac_exeext'
8482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8486 (exit $ac_status); }; }; then
8487 ac_cv_func_connect
=yes
8489 echo "$as_me: failed program was:" >&5
8490 sed 's/^/| /' conftest.
$ac_ext >&5
8492 ac_cv_func_connect
=no
8494 rm -f conftest.err conftest.
$ac_objext \
8495 conftest
$ac_exeext conftest.
$ac_ext
8497 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
8498 echo "${ECHO_T}$ac_cv_func_connect" >&6
8500 if test $ac_cv_func_connect = no
; then
8501 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
8502 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
8503 if test "${ac_cv_lib_socket_connect+set}" = set; then
8504 echo $ECHO_N "(cached) $ECHO_C" >&6
8506 ac_check_lib_save_LIBS
=$LIBS
8507 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8508 if test x
$gcc_no_link = xyes
; then
8509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8511 { (exit 1); exit 1; }; }
8513 cat >conftest.
$ac_ext <<_ACEOF
8516 cat confdefs.h
>>conftest.
$ac_ext
8517 cat >>conftest.
$ac_ext <<_ACEOF
8518 /* end confdefs.h. */
8520 /* Override any gcc2 internal prototype to avoid an error. */
8524 /* We use char because int might match the return type of a gcc2
8525 builtin and then its argument prototype would still apply. */
8535 rm -f conftest.
$ac_objext conftest
$ac_exeext
8536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8537 (eval $ac_link) 2>conftest.er1
8539 grep -v '^ *+' conftest.er1
>conftest.err
8541 cat conftest.err
>&5
8542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8543 (exit $ac_status); } &&
8544 { ac_try
='test -z "$ac_c_werror_flag"
8545 || test ! -s conftest.err'
8546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8550 (exit $ac_status); }; } &&
8551 { ac_try
='test -s conftest$ac_exeext'
8552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8556 (exit $ac_status); }; }; then
8557 ac_cv_lib_socket_connect
=yes
8559 echo "$as_me: failed program was:" >&5
8560 sed 's/^/| /' conftest.
$ac_ext >&5
8562 ac_cv_lib_socket_connect
=no
8564 rm -f conftest.err conftest.
$ac_objext \
8565 conftest
$ac_exeext conftest.
$ac_ext
8566 LIBS
=$ac_check_lib_save_LIBS
8568 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
8569 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
8570 if test $ac_cv_lib_socket_connect = yes; then
8571 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8576 # Guillermo Gomez says -lposix is necessary on A/UX.
8577 echo "$as_me:$LINENO: checking for remove" >&5
8578 echo $ECHO_N "checking for remove... $ECHO_C" >&6
8579 if test "${ac_cv_func_remove+set}" = set; then
8580 echo $ECHO_N "(cached) $ECHO_C" >&6
8582 if test x
$gcc_no_link = xyes
; then
8583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8585 { (exit 1); exit 1; }; }
8587 cat >conftest.
$ac_ext <<_ACEOF
8590 cat confdefs.h
>>conftest.
$ac_ext
8591 cat >>conftest.
$ac_ext <<_ACEOF
8592 /* end confdefs.h. */
8593 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
8594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8595 #define remove innocuous_remove
8597 /* System header to define __stub macros and hopefully few prototypes,
8598 which can conflict with char remove (); below.
8599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8600 <limits.h> exists even on freestanding compilers. */
8603 # include <limits.h>
8605 # include <assert.h>
8610 /* Override any gcc2 internal prototype to avoid an error. */
8615 /* We use char because int might match the return type of a gcc2
8616 builtin and then its argument prototype would still apply. */
8618 /* The GNU C library defines this for functions which it implements
8619 to always fail with ENOSYS. Some functions are actually named
8620 something starting with __ and the normal name is an alias. */
8621 #if defined (__stub_remove) || defined (__stub___remove)
8624 char (*f) () = remove;
8638 rm -f conftest.
$ac_objext conftest
$ac_exeext
8639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8640 (eval $ac_link) 2>conftest.er1
8642 grep -v '^ *+' conftest.er1
>conftest.err
8644 cat conftest.err
>&5
8645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8646 (exit $ac_status); } &&
8647 { ac_try
='test -z "$ac_c_werror_flag"
8648 || test ! -s conftest.err'
8649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8653 (exit $ac_status); }; } &&
8654 { ac_try
='test -s conftest$ac_exeext'
8655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8659 (exit $ac_status); }; }; then
8660 ac_cv_func_remove
=yes
8662 echo "$as_me: failed program was:" >&5
8663 sed 's/^/| /' conftest.
$ac_ext >&5
8665 ac_cv_func_remove
=no
8667 rm -f conftest.err conftest.
$ac_objext \
8668 conftest
$ac_exeext conftest.
$ac_ext
8670 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
8671 echo "${ECHO_T}$ac_cv_func_remove" >&6
8673 if test $ac_cv_func_remove = no
; then
8674 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
8675 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
8676 if test "${ac_cv_lib_posix_remove+set}" = set; then
8677 echo $ECHO_N "(cached) $ECHO_C" >&6
8679 ac_check_lib_save_LIBS
=$LIBS
8680 LIBS
="-lposix $LIBS"
8681 if test x
$gcc_no_link = xyes
; then
8682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8684 { (exit 1); exit 1; }; }
8686 cat >conftest.
$ac_ext <<_ACEOF
8689 cat confdefs.h
>>conftest.
$ac_ext
8690 cat >>conftest.
$ac_ext <<_ACEOF
8691 /* end confdefs.h. */
8693 /* Override any gcc2 internal prototype to avoid an error. */
8697 /* We use char because int might match the return type of a gcc2
8698 builtin and then its argument prototype would still apply. */
8708 rm -f conftest.
$ac_objext conftest
$ac_exeext
8709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8710 (eval $ac_link) 2>conftest.er1
8712 grep -v '^ *+' conftest.er1
>conftest.err
8714 cat conftest.err
>&5
8715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8716 (exit $ac_status); } &&
8717 { ac_try
='test -z "$ac_c_werror_flag"
8718 || test ! -s conftest.err'
8719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8723 (exit $ac_status); }; } &&
8724 { ac_try
='test -s conftest$ac_exeext'
8725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8729 (exit $ac_status); }; }; then
8730 ac_cv_lib_posix_remove
=yes
8732 echo "$as_me: failed program was:" >&5
8733 sed 's/^/| /' conftest.
$ac_ext >&5
8735 ac_cv_lib_posix_remove
=no
8737 rm -f conftest.err conftest.
$ac_objext \
8738 conftest
$ac_exeext conftest.
$ac_ext
8739 LIBS
=$ac_check_lib_save_LIBS
8741 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
8742 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
8743 if test $ac_cv_lib_posix_remove = yes; then
8744 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8749 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8750 echo "$as_me:$LINENO: checking for shmat" >&5
8751 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
8752 if test "${ac_cv_func_shmat+set}" = set; then
8753 echo $ECHO_N "(cached) $ECHO_C" >&6
8755 if test x
$gcc_no_link = xyes
; then
8756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8758 { (exit 1); exit 1; }; }
8760 cat >conftest.
$ac_ext <<_ACEOF
8763 cat confdefs.h
>>conftest.
$ac_ext
8764 cat >>conftest.
$ac_ext <<_ACEOF
8765 /* end confdefs.h. */
8766 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
8767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8768 #define shmat innocuous_shmat
8770 /* System header to define __stub macros and hopefully few prototypes,
8771 which can conflict with char shmat (); below.
8772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8773 <limits.h> exists even on freestanding compilers. */
8776 # include <limits.h>
8778 # include <assert.h>
8783 /* Override any gcc2 internal prototype to avoid an error. */
8788 /* We use char because int might match the return type of a gcc2
8789 builtin and then its argument prototype would still apply. */
8791 /* The GNU C library defines this for functions which it implements
8792 to always fail with ENOSYS. Some functions are actually named
8793 something starting with __ and the normal name is an alias. */
8794 #if defined (__stub_shmat) || defined (__stub___shmat)
8797 char (*f) () = shmat;
8811 rm -f conftest.
$ac_objext conftest
$ac_exeext
8812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8813 (eval $ac_link) 2>conftest.er1
8815 grep -v '^ *+' conftest.er1
>conftest.err
8817 cat conftest.err
>&5
8818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8819 (exit $ac_status); } &&
8820 { ac_try
='test -z "$ac_c_werror_flag"
8821 || test ! -s conftest.err'
8822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8826 (exit $ac_status); }; } &&
8827 { ac_try
='test -s conftest$ac_exeext'
8828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8832 (exit $ac_status); }; }; then
8833 ac_cv_func_shmat
=yes
8835 echo "$as_me: failed program was:" >&5
8836 sed 's/^/| /' conftest.
$ac_ext >&5
8840 rm -f conftest.err conftest.
$ac_objext \
8841 conftest
$ac_exeext conftest.
$ac_ext
8843 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
8844 echo "${ECHO_T}$ac_cv_func_shmat" >&6
8846 if test $ac_cv_func_shmat = no
; then
8847 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
8848 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
8849 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
8850 echo $ECHO_N "(cached) $ECHO_C" >&6
8852 ac_check_lib_save_LIBS
=$LIBS
8854 if test x
$gcc_no_link = xyes
; then
8855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8857 { (exit 1); exit 1; }; }
8859 cat >conftest.
$ac_ext <<_ACEOF
8862 cat confdefs.h
>>conftest.
$ac_ext
8863 cat >>conftest.
$ac_ext <<_ACEOF
8864 /* end confdefs.h. */
8866 /* Override any gcc2 internal prototype to avoid an error. */
8870 /* We use char because int might match the return type of a gcc2
8871 builtin and then its argument prototype would still apply. */
8881 rm -f conftest.
$ac_objext conftest
$ac_exeext
8882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8883 (eval $ac_link) 2>conftest.er1
8885 grep -v '^ *+' conftest.er1
>conftest.err
8887 cat conftest.err
>&5
8888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8889 (exit $ac_status); } &&
8890 { ac_try
='test -z "$ac_c_werror_flag"
8891 || test ! -s conftest.err'
8892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8896 (exit $ac_status); }; } &&
8897 { ac_try
='test -s conftest$ac_exeext'
8898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8902 (exit $ac_status); }; }; then
8903 ac_cv_lib_ipc_shmat
=yes
8905 echo "$as_me: failed program was:" >&5
8906 sed 's/^/| /' conftest.
$ac_ext >&5
8908 ac_cv_lib_ipc_shmat
=no
8910 rm -f conftest.err conftest.
$ac_objext \
8911 conftest
$ac_exeext conftest.
$ac_ext
8912 LIBS
=$ac_check_lib_save_LIBS
8914 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
8915 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
8916 if test $ac_cv_lib_ipc_shmat = yes; then
8917 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8923 # Check for libraries that X11R6 Xt/Xaw programs need.
8924 ac_save_LDFLAGS
=$LDFLAGS
8925 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8926 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8927 # check for ICE first), but we must link in the order -lSM -lICE or
8928 # we get undefined symbols. So assume we have SM if we have ICE.
8929 # These have to be linked with before -lX11, unlike the other
8930 # libraries we check for below, so use a different variable.
8931 # John Interrante, Karl Berry
8932 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
8933 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
8934 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
8935 echo $ECHO_N "(cached) $ECHO_C" >&6
8937 ac_check_lib_save_LIBS
=$LIBS
8938 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8939 if test x
$gcc_no_link = xyes
; then
8940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8942 { (exit 1); exit 1; }; }
8944 cat >conftest.
$ac_ext <<_ACEOF
8947 cat confdefs.h
>>conftest.
$ac_ext
8948 cat >>conftest.
$ac_ext <<_ACEOF
8949 /* end confdefs.h. */
8951 /* Override any gcc2 internal prototype to avoid an error. */
8955 /* We use char because int might match the return type of a gcc2
8956 builtin and then its argument prototype would still apply. */
8957 char IceConnectionNumber ();
8961 IceConnectionNumber ();
8966 rm -f conftest.
$ac_objext conftest
$ac_exeext
8967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8968 (eval $ac_link) 2>conftest.er1
8970 grep -v '^ *+' conftest.er1
>conftest.err
8972 cat conftest.err
>&5
8973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974 (exit $ac_status); } &&
8975 { ac_try
='test -z "$ac_c_werror_flag"
8976 || test ! -s conftest.err'
8977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981 (exit $ac_status); }; } &&
8982 { ac_try
='test -s conftest$ac_exeext'
8983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8987 (exit $ac_status); }; }; then
8988 ac_cv_lib_ICE_IceConnectionNumber
=yes
8990 echo "$as_me: failed program was:" >&5
8991 sed 's/^/| /' conftest.
$ac_ext >&5
8993 ac_cv_lib_ICE_IceConnectionNumber
=no
8995 rm -f conftest.err conftest.
$ac_objext \
8996 conftest
$ac_exeext conftest.
$ac_ext
8997 LIBS
=$ac_check_lib_save_LIBS
8999 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9000 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
9001 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
9002 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9005 LDFLAGS
=$ac_save_LDFLAGS
9010 # FIXME: this should be _libs on some hosts.
9013 # extra LD Flags which are required for targets
9016 # For now we have to disable it on darwin[8-9] because it slows down
9017 # the linking phase. A possible bug in ld?
9018 # on Darwin -single_module speeds up loading of the dynamic libraries.
9019 extra_ldflags_libjava
=-Wl,-single_module
9024 # Allow the GC to be disabled. Can be useful when debugging.
9025 echo "$as_me:$LINENO: checking for garbage collector to use" >&5
9026 echo $ECHO_N "checking for garbage collector to use... $ECHO_C" >&6
9027 # Check whether --enable-java-gc or --disable-java-gc was given.
9028 if test "${enable_java_gc+set}" = set; then
9029 enableval
="$enable_java_gc"
9042 echo "$as_me:$LINENO: result: boehm" >&5
9043 echo "${ECHO_T}boehm" >&6
9044 GCLIBS
=..
/boehm-gc
/libgcjgc_convenience.la
9045 JC1GCSPEC
='-fuse-boehm-gc'
9046 GCTESTSPEC
="-L`${PWDCMD-pwd}`/../boehm-gc/.libs -rpath `${PWDCMD-pwd}`/../boehm-gc/.libs"
9047 GCINCS
='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include'
9050 # The POSIX thread support needs to know this.
9052 cat >>confdefs.h
<<\_ACEOF
9053 #define HAVE_BOEHM_GC 1
9058 echo "$as_me:$LINENO: result: none" >&5
9059 echo "${ECHO_T}none" >&6
9063 { { echo "$as_me:$LINENO: error: unrecognized collector \"$GC\"" >&5
9064 echo "$as_me: error: unrecognized collector \"$GC\"" >&2;}
9065 { (exit 1); exit 1; }; }
9074 ac_config_links
="$ac_config_links include/java-gc.h:include/$GCHDR"
9078 if test "$GC" = boehm
; then
9080 USING_BOEHMGC_FALSE
='#'
9082 USING_BOEHMGC_TRUE
='#'
9083 USING_BOEHMGC_FALSE
=
9088 if test "$GC" = no
; then
9090 USING_NOGC_FALSE
='#'
9098 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
9099 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
9100 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
9101 echo "$as_me:$LINENO: result: $THREADS" >&5
9102 echo "${ECHO_T}$THREADS" >&6
9108 posix | posix95 | pthreads
)
9113 cat >>confdefs.h
<<\_ACEOF
9114 #define LINUX_THREADS 1
9122 decosf1 | irix | mach | os2 | solaris | dce | vxworks
)
9123 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
9124 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
9125 { (exit 1); exit 1; }; }
9128 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
9129 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
9130 { (exit 1); exit 1; }; }
9141 THREADSTARTFILESPEC
=
9146 # Don't set THREADLIBS here. Cygwin doesn't have -lpthread.
9149 # Before FreeBSD 5, it didn't have -lpthread (or any library which
9150 # merely adds pthread_* functions) but it does have a -pthread switch
9151 # which is required at link-time to select -lc_r *instead* of -lc.
9152 THREADLDFLAGS
=-pthread
9153 # Don't set THREADSPEC here as might be expected since -pthread is
9154 # not processed when found within a spec file, it must come from
9155 # the command line. For now, the user must provide the -pthread
9156 # switch to link code compiled with gcj. In future, consider adding
9157 # support for weak references to pthread_* functions ala gthr.h API.
9158 THREADSPEC
='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
9161 # FreeBSD >=5.3 implements a model much closer to other modern UNIX
9162 # systems which support threads and -lpthread.
9163 THREADLDFLAGS
=-pthread
9164 THREADSPEC
=-lpthread
9166 alpha
*-dec-osf* | hppa
*-hp-hpux*)
9167 THREADCXXFLAGS
=-pthread
9168 # boehm-gc needs some functions from librt, so link that too.
9169 THREADLIBS
='-lpthread -lrt'
9170 THREADSPEC
='-lpthread -lrt'
9173 THREADLIBS
=-lpthread
9174 THREADSPEC
=-lpthread
9177 THREADH
=posix-threads.h
9178 # MIT pthreads doesn't seem to have the mutexattr functions.
9179 # But for now we don't check for it. We just assume you aren't
9180 # using MIT pthreads.
9182 cat >>confdefs.h
<<\_ACEOF
9183 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
9187 # If we're using the Boehm GC, then we happen to know that it
9188 # defines _REENTRANT, so we don't bother. Eww.
9189 if test "$GC" != boehm
; then
9191 cat >>confdefs.h
<<\_ACEOF
9192 #define _REENTRANT 1
9197 cat >>confdefs.h
<<\_ACEOF
9198 #define _POSIX_PTHREAD_SEMANTICS 1
9204 THREADH
=win32-threads.h
9205 THREADCXXFLAGS
=-mthreads
9206 # We need thread-safe exception handling so _CRT_MT should be set to 1.
9207 # But we do not want the executables created to be dependent on
9208 # mingwm10.dll which provides a __mingwthr_key_dtor() that cleans up
9209 # exception handling contexts. The following kludge achieves this effect
9210 # and causes a dummy __mingwthr_key_dtor() to be linked in from
9211 # libmingw32.a. This causes a memory leak of about 24 bytes per thread.
9212 # A workaround is to explicitly use -mthreads while linking Java programs.
9213 # See PR libgcj/28263.
9215 # FIXME: In Java we are able to detect thread death at the end of
9216 # Thread.run() so we should be able to clean up the exception handling
9217 # contexts ourselves.
9218 THREADSTARTFILESPEC
='crtmt%O%s'
9222 THREADH
=no-threads.h
9225 ac_config_links
="$ac_config_links include/java-threads.h:include/$THREADH"
9236 if test "$THREADS" = posix
; then
9237 USING_POSIX_THREADS_TRUE
=
9238 USING_POSIX_THREADS_FALSE
='#'
9240 USING_POSIX_THREADS_TRUE
='#'
9241 USING_POSIX_THREADS_FALSE
=
9246 if test "$THREADS" = win32
; then
9247 USING_WIN32_THREADS_TRUE
=
9248 USING_WIN32_THREADS_FALSE
='#'
9250 USING_WIN32_THREADS_TRUE
='#'
9251 USING_WIN32_THREADS_FALSE
=
9256 if test "$THREADS" = none
; then
9257 USING_NO_THREADS_TRUE
=
9258 USING_NO_THREADS_FALSE
='#'
9260 USING_NO_THREADS_TRUE
='#'
9261 USING_NO_THREADS_FALSE
=
9266 if test "$use_libgcj_bc" = yes; then
9268 USE_LIBGCJ_BC_FALSE
='#'
9270 USE_LIBGCJ_BC_TRUE
='#'
9271 USE_LIBGCJ_BC_FALSE
=
9275 if test -d sysdep
; then true
; else mkdir sysdep
; fi
9276 ac_config_links
="$ac_config_links sysdep/locks.h:sysdep/$sysdeps_dir/locks.h"
9278 ac_config_links
="$ac_config_links sysdep/backtrace.h:$fallback_backtrace_h"
9280 ac_config_links
="$ac_config_links sysdep/descriptor.h:$descriptor_h"
9283 LIBGCJ_SPEC
="%{s-bc-abi:} -lgcj"
9284 if test "$use_libgcj_bc" = yes; then
9285 LIBGCJ_SPEC
="%{s-bc-abi:-lgcj_bc;:-lgcj}"
9290 # Hash synchronization is only useful with posix threads right now.
9291 if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then
9292 HASH_SYNC_SPEC
=-fhash-synchronization
9294 cat >>confdefs.h
<<\_ACEOF
9295 #define JV_HASH_SYNCHRONIZATION 1
9303 if test "$GCC" = yes; then
9312 # We're in the tree with gcc, and need to include some of its headers.
9313 GCC_UNWIND_INCLUDE
='-I$(libgcj_basedir)/../gcc'
9315 if test "x${with_newlib}" = "xyes"; then
9316 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
9317 # may not work correctly, because the compiler may not be able to
9320 # We assume newlib. This lets us hard-code the functions we know
9323 cat >>confdefs.h
<<\_ACEOF
9324 #define HAVE_MEMMOVE 1
9328 cat >>confdefs.h
<<\_ACEOF
9329 #define HAVE_MEMCPY 1
9333 cat >>confdefs.h
<<\_ACEOF
9334 #define HAVE_STRERROR 1
9338 cat >>confdefs.h
<<\_ACEOF
9343 cat >>confdefs.h
<<\_ACEOF
9344 #define HAVE_GMTIME_R 1
9348 cat >>confdefs.h
<<\_ACEOF
9349 #define HAVE_LOCALTIME_R 1
9353 cat >>confdefs.h
<<\_ACEOF
9354 #define HAVE_USLEEP_DECL 1
9357 # This is only for POSIX threads.
9359 cat >>confdefs.h
<<\_ACEOF
9360 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
9363 # We also assume we are using gcc, which provides alloca.
9364 cat >>confdefs.h
<<\_ACEOF
9365 #define HAVE_ALLOCA 1
9369 # Assume we do not have getuid and friends.
9371 cat >>confdefs.h
<<\_ACEOF
9412 for ac_func
in strerror ioctl
select fstat open fsync
sleep opendir \
9413 gmtime_r localtime_r readdir_r getpwuid_r getcwd \
9414 access stat lstat mkdir rename
rmdir unlink utime
chmod readlink \
9415 nl_langinfo setlocale \
9416 inet_pton uname inet_ntoa \
9417 fork execvp pipe sigaction ftruncate mmap \
9420 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9421 echo "$as_me:$LINENO: checking for $ac_func" >&5
9422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9423 if eval "test \"\${$as_ac_var+set}\" = set"; then
9424 echo $ECHO_N "(cached) $ECHO_C" >&6
9426 if test x
$gcc_no_link = xyes
; then
9427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9429 { (exit 1); exit 1; }; }
9431 cat >conftest.
$ac_ext <<_ACEOF
9434 cat confdefs.h
>>conftest.
$ac_ext
9435 cat >>conftest.
$ac_ext <<_ACEOF
9436 /* end confdefs.h. */
9437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9439 #define $ac_func innocuous_$ac_func
9441 /* System header to define __stub macros and hopefully few prototypes,
9442 which can conflict with char $ac_func (); below.
9443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9444 <limits.h> exists even on freestanding compilers. */
9447 # include <limits.h>
9449 # include <assert.h>
9454 /* Override any gcc2 internal prototype to avoid an error. */
9459 /* We use char because int might match the return type of a gcc2
9460 builtin and then its argument prototype would still apply. */
9462 /* The GNU C library defines this for functions which it implements
9463 to always fail with ENOSYS. Some functions are actually named
9464 something starting with __ and the normal name is an alias. */
9465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9468 char (*f) () = $ac_func;
9477 return f != $ac_func;
9482 rm -f conftest.
$ac_objext conftest
$ac_exeext
9483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9484 (eval $ac_link) 2>conftest.er1
9486 grep -v '^ *+' conftest.er1
>conftest.err
9488 cat conftest.err
>&5
9489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9490 (exit $ac_status); } &&
9491 { ac_try
='test -z "$ac_c_werror_flag"
9492 || test ! -s conftest.err'
9493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9497 (exit $ac_status); }; } &&
9498 { ac_try
='test -s conftest$ac_exeext'
9499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9503 (exit $ac_status); }; }; then
9504 eval "$as_ac_var=yes"
9506 echo "$as_me: failed program was:" >&5
9507 sed 's/^/| /' conftest.
$ac_ext >&5
9509 eval "$as_ac_var=no"
9511 rm -f conftest.err conftest.
$ac_objext \
9512 conftest
$ac_exeext conftest.
$ac_ext
9514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9516 if test `eval echo '${'$as_ac_var'}'` = yes; then
9517 cat >>confdefs.h
<<_ACEOF
9518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9526 for ac_func
in inet_aton inet_addr
9528 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9529 echo "$as_me:$LINENO: checking for $ac_func" >&5
9530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9531 if eval "test \"\${$as_ac_var+set}\" = set"; then
9532 echo $ECHO_N "(cached) $ECHO_C" >&6
9534 if test x
$gcc_no_link = xyes
; then
9535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9537 { (exit 1); exit 1; }; }
9539 cat >conftest.
$ac_ext <<_ACEOF
9542 cat confdefs.h
>>conftest.
$ac_ext
9543 cat >>conftest.
$ac_ext <<_ACEOF
9544 /* end confdefs.h. */
9545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9547 #define $ac_func innocuous_$ac_func
9549 /* System header to define __stub macros and hopefully few prototypes,
9550 which can conflict with char $ac_func (); below.
9551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9552 <limits.h> exists even on freestanding compilers. */
9555 # include <limits.h>
9557 # include <assert.h>
9562 /* Override any gcc2 internal prototype to avoid an error. */
9567 /* We use char because int might match the return type of a gcc2
9568 builtin and then its argument prototype would still apply. */
9570 /* The GNU C library defines this for functions which it implements
9571 to always fail with ENOSYS. Some functions are actually named
9572 something starting with __ and the normal name is an alias. */
9573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9576 char (*f) () = $ac_func;
9585 return f != $ac_func;
9590 rm -f conftest.
$ac_objext conftest
$ac_exeext
9591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9592 (eval $ac_link) 2>conftest.er1
9594 grep -v '^ *+' conftest.er1
>conftest.err
9596 cat conftest.err
>&5
9597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9598 (exit $ac_status); } &&
9599 { ac_try
='test -z "$ac_c_werror_flag"
9600 || test ! -s conftest.err'
9601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9605 (exit $ac_status); }; } &&
9606 { ac_try
='test -s conftest$ac_exeext'
9607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9611 (exit $ac_status); }; }; then
9612 eval "$as_ac_var=yes"
9614 echo "$as_me: failed program was:" >&5
9615 sed 's/^/| /' conftest.
$ac_ext >&5
9617 eval "$as_ac_var=no"
9619 rm -f conftest.err conftest.
$ac_objext \
9620 conftest
$ac_exeext conftest.
$ac_ext
9622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9624 if test `eval echo '${'$as_ac_var'}'` = yes; then
9625 cat >>confdefs.h
<<_ACEOF
9626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9632 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
9633 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
9634 if test "${ac_cv_header_stdc+set}" = set; then
9635 echo $ECHO_N "(cached) $ECHO_C" >&6
9637 cat >conftest.
$ac_ext <<_ACEOF
9640 cat confdefs.h
>>conftest.
$ac_ext
9641 cat >>conftest.
$ac_ext <<_ACEOF
9642 /* end confdefs.h. */
9656 rm -f conftest.
$ac_objext
9657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9658 (eval $ac_compile) 2>conftest.er1
9660 grep -v '^ *+' conftest.er1
>conftest.err
9662 cat conftest.err
>&5
9663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9664 (exit $ac_status); } &&
9665 { ac_try
='test -z "$ac_c_werror_flag"
9666 || test ! -s conftest.err'
9667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9671 (exit $ac_status); }; } &&
9672 { ac_try
='test -s conftest.$ac_objext'
9673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9677 (exit $ac_status); }; }; then
9678 ac_cv_header_stdc
=yes
9680 echo "$as_me: failed program was:" >&5
9681 sed 's/^/| /' conftest.
$ac_ext >&5
9683 ac_cv_header_stdc
=no
9685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9687 if test $ac_cv_header_stdc = yes; then
9688 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9689 cat >conftest.
$ac_ext <<_ACEOF
9692 cat confdefs.h
>>conftest.
$ac_ext
9693 cat >>conftest.
$ac_ext <<_ACEOF
9694 /* end confdefs.h. */
9698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9699 $EGREP "memchr" >/dev
/null
2>&1; then
9702 ac_cv_header_stdc
=no
9708 if test $ac_cv_header_stdc = yes; then
9709 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9710 cat >conftest.
$ac_ext <<_ACEOF
9713 cat confdefs.h
>>conftest.
$ac_ext
9714 cat >>conftest.
$ac_ext <<_ACEOF
9715 /* end confdefs.h. */
9719 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9720 $EGREP "free" >/dev
/null
2>&1; then
9723 ac_cv_header_stdc
=no
9729 if test $ac_cv_header_stdc = yes; then
9730 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9731 if test "$cross_compiling" = yes; then
9734 cat >conftest.
$ac_ext <<_ACEOF
9737 cat confdefs.h
>>conftest.
$ac_ext
9738 cat >>conftest.
$ac_ext <<_ACEOF
9739 /* end confdefs.h. */
9741 #if ((' ' & 0x0FF) == 0x020)
9742 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9743 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9745 # define ISLOWER(c) \
9746 (('a' <= (c) && (c) <= 'i') \
9747 || ('j' <= (c) && (c) <= 'r') \
9748 || ('s' <= (c) && (c) <= 'z'))
9749 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9752 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9757 for (i = 0; i < 256; i++)
9758 if (XOR (islower (i), ISLOWER (i))
9759 || toupper (i) != TOUPPER (i))
9764 rm -f conftest
$ac_exeext
9765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9766 (eval $ac_link) 2>&5
9768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9769 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9774 (exit $ac_status); }; }; then
9777 echo "$as_me: program exited with status $ac_status" >&5
9778 echo "$as_me: failed program was:" >&5
9779 sed 's/^/| /' conftest.
$ac_ext >&5
9782 ac_cv_header_stdc
=no
9784 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9788 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
9789 echo "${ECHO_T}$ac_cv_header_stdc" >&6
9790 if test $ac_cv_header_stdc = yes; then
9792 cat >>confdefs.h
<<\_ACEOF
9793 #define STDC_HEADERS 1
9798 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9808 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
9809 inttypes.h stdint.h unistd.h
9811 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9812 echo "$as_me:$LINENO: checking for $ac_header" >&5
9813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9815 echo $ECHO_N "(cached) $ECHO_C" >&6
9817 cat >conftest.
$ac_ext <<_ACEOF
9820 cat confdefs.h
>>conftest.
$ac_ext
9821 cat >>conftest.
$ac_ext <<_ACEOF
9822 /* end confdefs.h. */
9823 $ac_includes_default
9825 #include <$ac_header>
9827 rm -f conftest.
$ac_objext
9828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9829 (eval $ac_compile) 2>conftest.er1
9831 grep -v '^ *+' conftest.er1
>conftest.err
9833 cat conftest.err
>&5
9834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9835 (exit $ac_status); } &&
9836 { ac_try
='test -z "$ac_c_werror_flag"
9837 || test ! -s conftest.err'
9838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9842 (exit $ac_status); }; } &&
9843 { ac_try
='test -s conftest.$ac_objext'
9844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9848 (exit $ac_status); }; }; then
9849 eval "$as_ac_Header=yes"
9851 echo "$as_me: failed program was:" >&5
9852 sed 's/^/| /' conftest.
$ac_ext >&5
9854 eval "$as_ac_Header=no"
9856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9859 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9860 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9861 cat >>confdefs.h
<<_ACEOF
9862 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9873 for ac_header
in execinfo.h unistd.h dlfcn.h
9875 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9877 echo "$as_me:$LINENO: checking for $ac_header" >&5
9878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9880 echo $ECHO_N "(cached) $ECHO_C" >&6
9882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9883 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9885 # Is the header compilable?
9886 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9887 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9888 cat >conftest.
$ac_ext <<_ACEOF
9891 cat confdefs.h
>>conftest.
$ac_ext
9892 cat >>conftest.
$ac_ext <<_ACEOF
9893 /* end confdefs.h. */
9894 $ac_includes_default
9895 #include <$ac_header>
9897 rm -f conftest.
$ac_objext
9898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9899 (eval $ac_compile) 2>conftest.er1
9901 grep -v '^ *+' conftest.er1
>conftest.err
9903 cat conftest.err
>&5
9904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9905 (exit $ac_status); } &&
9906 { ac_try
='test -z "$ac_c_werror_flag"
9907 || test ! -s conftest.err'
9908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9912 (exit $ac_status); }; } &&
9913 { ac_try
='test -s conftest.$ac_objext'
9914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9918 (exit $ac_status); }; }; then
9919 ac_header_compiler
=yes
9921 echo "$as_me: failed program was:" >&5
9922 sed 's/^/| /' conftest.
$ac_ext >&5
9924 ac_header_compiler
=no
9926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9927 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9928 echo "${ECHO_T}$ac_header_compiler" >&6
9930 # Is the header present?
9931 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9932 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9933 cat >conftest.
$ac_ext <<_ACEOF
9936 cat confdefs.h
>>conftest.
$ac_ext
9937 cat >>conftest.
$ac_ext <<_ACEOF
9938 /* end confdefs.h. */
9939 #include <$ac_header>
9941 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9942 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9944 grep -v '^ *+' conftest.er1
>conftest.err
9946 cat conftest.err
>&5
9947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9948 (exit $ac_status); } >/dev
/null
; then
9949 if test -s conftest.err
; then
9950 ac_cpp_err
=$ac_c_preproc_warn_flag
9951 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9958 if test -z "$ac_cpp_err"; then
9959 ac_header_preproc
=yes
9961 echo "$as_me: failed program was:" >&5
9962 sed 's/^/| /' conftest.
$ac_ext >&5
9964 ac_header_preproc
=no
9966 rm -f conftest.err conftest.
$ac_ext
9967 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9968 echo "${ECHO_T}$ac_header_preproc" >&6
9970 # So? What about this header?
9971 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9973 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9974 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9975 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9976 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9977 ac_header_preproc
=yes
9980 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9981 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9982 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9983 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9984 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9985 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9986 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9987 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9988 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9989 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9990 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9991 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9994 ## ---------------------------------- ##
9995 ## Report this to the libjava lists. ##
9996 ## ---------------------------------- ##
9999 sed "s/^/$as_me: WARNING: /" >&2
10002 echo "$as_me:$LINENO: checking for $ac_header" >&5
10003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10005 echo $ECHO_N "(cached) $ECHO_C" >&6
10007 eval "$as_ac_Header=\$ac_header_preproc"
10009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10010 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10013 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10014 cat >>confdefs.h
<<_ACEOF
10015 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10022 # Do an additional check on dld, HP-UX for example has dladdr in libdld.sl
10023 echo "$as_me:$LINENO: checking for dladdr in -ldl" >&5
10024 echo $ECHO_N "checking for dladdr in -ldl... $ECHO_C" >&6
10025 if test "${ac_cv_lib_dl_dladdr+set}" = set; then
10026 echo $ECHO_N "(cached) $ECHO_C" >&6
10028 ac_check_lib_save_LIBS
=$LIBS
10030 if test x
$gcc_no_link = xyes
; then
10031 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10033 { (exit 1); exit 1; }; }
10035 cat >conftest.
$ac_ext <<_ACEOF
10038 cat confdefs.h
>>conftest.
$ac_ext
10039 cat >>conftest.
$ac_ext <<_ACEOF
10040 /* end confdefs.h. */
10042 /* Override any gcc2 internal prototype to avoid an error. */
10046 /* We use char because int might match the return type of a gcc2
10047 builtin and then its argument prototype would still apply. */
10057 rm -f conftest.
$ac_objext conftest
$ac_exeext
10058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10059 (eval $ac_link) 2>conftest.er1
10061 grep -v '^ *+' conftest.er1
>conftest.err
10063 cat conftest.err
>&5
10064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10065 (exit $ac_status); } &&
10066 { ac_try
='test -z "$ac_c_werror_flag"
10067 || test ! -s conftest.err'
10068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10069 (eval $ac_try) 2>&5
10071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10072 (exit $ac_status); }; } &&
10073 { ac_try
='test -s conftest$ac_exeext'
10074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10075 (eval $ac_try) 2>&5
10077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10078 (exit $ac_status); }; }; then
10079 ac_cv_lib_dl_dladdr
=yes
10081 echo "$as_me: failed program was:" >&5
10082 sed 's/^/| /' conftest.
$ac_ext >&5
10084 ac_cv_lib_dl_dladdr
=no
10086 rm -f conftest.err conftest.
$ac_objext \
10087 conftest
$ac_exeext conftest.
$ac_ext
10088 LIBS
=$ac_check_lib_save_LIBS
10090 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dladdr" >&5
10091 echo "${ECHO_T}$ac_cv_lib_dl_dladdr" >&6
10092 if test $ac_cv_lib_dl_dladdr = yes; then
10095 cat >>confdefs.h
<<\_ACEOF
10096 #define HAVE_DLADDR 1
10101 echo "$as_me:$LINENO: checking for dladdr in -ldld" >&5
10102 echo $ECHO_N "checking for dladdr in -ldld... $ECHO_C" >&6
10103 if test "${ac_cv_lib_dld_dladdr+set}" = set; then
10104 echo $ECHO_N "(cached) $ECHO_C" >&6
10106 ac_check_lib_save_LIBS
=$LIBS
10108 if test x
$gcc_no_link = xyes
; then
10109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10111 { (exit 1); exit 1; }; }
10113 cat >conftest.
$ac_ext <<_ACEOF
10116 cat confdefs.h
>>conftest.
$ac_ext
10117 cat >>conftest.
$ac_ext <<_ACEOF
10118 /* end confdefs.h. */
10120 /* Override any gcc2 internal prototype to avoid an error. */
10124 /* We use char because int might match the return type of a gcc2
10125 builtin and then its argument prototype would still apply. */
10135 rm -f conftest.
$ac_objext conftest
$ac_exeext
10136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10137 (eval $ac_link) 2>conftest.er1
10139 grep -v '^ *+' conftest.er1
>conftest.err
10141 cat conftest.err
>&5
10142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10143 (exit $ac_status); } &&
10144 { ac_try
='test -z "$ac_c_werror_flag"
10145 || test ! -s conftest.err'
10146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10147 (eval $ac_try) 2>&5
10149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10150 (exit $ac_status); }; } &&
10151 { ac_try
='test -s conftest$ac_exeext'
10152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10153 (eval $ac_try) 2>&5
10155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10156 (exit $ac_status); }; }; then
10157 ac_cv_lib_dld_dladdr
=yes
10159 echo "$as_me: failed program was:" >&5
10160 sed 's/^/| /' conftest.
$ac_ext >&5
10162 ac_cv_lib_dld_dladdr
=no
10164 rm -f conftest.err conftest.
$ac_objext \
10165 conftest
$ac_exeext conftest.
$ac_ext
10166 LIBS
=$ac_check_lib_save_LIBS
10168 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dladdr" >&5
10169 echo "${ECHO_T}$ac_cv_lib_dld_dladdr" >&6
10170 if test $ac_cv_lib_dld_dladdr = yes; then
10173 cat >>confdefs.h
<<\_ACEOF
10174 #define HAVE_DLADDR 1
10182 if test x
"$build" = x
"$host"; then
10183 echo "$as_me:$LINENO: checking for /proc/self/exe" >&5
10184 echo $ECHO_N "checking for /proc/self/exe... $ECHO_C" >&6
10185 if test "${ac_cv_file__proc_self_exe+set}" = set; then
10186 echo $ECHO_N "(cached) $ECHO_C" >&6
10188 test "$cross_compiling" = yes &&
10189 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
10190 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
10191 { (exit 1); exit 1; }; }
10192 if test -r "/proc/self/exe"; then
10193 ac_cv_file__proc_self_exe
=yes
10195 ac_cv_file__proc_self_exe
=no
10198 echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_exe" >&5
10199 echo "${ECHO_T}$ac_cv_file__proc_self_exe" >&6
10200 if test $ac_cv_file__proc_self_exe = yes; then
10202 cat >>confdefs.h
<<_ACEOF
10203 #define HAVE__PROC_SELF_EXE 1
10208 cat >>confdefs.h
<<\_ACEOF
10209 #define HAVE_PROC_SELF_EXE 1
10218 cat >>confdefs.h
<<\_ACEOF
10219 #define HAVE_PROC_SELF_EXE 1
10227 if test "X$prefix" = "XNONE"; then
10228 acl_final_prefix
="$ac_default_prefix"
10230 acl_final_prefix
="$prefix"
10232 if test "X$exec_prefix" = "XNONE"; then
10233 acl_final_exec_prefix
='${prefix}'
10235 acl_final_exec_prefix
="$exec_prefix"
10237 acl_save_prefix
="$prefix"
10238 prefix
="$acl_final_prefix"
10239 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
10240 prefix
="$acl_save_prefix"
10243 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10244 if test "${with_gnu_ld+set}" = set; then
10245 withval
="$with_gnu_ld"
10246 test "$withval" = no || with_gnu_ld
=yes
10250 # Prepare PATH_SEPARATOR.
10251 # The user is always right.
10252 if test "${PATH_SEPARATOR+set}" != set; then
10253 echo "#! /bin/sh" >conf$$.sh
10254 echo "exit 0" >>conf$$.sh
10256 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10264 if test "$GCC" = yes; then
10265 # Check if gcc -print-prog-name=ld gives a path.
10266 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
10267 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
10270 # gcc leaves a trailing carriage return which upsets mingw
10271 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10273 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10276 # Accept absolute paths.
10277 [\\/]* |
[A-Za-z
]:[\\/]*)
10278 re_direlt
='/[^/][^/]*/\.\./'
10279 # Canonicalize the path of ld
10280 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
10281 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10282 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
10284 test -z "$LD" && LD
="$ac_prog"
10287 # If it fails, then pretend we aren't using GCC.
10291 # If it is relative, then search for the first ld in PATH.
10292 with_gnu_ld
=unknown
10295 elif test "$with_gnu_ld" = yes; then
10296 echo "$as_me:$LINENO: checking for GNU ld" >&5
10297 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10299 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10300 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10302 if test "${acl_cv_path_LD+set}" = set; then
10303 echo $ECHO_N "(cached) $ECHO_C" >&6
10305 if test -z "$LD"; then
10306 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
10307 for ac_dir
in $PATH; do
10308 test -z "$ac_dir" && ac_dir
=.
10309 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10310 acl_cv_path_LD
="$ac_dir/$ac_prog"
10311 # Check to see if the program is GNU ld. I'd rather use --version,
10312 # but apparently some GNU ld's only accept -v.
10313 # Break only if it was the GNU/non-GNU ld that we prefer.
10314 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
10315 test "$with_gnu_ld" != no
&& break
10317 test "$with_gnu_ld" != yes && break
10323 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
10327 LD
="$acl_cv_path_LD"
10328 if test -n "$LD"; then
10329 echo "$as_me:$LINENO: result: $LD" >&5
10330 echo "${ECHO_T}$LD" >&6
10332 echo "$as_me:$LINENO: result: no" >&5
10333 echo "${ECHO_T}no" >&6
10335 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10336 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10337 { (exit 1); exit 1; }; }
10338 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10339 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10340 if test "${acl_cv_prog_gnu_ld+set}" = set; then
10341 echo $ECHO_N "(cached) $ECHO_C" >&6
10343 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10344 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
10345 acl_cv_prog_gnu_ld
=yes
10347 acl_cv_prog_gnu_ld
=no
10350 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
10351 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
10352 with_gnu_ld
=$acl_cv_prog_gnu_ld
10356 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
10357 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
10358 if test "${acl_cv_rpath+set}" = set; then
10359 echo $ECHO_N "(cached) $ECHO_C" >&6
10362 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
10363 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
10365 rm -f .
/conftest.sh
10369 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
10370 echo "${ECHO_T}$acl_cv_rpath" >&6
10372 libext
="$acl_cv_libext"
10373 shlibext
="$acl_cv_shlibext"
10374 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
10375 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
10376 hardcode_direct
="$acl_cv_hardcode_direct"
10377 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
10378 # Check whether --enable-rpath or --disable-rpath was given.
10379 if test "${enable_rpath+set}" = set; then
10380 enableval
="$enable_rpath"
10394 acl_save_prefix
="$prefix"
10395 prefix
="$acl_final_prefix"
10396 acl_save_exec_prefix
="$exec_prefix"
10397 exec_prefix
="$acl_final_exec_prefix"
10399 eval additional_includedir
=\"$includedir\"
10400 eval additional_libdir
=\"$libdir\"
10402 exec_prefix
="$acl_save_exec_prefix"
10403 prefix
="$acl_save_prefix"
10406 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
10407 if test "${with_libiconv_prefix+set}" = set; then
10408 withval
="$with_libiconv_prefix"
10410 if test "X$withval" = "Xno"; then
10413 if test "X$withval" = "X"; then
10415 acl_save_prefix
="$prefix"
10416 prefix
="$acl_final_prefix"
10417 acl_save_exec_prefix
="$exec_prefix"
10418 exec_prefix
="$acl_final_exec_prefix"
10420 eval additional_includedir
=\"$includedir\"
10421 eval additional_libdir
=\"$libdir\"
10423 exec_prefix
="$acl_save_exec_prefix"
10424 prefix
="$acl_save_prefix"
10427 additional_includedir
="$withval/include"
10428 additional_libdir
="$withval/lib"
10438 names_already_handled
=
10439 names_next_round
='iconv '
10440 while test -n "$names_next_round"; do
10441 names_this_round
="$names_next_round"
10443 for name
in $names_this_round; do
10445 for n
in $names_already_handled; do
10446 if test "$n" = "$name"; then
10447 already_handled
=yes
10451 if test -z "$already_handled"; then
10452 names_already_handled
="$names_already_handled $name"
10453 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
10454 eval value
=\"\
$HAVE_LIB$uppername\"
10455 if test -n "$value"; then
10456 if test "$value" = yes; then
10457 eval value
=\"\
$LIB$uppername\"
10458 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
10459 eval value
=\"\
$LTLIB$uppername\"
10460 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
10469 if test $use_additional = yes; then
10470 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
10471 found_dir
="$additional_libdir"
10472 found_so
="$additional_libdir/lib$name.$shlibext"
10473 if test -f "$additional_libdir/lib$name.la"; then
10474 found_la
="$additional_libdir/lib$name.la"
10477 if test -f "$additional_libdir/lib$name.$libext"; then
10478 found_dir
="$additional_libdir"
10479 found_a
="$additional_libdir/lib$name.$libext"
10480 if test -f "$additional_libdir/lib$name.la"; then
10481 found_la
="$additional_libdir/lib$name.la"
10486 if test "X$found_dir" = "X"; then
10487 for x
in $LDFLAGS $LTLIBICONV; do
10489 acl_save_prefix
="$prefix"
10490 prefix
="$acl_final_prefix"
10491 acl_save_exec_prefix
="$exec_prefix"
10492 exec_prefix
="$acl_final_exec_prefix"
10494 exec_prefix
="$acl_save_exec_prefix"
10495 prefix
="$acl_save_prefix"
10499 dir
=`echo "X$x" | sed -e 's/^X-L//'`
10500 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
10502 found_so
="$dir/lib$name.$shlibext"
10503 if test -f "$dir/lib$name.la"; then
10504 found_la
="$dir/lib$name.la"
10507 if test -f "$dir/lib$name.$libext"; then
10509 found_a
="$dir/lib$name.$libext"
10510 if test -f "$dir/lib$name.la"; then
10511 found_la
="$dir/lib$name.la"
10517 if test "X$found_dir" != "X"; then
10522 if test "X$found_dir" != "X"; then
10523 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
10524 if test "X$found_so" != "X"; then
10525 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
10526 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10529 for x
in $ltrpathdirs; do
10530 if test "X$x" = "X$found_dir"; then
10535 if test -z "$haveit"; then
10536 ltrpathdirs
="$ltrpathdirs $found_dir"
10538 if test "$hardcode_direct" = yes; then
10539 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10541 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
10542 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10544 for x
in $rpathdirs; do
10545 if test "X$x" = "X$found_dir"; then
10550 if test -z "$haveit"; then
10551 rpathdirs
="$rpathdirs $found_dir"
10555 for x
in $LDFLAGS $LIBICONV; do
10557 acl_save_prefix
="$prefix"
10558 prefix
="$acl_final_prefix"
10559 acl_save_exec_prefix
="$exec_prefix"
10560 exec_prefix
="$acl_final_exec_prefix"
10562 exec_prefix
="$acl_save_exec_prefix"
10563 prefix
="$acl_save_prefix"
10565 if test "X$x" = "X-L$found_dir"; then
10570 if test -z "$haveit"; then
10571 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
10573 if test "$hardcode_minus_L" != no
; then
10574 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10576 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
10582 if test "X$found_a" != "X"; then
10583 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
10585 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
10588 additional_includedir
=
10589 case "$found_dir" in
10591 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
10592 additional_includedir
="$basedir/include"
10595 if test "X$additional_includedir" != "X"; then
10596 if test "X$additional_includedir" != "X/usr/include"; then
10598 if test "X$additional_includedir" = "X/usr/local/include"; then
10599 if test -n "$GCC"; then
10601 linux
*) haveit
=yes;;
10605 if test -z "$haveit"; then
10606 for x
in $CPPFLAGS $INCICONV; do
10608 acl_save_prefix
="$prefix"
10609 prefix
="$acl_final_prefix"
10610 acl_save_exec_prefix
="$exec_prefix"
10611 exec_prefix
="$acl_final_exec_prefix"
10613 exec_prefix
="$acl_save_exec_prefix"
10614 prefix
="$acl_save_prefix"
10616 if test "X$x" = "X-I$additional_includedir"; then
10621 if test -z "$haveit"; then
10622 if test -d "$additional_includedir"; then
10623 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
10629 if test -n "$found_la"; then
10630 save_libdir
="$libdir"
10631 case "$found_la" in
10632 */* |
*\\*) .
"$found_la" ;;
10633 *) .
"./$found_la" ;;
10635 libdir
="$save_libdir"
10636 for dep
in $dependency_libs; do
10639 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
10640 if test "X$additional_libdir" != "X/usr/lib"; then
10642 if test "X$additional_libdir" = "X/usr/local/lib"; then
10643 if test -n "$GCC"; then
10645 linux
*) haveit
=yes;;
10649 if test -z "$haveit"; then
10651 for x
in $LDFLAGS $LIBICONV; do
10653 acl_save_prefix
="$prefix"
10654 prefix
="$acl_final_prefix"
10655 acl_save_exec_prefix
="$exec_prefix"
10656 exec_prefix
="$acl_final_exec_prefix"
10658 exec_prefix
="$acl_save_exec_prefix"
10659 prefix
="$acl_save_prefix"
10661 if test "X$x" = "X-L$additional_libdir"; then
10666 if test -z "$haveit"; then
10667 if test -d "$additional_libdir"; then
10668 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
10672 for x
in $LDFLAGS $LTLIBICONV; do
10674 acl_save_prefix
="$prefix"
10675 prefix
="$acl_final_prefix"
10676 acl_save_exec_prefix
="$exec_prefix"
10677 exec_prefix
="$acl_final_exec_prefix"
10679 exec_prefix
="$acl_save_exec_prefix"
10680 prefix
="$acl_save_prefix"
10682 if test "X$x" = "X-L$additional_libdir"; then
10687 if test -z "$haveit"; then
10688 if test -d "$additional_libdir"; then
10689 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
10696 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
10697 if test "$enable_rpath" != no
; then
10699 for x
in $rpathdirs; do
10700 if test "X$x" = "X$dir"; then
10705 if test -z "$haveit"; then
10706 rpathdirs
="$rpathdirs $dir"
10709 for x
in $ltrpathdirs; do
10710 if test "X$x" = "X$dir"; then
10715 if test -z "$haveit"; then
10716 ltrpathdirs
="$ltrpathdirs $dir"
10721 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10724 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10727 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
10728 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
10734 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
10735 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
10741 if test "X$rpathdirs" != "X"; then
10742 if test -n "$hardcode_libdir_separator"; then
10744 for found_dir
in $rpathdirs; do
10745 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10747 acl_save_libdir
="$libdir"
10749 eval flag
=\"$hardcode_libdir_flag_spec\"
10750 libdir
="$acl_save_libdir"
10751 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10753 for found_dir
in $rpathdirs; do
10754 acl_save_libdir
="$libdir"
10755 libdir
="$found_dir"
10756 eval flag
=\"$hardcode_libdir_flag_spec\"
10757 libdir
="$acl_save_libdir"
10758 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10762 if test "X$ltrpathdirs" != "X"; then
10763 for found_dir
in $ltrpathdirs; do
10764 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
10774 am_save_CPPFLAGS
="$CPPFLAGS"
10776 for element
in $INCICONV; do
10778 for x
in $CPPFLAGS; do
10780 acl_save_prefix
="$prefix"
10781 prefix
="$acl_final_prefix"
10782 acl_save_exec_prefix
="$exec_prefix"
10783 exec_prefix
="$acl_final_exec_prefix"
10785 exec_prefix
="$acl_save_exec_prefix"
10786 prefix
="$acl_save_prefix"
10788 if test "X$x" = "X$element"; then
10793 if test -z "$haveit"; then
10794 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
10799 echo "$as_me:$LINENO: checking for iconv" >&5
10800 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
10801 if test "${am_cv_func_iconv+set}" = set; then
10802 echo $ECHO_N "(cached) $ECHO_C" >&6
10805 am_cv_func_iconv
="no, consider installing GNU libiconv"
10807 if test x
$gcc_no_link = xyes
; then
10808 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10810 { (exit 1); exit 1; }; }
10812 cat >conftest.
$ac_ext <<_ACEOF
10815 cat confdefs.h
>>conftest.
$ac_ext
10816 cat >>conftest.
$ac_ext <<_ACEOF
10817 /* end confdefs.h. */
10818 #include <stdlib.h>
10823 iconv_t cd = iconv_open("","");
10824 iconv(cd,NULL,NULL,NULL,NULL);
10830 rm -f conftest.
$ac_objext conftest
$ac_exeext
10831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10832 (eval $ac_link) 2>conftest.er1
10834 grep -v '^ *+' conftest.er1
>conftest.err
10836 cat conftest.err
>&5
10837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10838 (exit $ac_status); } &&
10839 { ac_try
='test -z "$ac_c_werror_flag"
10840 || test ! -s conftest.err'
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); }; } &&
10846 { ac_try
='test -s conftest$ac_exeext'
10847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10848 (eval $ac_try) 2>&5
10850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10851 (exit $ac_status); }; }; then
10852 am_cv_func_iconv
=yes
10854 echo "$as_me: failed program was:" >&5
10855 sed 's/^/| /' conftest.
$ac_ext >&5
10858 rm -f conftest.err conftest.
$ac_objext \
10859 conftest
$ac_exeext conftest.
$ac_ext
10860 if test "$am_cv_func_iconv" != yes; then
10861 am_save_LIBS
="$LIBS"
10862 LIBS
="$LIBS $LIBICONV"
10863 if test x
$gcc_no_link = xyes
; then
10864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10866 { (exit 1); exit 1; }; }
10868 cat >conftest.
$ac_ext <<_ACEOF
10871 cat confdefs.h
>>conftest.
$ac_ext
10872 cat >>conftest.
$ac_ext <<_ACEOF
10873 /* end confdefs.h. */
10874 #include <stdlib.h>
10879 iconv_t cd = iconv_open("","");
10880 iconv(cd,NULL,NULL,NULL,NULL);
10886 rm -f conftest.
$ac_objext conftest
$ac_exeext
10887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10888 (eval $ac_link) 2>conftest.er1
10890 grep -v '^ *+' conftest.er1
>conftest.err
10892 cat conftest.err
>&5
10893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10894 (exit $ac_status); } &&
10895 { ac_try
='test -z "$ac_c_werror_flag"
10896 || test ! -s conftest.err'
10897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10898 (eval $ac_try) 2>&5
10900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10901 (exit $ac_status); }; } &&
10902 { ac_try
='test -s conftest$ac_exeext'
10903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10904 (eval $ac_try) 2>&5
10906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10907 (exit $ac_status); }; }; then
10908 am_cv_lib_iconv
=yes
10909 am_cv_func_iconv
=yes
10911 echo "$as_me: failed program was:" >&5
10912 sed 's/^/| /' conftest.
$ac_ext >&5
10915 rm -f conftest.err conftest.
$ac_objext \
10916 conftest
$ac_exeext conftest.
$ac_ext
10917 LIBS
="$am_save_LIBS"
10921 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
10922 echo "${ECHO_T}$am_cv_func_iconv" >&6
10923 if test "$am_cv_func_iconv" = yes; then
10925 cat >>confdefs.h
<<\_ACEOF
10926 #define HAVE_ICONV 1
10930 if test "$am_cv_lib_iconv" = yes; then
10931 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
10932 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
10933 echo "$as_me:$LINENO: result: $LIBICONV" >&5
10934 echo "${ECHO_T}$LIBICONV" >&6
10936 CPPFLAGS
="$am_save_CPPFLAGS"
10943 if test "$am_cv_func_iconv" = yes; then
10944 echo "$as_me:$LINENO: checking for iconv declaration" >&5
10945 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
10946 if test "${am_cv_proto_iconv+set}" = set; then
10947 echo $ECHO_N "(cached) $ECHO_C" >&6
10950 cat >conftest.
$ac_ext <<_ACEOF
10953 cat confdefs.h
>>conftest.
$ac_ext
10954 cat >>conftest.
$ac_ext <<_ACEOF
10955 /* end confdefs.h. */
10957 #include <stdlib.h>
10963 #if defined(__STDC__) || defined(__cplusplus)
10964 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
10977 rm -f conftest.
$ac_objext
10978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10979 (eval $ac_compile) 2>conftest.er1
10981 grep -v '^ *+' conftest.er1
>conftest.err
10983 cat conftest.err
>&5
10984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10985 (exit $ac_status); } &&
10986 { ac_try
='test -z "$ac_c_werror_flag"
10987 || test ! -s conftest.err'
10988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10989 (eval $ac_try) 2>&5
10991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10992 (exit $ac_status); }; } &&
10993 { ac_try
='test -s conftest.$ac_objext'
10994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10995 (eval $ac_try) 2>&5
10997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10998 (exit $ac_status); }; }; then
10999 am_cv_proto_iconv_arg1
=""
11001 echo "$as_me: failed program was:" >&5
11002 sed 's/^/| /' conftest.
$ac_ext >&5
11004 am_cv_proto_iconv_arg1
="const"
11006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11007 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);"
11010 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
11011 echo "$as_me:$LINENO: result: ${ac_t:-
11012 }$am_cv_proto_iconv" >&5
11013 echo "${ECHO_T}${ac_t:-
11014 }$am_cv_proto_iconv" >&6
11016 cat >>confdefs.h
<<_ACEOF
11017 #define ICONV_CONST $am_cv_proto_iconv_arg1
11023 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
11024 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
11025 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
11026 echo $ECHO_N "(cached) $ECHO_C" >&6
11028 if test x
$gcc_no_link = xyes
; then
11029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11031 { (exit 1); exit 1; }; }
11033 cat >conftest.
$ac_ext <<_ACEOF
11036 cat confdefs.h
>>conftest.
$ac_ext
11037 cat >>conftest.
$ac_ext <<_ACEOF
11038 /* end confdefs.h. */
11039 #include <locale.h>
11048 rm -f conftest.
$ac_objext conftest
$ac_exeext
11049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11050 (eval $ac_link) 2>conftest.er1
11052 grep -v '^ *+' conftest.er1
>conftest.err
11054 cat conftest.err
>&5
11055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11056 (exit $ac_status); } &&
11057 { ac_try
='test -z "$ac_c_werror_flag"
11058 || test ! -s conftest.err'
11059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11060 (eval $ac_try) 2>&5
11062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11063 (exit $ac_status); }; } &&
11064 { ac_try
='test -s conftest$ac_exeext'
11065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11066 (eval $ac_try) 2>&5
11068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11069 (exit $ac_status); }; }; then
11070 am_cv_val_LC_MESSAGES
=yes
11072 echo "$as_me: failed program was:" >&5
11073 sed 's/^/| /' conftest.
$ac_ext >&5
11075 am_cv_val_LC_MESSAGES
=no
11077 rm -f conftest.err conftest.
$ac_objext \
11078 conftest
$ac_exeext conftest.
$ac_ext
11080 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
11081 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
11082 if test $am_cv_val_LC_MESSAGES = yes; then
11084 cat >>confdefs.h
<<\_ACEOF
11085 #define HAVE_LC_MESSAGES 1
11090 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
11091 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
11092 if test "${ac_cv_struct_tm+set}" = set; then
11093 echo $ECHO_N "(cached) $ECHO_C" >&6
11095 cat >conftest.
$ac_ext <<_ACEOF
11098 cat confdefs.h
>>conftest.
$ac_ext
11099 cat >>conftest.
$ac_ext <<_ACEOF
11100 /* end confdefs.h. */
11101 #include <sys/types.h>
11107 struct tm *tp; tp->tm_sec;
11112 rm -f conftest.
$ac_objext
11113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11114 (eval $ac_compile) 2>conftest.er1
11116 grep -v '^ *+' conftest.er1
>conftest.err
11118 cat conftest.err
>&5
11119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11120 (exit $ac_status); } &&
11121 { ac_try
='test -z "$ac_c_werror_flag"
11122 || test ! -s conftest.err'
11123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11124 (eval $ac_try) 2>&5
11126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11127 (exit $ac_status); }; } &&
11128 { ac_try
='test -s conftest.$ac_objext'
11129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11130 (eval $ac_try) 2>&5
11132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11133 (exit $ac_status); }; }; then
11134 ac_cv_struct_tm
=time.h
11136 echo "$as_me: failed program was:" >&5
11137 sed 's/^/| /' conftest.
$ac_ext >&5
11139 ac_cv_struct_tm
=sys
/time.h
11141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11143 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
11144 echo "${ECHO_T}$ac_cv_struct_tm" >&6
11145 if test $ac_cv_struct_tm = sys
/time.h
; then
11147 cat >>confdefs.h
<<\_ACEOF
11148 #define TM_IN_SYS_TIME 1
11153 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
11154 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
11155 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
11156 echo $ECHO_N "(cached) $ECHO_C" >&6
11158 cat >conftest.
$ac_ext <<_ACEOF
11161 cat confdefs.h
>>conftest.
$ac_ext
11162 cat >>conftest.
$ac_ext <<_ACEOF
11163 /* end confdefs.h. */
11164 #include <sys/types.h>
11165 #include <$ac_cv_struct_tm>
11171 static struct tm ac_aggr;
11172 if (ac_aggr.tm_zone)
11178 rm -f conftest.
$ac_objext
11179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11180 (eval $ac_compile) 2>conftest.er1
11182 grep -v '^ *+' conftest.er1
>conftest.err
11184 cat conftest.err
>&5
11185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11186 (exit $ac_status); } &&
11187 { ac_try
='test -z "$ac_c_werror_flag"
11188 || test ! -s conftest.err'
11189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11190 (eval $ac_try) 2>&5
11192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 (exit $ac_status); }; } &&
11194 { ac_try
='test -s conftest.$ac_objext'
11195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11196 (eval $ac_try) 2>&5
11198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11199 (exit $ac_status); }; }; then
11200 ac_cv_member_struct_tm_tm_zone
=yes
11202 echo "$as_me: failed program was:" >&5
11203 sed 's/^/| /' conftest.
$ac_ext >&5
11205 cat >conftest.
$ac_ext <<_ACEOF
11208 cat confdefs.h
>>conftest.
$ac_ext
11209 cat >>conftest.
$ac_ext <<_ACEOF
11210 /* end confdefs.h. */
11211 #include <sys/types.h>
11212 #include <$ac_cv_struct_tm>
11218 static struct tm ac_aggr;
11219 if (sizeof ac_aggr.tm_zone)
11225 rm -f conftest.
$ac_objext
11226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11227 (eval $ac_compile) 2>conftest.er1
11229 grep -v '^ *+' conftest.er1
>conftest.err
11231 cat conftest.err
>&5
11232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11233 (exit $ac_status); } &&
11234 { ac_try
='test -z "$ac_c_werror_flag"
11235 || test ! -s conftest.err'
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); }; } &&
11241 { ac_try
='test -s conftest.$ac_objext'
11242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11243 (eval $ac_try) 2>&5
11245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11246 (exit $ac_status); }; }; then
11247 ac_cv_member_struct_tm_tm_zone
=yes
11249 echo "$as_me: failed program was:" >&5
11250 sed 's/^/| /' conftest.
$ac_ext >&5
11252 ac_cv_member_struct_tm_tm_zone
=no
11254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11258 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
11259 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
11260 if test $ac_cv_member_struct_tm_tm_zone = yes; then
11262 cat >>confdefs.h
<<_ACEOF
11263 #define HAVE_STRUCT_TM_TM_ZONE 1
11269 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
11271 cat >>confdefs.h
<<\_ACEOF
11272 #define HAVE_TM_ZONE 1
11276 echo "$as_me:$LINENO: checking for tzname" >&5
11277 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
11278 if test "${ac_cv_var_tzname+set}" = set; then
11279 echo $ECHO_N "(cached) $ECHO_C" >&6
11281 if test x
$gcc_no_link = xyes
; then
11282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11284 { (exit 1); exit 1; }; }
11286 cat >conftest.
$ac_ext <<_ACEOF
11289 cat confdefs.h
>>conftest.
$ac_ext
11290 cat >>conftest.
$ac_ext <<_ACEOF
11291 /* end confdefs.h. */
11293 #ifndef tzname /* For SGI. */
11294 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
11305 rm -f conftest.
$ac_objext conftest
$ac_exeext
11306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11307 (eval $ac_link) 2>conftest.er1
11309 grep -v '^ *+' conftest.er1
>conftest.err
11311 cat conftest.err
>&5
11312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11313 (exit $ac_status); } &&
11314 { ac_try
='test -z "$ac_c_werror_flag"
11315 || test ! -s conftest.err'
11316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11317 (eval $ac_try) 2>&5
11319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11320 (exit $ac_status); }; } &&
11321 { ac_try
='test -s conftest$ac_exeext'
11322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11323 (eval $ac_try) 2>&5
11325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11326 (exit $ac_status); }; }; then
11327 ac_cv_var_tzname
=yes
11329 echo "$as_me: failed program was:" >&5
11330 sed 's/^/| /' conftest.
$ac_ext >&5
11332 ac_cv_var_tzname
=no
11334 rm -f conftest.err conftest.
$ac_objext \
11335 conftest
$ac_exeext conftest.
$ac_ext
11337 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
11338 echo "${ECHO_T}$ac_cv_var_tzname" >&6
11339 if test $ac_cv_var_tzname = yes; then
11341 cat >>confdefs.h
<<\_ACEOF
11342 #define HAVE_TZNAME 1
11351 for ac_func
in gethostbyname_r
11353 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11354 echo "$as_me:$LINENO: checking for $ac_func" >&5
11355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11356 if eval "test \"\${$as_ac_var+set}\" = set"; then
11357 echo $ECHO_N "(cached) $ECHO_C" >&6
11359 if test x
$gcc_no_link = xyes
; then
11360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11362 { (exit 1); exit 1; }; }
11364 cat >conftest.
$ac_ext <<_ACEOF
11367 cat confdefs.h
>>conftest.
$ac_ext
11368 cat >>conftest.
$ac_ext <<_ACEOF
11369 /* end confdefs.h. */
11370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11372 #define $ac_func innocuous_$ac_func
11374 /* System header to define __stub macros and hopefully few prototypes,
11375 which can conflict with char $ac_func (); below.
11376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11377 <limits.h> exists even on freestanding compilers. */
11380 # include <limits.h>
11382 # include <assert.h>
11387 /* Override any gcc2 internal prototype to avoid an error. */
11392 /* We use char because int might match the return type of a gcc2
11393 builtin and then its argument prototype would still apply. */
11395 /* The GNU C library defines this for functions which it implements
11396 to always fail with ENOSYS. Some functions are actually named
11397 something starting with __ and the normal name is an alias. */
11398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11401 char (*f) () = $ac_func;
11410 return f != $ac_func;
11415 rm -f conftest.
$ac_objext conftest
$ac_exeext
11416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11417 (eval $ac_link) 2>conftest.er1
11419 grep -v '^ *+' conftest.er1
>conftest.err
11421 cat conftest.err
>&5
11422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11423 (exit $ac_status); } &&
11424 { ac_try
='test -z "$ac_c_werror_flag"
11425 || test ! -s conftest.err'
11426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11427 (eval $ac_try) 2>&5
11429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11430 (exit $ac_status); }; } &&
11431 { ac_try
='test -s conftest$ac_exeext'
11432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11433 (eval $ac_try) 2>&5
11435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11436 (exit $ac_status); }; }; then
11437 eval "$as_ac_var=yes"
11439 echo "$as_me: failed program was:" >&5
11440 sed 's/^/| /' conftest.
$ac_ext >&5
11442 eval "$as_ac_var=no"
11444 rm -f conftest.err conftest.
$ac_objext \
11445 conftest
$ac_exeext conftest.
$ac_ext
11447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11449 if test `eval echo '${'$as_ac_var'}'` = yes; then
11450 cat >>confdefs.h
<<_ACEOF
11451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11455 cat >>confdefs.h
<<\_ACEOF
11456 #define HAVE_GETHOSTBYNAME_R 1
11459 # There are two different kinds of gethostbyname_r.
11460 # We look for the one that returns `int'.
11461 # Hopefully this check is robust enough.
11462 cat >conftest.
$ac_ext <<_ACEOF
11465 cat confdefs.h
>>conftest.
$ac_ext
11466 cat >>conftest.
$ac_ext <<_ACEOF
11467 /* end confdefs.h. */
11471 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11472 $EGREP "int.*gethostbyname_r" >/dev
/null
2>&1; then
11475 cat >>confdefs.h
<<\_ACEOF
11476 #define GETHOSTBYNAME_R_RETURNS_INT 1
11483 case " $GCINCS " in
11484 *" -D_REENTRANT "*) ;;
11486 echo "$as_me:$LINENO: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5
11487 echo $ECHO_N "checking whether gethostbyname_r declaration requires -D_REENTRANT... $ECHO_C" >&6
11488 if test "${libjava_cv_gethostbyname_r_needs_reentrant+set}" = set; then
11489 echo $ECHO_N "(cached) $ECHO_C" >&6
11492 ac_cpp
='$CXXCPP $CPPFLAGS'
11493 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11494 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11495 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11497 cat >conftest.
$ac_ext <<_ACEOF
11500 cat confdefs.h
>>conftest.
$ac_ext
11501 cat >>conftest.
$ac_ext <<_ACEOF
11502 /* end confdefs.h. */
11507 gethostbyname_r("", 0, 0);
11512 rm -f conftest.
$ac_objext
11513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11514 (eval $ac_compile) 2>conftest.er1
11516 grep -v '^ *+' conftest.er1
>conftest.err
11518 cat conftest.err
>&5
11519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11520 (exit $ac_status); } &&
11521 { ac_try
='test -z "$ac_cxx_werror_flag"
11522 || test ! -s conftest.err'
11523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11524 (eval $ac_try) 2>&5
11526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11527 (exit $ac_status); }; } &&
11528 { ac_try
='test -s conftest.$ac_objext'
11529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11530 (eval $ac_try) 2>&5
11532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11533 (exit $ac_status); }; }; then
11534 libjava_cv_gethostbyname_r_needs_reentrant
=no
11536 echo "$as_me: failed program was:" >&5
11537 sed 's/^/| /' conftest.
$ac_ext >&5
11539 CPPFLAGS_SAVE
="$CPPFLAGS"
11540 CPPFLAGS
="$CPPFLAGS -D_REENTRANT"
11541 cat >conftest.
$ac_ext <<_ACEOF
11544 cat confdefs.h
>>conftest.
$ac_ext
11545 cat >>conftest.
$ac_ext <<_ACEOF
11546 /* end confdefs.h. */
11551 gethostbyname_r("", 0, 0);
11556 rm -f conftest.
$ac_objext
11557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11558 (eval $ac_compile) 2>conftest.er1
11560 grep -v '^ *+' conftest.er1
>conftest.err
11562 cat conftest.err
>&5
11563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11564 (exit $ac_status); } &&
11565 { ac_try
='test -z "$ac_cxx_werror_flag"
11566 || test ! -s conftest.err'
11567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11568 (eval $ac_try) 2>&5
11570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11571 (exit $ac_status); }; } &&
11572 { ac_try
='test -s conftest.$ac_objext'
11573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11574 (eval $ac_try) 2>&5
11576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11577 (exit $ac_status); }; }; then
11578 libjava_cv_gethostbyname_r_needs_reentrant
=yes
11580 echo "$as_me: failed program was:" >&5
11581 sed 's/^/| /' conftest.
$ac_ext >&5
11583 libjava_cv_gethostbyname_r_needs_reentrant
=fail
11585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11586 CPPFLAGS
="$CPPFLAGS_SAVE"
11589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11591 ac_cpp
='$CPP $CPPFLAGS'
11592 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11593 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11594 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11598 echo "$as_me:$LINENO: result: $libjava_cv_gethostbyname_r_needs_reentrant" >&5
11599 echo "${ECHO_T}$libjava_cv_gethostbyname_r_needs_reentrant" >&6
11600 if test "x$libjava_cv_gethostbyname_r_needs_reentrant" = xyes
; then
11602 cat >>confdefs.h
<<\_ACEOF
11603 #define _REENTRANT 1
11610 echo "$as_me:$LINENO: checking for struct hostent_data" >&5
11611 echo $ECHO_N "checking for struct hostent_data... $ECHO_C" >&6
11612 if test "${libjava_cv_struct_hostent_data+set}" = set; then
11613 echo $ECHO_N "(cached) $ECHO_C" >&6
11615 cat >conftest.
$ac_ext <<_ACEOF
11618 cat confdefs.h
>>conftest.
$ac_ext
11619 cat >>conftest.
$ac_ext <<_ACEOF
11620 /* end confdefs.h. */
11622 #if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
11623 # define _REENTRANT 1
11629 struct hostent_data data;
11634 rm -f conftest.
$ac_objext
11635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11636 (eval $ac_compile) 2>conftest.er1
11638 grep -v '^ *+' conftest.er1
>conftest.err
11640 cat conftest.err
>&5
11641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11642 (exit $ac_status); } &&
11643 { ac_try
='test -z "$ac_c_werror_flag"
11644 || test ! -s conftest.err'
11645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11646 (eval $ac_try) 2>&5
11648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11649 (exit $ac_status); }; } &&
11650 { ac_try
='test -s conftest.$ac_objext'
11651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11652 (eval $ac_try) 2>&5
11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655 (exit $ac_status); }; }; then
11656 libjava_cv_struct_hostent_data
=yes
11658 echo "$as_me: failed program was:" >&5
11659 sed 's/^/| /' conftest.
$ac_ext >&5
11661 libjava_cv_struct_hostent_data
=no
11663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11665 echo "$as_me:$LINENO: result: $libjava_cv_struct_hostent_data" >&5
11666 echo "${ECHO_T}$libjava_cv_struct_hostent_data" >&6
11667 if test "x$libjava_cv_struct_hostent_data" = xyes
; then
11669 cat >>confdefs.h
<<\_ACEOF
11670 #define HAVE_STRUCT_HOSTENT_DATA 1
11679 # FIXME: libjava source code expects to find a prototype for
11680 # gethostbyaddr_r in netdb.h. The outer check ensures that
11681 # HAVE_GETHOSTBYADDR_R will not be defined if the prototype fails
11682 # to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
11683 # linkage check is enough, yet C++ code requires proper prototypes.)
11684 cat >conftest.
$ac_ext <<_ACEOF
11687 cat confdefs.h
>>conftest.
$ac_ext
11688 cat >>conftest.
$ac_ext <<_ACEOF
11689 /* end confdefs.h. */
11693 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11694 $EGREP "gethostbyaddr_r" >/dev
/null
2>&1; then
11697 for ac_func
in gethostbyaddr_r
11699 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11700 echo "$as_me:$LINENO: checking for $ac_func" >&5
11701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11702 if eval "test \"\${$as_ac_var+set}\" = set"; then
11703 echo $ECHO_N "(cached) $ECHO_C" >&6
11705 if test x
$gcc_no_link = xyes
; then
11706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11708 { (exit 1); exit 1; }; }
11710 cat >conftest.
$ac_ext <<_ACEOF
11713 cat confdefs.h
>>conftest.
$ac_ext
11714 cat >>conftest.
$ac_ext <<_ACEOF
11715 /* end confdefs.h. */
11716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11718 #define $ac_func innocuous_$ac_func
11720 /* System header to define __stub macros and hopefully few prototypes,
11721 which can conflict with char $ac_func (); below.
11722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11723 <limits.h> exists even on freestanding compilers. */
11726 # include <limits.h>
11728 # include <assert.h>
11733 /* Override any gcc2 internal prototype to avoid an error. */
11738 /* We use char because int might match the return type of a gcc2
11739 builtin and then its argument prototype would still apply. */
11741 /* The GNU C library defines this for functions which it implements
11742 to always fail with ENOSYS. Some functions are actually named
11743 something starting with __ and the normal name is an alias. */
11744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11747 char (*f) () = $ac_func;
11756 return f != $ac_func;
11761 rm -f conftest.
$ac_objext conftest
$ac_exeext
11762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11763 (eval $ac_link) 2>conftest.er1
11765 grep -v '^ *+' conftest.er1
>conftest.err
11767 cat conftest.err
>&5
11768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11769 (exit $ac_status); } &&
11770 { ac_try
='test -z "$ac_c_werror_flag"
11771 || test ! -s conftest.err'
11772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11773 (eval $ac_try) 2>&5
11775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11776 (exit $ac_status); }; } &&
11777 { ac_try
='test -s conftest$ac_exeext'
11778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11779 (eval $ac_try) 2>&5
11781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11782 (exit $ac_status); }; }; then
11783 eval "$as_ac_var=yes"
11785 echo "$as_me: failed program was:" >&5
11786 sed 's/^/| /' conftest.
$ac_ext >&5
11788 eval "$as_ac_var=no"
11790 rm -f conftest.err conftest.
$ac_objext \
11791 conftest
$ac_exeext conftest.
$ac_ext
11793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11795 if test `eval echo '${'$as_ac_var'}'` = yes; then
11796 cat >>confdefs.h
<<_ACEOF
11797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11801 cat >>confdefs.h
<<\_ACEOF
11802 #define HAVE_GETHOSTBYADDR_R 1
11805 # There are two different kinds of gethostbyaddr_r.
11806 # We look for the one that returns `int'.
11807 # Hopefully this check is robust enough.
11808 cat >conftest.
$ac_ext <<_ACEOF
11811 cat confdefs.h
>>conftest.
$ac_ext
11812 cat >>conftest.
$ac_ext <<_ACEOF
11813 /* end confdefs.h. */
11817 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11818 $EGREP "int.*gethostbyaddr_r" >/dev
/null
2>&1; then
11821 cat >>confdefs.h
<<\_ACEOF
11822 #define GETHOSTBYADDR_R_RETURNS_INT 1
11836 for ac_func
in gethostname
11838 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11839 echo "$as_me:$LINENO: checking for $ac_func" >&5
11840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11841 if eval "test \"\${$as_ac_var+set}\" = set"; then
11842 echo $ECHO_N "(cached) $ECHO_C" >&6
11844 if test x
$gcc_no_link = xyes
; then
11845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11847 { (exit 1); exit 1; }; }
11849 cat >conftest.
$ac_ext <<_ACEOF
11852 cat confdefs.h
>>conftest.
$ac_ext
11853 cat >>conftest.
$ac_ext <<_ACEOF
11854 /* end confdefs.h. */
11855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11857 #define $ac_func innocuous_$ac_func
11859 /* System header to define __stub macros and hopefully few prototypes,
11860 which can conflict with char $ac_func (); below.
11861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11862 <limits.h> exists even on freestanding compilers. */
11865 # include <limits.h>
11867 # include <assert.h>
11872 /* Override any gcc2 internal prototype to avoid an error. */
11877 /* We use char because int might match the return type of a gcc2
11878 builtin and then its argument prototype would still apply. */
11880 /* The GNU C library defines this for functions which it implements
11881 to always fail with ENOSYS. Some functions are actually named
11882 something starting with __ and the normal name is an alias. */
11883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11886 char (*f) () = $ac_func;
11895 return f != $ac_func;
11900 rm -f conftest.
$ac_objext conftest
$ac_exeext
11901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11902 (eval $ac_link) 2>conftest.er1
11904 grep -v '^ *+' conftest.er1
>conftest.err
11906 cat conftest.err
>&5
11907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11908 (exit $ac_status); } &&
11909 { ac_try
='test -z "$ac_c_werror_flag"
11910 || test ! -s conftest.err'
11911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11912 (eval $ac_try) 2>&5
11914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11915 (exit $ac_status); }; } &&
11916 { ac_try
='test -s conftest$ac_exeext'
11917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11918 (eval $ac_try) 2>&5
11920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11921 (exit $ac_status); }; }; then
11922 eval "$as_ac_var=yes"
11924 echo "$as_me: failed program was:" >&5
11925 sed 's/^/| /' conftest.
$ac_ext >&5
11927 eval "$as_ac_var=no"
11929 rm -f conftest.err conftest.
$ac_objext \
11930 conftest
$ac_exeext conftest.
$ac_ext
11932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11934 if test `eval echo '${'$as_ac_var'}'` = yes; then
11935 cat >>confdefs.h
<<_ACEOF
11936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11940 cat >>confdefs.h
<<\_ACEOF
11941 #define HAVE_GETHOSTNAME 1
11944 cat >conftest.
$ac_ext <<_ACEOF
11947 cat confdefs.h
>>conftest.
$ac_ext
11948 cat >>conftest.
$ac_ext <<_ACEOF
11949 /* end confdefs.h. */
11950 #include <unistd.h>
11953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11954 $EGREP "gethostname" >/dev
/null
2>&1; then
11957 cat >>confdefs.h
<<\_ACEOF
11958 #define HAVE_GETHOSTNAME_DECL 1
11969 for ac_func
in usleep
11971 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11972 echo "$as_me:$LINENO: checking for $ac_func" >&5
11973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11974 if eval "test \"\${$as_ac_var+set}\" = set"; then
11975 echo $ECHO_N "(cached) $ECHO_C" >&6
11977 if test x
$gcc_no_link = xyes
; then
11978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11980 { (exit 1); exit 1; }; }
11982 cat >conftest.
$ac_ext <<_ACEOF
11985 cat confdefs.h
>>conftest.
$ac_ext
11986 cat >>conftest.
$ac_ext <<_ACEOF
11987 /* end confdefs.h. */
11988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11990 #define $ac_func innocuous_$ac_func
11992 /* System header to define __stub macros and hopefully few prototypes,
11993 which can conflict with char $ac_func (); below.
11994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11995 <limits.h> exists even on freestanding compilers. */
11998 # include <limits.h>
12000 # include <assert.h>
12005 /* Override any gcc2 internal prototype to avoid an error. */
12010 /* We use char because int might match the return type of a gcc2
12011 builtin and then its argument prototype would still apply. */
12013 /* The GNU C library defines this for functions which it implements
12014 to always fail with ENOSYS. Some functions are actually named
12015 something starting with __ and the normal name is an alias. */
12016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12019 char (*f) () = $ac_func;
12028 return f != $ac_func;
12033 rm -f conftest.
$ac_objext conftest
$ac_exeext
12034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12035 (eval $ac_link) 2>conftest.er1
12037 grep -v '^ *+' conftest.er1
>conftest.err
12039 cat conftest.err
>&5
12040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12041 (exit $ac_status); } &&
12042 { ac_try
='test -z "$ac_c_werror_flag"
12043 || test ! -s conftest.err'
12044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12045 (eval $ac_try) 2>&5
12047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12048 (exit $ac_status); }; } &&
12049 { ac_try
='test -s conftest$ac_exeext'
12050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12051 (eval $ac_try) 2>&5
12053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12054 (exit $ac_status); }; }; then
12055 eval "$as_ac_var=yes"
12057 echo "$as_me: failed program was:" >&5
12058 sed 's/^/| /' conftest.
$ac_ext >&5
12060 eval "$as_ac_var=no"
12062 rm -f conftest.err conftest.
$ac_objext \
12063 conftest
$ac_exeext conftest.
$ac_ext
12065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12067 if test `eval echo '${'$as_ac_var'}'` = yes; then
12068 cat >>confdefs.h
<<_ACEOF
12069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12072 cat >conftest.
$ac_ext <<_ACEOF
12075 cat confdefs.h
>>conftest.
$ac_ext
12076 cat >>conftest.
$ac_ext <<_ACEOF
12077 /* end confdefs.h. */
12078 #include <unistd.h>
12081 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12082 $EGREP "usleep" >/dev
/null
2>&1; then
12085 cat >>confdefs.h
<<\_ACEOF
12086 #define HAVE_USLEEP_DECL 1
12096 # Look for these functions in the thread library, but only bother
12097 # if using POSIX threads.
12098 if test "$THREADS" = posix
; then
12100 LIBS
="$LIBS $THREADLIBS"
12101 # Some POSIX thread systems don't have pthread_mutexattr_settype.
12105 for ac_func
in pthread_mutexattr_settype pthread_mutexattr_setkind_np
12107 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12108 echo "$as_me:$LINENO: checking for $ac_func" >&5
12109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12110 if eval "test \"\${$as_ac_var+set}\" = set"; then
12111 echo $ECHO_N "(cached) $ECHO_C" >&6
12113 if test x
$gcc_no_link = xyes
; then
12114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12116 { (exit 1); exit 1; }; }
12118 cat >conftest.
$ac_ext <<_ACEOF
12121 cat confdefs.h
>>conftest.
$ac_ext
12122 cat >>conftest.
$ac_ext <<_ACEOF
12123 /* end confdefs.h. */
12124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12126 #define $ac_func innocuous_$ac_func
12128 /* System header to define __stub macros and hopefully few prototypes,
12129 which can conflict with char $ac_func (); below.
12130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12131 <limits.h> exists even on freestanding compilers. */
12134 # include <limits.h>
12136 # include <assert.h>
12141 /* Override any gcc2 internal prototype to avoid an error. */
12146 /* We use char because int might match the return type of a gcc2
12147 builtin and then its argument prototype would still apply. */
12149 /* The GNU C library defines this for functions which it implements
12150 to always fail with ENOSYS. Some functions are actually named
12151 something starting with __ and the normal name is an alias. */
12152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12155 char (*f) () = $ac_func;
12164 return f != $ac_func;
12169 rm -f conftest.
$ac_objext conftest
$ac_exeext
12170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12171 (eval $ac_link) 2>conftest.er1
12173 grep -v '^ *+' conftest.er1
>conftest.err
12175 cat conftest.err
>&5
12176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12177 (exit $ac_status); } &&
12178 { ac_try
='test -z "$ac_c_werror_flag"
12179 || test ! -s conftest.err'
12180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12181 (eval $ac_try) 2>&5
12183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12184 (exit $ac_status); }; } &&
12185 { ac_try
='test -s conftest$ac_exeext'
12186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12187 (eval $ac_try) 2>&5
12189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12190 (exit $ac_status); }; }; then
12191 eval "$as_ac_var=yes"
12193 echo "$as_me: failed program was:" >&5
12194 sed 's/^/| /' conftest.
$ac_ext >&5
12196 eval "$as_ac_var=no"
12198 rm -f conftest.err conftest.
$ac_objext \
12199 conftest
$ac_exeext conftest.
$ac_ext
12201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12203 if test `eval echo '${'$as_ac_var'}'` = yes; then
12204 cat >>confdefs.h
<<_ACEOF
12205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12212 # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since
12213 # Solaris 7 the name librt is preferred.
12215 for ac_func
in sched_yield
12217 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12218 echo "$as_me:$LINENO: checking for $ac_func" >&5
12219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12220 if eval "test \"\${$as_ac_var+set}\" = set"; then
12221 echo $ECHO_N "(cached) $ECHO_C" >&6
12223 if test x
$gcc_no_link = xyes
; then
12224 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12226 { (exit 1); exit 1; }; }
12228 cat >conftest.
$ac_ext <<_ACEOF
12231 cat confdefs.h
>>conftest.
$ac_ext
12232 cat >>conftest.
$ac_ext <<_ACEOF
12233 /* end confdefs.h. */
12234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12236 #define $ac_func innocuous_$ac_func
12238 /* System header to define __stub macros and hopefully few prototypes,
12239 which can conflict with char $ac_func (); below.
12240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12241 <limits.h> exists even on freestanding compilers. */
12244 # include <limits.h>
12246 # include <assert.h>
12251 /* Override any gcc2 internal prototype to avoid an error. */
12256 /* We use char because int might match the return type of a gcc2
12257 builtin and then its argument prototype would still apply. */
12259 /* The GNU C library defines this for functions which it implements
12260 to always fail with ENOSYS. Some functions are actually named
12261 something starting with __ and the normal name is an alias. */
12262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12265 char (*f) () = $ac_func;
12274 return f != $ac_func;
12279 rm -f conftest.
$ac_objext conftest
$ac_exeext
12280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12281 (eval $ac_link) 2>conftest.er1
12283 grep -v '^ *+' conftest.er1
>conftest.err
12285 cat conftest.err
>&5
12286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12287 (exit $ac_status); } &&
12288 { ac_try
='test -z "$ac_c_werror_flag"
12289 || test ! -s conftest.err'
12290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12291 (eval $ac_try) 2>&5
12293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12294 (exit $ac_status); }; } &&
12295 { ac_try
='test -s conftest$ac_exeext'
12296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12297 (eval $ac_try) 2>&5
12299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12300 (exit $ac_status); }; }; then
12301 eval "$as_ac_var=yes"
12303 echo "$as_me: failed program was:" >&5
12304 sed 's/^/| /' conftest.
$ac_ext >&5
12306 eval "$as_ac_var=no"
12308 rm -f conftest.err conftest.
$ac_objext \
12309 conftest
$ac_exeext conftest.
$ac_ext
12311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12313 if test `eval echo '${'$as_ac_var'}'` = yes; then
12314 cat >>confdefs.h
<<_ACEOF
12315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12320 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
12321 echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
12322 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
12323 echo $ECHO_N "(cached) $ECHO_C" >&6
12325 ac_check_lib_save_LIBS
=$LIBS
12327 if test x
$gcc_no_link = xyes
; then
12328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12330 { (exit 1); exit 1; }; }
12332 cat >conftest.
$ac_ext <<_ACEOF
12335 cat confdefs.h
>>conftest.
$ac_ext
12336 cat >>conftest.
$ac_ext <<_ACEOF
12337 /* end confdefs.h. */
12339 /* Override any gcc2 internal prototype to avoid an error. */
12343 /* We use char because int might match the return type of a gcc2
12344 builtin and then its argument prototype would still apply. */
12345 char sched_yield ();
12354 rm -f conftest.
$ac_objext conftest
$ac_exeext
12355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12356 (eval $ac_link) 2>conftest.er1
12358 grep -v '^ *+' conftest.er1
>conftest.err
12360 cat conftest.err
>&5
12361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12362 (exit $ac_status); } &&
12363 { ac_try
='test -z "$ac_c_werror_flag"
12364 || 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 ac_cv_lib_rt_sched_yield
=yes
12378 echo "$as_me: failed program was:" >&5
12379 sed 's/^/| /' conftest.
$ac_ext >&5
12381 ac_cv_lib_rt_sched_yield
=no
12383 rm -f conftest.err conftest.
$ac_objext \
12384 conftest
$ac_exeext conftest.
$ac_ext
12385 LIBS
=$ac_check_lib_save_LIBS
12387 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
12388 echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
12389 if test $ac_cv_lib_rt_sched_yield = yes; then
12391 cat >>confdefs.h
<<\_ACEOF
12392 #define HAVE_SCHED_YIELD 1
12395 THREADLIBS
="$THREADLIBS -lrt"
12396 THREADSPEC
="$THREADSPEC -lrt"
12399 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
12400 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
12401 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
12402 echo $ECHO_N "(cached) $ECHO_C" >&6
12404 ac_check_lib_save_LIBS
=$LIBS
12405 LIBS
="-lposix4 $LIBS"
12406 if test x
$gcc_no_link = xyes
; then
12407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12409 { (exit 1); exit 1; }; }
12411 cat >conftest.
$ac_ext <<_ACEOF
12414 cat confdefs.h
>>conftest.
$ac_ext
12415 cat >>conftest.
$ac_ext <<_ACEOF
12416 /* end confdefs.h. */
12418 /* Override any gcc2 internal prototype to avoid an error. */
12422 /* We use char because int might match the return type of a gcc2
12423 builtin and then its argument prototype would still apply. */
12424 char sched_yield ();
12433 rm -f conftest.
$ac_objext conftest
$ac_exeext
12434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12435 (eval $ac_link) 2>conftest.er1
12437 grep -v '^ *+' conftest.er1
>conftest.err
12439 cat conftest.err
>&5
12440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12441 (exit $ac_status); } &&
12442 { ac_try
='test -z "$ac_c_werror_flag"
12443 || test ! -s conftest.err'
12444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12445 (eval $ac_try) 2>&5
12447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12448 (exit $ac_status); }; } &&
12449 { ac_try
='test -s conftest$ac_exeext'
12450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12451 (eval $ac_try) 2>&5
12453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12454 (exit $ac_status); }; }; then
12455 ac_cv_lib_posix4_sched_yield
=yes
12457 echo "$as_me: failed program was:" >&5
12458 sed 's/^/| /' conftest.
$ac_ext >&5
12460 ac_cv_lib_posix4_sched_yield
=no
12462 rm -f conftest.err conftest.
$ac_objext \
12463 conftest
$ac_exeext conftest.
$ac_ext
12464 LIBS
=$ac_check_lib_save_LIBS
12466 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
12467 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
12468 if test $ac_cv_lib_posix4_sched_yield = yes; then
12470 cat >>confdefs.h
<<\_ACEOF
12471 #define HAVE_SCHED_YIELD 1
12474 THREADLIBS
="$THREADLIBS -lposix4"
12475 THREADSPEC
="$THREADSPEC -lposix4"
12484 echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
12485 echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6
12486 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
12487 echo $ECHO_N "(cached) $ECHO_C" >&6
12489 ac_check_lib_save_LIBS
=$LIBS
12491 if test x
$gcc_no_link = xyes
; then
12492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12494 { (exit 1); exit 1; }; }
12496 cat >conftest.
$ac_ext <<_ACEOF
12499 cat confdefs.h
>>conftest.
$ac_ext
12500 cat >>conftest.
$ac_ext <<_ACEOF
12501 /* end confdefs.h. */
12503 /* Override any gcc2 internal prototype to avoid an error. */
12507 /* We use char because int might match the return type of a gcc2
12508 builtin and then its argument prototype would still apply. */
12509 char clock_gettime ();
12518 rm -f conftest.
$ac_objext conftest
$ac_exeext
12519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12520 (eval $ac_link) 2>conftest.er1
12522 grep -v '^ *+' conftest.er1
>conftest.err
12524 cat conftest.err
>&5
12525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12526 (exit $ac_status); } &&
12527 { ac_try
='test -z "$ac_c_werror_flag"
12528 || test ! -s conftest.err'
12529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12530 (eval $ac_try) 2>&5
12532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533 (exit $ac_status); }; } &&
12534 { ac_try
='test -s conftest$ac_exeext'
12535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12536 (eval $ac_try) 2>&5
12538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539 (exit $ac_status); }; }; then
12540 ac_cv_lib_rt_clock_gettime
=yes
12542 echo "$as_me: failed program was:" >&5
12543 sed 's/^/| /' conftest.
$ac_ext >&5
12545 ac_cv_lib_rt_clock_gettime
=no
12547 rm -f conftest.err conftest.
$ac_objext \
12548 conftest
$ac_exeext conftest.
$ac_ext
12549 LIBS
=$ac_check_lib_save_LIBS
12551 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
12552 echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6
12553 if test $ac_cv_lib_rt_clock_gettime = yes; then
12556 cat >>confdefs.h
<<\_ACEOF
12557 #define HAVE_CLOCK_GETTIME 1
12560 case "$THREADSPEC" in
12563 THREADSPEC
="$THREADSPEC -lrt"
12564 THREADLIBS
="$THREADLIBS -lrt"
12572 # We can save a little space at runtime if the mutex has m_count
12573 # or __m_count. This is a nice hack for Linux.
12574 cat >conftest.
$ac_ext <<_ACEOF
12577 cat confdefs.h
>>conftest.
$ac_ext
12578 cat >>conftest.
$ac_ext <<_ACEOF
12579 /* end confdefs.h. */
12580 #include <pthread.h>
12585 extern pthread_mutex_t *mutex; int q = mutex->m_count;
12591 rm -f conftest.
$ac_objext
12592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12593 (eval $ac_compile) 2>conftest.er1
12595 grep -v '^ *+' conftest.er1
>conftest.err
12597 cat conftest.err
>&5
12598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12599 (exit $ac_status); } &&
12600 { ac_try
='test -z "$ac_c_werror_flag"
12601 || test ! -s conftest.err'
12602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12603 (eval $ac_try) 2>&5
12605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12606 (exit $ac_status); }; } &&
12607 { ac_try
='test -s conftest.$ac_objext'
12608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12609 (eval $ac_try) 2>&5
12611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12612 (exit $ac_status); }; }; then
12614 cat >>confdefs.h
<<\_ACEOF
12615 #define PTHREAD_MUTEX_HAVE_M_COUNT 1
12619 echo "$as_me: failed program was:" >&5
12620 sed 's/^/| /' conftest.
$ac_ext >&5
12623 cat >conftest.
$ac_ext <<_ACEOF
12626 cat confdefs.h
>>conftest.
$ac_ext
12627 cat >>conftest.
$ac_ext <<_ACEOF
12628 /* end confdefs.h. */
12629 #include <pthread.h>
12634 extern pthread_mutex_t *mutex; int q = mutex->__m_count;
12640 rm -f conftest.
$ac_objext
12641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12642 (eval $ac_compile) 2>conftest.er1
12644 grep -v '^ *+' conftest.er1
>conftest.err
12646 cat conftest.err
>&5
12647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12648 (exit $ac_status); } &&
12649 { ac_try
='test -z "$ac_c_werror_flag"
12650 || test ! -s conftest.err'
12651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12652 (eval $ac_try) 2>&5
12654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655 (exit $ac_status); }; } &&
12656 { ac_try
='test -s conftest.$ac_objext'
12657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12658 (eval $ac_try) 2>&5
12660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12661 (exit $ac_status); }; }; then
12663 cat >>confdefs.h
<<\_ACEOF
12664 #define PTHREAD_MUTEX_HAVE___M_COUNT 1
12668 echo "$as_me: failed program was:" >&5
12669 sed 's/^/| /' conftest.
$ac_ext >&5
12672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12677 # We require a way to get the time.
12682 for ac_func
in gettimeofday
time ftime
12684 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12685 echo "$as_me:$LINENO: checking for $ac_func" >&5
12686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12687 if eval "test \"\${$as_ac_var+set}\" = set"; then
12688 echo $ECHO_N "(cached) $ECHO_C" >&6
12690 if test x
$gcc_no_link = xyes
; then
12691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12693 { (exit 1); exit 1; }; }
12695 cat >conftest.
$ac_ext <<_ACEOF
12698 cat confdefs.h
>>conftest.
$ac_ext
12699 cat >>conftest.
$ac_ext <<_ACEOF
12700 /* end confdefs.h. */
12701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12703 #define $ac_func innocuous_$ac_func
12705 /* System header to define __stub macros and hopefully few prototypes,
12706 which can conflict with char $ac_func (); below.
12707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12708 <limits.h> exists even on freestanding compilers. */
12711 # include <limits.h>
12713 # include <assert.h>
12718 /* Override any gcc2 internal prototype to avoid an error. */
12723 /* We use char because int might match the return type of a gcc2
12724 builtin and then its argument prototype would still apply. */
12726 /* The GNU C library defines this for functions which it implements
12727 to always fail with ENOSYS. Some functions are actually named
12728 something starting with __ and the normal name is an alias. */
12729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12732 char (*f) () = $ac_func;
12741 return f != $ac_func;
12746 rm -f conftest.
$ac_objext conftest
$ac_exeext
12747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12748 (eval $ac_link) 2>conftest.er1
12750 grep -v '^ *+' conftest.er1
>conftest.err
12752 cat conftest.err
>&5
12753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12754 (exit $ac_status); } &&
12755 { ac_try
='test -z "$ac_c_werror_flag"
12756 || test ! -s conftest.err'
12757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12758 (eval $ac_try) 2>&5
12760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12761 (exit $ac_status); }; } &&
12762 { ac_try
='test -s conftest$ac_exeext'
12763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12764 (eval $ac_try) 2>&5
12766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12767 (exit $ac_status); }; }; then
12768 eval "$as_ac_var=yes"
12770 echo "$as_me: failed program was:" >&5
12771 sed 's/^/| /' conftest.
$ac_ext >&5
12773 eval "$as_ac_var=no"
12775 rm -f conftest.err conftest.
$ac_objext \
12776 conftest
$ac_exeext conftest.
$ac_ext
12778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12780 if test `eval echo '${'$as_ac_var'}'` = yes; then
12781 cat >>confdefs.h
<<_ACEOF
12782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12788 if test "$time_found" = no
; then
12789 { { echo "$as_me:$LINENO: error: no function found to get the time" >&5
12790 echo "$as_me: error: no function found to get the time" >&2;}
12791 { (exit 1); exit 1; }; }
12795 for ac_func
in memmove
12797 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12798 echo "$as_me:$LINENO: checking for $ac_func" >&5
12799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12800 if eval "test \"\${$as_ac_var+set}\" = set"; then
12801 echo $ECHO_N "(cached) $ECHO_C" >&6
12803 if test x
$gcc_no_link = xyes
; then
12804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12806 { (exit 1); exit 1; }; }
12808 cat >conftest.
$ac_ext <<_ACEOF
12811 cat confdefs.h
>>conftest.
$ac_ext
12812 cat >>conftest.
$ac_ext <<_ACEOF
12813 /* end confdefs.h. */
12814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12816 #define $ac_func innocuous_$ac_func
12818 /* System header to define __stub macros and hopefully few prototypes,
12819 which can conflict with char $ac_func (); below.
12820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12821 <limits.h> exists even on freestanding compilers. */
12824 # include <limits.h>
12826 # include <assert.h>
12831 /* Override any gcc2 internal prototype to avoid an error. */
12836 /* We use char because int might match the return type of a gcc2
12837 builtin and then its argument prototype would still apply. */
12839 /* The GNU C library defines this for functions which it implements
12840 to always fail with ENOSYS. Some functions are actually named
12841 something starting with __ and the normal name is an alias. */
12842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12845 char (*f) () = $ac_func;
12854 return f != $ac_func;
12859 rm -f conftest.
$ac_objext conftest
$ac_exeext
12860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12861 (eval $ac_link) 2>conftest.er1
12863 grep -v '^ *+' conftest.er1
>conftest.err
12865 cat conftest.err
>&5
12866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12867 (exit $ac_status); } &&
12868 { ac_try
='test -z "$ac_c_werror_flag"
12869 || test ! -s conftest.err'
12870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12871 (eval $ac_try) 2>&5
12873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12874 (exit $ac_status); }; } &&
12875 { ac_try
='test -s conftest$ac_exeext'
12876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12877 (eval $ac_try) 2>&5
12879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12880 (exit $ac_status); }; }; then
12881 eval "$as_ac_var=yes"
12883 echo "$as_me: failed program was:" >&5
12884 sed 's/^/| /' conftest.
$ac_ext >&5
12886 eval "$as_ac_var=no"
12888 rm -f conftest.err conftest.
$ac_objext \
12889 conftest
$ac_exeext conftest.
$ac_ext
12891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12893 if test `eval echo '${'$as_ac_var'}'` = yes; then
12894 cat >>confdefs.h
<<_ACEOF
12895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12902 # We require memcpy.
12905 for ac_func
in memcpy
12907 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12908 echo "$as_me:$LINENO: checking for $ac_func" >&5
12909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12910 if eval "test \"\${$as_ac_var+set}\" = set"; then
12911 echo $ECHO_N "(cached) $ECHO_C" >&6
12913 if test x
$gcc_no_link = xyes
; then
12914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12916 { (exit 1); exit 1; }; }
12918 cat >conftest.
$ac_ext <<_ACEOF
12921 cat confdefs.h
>>conftest.
$ac_ext
12922 cat >>conftest.
$ac_ext <<_ACEOF
12923 /* end confdefs.h. */
12924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12926 #define $ac_func innocuous_$ac_func
12928 /* System header to define __stub macros and hopefully few prototypes,
12929 which can conflict with char $ac_func (); below.
12930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12931 <limits.h> exists even on freestanding compilers. */
12934 # include <limits.h>
12936 # include <assert.h>
12941 /* Override any gcc2 internal prototype to avoid an error. */
12946 /* We use char because int might match the return type of a gcc2
12947 builtin and then its argument prototype would still apply. */
12949 /* The GNU C library defines this for functions which it implements
12950 to always fail with ENOSYS. Some functions are actually named
12951 something starting with __ and the normal name is an alias. */
12952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12955 char (*f) () = $ac_func;
12964 return f != $ac_func;
12969 rm -f conftest.
$ac_objext conftest
$ac_exeext
12970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12971 (eval $ac_link) 2>conftest.er1
12973 grep -v '^ *+' conftest.er1
>conftest.err
12975 cat conftest.err
>&5
12976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12977 (exit $ac_status); } &&
12978 { ac_try
='test -z "$ac_c_werror_flag"
12979 || test ! -s conftest.err'
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); }; } &&
12985 { ac_try
='test -s conftest$ac_exeext'
12986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12987 (eval $ac_try) 2>&5
12989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990 (exit $ac_status); }; }; then
12991 eval "$as_ac_var=yes"
12993 echo "$as_me: failed program was:" >&5
12994 sed 's/^/| /' conftest.
$ac_ext >&5
12996 eval "$as_ac_var=no"
12998 rm -f conftest.err conftest.
$ac_objext \
12999 conftest
$ac_exeext conftest.
$ac_ext
13001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13003 if test `eval echo '${'$as_ac_var'}'` = yes; then
13004 cat >>confdefs.h
<<_ACEOF
13005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13011 if test "$memcpy_found" = no
; then
13012 { { echo "$as_me:$LINENO: error: memcpy is required" >&5
13013 echo "$as_me: error: memcpy is required" >&2;}
13014 { (exit 1); exit 1; }; }
13016 # Do an additional check on dld, HP-UX for example has dlopen in libdld.sl
13017 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13018 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13019 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13020 echo $ECHO_N "(cached) $ECHO_C" >&6
13022 ac_check_lib_save_LIBS
=$LIBS
13024 if test x
$gcc_no_link = xyes
; then
13025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13027 { (exit 1); exit 1; }; }
13029 cat >conftest.
$ac_ext <<_ACEOF
13032 cat confdefs.h
>>conftest.
$ac_ext
13033 cat >>conftest.
$ac_ext <<_ACEOF
13034 /* end confdefs.h. */
13036 /* Override any gcc2 internal prototype to avoid an error. */
13040 /* We use char because int might match the return type of a gcc2
13041 builtin and then its argument prototype would still apply. */
13051 rm -f conftest.
$ac_objext conftest
$ac_exeext
13052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13053 (eval $ac_link) 2>conftest.er1
13055 grep -v '^ *+' conftest.er1
>conftest.err
13057 cat conftest.err
>&5
13058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059 (exit $ac_status); } &&
13060 { ac_try
='test -z "$ac_c_werror_flag"
13061 || test ! -s conftest.err'
13062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13063 (eval $ac_try) 2>&5
13065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13066 (exit $ac_status); }; } &&
13067 { ac_try
='test -s conftest$ac_exeext'
13068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13069 (eval $ac_try) 2>&5
13071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13072 (exit $ac_status); }; }; then
13073 ac_cv_lib_dl_dlopen
=yes
13075 echo "$as_me: failed program was:" >&5
13076 sed 's/^/| /' conftest.
$ac_ext >&5
13078 ac_cv_lib_dl_dlopen
=no
13080 rm -f conftest.err conftest.
$ac_objext \
13081 conftest
$ac_exeext conftest.
$ac_ext
13082 LIBS
=$ac_check_lib_save_LIBS
13084 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13085 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13086 if test $ac_cv_lib_dl_dlopen = yes; then
13089 cat >>confdefs.h
<<\_ACEOF
13090 #define HAVE_DLOPEN 1
13095 echo "$as_me:$LINENO: checking for dlopen in -ldld" >&5
13096 echo $ECHO_N "checking for dlopen in -ldld... $ECHO_C" >&6
13097 if test "${ac_cv_lib_dld_dlopen+set}" = set; then
13098 echo $ECHO_N "(cached) $ECHO_C" >&6
13100 ac_check_lib_save_LIBS
=$LIBS
13102 if test x
$gcc_no_link = xyes
; then
13103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13105 { (exit 1); exit 1; }; }
13107 cat >conftest.
$ac_ext <<_ACEOF
13110 cat confdefs.h
>>conftest.
$ac_ext
13111 cat >>conftest.
$ac_ext <<_ACEOF
13112 /* end confdefs.h. */
13114 /* Override any gcc2 internal prototype to avoid an error. */
13118 /* We use char because int might match the return type of a gcc2
13119 builtin and then its argument prototype would still apply. */
13129 rm -f conftest.
$ac_objext conftest
$ac_exeext
13130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13131 (eval $ac_link) 2>conftest.er1
13133 grep -v '^ *+' conftest.er1
>conftest.err
13135 cat conftest.err
>&5
13136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13137 (exit $ac_status); } &&
13138 { ac_try
='test -z "$ac_c_werror_flag"
13139 || test ! -s conftest.err'
13140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13141 (eval $ac_try) 2>&5
13143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13144 (exit $ac_status); }; } &&
13145 { ac_try
='test -s conftest$ac_exeext'
13146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13147 (eval $ac_try) 2>&5
13149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13150 (exit $ac_status); }; }; then
13151 ac_cv_lib_dld_dlopen
=yes
13153 echo "$as_me: failed program was:" >&5
13154 sed 's/^/| /' conftest.
$ac_ext >&5
13156 ac_cv_lib_dld_dlopen
=no
13158 rm -f conftest.err conftest.
$ac_objext \
13159 conftest
$ac_exeext conftest.
$ac_ext
13160 LIBS
=$ac_check_lib_save_LIBS
13162 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dlopen" >&5
13163 echo "${ECHO_T}$ac_cv_lib_dld_dlopen" >&6
13164 if test $ac_cv_lib_dld_dlopen = yes; then
13167 cat >>confdefs.h
<<\_ACEOF
13168 #define HAVE_DLOPEN 1
13176 # Some library-finding code we stole from Tcl.
13177 #--------------------------------------------------------------------
13178 # Check for the existence of the -lsocket and -lnsl libraries.
13179 # The order here is important, so that they end up in the right
13180 # order in the command line generated by make. Here are some
13181 # special considerations:
13182 # 1. Use "connect" and "accept" to check for -lsocket, and
13183 # "gethostbyname" to check for -lnsl.
13184 # 2. Use each function name only once: can't redo a check because
13185 # autoconf caches the results of the last check and won't redo it.
13186 # 3. Use -lnsl and -lsocket only if they supply procedures that
13187 # aren't already present in the normal libraries. This is because
13188 # IRIX 5.2 has libraries, but they aren't needed and they're
13189 # bogus: they goof up name resolution if used.
13190 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
13191 # To get around this problem, check for both libraries together
13192 # if -lsocket doesn't work by itself.
13193 #--------------------------------------------------------------------
13195 echo "$as_me:$LINENO: checking for socket libraries" >&5
13196 echo $ECHO_N "checking for socket libraries... $ECHO_C" >&6
13197 if test "${gcj_cv_lib_sockets+set}" = set; then
13198 echo $ECHO_N "(cached) $ECHO_C" >&6
13200 gcj_cv_lib_sockets
=
13202 unset ac_cv_func_connect
13203 echo "$as_me:$LINENO: checking for connect" >&5
13204 echo $ECHO_N "checking for connect... $ECHO_C" >&6
13205 if test "${ac_cv_func_connect+set}" = set; then
13206 echo $ECHO_N "(cached) $ECHO_C" >&6
13208 if test x
$gcc_no_link = xyes
; then
13209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13211 { (exit 1); exit 1; }; }
13213 cat >conftest.
$ac_ext <<_ACEOF
13216 cat confdefs.h
>>conftest.
$ac_ext
13217 cat >>conftest.
$ac_ext <<_ACEOF
13218 /* end confdefs.h. */
13219 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
13220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13221 #define connect innocuous_connect
13223 /* System header to define __stub macros and hopefully few prototypes,
13224 which can conflict with char connect (); below.
13225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13226 <limits.h> exists even on freestanding compilers. */
13229 # include <limits.h>
13231 # include <assert.h>
13236 /* Override any gcc2 internal prototype to avoid an error. */
13241 /* We use char because int might match the return type of a gcc2
13242 builtin and then its argument prototype would still apply. */
13244 /* The GNU C library defines this for functions which it implements
13245 to always fail with ENOSYS. Some functions are actually named
13246 something starting with __ and the normal name is an alias. */
13247 #if defined (__stub_connect) || defined (__stub___connect)
13250 char (*f) () = connect;
13259 return f != connect;
13264 rm -f conftest.
$ac_objext conftest
$ac_exeext
13265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13266 (eval $ac_link) 2>conftest.er1
13268 grep -v '^ *+' conftest.er1
>conftest.err
13270 cat conftest.err
>&5
13271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272 (exit $ac_status); } &&
13273 { ac_try
='test -z "$ac_c_werror_flag"
13274 || test ! -s conftest.err'
13275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13276 (eval $ac_try) 2>&5
13278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13279 (exit $ac_status); }; } &&
13280 { ac_try
='test -s conftest$ac_exeext'
13281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13282 (eval $ac_try) 2>&5
13284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13285 (exit $ac_status); }; }; then
13286 ac_cv_func_connect
=yes
13288 echo "$as_me: failed program was:" >&5
13289 sed 's/^/| /' conftest.
$ac_ext >&5
13291 ac_cv_func_connect
=no
13293 rm -f conftest.err conftest.
$ac_objext \
13294 conftest
$ac_exeext conftest.
$ac_ext
13296 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
13297 echo "${ECHO_T}$ac_cv_func_connect" >&6
13298 if test $ac_cv_func_connect = yes; then
13304 if test "$gcj_checkSocket" = 1; then
13305 unset ac_cv_func_connect
13306 echo "$as_me:$LINENO: checking for main in -lsocket" >&5
13307 echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
13308 if test "${ac_cv_lib_socket_main+set}" = set; then
13309 echo $ECHO_N "(cached) $ECHO_C" >&6
13311 ac_check_lib_save_LIBS
=$LIBS
13312 LIBS
="-lsocket $LIBS"
13313 if test x
$gcc_no_link = xyes
; then
13314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13316 { (exit 1); exit 1; }; }
13318 cat >conftest.
$ac_ext <<_ACEOF
13321 cat confdefs.h
>>conftest.
$ac_ext
13322 cat >>conftest.
$ac_ext <<_ACEOF
13323 /* end confdefs.h. */
13334 rm -f conftest.
$ac_objext conftest
$ac_exeext
13335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13336 (eval $ac_link) 2>conftest.er1
13338 grep -v '^ *+' conftest.er1
>conftest.err
13340 cat conftest.err
>&5
13341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13342 (exit $ac_status); } &&
13343 { ac_try
='test -z "$ac_c_werror_flag"
13344 || test ! -s conftest.err'
13345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13346 (eval $ac_try) 2>&5
13348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13349 (exit $ac_status); }; } &&
13350 { ac_try
='test -s conftest$ac_exeext'
13351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13352 (eval $ac_try) 2>&5
13354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13355 (exit $ac_status); }; }; then
13356 ac_cv_lib_socket_main
=yes
13358 echo "$as_me: failed program was:" >&5
13359 sed 's/^/| /' conftest.
$ac_ext >&5
13361 ac_cv_lib_socket_main
=no
13363 rm -f conftest.err conftest.
$ac_objext \
13364 conftest
$ac_exeext conftest.
$ac_ext
13365 LIBS
=$ac_check_lib_save_LIBS
13367 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
13368 echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
13369 if test $ac_cv_lib_socket_main = yes; then
13370 gcj_cv_lib_sockets
="-lsocket"
13376 if test "$gcj_checkBoth" = 1; then
13378 LIBS
="$LIBS -lsocket -lnsl"
13379 unset ac_cv_func_accept
13380 echo "$as_me:$LINENO: checking for accept" >&5
13381 echo $ECHO_N "checking for accept... $ECHO_C" >&6
13382 if test "${ac_cv_func_accept+set}" = set; then
13383 echo $ECHO_N "(cached) $ECHO_C" >&6
13385 if test x
$gcc_no_link = xyes
; then
13386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13388 { (exit 1); exit 1; }; }
13390 cat >conftest.
$ac_ext <<_ACEOF
13393 cat confdefs.h
>>conftest.
$ac_ext
13394 cat >>conftest.
$ac_ext <<_ACEOF
13395 /* end confdefs.h. */
13396 /* Define accept to an innocuous variant, in case <limits.h> declares accept.
13397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13398 #define accept innocuous_accept
13400 /* System header to define __stub macros and hopefully few prototypes,
13401 which can conflict with char accept (); below.
13402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13403 <limits.h> exists even on freestanding compilers. */
13406 # include <limits.h>
13408 # include <assert.h>
13413 /* Override any gcc2 internal prototype to avoid an error. */
13418 /* We use char because int might match the return type of a gcc2
13419 builtin and then its argument prototype would still apply. */
13421 /* The GNU C library defines this for functions which it implements
13422 to always fail with ENOSYS. Some functions are actually named
13423 something starting with __ and the normal name is an alias. */
13424 #if defined (__stub_accept) || defined (__stub___accept)
13427 char (*f) () = accept;
13436 return f != accept;
13441 rm -f conftest.
$ac_objext conftest
$ac_exeext
13442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13443 (eval $ac_link) 2>conftest.er1
13445 grep -v '^ *+' conftest.er1
>conftest.err
13447 cat conftest.err
>&5
13448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13449 (exit $ac_status); } &&
13450 { ac_try
='test -z "$ac_c_werror_flag"
13451 || test ! -s conftest.err'
13452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13453 (eval $ac_try) 2>&5
13455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13456 (exit $ac_status); }; } &&
13457 { ac_try
='test -s conftest$ac_exeext'
13458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13459 (eval $ac_try) 2>&5
13461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13462 (exit $ac_status); }; }; then
13463 ac_cv_func_accept
=yes
13465 echo "$as_me: failed program was:" >&5
13466 sed 's/^/| /' conftest.
$ac_ext >&5
13468 ac_cv_func_accept
=no
13470 rm -f conftest.err conftest.
$ac_objext \
13471 conftest
$ac_exeext conftest.
$ac_ext
13473 echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5
13474 echo "${ECHO_T}$ac_cv_func_accept" >&6
13475 if test $ac_cv_func_accept = yes; then
13477 gcj_cv_lib_sockets
="-lsocket -lnsl"
13480 unset ac_cv_func_accept
13483 unset ac_cv_func_gethostbyname
13485 LIBS
="$LIBS $gcj_cv_lib_sockets"
13486 echo "$as_me:$LINENO: checking for gethostbyname" >&5
13487 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
13488 if test "${ac_cv_func_gethostbyname+set}" = set; then
13489 echo $ECHO_N "(cached) $ECHO_C" >&6
13491 if test x
$gcc_no_link = xyes
; then
13492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13494 { (exit 1); exit 1; }; }
13496 cat >conftest.
$ac_ext <<_ACEOF
13499 cat confdefs.h
>>conftest.
$ac_ext
13500 cat >>conftest.
$ac_ext <<_ACEOF
13501 /* end confdefs.h. */
13502 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
13503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13504 #define gethostbyname innocuous_gethostbyname
13506 /* System header to define __stub macros and hopefully few prototypes,
13507 which can conflict with char gethostbyname (); below.
13508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13509 <limits.h> exists even on freestanding compilers. */
13512 # include <limits.h>
13514 # include <assert.h>
13517 #undef gethostbyname
13519 /* Override any gcc2 internal prototype to avoid an error. */
13524 /* We use char because int might match the return type of a gcc2
13525 builtin and then its argument prototype would still apply. */
13526 char gethostbyname ();
13527 /* The GNU C library defines this for functions which it implements
13528 to always fail with ENOSYS. Some functions are actually named
13529 something starting with __ and the normal name is an alias. */
13530 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13533 char (*f) () = gethostbyname;
13542 return f != gethostbyname;
13547 rm -f conftest.
$ac_objext conftest
$ac_exeext
13548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13549 (eval $ac_link) 2>conftest.er1
13551 grep -v '^ *+' conftest.er1
>conftest.err
13553 cat conftest.err
>&5
13554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13555 (exit $ac_status); } &&
13556 { ac_try
='test -z "$ac_c_werror_flag"
13557 || test ! -s conftest.err'
13558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13559 (eval $ac_try) 2>&5
13561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13562 (exit $ac_status); }; } &&
13563 { ac_try
='test -s conftest$ac_exeext'
13564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13565 (eval $ac_try) 2>&5
13567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13568 (exit $ac_status); }; }; then
13569 ac_cv_func_gethostbyname
=yes
13571 echo "$as_me: failed program was:" >&5
13572 sed 's/^/| /' conftest.
$ac_ext >&5
13574 ac_cv_func_gethostbyname
=no
13576 rm -f conftest.err conftest.
$ac_objext \
13577 conftest
$ac_exeext conftest.
$ac_ext
13579 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
13580 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
13581 if test $ac_cv_func_gethostbyname = yes; then
13584 echo "$as_me:$LINENO: checking for main in -lnsl" >&5
13585 echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
13586 if test "${ac_cv_lib_nsl_main+set}" = set; then
13587 echo $ECHO_N "(cached) $ECHO_C" >&6
13589 ac_check_lib_save_LIBS
=$LIBS
13591 if test x
$gcc_no_link = xyes
; then
13592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13594 { (exit 1); exit 1; }; }
13596 cat >conftest.
$ac_ext <<_ACEOF
13599 cat confdefs.h
>>conftest.
$ac_ext
13600 cat >>conftest.
$ac_ext <<_ACEOF
13601 /* end confdefs.h. */
13612 rm -f conftest.
$ac_objext conftest
$ac_exeext
13613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13614 (eval $ac_link) 2>conftest.er1
13616 grep -v '^ *+' conftest.er1
>conftest.err
13618 cat conftest.err
>&5
13619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13620 (exit $ac_status); } &&
13621 { ac_try
='test -z "$ac_c_werror_flag"
13622 || test ! -s conftest.err'
13623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13624 (eval $ac_try) 2>&5
13626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13627 (exit $ac_status); }; } &&
13628 { ac_try
='test -s conftest$ac_exeext'
13629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13630 (eval $ac_try) 2>&5
13632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13633 (exit $ac_status); }; }; then
13634 ac_cv_lib_nsl_main
=yes
13636 echo "$as_me: failed program was:" >&5
13637 sed 's/^/| /' conftest.
$ac_ext >&5
13639 ac_cv_lib_nsl_main
=no
13641 rm -f conftest.err conftest.
$ac_objext \
13642 conftest
$ac_exeext conftest.
$ac_ext
13643 LIBS
=$ac_check_lib_save_LIBS
13645 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
13646 echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
13647 if test $ac_cv_lib_nsl_main = yes; then
13648 gcj_cv_lib_sockets
="$gcj_cv_lib_sockets -lnsl"
13653 unset ac_cv_func_gethostbyname
13657 echo "$as_me:$LINENO: result: $gcj_cv_lib_sockets" >&5
13658 echo "${ECHO_T}$gcj_cv_lib_sockets" >&6
13659 SYSTEMSPEC
="$SYSTEMSPEC $gcj_cv_lib_sockets"
13661 if test "$with_system_zlib" = yes; then
13662 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
13663 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
13664 if test "${ac_cv_lib_z_deflate+set}" = set; then
13665 echo $ECHO_N "(cached) $ECHO_C" >&6
13667 ac_check_lib_save_LIBS
=$LIBS
13669 if test x
$gcc_no_link = xyes
; then
13670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13672 { (exit 1); exit 1; }; }
13674 cat >conftest.
$ac_ext <<_ACEOF
13677 cat confdefs.h
>>conftest.
$ac_ext
13678 cat >>conftest.
$ac_ext <<_ACEOF
13679 /* end confdefs.h. */
13681 /* Override any gcc2 internal prototype to avoid an error. */
13685 /* We use char because int might match the return type of a gcc2
13686 builtin and then its argument prototype would still apply. */
13696 rm -f conftest.
$ac_objext conftest
$ac_exeext
13697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13698 (eval $ac_link) 2>conftest.er1
13700 grep -v '^ *+' conftest.er1
>conftest.err
13702 cat conftest.err
>&5
13703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13704 (exit $ac_status); } &&
13705 { ac_try
='test -z "$ac_c_werror_flag"
13706 || test ! -s conftest.err'
13707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13708 (eval $ac_try) 2>&5
13710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13711 (exit $ac_status); }; } &&
13712 { ac_try
='test -s conftest$ac_exeext'
13713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13714 (eval $ac_try) 2>&5
13716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13717 (exit $ac_status); }; }; then
13718 ac_cv_lib_z_deflate
=yes
13720 echo "$as_me: failed program was:" >&5
13721 sed 's/^/| /' conftest.
$ac_ext >&5
13723 ac_cv_lib_z_deflate
=no
13725 rm -f conftest.err conftest.
$ac_objext \
13726 conftest
$ac_exeext conftest.
$ac_ext
13727 LIBS
=$ac_check_lib_save_LIBS
13729 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
13730 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
13731 if test $ac_cv_lib_z_deflate = yes; then
13739 # Test for Gtk stuff, if asked for.
13740 if test "$use_gtk_awt" = yes; then
13744 if test -z "$PKG_CONFIG"; then
13745 # Extract the first word of "pkg-config", so it can be a program name with args.
13746 set dummy pkg-config
; ac_word
=$2
13747 echo "$as_me:$LINENO: checking for $ac_word" >&5
13748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13749 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13750 echo $ECHO_N "(cached) $ECHO_C" >&6
13752 case $PKG_CONFIG in
13754 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13758 for as_dir
in $PATH
13761 test -z "$as_dir" && as_dir
=.
13762 for ac_exec_ext
in '' $ac_executable_extensions; do
13763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13764 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13771 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13775 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13777 if test -n "$PKG_CONFIG"; then
13778 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13779 echo "${ECHO_T}$PKG_CONFIG" >&6
13781 echo "$as_me:$LINENO: result: no" >&5
13782 echo "${ECHO_T}no" >&6
13787 if test "$PKG_CONFIG" = "no" ; then
13788 echo "*** The pkg-config script could not be found. Make sure it is"
13789 echo "*** in your path, or set the PKG_CONFIG environment variable"
13790 echo "*** to the full path to pkg-config."
13791 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13793 PKG_CONFIG_MIN_VERSION
=0.9.0
13794 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13795 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4" >&5
13796 echo $ECHO_N "checking for gtk+-2.0 >= 2.4... $ECHO_C" >&6
13798 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4" ; then
13799 echo "$as_me:$LINENO: result: yes" >&5
13800 echo "${ECHO_T}yes" >&6
13803 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
13804 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
13805 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4"`
13806 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
13807 echo "${ECHO_T}$GTK_CFLAGS" >&6
13809 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
13810 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
13811 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4"`
13812 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
13813 echo "${ECHO_T}$GTK_LIBS" >&6
13817 ## If we have a custom action on failure, don't print errors, but
13818 ## do set a variable so people can do so.
13819 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4"`
13820 echo $GTK_PKG_ERRORS
13826 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13827 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13831 if test $succeeded = yes; then
13834 { { 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
13835 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;}
13836 { (exit 1); exit 1; }; }
13845 if test -z "$PKG_CONFIG"; then
13846 # Extract the first word of "pkg-config", so it can be a program name with args.
13847 set dummy pkg-config
; ac_word
=$2
13848 echo "$as_me:$LINENO: checking for $ac_word" >&5
13849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13850 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13851 echo $ECHO_N "(cached) $ECHO_C" >&6
13853 case $PKG_CONFIG in
13855 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13859 for as_dir
in $PATH
13862 test -z "$as_dir" && as_dir
=.
13863 for ac_exec_ext
in '' $ac_executable_extensions; do
13864 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13865 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13872 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13876 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13878 if test -n "$PKG_CONFIG"; then
13879 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13880 echo "${ECHO_T}$PKG_CONFIG" >&6
13882 echo "$as_me:$LINENO: result: no" >&5
13883 echo "${ECHO_T}no" >&6
13888 if test "$PKG_CONFIG" = "no" ; then
13889 echo "*** The pkg-config script could not be found. Make sure it is"
13890 echo "*** in your path, or set the PKG_CONFIG environment variable"
13891 echo "*** to the full path to pkg-config."
13892 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13894 PKG_CONFIG_MIN_VERSION
=0.9.0
13895 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13896 echo "$as_me:$LINENO: checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4" >&5
13897 echo $ECHO_N "checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... $ECHO_C" >&6
13899 if $PKG_CONFIG --exists "glib-2.0 >= 2.4 gthread-2.0 >= 2.4" ; then
13900 echo "$as_me:$LINENO: result: yes" >&5
13901 echo "${ECHO_T}yes" >&6
13904 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
13905 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
13906 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
13907 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
13908 echo "${ECHO_T}$GLIB_CFLAGS" >&6
13910 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
13911 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
13912 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
13913 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
13914 echo "${ECHO_T}$GLIB_LIBS" >&6
13918 ## If we have a custom action on failure, don't print errors, but
13919 ## do set a variable so people can do so.
13920 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
13921 echo $GLIB_PKG_ERRORS
13927 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13928 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13932 if test $succeeded = yes; then
13935 { { 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
13936 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;}
13937 { (exit 1); exit 1; }; }
13946 if test -z "$PKG_CONFIG"; then
13947 # Extract the first word of "pkg-config", so it can be a program name with args.
13948 set dummy pkg-config
; ac_word
=$2
13949 echo "$as_me:$LINENO: checking for $ac_word" >&5
13950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13951 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13952 echo $ECHO_N "(cached) $ECHO_C" >&6
13954 case $PKG_CONFIG in
13956 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13960 for as_dir
in $PATH
13963 test -z "$as_dir" && as_dir
=.
13964 for ac_exec_ext
in '' $ac_executable_extensions; do
13965 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13966 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13973 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13977 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13979 if test -n "$PKG_CONFIG"; then
13980 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13981 echo "${ECHO_T}$PKG_CONFIG" >&6
13983 echo "$as_me:$LINENO: result: no" >&5
13984 echo "${ECHO_T}no" >&6
13989 if test "$PKG_CONFIG" = "no" ; then
13990 echo "*** The pkg-config script could not be found. Make sure it is"
13991 echo "*** in your path, or set the PKG_CONFIG environment variable"
13992 echo "*** to the full path to pkg-config."
13993 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13995 PKG_CONFIG_MIN_VERSION
=0.9.0
13996 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13997 echo "$as_me:$LINENO: checking for libart-2.0 >= 2.1" >&5
13998 echo $ECHO_N "checking for libart-2.0 >= 2.1... $ECHO_C" >&6
14000 if $PKG_CONFIG --exists "libart-2.0 >= 2.1" ; then
14001 echo "$as_me:$LINENO: result: yes" >&5
14002 echo "${ECHO_T}yes" >&6
14005 echo "$as_me:$LINENO: checking LIBART_CFLAGS" >&5
14006 echo $ECHO_N "checking LIBART_CFLAGS... $ECHO_C" >&6
14007 LIBART_CFLAGS
=`$PKG_CONFIG --cflags "libart-2.0 >= 2.1"`
14008 echo "$as_me:$LINENO: result: $LIBART_CFLAGS" >&5
14009 echo "${ECHO_T}$LIBART_CFLAGS" >&6
14011 echo "$as_me:$LINENO: checking LIBART_LIBS" >&5
14012 echo $ECHO_N "checking LIBART_LIBS... $ECHO_C" >&6
14013 LIBART_LIBS
=`$PKG_CONFIG --libs "libart-2.0 >= 2.1"`
14014 echo "$as_me:$LINENO: result: $LIBART_LIBS" >&5
14015 echo "${ECHO_T}$LIBART_LIBS" >&6
14019 ## If we have a custom action on failure, don't print errors, but
14020 ## do set a variable so people can do so.
14021 LIBART_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libart-2.0 >= 2.1"`
14022 echo $LIBART_PKG_ERRORS
14028 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14029 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14033 if test $succeeded = yes; then
14036 { { 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
14037 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;}
14038 { (exit 1); exit 1; }; }
14044 # We require the XTest Extension to support java.awt.Robot.
14045 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
14046 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
14047 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
14048 echo $ECHO_N "(cached) $ECHO_C" >&6
14050 ac_check_lib_save_LIBS
=$LIBS
14051 LIBS
="-lXtst ${X_LIBS} $LIBS"
14052 if test x
$gcc_no_link = xyes
; then
14053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14055 { (exit 1); exit 1; }; }
14057 cat >conftest.
$ac_ext <<_ACEOF
14060 cat confdefs.h
>>conftest.
$ac_ext
14061 cat >>conftest.
$ac_ext <<_ACEOF
14062 /* end confdefs.h. */
14064 /* Override any gcc2 internal prototype to avoid an error. */
14068 /* We use char because int might match the return type of a gcc2
14069 builtin and then its argument prototype would still apply. */
14070 char XTestQueryExtension ();
14074 XTestQueryExtension ();
14079 rm -f conftest.
$ac_objext conftest
$ac_exeext
14080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14081 (eval $ac_link) 2>conftest.er1
14083 grep -v '^ *+' conftest.er1
>conftest.err
14085 cat conftest.err
>&5
14086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14087 (exit $ac_status); } &&
14088 { ac_try
='test -z "$ac_c_werror_flag"
14089 || test ! -s conftest.err'
14090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14091 (eval $ac_try) 2>&5
14093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094 (exit $ac_status); }; } &&
14095 { ac_try
='test -s conftest$ac_exeext'
14096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14097 (eval $ac_try) 2>&5
14099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14100 (exit $ac_status); }; }; then
14101 ac_cv_lib_Xtst_XTestQueryExtension
=yes
14103 echo "$as_me: failed program was:" >&5
14104 sed 's/^/| /' conftest.
$ac_ext >&5
14106 ac_cv_lib_Xtst_XTestQueryExtension
=no
14108 rm -f conftest.err conftest.
$ac_objext \
14109 conftest
$ac_exeext conftest.
$ac_ext
14110 LIBS
=$ac_check_lib_save_LIBS
14112 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
14113 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
14114 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
14117 { { echo "$as_me:$LINENO: error: libXtst not found, required by java.awt.Robot" >&5
14118 echo "$as_me: error: libXtst not found, required by java.awt.Robot" >&2;}
14119 { (exit 1); exit 1; }; }
14124 # On Solaris, and maybe other architectures, the Boehm collector
14126 if test "$GC" = boehm
; then
14127 echo "$as_me:$LINENO: checking for main in -ldl" >&5
14128 echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6
14129 if test "${ac_cv_lib_dl_main+set}" = set; then
14130 echo $ECHO_N "(cached) $ECHO_C" >&6
14132 ac_check_lib_save_LIBS
=$LIBS
14134 if test x
$gcc_no_link = xyes
; then
14135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14137 { (exit 1); exit 1; }; }
14139 cat >conftest.
$ac_ext <<_ACEOF
14142 cat confdefs.h
>>conftest.
$ac_ext
14143 cat >>conftest.
$ac_ext <<_ACEOF
14144 /* end confdefs.h. */
14155 rm -f conftest.
$ac_objext conftest
$ac_exeext
14156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14157 (eval $ac_link) 2>conftest.er1
14159 grep -v '^ *+' conftest.er1
>conftest.err
14161 cat conftest.err
>&5
14162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14163 (exit $ac_status); } &&
14164 { ac_try
='test -z "$ac_c_werror_flag"
14165 || test ! -s conftest.err'
14166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14167 (eval $ac_try) 2>&5
14169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14170 (exit $ac_status); }; } &&
14171 { ac_try
='test -s conftest$ac_exeext'
14172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14173 (eval $ac_try) 2>&5
14175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176 (exit $ac_status); }; }; then
14177 ac_cv_lib_dl_main
=yes
14179 echo "$as_me: failed program was:" >&5
14180 sed 's/^/| /' conftest.
$ac_ext >&5
14182 ac_cv_lib_dl_main
=no
14184 rm -f conftest.err conftest.
$ac_objext \
14185 conftest
$ac_exeext conftest.
$ac_ext
14186 LIBS
=$ac_check_lib_save_LIBS
14188 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5
14189 echo "${ECHO_T}$ac_cv_lib_dl_main" >&6
14190 if test $ac_cv_lib_dl_main = yes; then
14191 SYSTEMSPEC
="$SYSTEMSPEC -ldl"
14197 # Use a semicolon as CLASSPATH separator for MinGW, otherwise a colon.
14199 *-mingw32) CLASSPATH_SEPARATOR
=';' ;;
14200 *) CLASSPATH_SEPARATOR
=':' ;;
14204 # We must search the source tree for java.lang, since we still don't
14205 # have libgcj.jar nor java/lang/*.class
14206 GCJ_SAVE_CPPFLAGS
=$CPPFLAGS
14207 CPPFLAGS
="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`"
14209 # Since some classes depend on this one, we need its source available
14210 # before we can do any GCJ compilation test :-(
14211 if test ! -f gnu
/classpath
/Configuration.java
; then
14212 test -d gnu || mkdir gnu
14213 test -d gnu
/classpath || mkdir gnu
/classpath
14214 # Note that it is not crucial that all the values here be correct.
14215 sed -e "s,@prefix@,$prefix," \
14216 -e "s,@VERSION@,$VERSION," \
14217 -e "s,@LIBDEBUG@,false," \
14218 -e "s,@INIT_LOAD_LIBRARY@,false," \
14219 -e "s,@@,$LIBGCJDEBUG," \
14220 -e "s,@default_toolkit@,$TOOLKIT," \
14221 -e "s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,false," \
14222 -e "s,@GTK_CAIRO_ENABLED@,false," \
14223 < $srcdir/classpath
/gnu
/classpath
/Configuration.java.
in \
14224 > gnu
/classpath
/Configuration.java
14225 # We do not want to redirect the output of the grep below to /dev/null,
14226 # but we add /dev/null to the input list so that grep will print the
14227 # filename of Configuration.java in case it finds any matches.
14228 if grep '@.*@' gnu
/classpath
/Configuration.java
/dev
/null
; then
14229 { { echo "$as_me:$LINENO: error: configure.ac is missing the substitutions above" >&5
14230 echo "$as_me: error: configure.ac is missing the substitutions above" >&2;}
14231 { (exit 1); exit 1; }; }
14235 if test -n "$ac_tool_prefix"; then
14236 # Extract the first word of "${ac_tool_prefix}gcj", so it can be a program name with args.
14237 set dummy
${ac_tool_prefix}gcj
; ac_word
=$2
14238 echo "$as_me:$LINENO: checking for $ac_word" >&5
14239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14240 if test "${ac_cv_prog_GCJ+set}" = set; then
14241 echo $ECHO_N "(cached) $ECHO_C" >&6
14243 if test -n "$GCJ"; then
14244 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
14246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14247 for as_dir
in $PATH
14250 test -z "$as_dir" && as_dir
=.
14251 for ac_exec_ext
in '' $ac_executable_extensions; do
14252 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14253 ac_cv_prog_GCJ
="${ac_tool_prefix}gcj"
14254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14262 GCJ
=$ac_cv_prog_GCJ
14263 if test -n "$GCJ"; then
14264 echo "$as_me:$LINENO: result: $GCJ" >&5
14265 echo "${ECHO_T}$GCJ" >&6
14267 echo "$as_me:$LINENO: result: no" >&5
14268 echo "${ECHO_T}no" >&6
14272 if test -z "$ac_cv_prog_GCJ"; then
14274 # Extract the first word of "gcj", so it can be a program name with args.
14275 set dummy gcj
; ac_word
=$2
14276 echo "$as_me:$LINENO: checking for $ac_word" >&5
14277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14278 if test "${ac_cv_prog_ac_ct_GCJ+set}" = set; then
14279 echo $ECHO_N "(cached) $ECHO_C" >&6
14281 if test -n "$ac_ct_GCJ"; then
14282 ac_cv_prog_ac_ct_GCJ
="$ac_ct_GCJ" # Let the user override the test.
14284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14285 for as_dir
in $PATH
14288 test -z "$as_dir" && as_dir
=.
14289 for ac_exec_ext
in '' $ac_executable_extensions; do
14290 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14291 ac_cv_prog_ac_ct_GCJ
="gcj"
14292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14298 test -z "$ac_cv_prog_ac_ct_GCJ" && ac_cv_prog_ac_ct_GCJ
="no"
14301 ac_ct_GCJ
=$ac_cv_prog_ac_ct_GCJ
14302 if test -n "$ac_ct_GCJ"; then
14303 echo "$as_me:$LINENO: result: $ac_ct_GCJ" >&5
14304 echo "${ECHO_T}$ac_ct_GCJ" >&6
14306 echo "$as_me:$LINENO: result: no" >&5
14307 echo "${ECHO_T}no" >&6
14312 GCJ
="$ac_cv_prog_GCJ"
14315 test "x${GCJFLAGS+set}" = xset || GCJFLAGS
="-g -O2"
14321 rm -f gnu
/classpath
/Configuration.java
14323 CPPFLAGS
=$GCJ_SAVE_CPPFLAGS
14325 echo "$as_me:$LINENO: checking for void *" >&5
14326 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14327 if test "${ac_cv_type_void_p+set}" = set; then
14328 echo $ECHO_N "(cached) $ECHO_C" >&6
14330 cat >conftest.
$ac_ext <<_ACEOF
14333 cat confdefs.h
>>conftest.
$ac_ext
14334 cat >>conftest.
$ac_ext <<_ACEOF
14335 /* end confdefs.h. */
14336 $ac_includes_default
14342 if (sizeof (void *))
14348 rm -f conftest.
$ac_objext
14349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14350 (eval $ac_compile) 2>conftest.er1
14352 grep -v '^ *+' conftest.er1
>conftest.err
14354 cat conftest.err
>&5
14355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14356 (exit $ac_status); } &&
14357 { ac_try
='test -z "$ac_c_werror_flag"
14358 || test ! -s conftest.err'
14359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14360 (eval $ac_try) 2>&5
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); }; } &&
14364 { ac_try
='test -s conftest.$ac_objext'
14365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14366 (eval $ac_try) 2>&5
14368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14369 (exit $ac_status); }; }; then
14370 ac_cv_type_void_p
=yes
14372 echo "$as_me: failed program was:" >&5
14373 sed 's/^/| /' conftest.
$ac_ext >&5
14375 ac_cv_type_void_p
=no
14377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14379 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14380 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14382 echo "$as_me:$LINENO: checking size of void *" >&5
14383 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14384 if test "${ac_cv_sizeof_void_p+set}" = set; then
14385 echo $ECHO_N "(cached) $ECHO_C" >&6
14387 if test "$ac_cv_type_void_p" = yes; then
14388 # The cast to unsigned long works around a bug in the HP C Compiler
14389 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14390 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14391 # This bug is HP SR number 8606223364.
14392 if test "$cross_compiling" = yes; then
14393 # Depending upon the size, compute the lo and hi bounds.
14394 cat >conftest.
$ac_ext <<_ACEOF
14397 cat confdefs.h
>>conftest.
$ac_ext
14398 cat >>conftest.
$ac_ext <<_ACEOF
14399 /* end confdefs.h. */
14400 $ac_includes_default
14404 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14411 rm -f conftest.
$ac_objext
14412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14413 (eval $ac_compile) 2>conftest.er1
14415 grep -v '^ *+' conftest.er1
>conftest.err
14417 cat conftest.err
>&5
14418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14419 (exit $ac_status); } &&
14420 { ac_try
='test -z "$ac_c_werror_flag"
14421 || test ! -s conftest.err'
14422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14423 (eval $ac_try) 2>&5
14425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14426 (exit $ac_status); }; } &&
14427 { ac_try
='test -s conftest.$ac_objext'
14428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14429 (eval $ac_try) 2>&5
14431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14432 (exit $ac_status); }; }; then
14435 cat >conftest.
$ac_ext <<_ACEOF
14438 cat confdefs.h
>>conftest.
$ac_ext
14439 cat >>conftest.
$ac_ext <<_ACEOF
14440 /* end confdefs.h. */
14441 $ac_includes_default
14445 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14452 rm -f conftest.
$ac_objext
14453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14454 (eval $ac_compile) 2>conftest.er1
14456 grep -v '^ *+' conftest.er1
>conftest.err
14458 cat conftest.err
>&5
14459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14460 (exit $ac_status); } &&
14461 { ac_try
='test -z "$ac_c_werror_flag"
14462 || test ! -s conftest.err'
14463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14464 (eval $ac_try) 2>&5
14466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467 (exit $ac_status); }; } &&
14468 { ac_try
='test -s conftest.$ac_objext'
14469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14470 (eval $ac_try) 2>&5
14472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473 (exit $ac_status); }; }; then
14474 ac_hi
=$ac_mid; break
14476 echo "$as_me: failed program was:" >&5
14477 sed 's/^/| /' conftest.
$ac_ext >&5
14479 ac_lo
=`expr $ac_mid + 1`
14480 if test $ac_lo -le $ac_mid; then
14484 ac_mid
=`expr 2 '*' $ac_mid + 1`
14486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14489 echo "$as_me: failed program was:" >&5
14490 sed 's/^/| /' conftest.
$ac_ext >&5
14492 cat >conftest.
$ac_ext <<_ACEOF
14495 cat confdefs.h
>>conftest.
$ac_ext
14496 cat >>conftest.
$ac_ext <<_ACEOF
14497 /* end confdefs.h. */
14498 $ac_includes_default
14502 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14509 rm -f conftest.
$ac_objext
14510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14511 (eval $ac_compile) 2>conftest.er1
14513 grep -v '^ *+' conftest.er1
>conftest.err
14515 cat conftest.err
>&5
14516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517 (exit $ac_status); } &&
14518 { ac_try
='test -z "$ac_c_werror_flag"
14519 || test ! -s conftest.err'
14520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14521 (eval $ac_try) 2>&5
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14524 (exit $ac_status); }; } &&
14525 { ac_try
='test -s conftest.$ac_objext'
14526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14527 (eval $ac_try) 2>&5
14529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14530 (exit $ac_status); }; }; then
14533 cat >conftest.
$ac_ext <<_ACEOF
14536 cat confdefs.h
>>conftest.
$ac_ext
14537 cat >>conftest.
$ac_ext <<_ACEOF
14538 /* end confdefs.h. */
14539 $ac_includes_default
14543 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14550 rm -f conftest.
$ac_objext
14551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14552 (eval $ac_compile) 2>conftest.er1
14554 grep -v '^ *+' conftest.er1
>conftest.err
14556 cat conftest.err
>&5
14557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14558 (exit $ac_status); } &&
14559 { ac_try
='test -z "$ac_c_werror_flag"
14560 || test ! -s conftest.err'
14561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14562 (eval $ac_try) 2>&5
14564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14565 (exit $ac_status); }; } &&
14566 { ac_try
='test -s conftest.$ac_objext'
14567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14568 (eval $ac_try) 2>&5
14570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14571 (exit $ac_status); }; }; then
14572 ac_lo
=$ac_mid; break
14574 echo "$as_me: failed program was:" >&5
14575 sed 's/^/| /' conftest.
$ac_ext >&5
14577 ac_hi
=`expr '(' $ac_mid ')' - 1`
14578 if test $ac_mid -le $ac_hi; then
14582 ac_mid
=`expr 2 '*' $ac_mid`
14584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14587 echo "$as_me: failed program was:" >&5
14588 sed 's/^/| /' conftest.
$ac_ext >&5
14592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14595 # Binary search between lo and hi bounds.
14596 while test "x$ac_lo" != "x$ac_hi"; do
14597 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14598 cat >conftest.
$ac_ext <<_ACEOF
14601 cat confdefs.h
>>conftest.
$ac_ext
14602 cat >>conftest.
$ac_ext <<_ACEOF
14603 /* end confdefs.h. */
14604 $ac_includes_default
14608 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14615 rm -f conftest.
$ac_objext
14616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14617 (eval $ac_compile) 2>conftest.er1
14619 grep -v '^ *+' conftest.er1
>conftest.err
14621 cat conftest.err
>&5
14622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14623 (exit $ac_status); } &&
14624 { ac_try
='test -z "$ac_c_werror_flag"
14625 || test ! -s conftest.err'
14626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14627 (eval $ac_try) 2>&5
14629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630 (exit $ac_status); }; } &&
14631 { ac_try
='test -s conftest.$ac_objext'
14632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14633 (eval $ac_try) 2>&5
14635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14636 (exit $ac_status); }; }; then
14639 echo "$as_me: failed program was:" >&5
14640 sed 's/^/| /' conftest.
$ac_ext >&5
14642 ac_lo
=`expr '(' $ac_mid ')' + 1`
14644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14647 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14648 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14649 See \`config.log' for more details." >&5
14650 echo "$as_me: error: cannot compute sizeof (void *), 77
14651 See \`config.log' for more details." >&2;}
14652 { (exit 1); exit 1; }; } ;;
14655 if test "$cross_compiling" = yes; then
14656 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14657 See \`config.log' for more details." >&5
14658 echo "$as_me: error: cannot run test program while cross compiling
14659 See \`config.log' for more details." >&2;}
14660 { (exit 1); exit 1; }; }
14662 cat >conftest.
$ac_ext <<_ACEOF
14665 cat confdefs.h
>>conftest.
$ac_ext
14666 cat >>conftest.
$ac_ext <<_ACEOF
14667 /* end confdefs.h. */
14668 $ac_includes_default
14669 long longval () { return (long) (sizeof (void *)); }
14670 unsigned long ulongval () { return (long) (sizeof (void *)); }
14672 #include <stdlib.h>
14677 FILE *f = fopen ("conftest.val", "w");
14680 if (((long) (sizeof (void *))) < 0)
14682 long i = longval ();
14683 if (i != ((long) (sizeof (void *))))
14685 fprintf (f, "%ld\n", i);
14689 unsigned long i = ulongval ();
14690 if (i != ((long) (sizeof (void *))))
14692 fprintf (f, "%lu\n", i);
14694 exit (ferror (f) || fclose (f) != 0);
14700 rm -f conftest
$ac_exeext
14701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14702 (eval $ac_link) 2>&5
14704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14707 (eval $ac_try) 2>&5
14709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14710 (exit $ac_status); }; }; then
14711 ac_cv_sizeof_void_p
=`cat conftest.val`
14713 echo "$as_me: program exited with status $ac_status" >&5
14714 echo "$as_me: failed program was:" >&5
14715 sed 's/^/| /' conftest.
$ac_ext >&5
14717 ( exit $ac_status )
14718 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14719 See \`config.log' for more details." >&5
14720 echo "$as_me: error: cannot compute sizeof (void *), 77
14721 See \`config.log' for more details." >&2;}
14722 { (exit 1); exit 1; }; }
14724 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14729 ac_cv_sizeof_void_p
=0
14732 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14733 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14734 cat >>confdefs.h
<<_ACEOF
14735 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14740 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
14741 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
14742 if test "${ac_cv_c_bigendian+set}" = set; then
14743 echo $ECHO_N "(cached) $ECHO_C" >&6
14745 # See if sys/param.h defines the BYTE_ORDER macro.
14746 cat >conftest.
$ac_ext <<_ACEOF
14749 cat confdefs.h
>>conftest.
$ac_ext
14750 cat >>conftest.
$ac_ext <<_ACEOF
14751 /* end confdefs.h. */
14752 #include <sys/types.h>
14753 #include <sys/param.h>
14758 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
14759 bogus endian macros
14766 rm -f conftest.
$ac_objext
14767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14768 (eval $ac_compile) 2>conftest.er1
14770 grep -v '^ *+' conftest.er1
>conftest.err
14772 cat conftest.err
>&5
14773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); } &&
14775 { ac_try
='test -z "$ac_c_werror_flag"
14776 || test ! -s conftest.err'
14777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14778 (eval $ac_try) 2>&5
14780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14781 (exit $ac_status); }; } &&
14782 { ac_try
='test -s conftest.$ac_objext'
14783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14784 (eval $ac_try) 2>&5
14786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14787 (exit $ac_status); }; }; then
14788 # It does; now see whether it defined to BIG_ENDIAN or not.
14789 cat >conftest.
$ac_ext <<_ACEOF
14792 cat confdefs.h
>>conftest.
$ac_ext
14793 cat >>conftest.
$ac_ext <<_ACEOF
14794 /* end confdefs.h. */
14795 #include <sys/types.h>
14796 #include <sys/param.h>
14801 #if BYTE_ORDER != BIG_ENDIAN
14809 rm -f conftest.
$ac_objext
14810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14811 (eval $ac_compile) 2>conftest.er1
14813 grep -v '^ *+' conftest.er1
>conftest.err
14815 cat conftest.err
>&5
14816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14817 (exit $ac_status); } &&
14818 { ac_try
='test -z "$ac_c_werror_flag"
14819 || test ! -s conftest.err'
14820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14821 (eval $ac_try) 2>&5
14823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824 (exit $ac_status); }; } &&
14825 { ac_try
='test -s conftest.$ac_objext'
14826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14827 (eval $ac_try) 2>&5
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); }; }; then
14831 ac_cv_c_bigendian
=yes
14833 echo "$as_me: failed program was:" >&5
14834 sed 's/^/| /' conftest.
$ac_ext >&5
14836 ac_cv_c_bigendian
=no
14838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14840 echo "$as_me: failed program was:" >&5
14841 sed 's/^/| /' conftest.
$ac_ext >&5
14843 # It does not; compile a test program.
14844 if test "$cross_compiling" = yes; then
14845 # try to guess the endianness by grepping values into an object file
14846 ac_cv_c_bigendian
=unknown
14847 cat >conftest.
$ac_ext <<_ACEOF
14850 cat confdefs.h
>>conftest.
$ac_ext
14851 cat >>conftest.
$ac_ext <<_ACEOF
14852 /* end confdefs.h. */
14853 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14854 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14855 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
14856 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14857 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14858 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
14862 _ascii (); _ebcdic ();
14867 rm -f conftest.
$ac_objext
14868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14869 (eval $ac_compile) 2>conftest.er1
14871 grep -v '^ *+' conftest.er1
>conftest.err
14873 cat conftest.err
>&5
14874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14875 (exit $ac_status); } &&
14876 { ac_try
='test -z "$ac_c_werror_flag"
14877 || test ! -s conftest.err'
14878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14879 (eval $ac_try) 2>&5
14881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14882 (exit $ac_status); }; } &&
14883 { ac_try
='test -s conftest.$ac_objext'
14884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14885 (eval $ac_try) 2>&5
14887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14888 (exit $ac_status); }; }; then
14889 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
14890 ac_cv_c_bigendian
=yes
14892 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
14893 if test "$ac_cv_c_bigendian" = unknown
; then
14894 ac_cv_c_bigendian
=no
14896 # finding both strings is unlikely to happen, but who knows?
14897 ac_cv_c_bigendian
=unknown
14901 echo "$as_me: failed program was:" >&5
14902 sed 's/^/| /' conftest.
$ac_ext >&5
14905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14907 cat >conftest.
$ac_ext <<_ACEOF
14910 cat confdefs.h
>>conftest.
$ac_ext
14911 cat >>conftest.
$ac_ext <<_ACEOF
14912 /* end confdefs.h. */
14916 /* Are we little or big endian? From Harbison&Steele. */
14920 char c[sizeof (long)];
14923 exit (u.c[sizeof (long) - 1] == 1);
14926 rm -f conftest
$ac_exeext
14927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14928 (eval $ac_link) 2>&5
14930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14931 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14933 (eval $ac_try) 2>&5
14935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14936 (exit $ac_status); }; }; then
14937 ac_cv_c_bigendian
=no
14939 echo "$as_me: program exited with status $ac_status" >&5
14940 echo "$as_me: failed program was:" >&5
14941 sed 's/^/| /' conftest.
$ac_ext >&5
14943 ( exit $ac_status )
14944 ac_cv_c_bigendian
=yes
14946 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14951 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
14952 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
14953 case $ac_cv_c_bigendian in
14956 cat >>confdefs.h
<<\_ACEOF
14957 #define WORDS_BIGENDIAN 1
14963 { { echo "$as_me:$LINENO: error: unknown endianness
14964 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
14965 echo "$as_me: error: unknown endianness
14966 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
14967 { (exit 1); exit 1; }; } ;;
14975 if test -z "$ZLIBSPEC"; then
14976 # Use zlib from the GCC tree.
14977 ZINCS
='-I$(top_srcdir)/../zlib'
14978 ZLIBS
=..
/zlib
/libzgcj_convenience.la
14981 SYS_ZLIBS
="$ZLIBSPEC"
14994 if test "$NATIVE" = yes; then
15004 if test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes; then
15005 NEEDS_DATA_START_TRUE
=
15006 NEEDS_DATA_START_FALSE
='#'
15008 NEEDS_DATA_START_TRUE
='#'
15009 NEEDS_DATA_START_FALSE
=
15014 # Process the option "--enable-version-specific-runtime-libs"
15015 # Calculate toolexeclibdir
15016 case ${version_specific_libs} in
15018 # Need the gcc compiler version to know where to install libraries
15019 # and header files if --enable-version-specific-runtime-libs option
15021 includedir
='$(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/include/'
15022 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
15023 toolexecmainlibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
15024 toolexeclibdir
=$toolexecmainlibdir
15027 if test -n "$with_cross_host" &&
15028 test x
"$with_cross_host" != x
"no"; then
15029 # Install a library built with a cross compiler in tooldir, not libdir.
15030 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
15031 toolexecmainlibdir
='$(toolexecdir)/lib'
15033 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
15034 toolexecmainlibdir
='$(libdir)'
15036 multi_os_directory
=`$CC -print-multi-os-directory`
15037 case $multi_os_directory in
15038 .
) toolexeclibdir
=$toolexecmainlibdir ;; # Avoid trailing /.
15039 *) toolexeclibdir
=$toolexecmainlibdir/$multi_os_directory ;;
15047 # Determine where the standard .db file and GNU Classpath JNI
15048 # libraries are found.
15049 multi_os_directory
=`$CC -print-multi-os-directory`
15050 case $multi_os_directory in
15052 dbexecdir
='$(libdir)/gcj-$(gcc_version)' # Avoid /.
15055 dbexecdir
='$(libdir)/'$multi_os_directory'/gcj-$(gcc_version)'
15060 # Determine gcj version number.
15061 gcjversion
=`$GCJ -v 2>&1 | sed -n 's/^.*version \([^ ]*\).*$/\1/p'`
15062 GCJVERSION
=$gcjversion
15065 cat >>confdefs.h
<<_ACEOF
15066 #define GCJVERSION "$GCJVERSION"
15071 cat >>confdefs.h
<<\_ACEOF
15072 #define JV_VERSION "1.4.2"
15076 cat >>confdefs.h
<<\_ACEOF
15077 #define JV_API_VERSION "1.4"
15082 case "${with_gxx_include_dir}" in
15084 { { echo "$as_me:$LINENO: error: --with-gxx-include-dir=[dir] requires a directory" >&5
15085 echo "$as_me: error: --with-gxx-include-dir=[dir] requires a directory" >&2;}
15086 { (exit 1); exit 1; }; }
15089 case "${enable_version_specific_runtime_libs}" in
15090 yes) gxx_include_dir
='$(libsubdir)/include/c++' ;;
15092 libstdcxx_incdir
='c++/$(gcc_version)'
15093 gxx_include_dir
='include/$(libstdcxx_incdir)'
15094 if test -n "$with_cross_host" &&
15095 test x
"$with_cross_host" != x
"no"; then
15096 gxx_include_dir
='${prefix}/${target_alias}/'"$gxx_include_dir"
15098 gxx_include_dir
='${prefix}/'"$gxx_include_dir"
15101 *) gxx_include_dir
=${with_gxx_include_dir} ;;
15107 # We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
15108 # On that system, sys/ioctl.h will not include sys/filio.h unless
15109 # BSD_COMP is defined; just including sys/filio.h is simpler.
15110 # We avoid AC_HEADER_DIRENT since we really only care about dirent.h
15111 # for now. If you change this, you also must update natFile.cc.
15134 for ac_header
in unistd.h bstring.h sys
/time.h sys
/types.h fcntl.h \
15135 sys
/ioctl.h sys
/filio.h sys
/stat.h sys
/select.h \
15136 sys
/socket.h netinet
/in.h arpa
/inet.h netdb.h net
/if.h \
15137 pwd.h sys
/config.h stdint.h langinfo.h locale.h \
15138 dirent.h sys
/rw_lock.h ifaddrs.h
15140 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15141 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15142 echo "$as_me:$LINENO: checking for $ac_header" >&5
15143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15145 echo $ECHO_N "(cached) $ECHO_C" >&6
15147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15148 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15150 # Is the header compilable?
15151 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15152 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15153 cat >conftest.
$ac_ext <<_ACEOF
15156 cat confdefs.h
>>conftest.
$ac_ext
15157 cat >>conftest.
$ac_ext <<_ACEOF
15158 /* end confdefs.h. */
15159 $ac_includes_default
15160 #include <$ac_header>
15162 rm -f conftest.
$ac_objext
15163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15164 (eval $ac_compile) 2>conftest.er1
15166 grep -v '^ *+' conftest.er1
>conftest.err
15168 cat conftest.err
>&5
15169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15170 (exit $ac_status); } &&
15171 { ac_try
='test -z "$ac_c_werror_flag"
15172 || test ! -s conftest.err'
15173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15174 (eval $ac_try) 2>&5
15176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15177 (exit $ac_status); }; } &&
15178 { ac_try
='test -s conftest.$ac_objext'
15179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15180 (eval $ac_try) 2>&5
15182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15183 (exit $ac_status); }; }; then
15184 ac_header_compiler
=yes
15186 echo "$as_me: failed program was:" >&5
15187 sed 's/^/| /' conftest.
$ac_ext >&5
15189 ac_header_compiler
=no
15191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15192 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15193 echo "${ECHO_T}$ac_header_compiler" >&6
15195 # Is the header present?
15196 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15197 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15198 cat >conftest.
$ac_ext <<_ACEOF
15201 cat confdefs.h
>>conftest.
$ac_ext
15202 cat >>conftest.
$ac_ext <<_ACEOF
15203 /* end confdefs.h. */
15204 #include <$ac_header>
15206 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15207 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15209 grep -v '^ *+' conftest.er1
>conftest.err
15211 cat conftest.err
>&5
15212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15213 (exit $ac_status); } >/dev
/null
; then
15214 if test -s conftest.err
; then
15215 ac_cpp_err
=$ac_c_preproc_warn_flag
15216 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15223 if test -z "$ac_cpp_err"; then
15224 ac_header_preproc
=yes
15226 echo "$as_me: failed program was:" >&5
15227 sed 's/^/| /' conftest.
$ac_ext >&5
15229 ac_header_preproc
=no
15231 rm -f conftest.err conftest.
$ac_ext
15232 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15233 echo "${ECHO_T}$ac_header_preproc" >&6
15235 # So? What about this header?
15236 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15238 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15239 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15240 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15241 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15242 ac_header_preproc
=yes
15245 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15246 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15247 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15248 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15249 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15250 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15251 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15252 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15253 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15254 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15255 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15256 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15259 ## ---------------------------------- ##
15260 ## Report this to the libjava lists. ##
15261 ## ---------------------------------- ##
15264 sed "s/^/$as_me: WARNING: /" >&2
15267 echo "$as_me:$LINENO: checking for $ac_header" >&5
15268 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15269 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15270 echo $ECHO_N "(cached) $ECHO_C" >&6
15272 eval "$as_ac_Header=\$ac_header_preproc"
15274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15275 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15279 cat >>confdefs.h
<<_ACEOF
15280 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15288 for ac_header
in inttypes.h
15290 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15292 echo "$as_me:$LINENO: checking for $ac_header" >&5
15293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15295 echo $ECHO_N "(cached) $ECHO_C" >&6
15297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15298 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15300 # Is the header compilable?
15301 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15302 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15303 cat >conftest.
$ac_ext <<_ACEOF
15306 cat confdefs.h
>>conftest.
$ac_ext
15307 cat >>conftest.
$ac_ext <<_ACEOF
15308 /* end confdefs.h. */
15309 $ac_includes_default
15310 #include <$ac_header>
15312 rm -f conftest.
$ac_objext
15313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15314 (eval $ac_compile) 2>conftest.er1
15316 grep -v '^ *+' conftest.er1
>conftest.err
15318 cat conftest.err
>&5
15319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); } &&
15321 { ac_try
='test -z "$ac_c_werror_flag"
15322 || test ! -s conftest.err'
15323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15324 (eval $ac_try) 2>&5
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); }; } &&
15328 { ac_try
='test -s conftest.$ac_objext'
15329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15330 (eval $ac_try) 2>&5
15332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15333 (exit $ac_status); }; }; then
15334 ac_header_compiler
=yes
15336 echo "$as_me: failed program was:" >&5
15337 sed 's/^/| /' conftest.
$ac_ext >&5
15339 ac_header_compiler
=no
15341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15342 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15343 echo "${ECHO_T}$ac_header_compiler" >&6
15345 # Is the header present?
15346 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15347 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15348 cat >conftest.
$ac_ext <<_ACEOF
15351 cat confdefs.h
>>conftest.
$ac_ext
15352 cat >>conftest.
$ac_ext <<_ACEOF
15353 /* end confdefs.h. */
15354 #include <$ac_header>
15356 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15357 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15359 grep -v '^ *+' conftest.er1
>conftest.err
15361 cat conftest.err
>&5
15362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15363 (exit $ac_status); } >/dev
/null
; then
15364 if test -s conftest.err
; then
15365 ac_cpp_err
=$ac_c_preproc_warn_flag
15366 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15373 if test -z "$ac_cpp_err"; then
15374 ac_header_preproc
=yes
15376 echo "$as_me: failed program was:" >&5
15377 sed 's/^/| /' conftest.
$ac_ext >&5
15379 ac_header_preproc
=no
15381 rm -f conftest.err conftest.
$ac_ext
15382 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15383 echo "${ECHO_T}$ac_header_preproc" >&6
15385 # So? What about this header?
15386 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15388 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15389 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15390 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15391 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15392 ac_header_preproc
=yes
15395 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15396 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15397 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15398 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15399 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15400 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15401 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15402 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15403 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15404 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15405 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15406 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15409 ## ---------------------------------- ##
15410 ## Report this to the libjava lists. ##
15411 ## ---------------------------------- ##
15414 sed "s/^/$as_me: WARNING: /" >&2
15417 echo "$as_me:$LINENO: checking for $ac_header" >&5
15418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15419 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15420 echo $ECHO_N "(cached) $ECHO_C" >&6
15422 eval "$as_ac_Header=\$ac_header_preproc"
15424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15425 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15428 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15429 cat >>confdefs.h
<<_ACEOF
15430 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15434 cat >>confdefs.h
<<\_ACEOF
15435 #define HAVE_INTTYPES_H 1
15439 cat >>confdefs.h
<<\_ACEOF
15440 #define JV_HAVE_INTTYPES_H 1
15448 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
15449 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
15450 if test "${ac_cv_header_sys_wait_h+set}" = set; then
15451 echo $ECHO_N "(cached) $ECHO_C" >&6
15453 cat >conftest.
$ac_ext <<_ACEOF
15456 cat confdefs.h
>>conftest.
$ac_ext
15457 cat >>conftest.
$ac_ext <<_ACEOF
15458 /* end confdefs.h. */
15459 #include <sys/types.h>
15460 #include <sys/wait.h>
15461 #ifndef WEXITSTATUS
15462 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
15465 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
15473 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
15478 rm -f conftest.
$ac_objext
15479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15480 (eval $ac_compile) 2>conftest.er1
15482 grep -v '^ *+' conftest.er1
>conftest.err
15484 cat conftest.err
>&5
15485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15486 (exit $ac_status); } &&
15487 { ac_try
='test -z "$ac_c_werror_flag"
15488 || test ! -s conftest.err'
15489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15490 (eval $ac_try) 2>&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); }; } &&
15494 { ac_try
='test -s conftest.$ac_objext'
15495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15496 (eval $ac_try) 2>&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); }; }; then
15500 ac_cv_header_sys_wait_h
=yes
15502 echo "$as_me: failed program was:" >&5
15503 sed 's/^/| /' conftest.
$ac_ext >&5
15505 ac_cv_header_sys_wait_h
=no
15507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15509 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
15510 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
15511 if test $ac_cv_header_sys_wait_h = yes; then
15513 cat >>confdefs.h
<<\_ACEOF
15514 #define HAVE_SYS_WAIT_H 1
15520 echo "$as_me:$LINENO: checking for ssize_t" >&5
15521 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
15522 if test "${ac_cv_type_ssize_t+set}" = set; then
15523 echo $ECHO_N "(cached) $ECHO_C" >&6
15525 cat >conftest.
$ac_ext <<_ACEOF
15528 cat confdefs.h
>>conftest.
$ac_ext
15529 cat >>conftest.
$ac_ext <<_ACEOF
15530 /* end confdefs.h. */
15531 $ac_includes_default
15537 if (sizeof (ssize_t))
15543 rm -f conftest.
$ac_objext
15544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15545 (eval $ac_compile) 2>conftest.er1
15547 grep -v '^ *+' conftest.er1
>conftest.err
15549 cat conftest.err
>&5
15550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15551 (exit $ac_status); } &&
15552 { ac_try
='test -z "$ac_c_werror_flag"
15553 || test ! -s conftest.err'
15554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15555 (eval $ac_try) 2>&5
15557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15558 (exit $ac_status); }; } &&
15559 { ac_try
='test -s conftest.$ac_objext'
15560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15561 (eval $ac_try) 2>&5
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); }; }; then
15565 ac_cv_type_ssize_t
=yes
15567 echo "$as_me: failed program was:" >&5
15568 sed 's/^/| /' conftest.
$ac_ext >&5
15570 ac_cv_type_ssize_t
=no
15572 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15574 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
15575 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
15576 if test $ac_cv_type_ssize_t = yes; then
15580 cat >>confdefs.h
<<_ACEOF
15581 #define ssize_t int
15587 echo "$as_me:$LINENO: checking for in_addr_t" >&5
15588 echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6
15589 cat >conftest.
$ac_ext <<_ACEOF
15592 cat confdefs.h
>>conftest.
$ac_ext
15593 cat >>conftest.
$ac_ext <<_ACEOF
15594 /* end confdefs.h. */
15595 #include <sys/types.h>
15597 #include <stdlib.h>
15598 #include <stddef.h>
15600 #if HAVE_NETINET_IN_H
15601 #include <netinet/in.h>
15611 rm -f conftest.
$ac_objext
15612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15613 (eval $ac_compile) 2>conftest.er1
15615 grep -v '^ *+' conftest.er1
>conftest.err
15617 cat conftest.err
>&5
15618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15619 (exit $ac_status); } &&
15620 { ac_try
='test -z "$ac_c_werror_flag"
15621 || test ! -s conftest.err'
15622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15623 (eval $ac_try) 2>&5
15625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15626 (exit $ac_status); }; } &&
15627 { ac_try
='test -s conftest.$ac_objext'
15628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15629 (eval $ac_try) 2>&5
15631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15632 (exit $ac_status); }; }; then
15634 cat >>confdefs.h
<<\_ACEOF
15635 #define HAVE_IN_ADDR_T 1
15638 echo "$as_me:$LINENO: result: yes" >&5
15639 echo "${ECHO_T}yes" >&6
15641 echo "$as_me: failed program was:" >&5
15642 sed 's/^/| /' conftest.
$ac_ext >&5
15644 echo "$as_me:$LINENO: result: no" >&5
15645 echo "${ECHO_T}no" >&6
15647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15649 echo "$as_me:$LINENO: checking whether struct ip_mreq is in netinet/in.h" >&5
15650 echo $ECHO_N "checking whether struct ip_mreq is in netinet/in.h... $ECHO_C" >&6
15651 cat >conftest.
$ac_ext <<_ACEOF
15654 cat confdefs.h
>>conftest.
$ac_ext
15655 cat >>conftest.
$ac_ext <<_ACEOF
15656 /* end confdefs.h. */
15657 #include <netinet/in.h>
15661 struct ip_mreq mreq;
15666 rm -f conftest.
$ac_objext
15667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15668 (eval $ac_compile) 2>conftest.er1
15670 grep -v '^ *+' conftest.er1
>conftest.err
15672 cat conftest.err
>&5
15673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15674 (exit $ac_status); } &&
15675 { ac_try
='test -z "$ac_c_werror_flag"
15676 || 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
15689 cat >>confdefs.h
<<\_ACEOF
15690 #define HAVE_STRUCT_IP_MREQ 1
15693 echo "$as_me:$LINENO: result: yes" >&5
15694 echo "${ECHO_T}yes" >&6
15696 echo "$as_me: failed program was:" >&5
15697 sed 's/^/| /' conftest.
$ac_ext >&5
15699 echo "$as_me:$LINENO: result: no" >&5
15700 echo "${ECHO_T}no" >&6
15702 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15704 echo "$as_me:$LINENO: checking whether struct ipv6_mreq is in netinet/in.h" >&5
15705 echo $ECHO_N "checking whether struct ipv6_mreq is in netinet/in.h... $ECHO_C" >&6
15706 cat >conftest.
$ac_ext <<_ACEOF
15709 cat confdefs.h
>>conftest.
$ac_ext
15710 cat >>conftest.
$ac_ext <<_ACEOF
15711 /* end confdefs.h. */
15712 #include <netinet/in.h>
15716 struct ipv6_mreq mreq6;
15721 rm -f conftest.
$ac_objext
15722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15723 (eval $ac_compile) 2>conftest.er1
15725 grep -v '^ *+' conftest.er1
>conftest.err
15727 cat conftest.err
>&5
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); } &&
15730 { ac_try
='test -z "$ac_c_werror_flag"
15731 || test ! -s conftest.err'
15732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15733 (eval $ac_try) 2>&5
15735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15736 (exit $ac_status); }; } &&
15737 { ac_try
='test -s conftest.$ac_objext'
15738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15739 (eval $ac_try) 2>&5
15741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15742 (exit $ac_status); }; }; then
15744 cat >>confdefs.h
<<\_ACEOF
15745 #define HAVE_STRUCT_IPV6_MREQ 1
15748 echo "$as_me:$LINENO: result: yes" >&5
15749 echo "${ECHO_T}yes" >&6
15751 echo "$as_me: failed program was:" >&5
15752 sed 's/^/| /' conftest.
$ac_ext >&5
15754 echo "$as_me:$LINENO: result: no" >&5
15755 echo "${ECHO_T}no" >&6
15757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15759 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
15760 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
15761 cat >conftest.
$ac_ext <<_ACEOF
15764 cat confdefs.h
>>conftest.
$ac_ext
15765 cat >>conftest.
$ac_ext <<_ACEOF
15766 /* end confdefs.h. */
15767 #include <netinet/in.h>
15771 struct sockaddr_in6 addr6;
15776 rm -f conftest.
$ac_objext
15777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15778 (eval $ac_compile) 2>conftest.er1
15780 grep -v '^ *+' conftest.er1
>conftest.err
15782 cat conftest.err
>&5
15783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15784 (exit $ac_status); } &&
15785 { ac_try
='test -z "$ac_c_werror_flag"
15786 || test ! -s conftest.err'
15787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15788 (eval $ac_try) 2>&5
15790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15791 (exit $ac_status); }; } &&
15792 { ac_try
='test -s conftest.$ac_objext'
15793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15794 (eval $ac_try) 2>&5
15796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797 (exit $ac_status); }; }; then
15799 cat >>confdefs.h
<<\_ACEOF
15800 #define HAVE_INET6 1
15803 echo "$as_me:$LINENO: result: yes" >&5
15804 echo "${ECHO_T}yes" >&6
15806 echo "$as_me: failed program was:" >&5
15807 sed 's/^/| /' conftest.
$ac_ext >&5
15809 echo "$as_me:$LINENO: result: no" >&5
15810 echo "${ECHO_T}no" >&6
15812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15814 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
15815 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
15816 cat >conftest.
$ac_ext <<_ACEOF
15819 cat confdefs.h
>>conftest.
$ac_ext
15820 cat >>conftest.
$ac_ext <<_ACEOF
15821 /* end confdefs.h. */
15822 #define _POSIX_PII_SOCKET
15823 #include <sys/types.h>
15824 #include <sys/socket.h>
15833 rm -f conftest.
$ac_objext
15834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15835 (eval $ac_compile) 2>conftest.er1
15837 grep -v '^ *+' conftest.er1
>conftest.err
15839 cat conftest.err
>&5
15840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15841 (exit $ac_status); } &&
15842 { ac_try
='test -z "$ac_c_werror_flag"
15843 || test ! -s conftest.err'
15844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15845 (eval $ac_try) 2>&5
15847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15848 (exit $ac_status); }; } &&
15849 { ac_try
='test -s conftest.$ac_objext'
15850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15851 (eval $ac_try) 2>&5
15853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15854 (exit $ac_status); }; }; then
15856 cat >>confdefs.h
<<\_ACEOF
15857 #define HAVE_SOCKLEN_T 1
15860 echo "$as_me:$LINENO: result: yes" >&5
15861 echo "${ECHO_T}yes" >&6
15863 echo "$as_me: failed program was:" >&5
15864 sed 's/^/| /' conftest.
$ac_ext >&5
15866 echo "$as_me:$LINENO: result: no" >&5
15867 echo "${ECHO_T}no" >&6
15869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15871 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
15872 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
15873 cat >conftest.
$ac_ext <<_ACEOF
15876 cat confdefs.h
>>conftest.
$ac_ext
15877 cat >>conftest.
$ac_ext <<_ACEOF
15878 /* end confdefs.h. */
15883 struct tm tim; tim.tm_gmtoff = 0;
15888 rm -f conftest.
$ac_objext
15889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15890 (eval $ac_compile) 2>conftest.er1
15892 grep -v '^ *+' conftest.er1
>conftest.err
15894 cat conftest.err
>&5
15895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15896 (exit $ac_status); } &&
15897 { ac_try
='test -z "$ac_c_werror_flag"
15898 || test ! -s conftest.err'
15899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15900 (eval $ac_try) 2>&5
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); }; } &&
15904 { ac_try
='test -s conftest.$ac_objext'
15905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15906 (eval $ac_try) 2>&5
15908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15909 (exit $ac_status); }; }; then
15911 cat >>confdefs.h
<<\_ACEOF
15912 #define STRUCT_TM_HAS_GMTOFF 1
15915 echo "$as_me:$LINENO: result: yes" >&5
15916 echo "${ECHO_T}yes" >&6
15918 echo "$as_me: failed program was:" >&5
15919 sed 's/^/| /' conftest.
$ac_ext >&5
15921 echo "$as_me:$LINENO: result: no" >&5
15922 echo "${ECHO_T}no" >&6
15923 echo "$as_me:$LINENO: checking for global timezone variable" >&5
15924 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
15925 cat >conftest.
$ac_ext <<_ACEOF
15928 cat confdefs.h
>>conftest.
$ac_ext
15929 cat >>conftest.
$ac_ext <<_ACEOF
15930 /* end confdefs.h. */
15935 void i(){long z2 = 2*timezone;}
15940 rm -f conftest.
$ac_objext
15941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15942 (eval $ac_compile) 2>conftest.er1
15944 grep -v '^ *+' conftest.er1
>conftest.err
15946 cat conftest.err
>&5
15947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15948 (exit $ac_status); } &&
15949 { ac_try
='test -z "$ac_c_werror_flag"
15950 || test ! -s conftest.err'
15951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15952 (eval $ac_try) 2>&5
15954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15955 (exit $ac_status); }; } &&
15956 { ac_try
='test -s conftest.$ac_objext'
15957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15958 (eval $ac_try) 2>&5
15960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15961 (exit $ac_status); }; }; then
15963 cat >>confdefs.h
<<\_ACEOF
15964 #define HAVE_TIMEZONE 1
15967 echo "$as_me:$LINENO: result: yes" >&5
15968 echo "${ECHO_T}yes" >&6
15970 echo "$as_me: failed program was:" >&5
15971 sed 's/^/| /' conftest.
$ac_ext >&5
15973 echo "$as_me:$LINENO: result: no" >&5
15974 echo "${ECHO_T}no" >&6
15975 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
15976 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
15977 cat >conftest.
$ac_ext <<_ACEOF
15980 cat confdefs.h
>>conftest.
$ac_ext
15981 cat >>conftest.
$ac_ext <<_ACEOF
15982 /* end confdefs.h. */
15987 long z2 = _timezone;
15992 rm -f conftest.
$ac_objext
15993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15994 (eval $ac_compile) 2>conftest.er1
15996 grep -v '^ *+' conftest.er1
>conftest.err
15998 cat conftest.err
>&5
15999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16000 (exit $ac_status); } &&
16001 { ac_try
='test -z "$ac_c_werror_flag"
16002 || test ! -s conftest.err'
16003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16004 (eval $ac_try) 2>&5
16006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16007 (exit $ac_status); }; } &&
16008 { ac_try
='test -s conftest.$ac_objext'
16009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16010 (eval $ac_try) 2>&5
16012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 (exit $ac_status); }; }; then
16015 cat >>confdefs.h
<<\_ACEOF
16016 #define HAVE_UNDERSCORE_TIMEZONE 1
16019 echo "$as_me:$LINENO: result: yes" >&5
16020 echo "${ECHO_T}yes" >&6
16022 echo "$as_me: failed program was:" >&5
16023 sed 's/^/| /' conftest.
$ac_ext >&5
16025 echo "$as_me:$LINENO: result: no" >&5
16026 echo "${ECHO_T}no" >&6
16028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16034 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
16035 # for constant arguments. Useless!
16036 echo "$as_me:$LINENO: checking for working alloca.h" >&5
16037 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
16038 if test "${ac_cv_working_alloca_h+set}" = set; then
16039 echo $ECHO_N "(cached) $ECHO_C" >&6
16041 if test x
$gcc_no_link = xyes
; then
16042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16044 { (exit 1); exit 1; }; }
16046 cat >conftest.
$ac_ext <<_ACEOF
16049 cat confdefs.h
>>conftest.
$ac_ext
16050 cat >>conftest.
$ac_ext <<_ACEOF
16051 /* end confdefs.h. */
16052 #include <alloca.h>
16056 char *p = (char *) alloca (2 * sizeof (int));
16061 rm -f conftest.
$ac_objext conftest
$ac_exeext
16062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16063 (eval $ac_link) 2>conftest.er1
16065 grep -v '^ *+' conftest.er1
>conftest.err
16067 cat conftest.err
>&5
16068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069 (exit $ac_status); } &&
16070 { ac_try
='test -z "$ac_c_werror_flag"
16071 || test ! -s conftest.err'
16072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16073 (eval $ac_try) 2>&5
16075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076 (exit $ac_status); }; } &&
16077 { ac_try
='test -s conftest$ac_exeext'
16078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16079 (eval $ac_try) 2>&5
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); }; }; then
16083 ac_cv_working_alloca_h
=yes
16085 echo "$as_me: failed program was:" >&5
16086 sed 's/^/| /' conftest.
$ac_ext >&5
16088 ac_cv_working_alloca_h
=no
16090 rm -f conftest.err conftest.
$ac_objext \
16091 conftest
$ac_exeext conftest.
$ac_ext
16093 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
16094 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
16095 if test $ac_cv_working_alloca_h = yes; then
16097 cat >>confdefs.h
<<\_ACEOF
16098 #define HAVE_ALLOCA_H 1
16103 echo "$as_me:$LINENO: checking for alloca" >&5
16104 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
16105 if test "${ac_cv_func_alloca_works+set}" = set; then
16106 echo $ECHO_N "(cached) $ECHO_C" >&6
16108 if test x
$gcc_no_link = xyes
; then
16109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16111 { (exit 1); exit 1; }; }
16113 cat >conftest.
$ac_ext <<_ACEOF
16116 cat confdefs.h
>>conftest.
$ac_ext
16117 cat >>conftest.
$ac_ext <<_ACEOF
16118 /* end confdefs.h. */
16120 # define alloca __builtin_alloca
16123 # include <malloc.h>
16124 # define alloca _alloca
16127 # include <alloca.h>
16132 # ifndef alloca /* predefined by HP cc +Olibcalls */
16143 char *p = (char *) alloca (1);
16148 rm -f conftest.
$ac_objext conftest
$ac_exeext
16149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16150 (eval $ac_link) 2>conftest.er1
16152 grep -v '^ *+' conftest.er1
>conftest.err
16154 cat conftest.err
>&5
16155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16156 (exit $ac_status); } &&
16157 { ac_try
='test -z "$ac_c_werror_flag"
16158 || test ! -s conftest.err'
16159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16160 (eval $ac_try) 2>&5
16162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16163 (exit $ac_status); }; } &&
16164 { ac_try
='test -s conftest$ac_exeext'
16165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16166 (eval $ac_try) 2>&5
16168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16169 (exit $ac_status); }; }; then
16170 ac_cv_func_alloca_works
=yes
16172 echo "$as_me: failed program was:" >&5
16173 sed 's/^/| /' conftest.
$ac_ext >&5
16175 ac_cv_func_alloca_works
=no
16177 rm -f conftest.err conftest.
$ac_objext \
16178 conftest
$ac_exeext conftest.
$ac_ext
16180 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
16181 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
16183 if test $ac_cv_func_alloca_works = yes; then
16185 cat >>confdefs.h
<<\_ACEOF
16186 #define HAVE_ALLOCA 1
16190 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
16191 # that cause trouble. Some versions do not even contain alloca or
16192 # contain a buggy version. If you still want to use their alloca,
16193 # use ar to extract alloca.o from them instead of compiling alloca.c.
16195 ALLOCA
=alloca.
$ac_objext
16197 cat >>confdefs.h
<<\_ACEOF
16202 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
16203 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
16204 if test "${ac_cv_os_cray+set}" = set; then
16205 echo $ECHO_N "(cached) $ECHO_C" >&6
16207 cat >conftest.
$ac_ext <<_ACEOF
16210 cat confdefs.h
>>conftest.
$ac_ext
16211 cat >>conftest.
$ac_ext <<_ACEOF
16212 /* end confdefs.h. */
16213 #if defined(CRAY) && ! defined(CRAY2)
16220 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16221 $EGREP "webecray" >/dev
/null
2>&1; then
16229 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
16230 echo "${ECHO_T}$ac_cv_os_cray" >&6
16231 if test $ac_cv_os_cray = yes; then
16232 for ac_func
in _getb67 GETB67 getb67
; do
16233 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16234 echo "$as_me:$LINENO: checking for $ac_func" >&5
16235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16236 if eval "test \"\${$as_ac_var+set}\" = set"; then
16237 echo $ECHO_N "(cached) $ECHO_C" >&6
16239 if test x
$gcc_no_link = xyes
; then
16240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16242 { (exit 1); exit 1; }; }
16244 cat >conftest.
$ac_ext <<_ACEOF
16247 cat confdefs.h
>>conftest.
$ac_ext
16248 cat >>conftest.
$ac_ext <<_ACEOF
16249 /* end confdefs.h. */
16250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16252 #define $ac_func innocuous_$ac_func
16254 /* System header to define __stub macros and hopefully few prototypes,
16255 which can conflict with char $ac_func (); below.
16256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16257 <limits.h> exists even on freestanding compilers. */
16260 # include <limits.h>
16262 # include <assert.h>
16267 /* Override any gcc2 internal prototype to avoid an error. */
16272 /* We use char because int might match the return type of a gcc2
16273 builtin and then its argument prototype would still apply. */
16275 /* The GNU C library defines this for functions which it implements
16276 to always fail with ENOSYS. Some functions are actually named
16277 something starting with __ and the normal name is an alias. */
16278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16281 char (*f) () = $ac_func;
16290 return f != $ac_func;
16295 rm -f conftest.
$ac_objext conftest
$ac_exeext
16296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16297 (eval $ac_link) 2>conftest.er1
16299 grep -v '^ *+' conftest.er1
>conftest.err
16301 cat conftest.err
>&5
16302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16303 (exit $ac_status); } &&
16304 { ac_try
='test -z "$ac_c_werror_flag"
16305 || test ! -s conftest.err'
16306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16307 (eval $ac_try) 2>&5
16309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16310 (exit $ac_status); }; } &&
16311 { ac_try
='test -s conftest$ac_exeext'
16312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16313 (eval $ac_try) 2>&5
16315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16316 (exit $ac_status); }; }; then
16317 eval "$as_ac_var=yes"
16319 echo "$as_me: failed program was:" >&5
16320 sed 's/^/| /' conftest.
$ac_ext >&5
16322 eval "$as_ac_var=no"
16324 rm -f conftest.err conftest.
$ac_objext \
16325 conftest
$ac_exeext conftest.
$ac_ext
16327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16329 if test `eval echo '${'$as_ac_var'}'` = yes; then
16331 cat >>confdefs.h
<<_ACEOF
16332 #define CRAY_STACKSEG_END $ac_func
16341 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
16342 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
16343 if test "${ac_cv_c_stack_direction+set}" = set; then
16344 echo $ECHO_N "(cached) $ECHO_C" >&6
16346 if test "$cross_compiling" = yes; then
16347 ac_cv_c_stack_direction
=0
16349 cat >conftest.
$ac_ext <<_ACEOF
16352 cat confdefs.h
>>conftest.
$ac_ext
16353 cat >>conftest.
$ac_ext <<_ACEOF
16354 /* end confdefs.h. */
16356 find_stack_direction ()
16358 static char *addr = 0;
16363 return find_stack_direction ();
16366 return (&dummy > addr) ? 1 : -1;
16372 exit (find_stack_direction () < 0);
16375 rm -f conftest
$ac_exeext
16376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16377 (eval $ac_link) 2>&5
16379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16380 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16382 (eval $ac_try) 2>&5
16384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385 (exit $ac_status); }; }; then
16386 ac_cv_c_stack_direction
=1
16388 echo "$as_me: program exited with status $ac_status" >&5
16389 echo "$as_me: failed program was:" >&5
16390 sed 's/^/| /' conftest.
$ac_ext >&5
16392 ( exit $ac_status )
16393 ac_cv_c_stack_direction
=-1
16395 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16398 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
16399 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
16401 cat >>confdefs.h
<<_ACEOF
16402 #define STACK_DIRECTION $ac_cv_c_stack_direction
16409 for ac_prog
in perl
16411 # Extract the first word of "$ac_prog", so it can be a program name with args.
16412 set dummy
$ac_prog; ac_word
=$2
16413 echo "$as_me:$LINENO: checking for $ac_word" >&5
16414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16415 if test "${ac_cv_prog_PERL+set}" = set; then
16416 echo $ECHO_N "(cached) $ECHO_C" >&6
16418 if test -n "$PERL"; then
16419 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
16421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16422 for as_dir
in $PATH
16425 test -z "$as_dir" && as_dir
=.
16426 for ac_exec_ext
in '' $ac_executable_extensions; do
16427 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16428 ac_cv_prog_PERL
="$ac_prog"
16429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16437 PERL
=$ac_cv_prog_PERL
16438 if test -n "$PERL"; then
16439 echo "$as_me:$LINENO: result: $PERL" >&5
16440 echo "${ECHO_T}$PERL" >&6
16442 echo "$as_me:$LINENO: result: no" >&5
16443 echo "${ECHO_T}no" >&6
16446 test -n "$PERL" && break
16448 test -n "$PERL" || PERL
="false"
16452 SIGNAL_HANDLER_AUX
=
16456 SIGNAL_HANDLER
=include
/i386-signal.h
16458 sparc
*-sun-solaris*)
16459 SIGNAL_HANDLER
=include
/sparc-signal.h
16462 # SYSDEP_SOURCES=sysdep/ia64.c
16463 # test -d sysdep || mkdir sysdep
16466 SIGNAL_HANDLER
=include
/pa-signal.h
16469 SIGNAL_HANDLER
=include
/hppa-signal.h
16472 SIGNAL_HANDLER
=include
/dwarf2-signal.h
16475 SIGNAL_HANDLER
=include
/powerpc-signal.h
16478 SIGNAL_HANDLER
=include
/dwarf2-signal.h
16481 SIGNAL_HANDLER
=include
/s390-signal.h
16484 SIGNAL_HANDLER
=include
/x86_64-signal.h
16485 SIGNAL_HANDLER_AUX
=include
/i386-signal.h
16488 SIGNAL_HANDLER
=include
/dwarf2-signal.h
16491 SIGNAL_HANDLER
=include
/sh-signal.h
16494 SIGNAL_HANDLER
=include
/win32-signal.h
16497 SIGNAL_HANDLER
=include
/mips-signal.h
16499 powerpc
*-*-darwin*)
16500 SIGNAL_HANDLER
=include
/darwin-signal.h
16503 SIGNAL_HANDLER
=include
/default-signal.h
16507 # If we're using sjlj exceptions, forget what we just learned.
16508 if test "$enable_sjlj_exceptions" = yes; then
16509 SIGNAL_HANDLER
=include
/default-signal.h
16510 SIGNAL_HANDLER_AUX
=
16515 if test -z "$SIGNAL_HANDLER_AUX"; then
16516 SIGNAL_HANDLER_AUX
=$SIGNAL_HANDLER
16519 ac_config_links
="$ac_config_links include/java-signal.h:$SIGNAL_HANDLER include/java-signal-aux.h:$SIGNAL_HANDLER_AUX"
16522 if test "${multilib}" = "yes"; then
16523 multilib_arg
="--enable-multilib"
16528 # See if we support thread-local storage.
16530 # Check whether --enable-tls or --disable-tls was given.
16531 if test "${enable_tls+set}" = set; then
16532 enableval
="$enable_tls"
16534 case "$enableval" in
16536 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
16537 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
16538 { (exit 1); exit 1; }; } ;;
16545 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
16546 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
16547 if test "${have_tls+set}" = set; then
16548 echo $ECHO_N "(cached) $ECHO_C" >&6
16551 if test "$cross_compiling" = yes; then
16552 if test x
$gcc_no_link = xyes
; then
16553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16555 { (exit 1); exit 1; }; }
16557 cat >conftest.
$ac_ext <<_ACEOF
16558 __thread int a; int b; int main() { return a = b; }
16560 rm -f conftest.
$ac_objext conftest
$ac_exeext
16561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16562 (eval $ac_link) 2>conftest.er1
16564 grep -v '^ *+' conftest.er1
>conftest.err
16566 cat conftest.err
>&5
16567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16568 (exit $ac_status); } &&
16569 { ac_try
='test -z "$ac_c_werror_flag"
16570 || test ! -s conftest.err'
16571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16572 (eval $ac_try) 2>&5
16574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575 (exit $ac_status); }; } &&
16576 { ac_try
='test -s conftest$ac_exeext'
16577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16578 (eval $ac_try) 2>&5
16580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16581 (exit $ac_status); }; }; then
16584 echo "$as_me: failed program was:" >&5
16585 sed 's/^/| /' conftest.
$ac_ext >&5
16589 rm -f conftest.err conftest.
$ac_objext \
16590 conftest
$ac_exeext conftest.
$ac_ext
16593 cat >conftest.
$ac_ext <<_ACEOF
16594 __thread int a; int b; int main() { return a = b; }
16596 rm -f conftest
$ac_exeext
16597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16598 (eval $ac_link) 2>&5
16600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16601 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16603 (eval $ac_try) 2>&5
16605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16606 (exit $ac_status); }; }; then
16607 save_LDFLAGS
="$LDFLAGS"
16608 LDFLAGS
="-static $LDFLAGS"
16609 if test x
$gcc_no_link = xyes
; then
16610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16612 { (exit 1); exit 1; }; }
16614 cat >conftest.
$ac_ext <<_ACEOF
16615 int main() { return 0; }
16617 rm -f conftest.
$ac_objext conftest
$ac_exeext
16618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16619 (eval $ac_link) 2>conftest.er1
16621 grep -v '^ *+' conftest.er1
>conftest.err
16623 cat conftest.err
>&5
16624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16625 (exit $ac_status); } &&
16626 { ac_try
='test -z "$ac_c_werror_flag"
16627 || test ! -s conftest.err'
16628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16629 (eval $ac_try) 2>&5
16631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16632 (exit $ac_status); }; } &&
16633 { ac_try
='test -s conftest$ac_exeext'
16634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16635 (eval $ac_try) 2>&5
16637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16638 (exit $ac_status); }; }; then
16639 if test "$cross_compiling" = yes; then
16640 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16641 See \`config.log' for more details." >&5
16642 echo "$as_me: error: cannot run test program while cross compiling
16643 See \`config.log' for more details." >&2;}
16644 { (exit 1); exit 1; }; }
16646 cat >conftest.
$ac_ext <<_ACEOF
16647 __thread int a; int b; int main() { return a = b; }
16649 rm -f conftest
$ac_exeext
16650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16651 (eval $ac_link) 2>&5
16653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16654 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16656 (eval $ac_try) 2>&5
16658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16659 (exit $ac_status); }; }; then
16662 echo "$as_me: program exited with status $ac_status" >&5
16663 echo "$as_me: failed program was:" >&5
16664 sed 's/^/| /' conftest.
$ac_ext >&5
16666 ( exit $ac_status )
16669 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16672 echo "$as_me: failed program was:" >&5
16673 sed 's/^/| /' conftest.
$ac_ext >&5
16677 rm -f conftest.err conftest.
$ac_objext \
16678 conftest
$ac_exeext conftest.
$ac_ext
16679 LDFLAGS
="$save_LDFLAGS"
16681 echo "$as_me: program exited with status $ac_status" >&5
16682 echo "$as_me: failed program was:" >&5
16683 sed 's/^/| /' conftest.
$ac_ext >&5
16685 ( exit $ac_status )
16688 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16691 echo "$as_me:$LINENO: result: $have_tls" >&5
16692 echo "${ECHO_T}$have_tls" >&6
16693 if test "$enable_tls $have_tls" = "yes yes"; then
16695 cat >>confdefs.h
<<\_ACEOF
16701 # For _Unwind_GetIPInfo.
16706 ac_cpp
='$CXXCPP $CPPFLAGS'
16707 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16708 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16709 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16711 ac_save_CXXFLAGS
="$CXXFLAGS"
16712 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
16713 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
16714 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
16715 if test "${gcc_cv_getipinfo+set}" = set; then
16716 echo $ECHO_N "(cached) $ECHO_C" >&6
16719 if test x
$gcc_no_link = xyes
; then
16720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16722 { (exit 1); exit 1; }; }
16724 cat >conftest.
$ac_ext <<_ACEOF
16727 cat confdefs.h
>>conftest.
$ac_ext
16728 cat >>conftest.
$ac_ext <<_ACEOF
16729 /* end confdefs.h. */
16730 extern "C" { extern void _Unwind_GetIPInfo(); }
16734 _Unwind_GetIPInfo();
16739 rm -f conftest.
$ac_objext conftest
$ac_exeext
16740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16741 (eval $ac_link) 2>conftest.er1
16743 grep -v '^ *+' conftest.er1
>conftest.err
16745 cat conftest.err
>&5
16746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16747 (exit $ac_status); } &&
16748 { ac_try
='test -z "$ac_cxx_werror_flag"
16749 || test ! -s conftest.err'
16750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16751 (eval $ac_try) 2>&5
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); }; } &&
16755 { ac_try
='test -s conftest$ac_exeext'
16756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16757 (eval $ac_try) 2>&5
16759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16760 (exit $ac_status); }; }; then
16761 gcc_cv_getipinfo
=yes
16763 echo "$as_me: failed program was:" >&5
16764 sed 's/^/| /' conftest.
$ac_ext >&5
16766 gcc_cv_getipinfo
=no
16768 rm -f conftest.err conftest.
$ac_objext \
16769 conftest
$ac_exeext conftest.
$ac_ext
16773 if test $gcc_cv_getipinfo = yes; then
16775 cat >>confdefs.h
<<\_ACEOF
16776 #define HAVE_GETIPINFO 1
16780 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
16781 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
16782 CXXFLAGS
="$ac_save_CXXFLAGS"
16784 ac_cpp
='$CPP $CPPFLAGS'
16785 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16786 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16787 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16791 # Check if linker supports static linking on a per library basis
16792 LD_START_STATIC_SPEC
=
16793 LD_FINISH_STATIC_SPEC
=
16794 if $LD --help 2>&1 |
grep -q -e -call_shared ; then
16795 if $LD --help 2>&1 |
grep -q -e -non_shared ; then
16796 LD_START_STATIC_SPEC
='%{static-libgcj:-non_shared}'
16797 LD_FINISH_STATIC_SPEC
='%{static-libgcj:-call_shared}'
16803 here
=`${PWDCMD-pwd}`
16806 # We get this from the environment.
16809 ac_config_files
="$ac_config_files Makefile libgcj.pc libgcj.spec libgcj-test.spec gcj/Makefile include/Makefile testsuite/Makefile"
16812 ac_config_files
="$ac_config_files scripts/jar"
16815 ac_config_commands
="$ac_config_commands default"
16818 cat >confcache
<<\_ACEOF
16819 # This file is a shell script that caches the results of configure
16820 # tests run on this system so they can be shared between configure
16821 # scripts and configure runs, see configure's option --config-cache.
16822 # It is not useful on other systems. If it contains results you don't
16823 # want to keep, you may remove or edit it.
16825 # config.status only pays attention to the cache file if you give it
16826 # the --recheck option to rerun configure.
16828 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16829 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16830 # following values.
16834 # The following way of writing the cache mishandles newlines in values,
16835 # but we know of no workaround that is simple, portable, and efficient.
16836 # So, don't put newlines in cache variables' values.
16837 # Ultrix sh set writes to stderr and can't be redirected directly,
16838 # and sets the high bit in the cache file unless we assign to the vars.
16841 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16843 # `set' does not quote correctly, so add quotes (double-quote
16844 # substitution turns \\\\ into \\, and sed turns \\ into \).
16847 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16850 # `set' quotes correctly as required by POSIX, so do not add quotes.
16852 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
16859 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16861 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16863 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
16864 if test -w $cache_file; then
16865 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
16866 cat confcache
>$cache_file
16868 echo "not updating unwritable cache $cache_file"
16873 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16874 # Let make expand exec_prefix.
16875 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16877 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16878 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16879 # trailing colons and then remove the whole line if VPATH becomes empty
16880 # (actually we leave an empty line to preserve line numbers).
16881 if test "x$srcdir" = x.
; then
16882 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
16883 s/:*\$(srcdir):*/:/;
16884 s/:*\${srcdir}:*/:/;
16886 s/^\([^=]*=[ ]*\):*/\1/;
16892 DEFS
=-DHAVE_CONFIG_H
16896 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16897 # 1. Remove the extension, and $U if already installed.
16898 ac_i
=`echo "$ac_i" |
16899 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
16901 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
16902 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
16904 LIBOBJS
=$ac_libobjs
16906 LTLIBOBJS
=$ac_ltlibobjs
16909 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16910 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
16911 Usually this means the macro was only invoked conditionally." >&5
16912 echo "$as_me: error: conditional \"AMDEP\" was never defined.
16913 Usually this means the macro was only invoked conditionally." >&2;}
16914 { (exit 1); exit 1; }; }
16916 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16917 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16918 Usually this means the macro was only invoked conditionally." >&5
16919 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16920 Usually this means the macro was only invoked conditionally." >&2;}
16921 { (exit 1); exit 1; }; }
16923 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16924 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
16925 Usually this means the macro was only invoked conditionally." >&5
16926 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
16927 Usually this means the macro was only invoked conditionally." >&2;}
16928 { (exit 1); exit 1; }; }
16930 if test -z "${BASH_JAR_TRUE}" && test -z "${BASH_JAR_FALSE}"; then
16931 { { echo "$as_me:$LINENO: error: conditional \"BASH_JAR\" was never defined.
16932 Usually this means the macro was only invoked conditionally." >&5
16933 echo "$as_me: error: conditional \"BASH_JAR\" was never defined.
16934 Usually this means the macro was only invoked conditionally." >&2;}
16935 { (exit 1); exit 1; }; }
16937 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16938 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
16939 Usually this means the macro was only invoked conditionally." >&5
16940 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
16941 Usually this means the macro was only invoked conditionally." >&2;}
16942 { (exit 1); exit 1; }; }
16944 if test -z "${XLIB_AWT_TRUE}" && test -z "${XLIB_AWT_FALSE}"; then
16945 { { echo "$as_me:$LINENO: error: conditional \"XLIB_AWT\" was never defined.
16946 Usually this means the macro was only invoked conditionally." >&5
16947 echo "$as_me: error: conditional \"XLIB_AWT\" was never defined.
16948 Usually this means the macro was only invoked conditionally." >&2;}
16949 { (exit 1); exit 1; }; }
16951 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
16952 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
16953 Usually this means the macro was only invoked conditionally." >&5
16954 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
16955 Usually this means the macro was only invoked conditionally." >&2;}
16956 { (exit 1); exit 1; }; }
16958 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
16959 { { echo "$as_me:$LINENO: error: conditional \"TESTSUBDIR\" was never defined.
16960 Usually this means the macro was only invoked conditionally." >&5
16961 echo "$as_me: error: conditional \"TESTSUBDIR\" was never defined.
16962 Usually this means the macro was only invoked conditionally." >&2;}
16963 { (exit 1); exit 1; }; }
16965 if test -z "${JAVA_HOME_SET_TRUE}" && test -z "${JAVA_HOME_SET_FALSE}"; then
16966 { { echo "$as_me:$LINENO: error: conditional \"JAVA_HOME_SET\" was never defined.
16967 Usually this means the macro was only invoked conditionally." >&5
16968 echo "$as_me: error: conditional \"JAVA_HOME_SET\" was never defined.
16969 Usually this means the macro was only invoked conditionally." >&2;}
16970 { (exit 1); exit 1; }; }
16972 if test -z "${USING_WIN32_PLATFORM_TRUE}" && test -z "${USING_WIN32_PLATFORM_FALSE}"; then
16973 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
16974 Usually this means the macro was only invoked conditionally." >&5
16975 echo "$as_me: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
16976 Usually this means the macro was only invoked conditionally." >&2;}
16977 { (exit 1); exit 1; }; }
16979 if test -z "${USING_POSIX_PLATFORM_TRUE}" && test -z "${USING_POSIX_PLATFORM_FALSE}"; then
16980 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
16981 Usually this means the macro was only invoked conditionally." >&5
16982 echo "$as_me: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
16983 Usually this means the macro was only invoked conditionally." >&2;}
16984 { (exit 1); exit 1; }; }
16986 if test -z "${USING_DARWIN_CRT_TRUE}" && test -z "${USING_DARWIN_CRT_FALSE}"; then
16987 { { echo "$as_me:$LINENO: error: conditional \"USING_DARWIN_CRT\" was never defined.
16988 Usually this means the macro was only invoked conditionally." >&5
16989 echo "$as_me: error: conditional \"USING_DARWIN_CRT\" was never defined.
16990 Usually this means the macro was only invoked conditionally." >&2;}
16991 { (exit 1); exit 1; }; }
16993 if test -z "${USING_BOEHMGC_TRUE}" && test -z "${USING_BOEHMGC_FALSE}"; then
16994 { { echo "$as_me:$LINENO: error: conditional \"USING_BOEHMGC\" was never defined.
16995 Usually this means the macro was only invoked conditionally." >&5
16996 echo "$as_me: error: conditional \"USING_BOEHMGC\" was never defined.
16997 Usually this means the macro was only invoked conditionally." >&2;}
16998 { (exit 1); exit 1; }; }
17000 if test -z "${USING_NOGC_TRUE}" && test -z "${USING_NOGC_FALSE}"; then
17001 { { echo "$as_me:$LINENO: error: conditional \"USING_NOGC\" was never defined.
17002 Usually this means the macro was only invoked conditionally." >&5
17003 echo "$as_me: error: conditional \"USING_NOGC\" was never defined.
17004 Usually this means the macro was only invoked conditionally." >&2;}
17005 { (exit 1); exit 1; }; }
17007 if test -z "${USING_POSIX_THREADS_TRUE}" && test -z "${USING_POSIX_THREADS_FALSE}"; then
17008 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_THREADS\" was never defined.
17009 Usually this means the macro was only invoked conditionally." >&5
17010 echo "$as_me: error: conditional \"USING_POSIX_THREADS\" was never defined.
17011 Usually this means the macro was only invoked conditionally." >&2;}
17012 { (exit 1); exit 1; }; }
17014 if test -z "${USING_WIN32_THREADS_TRUE}" && test -z "${USING_WIN32_THREADS_FALSE}"; then
17015 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_THREADS\" was never defined.
17016 Usually this means the macro was only invoked conditionally." >&5
17017 echo "$as_me: error: conditional \"USING_WIN32_THREADS\" was never defined.
17018 Usually this means the macro was only invoked conditionally." >&2;}
17019 { (exit 1); exit 1; }; }
17021 if test -z "${USING_NO_THREADS_TRUE}" && test -z "${USING_NO_THREADS_FALSE}"; then
17022 { { echo "$as_me:$LINENO: error: conditional \"USING_NO_THREADS\" was never defined.
17023 Usually this means the macro was only invoked conditionally." >&5
17024 echo "$as_me: error: conditional \"USING_NO_THREADS\" was never defined.
17025 Usually this means the macro was only invoked conditionally." >&2;}
17026 { (exit 1); exit 1; }; }
17028 if test -z "${USE_LIBGCJ_BC_TRUE}" && test -z "${USE_LIBGCJ_BC_FALSE}"; then
17029 { { echo "$as_me:$LINENO: error: conditional \"USE_LIBGCJ_BC\" was never defined.
17030 Usually this means the macro was only invoked conditionally." >&5
17031 echo "$as_me: error: conditional \"USE_LIBGCJ_BC\" was never defined.
17032 Usually this means the macro was only invoked conditionally." >&2;}
17033 { (exit 1); exit 1; }; }
17035 if test -z "${USING_GCC_TRUE}" && test -z "${USING_GCC_FALSE}"; then
17036 { { echo "$as_me:$LINENO: error: conditional \"USING_GCC\" was never defined.
17037 Usually this means the macro was only invoked conditionally." >&5
17038 echo "$as_me: error: conditional \"USING_GCC\" was never defined.
17039 Usually this means the macro was only invoked conditionally." >&2;}
17040 { (exit 1); exit 1; }; }
17042 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
17043 { { echo "$as_me:$LINENO: error: conditional \"NATIVE\" was never defined.
17044 Usually this means the macro was only invoked conditionally." >&5
17045 echo "$as_me: error: conditional \"NATIVE\" was never defined.
17046 Usually this means the macro was only invoked conditionally." >&2;}
17047 { (exit 1); exit 1; }; }
17049 if test -z "${NEEDS_DATA_START_TRUE}" && test -z "${NEEDS_DATA_START_FALSE}"; then
17050 { { echo "$as_me:$LINENO: error: conditional \"NEEDS_DATA_START\" was never defined.
17051 Usually this means the macro was only invoked conditionally." >&5
17052 echo "$as_me: error: conditional \"NEEDS_DATA_START\" was never defined.
17053 Usually this means the macro was only invoked conditionally." >&2;}
17054 { (exit 1); exit 1; }; }
17057 : ${CONFIG_STATUS=./config.status}
17058 ac_clean_files_save
=$ac_clean_files
17059 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17060 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
17061 echo "$as_me: creating $CONFIG_STATUS" >&6;}
17062 cat >$CONFIG_STATUS <<_ACEOF
17064 # Generated by $as_me.
17065 # Run this file to recreate the current configuration.
17066 # Compiler output produced by configure, useful for debugging
17067 # configure, is in config.log if it exists.
17070 ac_cs_recheck=false
17072 SHELL=\${CONFIG_SHELL-$SHELL}
17075 cat >>$CONFIG_STATUS <<\_ACEOF
17076 ## --------------------- ##
17077 ## M4sh Initialization. ##
17078 ## --------------------- ##
17080 # Be Bourne compatible
17081 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17084 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17085 # is contrary to our usage. Disable this feature.
17086 alias -g '${1+"$@"}'='"$@"'
17087 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
17090 DUALCASE
=1; export DUALCASE
# for MKS sh
17092 # Support unset when possible.
17093 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
17100 # Work around bugs in pre-3.0 UWIN ksh.
17101 $as_unset ENV MAIL MAILPATH
17108 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
17109 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
17110 LC_TELEPHONE LC_TIME
17112 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
17113 eval $as_var=C
; export $as_var
17119 # Required to use basename.
17120 if expr a
: '\(a\)' >/dev
/null
2>&1; then
17126 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
17127 as_basename
=basename
17133 # Name of the executable.
17134 as_me
=`$as_basename "$0" ||
17135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17136 X"$0" : 'X\(//\)$' \| \
17137 X"$0" : 'X\(/\)$' \| \
17138 . : '\(.\)' 2>/dev/null ||
17140 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
17141 /^X\/\(\/\/\)$/{ s//\1/; q; }
17142 /^X\/\(\/\).*/{ s//\1/; q; }
17146 # PATH needs CR, and LINENO needs CR and PATH.
17147 # Avoid depending upon Character Ranges.
17148 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17149 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17150 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17151 as_cr_digits
='0123456789'
17152 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17154 # The user is always right.
17155 if test "${PATH_SEPARATOR+set}" != set; then
17156 echo "#! /bin/sh" >conf$$.sh
17157 echo "exit 0" >>conf$$.sh
17159 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
17168 as_lineno_1
=$LINENO
17169 as_lineno_2
=$LINENO
17170 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
17171 test "x$as_lineno_1" != "x$as_lineno_2" &&
17172 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
17173 # Find who we are. Look in the path if we contain no path at all
17176 *[\\/]* ) as_myself
=$0 ;;
17177 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17178 for as_dir
in $PATH
17181 test -z "$as_dir" && as_dir
=.
17182 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
17187 # We did not find ourselves, most probably we were run as `sh COMMAND'
17188 # in which case we are not to be found in the path.
17189 if test "x$as_myself" = x
; then
17192 if test ! -f "$as_myself"; then
17193 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
17194 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
17195 { (exit 1); exit 1; }; }
17197 case $CONFIG_SHELL in
17199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17200 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
17203 test -z "$as_dir" && as_dir
=.
17204 for as_base
in sh bash ksh sh5
; do
17207 if ("$as_dir/$as_base" -c '
17208 as_lineno_1=$LINENO
17209 as_lineno_2=$LINENO
17210 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
17211 test "x$as_lineno_1" != "x$as_lineno_2" &&
17212 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
17213 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
17214 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
17215 CONFIG_SHELL
=$as_dir/$as_base
17216 export CONFIG_SHELL
17217 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
17225 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17226 # uniformly replaced by the line number. The first 'sed' inserts a
17227 # line-number line before each line; the second 'sed' does the real
17228 # work. The second script uses 'N' to pair each line-number line
17229 # with the numbered line, and appends trailing '-' during
17230 # substitution so that $LINENO is not a special case at line end.
17231 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17232 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
17233 sed '=' <$as_myself |
17238 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
17241 s,^['$as_cr_digits']*\n,,
17242 ' >$as_me.lineno
&&
17243 chmod +x
$as_me.lineno ||
17244 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
17245 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
17246 { (exit 1); exit 1; }; }
17248 # Don't try to exec as it changes $[0], causing all sort of problems
17249 # (the dirname of $[0] is not the place where we might find the
17250 # original and so on. Autoconf is especially sensible to this).
17252 # Exit status is that of the last command.
17257 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
17258 *c
*,-n*) ECHO_N
= ECHO_C
='
17260 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
17261 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
17264 if expr a
: '\(a\)' >/dev
/null
2>&1; then
17270 rm -f conf$$ conf$$.exe conf$$.
file
17272 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17273 # We could just check for DJGPP; but this test a) works b) is more generic
17274 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
17275 if test -f conf$$.exe
; then
17276 # Don't use ln at all; we don't have any links
17281 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17286 rm -f conf$$ conf$$.exe conf$$.
file
17288 if mkdir
-p .
2>/dev
/null
; then
17291 test -d .
/-p && rmdir .
/-p
17295 as_executable_p
="test -f"
17297 # Sed expression to map a string onto a valid CPP name.
17298 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17300 # Sed expression to map a string onto a valid variable name.
17301 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17305 # We need space, tab and new line, in precisely that order.
17315 # Open the log real soon, to keep \$[0] and so on meaningful, and to
17316 # report actual input values of CONFIG_FILES etc. instead of their
17317 # values after options handling. Logging --version etc. is OK.
17321 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17322 ## Running $as_me. ##
17327 This file was extended by libjava $as_me version-unused, which was
17328 generated by GNU Autoconf 2.59. Invocation command line was
17330 CONFIG_FILES = $CONFIG_FILES
17331 CONFIG_HEADERS = $CONFIG_HEADERS
17332 CONFIG_LINKS = $CONFIG_LINKS
17333 CONFIG_COMMANDS = $CONFIG_COMMANDS
17337 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
17341 # Files that config.status was made for.
17342 if test -n "$ac_config_files"; then
17343 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
17346 if test -n "$ac_config_headers"; then
17347 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
17350 if test -n "$ac_config_links"; then
17351 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
17354 if test -n "$ac_config_commands"; then
17355 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
17358 cat >>$CONFIG_STATUS <<\_ACEOF
17361 \`$as_me' instantiates files from templates according to the
17362 current configuration.
17364 Usage: $0 [OPTIONS] [FILE]...
17366 -h, --help print this help, then exit
17367 -V, --version print version number, then exit
17368 -q, --quiet do not print progress messages
17369 -d, --debug don't remove temporary files
17370 --recheck update $as_me by reconfiguring in the same conditions
17371 --file=FILE[:TEMPLATE]
17372 instantiate the configuration file FILE
17373 --header=FILE[:TEMPLATE]
17374 instantiate the configuration header FILE
17376 Configuration files:
17379 Configuration headers:
17382 Configuration links:
17385 Configuration commands:
17388 Report bugs to <bug-autoconf@gnu.org>."
17391 cat >>$CONFIG_STATUS <<_ACEOF
17393 libjava config.status version-unused
17394 configured by $0, generated by GNU Autoconf 2.59,
17395 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
17397 Copyright (C) 2003 Free Software Foundation, Inc.
17398 This config.status script is free software; the Free Software Foundation
17399 gives unlimited permission to copy, distribute and modify it."
17404 cat >>$CONFIG_STATUS <<\_ACEOF
17405 # If no file are specified by the user, then we need to provide default
17406 # value. By we need to know if files were specified by the user.
17412 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
17413 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
17421 *) # This is not an option, so the user has probably given explicit
17424 ac_need_defaults
=false
;;
17428 # Handling of the options.
17430 cat >>$CONFIG_STATUS <<\_ACEOF
17431 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17433 --version |
--vers* |
-V )
17434 echo "$ac_cs_version"; exit 0 ;;
17436 # Conflict between --help and --header
17437 { { echo "$as_me:$LINENO: error: ambiguous option: $1
17438 Try \`$0 --help' for more information." >&5
17439 echo "$as_me: error: ambiguous option: $1
17440 Try \`$0 --help' for more information." >&2;}
17441 { (exit 1); exit 1; }; };;
17442 --help |
--hel |
-h )
17443 echo "$ac_cs_usage"; exit 0 ;;
17444 --debug |
--d* |
-d )
17446 --file |
--fil |
--fi |
--f )
17448 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
17449 ac_need_defaults
=false
;;
17450 --header |
--heade |
--head |
--hea )
17452 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
17453 ac_need_defaults
=false
;;
17454 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17455 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17458 # This is an error.
17459 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
17460 Try \`$0 --help' for more information." >&5
17461 echo "$as_me: error: unrecognized option: $1
17462 Try \`$0 --help' for more information." >&2;}
17463 { (exit 1); exit 1; }; } ;;
17465 *) ac_config_targets
="$ac_config_targets $1" ;;
17471 ac_configure_extra_args
=
17473 if $ac_cs_silent; then
17475 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17479 cat >>$CONFIG_STATUS <<_ACEOF
17480 if \$ac_cs_recheck; then
17481 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
17482 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17487 cat >>$CONFIG_STATUS <<_ACEOF
17489 # INIT-COMMANDS section.
17492 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17496 with_multisubdir=${with_multisubdir}
17497 ac_configure_args="${multilib_arg} ${ac_configure_args}"
17498 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17499 libgcj_basedir=${libgcj_basedir}
17502 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
17509 cat >>$CONFIG_STATUS <<\_ACEOF
17510 for ac_config_target
in $ac_config_targets
17512 case "$ac_config_target" in
17513 # Handling of arguments.
17514 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17515 "libgcj.pc" ) CONFIG_FILES
="$CONFIG_FILES libgcj.pc" ;;
17516 "libgcj.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj.spec" ;;
17517 "libgcj-test.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj-test.spec" ;;
17518 "gcj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gcj/Makefile" ;;
17519 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
17520 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
17521 "scripts/jar" ) CONFIG_FILES
="$CONFIG_FILES scripts/jar" ;;
17522 "include/platform.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/platform.h:include/$PLATFORMH" ;;
17523 "java/io/natFile.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc" ;;
17524 "java/lang/ConcreteProcess.java" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/ConcreteProcess.java:java/lang/${PLATFORM}Process.java" ;;
17525 "java/lang/natConcreteProcess.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc" ;;
17526 "java/net/natVMInetAddress.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc" ;;
17527 "java/net/natVMNetworkInterface.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc" ;;
17528 "gnu/java/net/natPlainSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc" ;;
17529 "gnu/java/net/natPlainDatagramSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc" ;;
17530 "gnu/java/nio/natPipeImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natPipeImpl.cc:gnu/java/nio/natPipeImpl${PLATFORM}.cc" ;;
17531 "gnu/java/nio/natSelectorImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natSelectorImpl.cc:gnu/java/nio/natSelectorImpl${PLATFORM}.cc" ;;
17532 "gnu/java/nio/channels/natFileChannelImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc" ;;
17533 "include/java-gc.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-gc.h:include/$GCHDR" ;;
17534 "include/java-threads.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-threads.h:include/$THREADH" ;;
17535 "sysdep/locks.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/locks.h:sysdep/$sysdeps_dir/locks.h" ;;
17536 "sysdep/backtrace.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/backtrace.h:$fallback_backtrace_h" ;;
17537 "sysdep/descriptor.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/descriptor.h:$descriptor_h" ;;
17538 "include/java-signal.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal.h:$SIGNAL_HANDLER" ;;
17539 "include/java-signal-aux.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal-aux.h:$SIGNAL_HANDLER_AUX" ;;
17540 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17541 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
17542 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
17543 "gcj/libgcj-config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS gcj/libgcj-config.h" ;;
17544 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
17545 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
17546 { (exit 1); exit 1; }; };;
17550 # If the user did not use the arguments to specify the items to instantiate,
17551 # then the envvar interface is used. Set only those that are not.
17552 # We use the long form for the default assignment because of an extremely
17553 # bizarre bug on SunOS 4.1.3.
17554 if $ac_need_defaults; then
17555 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17556 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17557 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
17558 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17561 # Have a temporary directory for convenience. Make it in the build tree
17562 # simply because there is no reason to put it here, and in addition,
17563 # creating and moving files from /tmp can sometimes cause problems.
17564 # Create a temporary directory, and hook for its removal unless debugging.
17567 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
17568 trap '{ (exit 1); exit 1; }' 1 2 13 15
17571 # Create a (secure) tmp directory for tmp files.
17574 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
17575 test -n "$tmp" && test -d "$tmp"
17578 tmp
=.
/confstat$$
-$RANDOM
17579 (umask 077 && mkdir
$tmp)
17582 echo "$me: cannot create a temporary directory in ." >&2
17583 { (exit 1); exit 1; }
17588 cat >>$CONFIG_STATUS <<_ACEOF
17591 # CONFIG_FILES section.
17594 # No need to generate the scripts if there are no CONFIG_FILES.
17595 # This happens for instance when ./config.status config.h
17596 if test -n "\$CONFIG_FILES"; then
17597 # Protect against being on the right side of a sed subst in config.status.
17598 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
17599 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
17600 s,@SHELL@,$SHELL,;t t
17601 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
17602 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
17603 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
17604 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
17605 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
17606 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
17607 s,@exec_prefix@,$exec_prefix,;t t
17608 s,@prefix@,$prefix,;t t
17609 s,@program_transform_name@,$program_transform_name,;t t
17610 s,@bindir@,$bindir,;t t
17611 s,@sbindir@,$sbindir,;t t
17612 s,@libexecdir@,$libexecdir,;t t
17613 s,@datadir@,$datadir,;t t
17614 s,@sysconfdir@,$sysconfdir,;t t
17615 s,@sharedstatedir@,$sharedstatedir,;t t
17616 s,@localstatedir@,$localstatedir,;t t
17617 s,@libdir@,$libdir,;t t
17618 s,@includedir@,$includedir,;t t
17619 s,@oldincludedir@,$oldincludedir,;t t
17620 s,@infodir@,$infodir,;t t
17621 s,@mandir@,$mandir,;t t
17622 s,@build_alias@,$build_alias,;t t
17623 s,@host_alias@,$host_alias,;t t
17624 s,@target_alias@,$target_alias,;t t
17625 s,@DEFS@,$DEFS,;t t
17626 s,@ECHO_C@,$ECHO_C,;t t
17627 s,@ECHO_N@,$ECHO_N,;t t
17628 s,@ECHO_T@,$ECHO_T,;t t
17629 s,@LIBS@,$LIBS,;t t
17630 s,@build@,$build,;t t
17631 s,@build_cpu@,$build_cpu,;t t
17632 s,@build_vendor@,$build_vendor,;t t
17633 s,@build_os@,$build_os,;t t
17634 s,@build_libsubdir@,$build_libsubdir,;t t
17635 s,@build_subdir@,$build_subdir,;t t
17636 s,@host_subdir@,$host_subdir,;t t
17637 s,@target_subdir@,$target_subdir,;t t
17638 s,@libgcj_basedir@,$libgcj_basedir,;t t
17639 s,@host@,$host,;t t
17640 s,@host_cpu@,$host_cpu,;t t
17641 s,@host_vendor@,$host_vendor,;t t
17642 s,@host_os@,$host_os,;t t
17643 s,@target@,$target,;t t
17644 s,@target_cpu@,$target_cpu,;t t
17645 s,@target_vendor@,$target_vendor,;t t
17646 s,@target_os@,$target_os,;t t
17647 s,@target_noncanonical@,$target_noncanonical,;t t
17648 s,@LN_S@,$LN_S,;t t
17649 s,@mkinstalldirs@,$mkinstalldirs,;t t
17651 s,@ac_ct_CC@,$ac_ct_CC,;t t
17652 s,@EXEEXT@,$EXEEXT,;t t
17653 s,@OBJEXT@,$OBJEXT,;t t
17655 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
17656 s,@CFLAGS@,$CFLAGS,;t t
17657 s,@CXXFLAGS@,$CXXFLAGS,;t t
17658 s,@LDFLAGS@,$LDFLAGS,;t t
17659 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
17660 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
17661 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
17662 s,@CYGPATH_W@,$CYGPATH_W,;t t
17663 s,@PACKAGE@,$PACKAGE,;t t
17664 s,@VERSION@,$VERSION,;t t
17665 s,@ACLOCAL@,$ACLOCAL,;t t
17666 s,@AUTOCONF@,$AUTOCONF,;t t
17667 s,@AUTOMAKE@,$AUTOMAKE,;t t
17668 s,@AUTOHEADER@,$AUTOHEADER,;t t
17669 s,@MAKEINFO@,$MAKEINFO,;t t
17670 s,@install_sh@,$install_sh,;t t
17671 s,@STRIP@,$STRIP,;t t
17672 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
17673 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
17674 s,@mkdir_p@,$mkdir_p,;t t
17676 s,@SET_MAKE@,$SET_MAKE,;t t
17677 s,@am__leading_dot@,$am__leading_dot,;t t
17678 s,@AMTAR@,$AMTAR,;t t
17679 s,@am__tar@,$am__tar,;t t
17680 s,@am__untar@,$am__untar,;t t
17681 s,@DEPDIR@,$DEPDIR,;t t
17682 s,@am__include@,$am__include,;t t
17683 s,@am__quote@,$am__quote,;t t
17684 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
17685 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
17686 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
17687 s,@CCDEPMODE@,$CCDEPMODE,;t t
17688 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
17689 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
17690 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
17691 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
17692 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
17694 s,@ac_ct_AS@,$ac_ct_AS,;t t
17696 s,@ac_ct_LD@,$ac_ct_LD,;t t
17698 s,@ac_ct_AR@,$ac_ct_AR,;t t
17699 s,@RANLIB@,$RANLIB,;t t
17700 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
17703 s,@UNZIP@,$UNZIP,;t t
17704 s,@BASH_JAR_TRUE@,$BASH_JAR_TRUE,;t t
17705 s,@BASH_JAR_FALSE@,$BASH_JAR_FALSE,;t t
17706 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
17707 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
17708 s,@MAINT@,$MAINT,;t t
17709 s,@LIBGCJ_CFLAGS@,$LIBGCJ_CFLAGS,;t t
17710 s,@LIBGCJ_CXXFLAGS@,$LIBGCJ_CXXFLAGS,;t t
17711 s,@LIBGCJ_JAVAFLAGS@,$LIBGCJ_JAVAFLAGS,;t t
17712 s,@LIBGCJ_LD_SYMBOLIC@,$LIBGCJ_LD_SYMBOLIC,;t t
17713 s,@LIBGCJDEBUG@,$LIBGCJDEBUG,;t t
17714 s,@TOOLKIT@,$TOOLKIT,;t t
17715 s,@XLIB_AWT_TRUE@,$XLIB_AWT_TRUE,;t t
17716 s,@XLIB_AWT_FALSE@,$XLIB_AWT_FALSE,;t t
17717 s,@GCJH@,$GCJH,;t t
17718 s,@INCLTDL@,$INCLTDL,;t t
17719 s,@LIBLTDL@,$LIBLTDL,;t t
17720 s,@DIRLTDL@,$DIRLTDL,;t t
17721 s,@LIBTOOL@,$LIBTOOL,;t t
17722 s,@CXXCPP@,$CXXCPP,;t t
17723 s,@CPPFLAGS@,$CPPFLAGS,;t t
17725 s,@GCJFLAGS@,$GCJFLAGS,;t t
17726 s,@GCJDEPMODE@,$GCJDEPMODE,;t t
17727 s,@am__fastdepGCJ_TRUE@,$am__fastdepGCJ_TRUE,;t t
17728 s,@am__fastdepGCJ_FALSE@,$am__fastdepGCJ_FALSE,;t t
17729 s,@subdirs@,$subdirs,;t t
17730 s,@TESTSUBDIR_TRUE@,$TESTSUBDIR_TRUE,;t t
17731 s,@TESTSUBDIR_FALSE@,$TESTSUBDIR_FALSE,;t t
17732 s,@JAVA_HOME_SET_TRUE@,$JAVA_HOME_SET_TRUE,;t t
17733 s,@JAVA_HOME_SET_FALSE@,$JAVA_HOME_SET_FALSE,;t t
17734 s,@JAVA_HOME@,$JAVA_HOME,;t t
17735 s,@INTERPRETER@,$INTERPRETER,;t t
17736 s,@LIBFFI@,$LIBFFI,;t t
17737 s,@LIBFFIINCS@,$LIBFFIINCS,;t t
17738 s,@PLATFORM_INNER_NAT_HDRS@,$PLATFORM_INNER_NAT_HDRS,;t t
17740 s,@EGREP@,$EGREP,;t t
17741 s,@USING_WIN32_PLATFORM_TRUE@,$USING_WIN32_PLATFORM_TRUE,;t t
17742 s,@USING_WIN32_PLATFORM_FALSE@,$USING_WIN32_PLATFORM_FALSE,;t t
17743 s,@USING_POSIX_PLATFORM_TRUE@,$USING_POSIX_PLATFORM_TRUE,;t t
17744 s,@USING_POSIX_PLATFORM_FALSE@,$USING_POSIX_PLATFORM_FALSE,;t t
17745 s,@USING_DARWIN_CRT_TRUE@,$USING_DARWIN_CRT_TRUE,;t t
17746 s,@USING_DARWIN_CRT_FALSE@,$USING_DARWIN_CRT_FALSE,;t t
17747 s,@SYSTEMSPEC@,$SYSTEMSPEC,;t t
17748 s,@LIBGCJTESTSPEC@,$LIBGCJTESTSPEC,;t t
17749 s,@ZLIBSPEC@,$ZLIBSPEC,;t t
17750 s,@ZLIBTESTSPEC@,$ZLIBTESTSPEC,;t t
17751 s,@X_CFLAGS@,$X_CFLAGS,;t t
17752 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
17753 s,@X_LIBS@,$X_LIBS,;t t
17754 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
17755 s,@extra_ldflags_libjava@,$extra_ldflags_libjava,;t t
17756 s,@GCLIBS@,$GCLIBS,;t t
17757 s,@GCINCS@,$GCINCS,;t t
17758 s,@GCDEPS@,$GCDEPS,;t t
17759 s,@GCSPEC@,$GCSPEC,;t t
17760 s,@JC1GCSPEC@,$JC1GCSPEC,;t t
17761 s,@GCTESTSPEC@,$GCTESTSPEC,;t t
17762 s,@USING_BOEHMGC_TRUE@,$USING_BOEHMGC_TRUE,;t t
17763 s,@USING_BOEHMGC_FALSE@,$USING_BOEHMGC_FALSE,;t t
17764 s,@USING_NOGC_TRUE@,$USING_NOGC_TRUE,;t t
17765 s,@USING_NOGC_FALSE@,$USING_NOGC_FALSE,;t t
17766 s,@THREADLIBS@,$THREADLIBS,;t t
17767 s,@THREADINCS@,$THREADINCS,;t t
17768 s,@THREADDEPS@,$THREADDEPS,;t t
17769 s,@THREADSPEC@,$THREADSPEC,;t t
17770 s,@THREADSTARTFILESPEC@,$THREADSTARTFILESPEC,;t t
17771 s,@THREADLDFLAGS@,$THREADLDFLAGS,;t t
17772 s,@THREADCXXFLAGS@,$THREADCXXFLAGS,;t t
17773 s,@USING_POSIX_THREADS_TRUE@,$USING_POSIX_THREADS_TRUE,;t t
17774 s,@USING_POSIX_THREADS_FALSE@,$USING_POSIX_THREADS_FALSE,;t t
17775 s,@USING_WIN32_THREADS_TRUE@,$USING_WIN32_THREADS_TRUE,;t t
17776 s,@USING_WIN32_THREADS_FALSE@,$USING_WIN32_THREADS_FALSE,;t t
17777 s,@USING_NO_THREADS_TRUE@,$USING_NO_THREADS_TRUE,;t t
17778 s,@USING_NO_THREADS_FALSE@,$USING_NO_THREADS_FALSE,;t t
17779 s,@USE_LIBGCJ_BC_TRUE@,$USE_LIBGCJ_BC_TRUE,;t t
17780 s,@USE_LIBGCJ_BC_FALSE@,$USE_LIBGCJ_BC_FALSE,;t t
17781 s,@LIBGCJ_SPEC@,$LIBGCJ_SPEC,;t t
17782 s,@HASH_SYNC_SPEC@,$HASH_SYNC_SPEC,;t t
17783 s,@USING_GCC_TRUE@,$USING_GCC_TRUE,;t t
17784 s,@USING_GCC_FALSE@,$USING_GCC_FALSE,;t t
17785 s,@LIBICONV@,$LIBICONV,;t t
17786 s,@LTLIBICONV@,$LTLIBICONV,;t t
17787 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
17788 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
17789 s,@GTK_LIBS@,$GTK_LIBS,;t t
17790 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
17791 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
17792 s,@LIBART_CFLAGS@,$LIBART_CFLAGS,;t t
17793 s,@LIBART_LIBS@,$LIBART_LIBS,;t t
17794 s,@CLASSPATH_SEPARATOR@,$CLASSPATH_SEPARATOR,;t t
17795 s,@ac_ct_GCJ@,$ac_ct_GCJ,;t t
17796 s,@ZLIBS@,$ZLIBS,;t t
17797 s,@SYS_ZLIBS@,$SYS_ZLIBS,;t t
17798 s,@ZINCS@,$ZINCS,;t t
17799 s,@DIVIDESPEC@,$DIVIDESPEC,;t t
17800 s,@CHECKREFSPEC@,$CHECKREFSPEC,;t t
17801 s,@EXCEPTIONSPEC@,$EXCEPTIONSPEC,;t t
17802 s,@BACKTRACESPEC@,$BACKTRACESPEC,;t t
17803 s,@IEEESPEC@,$IEEESPEC,;t t
17804 s,@NATIVE_TRUE@,$NATIVE_TRUE,;t t
17805 s,@NATIVE_FALSE@,$NATIVE_FALSE,;t t
17806 s,@NEEDS_DATA_START_TRUE@,$NEEDS_DATA_START_TRUE,;t t
17807 s,@NEEDS_DATA_START_FALSE@,$NEEDS_DATA_START_FALSE,;t t
17808 s,@GCC_UNWIND_INCLUDE@,$GCC_UNWIND_INCLUDE,;t t
17809 s,@toolexecdir@,$toolexecdir,;t t
17810 s,@toolexecmainlibdir@,$toolexecmainlibdir,;t t
17811 s,@toolexeclibdir@,$toolexeclibdir,;t t
17812 s,@dbexecdir@,$dbexecdir,;t t
17813 s,@GCJVERSION@,$GCJVERSION,;t t
17814 s,@gxx_include_dir@,$gxx_include_dir,;t t
17815 s,@libstdcxx_incdir@,$libstdcxx_incdir,;t t
17816 s,@ALLOCA@,$ALLOCA,;t t
17817 s,@PERL@,$PERL,;t t
17818 s,@SYSDEP_SOURCES@,$SYSDEP_SOURCES,;t t
17819 s,@LD_START_STATIC_SPEC@,$LD_START_STATIC_SPEC,;t t
17820 s,@LD_FINISH_STATIC_SPEC@,$LD_FINISH_STATIC_SPEC,;t t
17821 s,@here@,$here,;t t
17822 s,@LIBOBJS@,$LIBOBJS,;t t
17823 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
17828 cat >>$CONFIG_STATUS <<\_ACEOF
17829 # Split the substitutions into bite-sized pieces for seds with
17830 # small command number limits, like on Digital OSF/1 and HP-UX.
17831 ac_max_sed_lines
=48
17832 ac_sed_frag
=1 # Number of current file.
17833 ac_beg
=1 # First line for current file.
17834 ac_end
=$ac_max_sed_lines # Line after last line for current file.
17837 while $ac_more_lines; do
17838 if test $ac_beg -gt 1; then
17839 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
17841 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
17843 if test ! -s $tmp/subs.frag
; then
17844 ac_more_lines
=false
17846 # The purpose of the label and of the branching condition is to
17847 # speed up the sed processing (if there are no `@' at all, there
17848 # is no need to browse any of the substitutions).
17849 # These are the two extra sed commands mentioned above.
17851 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
17852 if test -z "$ac_sed_cmds"; then
17853 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
17855 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
17857 ac_sed_frag
=`expr $ac_sed_frag + 1`
17859 ac_end
=`expr $ac_end + $ac_max_sed_lines`
17862 if test -z "$ac_sed_cmds"; then
17865 fi # test -n "$CONFIG_FILES"
17868 cat >>$CONFIG_STATUS <<\_ACEOF
17869 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
17870 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17872 - |
*:- |
*:-:* ) # input from stdin
17874 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17875 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17876 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17877 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17878 * ) ac_file_in
=$ac_file.
in ;;
17881 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
17882 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
17883 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17884 X"$ac_file" : 'X\(//\)[^/]' \| \
17885 X"$ac_file" : 'X\(//\)$' \| \
17886 X"$ac_file" : 'X\(/\)' \| \
17887 . : '\(.\)' 2>/dev/null ||
17889 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17890 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17891 /^X\(\/\/\)$/{ s//\1/; q; }
17892 /^X\(\/\).*/{ s//\1/; q; }
17894 { if $as_mkdir_p; then
17899 while test ! -d "$as_dir"; do
17900 as_dirs
="$as_dir $as_dirs"
17901 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17902 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17903 X"$as_dir" : 'X\(//\)[^/]' \| \
17904 X"$as_dir" : 'X\(//\)$' \| \
17905 X"$as_dir" : 'X\(/\)' \| \
17906 . : '\(.\)' 2>/dev/null ||
17908 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17909 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17910 /^X\(\/\/\)$/{ s//\1/; q; }
17911 /^X\(\/\).*/{ s//\1/; q; }
17914 test ! -n "$as_dirs" || mkdir
$as_dirs
17915 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17916 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17917 { (exit 1); exit 1; }; }; }
17921 if test "$ac_dir" != .
; then
17922 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17923 # A "../" for each directory in $ac_dir_suffix.
17924 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17926 ac_dir_suffix
= ac_top_builddir
=
17930 .
) # No --srcdir option. We are building in place.
17932 if test -z "$ac_top_builddir"; then
17935 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
17937 [\\/]* | ?
:[\\/]* ) # Absolute path.
17938 ac_srcdir
=$srcdir$ac_dir_suffix;
17939 ac_top_srcdir
=$srcdir ;;
17940 *) # Relative path.
17941 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
17942 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
17945 # Do not use `cd foo && pwd` to compute absolute paths, because
17946 # the directories may not exist.
17948 .
) ac_abs_builddir
="$ac_dir";;
17951 .
) ac_abs_builddir
=`pwd`;;
17952 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
17953 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
17956 case $ac_abs_builddir in
17957 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17959 case ${ac_top_builddir}.
in
17960 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
17961 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17962 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
17965 case $ac_abs_builddir in
17966 .
) ac_abs_srcdir
=$ac_srcdir;;
17969 .
) ac_abs_srcdir
=$ac_abs_builddir;;
17970 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
17971 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
17974 case $ac_abs_builddir in
17975 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
17977 case $ac_top_srcdir in
17978 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
17979 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
17980 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
17986 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17987 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
17990 if test x
"$ac_file" != x-
; then
17991 { echo "$as_me:$LINENO: creating $ac_file" >&5
17992 echo "$as_me: creating $ac_file" >&6;}
17995 # Let's still pretend it is `configure' which instantiates (i.e., don't
17996 # use $as_me), people would be surprised to read:
17997 # /* config.h. Generated by config.status. */
17998 if test x
"$ac_file" = x-
; then
18001 configure_input
="$ac_file. "
18003 configure_input
=$configure_input"Generated from `echo $ac_file_in |
18004 sed 's,.*/,,'` by configure."
18006 # First look for the input files in the build tree, otherwise in the
18008 ac_file_inputs
=`IFS=:
18009 for f in $ac_file_in; do
18011 -) echo $tmp/stdin ;;
18013 # Absolute (can't be DOS-style, as IFS=:)
18014 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18015 echo "$as_me: error: cannot find input file: $f" >&2;}
18016 { (exit 1); exit 1; }; }
18019 if test -f "$f"; then
18022 elif test -f "$srcdir/$f"; then
18027 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18028 echo "$as_me: error: cannot find input file: $f" >&2;}
18029 { (exit 1); exit 1; }; }
18032 done` ||
{ (exit 1); exit 1; }
18034 cat >>$CONFIG_STATUS <<_ACEOF
18038 cat >>$CONFIG_STATUS <<\_ACEOF
18040 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18041 s
,@configure_input@
,$configure_input,;t t
18042 s
,@srcdir@
,$ac_srcdir,;t t
18043 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
18044 s
,@top_srcdir@
,$ac_top_srcdir,;t t
18045 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
18046 s
,@builddir@
,$ac_builddir,;t t
18047 s
,@abs_builddir@
,$ac_abs_builddir,;t t
18048 s
,@top_builddir@
,$ac_top_builddir,;t t
18049 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
18050 s
,@INSTALL@
,$ac_INSTALL,;t t
18051 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
18053 if test x"$ac_file" != x-; then
18054 mv $tmp/out $ac_file
18060 # Run the commands associated with the file.
18062 scripts/jar ) chmod +x scripts/jar ;;
18066 cat >>$CONFIG_STATUS <<\_ACEOF
18069 # CONFIG_HEADER section.
18072 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
18073 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18075 # ac_d sets the value in "#define NAME VALUE" lines.
18076 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18077 ac_dB
='[ ].*$,\1#\2'
18080 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18081 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18082 ac_uB
='$,\1#\2define\3'
18086 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
18087 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18089 - |
*:- |
*:-:* ) # input from stdin
18091 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18092 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18093 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18094 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18095 * ) ac_file_in
=$ac_file.
in ;;
18098 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
18099 echo "$as_me: creating $ac_file" >&6;}
18101 # First look for the input files in the build tree, otherwise in the
18103 ac_file_inputs
=`IFS=:
18104 for f in $ac_file_in; do
18106 -) echo $tmp/stdin ;;
18108 # Absolute (can't be DOS-style, as IFS=:)
18109 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18110 echo "$as_me: error: cannot find input file: $f" >&2;}
18111 { (exit 1); exit 1; }; }
18112 # Do quote $f, to prevent DOS paths from being IFS'd.
18115 if test -f "$f"; then
18118 elif test -f "$srcdir/$f"; then
18123 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18124 echo "$as_me: error: cannot find input file: $f" >&2;}
18125 { (exit 1); exit 1; }; }
18128 done` ||
{ (exit 1); exit 1; }
18129 # Remove the trailing spaces.
18130 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
18134 # Transform confdefs.h into two sed scripts, `conftest.defines' and
18135 # `conftest.undefs', that substitutes the proper values into
18136 # config.h.in to produce config.h. The first handles `#define'
18137 # templates, and the second `#undef' templates.
18138 # And first: Protect against being on the right side of a sed subst in
18139 # config.status. Protect against being in an unquoted here document
18140 # in config.status.
18141 rm -f conftest.defines conftest.undefs
18142 # Using a here document instead of a string reduces the quoting nightmare.
18143 # Putting comments in sed scripts is not portable.
18145 # `end' is used to avoid that the second main sed command (meant for
18146 # 0-ary CPP macros) applies to n-ary macro definitions.
18147 # See the Autoconf documentation for `clear'.
18148 cat >confdef2sed.
sed <<\_ACEOF
18153 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
18155 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
18158 # If some macros were called several times there might be several times
18159 # the same #defines, which is useless. Nevertheless, we may not want to
18160 # sort them, since we want the *last* AC-DEFINE to be honored.
18161 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
18162 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
18163 rm -f confdef2sed.sed
18165 # This sed command replaces #undef with comments. This is necessary, for
18166 # example, in the case of _POSIX_SOURCE, which is predefined and required
18167 # on some systems where configure will not decide to define it.
18168 cat >>conftest.undefs <<\_ACEOF
18169 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
18172 # Break up conftest.defines because some shells have a limit on the size
18173 # of here documents, and old seds have small limits too (100 cmds).
18174 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
18175 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
18176 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
18177 echo ' :' >>$CONFIG_STATUS
18178 rm -f conftest.tail
18179 while grep . conftest.defines >/dev/null
18181 # Write a limited-size here document to $tmp/defines.sed.
18182 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
18183 # Speed up: don't consider the non `#define' lines.
18184 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
18185 # Work around the forget-to-reset-the-flag bug.
18186 echo 't clr' >>$CONFIG_STATUS
18187 echo ': clr' >>$CONFIG_STATUS
18188 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
18190 sed -f $tmp/defines.sed $tmp/in >$tmp/out
18192 mv $tmp/out $tmp/in
18194 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
18195 rm -f conftest.defines
18196 mv conftest.
tail conftest.defines
18198 rm -f conftest.defines
18199 echo ' fi # grep' >>$CONFIG_STATUS
18200 echo >>$CONFIG_STATUS
18202 # Break up conftest.undefs because some shells have a limit on the size
18203 # of here documents, and old seds have small limits too (100 cmds).
18204 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
18205 rm -f conftest.
tail
18206 while grep . conftest.undefs
>/dev
/null
18208 # Write a limited-size here document to $tmp/undefs.sed.
18209 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
18210 # Speed up: don't consider the non
`#undef'
18211 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
18212 # Work around the forget-to-reset-the-flag bug.
18213 echo 't clr' >>$CONFIG_STATUS
18214 echo ': clr' >>$CONFIG_STATUS
18215 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
18217 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
18219 mv $tmp/out $tmp/in
18221 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
18222 rm -f conftest.undefs
18223 mv conftest.tail conftest.undefs
18225 rm -f conftest.undefs
18227 cat >>$CONFIG_STATUS <<\_ACEOF
18228 # Let's still pretend it is `configure
' which instantiates (i.e., don't
18229 # use $as_me), people would be surprised to read:
18230 # /* config.h. Generated by config.status. */
18231 if test x
"$ac_file" = x-
; then
18232 echo "/* Generated by configure. */" >$tmp/config.h
18234 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
18236 cat $tmp/in >>$tmp/config.h
18238 if test x
"$ac_file" != x-
; then
18239 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
18240 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
18241 echo "$as_me: $ac_file is unchanged" >&6;}
18243 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
18244 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18245 X"$ac_file" : 'X\(//\)[^/]' \| \
18246 X"$ac_file" : 'X\(//\)$' \| \
18247 X"$ac_file" : 'X\(/\)' \| \
18248 . : '\(.\)' 2>/dev/null ||
18250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18251 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18252 /^X\(\/\/\)$/{ s//\1/; q; }
18253 /^X\(\/\).*/{ s//\1/; q; }
18255 { if $as_mkdir_p; then
18260 while test ! -d "$as_dir"; do
18261 as_dirs
="$as_dir $as_dirs"
18262 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18263 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18264 X"$as_dir" : 'X\(//\)[^/]' \| \
18265 X"$as_dir" : 'X\(//\)$' \| \
18266 X"$as_dir" : 'X\(/\)' \| \
18267 . : '\(.\)' 2>/dev/null ||
18269 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18270 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18271 /^X\(\/\/\)$/{ s//\1/; q; }
18272 /^X\(\/\).*/{ s//\1/; q; }
18275 test ! -n "$as_dirs" || mkdir
$as_dirs
18276 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18277 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18278 { (exit 1); exit 1; }; }; }
18281 mv $tmp/config.h
$ac_file
18285 rm -f $tmp/config.h
18287 # Compute $ac_file's index in $config_headers.
18289 for _am_header
in $config_headers :; do
18290 case $_am_header in
18291 $ac_file |
$ac_file:* )
18294 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18297 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
18298 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18299 X$ac_file : 'X\(//\)[^/]' \| \
18300 X$ac_file : 'X\(//\)$' \| \
18301 X$ac_file : 'X\(/\)' \| \
18302 . : '\(.\)' 2>/dev/null ||
18304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18305 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18306 /^X\(\/\/\)$/{ s//\1/; q; }
18307 /^X\(\/\).*/{ s//\1/; q; }
18308 s/.*/./; q'`/stamp-h
$_am_stamp_count
18311 cat >>$CONFIG_STATUS <<\_ACEOF
18314 # CONFIG_LINKS section.
18317 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
18318 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
18319 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18321 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
18322 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
18324 if test ! -r $srcdir/$ac_source; then
18325 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
18326 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
18327 { (exit 1); exit 1; }; }
18331 # Make relative symlinks.
18332 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
18333 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18334 X"$ac_dest" : 'X\(//\)[^/]' \| \
18335 X"$ac_dest" : 'X\(//\)$' \| \
18336 X"$ac_dest" : 'X\(/\)' \| \
18337 . : '\(.\)' 2>/dev/null ||
18339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18340 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18341 /^X\(\/\/\)$/{ s//\1/; q; }
18342 /^X\(\/\).*/{ s//\1/; q; }
18344 { if $as_mkdir_p; then
18345 mkdir
-p "$ac_dest_dir"
18347 as_dir
="$ac_dest_dir"
18349 while test ! -d "$as_dir"; do
18350 as_dirs
="$as_dir $as_dirs"
18351 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18352 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18353 X"$as_dir" : 'X\(//\)[^/]' \| \
18354 X"$as_dir" : 'X\(//\)$' \| \
18355 X"$as_dir" : 'X\(/\)' \| \
18356 . : '\(.\)' 2>/dev/null ||
18358 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18359 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18360 /^X\(\/\/\)$/{ s//\1/; q; }
18361 /^X\(\/\).*/{ s//\1/; q; }
18364 test ! -n "$as_dirs" || mkdir
$as_dirs
18365 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
18366 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
18367 { (exit 1); exit 1; }; }; }
18371 if test "$ac_dest_dir" != .
; then
18372 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
18373 # A "../" for each directory in $ac_dir_suffix.
18374 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18376 ac_dir_suffix
= ac_top_builddir
=
18380 .
) # No --srcdir option. We are building in place.
18382 if test -z "$ac_top_builddir"; then
18385 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18387 [\\/]* | ?
:[\\/]* ) # Absolute path.
18388 ac_srcdir
=$srcdir$ac_dir_suffix;
18389 ac_top_srcdir
=$srcdir ;;
18390 *) # Relative path.
18391 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18392 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18395 # Do not use `cd foo && pwd` to compute absolute paths, because
18396 # the directories may not exist.
18398 .
) ac_abs_builddir
="$ac_dest_dir";;
18400 case "$ac_dest_dir" in
18401 .
) ac_abs_builddir
=`pwd`;;
18402 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
18403 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
18406 case $ac_abs_builddir in
18407 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18409 case ${ac_top_builddir}.
in
18410 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
18411 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18412 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
18415 case $ac_abs_builddir in
18416 .
) ac_abs_srcdir
=$ac_srcdir;;
18419 .
) ac_abs_srcdir
=$ac_abs_builddir;;
18420 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
18421 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
18424 case $ac_abs_builddir in
18425 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
18427 case $ac_top_srcdir in
18428 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
18429 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
18430 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
18436 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
18437 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
18440 # Try a symlink, then a hard link, then a copy.
18441 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
18442 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
18443 cp -p $srcdir/$ac_source $ac_dest ||
18444 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
18445 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
18446 { (exit 1); exit 1; }; }
18449 cat >>$CONFIG_STATUS <<\_ACEOF
18452 # CONFIG_COMMANDS section.
18454 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
18455 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
18456 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18457 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
18458 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18459 X"$ac_dest" : 'X\(//\)[^/]' \| \
18460 X"$ac_dest" : 'X\(//\)$' \| \
18461 X"$ac_dest" : 'X\(/\)' \| \
18462 . : '\(.\)' 2>/dev/null ||
18464 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18465 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18466 /^X\(\/\/\)$/{ s//\1/; q; }
18467 /^X\(\/\).*/{ s//\1/; q; }
18469 { if $as_mkdir_p; then
18474 while test ! -d "$as_dir"; do
18475 as_dirs
="$as_dir $as_dirs"
18476 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18477 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18478 X"$as_dir" : 'X\(//\)[^/]' \| \
18479 X"$as_dir" : 'X\(//\)$' \| \
18480 X"$as_dir" : 'X\(/\)' \| \
18481 . : '\(.\)' 2>/dev/null ||
18483 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18484 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18485 /^X\(\/\/\)$/{ s//\1/; q; }
18486 /^X\(\/\).*/{ s//\1/; q; }
18489 test ! -n "$as_dirs" || mkdir
$as_dirs
18490 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18491 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18492 { (exit 1); exit 1; }; }; }
18496 if test "$ac_dir" != .
; then
18497 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18498 # A "../" for each directory in $ac_dir_suffix.
18499 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18501 ac_dir_suffix
= ac_top_builddir
=
18505 .
) # No --srcdir option. We are building in place.
18507 if test -z "$ac_top_builddir"; then
18510 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18512 [\\/]* | ?
:[\\/]* ) # Absolute path.
18513 ac_srcdir
=$srcdir$ac_dir_suffix;
18514 ac_top_srcdir
=$srcdir ;;
18515 *) # Relative path.
18516 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18517 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18520 # Do not use `cd foo && pwd` to compute absolute paths, because
18521 # the directories may not exist.
18523 .
) ac_abs_builddir
="$ac_dir";;
18526 .
) ac_abs_builddir
=`pwd`;;
18527 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
18528 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
18531 case $ac_abs_builddir in
18532 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18534 case ${ac_top_builddir}.
in
18535 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
18536 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18537 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
18540 case $ac_abs_builddir in
18541 .
) ac_abs_srcdir
=$ac_srcdir;;
18544 .
) ac_abs_srcdir
=$ac_abs_builddir;;
18545 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
18546 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
18549 case $ac_abs_builddir in
18550 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
18552 case $ac_top_srcdir in
18553 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
18554 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
18555 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
18560 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
18561 echo "$as_me: executing $ac_dest commands" >&6;}
18563 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
18564 # Strip MF so we end up with the name of the file.
18565 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18566 # Check whether this is an Automake generated Makefile or not.
18567 # We used to match only the files named `Makefile.in', but
18568 # some people rename them; so instead we look at the file content.
18569 # Grep'ing the first line is not enough: some people post-process
18570 # each Makefile.in and add a new line on top of each file to say so.
18571 # So let's grep whole file.
18572 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
18573 dirpart
=`(dirname "$mf") 2>/dev/null ||
18574 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18575 X"$mf" : 'X\(//\)[^/]' \| \
18576 X"$mf" : 'X\(//\)$' \| \
18577 X"$mf" : 'X\(/\)' \| \
18578 . : '\(.\)' 2>/dev/null ||
18580 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18581 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18582 /^X\(\/\/\)$/{ s//\1/; q; }
18583 /^X\(\/\).*/{ s//\1/; q; }
18588 # Extract the definition of DEPDIR, am__include, and am__quote
18589 # from the Makefile without running `make'.
18590 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18591 test -z "$DEPDIR" && continue
18592 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18593 test -z "am__include" && continue
18594 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18595 # When using ansi2knr, U may be empty or an underscore; expand it
18596 U
=`sed -n 's/^U = //p' < "$mf"`
18597 # Find all dependency output files, they are included files with
18598 # $(DEPDIR) in their names. We invoke sed twice because it is the
18599 # simplest approach to changing $(DEPDIR) to its actual value in the
18601 for file in `sed -n "
18602 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18603 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18604 # Make sure the directory exists.
18605 test -f "$dirpart/$file" && continue
18606 fdir
=`(dirname "$file") 2>/dev/null ||
18607 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18608 X"$file" : 'X\(//\)[^/]' \| \
18609 X"$file" : 'X\(//\)$' \| \
18610 X"$file" : 'X\(/\)' \| \
18611 . : '\(.\)' 2>/dev/null ||
18613 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18614 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18615 /^X\(\/\/\)$/{ s//\1/; q; }
18616 /^X\(\/\).*/{ s//\1/; q; }
18618 { if $as_mkdir_p; then
18619 mkdir
-p $dirpart/$fdir
18621 as_dir
=$dirpart/$fdir
18623 while test ! -d "$as_dir"; do
18624 as_dirs
="$as_dir $as_dirs"
18625 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18626 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18627 X"$as_dir" : 'X\(//\)[^/]' \| \
18628 X"$as_dir" : 'X\(//\)$' \| \
18629 X"$as_dir" : 'X\(/\)' \| \
18630 . : '\(.\)' 2>/dev/null ||
18632 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18633 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18634 /^X\(\/\/\)$/{ s//\1/; q; }
18635 /^X\(\/\).*/{ s//\1/; q; }
18638 test ! -n "$as_dirs" || mkdir
$as_dirs
18639 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
18640 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
18641 { (exit 1); exit 1; }; }; }
18643 # echo "creating $dirpart/$file"
18644 echo '# dummy' > "$dirpart/$file"
18648 default
) # Only add multilib support code if we just rebuilt top-level Makefile.
18649 case " $CONFIG_FILES " in
18651 LD
="${ORIGINAL_LD_FOR_MULTILIBS}"
18652 ac_file
=Makefile .
${libgcj_basedir}/..
/config-ml.
in
18655 for ac_multi_file
in $CONFIG_FILES; do
18656 case $ac_multi_file in
18658 grep "^MULTI[^ ]* =" Makefile
>> "$ac_multi_file" ;;
18666 cat >>$CONFIG_STATUS <<\_ACEOF
18668 { (exit 0); exit 0; }
18670 chmod +x
$CONFIG_STATUS
18671 ac_clean_files
=$ac_clean_files_save
18674 # configure is writing to config.log, and then calls config.status.
18675 # config.status does its own redirection, appending to config.log.
18676 # Unfortunately, on DOS this fails, as config.log is still kept open
18677 # by configure, so config.status won't be able to write to it; its
18678 # output is simply discarded. So we exec the FD to /dev/null,
18679 # effectively closing config.log, so it can be properly (re)opened and
18680 # appended to by config.status. When coming back to configure, we
18681 # need to make the FD available again.
18682 if test "$no_create" != yes; then
18684 ac_config_status_args
=
18685 test "$silent" = yes &&
18686 ac_config_status_args
="$ac_config_status_args --quiet"
18688 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18690 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18691 # would make configure fail if this is the last instruction.
18692 $ac_cs_success ||
{ (exit 1); exit 1; }
18696 # CONFIG_SUBDIRS section.
18698 if test "$no_recursion" != yes; then
18700 # Remove --cache-file and --srcdir arguments so they do not pile up.
18701 ac_sub_configure_args
=
18703 for ac_arg
in $ac_configure_args; do
18704 if test -n "$ac_prev"; then
18709 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
18710 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
18711 ac_prev
=cache_file
;;
18712 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
18713 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
18716 --config-cache |
-C)
18718 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
18720 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
18722 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
18724 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
18726 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
18730 # Always prepend --prefix to ensure using the same prefix
18731 # in subdir configurations.
18732 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
18735 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
18737 # Do not complain, so a configure script can configure whichever
18738 # parts of a large source tree are present.
18739 test -d $srcdir/$ac_dir ||
continue
18741 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
18742 echo "$as_me: configuring in $ac_dir" >&6;}
18743 { if $as_mkdir_p; then
18748 while test ! -d "$as_dir"; do
18749 as_dirs
="$as_dir $as_dirs"
18750 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18751 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18752 X"$as_dir" : 'X\(//\)[^/]' \| \
18753 X"$as_dir" : 'X\(//\)$' \| \
18754 X"$as_dir" : 'X\(/\)' \| \
18755 . : '\(.\)' 2>/dev/null ||
18757 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18758 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18759 /^X\(\/\/\)$/{ s//\1/; q; }
18760 /^X\(\/\).*/{ s//\1/; q; }
18763 test ! -n "$as_dirs" || mkdir
$as_dirs
18764 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18765 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18766 { (exit 1); exit 1; }; }; }
18770 if test "$ac_dir" != .
; then
18771 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18772 # A "../" for each directory in $ac_dir_suffix.
18773 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18775 ac_dir_suffix
= ac_top_builddir
=
18779 .
) # No --srcdir option. We are building in place.
18781 if test -z "$ac_top_builddir"; then
18784 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18786 [\\/]* | ?
:[\\/]* ) # Absolute path.
18787 ac_srcdir
=$srcdir$ac_dir_suffix;
18788 ac_top_srcdir
=$srcdir ;;
18789 *) # Relative path.
18790 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18791 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18794 # Do not use `cd foo && pwd` to compute absolute paths, because
18795 # the directories may not exist.
18797 .
) ac_abs_builddir
="$ac_dir";;
18800 .
) ac_abs_builddir
=`pwd`;;
18801 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
18802 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
18805 case $ac_abs_builddir in
18806 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18808 case ${ac_top_builddir}.
in
18809 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
18810 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18811 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
18814 case $ac_abs_builddir in
18815 .
) ac_abs_srcdir
=$ac_srcdir;;
18818 .
) ac_abs_srcdir
=$ac_abs_builddir;;
18819 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
18820 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
18823 case $ac_abs_builddir in
18824 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
18826 case $ac_top_srcdir in
18827 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
18828 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
18829 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
18836 # Check for guested configure; otherwise get Cygnus style configure.
18837 if test -f $ac_srcdir/configure.gnu
; then
18838 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
18839 elif test -f $ac_srcdir/configure
; then
18840 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
18841 elif test -f $ac_srcdir/configure.
in; then
18842 ac_sub_configure
=$ac_configure
18844 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
18845 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
18849 # The recursion is here.
18850 if test -n "$ac_sub_configure"; then
18851 # Make the cache file name correct relative to the subdirectory.
18852 case $cache_file in
18853 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
18854 *) # Relative path.
18855 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
18858 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
18859 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
18860 # The eval makes quoting arguments work.
18861 eval $ac_sub_configure $ac_sub_configure_args \
18862 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
18863 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
18864 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
18865 { (exit 1); exit 1; }; }