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 multi_basedir host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical LN_S mkinstalldirs JAVA_MAINTAINER_MODE_TRUE JAVA_MAINTAINER_MODE_FALSE 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 MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBGCJ_CFLAGS LIBGCJ_CXXFLAGS LIBGCJ_JAVAFLAGS LIBGCJ_LD_SYMBOLIC LIBGCJ_LD_SYMBOLIC_FUNCTIONS LIBGCJDEBUG TOOLKIT XLIB_AWT_TRUE XLIB_AWT_FALSE X_AWT_TRUE X_AWT_FALSE GCJ_FOR_ECJX GCJH host_exeext INCLTDL LIBLTDL DIRLTDL LIBTOOL CXXCPP CPPFLAGS GCJ GCJFLAGS GCJDEPMODE am__fastdepGCJ_TRUE am__fastdepGCJ_FALSE subdirs TESTSUBDIR_TRUE TESTSUBDIR_FALSE ECJ_BUILD_JAR ECJ_JAR BUILD_ECJ1_TRUE BUILD_ECJ1_FALSE INSTALL_ECJ_JAR_TRUE INSTALL_ECJ_JAR_FALSE JAVA_HOME_SET_TRUE JAVA_HOME_SET_FALSE JAVA_HOME INTERPRETER LIBFFI LIBFFIINCS PLATFORM 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 ENABLE_SHARED_TRUE ENABLE_SHARED_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-multilib build many library versions
(default
)
853 --enable-version-specific-runtime-libs
854 specify that runtime libraries should be installed
855 in a compiler-specific directory
856 --enable-plugin build gcjwebplugin web browser plugin
857 --enable-gconf-peer compile GConf native peers
for util.preferences
858 --enable-java-maintainer-mode
859 allow rebuilding of .class and .h files
860 --disable-dependency-tracking speeds up one-time build
861 --enable-dependency-tracking do not reject slow dependency extractors
862 --enable-maintainer-mode enable make rules and dependencies not useful
863 (and sometimes confusing
) to the casual installer
864 --enable-libgcj-debug enable runtime debugging code
865 --enable-java-awt list of AWT peer implementations to be built
866 --enable-shared=PKGS build shared libraries default
=yes
867 --enable-static=PKGS build static libraries default
=yes
868 --enable-fast-install=PKGS optimize
for fast installation default
=yes
869 --disable-libtool-lock avoid locking
(might
break parallel builds
)
870 --disable-getenv-properties
871 don
't set system properties from GCJ_PROPERTIES
872 --enable-hash-synchronization
873 use global hash table for monitor locks
874 --enable-gc-debug include full support for pointer backtracing etc.
875 --enable-interpreter enable interpreter
876 --enable-sjlj-exceptions
877 force use of builtin_setjmp for exceptions
878 --disable-java-net disable java.net
879 --disable-jvmpi disable JVMPI support
880 --enable-java-gc=TYPE choose garbage collector (default is boehm)
881 --disable-rpath do not hardcode runtime library paths
882 --enable-tls Use thread-local storage [default=yes]
885 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
886 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
887 --with-build-libsubdir=DIR Directory where to find libraries for build system
888 --with-target-subdir=SUBDIR
889 configure in a subdirectory
890 --with-cross-host=HOST configure with a cross compiler from HOST
891 --with-newlib configure with newlib
892 --with-escher=ABS.PATH specify path to escher dir or JAR for X peers
893 --with-gnu-ld assume the C compiler uses GNU ld default=no
894 --with-pic try to use only PIC/non-PIC objects default=use both
895 --with-ecj-jar=FILE use preinstalled ecj jar
896 --with-java-home=DIRECTORY
897 value of java.home system property
898 --with-win32-nlsapi=ansi or unicows or unicode
899 native MinGW libgcj Win32 OS API (default is ansi)
900 --without-libffi don't use libffi
901 --with-ecos enable runtime eCos target support
902 --with-system-zlib use installed libz
903 --with-x use the X Window System
904 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
905 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
907 Some influential environment variables:
908 CC C compiler command
909 CFLAGS C compiler flags
910 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
911 nonstandard directory <lib dir>
912 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
913 headers in a nonstandard directory <include dir>
914 CXX C++ compiler command
915 CXXFLAGS C++ compiler flags
916 CXXCPP C++ preprocessor
919 Use these variables to override the choices made by `configure' or to
help
920 it to
find libraries and programs with nonstandard names
/locations.
925 if test "$ac_init_help" = "recursive"; then
926 # If there are subdirs, report their specific --help.
928 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
929 test -d $ac_dir ||
continue
932 if test "$ac_dir" != .
; then
933 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
934 # A "../" for each directory in $ac_dir_suffix.
935 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
937 ac_dir_suffix
= ac_top_builddir
=
941 .
) # No --srcdir option. We are building in place.
943 if test -z "$ac_top_builddir"; then
946 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
948 [\\/]* | ?
:[\\/]* ) # Absolute path.
949 ac_srcdir
=$srcdir$ac_dir_suffix;
950 ac_top_srcdir
=$srcdir ;;
952 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
953 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
956 # Do not use `cd foo && pwd` to compute absolute paths, because
957 # the directories may not exist.
959 .
) ac_abs_builddir
="$ac_dir";;
962 .
) ac_abs_builddir
=`pwd`;;
963 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
964 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
967 case $ac_abs_builddir in
968 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
970 case ${ac_top_builddir}.
in
971 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
972 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
973 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
976 case $ac_abs_builddir in
977 .
) ac_abs_srcdir
=$ac_srcdir;;
980 .
) ac_abs_srcdir
=$ac_abs_builddir;;
981 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
982 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
985 case $ac_abs_builddir in
986 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
988 case $ac_top_srcdir in
989 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
990 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
991 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
996 # Check for guested configure; otherwise get Cygnus style configure.
997 if test -f $ac_srcdir/configure.gnu
; then
999 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1000 elif test -f $ac_srcdir/configure
; then
1002 $SHELL $ac_srcdir/configure
--help=recursive
1003 elif test -f $ac_srcdir/configure.ac ||
1004 test -f $ac_srcdir/configure.
in; then
1006 $ac_configure --help
1008 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1014 test -n "$ac_init_help" && exit 0
1015 if $ac_init_version; then
1017 libjava configure version-unused
1018 generated by GNU Autoconf
2.59
1020 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1021 This configure
script is free software
; the Free Software Foundation
1022 gives unlimited permission to copy
, distribute and modify it.
1028 This file contains any messages produced by compilers while
1029 running configure, to aid debugging if configure makes a mistake.
1031 It was created by libjava $as_me version-unused, which was
1032 generated by GNU Autoconf 2.59. Invocation command line was
1043 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1044 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1045 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1046 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1047 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1049 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1050 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1052 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1053 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1054 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1055 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1056 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1057 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1058 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1066 test -z "$as_dir" && as_dir
=.
1067 echo "PATH: $as_dir"
1082 # Keep a trace of the command line.
1083 # Strip out --no-create and --no-recursion so they do not pile up.
1084 # Strip out --silent because we don't want to record it for future runs.
1085 # Also quote any args containing shell meta-characters.
1086 # Make two passes to allow for proper duplicate-argument suppression.
1091 ac_must_keep_next
=false
1097 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1098 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1099 |
-silent |
--silent |
--silen |
--sile |
--sil)
1101 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1102 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1105 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1107 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1108 if test $ac_must_keep_next = true
; then
1109 ac_must_keep_next
=false
# Got value, back to normal.
1112 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1113 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1114 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1115 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1116 case "$ac_configure_args0 " in
1117 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1120 -* ) ac_must_keep_next
=true
;;
1123 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1124 # Get rid of the leading space.
1130 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1131 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1133 # When interrupted or exit'd, cleanup temporary files, and complete
1134 # config.log. We remove comments because anyway the quotes in there
1135 # would cause problems or look ugly.
1136 # WARNING: Be sure not to use single quotes in there, as some shells,
1137 # such as our DU 5.0 friend, will then `close' the trap.
1138 trap 'exit_status=$?
1139 # Save into config.log some information that might help in debugging.
1144 ## ---------------- ##
1145 ## Cache variables. ##
1146 ## ---------------- ##
1149 # The following way of writing the cache mishandles newlines in values,
1152 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1155 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1156 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1160 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1167 ## ----------------- ##
1168 ## Output variables. ##
1169 ## ----------------- ##
1172 for ac_var in $ac_subst_vars
1174 eval ac_val=$`echo $ac_var`
1175 echo "$ac_var='"'"'$ac_val'"'"'"
1179 if test -n "$ac_subst_files"; then
1186 for ac_var in $ac_subst_files
1188 eval ac_val=$`echo $ac_var`
1189 echo "$ac_var='"'"'$ac_val'"'"'"
1194 if test -s confdefs.h; then
1201 sed "/^$/d" confdefs.h | sort
1204 test "$ac_signal" != 0 &&
1205 echo "$as_me: caught signal $ac_signal"
1206 echo "$as_me: exit $exit_status"
1208 rm -f core *.core &&
1209 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1212 for ac_signal
in 1 2 13 15; do
1213 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1217 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1218 rm -rf conftest
* confdefs.h
1219 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1222 # Predefined preprocessor variables.
1224 cat >>confdefs.h
<<_ACEOF
1225 #define PACKAGE_NAME "$PACKAGE_NAME"
1229 cat >>confdefs.h
<<_ACEOF
1230 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1234 cat >>confdefs.h
<<_ACEOF
1235 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1239 cat >>confdefs.h
<<_ACEOF
1240 #define PACKAGE_STRING "$PACKAGE_STRING"
1244 cat >>confdefs.h
<<_ACEOF
1245 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1249 # Let the site file select an alternate cache file if it wants to.
1250 # Prefer explicitly selected file to automatically selected ones.
1251 if test -z "$CONFIG_SITE"; then
1252 if test "x$prefix" != xNONE
; then
1253 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1255 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1258 for ac_site_file
in $CONFIG_SITE; do
1259 if test -r "$ac_site_file"; then
1260 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1261 echo "$as_me: loading site script $ac_site_file" >&6;}
1262 sed 's/^/| /' "$ac_site_file" >&5
1267 if test -r "$cache_file"; then
1268 # Some versions of bash will fail to source /dev/null (special
1269 # files actually), so we avoid doing that.
1270 if test -f "$cache_file"; then
1271 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1272 echo "$as_me: loading cache $cache_file" >&6;}
1274 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1275 *) . .
/$cache_file;;
1279 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1280 echo "$as_me: creating cache $cache_file" >&6;}
1284 # Check that the precious variables saved in the cache have kept the same
1286 ac_cache_corrupted
=false
1287 for ac_var
in `(set) 2>&1 |
1288 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1289 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1290 eval ac_new_set
=\
$ac_env_${ac_var}_set
1291 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1292 eval ac_new_val
="\$ac_env_${ac_var}_value"
1293 case $ac_old_set,$ac_new_set in
1295 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1296 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1297 ac_cache_corrupted
=: ;;
1299 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1300 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1301 ac_cache_corrupted
=: ;;
1304 if test "x$ac_old_val" != "x$ac_new_val"; then
1305 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1306 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1307 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1308 echo "$as_me: former value: $ac_old_val" >&2;}
1309 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1310 echo "$as_me: current value: $ac_new_val" >&2;}
1311 ac_cache_corrupted
=:
1314 # Pass precious variables to config.status.
1315 if test "$ac_new_set" = set; then
1317 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1318 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1319 *) ac_arg
=$ac_var=$ac_new_val ;;
1321 case " $ac_configure_args " in
1322 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1323 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1327 if $ac_cache_corrupted; then
1328 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1329 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1330 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1331 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1332 { (exit 1); exit 1; }; }
1336 ac_cpp
='$CPP $CPPFLAGS'
1337 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1338 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1339 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1371 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1372 if test -f $ac_dir/install-sh
; then
1374 ac_install_sh
="$ac_aux_dir/install-sh -c"
1376 elif test -f $ac_dir/install.sh
; then
1378 ac_install_sh
="$ac_aux_dir/install.sh -c"
1380 elif test -f $ac_dir/shtool
; then
1382 ac_install_sh
="$ac_aux_dir/shtool install -c"
1386 if test -z "$ac_aux_dir"; then
1387 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1388 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1389 { (exit 1); exit 1; }; }
1391 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1392 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1393 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1395 # Make sure we can run config.sub.
1396 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1397 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1398 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1399 { (exit 1); exit 1; }; }
1401 echo "$as_me:$LINENO: checking build system type" >&5
1402 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1403 if test "${ac_cv_build+set}" = set; then
1404 echo $ECHO_N "(cached) $ECHO_C" >&6
1406 ac_cv_build_alias
=$build_alias
1407 test -z "$ac_cv_build_alias" &&
1408 ac_cv_build_alias
=`$ac_config_guess`
1409 test -z "$ac_cv_build_alias" &&
1410 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1411 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1412 { (exit 1); exit 1; }; }
1413 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1414 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1415 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1416 { (exit 1); exit 1; }; }
1419 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1420 echo "${ECHO_T}$ac_cv_build" >&6
1422 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1423 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1424 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1427 case ${build_alias} in
1428 "") build_noncanonical
=${build} ;;
1429 *) build_noncanonical
=${build_alias} ;;
1432 case ${host_alias} in
1433 "") host_noncanonical
=${build_noncanonical} ;;
1434 *) host_noncanonical
=${host_alias} ;;
1437 case ${target_alias} in
1438 "") target_noncanonical
=${host_noncanonical} ;;
1439 *) target_noncanonical
=${target_alias} ;;
1443 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1444 # have matching libraries, they should use host libraries: Makefile.tpl
1445 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1446 # However, they still use the build modules, because the corresponding
1447 # host modules (e.g. bison) are only built for the host when bootstrap
1449 # - build_subdir is where we find build modules, and never changes.
1450 # - build_libsubdir is where we find build libraries, and can be overridden.
1452 # Prefix 'build-' so this never conflicts with target_subdir.
1453 build_subdir
="build-${build_noncanonical}"
1455 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1456 if test "${with_build_libsubdir+set}" = set; then
1457 withval
="$with_build_libsubdir"
1458 build_libsubdir
="$withval"
1460 build_libsubdir
="$build_subdir"
1462 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1463 if ( test $srcdir = .
&& test -d gcc
) \
1464 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1465 host_subdir
="host-${host_noncanonical}"
1470 target_subdir
=${target_noncanonical}
1473 # We use these options to decide which functions to include.
1475 # Check whether --with-target-subdir or --without-target-subdir was given.
1476 if test "${with_target_subdir+set}" = set; then
1477 withval
="$with_target_subdir"
1481 # We may get other options which we don't document:
1482 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1484 # Find the rest of the source tree framework.
1485 # Default to --enable-multilib
1486 # Check whether --enable-multilib or --disable-multilib was given.
1487 if test "${enable_multilib+set}" = set; then
1488 enableval
="$enable_multilib"
1489 case "$enableval" in
1490 yes) multilib
=yes ;;
1492 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1493 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1494 { (exit 1); exit 1; }; } ;;
1500 # We may get other options which we leave undocumented:
1501 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1502 # See config-ml.in if you want the gory details.
1504 if test "$srcdir" = "."; then
1505 if test "$with_target_subdir" != "."; then
1506 multi_basedir
="$srcdir/$with_multisrctop../.."
1508 multi_basedir
="$srcdir/$with_multisrctop.."
1511 multi_basedir
="$srcdir/.."
1515 # Even if the default multilib is not a cross compilation,
1516 # it may be that some of the other multilibs are.
1517 if test $cross_compiling = no
&& test $multilib = yes \
1518 && test "x${with_multisubdir}" != x
; then
1519 cross_compiling
=maybe
1522 ac_config_commands
="$ac_config_commands default-1"
1525 echo "$as_me:$LINENO: checking host system type" >&5
1526 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1527 if test "${ac_cv_host+set}" = set; then
1528 echo $ECHO_N "(cached) $ECHO_C" >&6
1530 ac_cv_host_alias
=$host_alias
1531 test -z "$ac_cv_host_alias" &&
1532 ac_cv_host_alias
=$ac_cv_build_alias
1533 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1534 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1535 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1536 { (exit 1); exit 1; }; }
1539 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1540 echo "${ECHO_T}$ac_cv_host" >&6
1542 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1543 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1544 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1547 echo "$as_me:$LINENO: checking target system type" >&5
1548 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1549 if test "${ac_cv_target+set}" = set; then
1550 echo $ECHO_N "(cached) $ECHO_C" >&6
1552 ac_cv_target_alias
=$target_alias
1553 test "x$ac_cv_target_alias" = "x" &&
1554 ac_cv_target_alias
=$ac_cv_host_alias
1555 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1556 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1557 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1558 { (exit 1); exit 1; }; }
1561 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1562 echo "${ECHO_T}$ac_cv_target" >&6
1563 target
=$ac_cv_target
1564 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1565 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1566 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1569 # The aliases save the names the user supplied, while $host etc.
1570 # will get canonicalized.
1571 test -n "$target_alias" &&
1572 test "$program_prefix$program_suffix$program_transform_name" = \
1574 program_prefix
=${target_alias}-
1575 case ${build_alias} in
1576 "") build_noncanonical
=${build} ;;
1577 *) build_noncanonical
=${build_alias} ;;
1580 case ${target_alias} in
1581 "") target_noncanonical
=${host_noncanonical} ;;
1582 *) target_noncanonical
=${target_alias} ;;
1588 # This works around the fact that libtool configuration may change LD
1589 # for this particular configuration, but some shells, instead of
1590 # keeping the changes in LD private, export them just because LD is
1592 ORIGINAL_LD_FOR_MULTILIBS
=$LD
1594 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1595 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1597 if test "$LN_S" = "ln -s"; then
1598 echo "$as_me:$LINENO: result: yes" >&5
1599 echo "${ECHO_T}yes" >&6
1601 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1602 echo "${ECHO_T}no, using $LN_S" >&6
1606 # This works around an automake problem.
1607 mkinstalldirs
="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
1611 # Check whether --with-cross-host or --without-cross-host was given.
1612 if test "${with_cross_host+set}" = set; then
1613 withval
="$with_cross_host"
1618 # Check whether --with-newlib or --without-newlib was given.
1619 if test "${with_newlib+set}" = set; then
1620 withval
="$with_newlib"
1624 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1625 if test "${enable_version_specific_runtime_libs+set}" = set; then
1626 enableval
="$enable_version_specific_runtime_libs"
1627 case "$enableval" in
1628 yes) version_specific_libs
=yes ;;
1629 no
) version_specific_libs
=no
;;
1630 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1631 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1632 { (exit 1); exit 1; }; };;
1635 version_specific_libs
=no
1639 # Check whether --enable-plugin or --disable-plugin was given.
1640 if test "${enable_plugin+set}" = set; then
1641 enableval
="$enable_plugin"
1642 case "$enableval" in
1643 yes) plugin_enabled
=yes ;;
1644 no
) plugin_enabled
=no
;;
1645 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable plugin" >&5
1646 echo "$as_me: error: Unknown argument to enable/disable plugin" >&2;}
1647 { (exit 1); exit 1; }; };;
1654 # Check whether --enable-gconf-peer or --disable-gconf-peer was given.
1655 if test "${enable_gconf_peer+set}" = set; then
1656 enableval
="$enable_gconf_peer"
1657 case "$enableval" in
1658 yes) gconf_enabled
=yes ;;
1659 no
) gconf_enabled
=no
;;
1660 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable gconf-peer" >&5
1661 echo "$as_me: error: Unknown argument to enable/disable gconf-peer" >&2;}
1662 { (exit 1); exit 1; }; };;
1669 # Check whether --enable-java-maintainer-mode or --disable-java-maintainer-mode was given.
1670 if test "${enable_java_maintainer_mode+set}" = set; then
1671 enableval
="$enable_java_maintainer_mode"
1676 if test "$enable_java_maintainer_mode" = yes; then
1677 JAVA_MAINTAINER_MODE_TRUE
=
1678 JAVA_MAINTAINER_MODE_FALSE
='#'
1680 JAVA_MAINTAINER_MODE_TRUE
='#'
1681 JAVA_MAINTAINER_MODE_FALSE
=
1685 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
1688 # (1) We use an abnormal CXX (without library references), so we
1689 # must cache it under a different name.
1690 # (2) CC, CFLAGS, CXX, CXXFLAGS, LDFLAGS must not be 'precious', or
1691 # the non-multilib-adjusted value will be used in multilibs.
1692 # (3) As a side effect, we must SUBST CXXFLAGS, CFLAGS, and LDFLAGS ourselves.
1693 # (4) As another side effect, automake doesn't automatically include them
1695 # (5) For libstdc++-v3, -fno-builtin must be present here so that a
1696 # non-conflicting form of std::exit can be guessed by AC_PROG_CXX, and
1697 # used in later tests. This may not be necessary in libjava; I don't know.
1700 save_CXXFLAGS
="$CXXFLAGS"
1701 CXXFLAGS
="$CXXFLAGS -fno-builtin"
1703 ac_cpp
='$CPP $CPPFLAGS'
1704 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1705 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1706 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1707 if test -n "$ac_tool_prefix"; then
1708 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1709 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1710 echo "$as_me:$LINENO: checking for $ac_word" >&5
1711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1712 if test "${ac_cv_prog_CC+set}" = set; then
1713 echo $ECHO_N "(cached) $ECHO_C" >&6
1715 if test -n "$CC"; then
1716 ac_cv_prog_CC
="$CC" # Let the user override the test.
1718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1722 test -z "$as_dir" && as_dir
=.
1723 for ac_exec_ext
in '' $ac_executable_extensions; do
1724 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1725 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1735 if test -n "$CC"; then
1736 echo "$as_me:$LINENO: result: $CC" >&5
1737 echo "${ECHO_T}$CC" >&6
1739 echo "$as_me:$LINENO: result: no" >&5
1740 echo "${ECHO_T}no" >&6
1744 if test -z "$ac_cv_prog_CC"; then
1746 # Extract the first word of "gcc", so it can be a program name with args.
1747 set dummy gcc
; ac_word
=$2
1748 echo "$as_me:$LINENO: checking for $ac_word" >&5
1749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1750 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1751 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 if test -n "$ac_ct_CC"; then
1754 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1760 test -z "$as_dir" && as_dir
=.
1761 for ac_exec_ext
in '' $ac_executable_extensions; do
1762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1763 ac_cv_prog_ac_ct_CC
="gcc"
1764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1772 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1773 if test -n "$ac_ct_CC"; then
1774 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1775 echo "${ECHO_T}$ac_ct_CC" >&6
1777 echo "$as_me:$LINENO: result: no" >&5
1778 echo "${ECHO_T}no" >&6
1786 if test -z "$CC"; then
1787 if test -n "$ac_tool_prefix"; then
1788 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1789 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1790 echo "$as_me:$LINENO: checking for $ac_word" >&5
1791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1792 if test "${ac_cv_prog_CC+set}" = set; then
1793 echo $ECHO_N "(cached) $ECHO_C" >&6
1795 if test -n "$CC"; then
1796 ac_cv_prog_CC
="$CC" # Let the user override the test.
1798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1802 test -z "$as_dir" && as_dir
=.
1803 for ac_exec_ext
in '' $ac_executable_extensions; do
1804 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1805 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1815 if test -n "$CC"; then
1816 echo "$as_me:$LINENO: result: $CC" >&5
1817 echo "${ECHO_T}$CC" >&6
1819 echo "$as_me:$LINENO: result: no" >&5
1820 echo "${ECHO_T}no" >&6
1824 if test -z "$ac_cv_prog_CC"; then
1826 # Extract the first word of "cc", so it can be a program name with args.
1827 set dummy cc
; ac_word
=$2
1828 echo "$as_me:$LINENO: checking for $ac_word" >&5
1829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1830 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1831 echo $ECHO_N "(cached) $ECHO_C" >&6
1833 if test -n "$ac_ct_CC"; then
1834 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1840 test -z "$as_dir" && as_dir
=.
1841 for ac_exec_ext
in '' $ac_executable_extensions; do
1842 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1843 ac_cv_prog_ac_ct_CC
="cc"
1844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1852 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1853 if test -n "$ac_ct_CC"; then
1854 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1855 echo "${ECHO_T}$ac_ct_CC" >&6
1857 echo "$as_me:$LINENO: result: no" >&5
1858 echo "${ECHO_T}no" >&6
1867 if test -z "$CC"; then
1868 # Extract the first word of "cc", so it can be a program name with args.
1869 set dummy cc
; ac_word
=$2
1870 echo "$as_me:$LINENO: checking for $ac_word" >&5
1871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1872 if test "${ac_cv_prog_CC+set}" = set; then
1873 echo $ECHO_N "(cached) $ECHO_C" >&6
1875 if test -n "$CC"; then
1876 ac_cv_prog_CC
="$CC" # Let the user override the test.
1879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1883 test -z "$as_dir" && as_dir
=.
1884 for ac_exec_ext
in '' $ac_executable_extensions; do
1885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1886 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1887 ac_prog_rejected
=yes
1891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1897 if test $ac_prog_rejected = yes; then
1898 # We found a bogon in the path, so make sure we never use it.
1899 set dummy
$ac_cv_prog_CC
1901 if test $# != 0; then
1902 # We chose a different compiler from the bogus one.
1903 # However, it has the same basename, so the bogon will be chosen
1904 # first if we set CC to just the basename; use the full file name.
1906 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1912 if test -n "$CC"; then
1913 echo "$as_me:$LINENO: result: $CC" >&5
1914 echo "${ECHO_T}$CC" >&6
1916 echo "$as_me:$LINENO: result: no" >&5
1917 echo "${ECHO_T}no" >&6
1921 if test -z "$CC"; then
1922 if test -n "$ac_tool_prefix"; then
1925 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1926 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1927 echo "$as_me:$LINENO: checking for $ac_word" >&5
1928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1929 if test "${ac_cv_prog_CC+set}" = set; then
1930 echo $ECHO_N "(cached) $ECHO_C" >&6
1932 if test -n "$CC"; then
1933 ac_cv_prog_CC
="$CC" # Let the user override the test.
1935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1939 test -z "$as_dir" && as_dir
=.
1940 for ac_exec_ext
in '' $ac_executable_extensions; do
1941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1942 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1952 if test -n "$CC"; then
1953 echo "$as_me:$LINENO: result: $CC" >&5
1954 echo "${ECHO_T}$CC" >&6
1956 echo "$as_me:$LINENO: result: no" >&5
1957 echo "${ECHO_T}no" >&6
1960 test -n "$CC" && break
1963 if test -z "$CC"; then
1967 # Extract the first word of "$ac_prog", so it can be a program name with args.
1968 set dummy
$ac_prog; ac_word
=$2
1969 echo "$as_me:$LINENO: checking for $ac_word" >&5
1970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1971 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1972 echo $ECHO_N "(cached) $ECHO_C" >&6
1974 if test -n "$ac_ct_CC"; then
1975 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1981 test -z "$as_dir" && as_dir
=.
1982 for ac_exec_ext
in '' $ac_executable_extensions; do
1983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1984 ac_cv_prog_ac_ct_CC
="$ac_prog"
1985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1993 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1994 if test -n "$ac_ct_CC"; then
1995 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1996 echo "${ECHO_T}$ac_ct_CC" >&6
1998 echo "$as_me:$LINENO: result: no" >&5
1999 echo "${ECHO_T}no" >&6
2002 test -n "$ac_ct_CC" && break
2011 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2012 See \`config.log' for more details." >&5
2013 echo "$as_me: error: no acceptable C compiler found in \$PATH
2014 See \`config.log' for more details." >&2;}
2015 { (exit 1); exit 1; }; }
2017 # Provide some information about the compiler.
2018 echo "$as_me:$LINENO:" \
2019 "checking for C compiler version" >&5
2020 ac_compiler
=`set X $ac_compile; echo $2`
2021 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2022 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2025 (exit $ac_status); }
2026 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2027 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2030 (exit $ac_status); }
2031 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2032 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2035 (exit $ac_status); }
2037 cat >conftest.
$ac_ext <<_ACEOF
2040 cat confdefs.h
>>conftest.
$ac_ext
2041 cat >>conftest.
$ac_ext <<_ACEOF
2042 /* end confdefs.h. */
2053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2054 (eval $ac_link) 2>&5
2056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2057 (exit $ac_status); }; then
2063 if test x
$gcc_no_link = xyes
; then
2064 # Setting cross_compile will disable run tests; it will
2065 # also disable AC_CHECK_FILE but that's generally
2066 # correct if we can't link.
2070 cat >conftest.
$ac_ext <<_ACEOF
2073 cat confdefs.h
>>conftest.
$ac_ext
2074 cat >>conftest.
$ac_ext <<_ACEOF
2075 /* end confdefs.h. */
2085 ac_clean_files_save
=$ac_clean_files
2086 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2087 # Try to create an executable without -o first, disregard a.out.
2088 # It will help us diagnose broken compilers, and finding out an intuition
2090 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2091 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2092 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2093 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2094 (eval $ac_link_default) 2>&5
2096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2097 (exit $ac_status); }; then
2098 # Find the output, starting from the most likely. This scheme is
2099 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2102 # Be careful to initialize this variable, since it used to be cached.
2103 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2105 # b.out is created by i960 compilers.
2106 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2108 test -f "$ac_file" ||
continue
2110 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2113 # This is the source file.
2116 # We found the default executable, but exeext='' is most
2120 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2121 # FIXME: I believe we export ac_cv_exeext for Libtool,
2122 # but it would be cool to find out if it's true. Does anybody
2123 # maintain Libtool? --akim.
2131 echo "$as_me: failed program was:" >&5
2132 sed 's/^/| /' conftest.
$ac_ext >&5
2134 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2135 See \`config.log' for more details." >&5
2136 echo "$as_me: error: C compiler cannot create executables
2137 See \`config.log' for more details." >&2;}
2138 { (exit 77); exit 77; }; }
2141 ac_exeext
=$ac_cv_exeext
2142 echo "$as_me:$LINENO: result: $ac_file" >&5
2143 echo "${ECHO_T}$ac_file" >&6
2145 # Check the compiler produces executables we can run. If not, either
2146 # the compiler is broken, or we cross compile.
2147 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2148 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2149 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2150 # If not cross compiling, check that we can run a simple program.
2151 if test "$cross_compiling" != yes; then
2152 if { ac_try
='./$ac_file'
2153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2157 (exit $ac_status); }; }; then
2160 if test "$cross_compiling" = maybe
; then
2163 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2164 If you meant to cross compile, use \`--host'.
2165 See \`config.log' for more details." >&5
2166 echo "$as_me: error: cannot run C compiled programs.
2167 If you meant to cross compile, use \`--host'.
2168 See \`config.log' for more details." >&2;}
2169 { (exit 1); exit 1; }; }
2173 echo "$as_me:$LINENO: result: yes" >&5
2174 echo "${ECHO_T}yes" >&6
2176 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2177 ac_clean_files
=$ac_clean_files_save
2178 # Check the compiler produces executables we can run. If not, either
2179 # the compiler is broken, or we cross compile.
2180 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2181 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2182 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2183 echo "${ECHO_T}$cross_compiling" >&6
2185 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2186 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2188 (eval $ac_link) 2>&5
2190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2191 (exit $ac_status); }; then
2192 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2193 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2194 # work properly (i.e., refer to `conftest.exe'), while it won't with
2196 for ac_file
in conftest.exe conftest conftest.
*; do
2197 test -f "$ac_file" ||
continue
2199 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2200 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2207 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2208 See \`config.log' for more details." >&5
2209 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2210 See \`config.log' for more details." >&2;}
2211 { (exit 1); exit 1; }; }
2214 rm -f conftest
$ac_cv_exeext
2215 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2216 echo "${ECHO_T}$ac_cv_exeext" >&6
2218 rm -f conftest.
$ac_ext
2219 EXEEXT
=$ac_cv_exeext
2222 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2223 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2224 if test "${ac_cv_objext+set}" = set; then
2225 echo $ECHO_N "(cached) $ECHO_C" >&6
2227 cat >conftest.
$ac_ext <<_ACEOF
2230 cat confdefs.h
>>conftest.
$ac_ext
2231 cat >>conftest.
$ac_ext <<_ACEOF
2232 /* end confdefs.h. */
2242 rm -f conftest.o conftest.obj
2243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2244 (eval $ac_compile) 2>&5
2246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2247 (exit $ac_status); }; then
2248 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2250 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2251 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2256 echo "$as_me: failed program was:" >&5
2257 sed 's/^/| /' conftest.
$ac_ext >&5
2259 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2260 See \`config.log' for more details." >&5
2261 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2262 See \`config.log' for more details." >&2;}
2263 { (exit 1); exit 1; }; }
2266 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2268 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2269 echo "${ECHO_T}$ac_cv_objext" >&6
2270 OBJEXT
=$ac_cv_objext
2272 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2273 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2274 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2275 echo $ECHO_N "(cached) $ECHO_C" >&6
2277 cat >conftest.
$ac_ext <<_ACEOF
2280 cat confdefs.h
>>conftest.
$ac_ext
2281 cat >>conftest.
$ac_ext <<_ACEOF
2282 /* end confdefs.h. */
2295 rm -f conftest.
$ac_objext
2296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2297 (eval $ac_compile) 2>conftest.er1
2299 grep -v '^ *+' conftest.er1
>conftest.err
2301 cat conftest.err
>&5
2302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2303 (exit $ac_status); } &&
2304 { ac_try
='test -z "$ac_c_werror_flag"
2305 || test ! -s conftest.err'
2306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2310 (exit $ac_status); }; } &&
2311 { ac_try
='test -s conftest.$ac_objext'
2312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2316 (exit $ac_status); }; }; then
2319 echo "$as_me: failed program was:" >&5
2320 sed 's/^/| /' conftest.
$ac_ext >&5
2324 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2325 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2328 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2329 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2330 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2331 ac_test_CFLAGS
=${CFLAGS+set}
2332 ac_save_CFLAGS
=$CFLAGS
2334 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2335 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2336 if test "${ac_cv_prog_cc_g+set}" = set; then
2337 echo $ECHO_N "(cached) $ECHO_C" >&6
2339 cat >conftest.
$ac_ext <<_ACEOF
2342 cat confdefs.h
>>conftest.
$ac_ext
2343 cat >>conftest.
$ac_ext <<_ACEOF
2344 /* end confdefs.h. */
2354 rm -f conftest.
$ac_objext
2355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2356 (eval $ac_compile) 2>conftest.er1
2358 grep -v '^ *+' conftest.er1
>conftest.err
2360 cat conftest.err
>&5
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); } &&
2363 { ac_try
='test -z "$ac_c_werror_flag"
2364 || test ! -s conftest.err'
2365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369 (exit $ac_status); }; } &&
2370 { ac_try
='test -s conftest.$ac_objext'
2371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); }; }; then
2378 echo "$as_me: failed program was:" >&5
2379 sed 's/^/| /' conftest.
$ac_ext >&5
2383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2385 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2386 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2387 if test "$ac_test_CFLAGS" = set; then
2388 CFLAGS
=$ac_save_CFLAGS
2389 elif test $ac_cv_prog_cc_g = yes; then
2390 if test "$GCC" = yes; then
2396 if test "$GCC" = yes; then
2402 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2403 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2404 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2405 echo $ECHO_N "(cached) $ECHO_C" >&6
2407 ac_cv_prog_cc_stdc
=no
2409 cat >conftest.
$ac_ext <<_ACEOF
2412 cat confdefs.h
>>conftest.
$ac_ext
2413 cat >>conftest.
$ac_ext <<_ACEOF
2414 /* end confdefs.h. */
2417 #include <sys/types.h>
2418 #include <sys/stat.h>
2419 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2420 struct buf { int x; };
2421 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2422 static char *e (p, i)
2428 static char *f (char * (*g) (char **, int), char **p, ...)
2433 s = g (p, va_arg (v,int));
2438 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2439 function prototypes and stuff, but not '\xHH' hex character constants.
2440 These don't provoke an error unfortunately, instead are silently treated
2441 as 'x'. The following induces an error, until -std1 is added to get
2442 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2443 array size at least. It's necessary to write '\x00'==0 to get something
2444 that's true only with -std1. */
2445 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2447 int test (int i, double x);
2448 struct s1 {int (*f) (int a);};
2449 struct s2 {int (*f) (double a);};
2450 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2456 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2461 # Don't try gcc -ansi; that turns off useful extensions and
2462 # breaks some systems' header files.
2463 # AIX -qlanglvl=ansi
2464 # Ultrix and OSF/1 -std1
2465 # HP-UX 10.20 and later -Ae
2466 # HP-UX older versions -Aa -D_HPUX_SOURCE
2467 # SVR4 -Xc -D__EXTENSIONS__
2468 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2470 CC
="$ac_save_CC $ac_arg"
2471 rm -f conftest.
$ac_objext
2472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2473 (eval $ac_compile) 2>conftest.er1
2475 grep -v '^ *+' conftest.er1
>conftest.err
2477 cat conftest.err
>&5
2478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2479 (exit $ac_status); } &&
2480 { ac_try
='test -z "$ac_c_werror_flag"
2481 || test ! -s conftest.err'
2482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486 (exit $ac_status); }; } &&
2487 { ac_try
='test -s conftest.$ac_objext'
2488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2492 (exit $ac_status); }; }; then
2493 ac_cv_prog_cc_stdc
=$ac_arg
2496 echo "$as_me: failed program was:" >&5
2497 sed 's/^/| /' conftest.
$ac_ext >&5
2500 rm -f conftest.err conftest.
$ac_objext
2502 rm -f conftest.
$ac_ext conftest.
$ac_objext
2507 case "x$ac_cv_prog_cc_stdc" in
2509 echo "$as_me:$LINENO: result: none needed" >&5
2510 echo "${ECHO_T}none needed" >&6 ;;
2512 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2513 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2514 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2517 # Some people use a C++ compiler to compile C. Since we use `exit',
2518 # in C++ we need to declare it. In case someone uses the same compiler
2519 # for both compiling C and C++ we need to have the C++ compiler decide
2520 # the declaration of exit, since it's the most demanding environment.
2521 cat >conftest.
$ac_ext <<_ACEOF
2526 rm -f conftest.
$ac_objext
2527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2528 (eval $ac_compile) 2>conftest.er1
2530 grep -v '^ *+' conftest.er1
>conftest.err
2532 cat conftest.err
>&5
2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534 (exit $ac_status); } &&
2535 { ac_try
='test -z "$ac_c_werror_flag"
2536 || test ! -s conftest.err'
2537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); }; } &&
2542 { ac_try
='test -s conftest.$ac_objext'
2543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); }; }; then
2548 for ac_declaration
in \
2550 'extern "C" void std::exit (int) throw (); using std::exit;' \
2551 'extern "C" void std::exit (int); using std::exit;' \
2552 'extern "C" void exit (int) throw ();' \
2553 'extern "C" void exit (int);' \
2556 cat >conftest.
$ac_ext <<_ACEOF
2559 cat confdefs.h
>>conftest.
$ac_ext
2560 cat >>conftest.
$ac_ext <<_ACEOF
2561 /* end confdefs.h. */
2572 rm -f conftest.
$ac_objext
2573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2574 (eval $ac_compile) 2>conftest.er1
2576 grep -v '^ *+' conftest.er1
>conftest.err
2578 cat conftest.err
>&5
2579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2580 (exit $ac_status); } &&
2581 { ac_try
='test -z "$ac_c_werror_flag"
2582 || test ! -s conftest.err'
2583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 (exit $ac_status); }; } &&
2588 { ac_try
='test -s conftest.$ac_objext'
2589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); }; }; then
2596 echo "$as_me: failed program was:" >&5
2597 sed 's/^/| /' conftest.
$ac_ext >&5
2601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2602 cat >conftest.
$ac_ext <<_ACEOF
2605 cat confdefs.h
>>conftest.
$ac_ext
2606 cat >>conftest.
$ac_ext <<_ACEOF
2607 /* end confdefs.h. */
2617 rm -f conftest.
$ac_objext
2618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2619 (eval $ac_compile) 2>conftest.er1
2621 grep -v '^ *+' conftest.er1
>conftest.err
2623 cat conftest.err
>&5
2624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625 (exit $ac_status); } &&
2626 { ac_try
='test -z "$ac_c_werror_flag"
2627 || test ! -s conftest.err'
2628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2632 (exit $ac_status); }; } &&
2633 { ac_try
='test -s conftest.$ac_objext'
2634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638 (exit $ac_status); }; }; then
2641 echo "$as_me: failed program was:" >&5
2642 sed 's/^/| /' conftest.
$ac_ext >&5
2645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2648 if test -n "$ac_declaration"; then
2649 echo '#ifdef __cplusplus' >>confdefs.h
2650 echo $ac_declaration >>confdefs.h
2651 echo '#endif' >>confdefs.h
2655 echo "$as_me: failed program was:" >&5
2656 sed 's/^/| /' conftest.
$ac_ext >&5
2659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2661 ac_cpp
='$CPP $CPPFLAGS'
2662 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2663 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2664 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2667 ac_cpp
='$CXXCPP $CPPFLAGS'
2668 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2669 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2670 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2671 if test -n "$ac_tool_prefix"; then
2672 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2674 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2675 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2676 echo "$as_me:$LINENO: checking for $ac_word" >&5
2677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2678 if test "${ac_cv_prog_CXX+set}" = set; then
2679 echo $ECHO_N "(cached) $ECHO_C" >&6
2681 if test -n "$CXX"; then
2682 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2688 test -z "$as_dir" && as_dir
=.
2689 for ac_exec_ext
in '' $ac_executable_extensions; do
2690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2691 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2701 if test -n "$CXX"; then
2702 echo "$as_me:$LINENO: result: $CXX" >&5
2703 echo "${ECHO_T}$CXX" >&6
2705 echo "$as_me:$LINENO: result: no" >&5
2706 echo "${ECHO_T}no" >&6
2709 test -n "$CXX" && break
2712 if test -z "$CXX"; then
2714 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2716 # Extract the first word of "$ac_prog", so it can be a program name with args.
2717 set dummy
$ac_prog; ac_word
=$2
2718 echo "$as_me:$LINENO: checking for $ac_word" >&5
2719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2720 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2721 echo $ECHO_N "(cached) $ECHO_C" >&6
2723 if test -n "$ac_ct_CXX"; then
2724 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2730 test -z "$as_dir" && as_dir
=.
2731 for ac_exec_ext
in '' $ac_executable_extensions; do
2732 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2733 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2742 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2743 if test -n "$ac_ct_CXX"; then
2744 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2745 echo "${ECHO_T}$ac_ct_CXX" >&6
2747 echo "$as_me:$LINENO: result: no" >&5
2748 echo "${ECHO_T}no" >&6
2751 test -n "$ac_ct_CXX" && break
2753 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2759 # Provide some information about the compiler.
2760 echo "$as_me:$LINENO:" \
2761 "checking for C++ compiler version" >&5
2762 ac_compiler
=`set X $ac_compile; echo $2`
2763 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2764 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2767 (exit $ac_status); }
2768 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2769 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772 (exit $ac_status); }
2773 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2774 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); }
2779 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2780 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2781 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2782 echo $ECHO_N "(cached) $ECHO_C" >&6
2784 cat >conftest.
$ac_ext <<_ACEOF
2787 cat confdefs.h
>>conftest.
$ac_ext
2788 cat >>conftest.
$ac_ext <<_ACEOF
2789 /* end confdefs.h. */
2802 rm -f conftest.
$ac_objext
2803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2804 (eval $ac_compile) 2>conftest.er1
2806 grep -v '^ *+' conftest.er1
>conftest.err
2808 cat conftest.err
>&5
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); } &&
2811 { ac_try
='test -z "$ac_cxx_werror_flag"
2812 || test ! -s conftest.err'
2813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817 (exit $ac_status); }; } &&
2818 { ac_try
='test -s conftest.$ac_objext'
2819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 (exit $ac_status); }; }; then
2826 echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.
$ac_ext >&5
2831 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2832 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2835 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2836 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2837 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2838 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2839 ac_save_CXXFLAGS
=$CXXFLAGS
2841 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2842 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2843 if test "${ac_cv_prog_cxx_g+set}" = set; then
2844 echo $ECHO_N "(cached) $ECHO_C" >&6
2846 cat >conftest.
$ac_ext <<_ACEOF
2849 cat confdefs.h
>>conftest.
$ac_ext
2850 cat >>conftest.
$ac_ext <<_ACEOF
2851 /* end confdefs.h. */
2861 rm -f conftest.
$ac_objext
2862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2863 (eval $ac_compile) 2>conftest.er1
2865 grep -v '^ *+' conftest.er1
>conftest.err
2867 cat conftest.err
>&5
2868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2869 (exit $ac_status); } &&
2870 { ac_try
='test -z "$ac_cxx_werror_flag"
2871 || test ! -s conftest.err'
2872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876 (exit $ac_status); }; } &&
2877 { ac_try
='test -s conftest.$ac_objext'
2878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882 (exit $ac_status); }; }; then
2883 ac_cv_prog_cxx_g
=yes
2885 echo "$as_me: failed program was:" >&5
2886 sed 's/^/| /' conftest.
$ac_ext >&5
2890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2892 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2893 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2894 if test "$ac_test_CXXFLAGS" = set; then
2895 CXXFLAGS
=$ac_save_CXXFLAGS
2896 elif test $ac_cv_prog_cxx_g = yes; then
2897 if test "$GXX" = yes; then
2903 if test "$GXX" = yes; then
2909 for ac_declaration
in \
2911 'extern "C" void std::exit (int) throw (); using std::exit;' \
2912 'extern "C" void std::exit (int); using std::exit;' \
2913 'extern "C" void exit (int) throw ();' \
2914 'extern "C" void exit (int);' \
2917 cat >conftest.
$ac_ext <<_ACEOF
2920 cat confdefs.h
>>conftest.
$ac_ext
2921 cat >>conftest.
$ac_ext <<_ACEOF
2922 /* end confdefs.h. */
2933 rm -f conftest.
$ac_objext
2934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2935 (eval $ac_compile) 2>conftest.er1
2937 grep -v '^ *+' conftest.er1
>conftest.err
2939 cat conftest.err
>&5
2940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941 (exit $ac_status); } &&
2942 { ac_try
='test -z "$ac_cxx_werror_flag"
2943 || test ! -s conftest.err'
2944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948 (exit $ac_status); }; } &&
2949 { ac_try
='test -s conftest.$ac_objext'
2950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954 (exit $ac_status); }; }; then
2957 echo "$as_me: failed program was:" >&5
2958 sed 's/^/| /' conftest.
$ac_ext >&5
2962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2963 cat >conftest.
$ac_ext <<_ACEOF
2966 cat confdefs.h
>>conftest.
$ac_ext
2967 cat >>conftest.
$ac_ext <<_ACEOF
2968 /* end confdefs.h. */
2978 rm -f conftest.
$ac_objext
2979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2980 (eval $ac_compile) 2>conftest.er1
2982 grep -v '^ *+' conftest.er1
>conftest.err
2984 cat conftest.err
>&5
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); } &&
2987 { ac_try
='test -z "$ac_cxx_werror_flag"
2988 || test ! -s conftest.err'
2989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993 (exit $ac_status); }; } &&
2994 { ac_try
='test -s conftest.$ac_objext'
2995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999 (exit $ac_status); }; }; then
3002 echo "$as_me: failed program was:" >&5
3003 sed 's/^/| /' conftest.
$ac_ext >&5
3006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3009 if test -n "$ac_declaration"; then
3010 echo '#ifdef __cplusplus' >>confdefs.h
3011 echo $ac_declaration >>confdefs.h
3012 echo '#endif' >>confdefs.h
3016 ac_cpp
='$CPP $CPPFLAGS'
3017 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3018 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3019 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3021 CXXFLAGS
="$save_CXXFLAGS"
3027 am__api_version
="1.9"
3028 # Find a good install program. We prefer a C program (faster),
3029 # so one script is as good as another. But avoid the broken or
3030 # incompatible versions:
3031 # SysV /etc/install, /usr/sbin/install
3032 # SunOS /usr/etc/install
3033 # IRIX /sbin/install
3035 # AmigaOS /C/install, which installs bootblocks on floppy discs
3036 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3037 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3038 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3039 # OS/2's system install, which has a completely different semantic
3040 # ./install, which can be erroneously created by make from ./install.sh.
3041 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3042 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3043 if test -z "$INSTALL"; then
3044 if test "${ac_cv_path_install+set}" = set; then
3045 echo $ECHO_N "(cached) $ECHO_C" >&6
3047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3051 test -z "$as_dir" && as_dir
=.
3052 # Account for people who put trailing slashes in PATH elements.
3054 .
/ | .
// |
/cC
/* | \
3055 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3056 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3059 # OSF1 and SCO ODT 3.0 have their own names for install.
3060 # Don't use installbsd from OSF since it installs stuff as root
3062 for ac_prog
in ginstall scoinst
install; do
3063 for ac_exec_ext
in '' $ac_executable_extensions; do
3064 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3065 if test $ac_prog = install &&
3066 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3067 # AIX install. It has an incompatible calling convention.
3069 elif test $ac_prog = install &&
3070 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3071 # program-specific install script used by HP pwplus--don't use.
3074 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3086 if test "${ac_cv_path_install+set}" = set; then
3087 INSTALL
=$ac_cv_path_install
3089 # As a last resort, use the slow shell script. We don't cache a
3090 # path for INSTALL within a source directory, because that will
3091 # break other packages using the cache if that directory is
3092 # removed, or if the path is relative.
3093 INSTALL
=$ac_install_sh
3096 echo "$as_me:$LINENO: result: $INSTALL" >&5
3097 echo "${ECHO_T}$INSTALL" >&6
3099 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3100 # It thinks the first close brace ends the variable substitution.
3101 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3103 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3105 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3107 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3108 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
3111 echo timestamp
> conftest.
file
3112 # Do `set' in a subshell so we don't clobber the current shell's
3113 # arguments. Must try -L first in case configure is actually a
3114 # symlink; some systems play weird games with the mod time of symlinks
3115 # (eg FreeBSD returns the mod time of the symlink's containing
3118 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
3119 if test "$*" = "X"; then
3121 set X
`ls -t $srcdir/configure conftest.file`
3124 if test "$*" != "X $srcdir/configure conftest.file" \
3125 && test "$*" != "X conftest.file $srcdir/configure"; then
3127 # If neither matched, then we have a broken ls. This can happen
3128 # if, for instance, CONFIG_SHELL is bash and it inherits a
3129 # broken ls alias from the environment. This has actually
3130 # happened. Such a system could not be considered "sane".
3131 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
3132 alias in your environment" >&5
3133 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
3134 alias in your environment" >&2;}
3135 { (exit 1); exit 1; }; }
3138 test "$2" = conftest.
file
3144 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3145 Check your system clock" >&5
3146 echo "$as_me: error: newly created file is older than distributed files!
3147 Check your system clock" >&2;}
3148 { (exit 1); exit 1; }; }
3150 echo "$as_me:$LINENO: result: yes" >&5
3151 echo "${ECHO_T}yes" >&6
3152 test "$program_prefix" != NONE
&&
3153 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
3154 # Use a double $ so make ignores it.
3155 test "$program_suffix" != NONE
&&
3156 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
3157 # Double any \ or $. echo might interpret backslashes.
3158 # By default was `s,x,x', remove it if useless.
3159 cat <<\_ACEOF
>conftest.
sed
3160 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
3162 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
3165 # expand $ac_aux_dir to an absolute path
3166 am_aux_dir
=`cd $ac_aux_dir && pwd`
3168 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
3169 # Use eval to expand $SHELL
3170 if eval "$MISSING --run true"; then
3171 am_missing_run
="$MISSING --run "
3174 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3175 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3178 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
3179 # We used to keeping the `.' as first argument, in order to
3180 # allow $(mkdir_p) to be used without argument. As in
3181 # $(mkdir_p) $(somedir)
3182 # where $(somedir) is conditionally defined. However this is wrong
3184 # 1. if the package is installed by a user who cannot write `.'
3185 # make install will fail,
3186 # 2. the above comment should most certainly read
3187 # $(mkdir_p) $(DESTDIR)$(somedir)
3188 # so it does not work when $(somedir) is undefined and
3189 # $(DESTDIR) is not.
3190 # To support the latter case, we have to write
3191 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
3192 # so the `.' trick is pointless.
3193 mkdir_p
='mkdir -p --'
3195 # On NextStep and OpenStep, the `mkdir' command does not
3196 # recognize any option. It will interpret all options as
3197 # directories to create, and then abort because `.' already
3199 for d
in .
/-p .
/--version;
3201 test -d $d && rmdir $d
3203 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
3204 if test -f "$ac_aux_dir/mkinstalldirs"; then
3205 mkdir_p
='$(mkinstalldirs)'
3207 mkdir_p
='$(install_sh) -d'
3211 for ac_prog
in gawk mawk nawk
awk
3213 # Extract the first word of "$ac_prog", so it can be a program name with args.
3214 set dummy
$ac_prog; ac_word
=$2
3215 echo "$as_me:$LINENO: checking for $ac_word" >&5
3216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3217 if test "${ac_cv_prog_AWK+set}" = set; then
3218 echo $ECHO_N "(cached) $ECHO_C" >&6
3220 if test -n "$AWK"; then
3221 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3227 test -z "$as_dir" && as_dir
=.
3228 for ac_exec_ext
in '' $ac_executable_extensions; do
3229 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3230 ac_cv_prog_AWK
="$ac_prog"
3231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3240 if test -n "$AWK"; then
3241 echo "$as_me:$LINENO: result: $AWK" >&5
3242 echo "${ECHO_T}$AWK" >&6
3244 echo "$as_me:$LINENO: result: no" >&5
3245 echo "${ECHO_T}no" >&6
3248 test -n "$AWK" && break
3251 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3252 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3253 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3254 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3255 echo $ECHO_N "(cached) $ECHO_C" >&6
3257 cat >conftest.
make <<\_ACEOF
3259 @
echo 'ac_maketemp="$(MAKE)"'
3261 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3262 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3263 if test -n "$ac_maketemp"; then
3264 eval ac_cv_prog_make_
${ac_make}_set
=yes
3266 eval ac_cv_prog_make_
${ac_make}_set
=no
3270 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3271 echo "$as_me:$LINENO: result: yes" >&5
3272 echo "${ECHO_T}yes" >&6
3275 echo "$as_me:$LINENO: result: no" >&5
3276 echo "${ECHO_T}no" >&6
3277 SET_MAKE
="MAKE=${MAKE-make}"
3280 rm -rf .tst
2>/dev
/null
3281 mkdir .tst
2>/dev
/null
3282 if test -d .tst
; then
3287 rmdir .tst
2>/dev
/null
3289 DEPDIR
="${am__leading_dot}deps"
3291 ac_config_commands
="$ac_config_commands depfiles"
3294 am_make
=${MAKE-make}
3295 cat > confinc
<< 'END'
3300 # If we don't find an include directive, just comment out the code.
3301 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3302 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3306 # First try GNU make style include.
3307 echo "include confinc" > confmf
3308 # We grep out `Entering directory' and `Leaving directory'
3309 # messages which can occur if `w' ends up in MAKEFLAGS.
3310 # In particular we don't look at `^make:' because GNU make might
3311 # be invoked under some other name (usually "gmake"), in which
3312 # case it prints its new name instead of `make'.
3313 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3318 # Now try BSD make style include.
3319 if test "$am__include" = "#"; then
3320 echo '.include "confinc"' > confmf
3321 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3322 am__include
=.include
3329 echo "$as_me:$LINENO: result: $_am_result" >&5
3330 echo "${ECHO_T}$_am_result" >&6
3331 rm -f confinc confmf
3333 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3334 if test "${enable_dependency_tracking+set}" = set; then
3335 enableval
="$enable_dependency_tracking"
3338 if test "x$enable_dependency_tracking" != xno
; then
3339 am_depcomp
="$ac_aux_dir/depcomp"
3344 if test "x$enable_dependency_tracking" != xno; then
3354 # test to see if srcdir already configured
3355 if test "`cd $srcdir && pwd`" != "`pwd`" &&
3356 test -f $srcdir/config.status
; then
3357 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3358 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3359 { (exit 1); exit 1; }; }
3362 # test whether we have cygpath
3363 if test -z "$CYGPATH_W"; then
3364 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3365 CYGPATH_W
='cygpath -w'
3372 # Define the identity of the package.
3374 VERSION
='version-unused'
3377 cat >>confdefs.h
<<_ACEOF
3378 #define PACKAGE "$PACKAGE"
3382 cat >>confdefs.h
<<_ACEOF
3383 #define VERSION "$VERSION"
3386 # Some tools Automake needs.
3388 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3391 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3394 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3397 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3400 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3402 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3404 # Installed binaries are usually stripped using `strip' when the user
3405 # run `make install-strip'. However `strip' might not be the right
3406 # tool to use in cross-compilation environments, therefore Automake
3407 # will honor the `STRIP' environment variable to overrule this program.
3408 if test "$cross_compiling" != no
; then
3409 if test -n "$ac_tool_prefix"; then
3410 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3411 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3412 echo "$as_me:$LINENO: checking for $ac_word" >&5
3413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3414 if test "${ac_cv_prog_STRIP+set}" = set; then
3415 echo $ECHO_N "(cached) $ECHO_C" >&6
3417 if test -n "$STRIP"; then
3418 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3424 test -z "$as_dir" && as_dir
=.
3425 for ac_exec_ext
in '' $ac_executable_extensions; do
3426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3427 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3436 STRIP
=$ac_cv_prog_STRIP
3437 if test -n "$STRIP"; then
3438 echo "$as_me:$LINENO: result: $STRIP" >&5
3439 echo "${ECHO_T}$STRIP" >&6
3441 echo "$as_me:$LINENO: result: no" >&5
3442 echo "${ECHO_T}no" >&6
3446 if test -z "$ac_cv_prog_STRIP"; then
3448 # Extract the first word of "strip", so it can be a program name with args.
3449 set dummy strip
; ac_word
=$2
3450 echo "$as_me:$LINENO: checking for $ac_word" >&5
3451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3452 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3453 echo $ECHO_N "(cached) $ECHO_C" >&6
3455 if test -n "$ac_ct_STRIP"; then
3456 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3462 test -z "$as_dir" && as_dir
=.
3463 for ac_exec_ext
in '' $ac_executable_extensions; do
3464 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3465 ac_cv_prog_ac_ct_STRIP
="strip"
3466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3472 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3475 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3476 if test -n "$ac_ct_STRIP"; then
3477 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3478 echo "${ECHO_T}$ac_ct_STRIP" >&6
3480 echo "$as_me:$LINENO: result: no" >&5
3481 echo "${ECHO_T}no" >&6
3486 STRIP
="$ac_cv_prog_STRIP"
3490 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3492 # We need awk for the "check" target. The system "awk" is bad on
3494 # Always define AMTAR for backward compatibility.
3496 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3498 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3503 depcc
="$CC" am_compiler_list
=
3505 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3506 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3507 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3508 echo $ECHO_N "(cached) $ECHO_C" >&6
3510 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3511 # We make a subdir and do the tests there. Otherwise we can end up
3512 # making bogus files that we don't know about and never remove. For
3513 # instance it was reported that on HP-UX the gcc test will end up
3514 # making a dummy file named `D' -- because `-MD' means `put the output
3517 # Copy depcomp to subdir because otherwise we won't find it if we're
3518 # using a relative directory.
3519 cp "$am_depcomp" conftest.dir
3521 # We will build objects and dependencies in a subdirectory because
3522 # it helps to detect inapplicable dependency modes. For instance
3523 # both Tru64's cc and ICC support -MD to output dependencies as a
3524 # side effect of compilation, but ICC will put the dependencies in
3525 # the current directory while Tru64 will put them in the object
3529 am_cv_CC_dependencies_compiler_type
=none
3530 if test "$am_compiler_list" = ""; then
3531 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3533 for depmode
in $am_compiler_list; do
3534 # Setup a source with many dependencies, because some compilers
3535 # like to wrap large dependency lists on column 80 (with \), and
3536 # we should not choose a depcomp mode which is confused by this.
3538 # We need to recreate these files for each test, as the compiler may
3539 # overwrite some of them when testing with obscure command lines.
3540 # This happens at least with the AIX C compiler.
3542 for i
in 1 2 3 4 5 6; do
3543 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3544 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3545 # Solaris 8's {/usr,}/bin/sh.
3546 touch sub
/conftst
$i.h
3548 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3552 # after this tag, mechanisms are not by side-effect, so they'll
3553 # only be used when explicitly requested
3554 if test "x$enable_dependency_tracking" = xyes
; then
3562 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3563 # mode. It turns out that the SunPro C++ compiler does not properly
3564 # handle `-M -o', and we need to detect this.
3565 if depmode
=$depmode \
3566 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3567 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3568 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3569 >/dev
/null
2>conftest.err
&&
3570 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3571 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3572 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3573 # icc doesn't choke on unknown options, it will just issue warnings
3574 # or remarks (even with -Werror). So we grep stderr for any message
3575 # that says an option was ignored or not supported.
3576 # When given -MP, icc 7.0 and 7.1 complain thusly:
3577 # icc: Command line warning: ignoring option '-M'; no argument required
3578 # The diagnosis changed in icc 8.0:
3579 # icc: Command line remark: option '-MP' not supported
3580 if (grep 'ignoring option' conftest.err ||
3581 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3582 am_cv_CC_dependencies_compiler_type
=$depmode
3591 am_cv_CC_dependencies_compiler_type
=none
3595 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3596 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3597 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3602 test "x$enable_dependency_tracking" != xno \
3603 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3605 am__fastdepCC_FALSE
='#'
3607 am__fastdepCC_TRUE
='#'
3608 am__fastdepCC_FALSE
=
3612 depcc
="$CXX" am_compiler_list
=
3614 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3615 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3616 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3617 echo $ECHO_N "(cached) $ECHO_C" >&6
3619 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3620 # We make a subdir and do the tests there. Otherwise we can end up
3621 # making bogus files that we don't know about and never remove. For
3622 # instance it was reported that on HP-UX the gcc test will end up
3623 # making a dummy file named `D' -- because `-MD' means `put the output
3626 # Copy depcomp to subdir because otherwise we won't find it if we're
3627 # using a relative directory.
3628 cp "$am_depcomp" conftest.dir
3630 # We will build objects and dependencies in a subdirectory because
3631 # it helps to detect inapplicable dependency modes. For instance
3632 # both Tru64's cc and ICC support -MD to output dependencies as a
3633 # side effect of compilation, but ICC will put the dependencies in
3634 # the current directory while Tru64 will put them in the object
3638 am_cv_CXX_dependencies_compiler_type
=none
3639 if test "$am_compiler_list" = ""; then
3640 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3642 for depmode
in $am_compiler_list; do
3643 # Setup a source with many dependencies, because some compilers
3644 # like to wrap large dependency lists on column 80 (with \), and
3645 # we should not choose a depcomp mode which is confused by this.
3647 # We need to recreate these files for each test, as the compiler may
3648 # overwrite some of them when testing with obscure command lines.
3649 # This happens at least with the AIX C compiler.
3651 for i
in 1 2 3 4 5 6; do
3652 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3653 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3654 # Solaris 8's {/usr,}/bin/sh.
3655 touch sub
/conftst
$i.h
3657 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3661 # after this tag, mechanisms are not by side-effect, so they'll
3662 # only be used when explicitly requested
3663 if test "x$enable_dependency_tracking" = xyes
; then
3671 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3672 # mode. It turns out that the SunPro C++ compiler does not properly
3673 # handle `-M -o', and we need to detect this.
3674 if depmode
=$depmode \
3675 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3676 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3677 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3678 >/dev
/null
2>conftest.err
&&
3679 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3680 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3681 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3682 # icc doesn't choke on unknown options, it will just issue warnings
3683 # or remarks (even with -Werror). So we grep stderr for any message
3684 # that says an option was ignored or not supported.
3685 # When given -MP, icc 7.0 and 7.1 complain thusly:
3686 # icc: Command line warning: ignoring option '-M'; no argument required
3687 # The diagnosis changed in icc 8.0:
3688 # icc: Command line remark: option '-MP' not supported
3689 if (grep 'ignoring option' conftest.err ||
3690 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3691 am_cv_CXX_dependencies_compiler_type
=$depmode
3700 am_cv_CXX_dependencies_compiler_type
=none
3704 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3705 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3706 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3711 test "x$enable_dependency_tracking" != xno \
3712 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3713 am__fastdepCXX_TRUE
=
3714 am__fastdepCXX_FALSE
='#'
3716 am__fastdepCXX_TRUE
='#'
3717 am__fastdepCXX_FALSE
=
3723 if test -n "$ac_tool_prefix"; then
3724 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3725 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3726 echo "$as_me:$LINENO: checking for $ac_word" >&5
3727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3728 if test "${ac_cv_prog_AS+set}" = set; then
3729 echo $ECHO_N "(cached) $ECHO_C" >&6
3731 if test -n "$AS"; then
3732 ac_cv_prog_AS
="$AS" # Let the user override the test.
3734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3738 test -z "$as_dir" && as_dir
=.
3739 for ac_exec_ext
in '' $ac_executable_extensions; do
3740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3741 ac_cv_prog_AS
="${ac_tool_prefix}as"
3742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3751 if test -n "$AS"; then
3752 echo "$as_me:$LINENO: result: $AS" >&5
3753 echo "${ECHO_T}$AS" >&6
3755 echo "$as_me:$LINENO: result: no" >&5
3756 echo "${ECHO_T}no" >&6
3760 if test -z "$ac_cv_prog_AS"; then
3762 # Extract the first word of "as", so it can be a program name with args.
3763 set dummy as
; ac_word
=$2
3764 echo "$as_me:$LINENO: checking for $ac_word" >&5
3765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3766 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3767 echo $ECHO_N "(cached) $ECHO_C" >&6
3769 if test -n "$ac_ct_AS"; then
3770 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3776 test -z "$as_dir" && as_dir
=.
3777 for ac_exec_ext
in '' $ac_executable_extensions; do
3778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3779 ac_cv_prog_ac_ct_AS
="as"
3780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3788 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3789 if test -n "$ac_ct_AS"; then
3790 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3791 echo "${ECHO_T}$ac_ct_AS" >&6
3793 echo "$as_me:$LINENO: result: no" >&5
3794 echo "${ECHO_T}no" >&6
3802 if test -n "$ac_tool_prefix"; then
3803 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
3804 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
3805 echo "$as_me:$LINENO: checking for $ac_word" >&5
3806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3807 if test "${ac_cv_prog_LD+set}" = set; then
3808 echo $ECHO_N "(cached) $ECHO_C" >&6
3810 if test -n "$LD"; then
3811 ac_cv_prog_LD
="$LD" # Let the user override the test.
3813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3817 test -z "$as_dir" && as_dir
=.
3818 for ac_exec_ext
in '' $ac_executable_extensions; do
3819 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3820 ac_cv_prog_LD
="${ac_tool_prefix}ld"
3821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3830 if test -n "$LD"; then
3831 echo "$as_me:$LINENO: result: $LD" >&5
3832 echo "${ECHO_T}$LD" >&6
3834 echo "$as_me:$LINENO: result: no" >&5
3835 echo "${ECHO_T}no" >&6
3839 if test -z "$ac_cv_prog_LD"; then
3841 # Extract the first word of "ld", so it can be a program name with args.
3842 set dummy ld
; ac_word
=$2
3843 echo "$as_me:$LINENO: checking for $ac_word" >&5
3844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3845 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
3846 echo $ECHO_N "(cached) $ECHO_C" >&6
3848 if test -n "$ac_ct_LD"; then
3849 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
3851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3855 test -z "$as_dir" && as_dir
=.
3856 for ac_exec_ext
in '' $ac_executable_extensions; do
3857 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3858 ac_cv_prog_ac_ct_LD
="ld"
3859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3867 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
3868 if test -n "$ac_ct_LD"; then
3869 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
3870 echo "${ECHO_T}$ac_ct_LD" >&6
3872 echo "$as_me:$LINENO: result: no" >&5
3873 echo "${ECHO_T}no" >&6
3881 if test -n "$ac_tool_prefix"; then
3882 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3883 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3884 echo "$as_me:$LINENO: checking for $ac_word" >&5
3885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3886 if test "${ac_cv_prog_AR+set}" = set; then
3887 echo $ECHO_N "(cached) $ECHO_C" >&6
3889 if test -n "$AR"; then
3890 ac_cv_prog_AR
="$AR" # Let the user override the test.
3892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3896 test -z "$as_dir" && as_dir
=.
3897 for ac_exec_ext
in '' $ac_executable_extensions; do
3898 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3899 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3909 if test -n "$AR"; then
3910 echo "$as_me:$LINENO: result: $AR" >&5
3911 echo "${ECHO_T}$AR" >&6
3913 echo "$as_me:$LINENO: result: no" >&5
3914 echo "${ECHO_T}no" >&6
3918 if test -z "$ac_cv_prog_AR"; then
3920 # Extract the first word of "ar", so it can be a program name with args.
3921 set dummy
ar; ac_word
=$2
3922 echo "$as_me:$LINENO: checking for $ac_word" >&5
3923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3924 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3925 echo $ECHO_N "(cached) $ECHO_C" >&6
3927 if test -n "$ac_ct_AR"; then
3928 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3934 test -z "$as_dir" && as_dir
=.
3935 for ac_exec_ext
in '' $ac_executable_extensions; do
3936 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3937 ac_cv_prog_ac_ct_AR
="ar"
3938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3946 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3947 if test -n "$ac_ct_AR"; then
3948 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3949 echo "${ECHO_T}$ac_ct_AR" >&6
3951 echo "$as_me:$LINENO: result: no" >&5
3952 echo "${ECHO_T}no" >&6
3960 if test -n "$ac_tool_prefix"; then
3961 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3962 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3963 echo "$as_me:$LINENO: checking for $ac_word" >&5
3964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3965 if test "${ac_cv_prog_RANLIB+set}" = set; then
3966 echo $ECHO_N "(cached) $ECHO_C" >&6
3968 if test -n "$RANLIB"; then
3969 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3975 test -z "$as_dir" && as_dir
=.
3976 for ac_exec_ext
in '' $ac_executable_extensions; do
3977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3978 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3987 RANLIB
=$ac_cv_prog_RANLIB
3988 if test -n "$RANLIB"; then
3989 echo "$as_me:$LINENO: result: $RANLIB" >&5
3990 echo "${ECHO_T}$RANLIB" >&6
3992 echo "$as_me:$LINENO: result: no" >&5
3993 echo "${ECHO_T}no" >&6
3997 if test -z "$ac_cv_prog_RANLIB"; then
3998 ac_ct_RANLIB
=$RANLIB
3999 # Extract the first word of "ranlib", so it can be a program name with args.
4000 set dummy ranlib
; ac_word
=$2
4001 echo "$as_me:$LINENO: checking for $ac_word" >&5
4002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4003 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4004 echo $ECHO_N "(cached) $ECHO_C" >&6
4006 if test -n "$ac_ct_RANLIB"; then
4007 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4013 test -z "$as_dir" && as_dir
=.
4014 for ac_exec_ext
in '' $ac_executable_extensions; do
4015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4016 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4023 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4026 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4027 if test -n "$ac_ct_RANLIB"; then
4028 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4029 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4031 echo "$as_me:$LINENO: result: no" >&5
4032 echo "${ECHO_T}no" >&6
4035 RANLIB
=$ac_ct_RANLIB
4037 RANLIB
="$ac_cv_prog_RANLIB"
4040 for ac_prog
in gawk mawk nawk
awk
4042 # Extract the first word of "$ac_prog", so it can be a program name with args.
4043 set dummy
$ac_prog; ac_word
=$2
4044 echo "$as_me:$LINENO: checking for $ac_word" >&5
4045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4046 if test "${ac_cv_prog_AWK+set}" = set; then
4047 echo $ECHO_N "(cached) $ECHO_C" >&6
4049 if test -n "$AWK"; then
4050 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4056 test -z "$as_dir" && as_dir
=.
4057 for ac_exec_ext
in '' $ac_executable_extensions; do
4058 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4059 ac_cv_prog_AWK
="$ac_prog"
4060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4069 if test -n "$AWK"; then
4070 echo "$as_me:$LINENO: result: $AWK" >&5
4071 echo "${ECHO_T}$AWK" >&6
4073 echo "$as_me:$LINENO: result: no" >&5
4074 echo "${ECHO_T}no" >&6
4077 test -n "$AWK" && break
4080 for ac_prog
in jar fastjar gjar
4082 # Extract the first word of "$ac_prog", so it can be a program name with args.
4083 set dummy
$ac_prog; ac_word
=$2
4084 echo "$as_me:$LINENO: checking for $ac_word" >&5
4085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4086 if test "${ac_cv_prog_JAR+set}" = set; then
4087 echo $ECHO_N "(cached) $ECHO_C" >&6
4089 if test -n "$JAR"; then
4090 ac_cv_prog_JAR
="$JAR" # Let the user override the test.
4092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4096 test -z "$as_dir" && as_dir
=.
4097 for ac_exec_ext
in '' $ac_executable_extensions; do
4098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4099 ac_cv_prog_JAR
="$ac_prog"
4100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4109 if test -n "$JAR"; then
4110 echo "$as_me:$LINENO: result: $JAR" >&5
4111 echo "${ECHO_T}$JAR" >&6
4113 echo "$as_me:$LINENO: result: no" >&5
4114 echo "${ECHO_T}no" >&6
4117 test -n "$JAR" && break
4119 test -n "$JAR" || JAR
="no"
4121 # Extract the first word of "zip", so it can be a program name with args.
4122 set dummy
zip; ac_word
=$2
4123 echo "$as_me:$LINENO: checking for $ac_word" >&5
4124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4125 if test "${ac_cv_path_ZIP+set}" = set; then
4126 echo $ECHO_N "(cached) $ECHO_C" >&6
4130 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
4133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4137 test -z "$as_dir" && as_dir
=.
4138 for ac_exec_ext
in '' $ac_executable_extensions; do
4139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4140 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
4141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4147 test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP
="no"
4153 if test -n "$ZIP"; then
4154 echo "$as_me:$LINENO: result: $ZIP" >&5
4155 echo "${ECHO_T}$ZIP" >&6
4157 echo "$as_me:$LINENO: result: no" >&5
4158 echo "${ECHO_T}no" >&6
4161 # Extract the first word of "unzip", so it can be a program name with args.
4162 set dummy
unzip; ac_word
=$2
4163 echo "$as_me:$LINENO: checking for $ac_word" >&5
4164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4165 if test "${ac_cv_path_UNZIP+set}" = set; then
4166 echo $ECHO_N "(cached) $ECHO_C" >&6
4170 ac_cv_path_UNZIP
="$UNZIP" # Let the user override the test with a path.
4173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4177 test -z "$as_dir" && as_dir
=.
4178 for ac_exec_ext
in '' $ac_executable_extensions; do
4179 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4180 ac_cv_path_UNZIP
="$as_dir/$ac_word$ac_exec_ext"
4181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4187 test -z "$ac_cv_path_UNZIP" && ac_cv_path_UNZIP
="unzip"
4191 UNZIP
=$ac_cv_path_UNZIP
4193 if test -n "$UNZIP"; then
4194 echo "$as_me:$LINENO: result: $UNZIP" >&5
4195 echo "${ECHO_T}$UNZIP" >&6
4197 echo "$as_me:$LINENO: result: no" >&5
4198 echo "${ECHO_T}no" >&6
4201 # Prefer the jar we found, but fall back to our jar script.
4202 if test "$JAR" = no
; then
4203 if test "$ZIP" = no
; then
4204 { { echo "$as_me:$LINENO: error: cannot find neither zip nor jar, cannot continue" >&5
4205 echo "$as_me: error: cannot find neither zip nor jar, cannot continue" >&2;}
4206 { (exit 1); exit 1; }; }
4208 # InfoZIP available, use the 'guaranteed' Bourne-shell JAR to build libjava
4209 JAR
=`pwd`/scripts
/jar
4213 # Find a good install program. We prefer a C program (faster),
4214 # so one script is as good as another. But avoid the broken or
4215 # incompatible versions:
4216 # SysV /etc/install, /usr/sbin/install
4217 # SunOS /usr/etc/install
4218 # IRIX /sbin/install
4220 # AmigaOS /C/install, which installs bootblocks on floppy discs
4221 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4222 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4223 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4224 # OS/2's system install, which has a completely different semantic
4225 # ./install, which can be erroneously created by make from ./install.sh.
4226 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4227 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4228 if test -z "$INSTALL"; then
4229 if test "${ac_cv_path_install+set}" = set; then
4230 echo $ECHO_N "(cached) $ECHO_C" >&6
4232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4236 test -z "$as_dir" && as_dir
=.
4237 # Account for people who put trailing slashes in PATH elements.
4239 .
/ | .
// |
/cC
/* | \
4240 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4241 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4244 # OSF1 and SCO ODT 3.0 have their own names for install.
4245 # Don't use installbsd from OSF since it installs stuff as root
4247 for ac_prog
in ginstall scoinst
install; do
4248 for ac_exec_ext
in '' $ac_executable_extensions; do
4249 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4250 if test $ac_prog = install &&
4251 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4252 # AIX install. It has an incompatible calling convention.
4254 elif test $ac_prog = install &&
4255 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4256 # program-specific install script used by HP pwplus--don't use.
4259 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4271 if test "${ac_cv_path_install+set}" = set; then
4272 INSTALL
=$ac_cv_path_install
4274 # As a last resort, use the slow shell script. We don't cache a
4275 # path for INSTALL within a source directory, because that will
4276 # break other packages using the cache if that directory is
4277 # removed, or if the path is relative.
4278 INSTALL
=$ac_install_sh
4281 echo "$as_me:$LINENO: result: $INSTALL" >&5
4282 echo "${ECHO_T}$INSTALL" >&6
4284 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4285 # It thinks the first close brace ends the variable substitution.
4286 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4288 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4290 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4293 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4294 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4295 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4296 if test "${enable_maintainer_mode+set}" = set; then
4297 enableval
="$enable_maintainer_mode"
4298 USE_MAINTAINER_MODE
=$enableval
4300 USE_MAINTAINER_MODE
=no
4302 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4303 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4306 if test $USE_MAINTAINER_MODE = yes; then
4307 MAINTAINER_MODE_TRUE
=
4308 MAINTAINER_MODE_FALSE
='#'
4310 MAINTAINER_MODE_TRUE
='#'
4311 MAINTAINER_MODE_FALSE
=
4314 MAINT
=$MAINTAINER_MODE_TRUE
4320 # configure.host sets the following important variables
4321 # libgcj_cflags - host specific C compiler flags
4322 # libgcj_cxxflags - host specific C++ compiler flags
4323 # libgcj_javaflags - host specific Java compiler flags
4329 .
${srcdir}/configure.
host
4331 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4332 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4333 if test "${acl_cv_prog_gnu_ld+set}" = set; then
4334 echo $ECHO_N "(cached) $ECHO_C" >&6
4336 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4337 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4338 acl_cv_prog_gnu_ld
=yes
4340 acl_cv_prog_gnu_ld
=no
4343 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
4344 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
4345 with_gnu_ld
=$acl_cv_prog_gnu_ld
4347 echo "$as_me:$LINENO: checking if the GNU linker ($LD) supports -Bsymbolic-functions" >&5
4348 echo $ECHO_N "checking if the GNU linker ($LD) supports -Bsymbolic-functions... $ECHO_C" >&6
4349 if test "${acl_cv_prog_gnu_ld_symbolic+set}" = set; then
4350 echo $ECHO_N "(cached) $ECHO_C" >&6
4353 acl_cv_prog_gnu_ld_symbolic
=no
4355 if test x
"$with_gnu_ld" = x
"yes"; then
4356 if $LD --help 2>&1 </dev
/null |
grep Bsymbolic-functions
1>&5; then
4357 acl_cv_prog_gnu_ld_symbolic
=yes
4361 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld_symbolic" >&5
4362 echo "${ECHO_T}$acl_cv_prog_gnu_ld_symbolic" >&6
4363 if test x
"$acl_cv_prog_gnu_ld_symbolic" = x
"yes"; then
4364 SYMBOLIC_LDFLAGS
="-Wl,-Bsymbolic-functions"
4369 libgcj_ld_symbolic_functions
=$SYMBOLIC_LDFLAGS
4370 if test -z "$libgcj_ld_symbolic"; then
4371 libgcj_ld_symbolic
=$SYMBOLIC_LDFLAGS
4374 LIBGCJ_CFLAGS
="${libgcj_cflags}"
4375 LIBGCJ_CXXFLAGS
="${libgcj_cxxflags}"
4376 LIBGCJ_JAVAFLAGS
="${libgcj_javaflags}"
4377 LIBGCJ_LD_SYMBOLIC
="${libgcj_ld_symbolic}"
4378 LIBGCJ_LD_SYMBOLIC_FUNCTIONS
="${libgcj_ld_symbolic_functions}"
4385 # Only use libltdl for non-newlib builds.
4386 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
4387 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
4388 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
4390 libname_spec
='lib$name'
4398 shlibpath_overrides_runpath
=unknown
4400 dynamic_linker
="$host_os ld.so"
4401 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
4402 if test "$GCC" = yes; then
4403 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
4404 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
4405 # if the path contains ";" then we assume it to be the separator
4406 # otherwise default to the standard path separator (i.e. ":") - it is
4407 # assumed that no part of a normal pathname contains ";" but that should
4408 # okay in the real world where ";" in dirpaths is itself problematic.
4409 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
4411 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
4414 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
4416 need_lib_prefix
=unknown
4417 hardcode_into_libs
=no
4419 # when you set need_version to no, make sure it does not cause -set_version
4420 # flags to be left without arguments
4421 need_version
=unknown
4426 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
4427 shlibpath_var
=LIBPATH
4429 # AIX 3 has no versioning support, so we append a major version to the name.
4430 soname_spec
='${libname}${release}${shared_ext}$major'
4437 hardcode_into_libs
=yes
4438 if test "$host_cpu" = ia64
; then
4439 # AIX 5 supports IA64
4440 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
4441 shlibpath_var
=LD_LIBRARY_PATH
4443 # With GCC up to 2.95.x, collect2 would create an import file
4444 # for dependence libraries. The import file would start with
4445 # the line `#! .'. This would cause the generated library to
4446 # depend on `.', always an invalid library. This was fixed in
4447 # development snapshots of GCC prior to 3.0.
4449 aix4 | aix4.
[01] | aix4.
[01].
*)
4450 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
4452 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
4459 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
4460 # soname into executable. Probably we can add versioning support to
4461 # collect2, so additional links can be useful in future.
4462 if test "$aix_use_runtimelinking" = yes; then
4463 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
4464 # instead of lib<name>.a to let people know that these are not
4465 # typical AIX shared libraries.
4466 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4468 # We preserve .a as extension for shared libraries through AIX4.2
4469 # and later when we are not doing run time linking.
4470 library_names_spec
='${libname}${release}.a $libname.a'
4471 soname_spec
='${libname}${release}${shared_ext}$major'
4473 shlibpath_var
=LIBPATH
4478 library_names_spec
='$libname.ixlibrary $libname.a'
4479 # Create ${libname}_ixlibrary.a entries in /sys/libs.
4480 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'
4484 library_names_spec
='${libname}${shared_ext}'
4485 dynamic_linker
="$host_os ld.so"
4486 shlibpath_var
=LIBRARY_PATH
4492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4493 soname_spec
='${libname}${release}${shared_ext}$major'
4494 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
4495 shlibpath_var
=LD_LIBRARY_PATH
4496 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
4497 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
4498 # the default ld.so.conf also contains /usr/contrib/lib and
4499 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
4500 # libtool to hard-code these into programs
4503 cygwin
* | mingw
* | pw32
*)
4504 version_type
=windows
4509 case $GCC,$host_os in
4510 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
4511 library_names_spec
='$libname.dll.a'
4512 # DLL is installed to $(libdir)/../bin by postinstall_cmds
4513 postinstall_cmds
='base_file=`basename \${file}`~
4514 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
4515 dldir=$destdir/`dirname \$dlpath`~
4516 test -d \$dldir || mkdir -p \$dldir~
4517 $install_prog $dir/$dlname \$dldir/$dlname'
4518 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
4519 dlpath=$dir/\$dldll~
4521 shlibpath_overrides_runpath
=yes
4525 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
4526 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
4527 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
4530 # MinGW DLLs use traditional 'lib' prefix
4531 soname_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
4532 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
4533 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
4534 # It is most probably a Windows format PATH printed by
4535 # mingw gcc, but we are running on Cygwin. Gcc prints its search
4536 # path with ; separators, and with drive letters. We can handle the
4537 # drive letters (cygwin fileutils understands them), so leave them,
4538 # especially as we might pass files found there to a mingw objdump,
4539 # which wouldn't understand a cygwinified path. Ahh.
4540 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
4542 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
4546 # pw32 DLLs use 'pw' prefix rather than 'lib'
4547 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}${shared_ext}'
4553 library_names_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
4556 dynamic_linker
='Win32 ld.exe'
4557 # FIXME: first we should search . and the directory the executable is in
4561 darwin
* | rhapsody
*)
4562 dynamic_linker
="$host_os dyld"
4566 # FIXME: Relying on posixy $() will cause problems for
4567 # cross-compilation, but unfortunately the echo tests do not
4568 # yet detect zsh echo's removal of \ escapes.
4569 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
4570 soname_spec
='${libname}${release}${major}$shared_ext'
4571 shlibpath_overrides_runpath
=yes
4572 shlibpath_var
=DYLD_LIBRARY_PATH
4573 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
4574 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
4575 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
4576 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"`
4578 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
4585 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
4586 soname_spec
='${libname}${release}${shared_ext}$major'
4587 shlibpath_var
=LD_LIBRARY_PATH
4595 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
4596 version_type
=freebsd-
$objformat
4597 case $version_type in
4599 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
4604 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
4608 shlibpath_var
=LD_LIBRARY_PATH
4611 shlibpath_overrides_runpath
=yes
4613 freebsd3.01
* | freebsdelf3.01
*)
4614 shlibpath_overrides_runpath
=yes
4615 hardcode_into_libs
=yes
4618 shlibpath_overrides_runpath
=no
4619 hardcode_into_libs
=yes
4628 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
4629 soname_spec
='${libname}${release}${shared_ext}$major'
4630 shlibpath_var
=LD_LIBRARY_PATH
4631 hardcode_into_libs
=yes
4634 hpux9
* | hpux10
* | hpux11
*)
4635 # Give a soname corresponding to the major version so that dld.sl refuses to
4636 # link against other versions.
4643 hardcode_into_libs
=yes
4644 dynamic_linker
="$host_os dld.so"
4645 shlibpath_var
=LD_LIBRARY_PATH
4646 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
4647 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4648 soname_spec
='${libname}${release}${shared_ext}$major'
4649 if test "X$HPUX_IA64_MODE" = X32
; then
4650 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
4652 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
4654 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
4658 hardcode_into_libs
=yes
4659 dynamic_linker
="$host_os dld.sl"
4660 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
4661 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
4662 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4663 soname_spec
='${libname}${release}${shared_ext}$major'
4664 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
4665 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
4669 dynamic_linker
="$host_os dld.sl"
4670 shlibpath_var
=SHLIB_PATH
4671 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
4672 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4673 soname_spec
='${libname}${release}${shared_ext}$major'
4676 # HP-UX runs *really* slowly unless shared libraries are mode 555.
4677 postinstall_cmds
='chmod 555 $lib'
4680 irix5
* | irix6
* | nonstopux
*)
4682 nonstopux
*) version_type
=nonstopux
;;
4684 if test "$lt_cv_prog_gnu_ld" = yes; then
4692 soname_spec
='${libname}${release}${shared_ext}$major'
4693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
4695 irix5
* | nonstopux
*)
4699 case $LD in # libtool.m4 will add one of these switches to LD
4700 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
4701 libsuff
= shlibsuff
= libmagic
=32-bit;;
4702 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
4703 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
4704 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
4705 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
4706 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
4710 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
4711 shlibpath_overrides_runpath
=no
4712 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
4713 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
4714 hardcode_into_libs
=yes
4717 # No shared lib support for Linux oldld, aout, or coff.
4718 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
4722 # This must be Linux ELF.
4727 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4728 soname_spec
='${libname}${release}${shared_ext}$major'
4729 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
4730 shlibpath_var
=LD_LIBRARY_PATH
4731 shlibpath_overrides_runpath
=no
4732 # This implies no fast_install, which is unacceptable.
4733 # Some rework will be needed to allow for fast_install
4734 # before this can be enabled.
4735 hardcode_into_libs
=yes
4737 # We used to test for /lib/ld.so.1 and disable shared libraries on
4738 # powerpc, because MkLinux only supported shared libraries with the
4739 # GNU dynamic linker. Since this was broken with cross compilers,
4740 # most powerpc-linux boxes support dynamic linking these days and
4741 # people can always --disable-shared, the test was removed, and we
4742 # assume the GNU/Linux dynamic linker is in use.
4743 dynamic_linker
='GNU/Linux ld.so'
4750 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
4751 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4752 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4753 dynamic_linker
='NetBSD (a.out) ld.so'
4755 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
4756 soname_spec
='${libname}${release}${shared_ext}$major'
4757 dynamic_linker
='NetBSD ld.elf_so'
4759 shlibpath_var
=LD_LIBRARY_PATH
4760 shlibpath_overrides_runpath
=yes
4761 hardcode_into_libs
=yes
4766 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4767 shlibpath_var
=LD_LIBRARY_PATH
4768 shlibpath_overrides_runpath
=yes
4775 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4776 soname_spec
='${libname}${release}${shared_ext}$major'
4777 shlibpath_var
=LD_LIBRARY_PATH
4778 shlibpath_overrides_runpath
=yes
4785 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4786 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4787 shlibpath_var
=LD_LIBRARY_PATH
4788 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4790 openbsd2.
[89] | openbsd2.
[89].
*)
4791 shlibpath_overrides_runpath
=no
4794 shlibpath_overrides_runpath
=yes
4798 shlibpath_overrides_runpath
=yes
4803 libname_spec
='$name'
4806 library_names_spec
='$libname${shared_ext} $libname.a'
4807 dynamic_linker
='OS/2 ld.exe'
4808 shlibpath_var
=LIBPATH
4811 osf3
* | osf4
* | osf5
*)
4815 soname_spec
='${libname}${release}${shared_ext}$major'
4816 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4817 shlibpath_var
=LD_LIBRARY_PATH
4818 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
4819 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
4824 soname_spec
='${libname}${release}${shared_ext}$major'
4825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4826 shlibpath_var
=LD_LIBRARY_PATH
4833 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4834 soname_spec
='${libname}${release}${shared_ext}$major'
4835 shlibpath_var
=LD_LIBRARY_PATH
4836 shlibpath_overrides_runpath
=yes
4837 hardcode_into_libs
=yes
4838 # ldd complains unless libraries are executable
4839 postinstall_cmds
='chmod +x $lib'
4844 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4845 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
4846 shlibpath_var
=LD_LIBRARY_PATH
4847 shlibpath_overrides_runpath
=yes
4848 if test "$with_gnu_ld" = yes; then
4854 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
4856 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4857 soname_spec
='${libname}${release}${shared_ext}$major'
4858 shlibpath_var
=LD_LIBRARY_PATH
4859 case $host_vendor in
4861 shlibpath_overrides_runpath
=no
4863 export_dynamic_flag_spec
='${wl}-Blargedynsym'
4864 runpath_var
=LD_RUN_PATH
4872 shlibpath_overrides_runpath
=no
4873 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
4879 if test -d /usr
/nec
;then
4881 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
4882 soname_spec
='$libname${shared_ext}.$major'
4883 shlibpath_var
=LD_LIBRARY_PATH
4889 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4890 soname_spec
='${libname}${release}${shared_ext}$major'
4891 shlibpath_var
=LD_LIBRARY_PATH
4898 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
4899 echo "${ECHO_T}$dynamic_linker" >&6
4900 test "$dynamic_linker" = no
&& can_build_shared
=no
4903 echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
4904 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6
4905 if test "${libltdl_cv_shlibpath_var+set}" = set; then
4906 echo $ECHO_N "(cached) $ECHO_C" >&6
4908 libltdl_cv_shlibpath_var
="$shlibpath_var"
4910 echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
4911 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6
4912 if test -n "$libltdl_cv_shlibpath_var"; then
4914 cat >>confdefs.h
<<_ACEOF
4915 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
4922 ac_config_headers
="$ac_config_headers include/config.h gcj/libgcj-config.h"
4925 # See if the user has requested runtime debugging.
4926 LIBGCJDEBUG
="disable"
4928 # Check whether --enable-libgcj-debug or --disable-libgcj-debug was given.
4929 if test "${enable_libgcj_debug+set}" = set; then
4930 enableval
="$enable_libgcj_debug"
4931 if test "$enable_libgcj_debug" = yes; then
4933 cat >>confdefs.h
<<\_ACEOF
4937 LIBGCJDEBUG
="enable"
4942 # Check whether --with-escher or --without-escher was given.
4943 if test "${with_escher+set}" = set; then
4944 withval
="$with_escher"
4947 case "$with_escher" in
4955 { { echo "$as_me:$LINENO: error: Please supply an absolute path to Escher library" >&5
4956 echo "$as_me: error: Please supply an absolute path to Escher library" >&2;}
4957 { (exit 1); exit 1; }; }
4964 # Determine which AWT peer libraries to build
4965 # Check whether --enable-java-awt or --disable-java-awt was given.
4966 if test "${enable_java_awt+set}" = set; then
4967 enableval
="$enable_java_awt"
4971 peerlibs
="`echo ${enable_java_awt} | tr ',' ' '`"
4976 # The default toolkit to use is the first one specified.
4980 for peer
in $peerlibs ; do
4983 if test "$no_x" = yes; then
4984 echo "*** xlib peers requested but no X library available" 1>&2
4988 if test -z "$TOOLKIT"; then
4989 TOOLKIT
=gnu.awt.xlib.XToolkit
4994 if test "$no_x" = yes; then
4995 echo "*** gtk peers requested but no X library available" 1>&2
4999 if test -z "$TOOLKIT"; then
5000 TOOLKIT
=gnu.java.awt.peer.gtk.GtkToolkit
5005 if test "$no_x" = yes; then
5006 # Perhaps we should admit the possibility of embedded Qt.
5007 echo "*** Qt peers requested but no X library available" 1>&2
5011 if test -z "$TOOLKIT"; then
5012 TOOLKIT
=gnu.java.awt.peer.qt.QtToolkit
5018 if test -z "$TOOLKIT"; then
5019 TOOLKIT
=gnu.java.awt.peer.x.XToolkit
5030 echo "*** unrecognised argument \"${peer}\" for --enable-java-awt" 1>&2
5037 if test "$use_xlib_awt" = yes; then
5047 if test "$use_x_awt" = yes; then
5057 cat >>confdefs.h
<<_ACEOF
5058 #define AWT_TOOLKIT "$TOOLKIT"
5063 cat >>confdefs.h
<<_ACEOF
5064 #define LIBGCJ_PREFIX "$prefix"
5068 # Create standard.omit based on decisions we just made.
5069 cp $srcdir/standard.omit.
in standard.omit
5070 if test "$use_xlib_awt" != yes; then
5071 echo gnu
/awt
/xlib
>> standard.omit
5072 echo gnu
/gcj
/xlib
>> standard.omit
5074 if test "$use_x_awt" != yes; then
5075 echo gnu
/java
/awt
/peer
/x
>> standard.omit
5078 if test -z "${with_multisubdir}"; then
5081 builddotdot
=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`
5086 # Which gcj and host gcj (for ecjx) do we use?
5088 host_exeext
=${ac_exeext}
5090 built_gcc_dir
="`cd ${builddotdot}/../../${host_subdir}/gcc && ${PWDCMD-pwd}`"
5091 if test -n "${with_cross_host}"; then
5092 # We are being configured with a cross compiler. We can't
5093 # use ac_exeext, because that is for the target platform.
5096 GCJ_FOR_ECJX
="${with_cross_host}-gcj"
5097 case "${with_cross_host}" in
5099 cross_host_exeext
=.exe
5102 host_exeext
=${cross_host_exeext}
5103 if test -x "${built_gcc_dir}/gcj${cross_host_exeext}"; then
5104 if test x
"$build_noncanonical" = x
"$with_cross_host"; then
5105 # Ordinary cross (host!=target and host=build)
5108 # Canadian cross (host!=target and host!=build)
5115 # We are being configured with a native or crossed-native compiler
5116 if test -x "${built_gcc_dir}/gcj${ac_exeext}"; then
5117 if test x
"$build" = x
"$host"; then
5118 # True native build (host=target and host=build)
5121 # Crossed-native build (host=target and host!=build)
5128 case "${which_gcj}" in
5130 GCJ
="$built_gcc_dir/gcj -B`${PWDCMD-pwd}`/ -B$built_gcc_dir/"
5131 GCJH
='$(top_builddir)/$(MULTIBUILDTOP)../../$(host_subdir)/gcc/gcjh'
5134 if test "x${with_newlib}" = "xyes"; then
5135 # FIXME (comment): Why is this needed?
5137 GCJ
="${target_noncanonical}-gcj"
5139 GCJ
="${target_noncanonical}-gcj -B`${PWDCMD-pwd}`/"
5141 GCJH
="$built_gcc_dir/gcjh"
5144 GCJ
="gcj -B`${PWDCMD-pwd}`/"
5153 # Create it, so that compile/link tests don't fail
5154 test -f libgcj.spec ||
touch libgcj.spec
5158 # Set up to configure Classpath.
5159 # FIXME: no supported way to pass args in autoconf.
5160 ac_configure_args
="$ac_configure_args --with-fastjar=$JAR"
5161 # Disable tool wrappers to avoid ltdl.h configure check.
5162 ac_configure_args
="$ac_configure_args --disable-tool-wrappers"
5163 ac_configure_args
="$ac_configure_args --disable-load-library"
5164 ac_configure_args
="$ac_configure_args --${LIBGCJDEBUG}-debug"
5165 ac_configure_args
="$ac_configure_args --enable-default-toolkit=$TOOLKIT"
5166 dir1
=`cd $srcdir && pwd`
5168 ac_configure_args
="$ac_configure_args --with-vm-classes=$dir1:$dir2"
5169 ac_configure_args
="$ac_configure_args --disable-core-jni"
5170 ac_configure_args
="$ac_configure_args --disable-examples"
5171 ac_configure_args
="$ac_configure_args --with-glibj=build"
5172 if test "$plugin_enabled" != yes; then
5173 ac_configure_args
="$ac_configure_args --disable-plugin"
5175 if test "$gconf_enabled" != yes; then
5176 ac_configure_args
="$ac_configure_args --disable-gconf-peer"
5177 ac_configure_args
="$ac_configure_args --enable-default-preferences-peer=gnu.java.util.prefs.FileBasedFactory"
5179 if test "$use_gtk_awt" != yes; then
5180 ac_configure_args
="$ac_configure_args --disable-gtk-peer --disable-plugin"
5182 if test "$use_qt_awt" != yes; then
5183 ac_configure_args
="$ac_configure_args --disable-qt-peer"
5185 # We need this as qt is disabled by default in classpath.
5186 ac_configure_args
="$ac_configure_args --enable-qt-peer"
5188 if test "$use_x_awt" != yes; then
5189 ac_configure_args
="$ac_configure_args --without-escher"
5191 # We need this as escher is disabled by default in classpath.
5192 if test "$use_escher" != true
; then
5193 { { echo "$as_me:$LINENO: error: Please supply an absolute path to the Escher library" >&5
5194 echo "$as_me: error: Please supply an absolute path to the Escher library" >&2;}
5195 { (exit 1); exit 1; }; }
5197 ac_configure_args
="$ac_configure_args --with-escher=$with_escher"
5200 # -Werror causes unavoidable problems in code using alsa.
5201 ac_configure_args
="$ac_configure_args --disable-Werror"
5203 # Only use libltdl for non-newlib builds.
5204 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
5205 case $enable_ltdl_convenience in
5206 no
) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
5207 echo "$as_me: error: this package needs a convenience libltdl" >&2;}
5208 { (exit 1); exit 1; }; } ;;
5209 "") enable_ltdl_convenience
=yes
5210 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
5212 LIBLTDL
='${top_builddir}/''libltdl'/libltdlc.la
5213 INCLTDL
='-I${top_srcdir}/''libltdl'
5218 cat >>confdefs.h
<<\_ACEOF
5222 # Sigh. Libtool's macro doesn't do the right thing.
5223 INCLTDL
="-I\$(top_srcdir)/libltdl $INCLTDL"
5224 # FIXME: this is a hack.
5225 sub_auxdir
="`cd $ac_aux_dir && ${PWDCMD-pwd}`"
5226 ac_configure_args
="$ac_configure_args --with-auxdir=$sub_auxdir"
5231 # Check whether --enable-shared or --disable-shared was given.
5232 if test "${enable_shared+set}" = set; then
5233 enableval
="$enable_shared"
5234 p
=${PACKAGE-default}
5236 yes) enable_shared
=yes ;;
5237 no
) enable_shared
=no
;;
5240 # Look at the argument we got. We use all the common list separators.
5241 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5242 for pkg
in $enableval; do
5243 if test "X$pkg" = "X$p"; then
5253 # Check whether --enable-static or --disable-static was given.
5254 if test "${enable_static+set}" = set; then
5255 enableval
="$enable_static"
5256 p
=${PACKAGE-default}
5258 yes) enable_static
=yes ;;
5259 no
) enable_static
=no
;;
5262 # Look at the argument we got. We use all the common list separators.
5263 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5264 for pkg
in $enableval; do
5265 if test "X$pkg" = "X$p"; then
5275 # Check whether --enable-fast-install or --disable-fast-install was given.
5276 if test "${enable_fast_install+set}" = set; then
5277 enableval
="$enable_fast_install"
5278 p
=${PACKAGE-default}
5280 yes) enable_fast_install
=yes ;;
5281 no
) enable_fast_install
=no
;;
5283 enable_fast_install
=no
5284 # Look at the argument we got. We use all the common list separators.
5285 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5286 for pkg
in $enableval; do
5287 if test "X$pkg" = "X$p"; then
5288 enable_fast_install
=yes
5295 enable_fast_install
=yes
5298 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5299 if test "${with_gnu_ld+set}" = set; then
5300 withval
="$with_gnu_ld"
5301 test "$withval" = no || with_gnu_ld
=yes
5306 if test "$GCC" = yes; then
5307 # Check if gcc -print-prog-name=ld gives a path.
5308 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5309 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5312 # gcc leaves a trailing carriage return which upsets mingw
5313 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5315 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5318 # Accept absolute paths.
5319 [\\/]* |
[A-Za-z
]:[\\/]*)
5320 re_direlt
='/[^/][^/]*/\.\./'
5321 # Canonicalize the path of ld
5322 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5323 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5324 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5326 test -z "$LD" && LD
="$ac_prog"
5329 # If it fails, then pretend we aren't using GCC.
5333 # If it is relative, then search for the first ld in PATH.
5337 elif test "$with_gnu_ld" = yes; then
5338 echo "$as_me:$LINENO: checking for GNU ld" >&5
5339 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5341 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5342 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5344 if test "${lt_cv_path_LD+set}" = set; then
5345 echo $ECHO_N "(cached) $ECHO_C" >&6
5347 if test -z "$LD"; then
5348 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5349 for ac_dir
in $PATH; do
5350 test -z "$ac_dir" && ac_dir
=.
5351 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5352 lt_cv_path_LD
="$ac_dir/$ac_prog"
5353 # Check to see if the program is GNU ld. I'd rather use --version,
5354 # but apparently some GNU ld's only accept -v.
5355 # Break only if it was the GNU/non-GNU ld that we prefer.
5356 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
5357 test "$with_gnu_ld" != no
&& break
5359 test "$with_gnu_ld" != yes && break
5365 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5370 if test -n "$LD"; then
5371 echo "$as_me:$LINENO: result: $LD" >&5
5372 echo "${ECHO_T}$LD" >&6
5374 echo "$as_me:$LINENO: result: no" >&5
5375 echo "${ECHO_T}no" >&6
5377 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5378 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5379 { (exit 1); exit 1; }; }
5380 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5381 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5382 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5383 echo $ECHO_N "(cached) $ECHO_C" >&6
5385 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5386 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5387 lt_cv_prog_gnu_ld
=yes
5389 lt_cv_prog_gnu_ld
=no
5392 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5393 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5394 with_gnu_ld
=$lt_cv_prog_gnu_ld
5397 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5398 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5399 if test "${lt_cv_ld_reload_flag+set}" = set; then
5400 echo $ECHO_N "(cached) $ECHO_C" >&6
5402 lt_cv_ld_reload_flag
='-r'
5404 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5405 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5406 reload_flag
=$lt_cv_ld_reload_flag
5407 test -n "$reload_flag" && reload_flag
=" $reload_flag"
5409 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5410 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5411 if test "${lt_cv_path_NM+set}" = set; then
5412 echo $ECHO_N "(cached) $ECHO_C" >&6
5414 if test -n "$NM"; then
5415 # Let the user override the test.
5418 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5419 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
5420 test -z "$ac_dir" && ac_dir
=.
5421 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
5422 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
5423 # Check to see if the nm accepts a BSD-compat flag.
5424 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5425 # nm: unknown option "B" ignored
5426 # Tru64's nm complains that /dev/null is an invalid object file
5427 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
5428 lt_cv_path_NM
="$tmp_nm -B"
5430 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
5431 lt_cv_path_NM
="$tmp_nm -p"
5434 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5435 continue # so that we can try to find one that supports BSD flags
5440 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
5445 echo "$as_me:$LINENO: result: $NM" >&5
5446 echo "${ECHO_T}$NM" >&6
5448 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
5449 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
5450 if test "${lt_cv_deplibs_check_method+set}" = set; then
5451 echo $ECHO_N "(cached) $ECHO_C" >&6
5453 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5454 lt_cv_file_magic_test_file
=
5455 lt_cv_deplibs_check_method
='unknown'
5456 # Need to set the preceding variable on all platforms that support
5457 # interlibrary dependencies.
5458 # 'none' -- dependencies not supported.
5459 # `unknown' -- same as none, but documents that we really don't know.
5460 # 'pass_all' -- all dependencies passed with no checks.
5461 # 'test_compile' -- check by making test program.
5462 # 'file_magic [regex]' -- check by looking for files in library path
5463 # which responds to the $file_magic_cmd with a given egrep regex.
5464 # If you have `file' or equivalent on your system and you're not sure
5465 # whether `pass_all' will *always* work, you probably want this one.
5469 lt_cv_deplibs_check_method
=pass_all
5473 lt_cv_deplibs_check_method
=pass_all
5477 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5478 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5479 lt_cv_file_magic_test_file
=/shlib
/libc.so
5482 cygwin
* | mingw
* |pw32
*)
5483 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5484 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5487 darwin
* | rhapsody
*)
5488 # this will be overwritten by pass_all, but leave it in just in case
5489 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
5490 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5492 rhapsody
* | darwin1.012
)
5493 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
5496 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
5499 lt_cv_deplibs_check_method
=pass_all
5502 freebsd
* | kfreebsd
*-gnu)
5503 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5506 # Not sure whether the presence of OpenBSD here was a mistake.
5507 # Let's accept both of them until this is cleared up.
5508 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5509 lt_cv_file_magic_cmd
=/usr
/bin
/file
5510 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5514 lt_cv_deplibs_check_method
=pass_all
5519 lt_cv_deplibs_check_method
=pass_all
5525 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5526 lt_cv_file_magic_cmd
=/usr
/bin
/file
5527 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5530 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5531 lt_cv_file_magic_cmd
=/usr
/bin
/file
5532 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5540 # this will be overridden with pass_all, but let us keep it just in case
5541 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5545 *-32|
*"-32 ") libmagic
=32-bit;;
5546 *-n32|
*"-n32 ") libmagic
=N32
;;
5547 *-64|
*"-64 ") libmagic
=64-bit;;
5548 *) libmagic
=never-match
;;
5550 # this will be overridden with pass_all, but let us keep it just in case
5551 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5554 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
5555 lt_cv_deplibs_check_method
=pass_all
5558 # This must be Linux ELF.
5560 lt_cv_deplibs_check_method
=pass_all
5563 netbsd
* | knetbsd
*-gnu)
5564 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5565 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
5567 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
5572 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5573 lt_cv_file_magic_cmd
=/usr
/bin
/file
5574 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5577 osf3
* | osf4
* | osf5
*)
5578 # this will be overridden with pass_all, but let us keep it just in case
5579 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
5580 lt_cv_file_magic_test_file
=/shlib
/libc.so
5581 lt_cv_deplibs_check_method
=pass_all
5585 lt_cv_deplibs_check_method
=pass_all
5589 lt_cv_deplibs_check_method
=pass_all
5590 lt_cv_file_magic_test_file
=/lib
/libc.so
5593 sysv5uw
[78]* | sysv4
*uw2
*)
5594 lt_cv_deplibs_check_method
=pass_all
5597 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
5598 case $host_vendor in
5600 lt_cv_deplibs_check_method
=pass_all
5603 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]'
5604 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5611 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5612 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5613 file_magic_cmd
=$lt_cv_file_magic_cmd
5614 deplibs_check_method
=$lt_cv_deplibs_check_method
5619 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5621 # find the maximum length of command line arguments
5622 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5623 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5624 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5625 echo $ECHO_N "(cached) $ECHO_C" >&6
5632 # On DJGPP, this test can blow up pretty badly due to problems in libc
5633 # (any single argument exceeding 2000 bytes causes a buffer overrun
5634 # during glob expansion). Even if it were fixed, the result of this
5635 # check would be larger than it should be.
5636 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5640 # On Win9x/ME, this test blows up -- it succeeds, but takes
5641 # about 5 minutes as the teststring grows exponentially.
5642 # Worse, since 9x/ME are not pre-emptively multitasking,
5643 # you end up with a "frozen" computer, even though with patience
5644 # the test eventually succeeds (with a max line length of 256k).
5645 # Instead, let's just punt: use the minimum linelength reported by
5646 # all of the supported platforms: 8192 (on NT/2K/XP).
5647 lt_cv_sys_max_cmd_len
=8192;
5651 # On AmigaOS with pdksh, this test takes hours, literally.
5652 # So we just punt and use a minimum line length of 8192.
5653 lt_cv_sys_max_cmd_len
=8192;
5656 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5657 # This has been around since 386BSD, at least. Likely further.
5658 if test -x /sbin
/sysctl
; then
5659 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5660 elif test -x /usr
/sbin
/sysctl
; then
5661 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5663 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
5665 # And add a safety zone
5666 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5667 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5673 if test -n "$lt_cv_sys_max_cmd_len" ; then
5674 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5675 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5677 echo "$as_me:$LINENO: result: none" >&5
5678 echo "${ECHO_T}none" >&6
5682 # Only perform the check for file, if the check method requires it
5683 case $deplibs_check_method in
5685 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5686 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5687 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5688 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5689 echo $ECHO_N "(cached) $ECHO_C" >&6
5693 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5696 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5699 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5700 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5701 ac_dummy
="/usr/bin:$PATH"
5702 for ac_dir
in $ac_dummy; do
5703 test -z "$ac_dir" && ac_dir
=.
5704 if test -f $ac_dir/${ac_tool_prefix}file; then
5705 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
5706 if test -n "$file_magic_test_file"; then
5707 case $deplibs_check_method in
5709 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5710 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5711 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5712 egrep "$file_magic_regex" > /dev
/null
; then
5717 *** Warning: the command libtool uses to detect shared libraries,
5718 *** $file_magic_cmd, produces output that libtool cannot recognize.
5719 *** The result is that libtool may fail to recognize shared libraries
5720 *** as such. This will affect the creation of libtool libraries that
5721 *** depend on shared libraries, but programs linked with such libtool
5722 *** libraries will work regardless of this problem. Nevertheless, you
5723 *** may want to report the problem to your system manager and/or to
5724 *** bug-libtool@gnu.org
5734 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5739 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5740 if test -n "$MAGIC_CMD"; then
5741 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5742 echo "${ECHO_T}$MAGIC_CMD" >&6
5744 echo "$as_me:$LINENO: result: no" >&5
5745 echo "${ECHO_T}no" >&6
5748 if test -z "$lt_cv_path_MAGIC_CMD"; then
5749 if test -n "$ac_tool_prefix"; then
5750 echo "$as_me:$LINENO: checking for file" >&5
5751 echo $ECHO_N "checking for file... $ECHO_C" >&6
5752 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5753 echo $ECHO_N "(cached) $ECHO_C" >&6
5757 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5760 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5763 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5764 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5765 ac_dummy
="/usr/bin:$PATH"
5766 for ac_dir
in $ac_dummy; do
5767 test -z "$ac_dir" && ac_dir
=.
5768 if test -f $ac_dir/file; then
5769 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
5770 if test -n "$file_magic_test_file"; then
5771 case $deplibs_check_method in
5773 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5774 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5775 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5776 egrep "$file_magic_regex" > /dev
/null
; then
5781 *** Warning: the command libtool uses to detect shared libraries,
5782 *** $file_magic_cmd, produces output that libtool cannot recognize.
5783 *** The result is that libtool may fail to recognize shared libraries
5784 *** as such. This will affect the creation of libtool libraries that
5785 *** depend on shared libraries, but programs linked with such libtool
5786 *** libraries will work regardless of this problem. Nevertheless, you
5787 *** may want to report the problem to your system manager and/or to
5788 *** bug-libtool@gnu.org
5798 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5803 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5804 if test -n "$MAGIC_CMD"; then
5805 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5806 echo "${ECHO_T}$MAGIC_CMD" >&6
5808 echo "$as_me:$LINENO: result: no" >&5
5809 echo "${ECHO_T}no" >&6
5821 if test -n "$ac_tool_prefix"; then
5822 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5823 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5824 echo "$as_me:$LINENO: checking for $ac_word" >&5
5825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5826 if test "${ac_cv_prog_RANLIB+set}" = set; then
5827 echo $ECHO_N "(cached) $ECHO_C" >&6
5829 if test -n "$RANLIB"; then
5830 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5836 test -z "$as_dir" && as_dir
=.
5837 for ac_exec_ext
in '' $ac_executable_extensions; do
5838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5839 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5848 RANLIB
=$ac_cv_prog_RANLIB
5849 if test -n "$RANLIB"; then
5850 echo "$as_me:$LINENO: result: $RANLIB" >&5
5851 echo "${ECHO_T}$RANLIB" >&6
5853 echo "$as_me:$LINENO: result: no" >&5
5854 echo "${ECHO_T}no" >&6
5858 if test -z "$ac_cv_prog_RANLIB"; then
5859 ac_ct_RANLIB
=$RANLIB
5860 # Extract the first word of "ranlib", so it can be a program name with args.
5861 set dummy ranlib
; ac_word
=$2
5862 echo "$as_me:$LINENO: checking for $ac_word" >&5
5863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5864 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5865 echo $ECHO_N "(cached) $ECHO_C" >&6
5867 if test -n "$ac_ct_RANLIB"; then
5868 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5874 test -z "$as_dir" && as_dir
=.
5875 for ac_exec_ext
in '' $ac_executable_extensions; do
5876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5877 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5884 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5887 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5888 if test -n "$ac_ct_RANLIB"; then
5889 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5890 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5892 echo "$as_me:$LINENO: result: no" >&5
5893 echo "${ECHO_T}no" >&6
5896 RANLIB
=$ac_ct_RANLIB
5898 RANLIB
="$ac_cv_prog_RANLIB"
5901 if test -n "$ac_tool_prefix"; then
5902 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5903 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5904 echo "$as_me:$LINENO: checking for $ac_word" >&5
5905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5906 if test "${ac_cv_prog_STRIP+set}" = set; then
5907 echo $ECHO_N "(cached) $ECHO_C" >&6
5909 if test -n "$STRIP"; then
5910 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5916 test -z "$as_dir" && as_dir
=.
5917 for ac_exec_ext
in '' $ac_executable_extensions; do
5918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5919 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5928 STRIP
=$ac_cv_prog_STRIP
5929 if test -n "$STRIP"; then
5930 echo "$as_me:$LINENO: result: $STRIP" >&5
5931 echo "${ECHO_T}$STRIP" >&6
5933 echo "$as_me:$LINENO: result: no" >&5
5934 echo "${ECHO_T}no" >&6
5938 if test -z "$ac_cv_prog_STRIP"; then
5940 # Extract the first word of "strip", so it can be a program name with args.
5941 set dummy strip
; ac_word
=$2
5942 echo "$as_me:$LINENO: checking for $ac_word" >&5
5943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5944 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5945 echo $ECHO_N "(cached) $ECHO_C" >&6
5947 if test -n "$ac_ct_STRIP"; then
5948 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5954 test -z "$as_dir" && as_dir
=.
5955 for ac_exec_ext
in '' $ac_executable_extensions; do
5956 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5957 ac_cv_prog_ac_ct_STRIP
="strip"
5958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5964 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
5967 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5968 if test -n "$ac_ct_STRIP"; then
5969 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5970 echo "${ECHO_T}$ac_ct_STRIP" >&6
5972 echo "$as_me:$LINENO: result: no" >&5
5973 echo "${ECHO_T}no" >&6
5978 STRIP
="$ac_cv_prog_STRIP"
5982 # Check for any special flags to pass to ltconfig.
5983 libtool_flags
="--cache-file=$cache_file"
5984 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
5985 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
5986 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
5987 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
5988 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
5991 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5992 if test "${enable_libtool_lock+set}" = set; then
5993 enableval
="$enable_libtool_lock"
5996 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
5997 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
6000 # Check whether --with-pic or --without-pic was given.
6001 if test "${with_pic+set}" = set; then
6007 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
6008 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
6010 # Some flags need to be propagated to the compiler or linker for good
6014 # Find out which ABI we are using.
6015 echo '#line 6015 "configure"' > conftest.
$ac_ext
6016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6017 (eval $ac_compile) 2>&5
6019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6020 (exit $ac_status); }; then
6021 if test "$lt_cv_prog_gnu_ld" = yes; then
6022 case `/usr/bin/file conftest.$ac_objext` in
6024 LD
="${LD-ld} -melf32bsmip"
6027 LD
="${LD-ld} -melf32bmipn32"
6030 LD
="${LD-ld} -melf64bmip"
6034 case `/usr/bin/file conftest.$ac_objext` in
6051 # Find out which ABI we are using.
6052 echo 'int i;' > conftest.
$ac_ext
6053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6054 (eval $ac_compile) 2>&5
6056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6057 (exit $ac_status); }; then
6058 case "`/usr/bin/file conftest.o`" in
6070 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
6071 # Find out which ABI we are using.
6072 echo 'int i;' > conftest.
$ac_ext
6073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6074 (eval $ac_compile) 2>&5
6076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6077 (exit $ac_status); }; then
6078 case "`/usr/bin/file conftest.o`" in
6082 LD
="${LD-ld} -m elf_i386"
6084 ppc64-
*linux
*|powerpc64-
*linux
*)
6085 LD
="${LD-ld} -m elf32ppclinux"
6088 LD
="${LD-ld} -m elf_s390"
6091 LD
="${LD-ld} -m elf32_sparc"
6098 LD
="${LD-ld} -m elf_x86_64"
6100 ppc
*-*linux
*|powerpc
*-*linux
*)
6101 LD
="${LD-ld} -m elf64ppc"
6104 LD
="${LD-ld} -m elf64_s390"
6107 LD
="${LD-ld} -m elf64_sparc"
6117 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6118 SAVE_CFLAGS
="$CFLAGS"
6119 CFLAGS
="$CFLAGS -belf"
6120 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6121 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
6122 if test "${lt_cv_cc_needs_belf+set}" = set; then
6123 echo $ECHO_N "(cached) $ECHO_C" >&6
6128 ac_cpp
='$CPP $CPPFLAGS'
6129 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6130 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6131 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6133 if test x
$gcc_no_link = xyes
; then
6134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6136 { (exit 1); exit 1; }; }
6138 cat >conftest.
$ac_ext <<_ACEOF
6141 cat confdefs.h
>>conftest.
$ac_ext
6142 cat >>conftest.
$ac_ext <<_ACEOF
6143 /* end confdefs.h. */
6153 rm -f conftest.
$ac_objext conftest
$ac_exeext
6154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6155 (eval $ac_link) 2>conftest.er1
6157 grep -v '^ *+' conftest.er1
>conftest.err
6159 cat conftest.err
>&5
6160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6161 (exit $ac_status); } &&
6162 { ac_try
='test -z "$ac_c_werror_flag"
6163 || test ! -s conftest.err'
6164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6168 (exit $ac_status); }; } &&
6169 { ac_try
='test -s conftest$ac_exeext'
6170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6174 (exit $ac_status); }; }; then
6175 lt_cv_cc_needs_belf
=yes
6177 echo "$as_me: failed program was:" >&5
6178 sed 's/^/| /' conftest.
$ac_ext >&5
6180 lt_cv_cc_needs_belf
=no
6182 rm -f conftest.err conftest.
$ac_objext \
6183 conftest
$ac_exeext conftest.
$ac_ext
6185 ac_cpp
='$CPP $CPPFLAGS'
6186 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6187 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6188 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6191 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6192 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6193 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6194 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6195 CFLAGS
="$SAVE_CFLAGS"
6203 # Save cache, so that ltconfig can load it
6204 cat >confcache
<<\_ACEOF
6205 # This file is a shell script that caches the results of configure
6206 # tests run on this system so they can be shared between configure
6207 # scripts and configure runs, see configure's option --config-cache.
6208 # It is not useful on other systems. If it contains results you don't
6209 # want to keep, you may remove or edit it.
6211 # config.status only pays attention to the cache file if you give it
6212 # the --recheck option to rerun configure.
6214 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6215 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6220 # The following way of writing the cache mishandles newlines in values,
6221 # but we know of no workaround that is simple, portable, and efficient.
6222 # So, don't put newlines in cache variables' values.
6223 # Ultrix sh set writes to stderr and can't be redirected directly,
6224 # and sets the high bit in the cache file unless we assign to the vars.
6227 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6229 # `set' does not quote correctly, so add quotes (double-quote
6230 # substitution turns \\\\ into \\, and sed turns \\ into \).
6233 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6236 # `set' quotes correctly as required by POSIX, so do not add quotes.
6238 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6245 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6247 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6249 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6250 if test -w $cache_file; then
6251 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6252 cat confcache
>$cache_file
6254 echo "not updating unwritable cache $cache_file"
6259 # Actually configure libtool. ac_aux_dir is where install-sh is found.
6260 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
6261 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
6262 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
6263 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
6264 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
6265 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
6266 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
6267 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
6268 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
6269 echo "$as_me: error: libtool configure failed" >&2;}
6270 { (exit 1); exit 1; }; }
6272 # Reload cache, that may have been modified by ltconfig
6273 if test -r "$cache_file"; then
6274 # Some versions of bash will fail to source /dev/null (special
6275 # files actually), so we avoid doing that.
6276 if test -f "$cache_file"; then
6277 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
6278 echo "$as_me: loading cache $cache_file" >&6;}
6280 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
6281 *) . .
/$cache_file;;
6285 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
6286 echo "$as_me: creating cache $cache_file" >&6;}
6291 # This can be used to rebuild libtool when needed
6292 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
6294 # Always use our own libtool.
6295 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6297 # Redirect the config.log output again, so that the ltconfig log is not
6298 # clobbered by the next message.
6299 exec 5>>.
/config.log
6302 ac_cpp
='$CXXCPP $CPPFLAGS'
6303 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6304 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6305 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6306 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6307 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6308 if test -z "$CXXCPP"; then
6309 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6310 echo $ECHO_N "(cached) $ECHO_C" >&6
6312 # Double quotes because CXXCPP needs to be expanded
6313 for CXXCPP
in "$CXX -E" "/lib/cpp"
6316 for ac_cxx_preproc_warn_flag
in '' yes
6318 # Use a header file that comes with gcc, so configuring glibc
6319 # with a fresh cross-compiler works.
6320 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6321 # <limits.h> exists even on freestanding compilers.
6322 # On the NeXT, cc -E runs the code through the compiler's parser,
6323 # not just through cpp. "Syntax error" is here to catch this case.
6324 cat >conftest.
$ac_ext <<_ACEOF
6327 cat confdefs.h
>>conftest.
$ac_ext
6328 cat >>conftest.
$ac_ext <<_ACEOF
6329 /* end confdefs.h. */
6331 # include <limits.h>
6333 # include <assert.h>
6337 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6338 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6340 grep -v '^ *+' conftest.er1
>conftest.err
6342 cat conftest.err
>&5
6343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6344 (exit $ac_status); } >/dev
/null
; then
6345 if test -s conftest.err
; then
6346 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6347 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6354 if test -z "$ac_cpp_err"; then
6357 echo "$as_me: failed program was:" >&5
6358 sed 's/^/| /' conftest.
$ac_ext >&5
6360 # Broken: fails on valid input.
6363 rm -f conftest.err conftest.
$ac_ext
6365 # OK, works on sane cases. Now check whether non-existent headers
6366 # can be detected and how.
6367 cat >conftest.
$ac_ext <<_ACEOF
6370 cat confdefs.h
>>conftest.
$ac_ext
6371 cat >>conftest.
$ac_ext <<_ACEOF
6372 /* end confdefs.h. */
6373 #include <ac_nonexistent.h>
6375 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6376 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6378 grep -v '^ *+' conftest.er1
>conftest.err
6380 cat conftest.err
>&5
6381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6382 (exit $ac_status); } >/dev
/null
; then
6383 if test -s conftest.err
; then
6384 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6385 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6392 if test -z "$ac_cpp_err"; then
6393 # Broken: success on invalid input.
6396 echo "$as_me: failed program was:" >&5
6397 sed 's/^/| /' conftest.
$ac_ext >&5
6399 # Passes both tests.
6403 rm -f conftest.err conftest.
$ac_ext
6406 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6407 rm -f conftest.err conftest.
$ac_ext
6408 if $ac_preproc_ok; then
6413 ac_cv_prog_CXXCPP
=$CXXCPP
6416 CXXCPP
=$ac_cv_prog_CXXCPP
6418 ac_cv_prog_CXXCPP
=$CXXCPP
6420 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6421 echo "${ECHO_T}$CXXCPP" >&6
6423 for ac_cxx_preproc_warn_flag
in '' yes
6425 # Use a header file that comes with gcc, so configuring glibc
6426 # with a fresh cross-compiler works.
6427 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6428 # <limits.h> exists even on freestanding compilers.
6429 # On the NeXT, cc -E runs the code through the compiler's parser,
6430 # not just through cpp. "Syntax error" is here to catch this case.
6431 cat >conftest.
$ac_ext <<_ACEOF
6434 cat confdefs.h
>>conftest.
$ac_ext
6435 cat >>conftest.
$ac_ext <<_ACEOF
6436 /* end confdefs.h. */
6438 # include <limits.h>
6440 # include <assert.h>
6444 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6445 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6447 grep -v '^ *+' conftest.er1
>conftest.err
6449 cat conftest.err
>&5
6450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6451 (exit $ac_status); } >/dev
/null
; then
6452 if test -s conftest.err
; then
6453 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6454 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6461 if test -z "$ac_cpp_err"; then
6464 echo "$as_me: failed program was:" >&5
6465 sed 's/^/| /' conftest.
$ac_ext >&5
6467 # Broken: fails on valid input.
6470 rm -f conftest.err conftest.
$ac_ext
6472 # OK, works on sane cases. Now check whether non-existent headers
6473 # can be detected and how.
6474 cat >conftest.
$ac_ext <<_ACEOF
6477 cat confdefs.h
>>conftest.
$ac_ext
6478 cat >>conftest.
$ac_ext <<_ACEOF
6479 /* end confdefs.h. */
6480 #include <ac_nonexistent.h>
6482 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6483 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6485 grep -v '^ *+' conftest.er1
>conftest.err
6487 cat conftest.err
>&5
6488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6489 (exit $ac_status); } >/dev
/null
; then
6490 if test -s conftest.err
; then
6491 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6492 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6499 if test -z "$ac_cpp_err"; then
6500 # Broken: success on invalid input.
6503 echo "$as_me: failed program was:" >&5
6504 sed 's/^/| /' conftest.
$ac_ext >&5
6506 # Passes both tests.
6510 rm -f conftest.err conftest.
$ac_ext
6513 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6514 rm -f conftest.err conftest.
$ac_ext
6515 if $ac_preproc_ok; then
6518 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6519 See \`config.log' for more details." >&5
6520 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6521 See \`config.log' for more details." >&2;}
6522 { (exit 1); exit 1; }; }
6526 ac_cpp
='$CPP $CPPFLAGS'
6527 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6528 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6529 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6533 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
6535 lt_save_CFLAGS
="$CFLAGS"
6536 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
6537 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
6538 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
6539 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
6540 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
6541 deplibs_check_method
="$deplibs_check_method" \
6542 file_magic_cmd
="$file_magic_cmd" \
6543 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
6544 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
6545 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
6546 echo "$as_me: error: libtool tag configuration failed" >&2;}
6547 { (exit 1); exit 1; }; }
6549 CFLAGS
="$lt_save_CFLAGS"
6551 # Redirect the config.log output again, so that the ltconfig log is not
6552 # clobbered by the next message.
6553 exec 5>>.
/config.log
6563 # Extract the first word of "$ac_prog", so it can be a program name with args.
6564 set dummy
$ac_prog; ac_word
=$2
6565 echo "$as_me:$LINENO: checking for $ac_word" >&5
6566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6567 if test "${ac_cv_prog_GCJ+set}" = set; then
6568 echo $ECHO_N "(cached) $ECHO_C" >&6
6570 if test -n "$GCJ"; then
6571 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
6573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6577 test -z "$as_dir" && as_dir
=.
6578 for ac_exec_ext
in '' $ac_executable_extensions; do
6579 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6580 ac_cv_prog_GCJ
="$ac_prog"
6581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6590 if test -n "$GCJ"; then
6591 echo "$as_me:$LINENO: result: $GCJ" >&5
6592 echo "${ECHO_T}$GCJ" >&6
6594 echo "$as_me:$LINENO: result: no" >&5
6595 echo "${ECHO_T}no" >&6
6598 test -n "$GCJ" && break
6600 test -n "$GCJ" || GCJ
="gcj"
6602 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
6603 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
6604 { (exit 1); exit 1; }; }
6605 if test "x${GCJFLAGS-unset}" = xunset
; then
6610 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
6612 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6613 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6614 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
6615 echo $ECHO_N "(cached) $ECHO_C" >&6
6617 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6618 # We make a subdir and do the tests there. Otherwise we can end up
6619 # making bogus files that we don't know about and never remove. For
6620 # instance it was reported that on HP-UX the gcc test will end up
6621 # making a dummy file named `D' -- because `-MD' means `put the output
6624 # Copy depcomp to subdir because otherwise we won't find it if we're
6625 # using a relative directory.
6626 cp "$am_depcomp" conftest.dir
6628 # We will build objects and dependencies in a subdirectory because
6629 # it helps to detect inapplicable dependency modes. For instance
6630 # both Tru64's cc and ICC support -MD to output dependencies as a
6631 # side effect of compilation, but ICC will put the dependencies in
6632 # the current directory while Tru64 will put them in the object
6636 am_cv_GCJ_dependencies_compiler_type
=none
6637 if test "$am_compiler_list" = ""; then
6638 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6640 for depmode
in $am_compiler_list; do
6641 # Setup a source with many dependencies, because some compilers
6642 # like to wrap large dependency lists on column 80 (with \), and
6643 # we should not choose a depcomp mode which is confused by this.
6645 # We need to recreate these files for each test, as the compiler may
6646 # overwrite some of them when testing with obscure command lines.
6647 # This happens at least with the AIX C compiler.
6649 for i
in 1 2 3 4 5 6; do
6650 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6651 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6652 # Solaris 8's {/usr,}/bin/sh.
6653 touch sub
/conftst
$i.h
6655 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6659 # after this tag, mechanisms are not by side-effect, so they'll
6660 # only be used when explicitly requested
6661 if test "x$enable_dependency_tracking" = xyes
; then
6669 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6670 # mode. It turns out that the SunPro C++ compiler does not properly
6671 # handle `-M -o', and we need to detect this.
6672 if depmode
=$depmode \
6673 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6674 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6675 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6676 >/dev
/null
2>conftest.err
&&
6677 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6678 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6679 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6680 # icc doesn't choke on unknown options, it will just issue warnings
6681 # or remarks (even with -Werror). So we grep stderr for any message
6682 # that says an option was ignored or not supported.
6683 # When given -MP, icc 7.0 and 7.1 complain thusly:
6684 # icc: Command line warning: ignoring option '-M'; no argument required
6685 # The diagnosis changed in icc 8.0:
6686 # icc: Command line remark: option '-MP' not supported
6687 if (grep 'ignoring option' conftest.err ||
6688 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6689 am_cv_GCJ_dependencies_compiler_type
=$depmode
6698 am_cv_GCJ_dependencies_compiler_type
=none
6702 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
6703 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
6704 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
6709 test "x$enable_dependency_tracking" != xno \
6710 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
6711 am__fastdepGCJ_TRUE
=
6712 am__fastdepGCJ_FALSE
='#'
6714 am__fastdepGCJ_TRUE
='#'
6715 am__fastdepGCJ_FALSE
=
6721 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-gcj.sh"
6723 lt_save_CFLAGS
="$CFLAGS"
6724 AR
="$AR" LTCC
="$CC" CC
="$GCJ" CFLAGS
="$GCJFLAGS" CPPFLAGS
="$CPPFLAGS" \
6725 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
6726 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
6727 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
6728 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
6729 deplibs_check_method
="$deplibs_check_method" \
6730 file_magic_cmd
="$file_magic_cmd" \
6731 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
6732 --build="$build" --add-tag=GCJ
$ac_aux_dir/ltcf-gcj.sh
$host \
6733 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
6734 echo "$as_me: error: libtool tag configuration failed" >&2;}
6735 { (exit 1); exit 1; }; }
6737 CFLAGS
="$lt_save_CFLAGS"
6739 # Redirect the config.log output again, so that the ltconfig log is not
6740 # clobbered by the next message.
6741 exec 5>>.
/config.log
6745 if test "x$CC" != xcc
; then
6746 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
6747 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
6749 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
6750 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
6752 set dummy
$CC; ac_cc
=`echo $2 |
6753 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6754 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
6755 echo $ECHO_N "(cached) $ECHO_C" >&6
6757 cat >conftest.
$ac_ext <<_ACEOF
6760 cat confdefs.h
>>conftest.
$ac_ext
6761 cat >>conftest.
$ac_ext <<_ACEOF
6762 /* end confdefs.h. */
6772 # Make sure it works both with $CC and with simple cc.
6773 # We do the test twice because some compilers refuse to overwrite an
6774 # existing .o file with -o, though they will create one.
6775 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
6776 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6780 (exit $ac_status); } &&
6781 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6785 (exit $ac_status); };
6787 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
6788 if test "x$CC" != xcc
; then
6789 # Test first that cc exists at all.
6790 if { ac_try
='cc -c conftest.$ac_ext >&5'
6791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6795 (exit $ac_status); }; }; then
6796 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
6797 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6801 (exit $ac_status); } &&
6802 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6806 (exit $ac_status); };
6811 # cc exists but doesn't like -o.
6812 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
6817 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
6822 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
6823 echo "$as_me:$LINENO: result: yes" >&5
6824 echo "${ECHO_T}yes" >&6
6826 echo "$as_me:$LINENO: result: no" >&5
6827 echo "${ECHO_T}no" >&6
6829 cat >>confdefs.h
<<\_ACEOF
6830 #define NO_MINUS_C_MINUS_O 1
6835 # FIXME: we rely on the cache variable name because
6836 # there is no other way.
6838 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6839 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
6840 # Losing compiler, so override with the script.
6841 # FIXME: It is wrong to rewrite CC.
6842 # But if we don't then we get into trouble of one sort or another.
6843 # A longer-term fix would be to have automake use am__CC in this case,
6844 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6845 CC
="$am_aux_dir/compile $CC"
6851 subdirs
="$subdirs classpath libltdl"
6854 # The -no-testsuite modules omit the test subdir.
6857 if test -d $srcdir/testsuite
; then
6859 TESTSUBDIR_FALSE
='#'
6866 # Should the runtime set system properties by examining the
6867 # environment variable GCJ_PROPERTIES?
6868 # Check whether --enable-getenv-properties or --disable-getenv-properties was given.
6869 if test "${enable_getenv_properties+set}" = set; then
6870 enableval
="$enable_getenv_properties"
6874 # Whether GCJ_PROPERTIES is used depends on the target.
6875 if test -z "$enable_getenv_properties"; then
6876 enable_getenv_properties
=${enable_getenv_properties_default-yes}
6878 if test "$enable_getenv_properties" = no
; then
6880 cat >>confdefs.h
<<\_ACEOF
6881 #define DISABLE_GETENV_PROPERTIES 1
6886 # Whether we should use arguments to main()
6887 if test -z "$enable_main_args"; then
6888 enable_main_args
=${enable_main_args_default-yes}
6890 if test "$enable_main_args" = no
; then
6892 cat >>confdefs.h
<<\_ACEOF
6893 #define DISABLE_MAIN_ARGS 1
6899 # Should we use hashtable-based synchronization?
6900 # Currently works only for Linux X86/ia64
6901 # Typically faster and more space-efficient
6902 # Check whether --enable-hash-synchronization or --disable-hash-synchronization was given.
6903 if test "${enable_hash_synchronization+set}" = set; then
6904 enableval
="$enable_hash_synchronization"
6908 if test -z "$enable_hash_synchronization"; then
6909 enable_hash_synchronization
=$enable_hash_synchronization_default
6917 # Check whether --with-ecj-jar or --without-ecj-jar was given.
6918 if test "${with_ecj_jar+set}" = set; then
6919 withval
="$with_ecj_jar"
6922 if test -f $multi_basedir/ecj.jar
; then
6923 ECJ_BUILD_JAR
=$multi_basedir/ecj.jar
6924 ECJ_JAR
='$(jardir)/ecj.jar'
6932 if test "$ECJ_JAR" != ""; then
6934 BUILD_ECJ1_FALSE
='#'
6942 if test $install_ecj_jar = yes; then
6943 INSTALL_ECJ_JAR_TRUE
=
6944 INSTALL_ECJ_JAR_FALSE
='#'
6946 INSTALL_ECJ_JAR_TRUE
='#'
6947 INSTALL_ECJ_JAR_FALSE
=
6952 # Check whether --with-java-home or --without-java-home was given.
6953 if test "${with_java_home+set}" = set; then
6954 withval
="$with_java_home"
6955 JAVA_HOME
="${withval}"
6961 if test ! -z "$JAVA_HOME"; then
6963 JAVA_HOME_SET_FALSE
='#'
6965 JAVA_HOME_SET_TRUE
='#'
6966 JAVA_HOME_SET_FALSE
=
6971 # What is the native OS API for MinGW?
6973 # Check whether --with-win32-nlsapi or --without-win32-nlsapi was given.
6974 if test "${with_win32_nlsapi+set}" = set; then
6975 withval
="$with_win32_nlsapi"
6976 case "${withval}" in
6977 ansi
) with_win32_nlsapi
=ansi
;;
6978 unicows
) with_win32_nlsapi
=unicows
;;
6979 unicode
) with_win32_nlsapi
=unicode
;;
6980 *) { { echo "$as_me:$LINENO: error: Bad value ${withval} for --with-win32-nlsapi." >&5
6981 echo "$as_me: error: Bad value ${withval} for --with-win32-nlsapi." >&2;}
6982 { (exit 1); exit 1; }; } ;;
6985 with_win32_nlsapi
=ansi
6988 case "${with_win32_nlsapi}" in
6991 cat >>confdefs.h
<<\_ACEOF
6992 #define MINGW_LIBGCJ_UNICODE 1
6998 # configure.host sets slow_pthread_self if the synchronization code should
6999 # try to avoid pthread_self calls by caching thread IDs in a hashtable.
7000 if test "${slow_pthread_self}" = "yes"; then
7002 cat >>confdefs.h
<<\_ACEOF
7003 #define SLOW_PTHREAD_SELF 1
7008 # Check for gc debugging. This option is handled both here and in the GC.
7009 # Check whether --enable-gc-debug or --disable-gc-debug was given.
7010 if test "${enable_gc_debug+set}" = set; then
7011 enableval
="$enable_gc_debug"
7012 if test "$enable_gc_debug" = "yes"; then
7014 cat >>confdefs.h
<<\_ACEOF
7015 #define LIBGCJ_GC_DEBUG 1
7021 # See if the user has the interpreter included.
7022 # Check whether --enable-interpreter or --disable-interpreter was given.
7023 if test "${enable_interpreter+set}" = set; then
7024 enableval
="$enable_interpreter"
7025 if test "$enable_interpreter" = yes; then
7026 # This can also be set in configure.host.
7027 libgcj_interpreter
=yes
7028 elif test "$enable_interpreter" = no
; then
7029 libgcj_interpreter
=no
7033 if test "$libgcj_interpreter" = yes; then
7035 cat >>confdefs.h
<<\_ACEOF
7036 #define INTERPRETER 1
7040 INTERPRETER
="$libgcj_interpreter"
7043 echo "$as_me:$LINENO: checking for exception model to use" >&5
7044 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
7046 ac_cpp
='$CXXCPP $CPPFLAGS'
7047 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7048 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7049 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7051 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
7052 if test "${enable_sjlj_exceptions+set}" = set; then
7053 enableval
="$enable_sjlj_exceptions"
7056 cat > conftest.
$ac_ext << EOF
7057 #line 7057 "configure"
7066 old_CXXFLAGS
="$CXXFLAGS"
7068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7069 (eval $ac_compile) 2>&5
7071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7072 (exit $ac_status); }; then
7073 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1 ; then
7074 enable_sjlj_exceptions
=yes
7075 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1 ; then
7076 enable_sjlj_exceptions
=no
7079 CXXFLAGS
="$old_CXXFLAGS"
7082 if test x
$enable_sjlj_exceptions = xyes
; then
7084 cat >>confdefs.h
<<\_ACEOF
7085 #define SJLJ_EXCEPTIONS 1
7088 ac_exception_model_name
=sjlj
7089 elif test x
$enable_sjlj_exceptions = xno
; then
7090 ac_exception_model_name
="call frame"
7092 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
7093 echo "$as_me: error: unable to detect exception model" >&2;}
7094 { (exit 1); exit 1; }; }
7097 ac_cpp
='$CPP $CPPFLAGS'
7098 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7099 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7100 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7102 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
7103 echo "${ECHO_T}$ac_exception_model_name" >&6
7105 # If we are non using SJLJ exceptions, and this host does not have support
7106 # for unwinding from a signal handler, enable checked dereferences and divides.
7107 if test $can_unwind_signal = no
&& test $enable_sjlj_exceptions = no
; then
7108 CHECKREFSPEC
=-fcheck-references
7109 DIVIDESPEC
=-fuse-divide-subroutine
7113 # See if the user wants to disable java.net. This is the mildly
7114 # ugly way that we admit that target-side configuration sucks.
7115 # Check whether --enable-java-net or --disable-java-net was given.
7116 if test "${enable_java_net+set}" = set; then
7117 enableval
="$enable_java_net"
7121 # Whether java.net is built by default can depend on the target.
7122 if test -z "$enable_java_net"; then
7123 enable_java_net
=${enable_java_net_default-yes}
7125 if test "$enable_java_net" = no
; then
7127 cat >>confdefs.h
<<\_ACEOF
7128 #define DISABLE_JAVA_NET 1
7133 # See if the user wants to configure without libffi. Some
7134 # architectures don't support it, and default values are set in
7137 # Check whether --with-libffi or --without-libffi was given.
7138 if test "${with_libffi+set}" = set; then
7139 withval
="$with_libffi"
7142 with_libffi
=${with_libffi_default-yes}
7147 if test "$with_libffi" != no
; then
7149 cat >>confdefs.h
<<\_ACEOF
7150 #define USE_LIBFFI 1
7153 LIBFFI
=..
/libffi
/libffi_convenience.la
7154 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
7159 # See if the user wants to disable JVMPI support.
7160 # Check whether --enable-jvmpi or --disable-jvmpi was given.
7161 if test "${enable_jvmpi+set}" = set; then
7162 enableval
="$enable_jvmpi"
7166 if test "$enable_jvmpi" != no
; then
7168 cat >>confdefs.h
<<\_ACEOF
7169 #define ENABLE_JVMPI 1
7174 # If the target is an eCos system, use the appropriate eCos
7176 # FIXME: this should not be a local option but a global target
7177 # system; at present there is no eCos target.
7178 TARGET_ECOS
=${PROCESS-"no"}
7180 # Check whether --with-ecos or --without-ecos was given.
7181 if test "${with_ecos+set}" = set; then
7182 withval
="$with_ecos"
7183 TARGET_ECOS
="$with_ecos"
7187 case "$TARGET_ECOS" in
7194 echo "$as_me:$LINENO: checking whether 'ld' is at least 2.13" >&5
7195 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6
7196 LD_PROG
=`$CC --print-prog-name=ld`
7197 LD_VERSION
=`$LD_PROG --version`
7198 LD_VERSION_MAJOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
7199 LD_VERSION_MINOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
7200 if expr "$LD_VERSION_MAJOR" \
> 2 > /dev
/null
; then
7203 if expr "$LD_VERSION_MAJOR" = 2 && expr "$LD_VERSION_MINOR" \
>= 13 > /dev
/null
; then
7207 if test "x$LD_OK" != x
; then
7208 echo "$as_me:$LINENO: result: yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
7209 echo "${ECHO_T}yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
7211 echo "$as_me:$LINENO: result: no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
7212 echo "${ECHO_T}no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
7213 { echo "$as_me:$LINENO: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&5
7214 echo "$as_me: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&2;}
7216 cat >>confdefs.h
<<\_ACEOF
7217 #define JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS 1
7233 cat >>confdefs.h
<<\_ACEOF
7241 ac_config_links
="$ac_config_links include/platform.h:include/$PLATFORMH"
7245 ac_cpp
='$CPP $CPPFLAGS'
7246 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7247 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7248 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7249 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7250 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
7251 # On Suns, sometimes $CPP names a directory.
7252 if test -n "$CPP" && test -d "$CPP"; then
7255 if test -z "$CPP"; then
7256 if test "${ac_cv_prog_CPP+set}" = set; then
7257 echo $ECHO_N "(cached) $ECHO_C" >&6
7259 # Double quotes because CPP needs to be expanded
7260 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7263 for ac_c_preproc_warn_flag
in '' yes
7265 # Use a header file that comes with gcc, so configuring glibc
7266 # with a fresh cross-compiler works.
7267 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7268 # <limits.h> exists even on freestanding compilers.
7269 # On the NeXT, cc -E runs the code through the compiler's parser,
7270 # not just through cpp. "Syntax error" is here to catch this case.
7271 cat >conftest.
$ac_ext <<_ACEOF
7274 cat confdefs.h
>>conftest.
$ac_ext
7275 cat >>conftest.
$ac_ext <<_ACEOF
7276 /* end confdefs.h. */
7278 # include <limits.h>
7280 # include <assert.h>
7284 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7285 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7287 grep -v '^ *+' conftest.er1
>conftest.err
7289 cat conftest.err
>&5
7290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7291 (exit $ac_status); } >/dev
/null
; then
7292 if test -s conftest.err
; then
7293 ac_cpp_err
=$ac_c_preproc_warn_flag
7294 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7301 if test -z "$ac_cpp_err"; then
7304 echo "$as_me: failed program was:" >&5
7305 sed 's/^/| /' conftest.
$ac_ext >&5
7307 # Broken: fails on valid input.
7310 rm -f conftest.err conftest.
$ac_ext
7312 # OK, works on sane cases. Now check whether non-existent headers
7313 # can be detected and how.
7314 cat >conftest.
$ac_ext <<_ACEOF
7317 cat confdefs.h
>>conftest.
$ac_ext
7318 cat >>conftest.
$ac_ext <<_ACEOF
7319 /* end confdefs.h. */
7320 #include <ac_nonexistent.h>
7322 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7323 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7325 grep -v '^ *+' conftest.er1
>conftest.err
7327 cat conftest.err
>&5
7328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7329 (exit $ac_status); } >/dev
/null
; then
7330 if test -s conftest.err
; then
7331 ac_cpp_err
=$ac_c_preproc_warn_flag
7332 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7339 if test -z "$ac_cpp_err"; then
7340 # Broken: success on invalid input.
7343 echo "$as_me: failed program was:" >&5
7344 sed 's/^/| /' conftest.
$ac_ext >&5
7346 # Passes both tests.
7350 rm -f conftest.err conftest.
$ac_ext
7353 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7354 rm -f conftest.err conftest.
$ac_ext
7355 if $ac_preproc_ok; then
7367 echo "$as_me:$LINENO: result: $CPP" >&5
7368 echo "${ECHO_T}$CPP" >&6
7370 for ac_c_preproc_warn_flag
in '' yes
7372 # Use a header file that comes with gcc, so configuring glibc
7373 # with a fresh cross-compiler works.
7374 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7375 # <limits.h> exists even on freestanding compilers.
7376 # On the NeXT, cc -E runs the code through the compiler's parser,
7377 # not just through cpp. "Syntax error" is here to catch this case.
7378 cat >conftest.
$ac_ext <<_ACEOF
7381 cat confdefs.h
>>conftest.
$ac_ext
7382 cat >>conftest.
$ac_ext <<_ACEOF
7383 /* end confdefs.h. */
7385 # include <limits.h>
7387 # include <assert.h>
7391 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7392 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7394 grep -v '^ *+' conftest.er1
>conftest.err
7396 cat conftest.err
>&5
7397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7398 (exit $ac_status); } >/dev
/null
; then
7399 if test -s conftest.err
; then
7400 ac_cpp_err
=$ac_c_preproc_warn_flag
7401 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7408 if test -z "$ac_cpp_err"; then
7411 echo "$as_me: failed program was:" >&5
7412 sed 's/^/| /' conftest.
$ac_ext >&5
7414 # Broken: fails on valid input.
7417 rm -f conftest.err conftest.
$ac_ext
7419 # OK, works on sane cases. Now check whether non-existent headers
7420 # can be detected and how.
7421 cat >conftest.
$ac_ext <<_ACEOF
7424 cat confdefs.h
>>conftest.
$ac_ext
7425 cat >>conftest.
$ac_ext <<_ACEOF
7426 /* end confdefs.h. */
7427 #include <ac_nonexistent.h>
7429 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7430 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7432 grep -v '^ *+' conftest.er1
>conftest.err
7434 cat conftest.err
>&5
7435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7436 (exit $ac_status); } >/dev
/null
; then
7437 if test -s conftest.err
; then
7438 ac_cpp_err
=$ac_c_preproc_warn_flag
7439 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7446 if test -z "$ac_cpp_err"; then
7447 # Broken: success on invalid input.
7450 echo "$as_me: failed program was:" >&5
7451 sed 's/^/| /' conftest.
$ac_ext >&5
7453 # Passes both tests.
7457 rm -f conftest.err conftest.
$ac_ext
7460 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7461 rm -f conftest.err conftest.
$ac_ext
7462 if $ac_preproc_ok; then
7465 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7466 See \`config.log' for more details." >&5
7467 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7468 See \`config.log' for more details." >&2;}
7469 { (exit 1); exit 1; }; }
7473 ac_cpp
='$CPP $CPPFLAGS'
7474 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7475 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7476 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7479 echo "$as_me:$LINENO: checking for egrep" >&5
7480 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
7481 if test "${ac_cv_prog_egrep+set}" = set; then
7482 echo $ECHO_N "(cached) $ECHO_C" >&6
7484 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
7485 then ac_cv_prog_egrep
='grep -E'
7486 else ac_cv_prog_egrep
='egrep'
7489 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
7490 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
7491 EGREP
=$ac_cv_prog_egrep
7494 cat >conftest.
$ac_ext <<_ACEOF
7497 cat confdefs.h
>>conftest.
$ac_ext
7498 cat >>conftest.
$ac_ext <<_ACEOF
7499 /* end confdefs.h. */
7503 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7504 $EGREP "uint32_t" >/dev
/null
2>&1; then
7506 cat >>confdefs.h
<<\_ACEOF
7507 #define HAVE_INT32_DEFINED 1
7513 cat >conftest.
$ac_ext <<_ACEOF
7516 cat confdefs.h
>>conftest.
$ac_ext
7517 cat >>conftest.
$ac_ext <<_ACEOF
7518 /* end confdefs.h. */
7519 #include <inttypes.h>
7522 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7523 $EGREP "uint32_t" >/dev
/null
2>&1; then
7525 cat >>confdefs.h
<<\_ACEOF
7526 #define HAVE_INT32_DEFINED 1
7532 cat >conftest.
$ac_ext <<_ACEOF
7535 cat confdefs.h
>>conftest.
$ac_ext
7536 cat >>conftest.
$ac_ext <<_ACEOF
7537 /* end confdefs.h. */
7538 #include <sys/types.h>
7541 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7542 $EGREP "u_int32_t" >/dev
/null
2>&1; then
7544 cat >>confdefs.h
<<\_ACEOF
7545 #define HAVE_BSD_INT32_DEFINED 1
7551 cat >conftest.
$ac_ext <<_ACEOF
7554 cat confdefs.h
>>conftest.
$ac_ext
7555 cat >>conftest.
$ac_ext <<_ACEOF
7556 /* end confdefs.h. */
7557 #include <sys/config.h>
7560 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7561 $EGREP "u_int32_t" >/dev
/null
2>&1; then
7563 cat >>confdefs.h
<<\_ACEOF
7564 #define HAVE_BSD_INT32_DEFINED 1
7573 if test "$PLATFORM" = Win32
; then
7574 USING_WIN32_PLATFORM_TRUE
=
7575 USING_WIN32_PLATFORM_FALSE
='#'
7577 USING_WIN32_PLATFORM_TRUE
='#'
7578 USING_WIN32_PLATFORM_FALSE
=
7583 if test "$PLATFORM" = Posix ||
test "$PLATFORM" = Ecos
; then
7584 USING_POSIX_PLATFORM_TRUE
=
7585 USING_POSIX_PLATFORM_FALSE
='#'
7587 USING_POSIX_PLATFORM_TRUE
='#'
7588 USING_POSIX_PLATFORM_FALSE
=
7593 *-darwin*) DARWIN_CRT
=true
;;
7594 *) DARWIN_CRT
=false
;;
7598 if $DARWIN_CRT; then
7599 USING_DARWIN_CRT_TRUE
=
7600 USING_DARWIN_CRT_FALSE
='#'
7602 USING_DARWIN_CRT_TRUE
='#'
7603 USING_DARWIN_CRT_FALSE
=
7607 # These may not be defined in a non-ANS conformant embedded system.
7608 # FIXME: Should these case a runtime exception in that case?
7609 cat >conftest.
$ac_ext <<_ACEOF
7612 cat confdefs.h
>>conftest.
$ac_ext
7613 cat >>conftest.
$ac_ext <<_ACEOF
7614 /* end confdefs.h. */
7618 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7619 $EGREP "mktime" >/dev
/null
2>&1; then
7621 cat >>confdefs.h
<<\_ACEOF
7622 #define HAVE_MKTIME 1
7628 cat >conftest.
$ac_ext <<_ACEOF
7631 cat confdefs.h
>>conftest.
$ac_ext
7632 cat >>conftest.
$ac_ext <<_ACEOF
7633 /* end confdefs.h. */
7637 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7638 $EGREP "localtime" >/dev
/null
2>&1; then
7640 cat >>confdefs.h
<<\_ACEOF
7641 #define HAVE_LOCALTIME 1
7648 # Create the subdirectory for natFile.cc, or the attempt
7649 # to create the link will fail.
7650 test -d java || mkdir java
7651 test -d java
/io || mkdir java
/io
7652 test -d gnu || mkdir gnu
7653 ac_config_links
="$ac_config_links java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc"
7656 # Likewise for natConcreteProcess.cc.
7657 test -d java
/lang || mkdir java
/lang
7658 ac_config_links
="$ac_config_links java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc"
7661 # Likewise for natVMInetAddress.cc and natVMNetworkInterface.cc.
7662 test -d java
/net || mkdir java
/net
7663 ac_config_links
="$ac_config_links java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc"
7665 ac_config_links
="$ac_config_links java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc"
7668 # Likewise for natPlainSocketImpl.cc and natPlainDatagramSocketImpl.cc.
7669 test -d gnu
/java || mkdir gnu
/java
7670 test -d gnu
/java
/net || mkdir gnu
/java
/net
7671 ac_config_links
="$ac_config_links gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc"
7673 ac_config_links
="$ac_config_links gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc"
7676 # Likewise for natVMPipe.cc and natVMSelector.cc.
7677 test -d gnu
/java
/nio || mkdir gnu
/java
/nio
7678 ac_config_links
="$ac_config_links gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc"
7680 ac_config_links
="$ac_config_links gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc"
7683 # Likewise for natFileChannelImpl.cc
7684 test -d gnu
/java
/nio
/channels || mkdir gnu
/java
/nio
/channels
7685 ac_config_links
="$ac_config_links gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc"
7690 SYSTEMSPEC
="-lgdi32 -lws2_32"
7691 if test "${with_win32_nlsapi}" = "unicows"; then
7692 SYSTEMSPEC
="-lunicows $SYSTEMSPEC"
7701 LIBGCJTESTSPEC
="-L`${PWDCMD-pwd}`/.libs -rpath `${PWDCMD-pwd}`/.libs"
7705 # Check whether --with-system-zlib or --without-system-zlib was given.
7706 if test "${with_system_zlib+set}" = set; then
7707 withval
="$with_system_zlib"
7715 echo "$as_me:$LINENO: checking for X" >&5
7716 echo $ECHO_N "checking for X... $ECHO_C" >&6
7719 # Check whether --with-x or --without-x was given.
7720 if test "${with_x+set}" = set; then
7724 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7725 if test "x$with_x" = xno
; then
7726 # The user explicitly disabled X.
7729 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7730 # Both variables are already set.
7733 if test "${ac_cv_have_x+set}" = set; then
7734 echo $ECHO_N "(cached) $ECHO_C" >&6
7736 # One or both of the vars are not set, and there is no cached value.
7737 ac_x_includes
=no ac_x_libraries
=no
7739 if mkdir conftest.dir
; then
7741 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7742 cat >Imakefile
<<'_ACEOF'
7744 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7746 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7747 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7748 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7749 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7750 for ac_extension
in a so sl
; do
7751 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7752 test -f $ac_im_libdir/libX11.
$ac_extension; then
7753 ac_im_usrlibdir
=$ac_im_libdir; break
7756 # Screen out bogus values from the imake configuration. They are
7757 # bogus both because they are the default anyway, and because
7758 # using them would break gcc on systems where it needs fixed includes.
7759 case $ac_im_incroot in
7761 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7763 case $ac_im_usrlibdir in
7765 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7772 # Standard set of common directories for X headers.
7773 # Check X11 before X11Rn because it is often a symlink to the current release.
7785 /usr/local/X11/include
7786 /usr/local/X11R6/include
7787 /usr/local/X11R5/include
7788 /usr/local/X11R4/include
7790 /usr/local/include/X11
7791 /usr/local/include/X11R6
7792 /usr/local/include/X11R5
7793 /usr/local/include/X11R4
7797 /usr/XFree86/include/X11
7801 /usr/unsupported/include
7803 /usr/local/x11r5/include
7804 /usr/lpp/Xamples/include
7806 /usr/openwin/include
7807 /usr/openwin/share/include'
7809 if test "$ac_x_includes" = no
; then
7810 # Guess where to find include files, by looking for Xlib.h.
7811 # First, try using that file with no special directory specified.
7812 cat >conftest.
$ac_ext <<_ACEOF
7815 cat confdefs.h
>>conftest.
$ac_ext
7816 cat >>conftest.
$ac_ext <<_ACEOF
7817 /* end confdefs.h. */
7818 #include <X11/Xlib.h>
7820 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7821 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7823 grep -v '^ *+' conftest.er1
>conftest.err
7825 cat conftest.err
>&5
7826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7827 (exit $ac_status); } >/dev
/null
; then
7828 if test -s conftest.err
; then
7829 ac_cpp_err
=$ac_c_preproc_warn_flag
7830 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7837 if test -z "$ac_cpp_err"; then
7838 # We can compile using X headers with no special include directory.
7841 echo "$as_me: failed program was:" >&5
7842 sed 's/^/| /' conftest.
$ac_ext >&5
7844 for ac_dir
in $ac_x_header_dirs; do
7845 if test -r "$ac_dir/X11/Xlib.h"; then
7846 ac_x_includes
=$ac_dir
7851 rm -f conftest.err conftest.
$ac_ext
7852 fi # $ac_x_includes = no
7854 if test "$ac_x_libraries" = no
; then
7855 # Check for the libraries.
7856 # See if we find them without any special options.
7857 # Don't add to $LIBS permanently.
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. */
7871 #include <X11/Xlib.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
7903 # We can link X programs with no special library path.
7906 echo "$as_me: failed program was:" >&5
7907 sed 's/^/| /' conftest.
$ac_ext >&5
7910 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7912 # Don't even attempt the hair of trying to link an X program!
7913 for ac_extension
in a so sl
; do
7914 if test -r $ac_dir/libXt.
$ac_extension; then
7915 ac_x_libraries
=$ac_dir
7921 rm -f conftest.err conftest.
$ac_objext \
7922 conftest
$ac_exeext conftest.
$ac_ext
7923 fi # $ac_x_libraries = no
7925 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
7926 # Didn't find X anywhere. Cache the known absence of X.
7927 ac_cv_have_x
="have_x=no"
7929 # Record where we found X for the cache.
7930 ac_cv_have_x
="have_x=yes \
7931 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7936 eval "$ac_cv_have_x"
7939 if test "$have_x" != yes; then
7940 echo "$as_me:$LINENO: result: $have_x" >&5
7941 echo "${ECHO_T}$have_x" >&6
7944 # If each of the values was on the command line, it overrides each guess.
7945 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7946 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7947 # Update the cache value to reflect the command line values.
7948 ac_cv_have_x
="have_x=yes \
7949 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7950 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
7951 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
7954 if test "$no_x" = yes; then
7955 # Not all programs may use this symbol, but it does not hurt to define it.
7957 cat >>confdefs.h
<<\_ACEOF
7958 #define X_DISPLAY_MISSING 1
7961 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7963 if test -n "$x_includes"; then
7964 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7967 # It would also be nice to do this for all -L options, not just this one.
7968 if test -n "$x_libraries"; then
7969 X_LIBS
="$X_LIBS -L$x_libraries"
7970 # For Solaris; some versions of Sun CC require a space after -R and
7971 # others require no space. Words are not sufficient . . . .
7972 case `(uname -sr) 2>/dev/null` in
7974 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
7975 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
7976 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7977 if test x
$gcc_no_link = xyes
; then
7978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7980 { (exit 1); exit 1; }; }
7982 cat >conftest.
$ac_ext <<_ACEOF
7985 cat confdefs.h
>>conftest.
$ac_ext
7986 cat >>conftest.
$ac_ext <<_ACEOF
7987 /* end confdefs.h. */
7997 rm -f conftest.
$ac_objext conftest
$ac_exeext
7998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7999 (eval $ac_link) 2>conftest.er1
8001 grep -v '^ *+' conftest.er1
>conftest.err
8003 cat conftest.err
>&5
8004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8005 (exit $ac_status); } &&
8006 { ac_try
='test -z "$ac_c_werror_flag"
8007 || test ! -s conftest.err'
8008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8012 (exit $ac_status); }; } &&
8013 { ac_try
='test -s conftest$ac_exeext'
8014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8018 (exit $ac_status); }; }; then
8021 echo "$as_me: failed program was:" >&5
8022 sed 's/^/| /' conftest.
$ac_ext >&5
8026 rm -f conftest.err conftest.
$ac_objext \
8027 conftest
$ac_exeext conftest.
$ac_ext
8028 if test $ac_R_nospace = yes; then
8029 echo "$as_me:$LINENO: result: no" >&5
8030 echo "${ECHO_T}no" >&6
8031 X_LIBS
="$X_LIBS -R$x_libraries"
8033 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8034 if test x
$gcc_no_link = xyes
; then
8035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8037 { (exit 1); exit 1; }; }
8039 cat >conftest.
$ac_ext <<_ACEOF
8042 cat confdefs.h
>>conftest.
$ac_ext
8043 cat >>conftest.
$ac_ext <<_ACEOF
8044 /* end confdefs.h. */
8054 rm -f conftest.
$ac_objext conftest
$ac_exeext
8055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8056 (eval $ac_link) 2>conftest.er1
8058 grep -v '^ *+' conftest.er1
>conftest.err
8060 cat conftest.err
>&5
8061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8062 (exit $ac_status); } &&
8063 { ac_try
='test -z "$ac_c_werror_flag"
8064 || test ! -s conftest.err'
8065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8069 (exit $ac_status); }; } &&
8070 { ac_try
='test -s conftest$ac_exeext'
8071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8075 (exit $ac_status); }; }; then
8078 echo "$as_me: failed program was:" >&5
8079 sed 's/^/| /' conftest.
$ac_ext >&5
8083 rm -f conftest.err conftest.
$ac_objext \
8084 conftest
$ac_exeext conftest.
$ac_ext
8085 if test $ac_R_space = yes; then
8086 echo "$as_me:$LINENO: result: yes" >&5
8087 echo "${ECHO_T}yes" >&6
8088 X_LIBS
="$X_LIBS -R $x_libraries"
8090 echo "$as_me:$LINENO: result: neither works" >&5
8091 echo "${ECHO_T}neither works" >&6
8098 # Check for system-dependent libraries X programs must link with.
8099 # Do this before checking for the system-independent R6 libraries
8100 # (-lICE), since we may need -lsocket or whatever for X linking.
8102 if test "$ISC" = yes; then
8103 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8105 # Martyn Johnson says this is needed for Ultrix, if the X
8106 # libraries were built with DECnet support. And Karl Berry says
8107 # the Alpha needs dnet_stub (dnet does not exist).
8108 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8109 if test x
$gcc_no_link = xyes
; then
8110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8112 { (exit 1); exit 1; }; }
8114 cat >conftest.
$ac_ext <<_ACEOF
8117 cat confdefs.h
>>conftest.
$ac_ext
8118 cat >>conftest.
$ac_ext <<_ACEOF
8119 /* end confdefs.h. */
8121 /* Override any gcc2 internal prototype to avoid an error. */
8125 /* We use char because int might match the return type of a gcc2
8126 builtin and then its argument prototype would still apply. */
8127 char XOpenDisplay ();
8136 rm -f conftest.
$ac_objext conftest
$ac_exeext
8137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8138 (eval $ac_link) 2>conftest.er1
8140 grep -v '^ *+' conftest.er1
>conftest.err
8142 cat conftest.err
>&5
8143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8144 (exit $ac_status); } &&
8145 { ac_try
='test -z "$ac_c_werror_flag"
8146 || test ! -s conftest.err'
8147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8151 (exit $ac_status); }; } &&
8152 { ac_try
='test -s conftest$ac_exeext'
8153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8157 (exit $ac_status); }; }; then
8160 echo "$as_me: failed program was:" >&5
8161 sed 's/^/| /' conftest.
$ac_ext >&5
8163 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
8164 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
8165 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
8166 echo $ECHO_N "(cached) $ECHO_C" >&6
8168 ac_check_lib_save_LIBS
=$LIBS
8170 if test x
$gcc_no_link = xyes
; then
8171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8173 { (exit 1); exit 1; }; }
8175 cat >conftest.
$ac_ext <<_ACEOF
8178 cat confdefs.h
>>conftest.
$ac_ext
8179 cat >>conftest.
$ac_ext <<_ACEOF
8180 /* end confdefs.h. */
8182 /* Override any gcc2 internal prototype to avoid an error. */
8186 /* We use char because int might match the return type of a gcc2
8187 builtin and then its argument prototype would still apply. */
8197 rm -f conftest.
$ac_objext conftest
$ac_exeext
8198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8199 (eval $ac_link) 2>conftest.er1
8201 grep -v '^ *+' conftest.er1
>conftest.err
8203 cat conftest.err
>&5
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); } &&
8206 { ac_try
='test -z "$ac_c_werror_flag"
8207 || test ! -s conftest.err'
8208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8212 (exit $ac_status); }; } &&
8213 { ac_try
='test -s conftest$ac_exeext'
8214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8218 (exit $ac_status); }; }; then
8219 ac_cv_lib_dnet_dnet_ntoa
=yes
8221 echo "$as_me: failed program was:" >&5
8222 sed 's/^/| /' conftest.
$ac_ext >&5
8224 ac_cv_lib_dnet_dnet_ntoa
=no
8226 rm -f conftest.err conftest.
$ac_objext \
8227 conftest
$ac_exeext conftest.
$ac_ext
8228 LIBS
=$ac_check_lib_save_LIBS
8230 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8231 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
8232 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
8233 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8236 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8237 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
8238 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
8239 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
8240 echo $ECHO_N "(cached) $ECHO_C" >&6
8242 ac_check_lib_save_LIBS
=$LIBS
8243 LIBS
="-ldnet_stub $LIBS"
8244 if test x
$gcc_no_link = xyes
; then
8245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8247 { (exit 1); exit 1; }; }
8249 cat >conftest.
$ac_ext <<_ACEOF
8252 cat confdefs.h
>>conftest.
$ac_ext
8253 cat >>conftest.
$ac_ext <<_ACEOF
8254 /* end confdefs.h. */
8256 /* Override any gcc2 internal prototype to avoid an error. */
8260 /* We use char because int might match the return type of a gcc2
8261 builtin and then its argument prototype would still apply. */
8271 rm -f conftest.
$ac_objext conftest
$ac_exeext
8272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8273 (eval $ac_link) 2>conftest.er1
8275 grep -v '^ *+' conftest.er1
>conftest.err
8277 cat conftest.err
>&5
8278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8279 (exit $ac_status); } &&
8280 { ac_try
='test -z "$ac_c_werror_flag"
8281 || test ! -s conftest.err'
8282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8286 (exit $ac_status); }; } &&
8287 { ac_try
='test -s conftest$ac_exeext'
8288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8292 (exit $ac_status); }; }; then
8293 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8295 echo "$as_me: failed program was:" >&5
8296 sed 's/^/| /' conftest.
$ac_ext >&5
8298 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8300 rm -f conftest.err conftest.
$ac_objext \
8301 conftest
$ac_exeext conftest.
$ac_ext
8302 LIBS
=$ac_check_lib_save_LIBS
8304 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8305 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
8306 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
8307 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8312 rm -f conftest.err conftest.
$ac_objext \
8313 conftest
$ac_exeext conftest.
$ac_ext
8314 LIBS
="$ac_xsave_LIBS"
8316 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8317 # to get the SysV transport functions.
8318 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8320 # The nsl library prevents programs from opening the X display
8321 # on Irix 5.2, according to T.E. Dickey.
8322 # The functions gethostbyname, getservbyname, and inet_addr are
8323 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8324 echo "$as_me:$LINENO: checking for gethostbyname" >&5
8325 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
8326 if test "${ac_cv_func_gethostbyname+set}" = set; then
8327 echo $ECHO_N "(cached) $ECHO_C" >&6
8329 if test x
$gcc_no_link = xyes
; then
8330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8332 { (exit 1); exit 1; }; }
8334 cat >conftest.
$ac_ext <<_ACEOF
8337 cat confdefs.h
>>conftest.
$ac_ext
8338 cat >>conftest.
$ac_ext <<_ACEOF
8339 /* end confdefs.h. */
8340 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
8341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8342 #define gethostbyname innocuous_gethostbyname
8344 /* System header to define __stub macros and hopefully few prototypes,
8345 which can conflict with char gethostbyname (); below.
8346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8347 <limits.h> exists even on freestanding compilers. */
8350 # include <limits.h>
8352 # include <assert.h>
8355 #undef gethostbyname
8357 /* Override any gcc2 internal prototype to avoid an error. */
8362 /* We use char because int might match the return type of a gcc2
8363 builtin and then its argument prototype would still apply. */
8364 char gethostbyname ();
8365 /* The GNU C library defines this for functions which it implements
8366 to always fail with ENOSYS. Some functions are actually named
8367 something starting with __ and the normal name is an alias. */
8368 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
8371 char (*f) () = gethostbyname;
8380 return f != gethostbyname;
8385 rm -f conftest.
$ac_objext conftest
$ac_exeext
8386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8387 (eval $ac_link) 2>conftest.er1
8389 grep -v '^ *+' conftest.er1
>conftest.err
8391 cat conftest.err
>&5
8392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8393 (exit $ac_status); } &&
8394 { ac_try
='test -z "$ac_c_werror_flag"
8395 || test ! -s conftest.err'
8396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8400 (exit $ac_status); }; } &&
8401 { ac_try
='test -s conftest$ac_exeext'
8402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8406 (exit $ac_status); }; }; then
8407 ac_cv_func_gethostbyname
=yes
8409 echo "$as_me: failed program was:" >&5
8410 sed 's/^/| /' conftest.
$ac_ext >&5
8412 ac_cv_func_gethostbyname
=no
8414 rm -f conftest.err conftest.
$ac_objext \
8415 conftest
$ac_exeext conftest.
$ac_ext
8417 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
8418 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
8420 if test $ac_cv_func_gethostbyname = no
; then
8421 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
8422 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
8423 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
8424 echo $ECHO_N "(cached) $ECHO_C" >&6
8426 ac_check_lib_save_LIBS
=$LIBS
8428 if test x
$gcc_no_link = xyes
; then
8429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8431 { (exit 1); exit 1; }; }
8433 cat >conftest.
$ac_ext <<_ACEOF
8436 cat confdefs.h
>>conftest.
$ac_ext
8437 cat >>conftest.
$ac_ext <<_ACEOF
8438 /* end confdefs.h. */
8440 /* Override any gcc2 internal prototype to avoid an error. */
8444 /* We use char because int might match the return type of a gcc2
8445 builtin and then its argument prototype would still apply. */
8446 char gethostbyname ();
8455 rm -f conftest.
$ac_objext conftest
$ac_exeext
8456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8457 (eval $ac_link) 2>conftest.er1
8459 grep -v '^ *+' conftest.er1
>conftest.err
8461 cat conftest.err
>&5
8462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8463 (exit $ac_status); } &&
8464 { ac_try
='test -z "$ac_c_werror_flag"
8465 || test ! -s conftest.err'
8466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8470 (exit $ac_status); }; } &&
8471 { ac_try
='test -s conftest$ac_exeext'
8472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8476 (exit $ac_status); }; }; then
8477 ac_cv_lib_nsl_gethostbyname
=yes
8479 echo "$as_me: failed program was:" >&5
8480 sed 's/^/| /' conftest.
$ac_ext >&5
8482 ac_cv_lib_nsl_gethostbyname
=no
8484 rm -f conftest.err conftest.
$ac_objext \
8485 conftest
$ac_exeext conftest.
$ac_ext
8486 LIBS
=$ac_check_lib_save_LIBS
8488 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
8489 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
8490 if test $ac_cv_lib_nsl_gethostbyname = yes; then
8491 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8494 if test $ac_cv_lib_nsl_gethostbyname = no
; then
8495 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
8496 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
8497 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
8498 echo $ECHO_N "(cached) $ECHO_C" >&6
8500 ac_check_lib_save_LIBS
=$LIBS
8502 if test x
$gcc_no_link = xyes
; then
8503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8505 { (exit 1); exit 1; }; }
8507 cat >conftest.
$ac_ext <<_ACEOF
8510 cat confdefs.h
>>conftest.
$ac_ext
8511 cat >>conftest.
$ac_ext <<_ACEOF
8512 /* end confdefs.h. */
8514 /* Override any gcc2 internal prototype to avoid an error. */
8518 /* We use char because int might match the return type of a gcc2
8519 builtin and then its argument prototype would still apply. */
8520 char gethostbyname ();
8529 rm -f conftest.
$ac_objext conftest
$ac_exeext
8530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8531 (eval $ac_link) 2>conftest.er1
8533 grep -v '^ *+' conftest.er1
>conftest.err
8535 cat conftest.err
>&5
8536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8537 (exit $ac_status); } &&
8538 { ac_try
='test -z "$ac_c_werror_flag"
8539 || test ! -s conftest.err'
8540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544 (exit $ac_status); }; } &&
8545 { ac_try
='test -s conftest$ac_exeext'
8546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8550 (exit $ac_status); }; }; then
8551 ac_cv_lib_bsd_gethostbyname
=yes
8553 echo "$as_me: failed program was:" >&5
8554 sed 's/^/| /' conftest.
$ac_ext >&5
8556 ac_cv_lib_bsd_gethostbyname
=no
8558 rm -f conftest.err conftest.
$ac_objext \
8559 conftest
$ac_exeext conftest.
$ac_ext
8560 LIBS
=$ac_check_lib_save_LIBS
8562 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
8563 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
8564 if test $ac_cv_lib_bsd_gethostbyname = yes; then
8565 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
8571 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8572 # socket/setsockopt and other routines are undefined under SCO ODT
8573 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8574 # on later versions), says Simon Leinen: it contains gethostby*
8575 # variants that don't use the name server (or something). -lsocket
8576 # must be given before -lnsl if both are needed. We assume that
8577 # if connect needs -lnsl, so does gethostbyname.
8578 echo "$as_me:$LINENO: checking for connect" >&5
8579 echo $ECHO_N "checking for connect... $ECHO_C" >&6
8580 if test "${ac_cv_func_connect+set}" = set; then
8581 echo $ECHO_N "(cached) $ECHO_C" >&6
8583 if test x
$gcc_no_link = xyes
; then
8584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8586 { (exit 1); exit 1; }; }
8588 cat >conftest.
$ac_ext <<_ACEOF
8591 cat confdefs.h
>>conftest.
$ac_ext
8592 cat >>conftest.
$ac_ext <<_ACEOF
8593 /* end confdefs.h. */
8594 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
8595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8596 #define connect innocuous_connect
8598 /* System header to define __stub macros and hopefully few prototypes,
8599 which can conflict with char connect (); below.
8600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8601 <limits.h> exists even on freestanding compilers. */
8604 # include <limits.h>
8606 # include <assert.h>
8611 /* Override any gcc2 internal prototype to avoid an error. */
8616 /* We use char because int might match the return type of a gcc2
8617 builtin and then its argument prototype would still apply. */
8619 /* The GNU C library defines this for functions which it implements
8620 to always fail with ENOSYS. Some functions are actually named
8621 something starting with __ and the normal name is an alias. */
8622 #if defined (__stub_connect) || defined (__stub___connect)
8625 char (*f) () = connect;
8634 return f != connect;
8639 rm -f conftest.
$ac_objext conftest
$ac_exeext
8640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8641 (eval $ac_link) 2>conftest.er1
8643 grep -v '^ *+' conftest.er1
>conftest.err
8645 cat conftest.err
>&5
8646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8647 (exit $ac_status); } &&
8648 { ac_try
='test -z "$ac_c_werror_flag"
8649 || test ! -s conftest.err'
8650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8654 (exit $ac_status); }; } &&
8655 { ac_try
='test -s conftest$ac_exeext'
8656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8660 (exit $ac_status); }; }; then
8661 ac_cv_func_connect
=yes
8663 echo "$as_me: failed program was:" >&5
8664 sed 's/^/| /' conftest.
$ac_ext >&5
8666 ac_cv_func_connect
=no
8668 rm -f conftest.err conftest.
$ac_objext \
8669 conftest
$ac_exeext conftest.
$ac_ext
8671 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
8672 echo "${ECHO_T}$ac_cv_func_connect" >&6
8674 if test $ac_cv_func_connect = no
; then
8675 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
8676 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
8677 if test "${ac_cv_lib_socket_connect+set}" = set; then
8678 echo $ECHO_N "(cached) $ECHO_C" >&6
8680 ac_check_lib_save_LIBS
=$LIBS
8681 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8682 if test x
$gcc_no_link = xyes
; then
8683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8685 { (exit 1); exit 1; }; }
8687 cat >conftest.
$ac_ext <<_ACEOF
8690 cat confdefs.h
>>conftest.
$ac_ext
8691 cat >>conftest.
$ac_ext <<_ACEOF
8692 /* end confdefs.h. */
8694 /* Override any gcc2 internal prototype to avoid an error. */
8698 /* We use char because int might match the return type of a gcc2
8699 builtin and then its argument prototype would still apply. */
8709 rm -f conftest.
$ac_objext conftest
$ac_exeext
8710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8711 (eval $ac_link) 2>conftest.er1
8713 grep -v '^ *+' conftest.er1
>conftest.err
8715 cat conftest.err
>&5
8716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717 (exit $ac_status); } &&
8718 { ac_try
='test -z "$ac_c_werror_flag"
8719 || test ! -s conftest.err'
8720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8724 (exit $ac_status); }; } &&
8725 { ac_try
='test -s conftest$ac_exeext'
8726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8730 (exit $ac_status); }; }; then
8731 ac_cv_lib_socket_connect
=yes
8733 echo "$as_me: failed program was:" >&5
8734 sed 's/^/| /' conftest.
$ac_ext >&5
8736 ac_cv_lib_socket_connect
=no
8738 rm -f conftest.err conftest.
$ac_objext \
8739 conftest
$ac_exeext conftest.
$ac_ext
8740 LIBS
=$ac_check_lib_save_LIBS
8742 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
8743 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
8744 if test $ac_cv_lib_socket_connect = yes; then
8745 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8750 # Guillermo Gomez says -lposix is necessary on A/UX.
8751 echo "$as_me:$LINENO: checking for remove" >&5
8752 echo $ECHO_N "checking for remove... $ECHO_C" >&6
8753 if test "${ac_cv_func_remove+set}" = set; then
8754 echo $ECHO_N "(cached) $ECHO_C" >&6
8756 if test x
$gcc_no_link = xyes
; then
8757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8759 { (exit 1); exit 1; }; }
8761 cat >conftest.
$ac_ext <<_ACEOF
8764 cat confdefs.h
>>conftest.
$ac_ext
8765 cat >>conftest.
$ac_ext <<_ACEOF
8766 /* end confdefs.h. */
8767 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
8768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8769 #define remove innocuous_remove
8771 /* System header to define __stub macros and hopefully few prototypes,
8772 which can conflict with char remove (); below.
8773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8774 <limits.h> exists even on freestanding compilers. */
8777 # include <limits.h>
8779 # include <assert.h>
8784 /* Override any gcc2 internal prototype to avoid an error. */
8789 /* We use char because int might match the return type of a gcc2
8790 builtin and then its argument prototype would still apply. */
8792 /* The GNU C library defines this for functions which it implements
8793 to always fail with ENOSYS. Some functions are actually named
8794 something starting with __ and the normal name is an alias. */
8795 #if defined (__stub_remove) || defined (__stub___remove)
8798 char (*f) () = remove;
8812 rm -f conftest.
$ac_objext conftest
$ac_exeext
8813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8814 (eval $ac_link) 2>conftest.er1
8816 grep -v '^ *+' conftest.er1
>conftest.err
8818 cat conftest.err
>&5
8819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8820 (exit $ac_status); } &&
8821 { ac_try
='test -z "$ac_c_werror_flag"
8822 || test ! -s conftest.err'
8823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8827 (exit $ac_status); }; } &&
8828 { ac_try
='test -s conftest$ac_exeext'
8829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8833 (exit $ac_status); }; }; then
8834 ac_cv_func_remove
=yes
8836 echo "$as_me: failed program was:" >&5
8837 sed 's/^/| /' conftest.
$ac_ext >&5
8839 ac_cv_func_remove
=no
8841 rm -f conftest.err conftest.
$ac_objext \
8842 conftest
$ac_exeext conftest.
$ac_ext
8844 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
8845 echo "${ECHO_T}$ac_cv_func_remove" >&6
8847 if test $ac_cv_func_remove = no
; then
8848 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
8849 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
8850 if test "${ac_cv_lib_posix_remove+set}" = set; then
8851 echo $ECHO_N "(cached) $ECHO_C" >&6
8853 ac_check_lib_save_LIBS
=$LIBS
8854 LIBS
="-lposix $LIBS"
8855 if test x
$gcc_no_link = xyes
; then
8856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8858 { (exit 1); exit 1; }; }
8860 cat >conftest.
$ac_ext <<_ACEOF
8863 cat confdefs.h
>>conftest.
$ac_ext
8864 cat >>conftest.
$ac_ext <<_ACEOF
8865 /* end confdefs.h. */
8867 /* Override any gcc2 internal prototype to avoid an error. */
8871 /* We use char because int might match the return type of a gcc2
8872 builtin and then its argument prototype would still apply. */
8882 rm -f conftest.
$ac_objext conftest
$ac_exeext
8883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8884 (eval $ac_link) 2>conftest.er1
8886 grep -v '^ *+' conftest.er1
>conftest.err
8888 cat conftest.err
>&5
8889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8890 (exit $ac_status); } &&
8891 { ac_try
='test -z "$ac_c_werror_flag"
8892 || test ! -s conftest.err'
8893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8897 (exit $ac_status); }; } &&
8898 { ac_try
='test -s conftest$ac_exeext'
8899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8903 (exit $ac_status); }; }; then
8904 ac_cv_lib_posix_remove
=yes
8906 echo "$as_me: failed program was:" >&5
8907 sed 's/^/| /' conftest.
$ac_ext >&5
8909 ac_cv_lib_posix_remove
=no
8911 rm -f conftest.err conftest.
$ac_objext \
8912 conftest
$ac_exeext conftest.
$ac_ext
8913 LIBS
=$ac_check_lib_save_LIBS
8915 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
8916 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
8917 if test $ac_cv_lib_posix_remove = yes; then
8918 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8923 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8924 echo "$as_me:$LINENO: checking for shmat" >&5
8925 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
8926 if test "${ac_cv_func_shmat+set}" = set; then
8927 echo $ECHO_N "(cached) $ECHO_C" >&6
8929 if test x
$gcc_no_link = xyes
; then
8930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8932 { (exit 1); exit 1; }; }
8934 cat >conftest.
$ac_ext <<_ACEOF
8937 cat confdefs.h
>>conftest.
$ac_ext
8938 cat >>conftest.
$ac_ext <<_ACEOF
8939 /* end confdefs.h. */
8940 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
8941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8942 #define shmat innocuous_shmat
8944 /* System header to define __stub macros and hopefully few prototypes,
8945 which can conflict with char shmat (); below.
8946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8947 <limits.h> exists even on freestanding compilers. */
8950 # include <limits.h>
8952 # include <assert.h>
8957 /* Override any gcc2 internal prototype to avoid an error. */
8962 /* We use char because int might match the return type of a gcc2
8963 builtin and then its argument prototype would still apply. */
8965 /* The GNU C library defines this for functions which it implements
8966 to always fail with ENOSYS. Some functions are actually named
8967 something starting with __ and the normal name is an alias. */
8968 #if defined (__stub_shmat) || defined (__stub___shmat)
8971 char (*f) () = shmat;
8985 rm -f conftest.
$ac_objext conftest
$ac_exeext
8986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8987 (eval $ac_link) 2>conftest.er1
8989 grep -v '^ *+' conftest.er1
>conftest.err
8991 cat conftest.err
>&5
8992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8993 (exit $ac_status); } &&
8994 { ac_try
='test -z "$ac_c_werror_flag"
8995 || test ! -s conftest.err'
8996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9000 (exit $ac_status); }; } &&
9001 { ac_try
='test -s conftest$ac_exeext'
9002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9006 (exit $ac_status); }; }; then
9007 ac_cv_func_shmat
=yes
9009 echo "$as_me: failed program was:" >&5
9010 sed 's/^/| /' conftest.
$ac_ext >&5
9014 rm -f conftest.err conftest.
$ac_objext \
9015 conftest
$ac_exeext conftest.
$ac_ext
9017 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
9018 echo "${ECHO_T}$ac_cv_func_shmat" >&6
9020 if test $ac_cv_func_shmat = no
; then
9021 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
9022 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
9023 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
9024 echo $ECHO_N "(cached) $ECHO_C" >&6
9026 ac_check_lib_save_LIBS
=$LIBS
9028 if test x
$gcc_no_link = xyes
; then
9029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9031 { (exit 1); exit 1; }; }
9033 cat >conftest.
$ac_ext <<_ACEOF
9036 cat confdefs.h
>>conftest.
$ac_ext
9037 cat >>conftest.
$ac_ext <<_ACEOF
9038 /* end confdefs.h. */
9040 /* Override any gcc2 internal prototype to avoid an error. */
9044 /* We use char because int might match the return type of a gcc2
9045 builtin and then its argument prototype would still apply. */
9055 rm -f conftest.
$ac_objext conftest
$ac_exeext
9056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9057 (eval $ac_link) 2>conftest.er1
9059 grep -v '^ *+' conftest.er1
>conftest.err
9061 cat conftest.err
>&5
9062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9063 (exit $ac_status); } &&
9064 { ac_try
='test -z "$ac_c_werror_flag"
9065 || test ! -s conftest.err'
9066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9070 (exit $ac_status); }; } &&
9071 { ac_try
='test -s conftest$ac_exeext'
9072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9076 (exit $ac_status); }; }; then
9077 ac_cv_lib_ipc_shmat
=yes
9079 echo "$as_me: failed program was:" >&5
9080 sed 's/^/| /' conftest.
$ac_ext >&5
9082 ac_cv_lib_ipc_shmat
=no
9084 rm -f conftest.err conftest.
$ac_objext \
9085 conftest
$ac_exeext conftest.
$ac_ext
9086 LIBS
=$ac_check_lib_save_LIBS
9088 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
9089 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
9090 if test $ac_cv_lib_ipc_shmat = yes; then
9091 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9097 # Check for libraries that X11R6 Xt/Xaw programs need.
9098 ac_save_LDFLAGS
=$LDFLAGS
9099 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9100 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9101 # check for ICE first), but we must link in the order -lSM -lICE or
9102 # we get undefined symbols. So assume we have SM if we have ICE.
9103 # These have to be linked with before -lX11, unlike the other
9104 # libraries we check for below, so use a different variable.
9105 # John Interrante, Karl Berry
9106 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
9107 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
9108 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
9109 echo $ECHO_N "(cached) $ECHO_C" >&6
9111 ac_check_lib_save_LIBS
=$LIBS
9112 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9113 if test x
$gcc_no_link = xyes
; then
9114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9116 { (exit 1); exit 1; }; }
9118 cat >conftest.
$ac_ext <<_ACEOF
9121 cat confdefs.h
>>conftest.
$ac_ext
9122 cat >>conftest.
$ac_ext <<_ACEOF
9123 /* end confdefs.h. */
9125 /* Override any gcc2 internal prototype to avoid an error. */
9129 /* We use char because int might match the return type of a gcc2
9130 builtin and then its argument prototype would still apply. */
9131 char IceConnectionNumber ();
9135 IceConnectionNumber ();
9140 rm -f conftest.
$ac_objext conftest
$ac_exeext
9141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9142 (eval $ac_link) 2>conftest.er1
9144 grep -v '^ *+' conftest.er1
>conftest.err
9146 cat conftest.err
>&5
9147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9148 (exit $ac_status); } &&
9149 { ac_try
='test -z "$ac_c_werror_flag"
9150 || test ! -s conftest.err'
9151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9155 (exit $ac_status); }; } &&
9156 { ac_try
='test -s conftest$ac_exeext'
9157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9161 (exit $ac_status); }; }; then
9162 ac_cv_lib_ICE_IceConnectionNumber
=yes
9164 echo "$as_me: failed program was:" >&5
9165 sed 's/^/| /' conftest.
$ac_ext >&5
9167 ac_cv_lib_ICE_IceConnectionNumber
=no
9169 rm -f conftest.err conftest.
$ac_objext \
9170 conftest
$ac_exeext conftest.
$ac_ext
9171 LIBS
=$ac_check_lib_save_LIBS
9173 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9174 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
9175 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
9176 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9179 LDFLAGS
=$ac_save_LDFLAGS
9184 # FIXME: this should be _libs on some hosts.
9187 # extra LD Flags which are required for targets
9190 # For now we have to disable it on darwin[8-9] because it slows down
9191 # the linking phase. A possible bug in ld?
9192 # on Darwin -single_module speeds up loading of the dynamic libraries.
9193 extra_ldflags_libjava
=-Wl,-single_module
9198 # Allow the GC to be disabled. Can be useful when debugging.
9199 echo "$as_me:$LINENO: checking for garbage collector to use" >&5
9200 echo $ECHO_N "checking for garbage collector to use... $ECHO_C" >&6
9201 # Check whether --enable-java-gc or --disable-java-gc was given.
9202 if test "${enable_java_gc+set}" = set; then
9203 enableval
="$enable_java_gc"
9216 echo "$as_me:$LINENO: result: boehm" >&5
9217 echo "${ECHO_T}boehm" >&6
9218 GCLIBS
=..
/boehm-gc
/libgcjgc_convenience.la
9219 JC1GCSPEC
='-fuse-boehm-gc'
9220 GCTESTSPEC
="-L`${PWDCMD-pwd}`/../boehm-gc/.libs -rpath `${PWDCMD-pwd}`/../boehm-gc/.libs"
9221 GCINCS
='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include'
9224 # The POSIX thread support needs to know this.
9226 cat >>confdefs.h
<<\_ACEOF
9227 #define HAVE_BOEHM_GC 1
9232 echo "$as_me:$LINENO: result: none" >&5
9233 echo "${ECHO_T}none" >&6
9237 { { echo "$as_me:$LINENO: error: unrecognized collector \"$GC\"" >&5
9238 echo "$as_me: error: unrecognized collector \"$GC\"" >&2;}
9239 { (exit 1); exit 1; }; }
9248 ac_config_links
="$ac_config_links include/java-gc.h:include/$GCHDR"
9252 if test "$GC" = boehm
; then
9254 USING_BOEHMGC_FALSE
='#'
9256 USING_BOEHMGC_TRUE
='#'
9257 USING_BOEHMGC_FALSE
=
9262 if test "$GC" = no
; then
9264 USING_NOGC_FALSE
='#'
9272 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
9273 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
9274 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
9275 echo "$as_me:$LINENO: result: $THREADS" >&5
9276 echo "${ECHO_T}$THREADS" >&6
9282 posix | posix95 | pthreads
)
9287 cat >>confdefs.h
<<\_ACEOF
9288 #define LINUX_THREADS 1
9296 decosf1 | irix | mach | os2 | solaris | dce | vxworks
)
9297 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
9298 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
9299 { (exit 1); exit 1; }; }
9302 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
9303 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
9304 { (exit 1); exit 1; }; }
9315 THREADSTARTFILESPEC
=
9320 # Don't set THREADLIBS here. Cygwin doesn't have -lpthread.
9323 # Before FreeBSD 5, it didn't have -lpthread (or any library which
9324 # merely adds pthread_* functions) but it does have a -pthread switch
9325 # which is required at link-time to select -lc_r *instead* of -lc.
9326 THREADLDFLAGS
=-pthread
9327 # Don't set THREADSPEC here as might be expected since -pthread is
9328 # not processed when found within a spec file, it must come from
9329 # the command line. For now, the user must provide the -pthread
9330 # switch to link code compiled with gcj. In future, consider adding
9331 # support for weak references to pthread_* functions ala gthr.h API.
9332 THREADSPEC
='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
9335 # FreeBSD >=5.3 implements a model much closer to other modern UNIX
9336 # systems which support threads and -lpthread.
9337 THREADLDFLAGS
=-pthread
9338 THREADSPEC
=-lpthread
9340 alpha
*-dec-osf* | hppa
*-hp-hpux*)
9341 THREADCXXFLAGS
=-pthread
9342 # boehm-gc needs some functions from librt, so link that too.
9343 THREADLIBS
='-lpthread -lrt'
9344 THREADSPEC
='-lpthread -lrt'
9347 THREADLIBS
=-lpthread
9348 THREADSPEC
=-lpthread
9351 THREADH
=posix-threads.h
9352 # MIT pthreads doesn't seem to have the mutexattr functions.
9353 # But for now we don't check for it. We just assume you aren't
9354 # using MIT pthreads.
9356 cat >>confdefs.h
<<\_ACEOF
9357 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
9361 # If we're using the Boehm GC, then we happen to know that it
9362 # defines _REENTRANT, so we don't bother. Eww.
9363 if test "$GC" != boehm
; then
9365 cat >>confdefs.h
<<\_ACEOF
9366 #define _REENTRANT 1
9371 cat >>confdefs.h
<<\_ACEOF
9372 #define _POSIX_PTHREAD_SEMANTICS 1
9378 THREADH
=win32-threads.h
9379 THREADCXXFLAGS
=-mthreads
9380 # We need thread-safe exception handling so _CRT_MT should be set to 1.
9381 # But we do not want the executables created to be dependent on
9382 # mingwm10.dll which provides a __mingwthr_key_dtor() that cleans up
9383 # exception handling contexts. The following kludge achieves this effect
9384 # and causes a dummy __mingwthr_key_dtor() to be linked in from
9385 # libmingw32.a. This causes a memory leak of about 24 bytes per thread.
9386 # A workaround is to explicitly use -mthreads while linking Java programs.
9387 # See PR libgcj/28263.
9389 # FIXME: In Java we are able to detect thread death at the end of
9390 # Thread.run() so we should be able to clean up the exception handling
9391 # contexts ourselves.
9392 THREADSTARTFILESPEC
='crtmt%O%s'
9396 THREADH
=no-threads.h
9399 ac_config_links
="$ac_config_links include/java-threads.h:include/$THREADH"
9410 if test "$THREADS" = posix
; then
9411 USING_POSIX_THREADS_TRUE
=
9412 USING_POSIX_THREADS_FALSE
='#'
9414 USING_POSIX_THREADS_TRUE
='#'
9415 USING_POSIX_THREADS_FALSE
=
9420 if test "$THREADS" = win32
; then
9421 USING_WIN32_THREADS_TRUE
=
9422 USING_WIN32_THREADS_FALSE
='#'
9424 USING_WIN32_THREADS_TRUE
='#'
9425 USING_WIN32_THREADS_FALSE
=
9430 if test "$THREADS" = none
; then
9431 USING_NO_THREADS_TRUE
=
9432 USING_NO_THREADS_FALSE
='#'
9434 USING_NO_THREADS_TRUE
='#'
9435 USING_NO_THREADS_FALSE
=
9440 if test "$use_libgcj_bc" = yes; then
9442 USE_LIBGCJ_BC_FALSE
='#'
9444 USE_LIBGCJ_BC_TRUE
='#'
9445 USE_LIBGCJ_BC_FALSE
=
9449 if test -d sysdep
; then true
; else mkdir sysdep
; fi
9450 ac_config_links
="$ac_config_links sysdep/locks.h:sysdep/$sysdeps_dir/locks.h"
9452 ac_config_links
="$ac_config_links sysdep/backtrace.h:$fallback_backtrace_h"
9454 ac_config_links
="$ac_config_links sysdep/descriptor.h:$descriptor_h"
9457 LIBGCJ_SPEC
="%{s-bc-abi:} -lgcj"
9458 if test "$use_libgcj_bc" = yes; then
9459 LIBGCJ_SPEC
="%{s-bc-abi:-lgcj_bc;:-lgcj}"
9464 # Hash synchronization is only useful with posix threads right now.
9465 if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then
9466 HASH_SYNC_SPEC
=-fhash-synchronization
9468 cat >>confdefs.h
<<\_ACEOF
9469 #define JV_HASH_SYNCHRONIZATION 1
9477 if test "$GCC" = yes; then
9486 # We're in the tree with gcc, and need to include some of its headers.
9487 GCC_UNWIND_INCLUDE
='-I$(multi_basedir)/./libjava/../gcc'
9489 if test "x${with_newlib}" = "xyes"; then
9490 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
9491 # may not work correctly, because the compiler may not be able to
9494 # We assume newlib. This lets us hard-code the functions we know
9497 cat >>confdefs.h
<<\_ACEOF
9498 #define HAVE_MEMMOVE 1
9502 cat >>confdefs.h
<<\_ACEOF
9503 #define HAVE_MEMCPY 1
9507 cat >>confdefs.h
<<\_ACEOF
9508 #define HAVE_STRERROR 1
9512 cat >>confdefs.h
<<\_ACEOF
9517 cat >>confdefs.h
<<\_ACEOF
9518 #define HAVE_GMTIME_R 1
9522 cat >>confdefs.h
<<\_ACEOF
9523 #define HAVE_LOCALTIME_R 1
9527 cat >>confdefs.h
<<\_ACEOF
9528 #define HAVE_USLEEP_DECL 1
9531 # This is only for POSIX threads.
9533 cat >>confdefs.h
<<\_ACEOF
9534 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
9537 # We also assume we are using gcc, which provides alloca.
9538 cat >>confdefs.h
<<\_ACEOF
9539 #define HAVE_ALLOCA 1
9543 # Assume we do not have getuid and friends.
9545 cat >>confdefs.h
<<\_ACEOF
9586 for ac_func
in strerror ioctl
select fstat open fsync
sleep opendir \
9587 gmtime_r localtime_r readdir_r getpwuid_r getcwd \
9588 access stat lstat mkdir rename
rmdir unlink utime
chmod readlink \
9589 nl_langinfo setlocale \
9590 inet_pton uname inet_ntoa \
9591 fork execvp pipe sigaction ftruncate mmap \
9594 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9595 echo "$as_me:$LINENO: checking for $ac_func" >&5
9596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9597 if eval "test \"\${$as_ac_var+set}\" = set"; then
9598 echo $ECHO_N "(cached) $ECHO_C" >&6
9600 if test x
$gcc_no_link = xyes
; then
9601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9603 { (exit 1); exit 1; }; }
9605 cat >conftest.
$ac_ext <<_ACEOF
9608 cat confdefs.h
>>conftest.
$ac_ext
9609 cat >>conftest.
$ac_ext <<_ACEOF
9610 /* end confdefs.h. */
9611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9613 #define $ac_func innocuous_$ac_func
9615 /* System header to define __stub macros and hopefully few prototypes,
9616 which can conflict with char $ac_func (); below.
9617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9618 <limits.h> exists even on freestanding compilers. */
9621 # include <limits.h>
9623 # include <assert.h>
9628 /* Override any gcc2 internal prototype to avoid an error. */
9633 /* We use char because int might match the return type of a gcc2
9634 builtin and then its argument prototype would still apply. */
9636 /* The GNU C library defines this for functions which it implements
9637 to always fail with ENOSYS. Some functions are actually named
9638 something starting with __ and the normal name is an alias. */
9639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9642 char (*f) () = $ac_func;
9651 return f != $ac_func;
9656 rm -f conftest.
$ac_objext conftest
$ac_exeext
9657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9658 (eval $ac_link) 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_exeext'
9673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9677 (exit $ac_status); }; }; then
9678 eval "$as_ac_var=yes"
9680 echo "$as_me: failed program was:" >&5
9681 sed 's/^/| /' conftest.
$ac_ext >&5
9683 eval "$as_ac_var=no"
9685 rm -f conftest.err conftest.
$ac_objext \
9686 conftest
$ac_exeext conftest.
$ac_ext
9688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9690 if test `eval echo '${'$as_ac_var'}'` = yes; then
9691 cat >>confdefs.h
<<_ACEOF
9692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9700 for ac_func
in inet_aton inet_addr
9702 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9703 echo "$as_me:$LINENO: checking for $ac_func" >&5
9704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9705 if eval "test \"\${$as_ac_var+set}\" = set"; then
9706 echo $ECHO_N "(cached) $ECHO_C" >&6
9708 if test x
$gcc_no_link = xyes
; then
9709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9711 { (exit 1); exit 1; }; }
9713 cat >conftest.
$ac_ext <<_ACEOF
9716 cat confdefs.h
>>conftest.
$ac_ext
9717 cat >>conftest.
$ac_ext <<_ACEOF
9718 /* end confdefs.h. */
9719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9721 #define $ac_func innocuous_$ac_func
9723 /* System header to define __stub macros and hopefully few prototypes,
9724 which can conflict with char $ac_func (); below.
9725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9726 <limits.h> exists even on freestanding compilers. */
9729 # include <limits.h>
9731 # include <assert.h>
9736 /* Override any gcc2 internal prototype to avoid an error. */
9741 /* We use char because int might match the return type of a gcc2
9742 builtin and then its argument prototype would still apply. */
9744 /* The GNU C library defines this for functions which it implements
9745 to always fail with ENOSYS. Some functions are actually named
9746 something starting with __ and the normal name is an alias. */
9747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9750 char (*f) () = $ac_func;
9759 return f != $ac_func;
9764 rm -f conftest.
$ac_objext conftest
$ac_exeext
9765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9766 (eval $ac_link) 2>conftest.er1
9768 grep -v '^ *+' conftest.er1
>conftest.err
9770 cat conftest.err
>&5
9771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9772 (exit $ac_status); } &&
9773 { ac_try
='test -z "$ac_c_werror_flag"
9774 || test ! -s conftest.err'
9775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9779 (exit $ac_status); }; } &&
9780 { ac_try
='test -s conftest$ac_exeext'
9781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9785 (exit $ac_status); }; }; then
9786 eval "$as_ac_var=yes"
9788 echo "$as_me: failed program was:" >&5
9789 sed 's/^/| /' conftest.
$ac_ext >&5
9791 eval "$as_ac_var=no"
9793 rm -f conftest.err conftest.
$ac_objext \
9794 conftest
$ac_exeext conftest.
$ac_ext
9796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9798 if test `eval echo '${'$as_ac_var'}'` = yes; then
9799 cat >>confdefs.h
<<_ACEOF
9800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9806 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
9807 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
9808 if test "${ac_cv_header_stdc+set}" = set; then
9809 echo $ECHO_N "(cached) $ECHO_C" >&6
9811 cat >conftest.
$ac_ext <<_ACEOF
9814 cat confdefs.h
>>conftest.
$ac_ext
9815 cat >>conftest.
$ac_ext <<_ACEOF
9816 /* end confdefs.h. */
9830 rm -f conftest.
$ac_objext
9831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9832 (eval $ac_compile) 2>conftest.er1
9834 grep -v '^ *+' conftest.er1
>conftest.err
9836 cat conftest.err
>&5
9837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9838 (exit $ac_status); } &&
9839 { ac_try
='test -z "$ac_c_werror_flag"
9840 || test ! -s conftest.err'
9841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9845 (exit $ac_status); }; } &&
9846 { ac_try
='test -s conftest.$ac_objext'
9847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9851 (exit $ac_status); }; }; then
9852 ac_cv_header_stdc
=yes
9854 echo "$as_me: failed program was:" >&5
9855 sed 's/^/| /' conftest.
$ac_ext >&5
9857 ac_cv_header_stdc
=no
9859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9861 if test $ac_cv_header_stdc = yes; then
9862 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9863 cat >conftest.
$ac_ext <<_ACEOF
9866 cat confdefs.h
>>conftest.
$ac_ext
9867 cat >>conftest.
$ac_ext <<_ACEOF
9868 /* end confdefs.h. */
9872 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9873 $EGREP "memchr" >/dev
/null
2>&1; then
9876 ac_cv_header_stdc
=no
9882 if test $ac_cv_header_stdc = yes; then
9883 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9884 cat >conftest.
$ac_ext <<_ACEOF
9887 cat confdefs.h
>>conftest.
$ac_ext
9888 cat >>conftest.
$ac_ext <<_ACEOF
9889 /* end confdefs.h. */
9893 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9894 $EGREP "free" >/dev
/null
2>&1; then
9897 ac_cv_header_stdc
=no
9903 if test $ac_cv_header_stdc = yes; then
9904 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9905 if test "$cross_compiling" = yes; then
9908 cat >conftest.
$ac_ext <<_ACEOF
9911 cat confdefs.h
>>conftest.
$ac_ext
9912 cat >>conftest.
$ac_ext <<_ACEOF
9913 /* end confdefs.h. */
9915 #if ((' ' & 0x0FF) == 0x020)
9916 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9917 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9919 # define ISLOWER(c) \
9920 (('a' <= (c) && (c) <= 'i') \
9921 || ('j' <= (c) && (c) <= 'r') \
9922 || ('s' <= (c) && (c) <= 'z'))
9923 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9926 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9931 for (i = 0; i < 256; i++)
9932 if (XOR (islower (i), ISLOWER (i))
9933 || toupper (i) != TOUPPER (i))
9938 rm -f conftest
$ac_exeext
9939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9940 (eval $ac_link) 2>&5
9942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9943 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9948 (exit $ac_status); }; }; then
9951 echo "$as_me: program exited with status $ac_status" >&5
9952 echo "$as_me: failed program was:" >&5
9953 sed 's/^/| /' conftest.
$ac_ext >&5
9956 ac_cv_header_stdc
=no
9958 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9962 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
9963 echo "${ECHO_T}$ac_cv_header_stdc" >&6
9964 if test $ac_cv_header_stdc = yes; then
9966 cat >>confdefs.h
<<\_ACEOF
9967 #define STDC_HEADERS 1
9972 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9982 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
9983 inttypes.h stdint.h unistd.h
9985 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9986 echo "$as_me:$LINENO: checking for $ac_header" >&5
9987 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9989 echo $ECHO_N "(cached) $ECHO_C" >&6
9991 cat >conftest.
$ac_ext <<_ACEOF
9994 cat confdefs.h
>>conftest.
$ac_ext
9995 cat >>conftest.
$ac_ext <<_ACEOF
9996 /* end confdefs.h. */
9997 $ac_includes_default
9999 #include <$ac_header>
10001 rm -f conftest.
$ac_objext
10002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10003 (eval $ac_compile) 2>conftest.er1
10005 grep -v '^ *+' conftest.er1
>conftest.err
10007 cat conftest.err
>&5
10008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10009 (exit $ac_status); } &&
10010 { ac_try
='test -z "$ac_c_werror_flag"
10011 || test ! -s conftest.err'
10012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10013 (eval $ac_try) 2>&5
10015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10016 (exit $ac_status); }; } &&
10017 { ac_try
='test -s conftest.$ac_objext'
10018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10019 (eval $ac_try) 2>&5
10021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10022 (exit $ac_status); }; }; then
10023 eval "$as_ac_Header=yes"
10025 echo "$as_me: failed program was:" >&5
10026 sed 's/^/| /' conftest.
$ac_ext >&5
10028 eval "$as_ac_Header=no"
10030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10033 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10034 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10035 cat >>confdefs.h
<<_ACEOF
10036 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10047 for ac_header
in execinfo.h unistd.h dlfcn.h
10049 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10050 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10051 echo "$as_me:$LINENO: checking for $ac_header" >&5
10052 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10053 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10054 echo $ECHO_N "(cached) $ECHO_C" >&6
10056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10057 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10059 # Is the header compilable?
10060 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10061 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10062 cat >conftest.
$ac_ext <<_ACEOF
10065 cat confdefs.h
>>conftest.
$ac_ext
10066 cat >>conftest.
$ac_ext <<_ACEOF
10067 /* end confdefs.h. */
10068 $ac_includes_default
10069 #include <$ac_header>
10071 rm -f conftest.
$ac_objext
10072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10073 (eval $ac_compile) 2>conftest.er1
10075 grep -v '^ *+' conftest.er1
>conftest.err
10077 cat conftest.err
>&5
10078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10079 (exit $ac_status); } &&
10080 { ac_try
='test -z "$ac_c_werror_flag"
10081 || test ! -s conftest.err'
10082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10083 (eval $ac_try) 2>&5
10085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10086 (exit $ac_status); }; } &&
10087 { ac_try
='test -s conftest.$ac_objext'
10088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10089 (eval $ac_try) 2>&5
10091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10092 (exit $ac_status); }; }; then
10093 ac_header_compiler
=yes
10095 echo "$as_me: failed program was:" >&5
10096 sed 's/^/| /' conftest.
$ac_ext >&5
10098 ac_header_compiler
=no
10100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10101 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10102 echo "${ECHO_T}$ac_header_compiler" >&6
10104 # Is the header present?
10105 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10106 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10107 cat >conftest.
$ac_ext <<_ACEOF
10110 cat confdefs.h
>>conftest.
$ac_ext
10111 cat >>conftest.
$ac_ext <<_ACEOF
10112 /* end confdefs.h. */
10113 #include <$ac_header>
10115 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10116 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10118 grep -v '^ *+' conftest.er1
>conftest.err
10120 cat conftest.err
>&5
10121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10122 (exit $ac_status); } >/dev
/null
; then
10123 if test -s conftest.err
; then
10124 ac_cpp_err
=$ac_c_preproc_warn_flag
10125 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10132 if test -z "$ac_cpp_err"; then
10133 ac_header_preproc
=yes
10135 echo "$as_me: failed program was:" >&5
10136 sed 's/^/| /' conftest.
$ac_ext >&5
10138 ac_header_preproc
=no
10140 rm -f conftest.err conftest.
$ac_ext
10141 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10142 echo "${ECHO_T}$ac_header_preproc" >&6
10144 # So? What about this header?
10145 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10147 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10148 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10149 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10150 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10151 ac_header_preproc
=yes
10154 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10155 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10156 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10157 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10158 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10159 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10160 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10161 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10162 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10163 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10164 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10165 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10168 ## ---------------------------------- ##
10169 ## Report this to the libjava lists. ##
10170 ## ---------------------------------- ##
10173 sed "s/^/$as_me: WARNING: /" >&2
10176 echo "$as_me:$LINENO: checking for $ac_header" >&5
10177 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10178 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10179 echo $ECHO_N "(cached) $ECHO_C" >&6
10181 eval "$as_ac_Header=\$ac_header_preproc"
10183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10184 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10187 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10188 cat >>confdefs.h
<<_ACEOF
10189 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10196 # Do an additional check on dld, HP-UX for example has dladdr in libdld.sl
10197 echo "$as_me:$LINENO: checking for dladdr in -ldl" >&5
10198 echo $ECHO_N "checking for dladdr in -ldl... $ECHO_C" >&6
10199 if test "${ac_cv_lib_dl_dladdr+set}" = set; then
10200 echo $ECHO_N "(cached) $ECHO_C" >&6
10202 ac_check_lib_save_LIBS
=$LIBS
10204 if test x
$gcc_no_link = xyes
; then
10205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10207 { (exit 1); exit 1; }; }
10209 cat >conftest.
$ac_ext <<_ACEOF
10212 cat confdefs.h
>>conftest.
$ac_ext
10213 cat >>conftest.
$ac_ext <<_ACEOF
10214 /* end confdefs.h. */
10216 /* Override any gcc2 internal prototype to avoid an error. */
10220 /* We use char because int might match the return type of a gcc2
10221 builtin and then its argument prototype would still apply. */
10231 rm -f conftest.
$ac_objext conftest
$ac_exeext
10232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10233 (eval $ac_link) 2>conftest.er1
10235 grep -v '^ *+' conftest.er1
>conftest.err
10237 cat conftest.err
>&5
10238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10239 (exit $ac_status); } &&
10240 { ac_try
='test -z "$ac_c_werror_flag"
10241 || test ! -s conftest.err'
10242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10243 (eval $ac_try) 2>&5
10245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10246 (exit $ac_status); }; } &&
10247 { ac_try
='test -s conftest$ac_exeext'
10248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10249 (eval $ac_try) 2>&5
10251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10252 (exit $ac_status); }; }; then
10253 ac_cv_lib_dl_dladdr
=yes
10255 echo "$as_me: failed program was:" >&5
10256 sed 's/^/| /' conftest.
$ac_ext >&5
10258 ac_cv_lib_dl_dladdr
=no
10260 rm -f conftest.err conftest.
$ac_objext \
10261 conftest
$ac_exeext conftest.
$ac_ext
10262 LIBS
=$ac_check_lib_save_LIBS
10264 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dladdr" >&5
10265 echo "${ECHO_T}$ac_cv_lib_dl_dladdr" >&6
10266 if test $ac_cv_lib_dl_dladdr = yes; then
10269 cat >>confdefs.h
<<\_ACEOF
10270 #define HAVE_DLADDR 1
10275 echo "$as_me:$LINENO: checking for dladdr in -ldld" >&5
10276 echo $ECHO_N "checking for dladdr in -ldld... $ECHO_C" >&6
10277 if test "${ac_cv_lib_dld_dladdr+set}" = set; then
10278 echo $ECHO_N "(cached) $ECHO_C" >&6
10280 ac_check_lib_save_LIBS
=$LIBS
10282 if test x
$gcc_no_link = xyes
; then
10283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10285 { (exit 1); exit 1; }; }
10287 cat >conftest.
$ac_ext <<_ACEOF
10290 cat confdefs.h
>>conftest.
$ac_ext
10291 cat >>conftest.
$ac_ext <<_ACEOF
10292 /* end confdefs.h. */
10294 /* Override any gcc2 internal prototype to avoid an error. */
10298 /* We use char because int might match the return type of a gcc2
10299 builtin and then its argument prototype would still apply. */
10309 rm -f conftest.
$ac_objext conftest
$ac_exeext
10310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10311 (eval $ac_link) 2>conftest.er1
10313 grep -v '^ *+' conftest.er1
>conftest.err
10315 cat conftest.err
>&5
10316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10317 (exit $ac_status); } &&
10318 { ac_try
='test -z "$ac_c_werror_flag"
10319 || test ! -s conftest.err'
10320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10321 (eval $ac_try) 2>&5
10323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10324 (exit $ac_status); }; } &&
10325 { ac_try
='test -s conftest$ac_exeext'
10326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10327 (eval $ac_try) 2>&5
10329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10330 (exit $ac_status); }; }; then
10331 ac_cv_lib_dld_dladdr
=yes
10333 echo "$as_me: failed program was:" >&5
10334 sed 's/^/| /' conftest.
$ac_ext >&5
10336 ac_cv_lib_dld_dladdr
=no
10338 rm -f conftest.err conftest.
$ac_objext \
10339 conftest
$ac_exeext conftest.
$ac_ext
10340 LIBS
=$ac_check_lib_save_LIBS
10342 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dladdr" >&5
10343 echo "${ECHO_T}$ac_cv_lib_dld_dladdr" >&6
10344 if test $ac_cv_lib_dld_dladdr = yes; then
10347 cat >>confdefs.h
<<\_ACEOF
10348 #define HAVE_DLADDR 1
10356 if test x
"$cross_compiling" = x
"no"; then
10357 echo "$as_me:$LINENO: checking for /proc/self/exe" >&5
10358 echo $ECHO_N "checking for /proc/self/exe... $ECHO_C" >&6
10359 if test "${ac_cv_file__proc_self_exe+set}" = set; then
10360 echo $ECHO_N "(cached) $ECHO_C" >&6
10362 test "$cross_compiling" = yes &&
10363 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
10364 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
10365 { (exit 1); exit 1; }; }
10366 if test -r "/proc/self/exe"; then
10367 ac_cv_file__proc_self_exe
=yes
10369 ac_cv_file__proc_self_exe
=no
10372 echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_exe" >&5
10373 echo "${ECHO_T}$ac_cv_file__proc_self_exe" >&6
10374 if test $ac_cv_file__proc_self_exe = yes; then
10376 cat >>confdefs.h
<<_ACEOF
10377 #define HAVE__PROC_SELF_EXE 1
10382 cat >>confdefs.h
<<\_ACEOF
10383 #define HAVE_PROC_SELF_EXE 1
10392 cat >>confdefs.h
<<\_ACEOF
10393 #define HAVE_PROC_SELF_EXE 1
10401 if test "X$prefix" = "XNONE"; then
10402 acl_final_prefix
="$ac_default_prefix"
10404 acl_final_prefix
="$prefix"
10406 if test "X$exec_prefix" = "XNONE"; then
10407 acl_final_exec_prefix
='${prefix}'
10409 acl_final_exec_prefix
="$exec_prefix"
10411 acl_save_prefix
="$prefix"
10412 prefix
="$acl_final_prefix"
10413 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
10414 prefix
="$acl_save_prefix"
10417 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10418 if test "${with_gnu_ld+set}" = set; then
10419 withval
="$with_gnu_ld"
10420 test "$withval" = no || with_gnu_ld
=yes
10424 # Prepare PATH_SEPARATOR.
10425 # The user is always right.
10426 if test "${PATH_SEPARATOR+set}" != set; then
10427 echo "#! /bin/sh" >conf$$.sh
10428 echo "exit 0" >>conf$$.sh
10430 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10438 if test "$GCC" = yes; then
10439 # Check if gcc -print-prog-name=ld gives a path.
10440 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
10441 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
10444 # gcc leaves a trailing carriage return which upsets mingw
10445 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10447 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10450 # Accept absolute paths.
10451 [\\/]* |
[A-Za-z
]:[\\/]*)
10452 re_direlt
='/[^/][^/]*/\.\./'
10453 # Canonicalize the path of ld
10454 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
10455 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10456 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
10458 test -z "$LD" && LD
="$ac_prog"
10461 # If it fails, then pretend we aren't using GCC.
10465 # If it is relative, then search for the first ld in PATH.
10466 with_gnu_ld
=unknown
10469 elif test "$with_gnu_ld" = yes; then
10470 echo "$as_me:$LINENO: checking for GNU ld" >&5
10471 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10473 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10474 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10476 if test "${acl_cv_path_LD+set}" = set; then
10477 echo $ECHO_N "(cached) $ECHO_C" >&6
10479 if test -z "$LD"; then
10480 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
10481 for ac_dir
in $PATH; do
10482 test -z "$ac_dir" && ac_dir
=.
10483 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10484 acl_cv_path_LD
="$ac_dir/$ac_prog"
10485 # Check to see if the program is GNU ld. I'd rather use --version,
10486 # but apparently some GNU ld's only accept -v.
10487 # Break only if it was the GNU/non-GNU ld that we prefer.
10488 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
10489 test "$with_gnu_ld" != no
&& break
10491 test "$with_gnu_ld" != yes && break
10497 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
10501 LD
="$acl_cv_path_LD"
10502 if test -n "$LD"; then
10503 echo "$as_me:$LINENO: result: $LD" >&5
10504 echo "${ECHO_T}$LD" >&6
10506 echo "$as_me:$LINENO: result: no" >&5
10507 echo "${ECHO_T}no" >&6
10509 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10510 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10511 { (exit 1); exit 1; }; }
10512 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10513 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10514 if test "${acl_cv_prog_gnu_ld+set}" = set; then
10515 echo $ECHO_N "(cached) $ECHO_C" >&6
10517 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10518 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
10519 acl_cv_prog_gnu_ld
=yes
10521 acl_cv_prog_gnu_ld
=no
10524 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
10525 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
10526 with_gnu_ld
=$acl_cv_prog_gnu_ld
10530 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
10531 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
10532 if test "${acl_cv_rpath+set}" = set; then
10533 echo $ECHO_N "(cached) $ECHO_C" >&6
10536 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
10537 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
10539 rm -f .
/conftest.sh
10543 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
10544 echo "${ECHO_T}$acl_cv_rpath" >&6
10546 libext
="$acl_cv_libext"
10547 shlibext
="$acl_cv_shlibext"
10548 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
10549 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
10550 hardcode_direct
="$acl_cv_hardcode_direct"
10551 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
10552 # Check whether --enable-rpath or --disable-rpath was given.
10553 if test "${enable_rpath+set}" = set; then
10554 enableval
="$enable_rpath"
10568 acl_save_prefix
="$prefix"
10569 prefix
="$acl_final_prefix"
10570 acl_save_exec_prefix
="$exec_prefix"
10571 exec_prefix
="$acl_final_exec_prefix"
10573 eval additional_includedir
=\"$includedir\"
10574 eval additional_libdir
=\"$libdir\"
10576 exec_prefix
="$acl_save_exec_prefix"
10577 prefix
="$acl_save_prefix"
10580 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
10581 if test "${with_libiconv_prefix+set}" = set; then
10582 withval
="$with_libiconv_prefix"
10584 if test "X$withval" = "Xno"; then
10587 if test "X$withval" = "X"; then
10589 acl_save_prefix
="$prefix"
10590 prefix
="$acl_final_prefix"
10591 acl_save_exec_prefix
="$exec_prefix"
10592 exec_prefix
="$acl_final_exec_prefix"
10594 eval additional_includedir
=\"$includedir\"
10595 eval additional_libdir
=\"$libdir\"
10597 exec_prefix
="$acl_save_exec_prefix"
10598 prefix
="$acl_save_prefix"
10601 additional_includedir
="$withval/include"
10602 additional_libdir
="$withval/lib"
10612 names_already_handled
=
10613 names_next_round
='iconv '
10614 while test -n "$names_next_round"; do
10615 names_this_round
="$names_next_round"
10617 for name
in $names_this_round; do
10619 for n
in $names_already_handled; do
10620 if test "$n" = "$name"; then
10621 already_handled
=yes
10625 if test -z "$already_handled"; then
10626 names_already_handled
="$names_already_handled $name"
10627 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
10628 eval value
=\"\
$HAVE_LIB$uppername\"
10629 if test -n "$value"; then
10630 if test "$value" = yes; then
10631 eval value
=\"\
$LIB$uppername\"
10632 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
10633 eval value
=\"\
$LTLIB$uppername\"
10634 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
10643 if test $use_additional = yes; then
10644 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
10645 found_dir
="$additional_libdir"
10646 found_so
="$additional_libdir/lib$name.$shlibext"
10647 if test -f "$additional_libdir/lib$name.la"; then
10648 found_la
="$additional_libdir/lib$name.la"
10651 if test -f "$additional_libdir/lib$name.$libext"; then
10652 found_dir
="$additional_libdir"
10653 found_a
="$additional_libdir/lib$name.$libext"
10654 if test -f "$additional_libdir/lib$name.la"; then
10655 found_la
="$additional_libdir/lib$name.la"
10660 if test "X$found_dir" = "X"; then
10661 for x
in $LDFLAGS $LTLIBICONV; do
10663 acl_save_prefix
="$prefix"
10664 prefix
="$acl_final_prefix"
10665 acl_save_exec_prefix
="$exec_prefix"
10666 exec_prefix
="$acl_final_exec_prefix"
10668 exec_prefix
="$acl_save_exec_prefix"
10669 prefix
="$acl_save_prefix"
10673 dir
=`echo "X$x" | sed -e 's/^X-L//'`
10674 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
10676 found_so
="$dir/lib$name.$shlibext"
10677 if test -f "$dir/lib$name.la"; then
10678 found_la
="$dir/lib$name.la"
10681 if test -f "$dir/lib$name.$libext"; then
10683 found_a
="$dir/lib$name.$libext"
10684 if test -f "$dir/lib$name.la"; then
10685 found_la
="$dir/lib$name.la"
10691 if test "X$found_dir" != "X"; then
10696 if test "X$found_dir" != "X"; then
10697 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
10698 if test "X$found_so" != "X"; then
10699 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
10700 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10703 for x
in $ltrpathdirs; do
10704 if test "X$x" = "X$found_dir"; then
10709 if test -z "$haveit"; then
10710 ltrpathdirs
="$ltrpathdirs $found_dir"
10712 if test "$hardcode_direct" = yes; then
10713 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10715 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
10716 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10718 for x
in $rpathdirs; do
10719 if test "X$x" = "X$found_dir"; then
10724 if test -z "$haveit"; then
10725 rpathdirs
="$rpathdirs $found_dir"
10729 for x
in $LDFLAGS $LIBICONV; do
10731 acl_save_prefix
="$prefix"
10732 prefix
="$acl_final_prefix"
10733 acl_save_exec_prefix
="$exec_prefix"
10734 exec_prefix
="$acl_final_exec_prefix"
10736 exec_prefix
="$acl_save_exec_prefix"
10737 prefix
="$acl_save_prefix"
10739 if test "X$x" = "X-L$found_dir"; then
10744 if test -z "$haveit"; then
10745 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
10747 if test "$hardcode_minus_L" != no
; then
10748 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10750 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
10756 if test "X$found_a" != "X"; then
10757 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
10759 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
10762 additional_includedir
=
10763 case "$found_dir" in
10765 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
10766 additional_includedir
="$basedir/include"
10769 if test "X$additional_includedir" != "X"; then
10770 if test "X$additional_includedir" != "X/usr/include"; then
10772 if test "X$additional_includedir" = "X/usr/local/include"; then
10773 if test -n "$GCC"; then
10775 linux
*) haveit
=yes;;
10779 if test -z "$haveit"; then
10780 for x
in $CPPFLAGS $INCICONV; do
10782 acl_save_prefix
="$prefix"
10783 prefix
="$acl_final_prefix"
10784 acl_save_exec_prefix
="$exec_prefix"
10785 exec_prefix
="$acl_final_exec_prefix"
10787 exec_prefix
="$acl_save_exec_prefix"
10788 prefix
="$acl_save_prefix"
10790 if test "X$x" = "X-I$additional_includedir"; then
10795 if test -z "$haveit"; then
10796 if test -d "$additional_includedir"; then
10797 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
10803 if test -n "$found_la"; then
10804 save_libdir
="$libdir"
10805 case "$found_la" in
10806 */* |
*\\*) .
"$found_la" ;;
10807 *) .
"./$found_la" ;;
10809 libdir
="$save_libdir"
10810 for dep
in $dependency_libs; do
10813 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
10814 if test "X$additional_libdir" != "X/usr/lib"; then
10816 if test "X$additional_libdir" = "X/usr/local/lib"; then
10817 if test -n "$GCC"; then
10819 linux
*) haveit
=yes;;
10823 if test -z "$haveit"; then
10825 for x
in $LDFLAGS $LIBICONV; do
10827 acl_save_prefix
="$prefix"
10828 prefix
="$acl_final_prefix"
10829 acl_save_exec_prefix
="$exec_prefix"
10830 exec_prefix
="$acl_final_exec_prefix"
10832 exec_prefix
="$acl_save_exec_prefix"
10833 prefix
="$acl_save_prefix"
10835 if test "X$x" = "X-L$additional_libdir"; then
10840 if test -z "$haveit"; then
10841 if test -d "$additional_libdir"; then
10842 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
10846 for x
in $LDFLAGS $LTLIBICONV; do
10848 acl_save_prefix
="$prefix"
10849 prefix
="$acl_final_prefix"
10850 acl_save_exec_prefix
="$exec_prefix"
10851 exec_prefix
="$acl_final_exec_prefix"
10853 exec_prefix
="$acl_save_exec_prefix"
10854 prefix
="$acl_save_prefix"
10856 if test "X$x" = "X-L$additional_libdir"; then
10861 if test -z "$haveit"; then
10862 if test -d "$additional_libdir"; then
10863 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
10870 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
10871 if test "$enable_rpath" != no
; then
10873 for x
in $rpathdirs; do
10874 if test "X$x" = "X$dir"; then
10879 if test -z "$haveit"; then
10880 rpathdirs
="$rpathdirs $dir"
10883 for x
in $ltrpathdirs; do
10884 if test "X$x" = "X$dir"; then
10889 if test -z "$haveit"; then
10890 ltrpathdirs
="$ltrpathdirs $dir"
10895 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10898 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10901 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
10902 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
10908 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
10909 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
10915 if test "X$rpathdirs" != "X"; then
10916 if test -n "$hardcode_libdir_separator"; then
10918 for found_dir
in $rpathdirs; do
10919 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10921 acl_save_libdir
="$libdir"
10923 eval flag
=\"$hardcode_libdir_flag_spec\"
10924 libdir
="$acl_save_libdir"
10925 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10927 for found_dir
in $rpathdirs; do
10928 acl_save_libdir
="$libdir"
10929 libdir
="$found_dir"
10930 eval flag
=\"$hardcode_libdir_flag_spec\"
10931 libdir
="$acl_save_libdir"
10932 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10936 if test "X$ltrpathdirs" != "X"; then
10937 for found_dir
in $ltrpathdirs; do
10938 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
10948 am_save_CPPFLAGS
="$CPPFLAGS"
10950 for element
in $INCICONV; do
10952 for x
in $CPPFLAGS; do
10954 acl_save_prefix
="$prefix"
10955 prefix
="$acl_final_prefix"
10956 acl_save_exec_prefix
="$exec_prefix"
10957 exec_prefix
="$acl_final_exec_prefix"
10959 exec_prefix
="$acl_save_exec_prefix"
10960 prefix
="$acl_save_prefix"
10962 if test "X$x" = "X$element"; then
10967 if test -z "$haveit"; then
10968 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
10973 echo "$as_me:$LINENO: checking for iconv" >&5
10974 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
10975 if test "${am_cv_func_iconv+set}" = set; then
10976 echo $ECHO_N "(cached) $ECHO_C" >&6
10979 am_cv_func_iconv
="no, consider installing GNU libiconv"
10981 if test x
$gcc_no_link = xyes
; then
10982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10984 { (exit 1); exit 1; }; }
10986 cat >conftest.
$ac_ext <<_ACEOF
10989 cat confdefs.h
>>conftest.
$ac_ext
10990 cat >>conftest.
$ac_ext <<_ACEOF
10991 /* end confdefs.h. */
10992 #include <stdlib.h>
10997 iconv_t cd = iconv_open("","");
10998 iconv(cd,NULL,NULL,NULL,NULL);
11004 rm -f conftest.
$ac_objext conftest
$ac_exeext
11005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11006 (eval $ac_link) 2>conftest.er1
11008 grep -v '^ *+' conftest.er1
>conftest.err
11010 cat conftest.err
>&5
11011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11012 (exit $ac_status); } &&
11013 { ac_try
='test -z "$ac_c_werror_flag"
11014 || test ! -s conftest.err'
11015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11016 (eval $ac_try) 2>&5
11018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11019 (exit $ac_status); }; } &&
11020 { ac_try
='test -s conftest$ac_exeext'
11021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11022 (eval $ac_try) 2>&5
11024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11025 (exit $ac_status); }; }; then
11026 am_cv_func_iconv
=yes
11028 echo "$as_me: failed program was:" >&5
11029 sed 's/^/| /' conftest.
$ac_ext >&5
11032 rm -f conftest.err conftest.
$ac_objext \
11033 conftest
$ac_exeext conftest.
$ac_ext
11034 if test "$am_cv_func_iconv" != yes; then
11035 am_save_LIBS
="$LIBS"
11036 LIBS
="$LIBS $LIBICONV"
11037 if test x
$gcc_no_link = xyes
; then
11038 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11040 { (exit 1); exit 1; }; }
11042 cat >conftest.
$ac_ext <<_ACEOF
11045 cat confdefs.h
>>conftest.
$ac_ext
11046 cat >>conftest.
$ac_ext <<_ACEOF
11047 /* end confdefs.h. */
11048 #include <stdlib.h>
11053 iconv_t cd = iconv_open("","");
11054 iconv(cd,NULL,NULL,NULL,NULL);
11060 rm -f conftest.
$ac_objext conftest
$ac_exeext
11061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11062 (eval $ac_link) 2>conftest.er1
11064 grep -v '^ *+' conftest.er1
>conftest.err
11066 cat conftest.err
>&5
11067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068 (exit $ac_status); } &&
11069 { ac_try
='test -z "$ac_c_werror_flag"
11070 || test ! -s conftest.err'
11071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11072 (eval $ac_try) 2>&5
11074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11075 (exit $ac_status); }; } &&
11076 { ac_try
='test -s conftest$ac_exeext'
11077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11078 (eval $ac_try) 2>&5
11080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11081 (exit $ac_status); }; }; then
11082 am_cv_lib_iconv
=yes
11083 am_cv_func_iconv
=yes
11085 echo "$as_me: failed program was:" >&5
11086 sed 's/^/| /' conftest.
$ac_ext >&5
11089 rm -f conftest.err conftest.
$ac_objext \
11090 conftest
$ac_exeext conftest.
$ac_ext
11091 LIBS
="$am_save_LIBS"
11095 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
11096 echo "${ECHO_T}$am_cv_func_iconv" >&6
11097 if test "$am_cv_func_iconv" = yes; then
11099 cat >>confdefs.h
<<\_ACEOF
11100 #define HAVE_ICONV 1
11104 if test "$am_cv_lib_iconv" = yes; then
11105 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
11106 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
11107 echo "$as_me:$LINENO: result: $LIBICONV" >&5
11108 echo "${ECHO_T}$LIBICONV" >&6
11110 CPPFLAGS
="$am_save_CPPFLAGS"
11117 if test "$am_cv_func_iconv" = yes; then
11118 echo "$as_me:$LINENO: checking for iconv declaration" >&5
11119 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
11120 if test "${am_cv_proto_iconv+set}" = set; then
11121 echo $ECHO_N "(cached) $ECHO_C" >&6
11124 cat >conftest.
$ac_ext <<_ACEOF
11127 cat confdefs.h
>>conftest.
$ac_ext
11128 cat >>conftest.
$ac_ext <<_ACEOF
11129 /* end confdefs.h. */
11131 #include <stdlib.h>
11137 #if defined(__STDC__) || defined(__cplusplus)
11138 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
11151 rm -f conftest.
$ac_objext
11152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11153 (eval $ac_compile) 2>conftest.er1
11155 grep -v '^ *+' conftest.er1
>conftest.err
11157 cat conftest.err
>&5
11158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11159 (exit $ac_status); } &&
11160 { ac_try
='test -z "$ac_c_werror_flag"
11161 || test ! -s conftest.err'
11162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11163 (eval $ac_try) 2>&5
11165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11166 (exit $ac_status); }; } &&
11167 { ac_try
='test -s conftest.$ac_objext'
11168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11169 (eval $ac_try) 2>&5
11171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11172 (exit $ac_status); }; }; then
11173 am_cv_proto_iconv_arg1
=""
11175 echo "$as_me: failed program was:" >&5
11176 sed 's/^/| /' conftest.
$ac_ext >&5
11178 am_cv_proto_iconv_arg1
="const"
11180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11181 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);"
11184 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
11185 echo "$as_me:$LINENO: result: ${ac_t:-
11186 }$am_cv_proto_iconv" >&5
11187 echo "${ECHO_T}${ac_t:-
11188 }$am_cv_proto_iconv" >&6
11190 cat >>confdefs.h
<<_ACEOF
11191 #define ICONV_CONST $am_cv_proto_iconv_arg1
11197 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
11198 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
11199 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
11200 echo $ECHO_N "(cached) $ECHO_C" >&6
11202 if test x
$gcc_no_link = xyes
; then
11203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11205 { (exit 1); exit 1; }; }
11207 cat >conftest.
$ac_ext <<_ACEOF
11210 cat confdefs.h
>>conftest.
$ac_ext
11211 cat >>conftest.
$ac_ext <<_ACEOF
11212 /* end confdefs.h. */
11213 #include <locale.h>
11222 rm -f conftest.
$ac_objext conftest
$ac_exeext
11223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11224 (eval $ac_link) 2>conftest.er1
11226 grep -v '^ *+' conftest.er1
>conftest.err
11228 cat conftest.err
>&5
11229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11230 (exit $ac_status); } &&
11231 { ac_try
='test -z "$ac_c_werror_flag"
11232 || test ! -s conftest.err'
11233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11234 (eval $ac_try) 2>&5
11236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11237 (exit $ac_status); }; } &&
11238 { ac_try
='test -s conftest$ac_exeext'
11239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11240 (eval $ac_try) 2>&5
11242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11243 (exit $ac_status); }; }; then
11244 am_cv_val_LC_MESSAGES
=yes
11246 echo "$as_me: failed program was:" >&5
11247 sed 's/^/| /' conftest.
$ac_ext >&5
11249 am_cv_val_LC_MESSAGES
=no
11251 rm -f conftest.err conftest.
$ac_objext \
11252 conftest
$ac_exeext conftest.
$ac_ext
11254 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
11255 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
11256 if test $am_cv_val_LC_MESSAGES = yes; then
11258 cat >>confdefs.h
<<\_ACEOF
11259 #define HAVE_LC_MESSAGES 1
11264 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
11265 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
11266 if test "${ac_cv_struct_tm+set}" = set; then
11267 echo $ECHO_N "(cached) $ECHO_C" >&6
11269 cat >conftest.
$ac_ext <<_ACEOF
11272 cat confdefs.h
>>conftest.
$ac_ext
11273 cat >>conftest.
$ac_ext <<_ACEOF
11274 /* end confdefs.h. */
11275 #include <sys/types.h>
11281 struct tm *tp; tp->tm_sec;
11286 rm -f conftest.
$ac_objext
11287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11288 (eval $ac_compile) 2>conftest.er1
11290 grep -v '^ *+' conftest.er1
>conftest.err
11292 cat conftest.err
>&5
11293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11294 (exit $ac_status); } &&
11295 { ac_try
='test -z "$ac_c_werror_flag"
11296 || test ! -s conftest.err'
11297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11298 (eval $ac_try) 2>&5
11300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11301 (exit $ac_status); }; } &&
11302 { ac_try
='test -s conftest.$ac_objext'
11303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11304 (eval $ac_try) 2>&5
11306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11307 (exit $ac_status); }; }; then
11308 ac_cv_struct_tm
=time.h
11310 echo "$as_me: failed program was:" >&5
11311 sed 's/^/| /' conftest.
$ac_ext >&5
11313 ac_cv_struct_tm
=sys
/time.h
11315 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11317 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
11318 echo "${ECHO_T}$ac_cv_struct_tm" >&6
11319 if test $ac_cv_struct_tm = sys
/time.h
; then
11321 cat >>confdefs.h
<<\_ACEOF
11322 #define TM_IN_SYS_TIME 1
11327 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
11328 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
11329 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
11330 echo $ECHO_N "(cached) $ECHO_C" >&6
11332 cat >conftest.
$ac_ext <<_ACEOF
11335 cat confdefs.h
>>conftest.
$ac_ext
11336 cat >>conftest.
$ac_ext <<_ACEOF
11337 /* end confdefs.h. */
11338 #include <sys/types.h>
11339 #include <$ac_cv_struct_tm>
11345 static struct tm ac_aggr;
11346 if (ac_aggr.tm_zone)
11352 rm -f conftest.
$ac_objext
11353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11354 (eval $ac_compile) 2>conftest.er1
11356 grep -v '^ *+' conftest.er1
>conftest.err
11358 cat conftest.err
>&5
11359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11360 (exit $ac_status); } &&
11361 { ac_try
='test -z "$ac_c_werror_flag"
11362 || test ! -s conftest.err'
11363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11364 (eval $ac_try) 2>&5
11366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11367 (exit $ac_status); }; } &&
11368 { ac_try
='test -s conftest.$ac_objext'
11369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11370 (eval $ac_try) 2>&5
11372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11373 (exit $ac_status); }; }; then
11374 ac_cv_member_struct_tm_tm_zone
=yes
11376 echo "$as_me: failed program was:" >&5
11377 sed 's/^/| /' conftest.
$ac_ext >&5
11379 cat >conftest.
$ac_ext <<_ACEOF
11382 cat confdefs.h
>>conftest.
$ac_ext
11383 cat >>conftest.
$ac_ext <<_ACEOF
11384 /* end confdefs.h. */
11385 #include <sys/types.h>
11386 #include <$ac_cv_struct_tm>
11392 static struct tm ac_aggr;
11393 if (sizeof ac_aggr.tm_zone)
11399 rm -f conftest.
$ac_objext
11400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11401 (eval $ac_compile) 2>conftest.er1
11403 grep -v '^ *+' conftest.er1
>conftest.err
11405 cat conftest.err
>&5
11406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11407 (exit $ac_status); } &&
11408 { ac_try
='test -z "$ac_c_werror_flag"
11409 || test ! -s conftest.err'
11410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11411 (eval $ac_try) 2>&5
11413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11414 (exit $ac_status); }; } &&
11415 { ac_try
='test -s conftest.$ac_objext'
11416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11417 (eval $ac_try) 2>&5
11419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11420 (exit $ac_status); }; }; then
11421 ac_cv_member_struct_tm_tm_zone
=yes
11423 echo "$as_me: failed program was:" >&5
11424 sed 's/^/| /' conftest.
$ac_ext >&5
11426 ac_cv_member_struct_tm_tm_zone
=no
11428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11432 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
11433 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
11434 if test $ac_cv_member_struct_tm_tm_zone = yes; then
11436 cat >>confdefs.h
<<_ACEOF
11437 #define HAVE_STRUCT_TM_TM_ZONE 1
11443 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
11445 cat >>confdefs.h
<<\_ACEOF
11446 #define HAVE_TM_ZONE 1
11450 echo "$as_me:$LINENO: checking for tzname" >&5
11451 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
11452 if test "${ac_cv_var_tzname+set}" = set; then
11453 echo $ECHO_N "(cached) $ECHO_C" >&6
11455 if test x
$gcc_no_link = xyes
; then
11456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11458 { (exit 1); exit 1; }; }
11460 cat >conftest.
$ac_ext <<_ACEOF
11463 cat confdefs.h
>>conftest.
$ac_ext
11464 cat >>conftest.
$ac_ext <<_ACEOF
11465 /* end confdefs.h. */
11467 #ifndef tzname /* For SGI. */
11468 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
11479 rm -f conftest.
$ac_objext conftest
$ac_exeext
11480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11481 (eval $ac_link) 2>conftest.er1
11483 grep -v '^ *+' conftest.er1
>conftest.err
11485 cat conftest.err
>&5
11486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11487 (exit $ac_status); } &&
11488 { ac_try
='test -z "$ac_c_werror_flag"
11489 || test ! -s conftest.err'
11490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11491 (eval $ac_try) 2>&5
11493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11494 (exit $ac_status); }; } &&
11495 { ac_try
='test -s conftest$ac_exeext'
11496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11497 (eval $ac_try) 2>&5
11499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11500 (exit $ac_status); }; }; then
11501 ac_cv_var_tzname
=yes
11503 echo "$as_me: failed program was:" >&5
11504 sed 's/^/| /' conftest.
$ac_ext >&5
11506 ac_cv_var_tzname
=no
11508 rm -f conftest.err conftest.
$ac_objext \
11509 conftest
$ac_exeext conftest.
$ac_ext
11511 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
11512 echo "${ECHO_T}$ac_cv_var_tzname" >&6
11513 if test $ac_cv_var_tzname = yes; then
11515 cat >>confdefs.h
<<\_ACEOF
11516 #define HAVE_TZNAME 1
11525 for ac_func
in gethostbyname_r
11527 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11528 echo "$as_me:$LINENO: checking for $ac_func" >&5
11529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11530 if eval "test \"\${$as_ac_var+set}\" = set"; then
11531 echo $ECHO_N "(cached) $ECHO_C" >&6
11533 if test x
$gcc_no_link = xyes
; then
11534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11536 { (exit 1); exit 1; }; }
11538 cat >conftest.
$ac_ext <<_ACEOF
11541 cat confdefs.h
>>conftest.
$ac_ext
11542 cat >>conftest.
$ac_ext <<_ACEOF
11543 /* end confdefs.h. */
11544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11546 #define $ac_func innocuous_$ac_func
11548 /* System header to define __stub macros and hopefully few prototypes,
11549 which can conflict with char $ac_func (); below.
11550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11551 <limits.h> exists even on freestanding compilers. */
11554 # include <limits.h>
11556 # include <assert.h>
11561 /* Override any gcc2 internal prototype to avoid an error. */
11566 /* We use char because int might match the return type of a gcc2
11567 builtin and then its argument prototype would still apply. */
11569 /* The GNU C library defines this for functions which it implements
11570 to always fail with ENOSYS. Some functions are actually named
11571 something starting with __ and the normal name is an alias. */
11572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11575 char (*f) () = $ac_func;
11584 return f != $ac_func;
11589 rm -f conftest.
$ac_objext conftest
$ac_exeext
11590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11591 (eval $ac_link) 2>conftest.er1
11593 grep -v '^ *+' conftest.er1
>conftest.err
11595 cat conftest.err
>&5
11596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11597 (exit $ac_status); } &&
11598 { ac_try
='test -z "$ac_c_werror_flag"
11599 || test ! -s conftest.err'
11600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11601 (eval $ac_try) 2>&5
11603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11604 (exit $ac_status); }; } &&
11605 { ac_try
='test -s conftest$ac_exeext'
11606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11607 (eval $ac_try) 2>&5
11609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11610 (exit $ac_status); }; }; then
11611 eval "$as_ac_var=yes"
11613 echo "$as_me: failed program was:" >&5
11614 sed 's/^/| /' conftest.
$ac_ext >&5
11616 eval "$as_ac_var=no"
11618 rm -f conftest.err conftest.
$ac_objext \
11619 conftest
$ac_exeext conftest.
$ac_ext
11621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11623 if test `eval echo '${'$as_ac_var'}'` = yes; then
11624 cat >>confdefs.h
<<_ACEOF
11625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11629 cat >>confdefs.h
<<\_ACEOF
11630 #define HAVE_GETHOSTBYNAME_R 1
11633 # There are two different kinds of gethostbyname_r.
11634 # We look for the one that returns `int'.
11635 # Hopefully this check is robust enough.
11636 cat >conftest.
$ac_ext <<_ACEOF
11639 cat confdefs.h
>>conftest.
$ac_ext
11640 cat >>conftest.
$ac_ext <<_ACEOF
11641 /* end confdefs.h. */
11645 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11646 $EGREP "int.*gethostbyname_r" >/dev
/null
2>&1; then
11649 cat >>confdefs.h
<<\_ACEOF
11650 #define GETHOSTBYNAME_R_RETURNS_INT 1
11657 case " $GCINCS " in
11658 *" -D_REENTRANT "*) ;;
11660 echo "$as_me:$LINENO: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5
11661 echo $ECHO_N "checking whether gethostbyname_r declaration requires -D_REENTRANT... $ECHO_C" >&6
11662 if test "${libjava_cv_gethostbyname_r_needs_reentrant+set}" = set; then
11663 echo $ECHO_N "(cached) $ECHO_C" >&6
11666 ac_cpp
='$CXXCPP $CPPFLAGS'
11667 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11668 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11669 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11671 cat >conftest.
$ac_ext <<_ACEOF
11674 cat confdefs.h
>>conftest.
$ac_ext
11675 cat >>conftest.
$ac_ext <<_ACEOF
11676 /* end confdefs.h. */
11681 gethostbyname_r("", 0, 0);
11686 rm -f conftest.
$ac_objext
11687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11688 (eval $ac_compile) 2>conftest.er1
11690 grep -v '^ *+' conftest.er1
>conftest.err
11692 cat conftest.err
>&5
11693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11694 (exit $ac_status); } &&
11695 { ac_try
='test -z "$ac_cxx_werror_flag"
11696 || test ! -s conftest.err'
11697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11698 (eval $ac_try) 2>&5
11700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11701 (exit $ac_status); }; } &&
11702 { ac_try
='test -s conftest.$ac_objext'
11703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11704 (eval $ac_try) 2>&5
11706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11707 (exit $ac_status); }; }; then
11708 libjava_cv_gethostbyname_r_needs_reentrant
=no
11710 echo "$as_me: failed program was:" >&5
11711 sed 's/^/| /' conftest.
$ac_ext >&5
11713 CPPFLAGS_SAVE
="$CPPFLAGS"
11714 CPPFLAGS
="$CPPFLAGS -D_REENTRANT"
11715 cat >conftest.
$ac_ext <<_ACEOF
11718 cat confdefs.h
>>conftest.
$ac_ext
11719 cat >>conftest.
$ac_ext <<_ACEOF
11720 /* end confdefs.h. */
11725 gethostbyname_r("", 0, 0);
11730 rm -f conftest.
$ac_objext
11731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11732 (eval $ac_compile) 2>conftest.er1
11734 grep -v '^ *+' conftest.er1
>conftest.err
11736 cat conftest.err
>&5
11737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11738 (exit $ac_status); } &&
11739 { ac_try
='test -z "$ac_cxx_werror_flag"
11740 || test ! -s conftest.err'
11741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11742 (eval $ac_try) 2>&5
11744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11745 (exit $ac_status); }; } &&
11746 { ac_try
='test -s conftest.$ac_objext'
11747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11748 (eval $ac_try) 2>&5
11750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11751 (exit $ac_status); }; }; then
11752 libjava_cv_gethostbyname_r_needs_reentrant
=yes
11754 echo "$as_me: failed program was:" >&5
11755 sed 's/^/| /' conftest.
$ac_ext >&5
11757 libjava_cv_gethostbyname_r_needs_reentrant
=fail
11759 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11760 CPPFLAGS
="$CPPFLAGS_SAVE"
11763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11765 ac_cpp
='$CPP $CPPFLAGS'
11766 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11767 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11768 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11772 echo "$as_me:$LINENO: result: $libjava_cv_gethostbyname_r_needs_reentrant" >&5
11773 echo "${ECHO_T}$libjava_cv_gethostbyname_r_needs_reentrant" >&6
11774 if test "x$libjava_cv_gethostbyname_r_needs_reentrant" = xyes
; then
11776 cat >>confdefs.h
<<\_ACEOF
11777 #define _REENTRANT 1
11784 echo "$as_me:$LINENO: checking for struct hostent_data" >&5
11785 echo $ECHO_N "checking for struct hostent_data... $ECHO_C" >&6
11786 if test "${libjava_cv_struct_hostent_data+set}" = set; then
11787 echo $ECHO_N "(cached) $ECHO_C" >&6
11789 cat >conftest.
$ac_ext <<_ACEOF
11792 cat confdefs.h
>>conftest.
$ac_ext
11793 cat >>conftest.
$ac_ext <<_ACEOF
11794 /* end confdefs.h. */
11796 #if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
11797 # define _REENTRANT 1
11803 struct hostent_data data;
11808 rm -f conftest.
$ac_objext
11809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11810 (eval $ac_compile) 2>conftest.er1
11812 grep -v '^ *+' conftest.er1
>conftest.err
11814 cat conftest.err
>&5
11815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11816 (exit $ac_status); } &&
11817 { ac_try
='test -z "$ac_c_werror_flag"
11818 || test ! -s conftest.err'
11819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11820 (eval $ac_try) 2>&5
11822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11823 (exit $ac_status); }; } &&
11824 { ac_try
='test -s conftest.$ac_objext'
11825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11826 (eval $ac_try) 2>&5
11828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11829 (exit $ac_status); }; }; then
11830 libjava_cv_struct_hostent_data
=yes
11832 echo "$as_me: failed program was:" >&5
11833 sed 's/^/| /' conftest.
$ac_ext >&5
11835 libjava_cv_struct_hostent_data
=no
11837 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11839 echo "$as_me:$LINENO: result: $libjava_cv_struct_hostent_data" >&5
11840 echo "${ECHO_T}$libjava_cv_struct_hostent_data" >&6
11841 if test "x$libjava_cv_struct_hostent_data" = xyes
; then
11843 cat >>confdefs.h
<<\_ACEOF
11844 #define HAVE_STRUCT_HOSTENT_DATA 1
11853 # FIXME: libjava source code expects to find a prototype for
11854 # gethostbyaddr_r in netdb.h. The outer check ensures that
11855 # HAVE_GETHOSTBYADDR_R will not be defined if the prototype fails
11856 # to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
11857 # linkage check is enough, yet C++ code requires proper prototypes.)
11858 cat >conftest.
$ac_ext <<_ACEOF
11861 cat confdefs.h
>>conftest.
$ac_ext
11862 cat >>conftest.
$ac_ext <<_ACEOF
11863 /* end confdefs.h. */
11867 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11868 $EGREP "gethostbyaddr_r" >/dev
/null
2>&1; then
11871 for ac_func
in gethostbyaddr_r
11873 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11874 echo "$as_me:$LINENO: checking for $ac_func" >&5
11875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11876 if eval "test \"\${$as_ac_var+set}\" = set"; then
11877 echo $ECHO_N "(cached) $ECHO_C" >&6
11879 if test x
$gcc_no_link = xyes
; then
11880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11882 { (exit 1); exit 1; }; }
11884 cat >conftest.
$ac_ext <<_ACEOF
11887 cat confdefs.h
>>conftest.
$ac_ext
11888 cat >>conftest.
$ac_ext <<_ACEOF
11889 /* end confdefs.h. */
11890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11892 #define $ac_func innocuous_$ac_func
11894 /* System header to define __stub macros and hopefully few prototypes,
11895 which can conflict with char $ac_func (); below.
11896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11897 <limits.h> exists even on freestanding compilers. */
11900 # include <limits.h>
11902 # include <assert.h>
11907 /* Override any gcc2 internal prototype to avoid an error. */
11912 /* We use char because int might match the return type of a gcc2
11913 builtin and then its argument prototype would still apply. */
11915 /* The GNU C library defines this for functions which it implements
11916 to always fail with ENOSYS. Some functions are actually named
11917 something starting with __ and the normal name is an alias. */
11918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11921 char (*f) () = $ac_func;
11930 return f != $ac_func;
11935 rm -f conftest.
$ac_objext conftest
$ac_exeext
11936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11937 (eval $ac_link) 2>conftest.er1
11939 grep -v '^ *+' conftest.er1
>conftest.err
11941 cat conftest.err
>&5
11942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11943 (exit $ac_status); } &&
11944 { ac_try
='test -z "$ac_c_werror_flag"
11945 || test ! -s conftest.err'
11946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11947 (eval $ac_try) 2>&5
11949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11950 (exit $ac_status); }; } &&
11951 { ac_try
='test -s conftest$ac_exeext'
11952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11953 (eval $ac_try) 2>&5
11955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11956 (exit $ac_status); }; }; then
11957 eval "$as_ac_var=yes"
11959 echo "$as_me: failed program was:" >&5
11960 sed 's/^/| /' conftest.
$ac_ext >&5
11962 eval "$as_ac_var=no"
11964 rm -f conftest.err conftest.
$ac_objext \
11965 conftest
$ac_exeext conftest.
$ac_ext
11967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11969 if test `eval echo '${'$as_ac_var'}'` = yes; then
11970 cat >>confdefs.h
<<_ACEOF
11971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11975 cat >>confdefs.h
<<\_ACEOF
11976 #define HAVE_GETHOSTBYADDR_R 1
11979 # There are two different kinds of gethostbyaddr_r.
11980 # We look for the one that returns `int'.
11981 # Hopefully this check is robust enough.
11982 cat >conftest.
$ac_ext <<_ACEOF
11985 cat confdefs.h
>>conftest.
$ac_ext
11986 cat >>conftest.
$ac_ext <<_ACEOF
11987 /* end confdefs.h. */
11991 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11992 $EGREP "int.*gethostbyaddr_r" >/dev
/null
2>&1; then
11995 cat >>confdefs.h
<<\_ACEOF
11996 #define GETHOSTBYADDR_R_RETURNS_INT 1
12010 for ac_func
in gethostname
12012 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12013 echo "$as_me:$LINENO: checking for $ac_func" >&5
12014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12015 if eval "test \"\${$as_ac_var+set}\" = set"; then
12016 echo $ECHO_N "(cached) $ECHO_C" >&6
12018 if test x
$gcc_no_link = xyes
; then
12019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12021 { (exit 1); exit 1; }; }
12023 cat >conftest.
$ac_ext <<_ACEOF
12026 cat confdefs.h
>>conftest.
$ac_ext
12027 cat >>conftest.
$ac_ext <<_ACEOF
12028 /* end confdefs.h. */
12029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12031 #define $ac_func innocuous_$ac_func
12033 /* System header to define __stub macros and hopefully few prototypes,
12034 which can conflict with char $ac_func (); below.
12035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12036 <limits.h> exists even on freestanding compilers. */
12039 # include <limits.h>
12041 # include <assert.h>
12046 /* Override any gcc2 internal prototype to avoid an error. */
12051 /* We use char because int might match the return type of a gcc2
12052 builtin and then its argument prototype would still apply. */
12054 /* The GNU C library defines this for functions which it implements
12055 to always fail with ENOSYS. Some functions are actually named
12056 something starting with __ and the normal name is an alias. */
12057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12060 char (*f) () = $ac_func;
12069 return f != $ac_func;
12074 rm -f conftest.
$ac_objext conftest
$ac_exeext
12075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12076 (eval $ac_link) 2>conftest.er1
12078 grep -v '^ *+' conftest.er1
>conftest.err
12080 cat conftest.err
>&5
12081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082 (exit $ac_status); } &&
12083 { ac_try
='test -z "$ac_c_werror_flag"
12084 || test ! -s conftest.err'
12085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12086 (eval $ac_try) 2>&5
12088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12089 (exit $ac_status); }; } &&
12090 { ac_try
='test -s conftest$ac_exeext'
12091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12092 (eval $ac_try) 2>&5
12094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12095 (exit $ac_status); }; }; then
12096 eval "$as_ac_var=yes"
12098 echo "$as_me: failed program was:" >&5
12099 sed 's/^/| /' conftest.
$ac_ext >&5
12101 eval "$as_ac_var=no"
12103 rm -f conftest.err conftest.
$ac_objext \
12104 conftest
$ac_exeext conftest.
$ac_ext
12106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12108 if test `eval echo '${'$as_ac_var'}'` = yes; then
12109 cat >>confdefs.h
<<_ACEOF
12110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12114 cat >>confdefs.h
<<\_ACEOF
12115 #define HAVE_GETHOSTNAME 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 #include <unistd.h>
12127 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12128 $EGREP "gethostname" >/dev
/null
2>&1; then
12131 cat >>confdefs.h
<<\_ACEOF
12132 #define HAVE_GETHOSTNAME_DECL 1
12143 for ac_func
in usleep
12145 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12146 echo "$as_me:$LINENO: checking for $ac_func" >&5
12147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12148 if eval "test \"\${$as_ac_var+set}\" = set"; then
12149 echo $ECHO_N "(cached) $ECHO_C" >&6
12151 if test x
$gcc_no_link = xyes
; then
12152 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12154 { (exit 1); exit 1; }; }
12156 cat >conftest.
$ac_ext <<_ACEOF
12159 cat confdefs.h
>>conftest.
$ac_ext
12160 cat >>conftest.
$ac_ext <<_ACEOF
12161 /* end confdefs.h. */
12162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12164 #define $ac_func innocuous_$ac_func
12166 /* System header to define __stub macros and hopefully few prototypes,
12167 which can conflict with char $ac_func (); below.
12168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12169 <limits.h> exists even on freestanding compilers. */
12172 # include <limits.h>
12174 # include <assert.h>
12179 /* Override any gcc2 internal prototype to avoid an error. */
12184 /* We use char because int might match the return type of a gcc2
12185 builtin and then its argument prototype would still apply. */
12187 /* The GNU C library defines this for functions which it implements
12188 to always fail with ENOSYS. Some functions are actually named
12189 something starting with __ and the normal name is an alias. */
12190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12193 char (*f) () = $ac_func;
12202 return f != $ac_func;
12207 rm -f conftest.
$ac_objext conftest
$ac_exeext
12208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12209 (eval $ac_link) 2>conftest.er1
12211 grep -v '^ *+' conftest.er1
>conftest.err
12213 cat conftest.err
>&5
12214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12215 (exit $ac_status); } &&
12216 { ac_try
='test -z "$ac_c_werror_flag"
12217 || test ! -s conftest.err'
12218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12219 (eval $ac_try) 2>&5
12221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12222 (exit $ac_status); }; } &&
12223 { ac_try
='test -s conftest$ac_exeext'
12224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12225 (eval $ac_try) 2>&5
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); }; }; then
12229 eval "$as_ac_var=yes"
12231 echo "$as_me: failed program was:" >&5
12232 sed 's/^/| /' conftest.
$ac_ext >&5
12234 eval "$as_ac_var=no"
12236 rm -f conftest.err conftest.
$ac_objext \
12237 conftest
$ac_exeext conftest.
$ac_ext
12239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12241 if test `eval echo '${'$as_ac_var'}'` = yes; then
12242 cat >>confdefs.h
<<_ACEOF
12243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12246 cat >conftest.
$ac_ext <<_ACEOF
12249 cat confdefs.h
>>conftest.
$ac_ext
12250 cat >>conftest.
$ac_ext <<_ACEOF
12251 /* end confdefs.h. */
12252 #include <unistd.h>
12255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12256 $EGREP "usleep" >/dev
/null
2>&1; then
12259 cat >>confdefs.h
<<\_ACEOF
12260 #define HAVE_USLEEP_DECL 1
12270 # Look for these functions in the thread library, but only bother
12271 # if using POSIX threads.
12272 if test "$THREADS" = posix
; then
12274 LIBS
="$LIBS $THREADLIBS"
12275 # Some POSIX thread systems don't have pthread_mutexattr_settype.
12279 for ac_func
in pthread_mutexattr_settype pthread_mutexattr_setkind_np
12281 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12282 echo "$as_me:$LINENO: checking for $ac_func" >&5
12283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12284 if eval "test \"\${$as_ac_var+set}\" = set"; then
12285 echo $ECHO_N "(cached) $ECHO_C" >&6
12287 if test x
$gcc_no_link = xyes
; then
12288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12290 { (exit 1); exit 1; }; }
12292 cat >conftest.
$ac_ext <<_ACEOF
12295 cat confdefs.h
>>conftest.
$ac_ext
12296 cat >>conftest.
$ac_ext <<_ACEOF
12297 /* end confdefs.h. */
12298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12300 #define $ac_func innocuous_$ac_func
12302 /* System header to define __stub macros and hopefully few prototypes,
12303 which can conflict with char $ac_func (); below.
12304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12305 <limits.h> exists even on freestanding compilers. */
12308 # include <limits.h>
12310 # include <assert.h>
12315 /* Override any gcc2 internal prototype to avoid an error. */
12320 /* We use char because int might match the return type of a gcc2
12321 builtin and then its argument prototype would still apply. */
12323 /* The GNU C library defines this for functions which it implements
12324 to always fail with ENOSYS. Some functions are actually named
12325 something starting with __ and the normal name is an alias. */
12326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12329 char (*f) () = $ac_func;
12338 return f != $ac_func;
12343 rm -f conftest.
$ac_objext conftest
$ac_exeext
12344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12345 (eval $ac_link) 2>conftest.er1
12347 grep -v '^ *+' conftest.er1
>conftest.err
12349 cat conftest.err
>&5
12350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12351 (exit $ac_status); } &&
12352 { ac_try
='test -z "$ac_c_werror_flag"
12353 || test ! -s conftest.err'
12354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12355 (eval $ac_try) 2>&5
12357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358 (exit $ac_status); }; } &&
12359 { ac_try
='test -s conftest$ac_exeext'
12360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12361 (eval $ac_try) 2>&5
12363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12364 (exit $ac_status); }; }; then
12365 eval "$as_ac_var=yes"
12367 echo "$as_me: failed program was:" >&5
12368 sed 's/^/| /' conftest.
$ac_ext >&5
12370 eval "$as_ac_var=no"
12372 rm -f conftest.err conftest.
$ac_objext \
12373 conftest
$ac_exeext conftest.
$ac_ext
12375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12377 if test `eval echo '${'$as_ac_var'}'` = yes; then
12378 cat >>confdefs.h
<<_ACEOF
12379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12386 # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since
12387 # Solaris 7 the name librt is preferred.
12389 for ac_func
in sched_yield
12391 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12392 echo "$as_me:$LINENO: checking for $ac_func" >&5
12393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12394 if eval "test \"\${$as_ac_var+set}\" = set"; then
12395 echo $ECHO_N "(cached) $ECHO_C" >&6
12397 if test x
$gcc_no_link = xyes
; then
12398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12400 { (exit 1); exit 1; }; }
12402 cat >conftest.
$ac_ext <<_ACEOF
12405 cat confdefs.h
>>conftest.
$ac_ext
12406 cat >>conftest.
$ac_ext <<_ACEOF
12407 /* end confdefs.h. */
12408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12410 #define $ac_func innocuous_$ac_func
12412 /* System header to define __stub macros and hopefully few prototypes,
12413 which can conflict with char $ac_func (); below.
12414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12415 <limits.h> exists even on freestanding compilers. */
12418 # include <limits.h>
12420 # include <assert.h>
12425 /* Override any gcc2 internal prototype to avoid an error. */
12430 /* We use char because int might match the return type of a gcc2
12431 builtin and then its argument prototype would still apply. */
12433 /* The GNU C library defines this for functions which it implements
12434 to always fail with ENOSYS. Some functions are actually named
12435 something starting with __ and the normal name is an alias. */
12436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12439 char (*f) () = $ac_func;
12448 return f != $ac_func;
12453 rm -f conftest.
$ac_objext conftest
$ac_exeext
12454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12455 (eval $ac_link) 2>conftest.er1
12457 grep -v '^ *+' conftest.er1
>conftest.err
12459 cat conftest.err
>&5
12460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12461 (exit $ac_status); } &&
12462 { ac_try
='test -z "$ac_c_werror_flag"
12463 || test ! -s conftest.err'
12464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12465 (eval $ac_try) 2>&5
12467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12468 (exit $ac_status); }; } &&
12469 { ac_try
='test -s conftest$ac_exeext'
12470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12471 (eval $ac_try) 2>&5
12473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12474 (exit $ac_status); }; }; then
12475 eval "$as_ac_var=yes"
12477 echo "$as_me: failed program was:" >&5
12478 sed 's/^/| /' conftest.
$ac_ext >&5
12480 eval "$as_ac_var=no"
12482 rm -f conftest.err conftest.
$ac_objext \
12483 conftest
$ac_exeext conftest.
$ac_ext
12485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12487 if test `eval echo '${'$as_ac_var'}'` = yes; then
12488 cat >>confdefs.h
<<_ACEOF
12489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12494 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
12495 echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
12496 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
12497 echo $ECHO_N "(cached) $ECHO_C" >&6
12499 ac_check_lib_save_LIBS
=$LIBS
12501 if test x
$gcc_no_link = xyes
; then
12502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12504 { (exit 1); exit 1; }; }
12506 cat >conftest.
$ac_ext <<_ACEOF
12509 cat confdefs.h
>>conftest.
$ac_ext
12510 cat >>conftest.
$ac_ext <<_ACEOF
12511 /* end confdefs.h. */
12513 /* Override any gcc2 internal prototype to avoid an error. */
12517 /* We use char because int might match the return type of a gcc2
12518 builtin and then its argument prototype would still apply. */
12519 char sched_yield ();
12528 rm -f conftest.
$ac_objext conftest
$ac_exeext
12529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12530 (eval $ac_link) 2>conftest.er1
12532 grep -v '^ *+' conftest.er1
>conftest.err
12534 cat conftest.err
>&5
12535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12536 (exit $ac_status); } &&
12537 { ac_try
='test -z "$ac_c_werror_flag"
12538 || test ! -s conftest.err'
12539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12540 (eval $ac_try) 2>&5
12542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12543 (exit $ac_status); }; } &&
12544 { ac_try
='test -s conftest$ac_exeext'
12545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12546 (eval $ac_try) 2>&5
12548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12549 (exit $ac_status); }; }; then
12550 ac_cv_lib_rt_sched_yield
=yes
12552 echo "$as_me: failed program was:" >&5
12553 sed 's/^/| /' conftest.
$ac_ext >&5
12555 ac_cv_lib_rt_sched_yield
=no
12557 rm -f conftest.err conftest.
$ac_objext \
12558 conftest
$ac_exeext conftest.
$ac_ext
12559 LIBS
=$ac_check_lib_save_LIBS
12561 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
12562 echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
12563 if test $ac_cv_lib_rt_sched_yield = yes; then
12565 cat >>confdefs.h
<<\_ACEOF
12566 #define HAVE_SCHED_YIELD 1
12569 THREADLIBS
="$THREADLIBS -lrt"
12570 THREADSPEC
="$THREADSPEC -lrt"
12573 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
12574 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
12575 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
12576 echo $ECHO_N "(cached) $ECHO_C" >&6
12578 ac_check_lib_save_LIBS
=$LIBS
12579 LIBS
="-lposix4 $LIBS"
12580 if test x
$gcc_no_link = xyes
; then
12581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12583 { (exit 1); exit 1; }; }
12585 cat >conftest.
$ac_ext <<_ACEOF
12588 cat confdefs.h
>>conftest.
$ac_ext
12589 cat >>conftest.
$ac_ext <<_ACEOF
12590 /* end confdefs.h. */
12592 /* Override any gcc2 internal prototype to avoid an error. */
12596 /* We use char because int might match the return type of a gcc2
12597 builtin and then its argument prototype would still apply. */
12598 char sched_yield ();
12607 rm -f conftest.
$ac_objext conftest
$ac_exeext
12608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12609 (eval $ac_link) 2>conftest.er1
12611 grep -v '^ *+' conftest.er1
>conftest.err
12613 cat conftest.err
>&5
12614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12615 (exit $ac_status); } &&
12616 { ac_try
='test -z "$ac_c_werror_flag"
12617 || test ! -s conftest.err'
12618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12619 (eval $ac_try) 2>&5
12621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12622 (exit $ac_status); }; } &&
12623 { ac_try
='test -s conftest$ac_exeext'
12624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12625 (eval $ac_try) 2>&5
12627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12628 (exit $ac_status); }; }; then
12629 ac_cv_lib_posix4_sched_yield
=yes
12631 echo "$as_me: failed program was:" >&5
12632 sed 's/^/| /' conftest.
$ac_ext >&5
12634 ac_cv_lib_posix4_sched_yield
=no
12636 rm -f conftest.err conftest.
$ac_objext \
12637 conftest
$ac_exeext conftest.
$ac_ext
12638 LIBS
=$ac_check_lib_save_LIBS
12640 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
12641 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
12642 if test $ac_cv_lib_posix4_sched_yield = yes; then
12644 cat >>confdefs.h
<<\_ACEOF
12645 #define HAVE_SCHED_YIELD 1
12648 THREADLIBS
="$THREADLIBS -lposix4"
12649 THREADSPEC
="$THREADSPEC -lposix4"
12658 echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
12659 echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6
12660 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
12661 echo $ECHO_N "(cached) $ECHO_C" >&6
12663 ac_check_lib_save_LIBS
=$LIBS
12665 if test x
$gcc_no_link = xyes
; then
12666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12668 { (exit 1); exit 1; }; }
12670 cat >conftest.
$ac_ext <<_ACEOF
12673 cat confdefs.h
>>conftest.
$ac_ext
12674 cat >>conftest.
$ac_ext <<_ACEOF
12675 /* end confdefs.h. */
12677 /* Override any gcc2 internal prototype to avoid an error. */
12681 /* We use char because int might match the return type of a gcc2
12682 builtin and then its argument prototype would still apply. */
12683 char clock_gettime ();
12692 rm -f conftest.
$ac_objext conftest
$ac_exeext
12693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12694 (eval $ac_link) 2>conftest.er1
12696 grep -v '^ *+' conftest.er1
>conftest.err
12698 cat conftest.err
>&5
12699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12700 (exit $ac_status); } &&
12701 { ac_try
='test -z "$ac_c_werror_flag"
12702 || test ! -s conftest.err'
12703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12704 (eval $ac_try) 2>&5
12706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12707 (exit $ac_status); }; } &&
12708 { ac_try
='test -s conftest$ac_exeext'
12709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12710 (eval $ac_try) 2>&5
12712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12713 (exit $ac_status); }; }; then
12714 ac_cv_lib_rt_clock_gettime
=yes
12716 echo "$as_me: failed program was:" >&5
12717 sed 's/^/| /' conftest.
$ac_ext >&5
12719 ac_cv_lib_rt_clock_gettime
=no
12721 rm -f conftest.err conftest.
$ac_objext \
12722 conftest
$ac_exeext conftest.
$ac_ext
12723 LIBS
=$ac_check_lib_save_LIBS
12725 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
12726 echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6
12727 if test $ac_cv_lib_rt_clock_gettime = yes; then
12730 cat >>confdefs.h
<<\_ACEOF
12731 #define HAVE_CLOCK_GETTIME 1
12734 case "$THREADSPEC" in
12737 THREADSPEC
="$THREADSPEC -lrt"
12738 THREADLIBS
="$THREADLIBS -lrt"
12746 # We can save a little space at runtime if the mutex has m_count
12747 # or __m_count. This is a nice hack for Linux.
12748 cat >conftest.
$ac_ext <<_ACEOF
12751 cat confdefs.h
>>conftest.
$ac_ext
12752 cat >>conftest.
$ac_ext <<_ACEOF
12753 /* end confdefs.h. */
12754 #include <pthread.h>
12759 extern pthread_mutex_t *mutex; int q = mutex->m_count;
12765 rm -f conftest.
$ac_objext
12766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12767 (eval $ac_compile) 2>conftest.er1
12769 grep -v '^ *+' conftest.er1
>conftest.err
12771 cat conftest.err
>&5
12772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12773 (exit $ac_status); } &&
12774 { ac_try
='test -z "$ac_c_werror_flag"
12775 || test ! -s conftest.err'
12776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12777 (eval $ac_try) 2>&5
12779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12780 (exit $ac_status); }; } &&
12781 { ac_try
='test -s conftest.$ac_objext'
12782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12783 (eval $ac_try) 2>&5
12785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12786 (exit $ac_status); }; }; then
12788 cat >>confdefs.h
<<\_ACEOF
12789 #define PTHREAD_MUTEX_HAVE_M_COUNT 1
12793 echo "$as_me: failed program was:" >&5
12794 sed 's/^/| /' conftest.
$ac_ext >&5
12797 cat >conftest.
$ac_ext <<_ACEOF
12800 cat confdefs.h
>>conftest.
$ac_ext
12801 cat >>conftest.
$ac_ext <<_ACEOF
12802 /* end confdefs.h. */
12803 #include <pthread.h>
12808 extern pthread_mutex_t *mutex; int q = mutex->__m_count;
12814 rm -f conftest.
$ac_objext
12815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12816 (eval $ac_compile) 2>conftest.er1
12818 grep -v '^ *+' conftest.er1
>conftest.err
12820 cat conftest.err
>&5
12821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822 (exit $ac_status); } &&
12823 { ac_try
='test -z "$ac_c_werror_flag"
12824 || test ! -s conftest.err'
12825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12826 (eval $ac_try) 2>&5
12828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12829 (exit $ac_status); }; } &&
12830 { ac_try
='test -s conftest.$ac_objext'
12831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12832 (eval $ac_try) 2>&5
12834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835 (exit $ac_status); }; }; then
12837 cat >>confdefs.h
<<\_ACEOF
12838 #define PTHREAD_MUTEX_HAVE___M_COUNT 1
12842 echo "$as_me: failed program was:" >&5
12843 sed 's/^/| /' conftest.
$ac_ext >&5
12846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12851 # We require a way to get the time.
12856 for ac_func
in gettimeofday
time ftime
12858 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12859 echo "$as_me:$LINENO: checking for $ac_func" >&5
12860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12861 if eval "test \"\${$as_ac_var+set}\" = set"; then
12862 echo $ECHO_N "(cached) $ECHO_C" >&6
12864 if test x
$gcc_no_link = xyes
; then
12865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12867 { (exit 1); exit 1; }; }
12869 cat >conftest.
$ac_ext <<_ACEOF
12872 cat confdefs.h
>>conftest.
$ac_ext
12873 cat >>conftest.
$ac_ext <<_ACEOF
12874 /* end confdefs.h. */
12875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12877 #define $ac_func innocuous_$ac_func
12879 /* System header to define __stub macros and hopefully few prototypes,
12880 which can conflict with char $ac_func (); below.
12881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12882 <limits.h> exists even on freestanding compilers. */
12885 # include <limits.h>
12887 # include <assert.h>
12892 /* Override any gcc2 internal prototype to avoid an error. */
12897 /* We use char because int might match the return type of a gcc2
12898 builtin and then its argument prototype would still apply. */
12900 /* The GNU C library defines this for functions which it implements
12901 to always fail with ENOSYS. Some functions are actually named
12902 something starting with __ and the normal name is an alias. */
12903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12906 char (*f) () = $ac_func;
12915 return f != $ac_func;
12920 rm -f conftest.
$ac_objext conftest
$ac_exeext
12921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12922 (eval $ac_link) 2>conftest.er1
12924 grep -v '^ *+' conftest.er1
>conftest.err
12926 cat conftest.err
>&5
12927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928 (exit $ac_status); } &&
12929 { ac_try
='test -z "$ac_c_werror_flag"
12930 || test ! -s conftest.err'
12931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12932 (eval $ac_try) 2>&5
12934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12935 (exit $ac_status); }; } &&
12936 { ac_try
='test -s conftest$ac_exeext'
12937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12938 (eval $ac_try) 2>&5
12940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12941 (exit $ac_status); }; }; then
12942 eval "$as_ac_var=yes"
12944 echo "$as_me: failed program was:" >&5
12945 sed 's/^/| /' conftest.
$ac_ext >&5
12947 eval "$as_ac_var=no"
12949 rm -f conftest.err conftest.
$ac_objext \
12950 conftest
$ac_exeext conftest.
$ac_ext
12952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12954 if test `eval echo '${'$as_ac_var'}'` = yes; then
12955 cat >>confdefs.h
<<_ACEOF
12956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12962 if test "$time_found" = no
; then
12963 { { echo "$as_me:$LINENO: error: no function found to get the time" >&5
12964 echo "$as_me: error: no function found to get the time" >&2;}
12965 { (exit 1); exit 1; }; }
12969 for ac_func
in memmove
12971 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12972 echo "$as_me:$LINENO: checking for $ac_func" >&5
12973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12974 if eval "test \"\${$as_ac_var+set}\" = set"; then
12975 echo $ECHO_N "(cached) $ECHO_C" >&6
12977 if test x
$gcc_no_link = xyes
; then
12978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12980 { (exit 1); exit 1; }; }
12982 cat >conftest.
$ac_ext <<_ACEOF
12985 cat confdefs.h
>>conftest.
$ac_ext
12986 cat >>conftest.
$ac_ext <<_ACEOF
12987 /* end confdefs.h. */
12988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12990 #define $ac_func innocuous_$ac_func
12992 /* System header to define __stub macros and hopefully few prototypes,
12993 which can conflict with char $ac_func (); below.
12994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12995 <limits.h> exists even on freestanding compilers. */
12998 # include <limits.h>
13000 # include <assert.h>
13005 /* Override any gcc2 internal prototype to avoid an error. */
13010 /* We use char because int might match the return type of a gcc2
13011 builtin and then its argument prototype would still apply. */
13013 /* The GNU C library defines this for functions which it implements
13014 to always fail with ENOSYS. Some functions are actually named
13015 something starting with __ and the normal name is an alias. */
13016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13019 char (*f) () = $ac_func;
13028 return f != $ac_func;
13033 rm -f conftest.
$ac_objext conftest
$ac_exeext
13034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13035 (eval $ac_link) 2>conftest.er1
13037 grep -v '^ *+' conftest.er1
>conftest.err
13039 cat conftest.err
>&5
13040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13041 (exit $ac_status); } &&
13042 { ac_try
='test -z "$ac_c_werror_flag"
13043 || test ! -s conftest.err'
13044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13045 (eval $ac_try) 2>&5
13047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13048 (exit $ac_status); }; } &&
13049 { ac_try
='test -s conftest$ac_exeext'
13050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13051 (eval $ac_try) 2>&5
13053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13054 (exit $ac_status); }; }; then
13055 eval "$as_ac_var=yes"
13057 echo "$as_me: failed program was:" >&5
13058 sed 's/^/| /' conftest.
$ac_ext >&5
13060 eval "$as_ac_var=no"
13062 rm -f conftest.err conftest.
$ac_objext \
13063 conftest
$ac_exeext conftest.
$ac_ext
13065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13067 if test `eval echo '${'$as_ac_var'}'` = yes; then
13068 cat >>confdefs.h
<<_ACEOF
13069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13076 # We require memcpy.
13079 for ac_func
in memcpy
13081 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13082 echo "$as_me:$LINENO: checking for $ac_func" >&5
13083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13084 if eval "test \"\${$as_ac_var+set}\" = set"; then
13085 echo $ECHO_N "(cached) $ECHO_C" >&6
13087 if test x
$gcc_no_link = xyes
; then
13088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13090 { (exit 1); exit 1; }; }
13092 cat >conftest.
$ac_ext <<_ACEOF
13095 cat confdefs.h
>>conftest.
$ac_ext
13096 cat >>conftest.
$ac_ext <<_ACEOF
13097 /* end confdefs.h. */
13098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13100 #define $ac_func innocuous_$ac_func
13102 /* System header to define __stub macros and hopefully few prototypes,
13103 which can conflict with char $ac_func (); below.
13104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13105 <limits.h> exists even on freestanding compilers. */
13108 # include <limits.h>
13110 # include <assert.h>
13115 /* Override any gcc2 internal prototype to avoid an error. */
13120 /* We use char because int might match the return type of a gcc2
13121 builtin and then its argument prototype would still apply. */
13123 /* The GNU C library defines this for functions which it implements
13124 to always fail with ENOSYS. Some functions are actually named
13125 something starting with __ and the normal name is an alias. */
13126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13129 char (*f) () = $ac_func;
13138 return f != $ac_func;
13143 rm -f conftest.
$ac_objext conftest
$ac_exeext
13144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13145 (eval $ac_link) 2>conftest.er1
13147 grep -v '^ *+' conftest.er1
>conftest.err
13149 cat conftest.err
>&5
13150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13151 (exit $ac_status); } &&
13152 { ac_try
='test -z "$ac_c_werror_flag"
13153 || test ! -s conftest.err'
13154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13155 (eval $ac_try) 2>&5
13157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13158 (exit $ac_status); }; } &&
13159 { ac_try
='test -s conftest$ac_exeext'
13160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13161 (eval $ac_try) 2>&5
13163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13164 (exit $ac_status); }; }; then
13165 eval "$as_ac_var=yes"
13167 echo "$as_me: failed program was:" >&5
13168 sed 's/^/| /' conftest.
$ac_ext >&5
13170 eval "$as_ac_var=no"
13172 rm -f conftest.err conftest.
$ac_objext \
13173 conftest
$ac_exeext conftest.
$ac_ext
13175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13177 if test `eval echo '${'$as_ac_var'}'` = yes; then
13178 cat >>confdefs.h
<<_ACEOF
13179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13185 if test "$memcpy_found" = no
; then
13186 { { echo "$as_me:$LINENO: error: memcpy is required" >&5
13187 echo "$as_me: error: memcpy is required" >&2;}
13188 { (exit 1); exit 1; }; }
13190 # Do an additional check on dld, HP-UX for example has dlopen in libdld.sl
13191 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13192 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13193 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13194 echo $ECHO_N "(cached) $ECHO_C" >&6
13196 ac_check_lib_save_LIBS
=$LIBS
13198 if test x
$gcc_no_link = xyes
; then
13199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13201 { (exit 1); exit 1; }; }
13203 cat >conftest.
$ac_ext <<_ACEOF
13206 cat confdefs.h
>>conftest.
$ac_ext
13207 cat >>conftest.
$ac_ext <<_ACEOF
13208 /* end confdefs.h. */
13210 /* Override any gcc2 internal prototype to avoid an error. */
13214 /* We use char because int might match the return type of a gcc2
13215 builtin and then its argument prototype would still apply. */
13225 rm -f conftest.
$ac_objext conftest
$ac_exeext
13226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13227 (eval $ac_link) 2>conftest.er1
13229 grep -v '^ *+' conftest.er1
>conftest.err
13231 cat conftest.err
>&5
13232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13233 (exit $ac_status); } &&
13234 { ac_try
='test -z "$ac_c_werror_flag"
13235 || test ! -s conftest.err'
13236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13237 (eval $ac_try) 2>&5
13239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13240 (exit $ac_status); }; } &&
13241 { ac_try
='test -s conftest$ac_exeext'
13242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13243 (eval $ac_try) 2>&5
13245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13246 (exit $ac_status); }; }; then
13247 ac_cv_lib_dl_dlopen
=yes
13249 echo "$as_me: failed program was:" >&5
13250 sed 's/^/| /' conftest.
$ac_ext >&5
13252 ac_cv_lib_dl_dlopen
=no
13254 rm -f conftest.err conftest.
$ac_objext \
13255 conftest
$ac_exeext conftest.
$ac_ext
13256 LIBS
=$ac_check_lib_save_LIBS
13258 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13259 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13260 if test $ac_cv_lib_dl_dlopen = yes; then
13263 cat >>confdefs.h
<<\_ACEOF
13264 #define HAVE_DLOPEN 1
13269 echo "$as_me:$LINENO: checking for dlopen in -ldld" >&5
13270 echo $ECHO_N "checking for dlopen in -ldld... $ECHO_C" >&6
13271 if test "${ac_cv_lib_dld_dlopen+set}" = set; then
13272 echo $ECHO_N "(cached) $ECHO_C" >&6
13274 ac_check_lib_save_LIBS
=$LIBS
13276 if test x
$gcc_no_link = xyes
; then
13277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13279 { (exit 1); exit 1; }; }
13281 cat >conftest.
$ac_ext <<_ACEOF
13284 cat confdefs.h
>>conftest.
$ac_ext
13285 cat >>conftest.
$ac_ext <<_ACEOF
13286 /* end confdefs.h. */
13288 /* Override any gcc2 internal prototype to avoid an error. */
13292 /* We use char because int might match the return type of a gcc2
13293 builtin and then its argument prototype would still apply. */
13303 rm -f conftest.
$ac_objext conftest
$ac_exeext
13304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13305 (eval $ac_link) 2>conftest.er1
13307 grep -v '^ *+' conftest.er1
>conftest.err
13309 cat conftest.err
>&5
13310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13311 (exit $ac_status); } &&
13312 { ac_try
='test -z "$ac_c_werror_flag"
13313 || test ! -s conftest.err'
13314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13315 (eval $ac_try) 2>&5
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); }; } &&
13319 { ac_try
='test -s conftest$ac_exeext'
13320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13321 (eval $ac_try) 2>&5
13323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13324 (exit $ac_status); }; }; then
13325 ac_cv_lib_dld_dlopen
=yes
13327 echo "$as_me: failed program was:" >&5
13328 sed 's/^/| /' conftest.
$ac_ext >&5
13330 ac_cv_lib_dld_dlopen
=no
13332 rm -f conftest.err conftest.
$ac_objext \
13333 conftest
$ac_exeext conftest.
$ac_ext
13334 LIBS
=$ac_check_lib_save_LIBS
13336 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dlopen" >&5
13337 echo "${ECHO_T}$ac_cv_lib_dld_dlopen" >&6
13338 if test $ac_cv_lib_dld_dlopen = yes; then
13341 cat >>confdefs.h
<<\_ACEOF
13342 #define HAVE_DLOPEN 1
13350 # Some library-finding code we stole from Tcl.
13351 #--------------------------------------------------------------------
13352 # Check for the existence of the -lsocket and -lnsl libraries.
13353 # The order here is important, so that they end up in the right
13354 # order in the command line generated by make. Here are some
13355 # special considerations:
13356 # 1. Use "connect" and "accept" to check for -lsocket, and
13357 # "gethostbyname" to check for -lnsl.
13358 # 2. Use each function name only once: can't redo a check because
13359 # autoconf caches the results of the last check and won't redo it.
13360 # 3. Use -lnsl and -lsocket only if they supply procedures that
13361 # aren't already present in the normal libraries. This is because
13362 # IRIX 5.2 has libraries, but they aren't needed and they're
13363 # bogus: they goof up name resolution if used.
13364 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
13365 # To get around this problem, check for both libraries together
13366 # if -lsocket doesn't work by itself.
13367 #--------------------------------------------------------------------
13369 echo "$as_me:$LINENO: checking for socket libraries" >&5
13370 echo $ECHO_N "checking for socket libraries... $ECHO_C" >&6
13371 if test "${gcj_cv_lib_sockets+set}" = set; then
13372 echo $ECHO_N "(cached) $ECHO_C" >&6
13374 gcj_cv_lib_sockets
=
13376 unset ac_cv_func_connect
13377 echo "$as_me:$LINENO: checking for connect" >&5
13378 echo $ECHO_N "checking for connect... $ECHO_C" >&6
13379 if test "${ac_cv_func_connect+set}" = set; then
13380 echo $ECHO_N "(cached) $ECHO_C" >&6
13382 if test x
$gcc_no_link = xyes
; then
13383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13385 { (exit 1); exit 1; }; }
13387 cat >conftest.
$ac_ext <<_ACEOF
13390 cat confdefs.h
>>conftest.
$ac_ext
13391 cat >>conftest.
$ac_ext <<_ACEOF
13392 /* end confdefs.h. */
13393 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
13394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13395 #define connect innocuous_connect
13397 /* System header to define __stub macros and hopefully few prototypes,
13398 which can conflict with char connect (); below.
13399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13400 <limits.h> exists even on freestanding compilers. */
13403 # include <limits.h>
13405 # include <assert.h>
13410 /* Override any gcc2 internal prototype to avoid an error. */
13415 /* We use char because int might match the return type of a gcc2
13416 builtin and then its argument prototype would still apply. */
13418 /* The GNU C library defines this for functions which it implements
13419 to always fail with ENOSYS. Some functions are actually named
13420 something starting with __ and the normal name is an alias. */
13421 #if defined (__stub_connect) || defined (__stub___connect)
13424 char (*f) () = connect;
13433 return f != connect;
13438 rm -f conftest.
$ac_objext conftest
$ac_exeext
13439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13440 (eval $ac_link) 2>conftest.er1
13442 grep -v '^ *+' conftest.er1
>conftest.err
13444 cat conftest.err
>&5
13445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13446 (exit $ac_status); } &&
13447 { ac_try
='test -z "$ac_c_werror_flag"
13448 || test ! -s conftest.err'
13449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13450 (eval $ac_try) 2>&5
13452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13453 (exit $ac_status); }; } &&
13454 { ac_try
='test -s conftest$ac_exeext'
13455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13456 (eval $ac_try) 2>&5
13458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13459 (exit $ac_status); }; }; then
13460 ac_cv_func_connect
=yes
13462 echo "$as_me: failed program was:" >&5
13463 sed 's/^/| /' conftest.
$ac_ext >&5
13465 ac_cv_func_connect
=no
13467 rm -f conftest.err conftest.
$ac_objext \
13468 conftest
$ac_exeext conftest.
$ac_ext
13470 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
13471 echo "${ECHO_T}$ac_cv_func_connect" >&6
13472 if test $ac_cv_func_connect = yes; then
13478 if test "$gcj_checkSocket" = 1; then
13479 unset ac_cv_func_connect
13480 echo "$as_me:$LINENO: checking for main in -lsocket" >&5
13481 echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
13482 if test "${ac_cv_lib_socket_main+set}" = set; then
13483 echo $ECHO_N "(cached) $ECHO_C" >&6
13485 ac_check_lib_save_LIBS
=$LIBS
13486 LIBS
="-lsocket $LIBS"
13487 if test x
$gcc_no_link = xyes
; then
13488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13490 { (exit 1); exit 1; }; }
13492 cat >conftest.
$ac_ext <<_ACEOF
13495 cat confdefs.h
>>conftest.
$ac_ext
13496 cat >>conftest.
$ac_ext <<_ACEOF
13497 /* end confdefs.h. */
13508 rm -f conftest.
$ac_objext conftest
$ac_exeext
13509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13510 (eval $ac_link) 2>conftest.er1
13512 grep -v '^ *+' conftest.er1
>conftest.err
13514 cat conftest.err
>&5
13515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13516 (exit $ac_status); } &&
13517 { ac_try
='test -z "$ac_c_werror_flag"
13518 || test ! -s conftest.err'
13519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13520 (eval $ac_try) 2>&5
13522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13523 (exit $ac_status); }; } &&
13524 { ac_try
='test -s conftest$ac_exeext'
13525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13526 (eval $ac_try) 2>&5
13528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13529 (exit $ac_status); }; }; then
13530 ac_cv_lib_socket_main
=yes
13532 echo "$as_me: failed program was:" >&5
13533 sed 's/^/| /' conftest.
$ac_ext >&5
13535 ac_cv_lib_socket_main
=no
13537 rm -f conftest.err conftest.
$ac_objext \
13538 conftest
$ac_exeext conftest.
$ac_ext
13539 LIBS
=$ac_check_lib_save_LIBS
13541 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
13542 echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
13543 if test $ac_cv_lib_socket_main = yes; then
13544 gcj_cv_lib_sockets
="-lsocket"
13550 if test "$gcj_checkBoth" = 1; then
13552 LIBS
="$LIBS -lsocket -lnsl"
13553 unset ac_cv_func_accept
13554 echo "$as_me:$LINENO: checking for accept" >&5
13555 echo $ECHO_N "checking for accept... $ECHO_C" >&6
13556 if test "${ac_cv_func_accept+set}" = set; then
13557 echo $ECHO_N "(cached) $ECHO_C" >&6
13559 if test x
$gcc_no_link = xyes
; then
13560 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13562 { (exit 1); exit 1; }; }
13564 cat >conftest.
$ac_ext <<_ACEOF
13567 cat confdefs.h
>>conftest.
$ac_ext
13568 cat >>conftest.
$ac_ext <<_ACEOF
13569 /* end confdefs.h. */
13570 /* Define accept to an innocuous variant, in case <limits.h> declares accept.
13571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13572 #define accept innocuous_accept
13574 /* System header to define __stub macros and hopefully few prototypes,
13575 which can conflict with char accept (); below.
13576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13577 <limits.h> exists even on freestanding compilers. */
13580 # include <limits.h>
13582 # include <assert.h>
13587 /* Override any gcc2 internal prototype to avoid an error. */
13592 /* We use char because int might match the return type of a gcc2
13593 builtin and then its argument prototype would still apply. */
13595 /* The GNU C library defines this for functions which it implements
13596 to always fail with ENOSYS. Some functions are actually named
13597 something starting with __ and the normal name is an alias. */
13598 #if defined (__stub_accept) || defined (__stub___accept)
13601 char (*f) () = accept;
13610 return f != accept;
13615 rm -f conftest.
$ac_objext conftest
$ac_exeext
13616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13617 (eval $ac_link) 2>conftest.er1
13619 grep -v '^ *+' conftest.er1
>conftest.err
13621 cat conftest.err
>&5
13622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13623 (exit $ac_status); } &&
13624 { ac_try
='test -z "$ac_c_werror_flag"
13625 || test ! -s conftest.err'
13626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13627 (eval $ac_try) 2>&5
13629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13630 (exit $ac_status); }; } &&
13631 { ac_try
='test -s conftest$ac_exeext'
13632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13633 (eval $ac_try) 2>&5
13635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13636 (exit $ac_status); }; }; then
13637 ac_cv_func_accept
=yes
13639 echo "$as_me: failed program was:" >&5
13640 sed 's/^/| /' conftest.
$ac_ext >&5
13642 ac_cv_func_accept
=no
13644 rm -f conftest.err conftest.
$ac_objext \
13645 conftest
$ac_exeext conftest.
$ac_ext
13647 echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5
13648 echo "${ECHO_T}$ac_cv_func_accept" >&6
13649 if test $ac_cv_func_accept = yes; then
13651 gcj_cv_lib_sockets
="-lsocket -lnsl"
13654 unset ac_cv_func_accept
13657 unset ac_cv_func_gethostbyname
13659 LIBS
="$LIBS $gcj_cv_lib_sockets"
13660 echo "$as_me:$LINENO: checking for gethostbyname" >&5
13661 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
13662 if test "${ac_cv_func_gethostbyname+set}" = set; then
13663 echo $ECHO_N "(cached) $ECHO_C" >&6
13665 if test x
$gcc_no_link = xyes
; then
13666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13668 { (exit 1); exit 1; }; }
13670 cat >conftest.
$ac_ext <<_ACEOF
13673 cat confdefs.h
>>conftest.
$ac_ext
13674 cat >>conftest.
$ac_ext <<_ACEOF
13675 /* end confdefs.h. */
13676 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
13677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13678 #define gethostbyname innocuous_gethostbyname
13680 /* System header to define __stub macros and hopefully few prototypes,
13681 which can conflict with char gethostbyname (); below.
13682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13683 <limits.h> exists even on freestanding compilers. */
13686 # include <limits.h>
13688 # include <assert.h>
13691 #undef gethostbyname
13693 /* Override any gcc2 internal prototype to avoid an error. */
13698 /* We use char because int might match the return type of a gcc2
13699 builtin and then its argument prototype would still apply. */
13700 char gethostbyname ();
13701 /* The GNU C library defines this for functions which it implements
13702 to always fail with ENOSYS. Some functions are actually named
13703 something starting with __ and the normal name is an alias. */
13704 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13707 char (*f) () = gethostbyname;
13716 return f != gethostbyname;
13721 rm -f conftest.
$ac_objext conftest
$ac_exeext
13722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13723 (eval $ac_link) 2>conftest.er1
13725 grep -v '^ *+' conftest.er1
>conftest.err
13727 cat conftest.err
>&5
13728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13729 (exit $ac_status); } &&
13730 { ac_try
='test -z "$ac_c_werror_flag"
13731 || test ! -s conftest.err'
13732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13733 (eval $ac_try) 2>&5
13735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13736 (exit $ac_status); }; } &&
13737 { ac_try
='test -s conftest$ac_exeext'
13738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13739 (eval $ac_try) 2>&5
13741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13742 (exit $ac_status); }; }; then
13743 ac_cv_func_gethostbyname
=yes
13745 echo "$as_me: failed program was:" >&5
13746 sed 's/^/| /' conftest.
$ac_ext >&5
13748 ac_cv_func_gethostbyname
=no
13750 rm -f conftest.err conftest.
$ac_objext \
13751 conftest
$ac_exeext conftest.
$ac_ext
13753 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
13754 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
13755 if test $ac_cv_func_gethostbyname = yes; then
13758 echo "$as_me:$LINENO: checking for main in -lnsl" >&5
13759 echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
13760 if test "${ac_cv_lib_nsl_main+set}" = set; then
13761 echo $ECHO_N "(cached) $ECHO_C" >&6
13763 ac_check_lib_save_LIBS
=$LIBS
13765 if test x
$gcc_no_link = xyes
; then
13766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13768 { (exit 1); exit 1; }; }
13770 cat >conftest.
$ac_ext <<_ACEOF
13773 cat confdefs.h
>>conftest.
$ac_ext
13774 cat >>conftest.
$ac_ext <<_ACEOF
13775 /* end confdefs.h. */
13786 rm -f conftest.
$ac_objext conftest
$ac_exeext
13787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13788 (eval $ac_link) 2>conftest.er1
13790 grep -v '^ *+' conftest.er1
>conftest.err
13792 cat conftest.err
>&5
13793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13794 (exit $ac_status); } &&
13795 { ac_try
='test -z "$ac_c_werror_flag"
13796 || test ! -s conftest.err'
13797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13798 (eval $ac_try) 2>&5
13800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13801 (exit $ac_status); }; } &&
13802 { ac_try
='test -s conftest$ac_exeext'
13803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13804 (eval $ac_try) 2>&5
13806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13807 (exit $ac_status); }; }; then
13808 ac_cv_lib_nsl_main
=yes
13810 echo "$as_me: failed program was:" >&5
13811 sed 's/^/| /' conftest.
$ac_ext >&5
13813 ac_cv_lib_nsl_main
=no
13815 rm -f conftest.err conftest.
$ac_objext \
13816 conftest
$ac_exeext conftest.
$ac_ext
13817 LIBS
=$ac_check_lib_save_LIBS
13819 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
13820 echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
13821 if test $ac_cv_lib_nsl_main = yes; then
13822 gcj_cv_lib_sockets
="$gcj_cv_lib_sockets -lnsl"
13827 unset ac_cv_func_gethostbyname
13831 echo "$as_me:$LINENO: result: $gcj_cv_lib_sockets" >&5
13832 echo "${ECHO_T}$gcj_cv_lib_sockets" >&6
13833 SYSTEMSPEC
="$SYSTEMSPEC $gcj_cv_lib_sockets"
13835 if test "$with_system_zlib" = yes; then
13836 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
13837 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
13838 if test "${ac_cv_lib_z_deflate+set}" = set; then
13839 echo $ECHO_N "(cached) $ECHO_C" >&6
13841 ac_check_lib_save_LIBS
=$LIBS
13843 if test x
$gcc_no_link = xyes
; then
13844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13846 { (exit 1); exit 1; }; }
13848 cat >conftest.
$ac_ext <<_ACEOF
13851 cat confdefs.h
>>conftest.
$ac_ext
13852 cat >>conftest.
$ac_ext <<_ACEOF
13853 /* end confdefs.h. */
13855 /* Override any gcc2 internal prototype to avoid an error. */
13859 /* We use char because int might match the return type of a gcc2
13860 builtin and then its argument prototype would still apply. */
13870 rm -f conftest.
$ac_objext conftest
$ac_exeext
13871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13872 (eval $ac_link) 2>conftest.er1
13874 grep -v '^ *+' conftest.er1
>conftest.err
13876 cat conftest.err
>&5
13877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13878 (exit $ac_status); } &&
13879 { ac_try
='test -z "$ac_c_werror_flag"
13880 || test ! -s conftest.err'
13881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13882 (eval $ac_try) 2>&5
13884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13885 (exit $ac_status); }; } &&
13886 { ac_try
='test -s conftest$ac_exeext'
13887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13888 (eval $ac_try) 2>&5
13890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13891 (exit $ac_status); }; }; then
13892 ac_cv_lib_z_deflate
=yes
13894 echo "$as_me: failed program was:" >&5
13895 sed 's/^/| /' conftest.
$ac_ext >&5
13897 ac_cv_lib_z_deflate
=no
13899 rm -f conftest.err conftest.
$ac_objext \
13900 conftest
$ac_exeext conftest.
$ac_ext
13901 LIBS
=$ac_check_lib_save_LIBS
13903 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
13904 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
13905 if test $ac_cv_lib_z_deflate = yes; then
13913 # Test for Gtk stuff, if asked for.
13914 if test "$use_gtk_awt" = yes; then
13918 if test -z "$PKG_CONFIG"; then
13919 # Extract the first word of "pkg-config", so it can be a program name with args.
13920 set dummy pkg-config
; ac_word
=$2
13921 echo "$as_me:$LINENO: checking for $ac_word" >&5
13922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13923 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13924 echo $ECHO_N "(cached) $ECHO_C" >&6
13926 case $PKG_CONFIG in
13928 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13932 for as_dir
in $PATH
13935 test -z "$as_dir" && as_dir
=.
13936 for ac_exec_ext
in '' $ac_executable_extensions; do
13937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13938 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13945 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13949 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13951 if test -n "$PKG_CONFIG"; then
13952 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13953 echo "${ECHO_T}$PKG_CONFIG" >&6
13955 echo "$as_me:$LINENO: result: no" >&5
13956 echo "${ECHO_T}no" >&6
13961 if test "$PKG_CONFIG" = "no" ; then
13962 echo "*** The pkg-config script could not be found. Make sure it is"
13963 echo "*** in your path, or set the PKG_CONFIG environment variable"
13964 echo "*** to the full path to pkg-config."
13965 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13967 PKG_CONFIG_MIN_VERSION
=0.9.0
13968 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13969 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4" >&5
13970 echo $ECHO_N "checking for gtk+-2.0 >= 2.4... $ECHO_C" >&6
13972 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4" ; then
13973 echo "$as_me:$LINENO: result: yes" >&5
13974 echo "${ECHO_T}yes" >&6
13977 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
13978 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
13979 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4"`
13980 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
13981 echo "${ECHO_T}$GTK_CFLAGS" >&6
13983 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
13984 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
13985 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4"`
13986 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
13987 echo "${ECHO_T}$GTK_LIBS" >&6
13991 ## If we have a custom action on failure, don't print errors, but
13992 ## do set a variable so people can do so.
13993 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4"`
13994 echo $GTK_PKG_ERRORS
14000 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14001 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14005 if test $succeeded = yes; then
14008 { { 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
14009 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;}
14010 { (exit 1); exit 1; }; }
14019 if test -z "$PKG_CONFIG"; then
14020 # Extract the first word of "pkg-config", so it can be a program name with args.
14021 set dummy pkg-config
; ac_word
=$2
14022 echo "$as_me:$LINENO: checking for $ac_word" >&5
14023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14024 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
14025 echo $ECHO_N "(cached) $ECHO_C" >&6
14027 case $PKG_CONFIG in
14029 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14033 for as_dir
in $PATH
14036 test -z "$as_dir" && as_dir
=.
14037 for ac_exec_ext
in '' $ac_executable_extensions; do
14038 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14039 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14046 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14050 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
14052 if test -n "$PKG_CONFIG"; then
14053 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
14054 echo "${ECHO_T}$PKG_CONFIG" >&6
14056 echo "$as_me:$LINENO: result: no" >&5
14057 echo "${ECHO_T}no" >&6
14062 if test "$PKG_CONFIG" = "no" ; then
14063 echo "*** The pkg-config script could not be found. Make sure it is"
14064 echo "*** in your path, or set the PKG_CONFIG environment variable"
14065 echo "*** to the full path to pkg-config."
14066 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14068 PKG_CONFIG_MIN_VERSION
=0.9.0
14069 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14070 echo "$as_me:$LINENO: checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4" >&5
14071 echo $ECHO_N "checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... $ECHO_C" >&6
14073 if $PKG_CONFIG --exists "glib-2.0 >= 2.4 gthread-2.0 >= 2.4" ; then
14074 echo "$as_me:$LINENO: result: yes" >&5
14075 echo "${ECHO_T}yes" >&6
14078 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
14079 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
14080 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
14081 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
14082 echo "${ECHO_T}$GLIB_CFLAGS" >&6
14084 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
14085 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
14086 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
14087 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
14088 echo "${ECHO_T}$GLIB_LIBS" >&6
14092 ## If we have a custom action on failure, don't print errors, but
14093 ## do set a variable so people can do so.
14094 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
14095 echo $GLIB_PKG_ERRORS
14101 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14102 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14106 if test $succeeded = yes; then
14109 { { 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
14110 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;}
14111 { (exit 1); exit 1; }; }
14120 if test -z "$PKG_CONFIG"; then
14121 # Extract the first word of "pkg-config", so it can be a program name with args.
14122 set dummy pkg-config
; ac_word
=$2
14123 echo "$as_me:$LINENO: checking for $ac_word" >&5
14124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14125 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
14126 echo $ECHO_N "(cached) $ECHO_C" >&6
14128 case $PKG_CONFIG in
14130 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14134 for as_dir
in $PATH
14137 test -z "$as_dir" && as_dir
=.
14138 for ac_exec_ext
in '' $ac_executable_extensions; do
14139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14140 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14147 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14151 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
14153 if test -n "$PKG_CONFIG"; then
14154 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
14155 echo "${ECHO_T}$PKG_CONFIG" >&6
14157 echo "$as_me:$LINENO: result: no" >&5
14158 echo "${ECHO_T}no" >&6
14163 if test "$PKG_CONFIG" = "no" ; then
14164 echo "*** The pkg-config script could not be found. Make sure it is"
14165 echo "*** in your path, or set the PKG_CONFIG environment variable"
14166 echo "*** to the full path to pkg-config."
14167 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14169 PKG_CONFIG_MIN_VERSION
=0.9.0
14170 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14171 echo "$as_me:$LINENO: checking for libart-2.0 >= 2.1" >&5
14172 echo $ECHO_N "checking for libart-2.0 >= 2.1... $ECHO_C" >&6
14174 if $PKG_CONFIG --exists "libart-2.0 >= 2.1" ; then
14175 echo "$as_me:$LINENO: result: yes" >&5
14176 echo "${ECHO_T}yes" >&6
14179 echo "$as_me:$LINENO: checking LIBART_CFLAGS" >&5
14180 echo $ECHO_N "checking LIBART_CFLAGS... $ECHO_C" >&6
14181 LIBART_CFLAGS
=`$PKG_CONFIG --cflags "libart-2.0 >= 2.1"`
14182 echo "$as_me:$LINENO: result: $LIBART_CFLAGS" >&5
14183 echo "${ECHO_T}$LIBART_CFLAGS" >&6
14185 echo "$as_me:$LINENO: checking LIBART_LIBS" >&5
14186 echo $ECHO_N "checking LIBART_LIBS... $ECHO_C" >&6
14187 LIBART_LIBS
=`$PKG_CONFIG --libs "libart-2.0 >= 2.1"`
14188 echo "$as_me:$LINENO: result: $LIBART_LIBS" >&5
14189 echo "${ECHO_T}$LIBART_LIBS" >&6
14193 ## If we have a custom action on failure, don't print errors, but
14194 ## do set a variable so people can do so.
14195 LIBART_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libart-2.0 >= 2.1"`
14196 echo $LIBART_PKG_ERRORS
14202 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14203 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14207 if test $succeeded = yes; then
14210 { { 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
14211 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;}
14212 { (exit 1); exit 1; }; }
14218 # We require the XTest Extension to support java.awt.Robot.
14219 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
14220 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
14221 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
14222 echo $ECHO_N "(cached) $ECHO_C" >&6
14224 ac_check_lib_save_LIBS
=$LIBS
14225 LIBS
="-lXtst ${X_LIBS} $LIBS"
14226 if test x
$gcc_no_link = xyes
; then
14227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14229 { (exit 1); exit 1; }; }
14231 cat >conftest.
$ac_ext <<_ACEOF
14234 cat confdefs.h
>>conftest.
$ac_ext
14235 cat >>conftest.
$ac_ext <<_ACEOF
14236 /* end confdefs.h. */
14238 /* Override any gcc2 internal prototype to avoid an error. */
14242 /* We use char because int might match the return type of a gcc2
14243 builtin and then its argument prototype would still apply. */
14244 char XTestQueryExtension ();
14248 XTestQueryExtension ();
14253 rm -f conftest.
$ac_objext conftest
$ac_exeext
14254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14255 (eval $ac_link) 2>conftest.er1
14257 grep -v '^ *+' conftest.er1
>conftest.err
14259 cat conftest.err
>&5
14260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14261 (exit $ac_status); } &&
14262 { ac_try
='test -z "$ac_c_werror_flag"
14263 || test ! -s conftest.err'
14264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14265 (eval $ac_try) 2>&5
14267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14268 (exit $ac_status); }; } &&
14269 { ac_try
='test -s conftest$ac_exeext'
14270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14271 (eval $ac_try) 2>&5
14273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274 (exit $ac_status); }; }; then
14275 ac_cv_lib_Xtst_XTestQueryExtension
=yes
14277 echo "$as_me: failed program was:" >&5
14278 sed 's/^/| /' conftest.
$ac_ext >&5
14280 ac_cv_lib_Xtst_XTestQueryExtension
=no
14282 rm -f conftest.err conftest.
$ac_objext \
14283 conftest
$ac_exeext conftest.
$ac_ext
14284 LIBS
=$ac_check_lib_save_LIBS
14286 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
14287 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
14288 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
14291 { { echo "$as_me:$LINENO: error: libXtst not found, required by java.awt.Robot" >&5
14292 echo "$as_me: error: libXtst not found, required by java.awt.Robot" >&2;}
14293 { (exit 1); exit 1; }; }
14298 # On Solaris, and maybe other architectures, the Boehm collector
14300 if test "$GC" = boehm
; then
14301 echo "$as_me:$LINENO: checking for main in -ldl" >&5
14302 echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6
14303 if test "${ac_cv_lib_dl_main+set}" = set; then
14304 echo $ECHO_N "(cached) $ECHO_C" >&6
14306 ac_check_lib_save_LIBS
=$LIBS
14308 if test x
$gcc_no_link = xyes
; then
14309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14311 { (exit 1); exit 1; }; }
14313 cat >conftest.
$ac_ext <<_ACEOF
14316 cat confdefs.h
>>conftest.
$ac_ext
14317 cat >>conftest.
$ac_ext <<_ACEOF
14318 /* end confdefs.h. */
14329 rm -f conftest.
$ac_objext conftest
$ac_exeext
14330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14331 (eval $ac_link) 2>conftest.er1
14333 grep -v '^ *+' conftest.er1
>conftest.err
14335 cat conftest.err
>&5
14336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14337 (exit $ac_status); } &&
14338 { ac_try
='test -z "$ac_c_werror_flag"
14339 || test ! -s conftest.err'
14340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14341 (eval $ac_try) 2>&5
14343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14344 (exit $ac_status); }; } &&
14345 { ac_try
='test -s conftest$ac_exeext'
14346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14347 (eval $ac_try) 2>&5
14349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14350 (exit $ac_status); }; }; then
14351 ac_cv_lib_dl_main
=yes
14353 echo "$as_me: failed program was:" >&5
14354 sed 's/^/| /' conftest.
$ac_ext >&5
14356 ac_cv_lib_dl_main
=no
14358 rm -f conftest.err conftest.
$ac_objext \
14359 conftest
$ac_exeext conftest.
$ac_ext
14360 LIBS
=$ac_check_lib_save_LIBS
14362 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5
14363 echo "${ECHO_T}$ac_cv_lib_dl_main" >&6
14364 if test $ac_cv_lib_dl_main = yes; then
14365 SYSTEMSPEC
="$SYSTEMSPEC -ldl"
14371 # Use a semicolon as CLASSPATH separator for MinGW, otherwise a colon.
14373 *-mingw32) CLASSPATH_SEPARATOR
=';' ;;
14374 *) CLASSPATH_SEPARATOR
=':' ;;
14378 # We must search the source tree for java.lang, since we still don't
14379 # have libgcj.jar nor java/lang/*.class
14380 GCJ_SAVE_CPPFLAGS
=$CPPFLAGS
14381 CPPFLAGS
="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`"
14383 # Since some classes depend on this one, we need its source available
14384 # before we can do any GCJ compilation test :-(
14385 if test ! -f gnu
/classpath
/Configuration.java
; then
14386 test -d gnu || mkdir gnu
14387 test -d gnu
/classpath || mkdir gnu
/classpath
14388 # Note that it is not crucial that all the values here be correct.
14389 sed -e "s,@prefix@,$prefix," \
14390 -e "s,@VERSION@,$VERSION," \
14391 -e "s,@LIBDEBUG@,false," \
14392 -e "s,@INIT_LOAD_LIBRARY@,false," \
14393 -e "s,@@,$LIBGCJDEBUG," \
14394 -e "s,@default_toolkit@,$TOOLKIT," \
14395 -e "s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,false," \
14396 -e "s,@GTK_CAIRO_ENABLED@,false," \
14397 < $srcdir/classpath
/gnu
/classpath
/Configuration.java.
in \
14398 > gnu
/classpath
/Configuration.java
14399 # We do not want to redirect the output of the grep below to /dev/null,
14400 # but we add /dev/null to the input list so that grep will print the
14401 # filename of Configuration.java in case it finds any matches.
14402 if grep '@.*@' gnu
/classpath
/Configuration.java
/dev
/null
; then
14403 { { echo "$as_me:$LINENO: error: configure.ac is missing the substitutions above" >&5
14404 echo "$as_me: error: configure.ac is missing the substitutions above" >&2;}
14405 { (exit 1); exit 1; }; }
14409 if test -n "$ac_tool_prefix"; then
14410 # Extract the first word of "${ac_tool_prefix}gcj", so it can be a program name with args.
14411 set dummy
${ac_tool_prefix}gcj
; ac_word
=$2
14412 echo "$as_me:$LINENO: checking for $ac_word" >&5
14413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14414 if test "${ac_cv_prog_GCJ+set}" = set; then
14415 echo $ECHO_N "(cached) $ECHO_C" >&6
14417 if test -n "$GCJ"; then
14418 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
14420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14421 for as_dir
in $PATH
14424 test -z "$as_dir" && as_dir
=.
14425 for ac_exec_ext
in '' $ac_executable_extensions; do
14426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14427 ac_cv_prog_GCJ
="${ac_tool_prefix}gcj"
14428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14436 GCJ
=$ac_cv_prog_GCJ
14437 if test -n "$GCJ"; then
14438 echo "$as_me:$LINENO: result: $GCJ" >&5
14439 echo "${ECHO_T}$GCJ" >&6
14441 echo "$as_me:$LINENO: result: no" >&5
14442 echo "${ECHO_T}no" >&6
14446 if test -z "$ac_cv_prog_GCJ"; then
14448 # Extract the first word of "gcj", so it can be a program name with args.
14449 set dummy gcj
; ac_word
=$2
14450 echo "$as_me:$LINENO: checking for $ac_word" >&5
14451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14452 if test "${ac_cv_prog_ac_ct_GCJ+set}" = set; then
14453 echo $ECHO_N "(cached) $ECHO_C" >&6
14455 if test -n "$ac_ct_GCJ"; then
14456 ac_cv_prog_ac_ct_GCJ
="$ac_ct_GCJ" # Let the user override the test.
14458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14459 for as_dir
in $PATH
14462 test -z "$as_dir" && as_dir
=.
14463 for ac_exec_ext
in '' $ac_executable_extensions; do
14464 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14465 ac_cv_prog_ac_ct_GCJ
="gcj"
14466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14472 test -z "$ac_cv_prog_ac_ct_GCJ" && ac_cv_prog_ac_ct_GCJ
="no"
14475 ac_ct_GCJ
=$ac_cv_prog_ac_ct_GCJ
14476 if test -n "$ac_ct_GCJ"; then
14477 echo "$as_me:$LINENO: result: $ac_ct_GCJ" >&5
14478 echo "${ECHO_T}$ac_ct_GCJ" >&6
14480 echo "$as_me:$LINENO: result: no" >&5
14481 echo "${ECHO_T}no" >&6
14486 GCJ
="$ac_cv_prog_GCJ"
14489 test "x${GCJFLAGS+set}" = xset || GCJFLAGS
="-g -O2"
14495 rm -f gnu
/classpath
/Configuration.java
14497 CPPFLAGS
=$GCJ_SAVE_CPPFLAGS
14499 echo "$as_me:$LINENO: checking for void *" >&5
14500 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14501 if test "${ac_cv_type_void_p+set}" = set; then
14502 echo $ECHO_N "(cached) $ECHO_C" >&6
14504 cat >conftest.
$ac_ext <<_ACEOF
14507 cat confdefs.h
>>conftest.
$ac_ext
14508 cat >>conftest.
$ac_ext <<_ACEOF
14509 /* end confdefs.h. */
14510 $ac_includes_default
14516 if (sizeof (void *))
14522 rm -f conftest.
$ac_objext
14523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14524 (eval $ac_compile) 2>conftest.er1
14526 grep -v '^ *+' conftest.er1
>conftest.err
14528 cat conftest.err
>&5
14529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14530 (exit $ac_status); } &&
14531 { ac_try
='test -z "$ac_c_werror_flag"
14532 || test ! -s conftest.err'
14533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14534 (eval $ac_try) 2>&5
14536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14537 (exit $ac_status); }; } &&
14538 { ac_try
='test -s conftest.$ac_objext'
14539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14540 (eval $ac_try) 2>&5
14542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14543 (exit $ac_status); }; }; then
14544 ac_cv_type_void_p
=yes
14546 echo "$as_me: failed program was:" >&5
14547 sed 's/^/| /' conftest.
$ac_ext >&5
14549 ac_cv_type_void_p
=no
14551 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14553 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14554 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14556 echo "$as_me:$LINENO: checking size of void *" >&5
14557 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14558 if test "${ac_cv_sizeof_void_p+set}" = set; then
14559 echo $ECHO_N "(cached) $ECHO_C" >&6
14561 if test "$ac_cv_type_void_p" = yes; then
14562 # The cast to unsigned long works around a bug in the HP C Compiler
14563 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14564 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14565 # This bug is HP SR number 8606223364.
14566 if test "$cross_compiling" = yes; then
14567 # Depending upon the size, compute the lo and hi bounds.
14568 cat >conftest.
$ac_ext <<_ACEOF
14571 cat confdefs.h
>>conftest.
$ac_ext
14572 cat >>conftest.
$ac_ext <<_ACEOF
14573 /* end confdefs.h. */
14574 $ac_includes_default
14578 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14585 rm -f conftest.
$ac_objext
14586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14587 (eval $ac_compile) 2>conftest.er1
14589 grep -v '^ *+' conftest.er1
>conftest.err
14591 cat conftest.err
>&5
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); } &&
14594 { ac_try
='test -z "$ac_c_werror_flag"
14595 || test ! -s conftest.err'
14596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14597 (eval $ac_try) 2>&5
14599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14600 (exit $ac_status); }; } &&
14601 { ac_try
='test -s conftest.$ac_objext'
14602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14603 (eval $ac_try) 2>&5
14605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14606 (exit $ac_status); }; }; then
14609 cat >conftest.
$ac_ext <<_ACEOF
14612 cat confdefs.h
>>conftest.
$ac_ext
14613 cat >>conftest.
$ac_ext <<_ACEOF
14614 /* end confdefs.h. */
14615 $ac_includes_default
14619 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14626 rm -f conftest.
$ac_objext
14627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14628 (eval $ac_compile) 2>conftest.er1
14630 grep -v '^ *+' conftest.er1
>conftest.err
14632 cat conftest.err
>&5
14633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14634 (exit $ac_status); } &&
14635 { ac_try
='test -z "$ac_c_werror_flag"
14636 || test ! -s conftest.err'
14637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14638 (eval $ac_try) 2>&5
14640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14641 (exit $ac_status); }; } &&
14642 { ac_try
='test -s conftest.$ac_objext'
14643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14644 (eval $ac_try) 2>&5
14646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14647 (exit $ac_status); }; }; then
14648 ac_hi
=$ac_mid; break
14650 echo "$as_me: failed program was:" >&5
14651 sed 's/^/| /' conftest.
$ac_ext >&5
14653 ac_lo
=`expr $ac_mid + 1`
14654 if test $ac_lo -le $ac_mid; then
14658 ac_mid
=`expr 2 '*' $ac_mid + 1`
14660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14663 echo "$as_me: failed program was:" >&5
14664 sed 's/^/| /' conftest.
$ac_ext >&5
14666 cat >conftest.
$ac_ext <<_ACEOF
14669 cat confdefs.h
>>conftest.
$ac_ext
14670 cat >>conftest.
$ac_ext <<_ACEOF
14671 /* end confdefs.h. */
14672 $ac_includes_default
14676 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14683 rm -f conftest.
$ac_objext
14684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14685 (eval $ac_compile) 2>conftest.er1
14687 grep -v '^ *+' conftest.er1
>conftest.err
14689 cat conftest.err
>&5
14690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14691 (exit $ac_status); } &&
14692 { ac_try
='test -z "$ac_c_werror_flag"
14693 || test ! -s conftest.err'
14694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14695 (eval $ac_try) 2>&5
14697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14698 (exit $ac_status); }; } &&
14699 { ac_try
='test -s conftest.$ac_objext'
14700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14701 (eval $ac_try) 2>&5
14703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14704 (exit $ac_status); }; }; then
14707 cat >conftest.
$ac_ext <<_ACEOF
14710 cat confdefs.h
>>conftest.
$ac_ext
14711 cat >>conftest.
$ac_ext <<_ACEOF
14712 /* end confdefs.h. */
14713 $ac_includes_default
14717 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14724 rm -f conftest.
$ac_objext
14725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14726 (eval $ac_compile) 2>conftest.er1
14728 grep -v '^ *+' conftest.er1
>conftest.err
14730 cat conftest.err
>&5
14731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14732 (exit $ac_status); } &&
14733 { ac_try
='test -z "$ac_c_werror_flag"
14734 || test ! -s conftest.err'
14735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14736 (eval $ac_try) 2>&5
14738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14739 (exit $ac_status); }; } &&
14740 { ac_try
='test -s conftest.$ac_objext'
14741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14742 (eval $ac_try) 2>&5
14744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745 (exit $ac_status); }; }; then
14746 ac_lo
=$ac_mid; break
14748 echo "$as_me: failed program was:" >&5
14749 sed 's/^/| /' conftest.
$ac_ext >&5
14751 ac_hi
=`expr '(' $ac_mid ')' - 1`
14752 if test $ac_mid -le $ac_hi; then
14756 ac_mid
=`expr 2 '*' $ac_mid`
14758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14761 echo "$as_me: failed program was:" >&5
14762 sed 's/^/| /' conftest.
$ac_ext >&5
14766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14768 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14769 # Binary search between lo and hi bounds.
14770 while test "x$ac_lo" != "x$ac_hi"; do
14771 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14772 cat >conftest.
$ac_ext <<_ACEOF
14775 cat confdefs.h
>>conftest.
$ac_ext
14776 cat >>conftest.
$ac_ext <<_ACEOF
14777 /* end confdefs.h. */
14778 $ac_includes_default
14782 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14789 rm -f conftest.
$ac_objext
14790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14791 (eval $ac_compile) 2>conftest.er1
14793 grep -v '^ *+' conftest.er1
>conftest.err
14795 cat conftest.err
>&5
14796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14797 (exit $ac_status); } &&
14798 { ac_try
='test -z "$ac_c_werror_flag"
14799 || test ! -s conftest.err'
14800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14801 (eval $ac_try) 2>&5
14803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14804 (exit $ac_status); }; } &&
14805 { ac_try
='test -s conftest.$ac_objext'
14806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14807 (eval $ac_try) 2>&5
14809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14810 (exit $ac_status); }; }; then
14813 echo "$as_me: failed program was:" >&5
14814 sed 's/^/| /' conftest.
$ac_ext >&5
14816 ac_lo
=`expr '(' $ac_mid ')' + 1`
14818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14821 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14822 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14823 See \`config.log' for more details." >&5
14824 echo "$as_me: error: cannot compute sizeof (void *), 77
14825 See \`config.log' for more details." >&2;}
14826 { (exit 1); exit 1; }; } ;;
14829 if test "$cross_compiling" = yes; then
14830 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14831 See \`config.log' for more details." >&5
14832 echo "$as_me: error: cannot run test program while cross compiling
14833 See \`config.log' for more details." >&2;}
14834 { (exit 1); exit 1; }; }
14836 cat >conftest.
$ac_ext <<_ACEOF
14839 cat confdefs.h
>>conftest.
$ac_ext
14840 cat >>conftest.
$ac_ext <<_ACEOF
14841 /* end confdefs.h. */
14842 $ac_includes_default
14843 long longval () { return (long) (sizeof (void *)); }
14844 unsigned long ulongval () { return (long) (sizeof (void *)); }
14846 #include <stdlib.h>
14851 FILE *f = fopen ("conftest.val", "w");
14854 if (((long) (sizeof (void *))) < 0)
14856 long i = longval ();
14857 if (i != ((long) (sizeof (void *))))
14859 fprintf (f, "%ld\n", i);
14863 unsigned long i = ulongval ();
14864 if (i != ((long) (sizeof (void *))))
14866 fprintf (f, "%lu\n", i);
14868 exit (ferror (f) || fclose (f) != 0);
14874 rm -f conftest
$ac_exeext
14875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14876 (eval $ac_link) 2>&5
14878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14879 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14881 (eval $ac_try) 2>&5
14883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884 (exit $ac_status); }; }; then
14885 ac_cv_sizeof_void_p
=`cat conftest.val`
14887 echo "$as_me: program exited with status $ac_status" >&5
14888 echo "$as_me: failed program was:" >&5
14889 sed 's/^/| /' conftest.
$ac_ext >&5
14891 ( exit $ac_status )
14892 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14893 See \`config.log' for more details." >&5
14894 echo "$as_me: error: cannot compute sizeof (void *), 77
14895 See \`config.log' for more details." >&2;}
14896 { (exit 1); exit 1; }; }
14898 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14903 ac_cv_sizeof_void_p
=0
14906 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14907 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14908 cat >>confdefs.h
<<_ACEOF
14909 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14914 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
14915 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
14916 if test "${ac_cv_c_bigendian+set}" = set; then
14917 echo $ECHO_N "(cached) $ECHO_C" >&6
14919 # See if sys/param.h defines the BYTE_ORDER macro.
14920 cat >conftest.
$ac_ext <<_ACEOF
14923 cat confdefs.h
>>conftest.
$ac_ext
14924 cat >>conftest.
$ac_ext <<_ACEOF
14925 /* end confdefs.h. */
14926 #include <sys/types.h>
14927 #include <sys/param.h>
14932 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
14933 bogus endian macros
14940 rm -f conftest.
$ac_objext
14941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14942 (eval $ac_compile) 2>conftest.er1
14944 grep -v '^ *+' conftest.er1
>conftest.err
14946 cat conftest.err
>&5
14947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948 (exit $ac_status); } &&
14949 { ac_try
='test -z "$ac_c_werror_flag"
14950 || test ! -s conftest.err'
14951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14952 (eval $ac_try) 2>&5
14954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14955 (exit $ac_status); }; } &&
14956 { ac_try
='test -s conftest.$ac_objext'
14957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14958 (eval $ac_try) 2>&5
14960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14961 (exit $ac_status); }; }; then
14962 # It does; now see whether it defined to BIG_ENDIAN or not.
14963 cat >conftest.
$ac_ext <<_ACEOF
14966 cat confdefs.h
>>conftest.
$ac_ext
14967 cat >>conftest.
$ac_ext <<_ACEOF
14968 /* end confdefs.h. */
14969 #include <sys/types.h>
14970 #include <sys/param.h>
14975 #if BYTE_ORDER != BIG_ENDIAN
14983 rm -f conftest.
$ac_objext
14984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14985 (eval $ac_compile) 2>conftest.er1
14987 grep -v '^ *+' conftest.er1
>conftest.err
14989 cat conftest.err
>&5
14990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14991 (exit $ac_status); } &&
14992 { ac_try
='test -z "$ac_c_werror_flag"
14993 || test ! -s conftest.err'
14994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14995 (eval $ac_try) 2>&5
14997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14998 (exit $ac_status); }; } &&
14999 { ac_try
='test -s conftest.$ac_objext'
15000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15001 (eval $ac_try) 2>&5
15003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15004 (exit $ac_status); }; }; then
15005 ac_cv_c_bigendian
=yes
15007 echo "$as_me: failed program was:" >&5
15008 sed 's/^/| /' conftest.
$ac_ext >&5
15010 ac_cv_c_bigendian
=no
15012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15014 echo "$as_me: failed program was:" >&5
15015 sed 's/^/| /' conftest.
$ac_ext >&5
15017 # It does not; compile a test program.
15018 if test "$cross_compiling" = yes; then
15019 # try to guess the endianness by grepping values into an object file
15020 ac_cv_c_bigendian
=unknown
15021 cat >conftest.
$ac_ext <<_ACEOF
15024 cat confdefs.h
>>conftest.
$ac_ext
15025 cat >>conftest.
$ac_ext <<_ACEOF
15026 /* end confdefs.h. */
15027 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15028 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15029 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
15030 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
15031 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
15032 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
15036 _ascii (); _ebcdic ();
15041 rm -f conftest.
$ac_objext
15042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15043 (eval $ac_compile) 2>conftest.er1
15045 grep -v '^ *+' conftest.er1
>conftest.err
15047 cat conftest.err
>&5
15048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049 (exit $ac_status); } &&
15050 { ac_try
='test -z "$ac_c_werror_flag"
15051 || test ! -s conftest.err'
15052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15053 (eval $ac_try) 2>&5
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); }; } &&
15057 { ac_try
='test -s conftest.$ac_objext'
15058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15059 (eval $ac_try) 2>&5
15061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062 (exit $ac_status); }; }; then
15063 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
15064 ac_cv_c_bigendian
=yes
15066 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
15067 if test "$ac_cv_c_bigendian" = unknown
; then
15068 ac_cv_c_bigendian
=no
15070 # finding both strings is unlikely to happen, but who knows?
15071 ac_cv_c_bigendian
=unknown
15075 echo "$as_me: failed program was:" >&5
15076 sed 's/^/| /' conftest.
$ac_ext >&5
15079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15081 cat >conftest.
$ac_ext <<_ACEOF
15084 cat confdefs.h
>>conftest.
$ac_ext
15085 cat >>conftest.
$ac_ext <<_ACEOF
15086 /* end confdefs.h. */
15090 /* Are we little or big endian? From Harbison&Steele. */
15094 char c[sizeof (long)];
15097 exit (u.c[sizeof (long) - 1] == 1);
15100 rm -f conftest
$ac_exeext
15101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15102 (eval $ac_link) 2>&5
15104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15105 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15107 (eval $ac_try) 2>&5
15109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15110 (exit $ac_status); }; }; then
15111 ac_cv_c_bigendian
=no
15113 echo "$as_me: program exited with status $ac_status" >&5
15114 echo "$as_me: failed program was:" >&5
15115 sed 's/^/| /' conftest.
$ac_ext >&5
15117 ( exit $ac_status )
15118 ac_cv_c_bigendian
=yes
15120 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15125 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
15126 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
15127 case $ac_cv_c_bigendian in
15130 cat >>confdefs.h
<<\_ACEOF
15131 #define WORDS_BIGENDIAN 1
15137 { { echo "$as_me:$LINENO: error: unknown endianness
15138 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
15139 echo "$as_me: error: unknown endianness
15140 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
15141 { (exit 1); exit 1; }; } ;;
15149 if test -z "$ZLIBSPEC"; then
15150 # Use zlib from the GCC tree.
15151 ZINCS
='-I$(top_srcdir)/../zlib'
15152 ZLIBS
=..
/zlib
/libzgcj_convenience.la
15155 SYS_ZLIBS
="$ZLIBSPEC"
15168 if test "$NATIVE" = yes; then
15178 if test "$enable_shared" = yes; then
15179 ENABLE_SHARED_TRUE
=
15180 ENABLE_SHARED_FALSE
='#'
15182 ENABLE_SHARED_TRUE
='#'
15183 ENABLE_SHARED_FALSE
=
15188 if test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes; then
15189 NEEDS_DATA_START_TRUE
=
15190 NEEDS_DATA_START_FALSE
='#'
15192 NEEDS_DATA_START_TRUE
='#'
15193 NEEDS_DATA_START_FALSE
=
15198 # Process the option "--enable-version-specific-runtime-libs"
15199 # Calculate toolexeclibdir
15200 case ${version_specific_libs} in
15202 # Need the gcc compiler version to know where to install libraries
15203 # and header files if --enable-version-specific-runtime-libs option
15205 includedir
='$(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/include/'
15206 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
15207 toolexecmainlibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
15208 toolexeclibdir
=$toolexecmainlibdir
15211 if test -n "$with_cross_host" &&
15212 test x
"$with_cross_host" != x
"no"; then
15213 # Install a library built with a cross compiler in tooldir, not libdir.
15214 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
15215 toolexecmainlibdir
='$(toolexecdir)/lib'
15217 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
15218 toolexecmainlibdir
='$(libdir)'
15220 multi_os_directory
=`$CC -print-multi-os-directory`
15221 case $multi_os_directory in
15222 .
) toolexeclibdir
=$toolexecmainlibdir ;; # Avoid trailing /.
15223 *) toolexeclibdir
=$toolexecmainlibdir/$multi_os_directory ;;
15231 # Determine where the standard .db file and GNU Classpath JNI
15232 # libraries are found.
15233 multi_os_directory
=`$CC -print-multi-os-directory`
15234 case $multi_os_directory in
15236 dbexecdir
='$(libdir)/gcj-$(gcc_version)' # Avoid /.
15239 dbexecdir
='$(libdir)/'$multi_os_directory'/gcj-$(gcc_version)'
15244 # Determine gcj version number.
15245 gcjversion
=`$GCJ -v 2>&1 | sed -n 's/^.*version \([^ ]*\).*$/\1/p'`
15246 GCJVERSION
=$gcjversion
15249 cat >>confdefs.h
<<_ACEOF
15250 #define GCJVERSION "$GCJVERSION"
15255 cat >>confdefs.h
<<\_ACEOF
15256 #define JV_VERSION "1.5.0"
15260 cat >>confdefs.h
<<\_ACEOF
15261 #define JV_API_VERSION "1.5"
15266 case "${with_gxx_include_dir}" in
15268 { { echo "$as_me:$LINENO: error: --with-gxx-include-dir=[dir] requires a directory" >&5
15269 echo "$as_me: error: --with-gxx-include-dir=[dir] requires a directory" >&2;}
15270 { (exit 1); exit 1; }; }
15273 case "${enable_version_specific_runtime_libs}" in
15274 yes) gxx_include_dir
='$(libsubdir)/include/c++' ;;
15276 libstdcxx_incdir
='c++/$(gcc_version)'
15277 gxx_include_dir
='include/$(libstdcxx_incdir)'
15278 if test -n "$with_cross_host" &&
15279 test x
"$with_cross_host" != x
"no"; then
15280 gxx_include_dir
='${prefix}/${target_alias}/'"$gxx_include_dir"
15282 gxx_include_dir
='${prefix}/'"$gxx_include_dir"
15285 *) gxx_include_dir
=${with_gxx_include_dir} ;;
15291 # We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
15292 # On that system, sys/ioctl.h will not include sys/filio.h unless
15293 # BSD_COMP is defined; just including sys/filio.h is simpler.
15294 # We avoid AC_HEADER_DIRENT since we really only care about dirent.h
15295 # for now. If you change this, you also must update natFile.cc.
15319 for ac_header
in unistd.h bstring.h sys
/time.h sys
/types.h fcntl.h \
15320 sys
/ioctl.h sys
/filio.h sys
/stat.h sys
/select.h \
15321 sys
/socket.h netinet
/in.h arpa
/inet.h netdb.h net
/if.h \
15322 pwd.h sys
/config.h stdint.h langinfo.h locale.h \
15323 dirent.h sys
/rw_lock.h magic.h ifaddrs.h
15325 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15327 echo "$as_me:$LINENO: checking for $ac_header" >&5
15328 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15329 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15330 echo $ECHO_N "(cached) $ECHO_C" >&6
15332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15333 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15335 # Is the header compilable?
15336 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15337 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15338 cat >conftest.
$ac_ext <<_ACEOF
15341 cat confdefs.h
>>conftest.
$ac_ext
15342 cat >>conftest.
$ac_ext <<_ACEOF
15343 /* end confdefs.h. */
15344 $ac_includes_default
15345 #include <$ac_header>
15347 rm -f conftest.
$ac_objext
15348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15349 (eval $ac_compile) 2>conftest.er1
15351 grep -v '^ *+' conftest.er1
>conftest.err
15353 cat conftest.err
>&5
15354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15355 (exit $ac_status); } &&
15356 { ac_try
='test -z "$ac_c_werror_flag"
15357 || test ! -s conftest.err'
15358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15359 (eval $ac_try) 2>&5
15361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15362 (exit $ac_status); }; } &&
15363 { ac_try
='test -s conftest.$ac_objext'
15364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15365 (eval $ac_try) 2>&5
15367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15368 (exit $ac_status); }; }; then
15369 ac_header_compiler
=yes
15371 echo "$as_me: failed program was:" >&5
15372 sed 's/^/| /' conftest.
$ac_ext >&5
15374 ac_header_compiler
=no
15376 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15377 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15378 echo "${ECHO_T}$ac_header_compiler" >&6
15380 # Is the header present?
15381 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15382 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15383 cat >conftest.
$ac_ext <<_ACEOF
15386 cat confdefs.h
>>conftest.
$ac_ext
15387 cat >>conftest.
$ac_ext <<_ACEOF
15388 /* end confdefs.h. */
15389 #include <$ac_header>
15391 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15392 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15394 grep -v '^ *+' conftest.er1
>conftest.err
15396 cat conftest.err
>&5
15397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15398 (exit $ac_status); } >/dev
/null
; then
15399 if test -s conftest.err
; then
15400 ac_cpp_err
=$ac_c_preproc_warn_flag
15401 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15408 if test -z "$ac_cpp_err"; then
15409 ac_header_preproc
=yes
15411 echo "$as_me: failed program was:" >&5
15412 sed 's/^/| /' conftest.
$ac_ext >&5
15414 ac_header_preproc
=no
15416 rm -f conftest.err conftest.
$ac_ext
15417 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15418 echo "${ECHO_T}$ac_header_preproc" >&6
15420 # So? What about this header?
15421 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15423 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15424 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15425 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15426 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15427 ac_header_preproc
=yes
15430 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15431 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15432 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15433 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15434 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15435 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15436 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15437 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15438 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15439 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15440 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15441 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15444 ## ---------------------------------- ##
15445 ## Report this to the libjava lists. ##
15446 ## ---------------------------------- ##
15449 sed "s/^/$as_me: WARNING: /" >&2
15452 echo "$as_me:$LINENO: checking for $ac_header" >&5
15453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15455 echo $ECHO_N "(cached) $ECHO_C" >&6
15457 eval "$as_ac_Header=\$ac_header_preproc"
15459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15460 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15463 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15464 cat >>confdefs.h
<<_ACEOF
15465 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15473 for ac_header
in inttypes.h
15475 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15477 echo "$as_me:$LINENO: checking for $ac_header" >&5
15478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15480 echo $ECHO_N "(cached) $ECHO_C" >&6
15482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15485 # Is the header compilable?
15486 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15487 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15488 cat >conftest.
$ac_ext <<_ACEOF
15491 cat confdefs.h
>>conftest.
$ac_ext
15492 cat >>conftest.
$ac_ext <<_ACEOF
15493 /* end confdefs.h. */
15494 $ac_includes_default
15495 #include <$ac_header>
15497 rm -f conftest.
$ac_objext
15498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15499 (eval $ac_compile) 2>conftest.er1
15501 grep -v '^ *+' conftest.er1
>conftest.err
15503 cat conftest.err
>&5
15504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15505 (exit $ac_status); } &&
15506 { ac_try
='test -z "$ac_c_werror_flag"
15507 || test ! -s conftest.err'
15508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15509 (eval $ac_try) 2>&5
15511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15512 (exit $ac_status); }; } &&
15513 { ac_try
='test -s conftest.$ac_objext'
15514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15515 (eval $ac_try) 2>&5
15517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15518 (exit $ac_status); }; }; then
15519 ac_header_compiler
=yes
15521 echo "$as_me: failed program was:" >&5
15522 sed 's/^/| /' conftest.
$ac_ext >&5
15524 ac_header_compiler
=no
15526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15527 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15528 echo "${ECHO_T}$ac_header_compiler" >&6
15530 # Is the header present?
15531 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15532 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15533 cat >conftest.
$ac_ext <<_ACEOF
15536 cat confdefs.h
>>conftest.
$ac_ext
15537 cat >>conftest.
$ac_ext <<_ACEOF
15538 /* end confdefs.h. */
15539 #include <$ac_header>
15541 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15542 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15544 grep -v '^ *+' conftest.er1
>conftest.err
15546 cat conftest.err
>&5
15547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15548 (exit $ac_status); } >/dev
/null
; then
15549 if test -s conftest.err
; then
15550 ac_cpp_err
=$ac_c_preproc_warn_flag
15551 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15558 if test -z "$ac_cpp_err"; then
15559 ac_header_preproc
=yes
15561 echo "$as_me: failed program was:" >&5
15562 sed 's/^/| /' conftest.
$ac_ext >&5
15564 ac_header_preproc
=no
15566 rm -f conftest.err conftest.
$ac_ext
15567 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15568 echo "${ECHO_T}$ac_header_preproc" >&6
15570 # So? What about this header?
15571 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15573 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15574 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15575 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15576 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15577 ac_header_preproc
=yes
15580 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15581 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15582 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15583 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15584 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15585 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15586 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15587 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15589 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15590 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15591 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15594 ## ---------------------------------- ##
15595 ## Report this to the libjava lists. ##
15596 ## ---------------------------------- ##
15599 sed "s/^/$as_me: WARNING: /" >&2
15602 echo "$as_me:$LINENO: checking for $ac_header" >&5
15603 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15604 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15605 echo $ECHO_N "(cached) $ECHO_C" >&6
15607 eval "$as_ac_Header=\$ac_header_preproc"
15609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15610 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15613 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15614 cat >>confdefs.h
<<_ACEOF
15615 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15619 cat >>confdefs.h
<<\_ACEOF
15620 #define HAVE_INTTYPES_H 1
15624 cat >>confdefs.h
<<\_ACEOF
15625 #define JV_HAVE_INTTYPES_H 1
15633 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
15634 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
15635 if test "${ac_cv_header_sys_wait_h+set}" = set; then
15636 echo $ECHO_N "(cached) $ECHO_C" >&6
15638 cat >conftest.
$ac_ext <<_ACEOF
15641 cat confdefs.h
>>conftest.
$ac_ext
15642 cat >>conftest.
$ac_ext <<_ACEOF
15643 /* end confdefs.h. */
15644 #include <sys/types.h>
15645 #include <sys/wait.h>
15646 #ifndef WEXITSTATUS
15647 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
15650 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
15658 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
15663 rm -f conftest.
$ac_objext
15664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15665 (eval $ac_compile) 2>conftest.er1
15667 grep -v '^ *+' conftest.er1
>conftest.err
15669 cat conftest.err
>&5
15670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15671 (exit $ac_status); } &&
15672 { ac_try
='test -z "$ac_c_werror_flag"
15673 || test ! -s conftest.err'
15674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15675 (eval $ac_try) 2>&5
15677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678 (exit $ac_status); }; } &&
15679 { ac_try
='test -s conftest.$ac_objext'
15680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15681 (eval $ac_try) 2>&5
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); }; }; then
15685 ac_cv_header_sys_wait_h
=yes
15687 echo "$as_me: failed program was:" >&5
15688 sed 's/^/| /' conftest.
$ac_ext >&5
15690 ac_cv_header_sys_wait_h
=no
15692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15694 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
15695 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
15696 if test $ac_cv_header_sys_wait_h = yes; then
15698 cat >>confdefs.h
<<\_ACEOF
15699 #define HAVE_SYS_WAIT_H 1
15705 echo "$as_me:$LINENO: checking for ssize_t" >&5
15706 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
15707 if test "${ac_cv_type_ssize_t+set}" = set; then
15708 echo $ECHO_N "(cached) $ECHO_C" >&6
15710 cat >conftest.
$ac_ext <<_ACEOF
15713 cat confdefs.h
>>conftest.
$ac_ext
15714 cat >>conftest.
$ac_ext <<_ACEOF
15715 /* end confdefs.h. */
15716 $ac_includes_default
15722 if (sizeof (ssize_t))
15728 rm -f conftest.
$ac_objext
15729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15730 (eval $ac_compile) 2>conftest.er1
15732 grep -v '^ *+' conftest.er1
>conftest.err
15734 cat conftest.err
>&5
15735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15736 (exit $ac_status); } &&
15737 { ac_try
='test -z "$ac_c_werror_flag"
15738 || test ! -s conftest.err'
15739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15740 (eval $ac_try) 2>&5
15742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 (exit $ac_status); }; } &&
15744 { ac_try
='test -s conftest.$ac_objext'
15745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15746 (eval $ac_try) 2>&5
15748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 (exit $ac_status); }; }; then
15750 ac_cv_type_ssize_t
=yes
15752 echo "$as_me: failed program was:" >&5
15753 sed 's/^/| /' conftest.
$ac_ext >&5
15755 ac_cv_type_ssize_t
=no
15757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15759 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
15760 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
15761 if test $ac_cv_type_ssize_t = yes; then
15765 cat >>confdefs.h
<<_ACEOF
15766 #define ssize_t int
15772 echo "$as_me:$LINENO: checking for in_addr_t" >&5
15773 echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6
15774 cat >conftest.
$ac_ext <<_ACEOF
15777 cat confdefs.h
>>conftest.
$ac_ext
15778 cat >>conftest.
$ac_ext <<_ACEOF
15779 /* end confdefs.h. */
15780 #include <sys/types.h>
15782 #include <stdlib.h>
15783 #include <stddef.h>
15785 #if HAVE_NETINET_IN_H
15786 #include <netinet/in.h>
15796 rm -f conftest.
$ac_objext
15797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15798 (eval $ac_compile) 2>conftest.er1
15800 grep -v '^ *+' conftest.er1
>conftest.err
15802 cat conftest.err
>&5
15803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15804 (exit $ac_status); } &&
15805 { ac_try
='test -z "$ac_c_werror_flag"
15806 || test ! -s conftest.err'
15807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15808 (eval $ac_try) 2>&5
15810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15811 (exit $ac_status); }; } &&
15812 { ac_try
='test -s conftest.$ac_objext'
15813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15814 (eval $ac_try) 2>&5
15816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817 (exit $ac_status); }; }; then
15819 cat >>confdefs.h
<<\_ACEOF
15820 #define HAVE_IN_ADDR_T 1
15823 echo "$as_me:$LINENO: result: yes" >&5
15824 echo "${ECHO_T}yes" >&6
15826 echo "$as_me: failed program was:" >&5
15827 sed 's/^/| /' conftest.
$ac_ext >&5
15829 echo "$as_me:$LINENO: result: no" >&5
15830 echo "${ECHO_T}no" >&6
15832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15834 echo "$as_me:$LINENO: checking whether struct ip_mreq is in netinet/in.h" >&5
15835 echo $ECHO_N "checking whether struct ip_mreq is in netinet/in.h... $ECHO_C" >&6
15836 cat >conftest.
$ac_ext <<_ACEOF
15839 cat confdefs.h
>>conftest.
$ac_ext
15840 cat >>conftest.
$ac_ext <<_ACEOF
15841 /* end confdefs.h. */
15842 #include <netinet/in.h>
15846 struct ip_mreq mreq;
15851 rm -f conftest.
$ac_objext
15852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15853 (eval $ac_compile) 2>conftest.er1
15855 grep -v '^ *+' conftest.er1
>conftest.err
15857 cat conftest.err
>&5
15858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15859 (exit $ac_status); } &&
15860 { ac_try
='test -z "$ac_c_werror_flag"
15861 || test ! -s conftest.err'
15862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15863 (eval $ac_try) 2>&5
15865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15866 (exit $ac_status); }; } &&
15867 { ac_try
='test -s conftest.$ac_objext'
15868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15869 (eval $ac_try) 2>&5
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); }; }; then
15874 cat >>confdefs.h
<<\_ACEOF
15875 #define HAVE_STRUCT_IP_MREQ 1
15878 echo "$as_me:$LINENO: result: yes" >&5
15879 echo "${ECHO_T}yes" >&6
15881 echo "$as_me: failed program was:" >&5
15882 sed 's/^/| /' conftest.
$ac_ext >&5
15884 echo "$as_me:$LINENO: result: no" >&5
15885 echo "${ECHO_T}no" >&6
15887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15889 echo "$as_me:$LINENO: checking whether struct ipv6_mreq is in netinet/in.h" >&5
15890 echo $ECHO_N "checking whether struct ipv6_mreq is in netinet/in.h... $ECHO_C" >&6
15891 cat >conftest.
$ac_ext <<_ACEOF
15894 cat confdefs.h
>>conftest.
$ac_ext
15895 cat >>conftest.
$ac_ext <<_ACEOF
15896 /* end confdefs.h. */
15897 #include <netinet/in.h>
15901 struct ipv6_mreq mreq6;
15906 rm -f conftest.
$ac_objext
15907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15908 (eval $ac_compile) 2>conftest.er1
15910 grep -v '^ *+' conftest.er1
>conftest.err
15912 cat conftest.err
>&5
15913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15914 (exit $ac_status); } &&
15915 { ac_try
='test -z "$ac_c_werror_flag"
15916 || test ! -s conftest.err'
15917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15918 (eval $ac_try) 2>&5
15920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15921 (exit $ac_status); }; } &&
15922 { ac_try
='test -s conftest.$ac_objext'
15923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15924 (eval $ac_try) 2>&5
15926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15927 (exit $ac_status); }; }; then
15929 cat >>confdefs.h
<<\_ACEOF
15930 #define HAVE_STRUCT_IPV6_MREQ 1
15933 echo "$as_me:$LINENO: result: yes" >&5
15934 echo "${ECHO_T}yes" >&6
15936 echo "$as_me: failed program was:" >&5
15937 sed 's/^/| /' conftest.
$ac_ext >&5
15939 echo "$as_me:$LINENO: result: no" >&5
15940 echo "${ECHO_T}no" >&6
15942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15944 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
15945 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
15946 cat >conftest.
$ac_ext <<_ACEOF
15949 cat confdefs.h
>>conftest.
$ac_ext
15950 cat >>conftest.
$ac_ext <<_ACEOF
15951 /* end confdefs.h. */
15952 #include <netinet/in.h>
15956 struct sockaddr_in6 addr6;
15961 rm -f conftest.
$ac_objext
15962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15963 (eval $ac_compile) 2>conftest.er1
15965 grep -v '^ *+' conftest.er1
>conftest.err
15967 cat conftest.err
>&5
15968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15969 (exit $ac_status); } &&
15970 { ac_try
='test -z "$ac_c_werror_flag"
15971 || test ! -s conftest.err'
15972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15973 (eval $ac_try) 2>&5
15975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15976 (exit $ac_status); }; } &&
15977 { ac_try
='test -s conftest.$ac_objext'
15978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15979 (eval $ac_try) 2>&5
15981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15982 (exit $ac_status); }; }; then
15984 cat >>confdefs.h
<<\_ACEOF
15985 #define HAVE_INET6 1
15988 echo "$as_me:$LINENO: result: yes" >&5
15989 echo "${ECHO_T}yes" >&6
15991 echo "$as_me: failed program was:" >&5
15992 sed 's/^/| /' conftest.
$ac_ext >&5
15994 echo "$as_me:$LINENO: result: no" >&5
15995 echo "${ECHO_T}no" >&6
15997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15999 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
16000 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
16001 cat >conftest.
$ac_ext <<_ACEOF
16004 cat confdefs.h
>>conftest.
$ac_ext
16005 cat >>conftest.
$ac_ext <<_ACEOF
16006 /* end confdefs.h. */
16007 #define _POSIX_PII_SOCKET
16008 #include <sys/types.h>
16009 #include <sys/socket.h>
16018 rm -f conftest.
$ac_objext
16019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16020 (eval $ac_compile) 2>conftest.er1
16022 grep -v '^ *+' conftest.er1
>conftest.err
16024 cat conftest.err
>&5
16025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16026 (exit $ac_status); } &&
16027 { ac_try
='test -z "$ac_c_werror_flag"
16028 || test ! -s conftest.err'
16029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16030 (eval $ac_try) 2>&5
16032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033 (exit $ac_status); }; } &&
16034 { ac_try
='test -s conftest.$ac_objext'
16035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16036 (eval $ac_try) 2>&5
16038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16039 (exit $ac_status); }; }; then
16041 cat >>confdefs.h
<<\_ACEOF
16042 #define HAVE_SOCKLEN_T 1
16045 echo "$as_me:$LINENO: result: yes" >&5
16046 echo "${ECHO_T}yes" >&6
16048 echo "$as_me: failed program was:" >&5
16049 sed 's/^/| /' conftest.
$ac_ext >&5
16051 echo "$as_me:$LINENO: result: no" >&5
16052 echo "${ECHO_T}no" >&6
16054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16056 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
16057 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
16058 cat >conftest.
$ac_ext <<_ACEOF
16061 cat confdefs.h
>>conftest.
$ac_ext
16062 cat >>conftest.
$ac_ext <<_ACEOF
16063 /* end confdefs.h. */
16068 struct tm tim; tim.tm_gmtoff = 0;
16073 rm -f conftest.
$ac_objext
16074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16075 (eval $ac_compile) 2>conftest.er1
16077 grep -v '^ *+' conftest.er1
>conftest.err
16079 cat conftest.err
>&5
16080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16081 (exit $ac_status); } &&
16082 { ac_try
='test -z "$ac_c_werror_flag"
16083 || test ! -s conftest.err'
16084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16085 (eval $ac_try) 2>&5
16087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16088 (exit $ac_status); }; } &&
16089 { ac_try
='test -s conftest.$ac_objext'
16090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16091 (eval $ac_try) 2>&5
16093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16094 (exit $ac_status); }; }; then
16096 cat >>confdefs.h
<<\_ACEOF
16097 #define STRUCT_TM_HAS_GMTOFF 1
16100 echo "$as_me:$LINENO: result: yes" >&5
16101 echo "${ECHO_T}yes" >&6
16103 echo "$as_me: failed program was:" >&5
16104 sed 's/^/| /' conftest.
$ac_ext >&5
16106 echo "$as_me:$LINENO: result: no" >&5
16107 echo "${ECHO_T}no" >&6
16108 echo "$as_me:$LINENO: checking for global timezone variable" >&5
16109 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
16110 cat >conftest.
$ac_ext <<_ACEOF
16113 cat confdefs.h
>>conftest.
$ac_ext
16114 cat >>conftest.
$ac_ext <<_ACEOF
16115 /* end confdefs.h. */
16120 void i(){long z2 = 2*timezone;}
16125 rm -f conftest.
$ac_objext
16126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16127 (eval $ac_compile) 2>conftest.er1
16129 grep -v '^ *+' conftest.er1
>conftest.err
16131 cat conftest.err
>&5
16132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16133 (exit $ac_status); } &&
16134 { ac_try
='test -z "$ac_c_werror_flag"
16135 || test ! -s conftest.err'
16136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16137 (eval $ac_try) 2>&5
16139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16140 (exit $ac_status); }; } &&
16141 { ac_try
='test -s conftest.$ac_objext'
16142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16143 (eval $ac_try) 2>&5
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); }; }; then
16148 cat >>confdefs.h
<<\_ACEOF
16149 #define HAVE_TIMEZONE 1
16152 echo "$as_me:$LINENO: result: yes" >&5
16153 echo "${ECHO_T}yes" >&6
16155 echo "$as_me: failed program was:" >&5
16156 sed 's/^/| /' conftest.
$ac_ext >&5
16158 echo "$as_me:$LINENO: result: no" >&5
16159 echo "${ECHO_T}no" >&6
16160 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
16161 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
16162 cat >conftest.
$ac_ext <<_ACEOF
16165 cat confdefs.h
>>conftest.
$ac_ext
16166 cat >>conftest.
$ac_ext <<_ACEOF
16167 /* end confdefs.h. */
16172 long z2 = _timezone;
16177 rm -f conftest.
$ac_objext
16178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16179 (eval $ac_compile) 2>conftest.er1
16181 grep -v '^ *+' conftest.er1
>conftest.err
16183 cat conftest.err
>&5
16184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16185 (exit $ac_status); } &&
16186 { ac_try
='test -z "$ac_c_werror_flag"
16187 || test ! -s conftest.err'
16188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16189 (eval $ac_try) 2>&5
16191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16192 (exit $ac_status); }; } &&
16193 { ac_try
='test -s conftest.$ac_objext'
16194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16195 (eval $ac_try) 2>&5
16197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16198 (exit $ac_status); }; }; then
16200 cat >>confdefs.h
<<\_ACEOF
16201 #define HAVE_UNDERSCORE_TIMEZONE 1
16204 echo "$as_me:$LINENO: result: yes" >&5
16205 echo "${ECHO_T}yes" >&6
16207 echo "$as_me: failed program was:" >&5
16208 sed 's/^/| /' conftest.
$ac_ext >&5
16210 echo "$as_me:$LINENO: result: no" >&5
16211 echo "${ECHO_T}no" >&6
16213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16219 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
16220 # for constant arguments. Useless!
16221 echo "$as_me:$LINENO: checking for working alloca.h" >&5
16222 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
16223 if test "${ac_cv_working_alloca_h+set}" = set; then
16224 echo $ECHO_N "(cached) $ECHO_C" >&6
16226 if test x
$gcc_no_link = xyes
; then
16227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16229 { (exit 1); exit 1; }; }
16231 cat >conftest.
$ac_ext <<_ACEOF
16234 cat confdefs.h
>>conftest.
$ac_ext
16235 cat >>conftest.
$ac_ext <<_ACEOF
16236 /* end confdefs.h. */
16237 #include <alloca.h>
16241 char *p = (char *) alloca (2 * sizeof (int));
16246 rm -f conftest.
$ac_objext conftest
$ac_exeext
16247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16248 (eval $ac_link) 2>conftest.er1
16250 grep -v '^ *+' conftest.er1
>conftest.err
16252 cat conftest.err
>&5
16253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254 (exit $ac_status); } &&
16255 { ac_try
='test -z "$ac_c_werror_flag"
16256 || test ! -s conftest.err'
16257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16258 (eval $ac_try) 2>&5
16260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16261 (exit $ac_status); }; } &&
16262 { ac_try
='test -s conftest$ac_exeext'
16263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16264 (eval $ac_try) 2>&5
16266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16267 (exit $ac_status); }; }; then
16268 ac_cv_working_alloca_h
=yes
16270 echo "$as_me: failed program was:" >&5
16271 sed 's/^/| /' conftest.
$ac_ext >&5
16273 ac_cv_working_alloca_h
=no
16275 rm -f conftest.err conftest.
$ac_objext \
16276 conftest
$ac_exeext conftest.
$ac_ext
16278 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
16279 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
16280 if test $ac_cv_working_alloca_h = yes; then
16282 cat >>confdefs.h
<<\_ACEOF
16283 #define HAVE_ALLOCA_H 1
16288 echo "$as_me:$LINENO: checking for alloca" >&5
16289 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
16290 if test "${ac_cv_func_alloca_works+set}" = set; then
16291 echo $ECHO_N "(cached) $ECHO_C" >&6
16293 if test x
$gcc_no_link = xyes
; then
16294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16296 { (exit 1); exit 1; }; }
16298 cat >conftest.
$ac_ext <<_ACEOF
16301 cat confdefs.h
>>conftest.
$ac_ext
16302 cat >>conftest.
$ac_ext <<_ACEOF
16303 /* end confdefs.h. */
16305 # define alloca __builtin_alloca
16308 # include <malloc.h>
16309 # define alloca _alloca
16312 # include <alloca.h>
16317 # ifndef alloca /* predefined by HP cc +Olibcalls */
16328 char *p = (char *) alloca (1);
16333 rm -f conftest.
$ac_objext conftest
$ac_exeext
16334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16335 (eval $ac_link) 2>conftest.er1
16337 grep -v '^ *+' conftest.er1
>conftest.err
16339 cat conftest.err
>&5
16340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16341 (exit $ac_status); } &&
16342 { ac_try
='test -z "$ac_c_werror_flag"
16343 || test ! -s conftest.err'
16344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16345 (eval $ac_try) 2>&5
16347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16348 (exit $ac_status); }; } &&
16349 { ac_try
='test -s conftest$ac_exeext'
16350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16351 (eval $ac_try) 2>&5
16353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16354 (exit $ac_status); }; }; then
16355 ac_cv_func_alloca_works
=yes
16357 echo "$as_me: failed program was:" >&5
16358 sed 's/^/| /' conftest.
$ac_ext >&5
16360 ac_cv_func_alloca_works
=no
16362 rm -f conftest.err conftest.
$ac_objext \
16363 conftest
$ac_exeext conftest.
$ac_ext
16365 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
16366 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
16368 if test $ac_cv_func_alloca_works = yes; then
16370 cat >>confdefs.h
<<\_ACEOF
16371 #define HAVE_ALLOCA 1
16375 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
16376 # that cause trouble. Some versions do not even contain alloca or
16377 # contain a buggy version. If you still want to use their alloca,
16378 # use ar to extract alloca.o from them instead of compiling alloca.c.
16380 ALLOCA
=alloca.
$ac_objext
16382 cat >>confdefs.h
<<\_ACEOF
16387 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
16388 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
16389 if test "${ac_cv_os_cray+set}" = set; then
16390 echo $ECHO_N "(cached) $ECHO_C" >&6
16392 cat >conftest.
$ac_ext <<_ACEOF
16395 cat confdefs.h
>>conftest.
$ac_ext
16396 cat >>conftest.
$ac_ext <<_ACEOF
16397 /* end confdefs.h. */
16398 #if defined(CRAY) && ! defined(CRAY2)
16405 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16406 $EGREP "webecray" >/dev
/null
2>&1; then
16414 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
16415 echo "${ECHO_T}$ac_cv_os_cray" >&6
16416 if test $ac_cv_os_cray = yes; then
16417 for ac_func
in _getb67 GETB67 getb67
; do
16418 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16419 echo "$as_me:$LINENO: checking for $ac_func" >&5
16420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16421 if eval "test \"\${$as_ac_var+set}\" = set"; then
16422 echo $ECHO_N "(cached) $ECHO_C" >&6
16424 if test x
$gcc_no_link = xyes
; then
16425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16427 { (exit 1); exit 1; }; }
16429 cat >conftest.
$ac_ext <<_ACEOF
16432 cat confdefs.h
>>conftest.
$ac_ext
16433 cat >>conftest.
$ac_ext <<_ACEOF
16434 /* end confdefs.h. */
16435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16437 #define $ac_func innocuous_$ac_func
16439 /* System header to define __stub macros and hopefully few prototypes,
16440 which can conflict with char $ac_func (); below.
16441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16442 <limits.h> exists even on freestanding compilers. */
16445 # include <limits.h>
16447 # include <assert.h>
16452 /* Override any gcc2 internal prototype to avoid an error. */
16457 /* We use char because int might match the return type of a gcc2
16458 builtin and then its argument prototype would still apply. */
16460 /* The GNU C library defines this for functions which it implements
16461 to always fail with ENOSYS. Some functions are actually named
16462 something starting with __ and the normal name is an alias. */
16463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16466 char (*f) () = $ac_func;
16475 return f != $ac_func;
16480 rm -f conftest.
$ac_objext conftest
$ac_exeext
16481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16482 (eval $ac_link) 2>conftest.er1
16484 grep -v '^ *+' conftest.er1
>conftest.err
16486 cat conftest.err
>&5
16487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488 (exit $ac_status); } &&
16489 { ac_try
='test -z "$ac_c_werror_flag"
16490 || test ! -s conftest.err'
16491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16492 (eval $ac_try) 2>&5
16494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16495 (exit $ac_status); }; } &&
16496 { ac_try
='test -s conftest$ac_exeext'
16497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16498 (eval $ac_try) 2>&5
16500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501 (exit $ac_status); }; }; then
16502 eval "$as_ac_var=yes"
16504 echo "$as_me: failed program was:" >&5
16505 sed 's/^/| /' conftest.
$ac_ext >&5
16507 eval "$as_ac_var=no"
16509 rm -f conftest.err conftest.
$ac_objext \
16510 conftest
$ac_exeext conftest.
$ac_ext
16512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16514 if test `eval echo '${'$as_ac_var'}'` = yes; then
16516 cat >>confdefs.h
<<_ACEOF
16517 #define CRAY_STACKSEG_END $ac_func
16526 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
16527 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
16528 if test "${ac_cv_c_stack_direction+set}" = set; then
16529 echo $ECHO_N "(cached) $ECHO_C" >&6
16531 if test "$cross_compiling" = yes; then
16532 ac_cv_c_stack_direction
=0
16534 cat >conftest.
$ac_ext <<_ACEOF
16537 cat confdefs.h
>>conftest.
$ac_ext
16538 cat >>conftest.
$ac_ext <<_ACEOF
16539 /* end confdefs.h. */
16541 find_stack_direction ()
16543 static char *addr = 0;
16548 return find_stack_direction ();
16551 return (&dummy > addr) ? 1 : -1;
16557 exit (find_stack_direction () < 0);
16560 rm -f conftest
$ac_exeext
16561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16562 (eval $ac_link) 2>&5
16564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16567 (eval $ac_try) 2>&5
16569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16570 (exit $ac_status); }; }; then
16571 ac_cv_c_stack_direction
=1
16573 echo "$as_me: program exited with status $ac_status" >&5
16574 echo "$as_me: failed program was:" >&5
16575 sed 's/^/| /' conftest.
$ac_ext >&5
16577 ( exit $ac_status )
16578 ac_cv_c_stack_direction
=-1
16580 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16583 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
16584 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
16586 cat >>confdefs.h
<<_ACEOF
16587 #define STACK_DIRECTION $ac_cv_c_stack_direction
16594 for ac_prog
in perl
16596 # Extract the first word of "$ac_prog", so it can be a program name with args.
16597 set dummy
$ac_prog; ac_word
=$2
16598 echo "$as_me:$LINENO: checking for $ac_word" >&5
16599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16600 if test "${ac_cv_prog_PERL+set}" = set; then
16601 echo $ECHO_N "(cached) $ECHO_C" >&6
16603 if test -n "$PERL"; then
16604 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
16606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16607 for as_dir
in $PATH
16610 test -z "$as_dir" && as_dir
=.
16611 for ac_exec_ext
in '' $ac_executable_extensions; do
16612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16613 ac_cv_prog_PERL
="$ac_prog"
16614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16622 PERL
=$ac_cv_prog_PERL
16623 if test -n "$PERL"; then
16624 echo "$as_me:$LINENO: result: $PERL" >&5
16625 echo "${ECHO_T}$PERL" >&6
16627 echo "$as_me:$LINENO: result: no" >&5
16628 echo "${ECHO_T}no" >&6
16631 test -n "$PERL" && break
16633 test -n "$PERL" || PERL
="false"
16637 SIGNAL_HANDLER_AUX
=
16641 SIGNAL_HANDLER
=include
/i386-signal.h
16643 sparc
*-sun-solaris*)
16644 SIGNAL_HANDLER
=include
/sparc-signal.h
16647 # SYSDEP_SOURCES=sysdep/ia64.c
16648 # test -d sysdep || mkdir sysdep
16651 SIGNAL_HANDLER
=include
/pa-signal.h
16654 SIGNAL_HANDLER
=include
/hppa-signal.h
16657 SIGNAL_HANDLER
=include
/dwarf2-signal.h
16660 SIGNAL_HANDLER
=include
/powerpc-signal.h
16663 SIGNAL_HANDLER
=include
/dwarf2-signal.h
16666 SIGNAL_HANDLER
=include
/s390-signal.h
16669 SIGNAL_HANDLER
=include
/x86_64-signal.h
16670 SIGNAL_HANDLER_AUX
=include
/i386-signal.h
16673 SIGNAL_HANDLER
=include
/dwarf2-signal.h
16676 SIGNAL_HANDLER
=include
/sh-signal.h
16679 SIGNAL_HANDLER
=include
/win32-signal.h
16682 SIGNAL_HANDLER
=include
/mips-signal.h
16684 powerpc
*-*-darwin*)
16685 SIGNAL_HANDLER
=include
/darwin-signal.h
16688 SIGNAL_HANDLER
=include
/default-signal.h
16692 # If we're using sjlj exceptions, forget what we just learned.
16693 if test "$enable_sjlj_exceptions" = yes; then
16694 SIGNAL_HANDLER
=include
/default-signal.h
16695 SIGNAL_HANDLER_AUX
=
16700 if test -z "$SIGNAL_HANDLER_AUX"; then
16701 SIGNAL_HANDLER_AUX
=$SIGNAL_HANDLER
16704 ac_config_links
="$ac_config_links include/java-signal.h:$SIGNAL_HANDLER include/java-signal-aux.h:$SIGNAL_HANDLER_AUX"
16707 if test "${multilib}" = "yes"; then
16708 multilib_arg
="--enable-multilib"
16713 # See if we support thread-local storage.
16715 # Check whether --enable-tls or --disable-tls was given.
16716 if test "${enable_tls+set}" = set; then
16717 enableval
="$enable_tls"
16719 case "$enableval" in
16721 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
16722 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
16723 { (exit 1); exit 1; }; } ;;
16730 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
16731 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
16732 if test "${have_tls+set}" = set; then
16733 echo $ECHO_N "(cached) $ECHO_C" >&6
16736 if test "$cross_compiling" = yes; then
16737 if test x
$gcc_no_link = xyes
; then
16738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16740 { (exit 1); exit 1; }; }
16742 cat >conftest.
$ac_ext <<_ACEOF
16743 __thread int a; int b; int main() { return a = b; }
16745 rm -f conftest.
$ac_objext conftest
$ac_exeext
16746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16747 (eval $ac_link) 2>conftest.er1
16749 grep -v '^ *+' conftest.er1
>conftest.err
16751 cat conftest.err
>&5
16752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16753 (exit $ac_status); } &&
16754 { ac_try
='test -z "$ac_c_werror_flag"
16755 || test ! -s conftest.err'
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); }; } &&
16761 { ac_try
='test -s conftest$ac_exeext'
16762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16763 (eval $ac_try) 2>&5
16765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16766 (exit $ac_status); }; }; then
16769 echo "$as_me: failed program was:" >&5
16770 sed 's/^/| /' conftest.
$ac_ext >&5
16774 rm -f conftest.err conftest.
$ac_objext \
16775 conftest
$ac_exeext conftest.
$ac_ext
16778 cat >conftest.
$ac_ext <<_ACEOF
16779 __thread int a; int b; int main() { return a = b; }
16781 rm -f conftest
$ac_exeext
16782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16783 (eval $ac_link) 2>&5
16785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16786 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16788 (eval $ac_try) 2>&5
16790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791 (exit $ac_status); }; }; then
16792 save_LDFLAGS
="$LDFLAGS"
16793 LDFLAGS
="-static $LDFLAGS"
16794 if test x
$gcc_no_link = xyes
; then
16795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16797 { (exit 1); exit 1; }; }
16799 cat >conftest.
$ac_ext <<_ACEOF
16800 int main() { return 0; }
16802 rm -f conftest.
$ac_objext conftest
$ac_exeext
16803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16804 (eval $ac_link) 2>conftest.er1
16806 grep -v '^ *+' conftest.er1
>conftest.err
16808 cat conftest.err
>&5
16809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16810 (exit $ac_status); } &&
16811 { ac_try
='test -z "$ac_c_werror_flag"
16812 || test ! -s conftest.err'
16813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16814 (eval $ac_try) 2>&5
16816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16817 (exit $ac_status); }; } &&
16818 { ac_try
='test -s conftest$ac_exeext'
16819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16820 (eval $ac_try) 2>&5
16822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16823 (exit $ac_status); }; }; then
16824 if test "$cross_compiling" = yes; then
16825 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16826 See \`config.log' for more details." >&5
16827 echo "$as_me: error: cannot run test program while cross compiling
16828 See \`config.log' for more details." >&2;}
16829 { (exit 1); exit 1; }; }
16831 cat >conftest.
$ac_ext <<_ACEOF
16832 __thread int a; int b; int main() { return a = b; }
16834 rm -f conftest
$ac_exeext
16835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16836 (eval $ac_link) 2>&5
16838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16839 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16841 (eval $ac_try) 2>&5
16843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16844 (exit $ac_status); }; }; then
16847 echo "$as_me: program exited with status $ac_status" >&5
16848 echo "$as_me: failed program was:" >&5
16849 sed 's/^/| /' conftest.
$ac_ext >&5
16851 ( exit $ac_status )
16854 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16857 echo "$as_me: failed program was:" >&5
16858 sed 's/^/| /' conftest.
$ac_ext >&5
16862 rm -f conftest.err conftest.
$ac_objext \
16863 conftest
$ac_exeext conftest.
$ac_ext
16864 LDFLAGS
="$save_LDFLAGS"
16866 echo "$as_me: program exited with status $ac_status" >&5
16867 echo "$as_me: failed program was:" >&5
16868 sed 's/^/| /' conftest.
$ac_ext >&5
16870 ( exit $ac_status )
16873 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16876 echo "$as_me:$LINENO: result: $have_tls" >&5
16877 echo "${ECHO_T}$have_tls" >&6
16878 if test "$enable_tls $have_tls" = "yes yes"; then
16880 cat >>confdefs.h
<<\_ACEOF
16886 # For _Unwind_GetIPInfo.
16891 ac_cpp
='$CXXCPP $CPPFLAGS'
16892 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16893 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16894 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16896 ac_save_CXXFLAGS
="$CXXFLAGS"
16897 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
16898 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
16899 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
16900 if test "${gcc_cv_getipinfo+set}" = set; then
16901 echo $ECHO_N "(cached) $ECHO_C" >&6
16904 if test x
$gcc_no_link = xyes
; then
16905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16907 { (exit 1); exit 1; }; }
16909 cat >conftest.
$ac_ext <<_ACEOF
16912 cat confdefs.h
>>conftest.
$ac_ext
16913 cat >>conftest.
$ac_ext <<_ACEOF
16914 /* end confdefs.h. */
16915 extern "C" { extern void _Unwind_GetIPInfo(); }
16919 _Unwind_GetIPInfo();
16924 rm -f conftest.
$ac_objext conftest
$ac_exeext
16925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16926 (eval $ac_link) 2>conftest.er1
16928 grep -v '^ *+' conftest.er1
>conftest.err
16930 cat conftest.err
>&5
16931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16932 (exit $ac_status); } &&
16933 { ac_try
='test -z "$ac_cxx_werror_flag"
16934 || test ! -s conftest.err'
16935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16936 (eval $ac_try) 2>&5
16938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16939 (exit $ac_status); }; } &&
16940 { ac_try
='test -s conftest$ac_exeext'
16941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16942 (eval $ac_try) 2>&5
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); }; }; then
16946 gcc_cv_getipinfo
=yes
16948 echo "$as_me: failed program was:" >&5
16949 sed 's/^/| /' conftest.
$ac_ext >&5
16951 gcc_cv_getipinfo
=no
16953 rm -f conftest.err conftest.
$ac_objext \
16954 conftest
$ac_exeext conftest.
$ac_ext
16958 if test $gcc_cv_getipinfo = yes; then
16960 cat >>confdefs.h
<<\_ACEOF
16961 #define HAVE_GETIPINFO 1
16965 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
16966 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
16967 CXXFLAGS
="$ac_save_CXXFLAGS"
16969 ac_cpp
='$CPP $CPPFLAGS'
16970 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16971 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16972 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16976 # Check if linker supports static linking on a per library basis
16977 LD_START_STATIC_SPEC
=
16978 LD_FINISH_STATIC_SPEC
=
16979 if $LD --help 2>&1 |
grep -q -e -call_shared ; then
16980 if $LD --help 2>&1 |
grep -q -e -non_shared ; then
16981 LD_START_STATIC_SPEC
='%{static-libgcj:-non_shared}'
16982 LD_FINISH_STATIC_SPEC
='%{static-libgcj:-call_shared}'
16988 here
=`${PWDCMD-pwd}`
16991 # We get this from the environment.
16994 ac_config_files
="$ac_config_files Makefile libgcj.pc libgcj.spec libgcj-test.spec gcj/Makefile include/Makefile testsuite/Makefile"
16997 ac_config_files
="$ac_config_files scripts/jar"
17000 ac_config_commands
="$ac_config_commands default"
17003 cat >confcache
<<\_ACEOF
17004 # This file is a shell script that caches the results of configure
17005 # tests run on this system so they can be shared between configure
17006 # scripts and configure runs, see configure's option --config-cache.
17007 # It is not useful on other systems. If it contains results you don't
17008 # want to keep, you may remove or edit it.
17010 # config.status only pays attention to the cache file if you give it
17011 # the --recheck option to rerun configure.
17013 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17014 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17015 # following values.
17019 # The following way of writing the cache mishandles newlines in values,
17020 # but we know of no workaround that is simple, portable, and efficient.
17021 # So, don't put newlines in cache variables' values.
17022 # Ultrix sh set writes to stderr and can't be redirected directly,
17023 # and sets the high bit in the cache file unless we assign to the vars.
17026 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17028 # `set' does not quote correctly, so add quotes (double-quote
17029 # substitution turns \\\\ into \\, and sed turns \\ into \).
17032 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17035 # `set' quotes correctly as required by POSIX, so do not add quotes.
17037 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17044 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17046 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17048 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
17049 if test -w $cache_file; then
17050 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17051 cat confcache
>$cache_file
17053 echo "not updating unwritable cache $cache_file"
17058 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17059 # Let make expand exec_prefix.
17060 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17062 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17063 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
17064 # trailing colons and then remove the whole line if VPATH becomes empty
17065 # (actually we leave an empty line to preserve line numbers).
17066 if test "x$srcdir" = x.
; then
17067 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
17068 s/:*\$(srcdir):*/:/;
17069 s/:*\${srcdir}:*/:/;
17071 s/^\([^=]*=[ ]*\):*/\1/;
17077 DEFS
=-DHAVE_CONFIG_H
17081 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17082 # 1. Remove the extension, and $U if already installed.
17083 ac_i
=`echo "$ac_i" |
17084 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
17086 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
17087 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
17089 LIBOBJS
=$ac_libobjs
17091 LTLIBOBJS
=$ac_ltlibobjs
17094 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
17095 { { echo "$as_me:$LINENO: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
17096 Usually this means the macro was only invoked conditionally." >&5
17097 echo "$as_me: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
17098 Usually this means the macro was only invoked conditionally." >&2;}
17099 { (exit 1); exit 1; }; }
17101 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17102 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
17103 Usually this means the macro was only invoked conditionally." >&5
17104 echo "$as_me: error: conditional \"AMDEP\" was never defined.
17105 Usually this means the macro was only invoked conditionally." >&2;}
17106 { (exit 1); exit 1; }; }
17108 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17109 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17110 Usually this means the macro was only invoked conditionally." >&5
17111 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17112 Usually this means the macro was only invoked conditionally." >&2;}
17113 { (exit 1); exit 1; }; }
17115 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17116 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
17117 Usually this means the macro was only invoked conditionally." >&5
17118 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
17119 Usually this means the macro was only invoked conditionally." >&2;}
17120 { (exit 1); exit 1; }; }
17122 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17123 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
17124 Usually this means the macro was only invoked conditionally." >&5
17125 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
17126 Usually this means the macro was only invoked conditionally." >&2;}
17127 { (exit 1); exit 1; }; }
17129 if test -z "${XLIB_AWT_TRUE}" && test -z "${XLIB_AWT_FALSE}"; then
17130 { { echo "$as_me:$LINENO: error: conditional \"XLIB_AWT\" was never defined.
17131 Usually this means the macro was only invoked conditionally." >&5
17132 echo "$as_me: error: conditional \"XLIB_AWT\" was never defined.
17133 Usually this means the macro was only invoked conditionally." >&2;}
17134 { (exit 1); exit 1; }; }
17136 if test -z "${X_AWT_TRUE}" && test -z "${X_AWT_FALSE}"; then
17137 { { echo "$as_me:$LINENO: error: conditional \"X_AWT\" was never defined.
17138 Usually this means the macro was only invoked conditionally." >&5
17139 echo "$as_me: error: conditional \"X_AWT\" was never defined.
17140 Usually this means the macro was only invoked conditionally." >&2;}
17141 { (exit 1); exit 1; }; }
17143 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
17144 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
17145 Usually this means the macro was only invoked conditionally." >&5
17146 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
17147 Usually this means the macro was only invoked conditionally." >&2;}
17148 { (exit 1); exit 1; }; }
17150 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
17151 { { echo "$as_me:$LINENO: error: conditional \"TESTSUBDIR\" was never defined.
17152 Usually this means the macro was only invoked conditionally." >&5
17153 echo "$as_me: error: conditional \"TESTSUBDIR\" was never defined.
17154 Usually this means the macro was only invoked conditionally." >&2;}
17155 { (exit 1); exit 1; }; }
17157 if test -z "${BUILD_ECJ1_TRUE}" && test -z "${BUILD_ECJ1_FALSE}"; then
17158 { { echo "$as_me:$LINENO: error: conditional \"BUILD_ECJ1\" was never defined.
17159 Usually this means the macro was only invoked conditionally." >&5
17160 echo "$as_me: error: conditional \"BUILD_ECJ1\" was never defined.
17161 Usually this means the macro was only invoked conditionally." >&2;}
17162 { (exit 1); exit 1; }; }
17164 if test -z "${INSTALL_ECJ_JAR_TRUE}" && test -z "${INSTALL_ECJ_JAR_FALSE}"; then
17165 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_ECJ_JAR\" was never defined.
17166 Usually this means the macro was only invoked conditionally." >&5
17167 echo "$as_me: error: conditional \"INSTALL_ECJ_JAR\" was never defined.
17168 Usually this means the macro was only invoked conditionally." >&2;}
17169 { (exit 1); exit 1; }; }
17171 if test -z "${JAVA_HOME_SET_TRUE}" && test -z "${JAVA_HOME_SET_FALSE}"; then
17172 { { echo "$as_me:$LINENO: error: conditional \"JAVA_HOME_SET\" was never defined.
17173 Usually this means the macro was only invoked conditionally." >&5
17174 echo "$as_me: error: conditional \"JAVA_HOME_SET\" was never defined.
17175 Usually this means the macro was only invoked conditionally." >&2;}
17176 { (exit 1); exit 1; }; }
17178 if test -z "${USING_WIN32_PLATFORM_TRUE}" && test -z "${USING_WIN32_PLATFORM_FALSE}"; then
17179 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
17180 Usually this means the macro was only invoked conditionally." >&5
17181 echo "$as_me: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
17182 Usually this means the macro was only invoked conditionally." >&2;}
17183 { (exit 1); exit 1; }; }
17185 if test -z "${USING_POSIX_PLATFORM_TRUE}" && test -z "${USING_POSIX_PLATFORM_FALSE}"; then
17186 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
17187 Usually this means the macro was only invoked conditionally." >&5
17188 echo "$as_me: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
17189 Usually this means the macro was only invoked conditionally." >&2;}
17190 { (exit 1); exit 1; }; }
17192 if test -z "${USING_DARWIN_CRT_TRUE}" && test -z "${USING_DARWIN_CRT_FALSE}"; then
17193 { { echo "$as_me:$LINENO: error: conditional \"USING_DARWIN_CRT\" was never defined.
17194 Usually this means the macro was only invoked conditionally." >&5
17195 echo "$as_me: error: conditional \"USING_DARWIN_CRT\" was never defined.
17196 Usually this means the macro was only invoked conditionally." >&2;}
17197 { (exit 1); exit 1; }; }
17199 if test -z "${USING_BOEHMGC_TRUE}" && test -z "${USING_BOEHMGC_FALSE}"; then
17200 { { echo "$as_me:$LINENO: error: conditional \"USING_BOEHMGC\" was never defined.
17201 Usually this means the macro was only invoked conditionally." >&5
17202 echo "$as_me: error: conditional \"USING_BOEHMGC\" was never defined.
17203 Usually this means the macro was only invoked conditionally." >&2;}
17204 { (exit 1); exit 1; }; }
17206 if test -z "${USING_NOGC_TRUE}" && test -z "${USING_NOGC_FALSE}"; then
17207 { { echo "$as_me:$LINENO: error: conditional \"USING_NOGC\" was never defined.
17208 Usually this means the macro was only invoked conditionally." >&5
17209 echo "$as_me: error: conditional \"USING_NOGC\" was never defined.
17210 Usually this means the macro was only invoked conditionally." >&2;}
17211 { (exit 1); exit 1; }; }
17213 if test -z "${USING_POSIX_THREADS_TRUE}" && test -z "${USING_POSIX_THREADS_FALSE}"; then
17214 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_THREADS\" was never defined.
17215 Usually this means the macro was only invoked conditionally." >&5
17216 echo "$as_me: error: conditional \"USING_POSIX_THREADS\" was never defined.
17217 Usually this means the macro was only invoked conditionally." >&2;}
17218 { (exit 1); exit 1; }; }
17220 if test -z "${USING_WIN32_THREADS_TRUE}" && test -z "${USING_WIN32_THREADS_FALSE}"; then
17221 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_THREADS\" was never defined.
17222 Usually this means the macro was only invoked conditionally." >&5
17223 echo "$as_me: error: conditional \"USING_WIN32_THREADS\" was never defined.
17224 Usually this means the macro was only invoked conditionally." >&2;}
17225 { (exit 1); exit 1; }; }
17227 if test -z "${USING_NO_THREADS_TRUE}" && test -z "${USING_NO_THREADS_FALSE}"; then
17228 { { echo "$as_me:$LINENO: error: conditional \"USING_NO_THREADS\" was never defined.
17229 Usually this means the macro was only invoked conditionally." >&5
17230 echo "$as_me: error: conditional \"USING_NO_THREADS\" was never defined.
17231 Usually this means the macro was only invoked conditionally." >&2;}
17232 { (exit 1); exit 1; }; }
17234 if test -z "${USE_LIBGCJ_BC_TRUE}" && test -z "${USE_LIBGCJ_BC_FALSE}"; then
17235 { { echo "$as_me:$LINENO: error: conditional \"USE_LIBGCJ_BC\" was never defined.
17236 Usually this means the macro was only invoked conditionally." >&5
17237 echo "$as_me: error: conditional \"USE_LIBGCJ_BC\" was never defined.
17238 Usually this means the macro was only invoked conditionally." >&2;}
17239 { (exit 1); exit 1; }; }
17241 if test -z "${USING_GCC_TRUE}" && test -z "${USING_GCC_FALSE}"; then
17242 { { echo "$as_me:$LINENO: error: conditional \"USING_GCC\" was never defined.
17243 Usually this means the macro was only invoked conditionally." >&5
17244 echo "$as_me: error: conditional \"USING_GCC\" was never defined.
17245 Usually this means the macro was only invoked conditionally." >&2;}
17246 { (exit 1); exit 1; }; }
17248 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
17249 { { echo "$as_me:$LINENO: error: conditional \"NATIVE\" was never defined.
17250 Usually this means the macro was only invoked conditionally." >&5
17251 echo "$as_me: error: conditional \"NATIVE\" was never defined.
17252 Usually this means the macro was only invoked conditionally." >&2;}
17253 { (exit 1); exit 1; }; }
17255 if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
17256 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SHARED\" was never defined.
17257 Usually this means the macro was only invoked conditionally." >&5
17258 echo "$as_me: error: conditional \"ENABLE_SHARED\" was never defined.
17259 Usually this means the macro was only invoked conditionally." >&2;}
17260 { (exit 1); exit 1; }; }
17262 if test -z "${NEEDS_DATA_START_TRUE}" && test -z "${NEEDS_DATA_START_FALSE}"; then
17263 { { echo "$as_me:$LINENO: error: conditional \"NEEDS_DATA_START\" was never defined.
17264 Usually this means the macro was only invoked conditionally." >&5
17265 echo "$as_me: error: conditional \"NEEDS_DATA_START\" was never defined.
17266 Usually this means the macro was only invoked conditionally." >&2;}
17267 { (exit 1); exit 1; }; }
17270 : ${CONFIG_STATUS=./config.status}
17271 ac_clean_files_save
=$ac_clean_files
17272 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17273 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
17274 echo "$as_me: creating $CONFIG_STATUS" >&6;}
17275 cat >$CONFIG_STATUS <<_ACEOF
17277 # Generated by $as_me.
17278 # Run this file to recreate the current configuration.
17279 # Compiler output produced by configure, useful for debugging
17280 # configure, is in config.log if it exists.
17283 ac_cs_recheck=false
17285 SHELL=\${CONFIG_SHELL-$SHELL}
17288 cat >>$CONFIG_STATUS <<\_ACEOF
17289 ## --------------------- ##
17290 ## M4sh Initialization. ##
17291 ## --------------------- ##
17293 # Be Bourne compatible
17294 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17297 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17298 # is contrary to our usage. Disable this feature.
17299 alias -g '${1+"$@"}'='"$@"'
17300 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
17303 DUALCASE
=1; export DUALCASE
# for MKS sh
17305 # Support unset when possible.
17306 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
17313 # Work around bugs in pre-3.0 UWIN ksh.
17314 $as_unset ENV MAIL MAILPATH
17321 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
17322 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
17323 LC_TELEPHONE LC_TIME
17325 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
17326 eval $as_var=C
; export $as_var
17332 # Required to use basename.
17333 if expr a
: '\(a\)' >/dev
/null
2>&1; then
17339 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
17340 as_basename
=basename
17346 # Name of the executable.
17347 as_me
=`$as_basename "$0" ||
17348 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17349 X"$0" : 'X\(//\)$' \| \
17350 X"$0" : 'X\(/\)$' \| \
17351 . : '\(.\)' 2>/dev/null ||
17353 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
17354 /^X\/\(\/\/\)$/{ s//\1/; q; }
17355 /^X\/\(\/\).*/{ s//\1/; q; }
17359 # PATH needs CR, and LINENO needs CR and PATH.
17360 # Avoid depending upon Character Ranges.
17361 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17362 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17363 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17364 as_cr_digits
='0123456789'
17365 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17367 # The user is always right.
17368 if test "${PATH_SEPARATOR+set}" != set; then
17369 echo "#! /bin/sh" >conf$$.sh
17370 echo "exit 0" >>conf$$.sh
17372 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
17381 as_lineno_1
=$LINENO
17382 as_lineno_2
=$LINENO
17383 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
17384 test "x$as_lineno_1" != "x$as_lineno_2" &&
17385 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
17386 # Find who we are. Look in the path if we contain no path at all
17389 *[\\/]* ) as_myself
=$0 ;;
17390 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17391 for as_dir
in $PATH
17394 test -z "$as_dir" && as_dir
=.
17395 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
17400 # We did not find ourselves, most probably we were run as `sh COMMAND'
17401 # in which case we are not to be found in the path.
17402 if test "x$as_myself" = x
; then
17405 if test ! -f "$as_myself"; then
17406 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
17407 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
17408 { (exit 1); exit 1; }; }
17410 case $CONFIG_SHELL in
17412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17413 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
17416 test -z "$as_dir" && as_dir
=.
17417 for as_base
in sh bash ksh sh5
; do
17420 if ("$as_dir/$as_base" -c '
17421 as_lineno_1=$LINENO
17422 as_lineno_2=$LINENO
17423 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
17424 test "x$as_lineno_1" != "x$as_lineno_2" &&
17425 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
17426 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
17427 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
17428 CONFIG_SHELL
=$as_dir/$as_base
17429 export CONFIG_SHELL
17430 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
17438 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17439 # uniformly replaced by the line number. The first 'sed' inserts a
17440 # line-number line before each line; the second 'sed' does the real
17441 # work. The second script uses 'N' to pair each line-number line
17442 # with the numbered line, and appends trailing '-' during
17443 # substitution so that $LINENO is not a special case at line end.
17444 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17445 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
17446 sed '=' <$as_myself |
17451 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
17454 s,^['$as_cr_digits']*\n,,
17455 ' >$as_me.lineno
&&
17456 chmod +x
$as_me.lineno ||
17457 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
17458 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
17459 { (exit 1); exit 1; }; }
17461 # Don't try to exec as it changes $[0], causing all sort of problems
17462 # (the dirname of $[0] is not the place where we might find the
17463 # original and so on. Autoconf is especially sensible to this).
17465 # Exit status is that of the last command.
17470 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
17471 *c
*,-n*) ECHO_N
= ECHO_C
='
17473 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
17474 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
17477 if expr a
: '\(a\)' >/dev
/null
2>&1; then
17483 rm -f conf$$ conf$$.exe conf$$.
file
17485 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17486 # We could just check for DJGPP; but this test a) works b) is more generic
17487 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
17488 if test -f conf$$.exe
; then
17489 # Don't use ln at all; we don't have any links
17494 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17499 rm -f conf$$ conf$$.exe conf$$.
file
17501 if mkdir
-p .
2>/dev
/null
; then
17504 test -d .
/-p && rmdir .
/-p
17508 as_executable_p
="test -f"
17510 # Sed expression to map a string onto a valid CPP name.
17511 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17513 # Sed expression to map a string onto a valid variable name.
17514 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17518 # We need space, tab and new line, in precisely that order.
17528 # Open the log real soon, to keep \$[0] and so on meaningful, and to
17529 # report actual input values of CONFIG_FILES etc. instead of their
17530 # values after options handling. Logging --version etc. is OK.
17534 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17535 ## Running $as_me. ##
17540 This file was extended by libjava $as_me version-unused, which was
17541 generated by GNU Autoconf 2.59. Invocation command line was
17543 CONFIG_FILES = $CONFIG_FILES
17544 CONFIG_HEADERS = $CONFIG_HEADERS
17545 CONFIG_LINKS = $CONFIG_LINKS
17546 CONFIG_COMMANDS = $CONFIG_COMMANDS
17550 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
17554 # Files that config.status was made for.
17555 if test -n "$ac_config_files"; then
17556 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
17559 if test -n "$ac_config_headers"; then
17560 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
17563 if test -n "$ac_config_links"; then
17564 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
17567 if test -n "$ac_config_commands"; then
17568 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
17571 cat >>$CONFIG_STATUS <<\_ACEOF
17574 \`$as_me' instantiates files from templates according to the
17575 current configuration.
17577 Usage: $0 [OPTIONS] [FILE]...
17579 -h, --help print this help, then exit
17580 -V, --version print version number, then exit
17581 -q, --quiet do not print progress messages
17582 -d, --debug don't remove temporary files
17583 --recheck update $as_me by reconfiguring in the same conditions
17584 --file=FILE[:TEMPLATE]
17585 instantiate the configuration file FILE
17586 --header=FILE[:TEMPLATE]
17587 instantiate the configuration header FILE
17589 Configuration files:
17592 Configuration headers:
17595 Configuration links:
17598 Configuration commands:
17601 Report bugs to <bug-autoconf@gnu.org>."
17604 cat >>$CONFIG_STATUS <<_ACEOF
17606 libjava config.status version-unused
17607 configured by $0, generated by GNU Autoconf 2.59,
17608 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
17610 Copyright (C) 2003 Free Software Foundation, Inc.
17611 This config.status script is free software; the Free Software Foundation
17612 gives unlimited permission to copy, distribute and modify it."
17617 cat >>$CONFIG_STATUS <<\_ACEOF
17618 # If no file are specified by the user, then we need to provide default
17619 # value. By we need to know if files were specified by the user.
17625 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
17626 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
17634 *) # This is not an option, so the user has probably given explicit
17637 ac_need_defaults
=false
;;
17641 # Handling of the options.
17643 cat >>$CONFIG_STATUS <<\_ACEOF
17644 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17646 --version |
--vers* |
-V )
17647 echo "$ac_cs_version"; exit 0 ;;
17649 # Conflict between --help and --header
17650 { { echo "$as_me:$LINENO: error: ambiguous option: $1
17651 Try \`$0 --help' for more information." >&5
17652 echo "$as_me: error: ambiguous option: $1
17653 Try \`$0 --help' for more information." >&2;}
17654 { (exit 1); exit 1; }; };;
17655 --help |
--hel |
-h )
17656 echo "$ac_cs_usage"; exit 0 ;;
17657 --debug |
--d* |
-d )
17659 --file |
--fil |
--fi |
--f )
17661 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
17662 ac_need_defaults
=false
;;
17663 --header |
--heade |
--head |
--hea )
17665 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
17666 ac_need_defaults
=false
;;
17667 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17668 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17671 # This is an error.
17672 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
17673 Try \`$0 --help' for more information." >&5
17674 echo "$as_me: error: unrecognized option: $1
17675 Try \`$0 --help' for more information." >&2;}
17676 { (exit 1); exit 1; }; } ;;
17678 *) ac_config_targets
="$ac_config_targets $1" ;;
17684 ac_configure_extra_args
=
17686 if $ac_cs_silent; then
17688 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17692 cat >>$CONFIG_STATUS <<_ACEOF
17693 if \$ac_cs_recheck; then
17694 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
17695 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17700 cat >>$CONFIG_STATUS <<_ACEOF
17702 # INIT-COMMANDS section.
17709 with_multisubdir="$with_multisubdir"
17710 with_multisrctop="$with_multisrctop"
17711 with_target_subdir="$with_target_subdir"
17712 ac_configure_args="${multilib_arg} ${ac_configure_args}"
17713 multi_basedir="$multi_basedir"
17714 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17716 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17720 with_multisubdir=${with_multisubdir}
17721 ac_configure_args="${multilib_arg} ${ac_configure_args}"
17722 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17723 multi_basedir=${multi_basedir}
17726 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
17733 cat >>$CONFIG_STATUS <<\_ACEOF
17734 for ac_config_target
in $ac_config_targets
17736 case "$ac_config_target" in
17737 # Handling of arguments.
17738 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17739 "libgcj.pc" ) CONFIG_FILES
="$CONFIG_FILES libgcj.pc" ;;
17740 "libgcj.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj.spec" ;;
17741 "libgcj-test.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj-test.spec" ;;
17742 "gcj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gcj/Makefile" ;;
17743 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
17744 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
17745 "scripts/jar" ) CONFIG_FILES
="$CONFIG_FILES scripts/jar" ;;
17746 "include/platform.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/platform.h:include/$PLATFORMH" ;;
17747 "java/io/natFile.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc" ;;
17748 "java/lang/natConcreteProcess.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc" ;;
17749 "java/net/natVMInetAddress.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc" ;;
17750 "java/net/natVMNetworkInterface.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc" ;;
17751 "gnu/java/net/natPlainSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc" ;;
17752 "gnu/java/net/natPlainDatagramSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc" ;;
17753 "gnu/java/nio/natVMPipe.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc" ;;
17754 "gnu/java/nio/natVMSelector.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc" ;;
17755 "gnu/java/nio/channels/natFileChannelImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc" ;;
17756 "include/java-gc.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-gc.h:include/$GCHDR" ;;
17757 "include/java-threads.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-threads.h:include/$THREADH" ;;
17758 "sysdep/locks.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/locks.h:sysdep/$sysdeps_dir/locks.h" ;;
17759 "sysdep/backtrace.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/backtrace.h:$fallback_backtrace_h" ;;
17760 "sysdep/descriptor.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/descriptor.h:$descriptor_h" ;;
17761 "include/java-signal.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal.h:$SIGNAL_HANDLER" ;;
17762 "include/java-signal-aux.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal-aux.h:$SIGNAL_HANDLER_AUX" ;;
17763 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
17764 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17765 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
17766 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
17767 "gcj/libgcj-config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS gcj/libgcj-config.h" ;;
17768 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
17769 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
17770 { (exit 1); exit 1; }; };;
17774 # If the user did not use the arguments to specify the items to instantiate,
17775 # then the envvar interface is used. Set only those that are not.
17776 # We use the long form for the default assignment because of an extremely
17777 # bizarre bug on SunOS 4.1.3.
17778 if $ac_need_defaults; then
17779 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17780 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17781 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
17782 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17785 # Have a temporary directory for convenience. Make it in the build tree
17786 # simply because there is no reason to put it here, and in addition,
17787 # creating and moving files from /tmp can sometimes cause problems.
17788 # Create a temporary directory, and hook for its removal unless debugging.
17791 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
17792 trap '{ (exit 1); exit 1; }' 1 2 13 15
17795 # Create a (secure) tmp directory for tmp files.
17798 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
17799 test -n "$tmp" && test -d "$tmp"
17802 tmp
=.
/confstat$$
-$RANDOM
17803 (umask 077 && mkdir
$tmp)
17806 echo "$me: cannot create a temporary directory in ." >&2
17807 { (exit 1); exit 1; }
17812 cat >>$CONFIG_STATUS <<_ACEOF
17815 # CONFIG_FILES section.
17818 # No need to generate the scripts if there are no CONFIG_FILES.
17819 # This happens for instance when ./config.status config.h
17820 if test -n "\$CONFIG_FILES"; then
17821 # Protect against being on the right side of a sed subst in config.status.
17822 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
17823 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
17824 s,@SHELL@,$SHELL,;t t
17825 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
17826 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
17827 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
17828 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
17829 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
17830 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
17831 s,@exec_prefix@,$exec_prefix,;t t
17832 s,@prefix@,$prefix,;t t
17833 s,@program_transform_name@,$program_transform_name,;t t
17834 s,@bindir@,$bindir,;t t
17835 s,@sbindir@,$sbindir,;t t
17836 s,@libexecdir@,$libexecdir,;t t
17837 s,@datadir@,$datadir,;t t
17838 s,@sysconfdir@,$sysconfdir,;t t
17839 s,@sharedstatedir@,$sharedstatedir,;t t
17840 s,@localstatedir@,$localstatedir,;t t
17841 s,@libdir@,$libdir,;t t
17842 s,@includedir@,$includedir,;t t
17843 s,@oldincludedir@,$oldincludedir,;t t
17844 s,@infodir@,$infodir,;t t
17845 s,@mandir@,$mandir,;t t
17846 s,@build_alias@,$build_alias,;t t
17847 s,@host_alias@,$host_alias,;t t
17848 s,@target_alias@,$target_alias,;t t
17849 s,@DEFS@,$DEFS,;t t
17850 s,@ECHO_C@,$ECHO_C,;t t
17851 s,@ECHO_N@,$ECHO_N,;t t
17852 s,@ECHO_T@,$ECHO_T,;t t
17853 s,@LIBS@,$LIBS,;t t
17854 s,@build@,$build,;t t
17855 s,@build_cpu@,$build_cpu,;t t
17856 s,@build_vendor@,$build_vendor,;t t
17857 s,@build_os@,$build_os,;t t
17858 s,@build_libsubdir@,$build_libsubdir,;t t
17859 s,@build_subdir@,$build_subdir,;t t
17860 s,@host_subdir@,$host_subdir,;t t
17861 s,@target_subdir@,$target_subdir,;t t
17862 s,@multi_basedir@,$multi_basedir,;t t
17863 s,@host@,$host,;t t
17864 s,@host_cpu@,$host_cpu,;t t
17865 s,@host_vendor@,$host_vendor,;t t
17866 s,@host_os@,$host_os,;t t
17867 s,@target@,$target,;t t
17868 s,@target_cpu@,$target_cpu,;t t
17869 s,@target_vendor@,$target_vendor,;t t
17870 s,@target_os@,$target_os,;t t
17871 s,@target_noncanonical@,$target_noncanonical,;t t
17872 s,@LN_S@,$LN_S,;t t
17873 s,@mkinstalldirs@,$mkinstalldirs,;t t
17874 s,@JAVA_MAINTAINER_MODE_TRUE@,$JAVA_MAINTAINER_MODE_TRUE,;t t
17875 s,@JAVA_MAINTAINER_MODE_FALSE@,$JAVA_MAINTAINER_MODE_FALSE,;t t
17877 s,@ac_ct_CC@,$ac_ct_CC,;t t
17878 s,@EXEEXT@,$EXEEXT,;t t
17879 s,@OBJEXT@,$OBJEXT,;t t
17881 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
17882 s,@CFLAGS@,$CFLAGS,;t t
17883 s,@CXXFLAGS@,$CXXFLAGS,;t t
17884 s,@LDFLAGS@,$LDFLAGS,;t t
17885 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
17886 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
17887 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
17888 s,@CYGPATH_W@,$CYGPATH_W,;t t
17889 s,@PACKAGE@,$PACKAGE,;t t
17890 s,@VERSION@,$VERSION,;t t
17891 s,@ACLOCAL@,$ACLOCAL,;t t
17892 s,@AUTOCONF@,$AUTOCONF,;t t
17893 s,@AUTOMAKE@,$AUTOMAKE,;t t
17894 s,@AUTOHEADER@,$AUTOHEADER,;t t
17895 s,@MAKEINFO@,$MAKEINFO,;t t
17896 s,@install_sh@,$install_sh,;t t
17897 s,@STRIP@,$STRIP,;t t
17898 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
17899 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
17900 s,@mkdir_p@,$mkdir_p,;t t
17902 s,@SET_MAKE@,$SET_MAKE,;t t
17903 s,@am__leading_dot@,$am__leading_dot,;t t
17904 s,@AMTAR@,$AMTAR,;t t
17905 s,@am__tar@,$am__tar,;t t
17906 s,@am__untar@,$am__untar,;t t
17907 s,@DEPDIR@,$DEPDIR,;t t
17908 s,@am__include@,$am__include,;t t
17909 s,@am__quote@,$am__quote,;t t
17910 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
17911 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
17912 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
17913 s,@CCDEPMODE@,$CCDEPMODE,;t t
17914 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
17915 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
17916 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
17917 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
17918 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
17920 s,@ac_ct_AS@,$ac_ct_AS,;t t
17922 s,@ac_ct_LD@,$ac_ct_LD,;t t
17924 s,@ac_ct_AR@,$ac_ct_AR,;t t
17925 s,@RANLIB@,$RANLIB,;t t
17926 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
17929 s,@UNZIP@,$UNZIP,;t t
17930 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
17931 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
17932 s,@MAINT@,$MAINT,;t t
17933 s,@LIBGCJ_CFLAGS@,$LIBGCJ_CFLAGS,;t t
17934 s,@LIBGCJ_CXXFLAGS@,$LIBGCJ_CXXFLAGS,;t t
17935 s,@LIBGCJ_JAVAFLAGS@,$LIBGCJ_JAVAFLAGS,;t t
17936 s,@LIBGCJ_LD_SYMBOLIC@,$LIBGCJ_LD_SYMBOLIC,;t t
17937 s,@LIBGCJ_LD_SYMBOLIC_FUNCTIONS@,$LIBGCJ_LD_SYMBOLIC_FUNCTIONS,;t t
17938 s,@LIBGCJDEBUG@,$LIBGCJDEBUG,;t t
17939 s,@TOOLKIT@,$TOOLKIT,;t t
17940 s,@XLIB_AWT_TRUE@,$XLIB_AWT_TRUE,;t t
17941 s,@XLIB_AWT_FALSE@,$XLIB_AWT_FALSE,;t t
17942 s,@X_AWT_TRUE@,$X_AWT_TRUE,;t t
17943 s,@X_AWT_FALSE@,$X_AWT_FALSE,;t t
17944 s,@GCJ_FOR_ECJX@,$GCJ_FOR_ECJX,;t t
17945 s,@GCJH@,$GCJH,;t t
17946 s,@host_exeext@,$host_exeext,;t t
17947 s,@INCLTDL@,$INCLTDL,;t t
17948 s,@LIBLTDL@,$LIBLTDL,;t t
17949 s,@DIRLTDL@,$DIRLTDL,;t t
17950 s,@LIBTOOL@,$LIBTOOL,;t t
17951 s,@CXXCPP@,$CXXCPP,;t t
17952 s,@CPPFLAGS@,$CPPFLAGS,;t t
17954 s,@GCJFLAGS@,$GCJFLAGS,;t t
17955 s,@GCJDEPMODE@,$GCJDEPMODE,;t t
17956 s,@am__fastdepGCJ_TRUE@,$am__fastdepGCJ_TRUE,;t t
17957 s,@am__fastdepGCJ_FALSE@,$am__fastdepGCJ_FALSE,;t t
17958 s,@subdirs@,$subdirs,;t t
17959 s,@TESTSUBDIR_TRUE@,$TESTSUBDIR_TRUE,;t t
17960 s,@TESTSUBDIR_FALSE@,$TESTSUBDIR_FALSE,;t t
17961 s,@ECJ_BUILD_JAR@,$ECJ_BUILD_JAR,;t t
17962 s,@ECJ_JAR@,$ECJ_JAR,;t t
17963 s,@BUILD_ECJ1_TRUE@,$BUILD_ECJ1_TRUE,;t t
17964 s,@BUILD_ECJ1_FALSE@,$BUILD_ECJ1_FALSE,;t t
17965 s,@INSTALL_ECJ_JAR_TRUE@,$INSTALL_ECJ_JAR_TRUE,;t t
17966 s,@INSTALL_ECJ_JAR_FALSE@,$INSTALL_ECJ_JAR_FALSE,;t t
17967 s,@JAVA_HOME_SET_TRUE@,$JAVA_HOME_SET_TRUE,;t t
17968 s,@JAVA_HOME_SET_FALSE@,$JAVA_HOME_SET_FALSE,;t t
17969 s,@JAVA_HOME@,$JAVA_HOME,;t t
17970 s,@INTERPRETER@,$INTERPRETER,;t t
17971 s,@LIBFFI@,$LIBFFI,;t t
17972 s,@LIBFFIINCS@,$LIBFFIINCS,;t t
17973 s,@PLATFORM@,$PLATFORM,;t t
17975 s,@EGREP@,$EGREP,;t t
17976 s,@USING_WIN32_PLATFORM_TRUE@,$USING_WIN32_PLATFORM_TRUE,;t t
17977 s,@USING_WIN32_PLATFORM_FALSE@,$USING_WIN32_PLATFORM_FALSE,;t t
17978 s,@USING_POSIX_PLATFORM_TRUE@,$USING_POSIX_PLATFORM_TRUE,;t t
17979 s,@USING_POSIX_PLATFORM_FALSE@,$USING_POSIX_PLATFORM_FALSE,;t t
17980 s,@USING_DARWIN_CRT_TRUE@,$USING_DARWIN_CRT_TRUE,;t t
17981 s,@USING_DARWIN_CRT_FALSE@,$USING_DARWIN_CRT_FALSE,;t t
17982 s,@SYSTEMSPEC@,$SYSTEMSPEC,;t t
17983 s,@LIBGCJTESTSPEC@,$LIBGCJTESTSPEC,;t t
17984 s,@ZLIBSPEC@,$ZLIBSPEC,;t t
17985 s,@ZLIBTESTSPEC@,$ZLIBTESTSPEC,;t t
17986 s,@X_CFLAGS@,$X_CFLAGS,;t t
17987 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
17988 s,@X_LIBS@,$X_LIBS,;t t
17989 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
17990 s,@extra_ldflags_libjava@,$extra_ldflags_libjava,;t t
17991 s,@GCLIBS@,$GCLIBS,;t t
17992 s,@GCINCS@,$GCINCS,;t t
17993 s,@GCDEPS@,$GCDEPS,;t t
17994 s,@GCSPEC@,$GCSPEC,;t t
17995 s,@JC1GCSPEC@,$JC1GCSPEC,;t t
17996 s,@GCTESTSPEC@,$GCTESTSPEC,;t t
17997 s,@USING_BOEHMGC_TRUE@,$USING_BOEHMGC_TRUE,;t t
17998 s,@USING_BOEHMGC_FALSE@,$USING_BOEHMGC_FALSE,;t t
17999 s,@USING_NOGC_TRUE@,$USING_NOGC_TRUE,;t t
18000 s,@USING_NOGC_FALSE@,$USING_NOGC_FALSE,;t t
18001 s,@THREADLIBS@,$THREADLIBS,;t t
18002 s,@THREADINCS@,$THREADINCS,;t t
18003 s,@THREADDEPS@,$THREADDEPS,;t t
18004 s,@THREADSPEC@,$THREADSPEC,;t t
18005 s,@THREADSTARTFILESPEC@,$THREADSTARTFILESPEC,;t t
18006 s,@THREADLDFLAGS@,$THREADLDFLAGS,;t t
18007 s,@THREADCXXFLAGS@,$THREADCXXFLAGS,;t t
18008 s,@USING_POSIX_THREADS_TRUE@,$USING_POSIX_THREADS_TRUE,;t t
18009 s,@USING_POSIX_THREADS_FALSE@,$USING_POSIX_THREADS_FALSE,;t t
18010 s,@USING_WIN32_THREADS_TRUE@,$USING_WIN32_THREADS_TRUE,;t t
18011 s,@USING_WIN32_THREADS_FALSE@,$USING_WIN32_THREADS_FALSE,;t t
18012 s,@USING_NO_THREADS_TRUE@,$USING_NO_THREADS_TRUE,;t t
18013 s,@USING_NO_THREADS_FALSE@,$USING_NO_THREADS_FALSE,;t t
18014 s,@USE_LIBGCJ_BC_TRUE@,$USE_LIBGCJ_BC_TRUE,;t t
18015 s,@USE_LIBGCJ_BC_FALSE@,$USE_LIBGCJ_BC_FALSE,;t t
18016 s,@LIBGCJ_SPEC@,$LIBGCJ_SPEC,;t t
18017 s,@HASH_SYNC_SPEC@,$HASH_SYNC_SPEC,;t t
18018 s,@USING_GCC_TRUE@,$USING_GCC_TRUE,;t t
18019 s,@USING_GCC_FALSE@,$USING_GCC_FALSE,;t t
18020 s,@LIBICONV@,$LIBICONV,;t t
18021 s,@LTLIBICONV@,$LTLIBICONV,;t t
18022 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
18023 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
18024 s,@GTK_LIBS@,$GTK_LIBS,;t t
18025 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
18026 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
18027 s,@LIBART_CFLAGS@,$LIBART_CFLAGS,;t t
18028 s,@LIBART_LIBS@,$LIBART_LIBS,;t t
18029 s,@CLASSPATH_SEPARATOR@,$CLASSPATH_SEPARATOR,;t t
18030 s,@ac_ct_GCJ@,$ac_ct_GCJ,;t t
18031 s,@ZLIBS@,$ZLIBS,;t t
18032 s,@SYS_ZLIBS@,$SYS_ZLIBS,;t t
18033 s,@ZINCS@,$ZINCS,;t t
18034 s,@DIVIDESPEC@,$DIVIDESPEC,;t t
18035 s,@CHECKREFSPEC@,$CHECKREFSPEC,;t t
18036 s,@EXCEPTIONSPEC@,$EXCEPTIONSPEC,;t t
18037 s,@BACKTRACESPEC@,$BACKTRACESPEC,;t t
18038 s,@IEEESPEC@,$IEEESPEC,;t t
18039 s,@NATIVE_TRUE@,$NATIVE_TRUE,;t t
18040 s,@NATIVE_FALSE@,$NATIVE_FALSE,;t t
18041 s,@ENABLE_SHARED_TRUE@,$ENABLE_SHARED_TRUE,;t t
18042 s,@ENABLE_SHARED_FALSE@,$ENABLE_SHARED_FALSE,;t t
18043 s,@NEEDS_DATA_START_TRUE@,$NEEDS_DATA_START_TRUE,;t t
18044 s,@NEEDS_DATA_START_FALSE@,$NEEDS_DATA_START_FALSE,;t t
18045 s,@GCC_UNWIND_INCLUDE@,$GCC_UNWIND_INCLUDE,;t t
18046 s,@toolexecdir@,$toolexecdir,;t t
18047 s,@toolexecmainlibdir@,$toolexecmainlibdir,;t t
18048 s,@toolexeclibdir@,$toolexeclibdir,;t t
18049 s,@dbexecdir@,$dbexecdir,;t t
18050 s,@GCJVERSION@,$GCJVERSION,;t t
18051 s,@gxx_include_dir@,$gxx_include_dir,;t t
18052 s,@libstdcxx_incdir@,$libstdcxx_incdir,;t t
18053 s,@ALLOCA@,$ALLOCA,;t t
18054 s,@PERL@,$PERL,;t t
18055 s,@SYSDEP_SOURCES@,$SYSDEP_SOURCES,;t t
18056 s,@LD_START_STATIC_SPEC@,$LD_START_STATIC_SPEC,;t t
18057 s,@LD_FINISH_STATIC_SPEC@,$LD_FINISH_STATIC_SPEC,;t t
18058 s,@here@,$here,;t t
18059 s,@LIBOBJS@,$LIBOBJS,;t t
18060 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
18065 cat >>$CONFIG_STATUS <<\_ACEOF
18066 # Split the substitutions into bite-sized pieces for seds with
18067 # small command number limits, like on Digital OSF/1 and HP-UX.
18068 ac_max_sed_lines
=48
18069 ac_sed_frag
=1 # Number of current file.
18070 ac_beg
=1 # First line for current file.
18071 ac_end
=$ac_max_sed_lines # Line after last line for current file.
18074 while $ac_more_lines; do
18075 if test $ac_beg -gt 1; then
18076 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
18078 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
18080 if test ! -s $tmp/subs.frag
; then
18081 ac_more_lines
=false
18083 # The purpose of the label and of the branching condition is to
18084 # speed up the sed processing (if there are no `@' at all, there
18085 # is no need to browse any of the substitutions).
18086 # These are the two extra sed commands mentioned above.
18088 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
18089 if test -z "$ac_sed_cmds"; then
18090 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
18092 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
18094 ac_sed_frag
=`expr $ac_sed_frag + 1`
18096 ac_end
=`expr $ac_end + $ac_max_sed_lines`
18099 if test -z "$ac_sed_cmds"; then
18102 fi # test -n "$CONFIG_FILES"
18105 cat >>$CONFIG_STATUS <<\_ACEOF
18106 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
18107 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18109 - |
*:- |
*:-:* ) # input from stdin
18111 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18112 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18113 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18114 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18115 * ) ac_file_in
=$ac_file.
in ;;
18118 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
18119 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
18120 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18121 X"$ac_file" : 'X\(//\)[^/]' \| \
18122 X"$ac_file" : 'X\(//\)$' \| \
18123 X"$ac_file" : 'X\(/\)' \| \
18124 . : '\(.\)' 2>/dev/null ||
18126 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18127 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18128 /^X\(\/\/\)$/{ s//\1/; q; }
18129 /^X\(\/\).*/{ s//\1/; q; }
18131 { if $as_mkdir_p; then
18136 while test ! -d "$as_dir"; do
18137 as_dirs
="$as_dir $as_dirs"
18138 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18139 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18140 X"$as_dir" : 'X\(//\)[^/]' \| \
18141 X"$as_dir" : 'X\(//\)$' \| \
18142 X"$as_dir" : 'X\(/\)' \| \
18143 . : '\(.\)' 2>/dev/null ||
18145 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18146 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18147 /^X\(\/\/\)$/{ s//\1/; q; }
18148 /^X\(\/\).*/{ s//\1/; q; }
18151 test ! -n "$as_dirs" || mkdir
$as_dirs
18152 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18153 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18154 { (exit 1); exit 1; }; }; }
18158 if test "$ac_dir" != .
; then
18159 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18160 # A "../" for each directory in $ac_dir_suffix.
18161 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18163 ac_dir_suffix
= ac_top_builddir
=
18167 .
) # No --srcdir option. We are building in place.
18169 if test -z "$ac_top_builddir"; then
18172 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18174 [\\/]* | ?
:[\\/]* ) # Absolute path.
18175 ac_srcdir
=$srcdir$ac_dir_suffix;
18176 ac_top_srcdir
=$srcdir ;;
18177 *) # Relative path.
18178 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18179 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18182 # Do not use `cd foo && pwd` to compute absolute paths, because
18183 # the directories may not exist.
18185 .
) ac_abs_builddir
="$ac_dir";;
18188 .
) ac_abs_builddir
=`pwd`;;
18189 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
18190 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
18193 case $ac_abs_builddir in
18194 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18196 case ${ac_top_builddir}.
in
18197 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
18198 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18199 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
18202 case $ac_abs_builddir in
18203 .
) ac_abs_srcdir
=$ac_srcdir;;
18206 .
) ac_abs_srcdir
=$ac_abs_builddir;;
18207 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
18208 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
18211 case $ac_abs_builddir in
18212 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
18214 case $ac_top_srcdir in
18215 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
18216 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
18217 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
18223 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18224 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
18227 if test x
"$ac_file" != x-
; then
18228 { echo "$as_me:$LINENO: creating $ac_file" >&5
18229 echo "$as_me: creating $ac_file" >&6;}
18232 # Let's still pretend it is `configure' which instantiates (i.e., don't
18233 # use $as_me), people would be surprised to read:
18234 # /* config.h. Generated by config.status. */
18235 if test x
"$ac_file" = x-
; then
18238 configure_input
="$ac_file. "
18240 configure_input
=$configure_input"Generated from `echo $ac_file_in |
18241 sed 's,.*/,,'` by configure."
18243 # First look for the input files in the build tree, otherwise in the
18245 ac_file_inputs
=`IFS=:
18246 for f in $ac_file_in; do
18248 -) echo $tmp/stdin ;;
18250 # Absolute (can't be DOS-style, as IFS=:)
18251 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18252 echo "$as_me: error: cannot find input file: $f" >&2;}
18253 { (exit 1); exit 1; }; }
18256 if test -f "$f"; then
18259 elif test -f "$srcdir/$f"; then
18264 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18265 echo "$as_me: error: cannot find input file: $f" >&2;}
18266 { (exit 1); exit 1; }; }
18269 done` ||
{ (exit 1); exit 1; }
18271 cat >>$CONFIG_STATUS <<_ACEOF
18275 cat >>$CONFIG_STATUS <<\_ACEOF
18277 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18278 s
,@configure_input@
,$configure_input,;t t
18279 s
,@srcdir@
,$ac_srcdir,;t t
18280 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
18281 s
,@top_srcdir@
,$ac_top_srcdir,;t t
18282 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
18283 s
,@builddir@
,$ac_builddir,;t t
18284 s
,@abs_builddir@
,$ac_abs_builddir,;t t
18285 s
,@top_builddir@
,$ac_top_builddir,;t t
18286 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
18287 s
,@INSTALL@
,$ac_INSTALL,;t t
18288 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
18290 if test x"$ac_file" != x-; then
18291 mv $tmp/out $ac_file
18297 # Run the commands associated with the file.
18299 scripts/jar ) chmod +x scripts/jar ;;
18303 cat >>$CONFIG_STATUS <<\_ACEOF
18306 # CONFIG_HEADER section.
18309 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
18310 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18312 # ac_d sets the value in "#define NAME VALUE" lines.
18313 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18314 ac_dB
='[ ].*$,\1#\2'
18317 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18318 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18319 ac_uB
='$,\1#\2define\3'
18323 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
18324 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18326 - |
*:- |
*:-:* ) # input from stdin
18328 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18329 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18330 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18331 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18332 * ) ac_file_in
=$ac_file.
in ;;
18335 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
18336 echo "$as_me: creating $ac_file" >&6;}
18338 # First look for the input files in the build tree, otherwise in the
18340 ac_file_inputs
=`IFS=:
18341 for f in $ac_file_in; do
18343 -) echo $tmp/stdin ;;
18345 # Absolute (can't be DOS-style, as IFS=:)
18346 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18347 echo "$as_me: error: cannot find input file: $f" >&2;}
18348 { (exit 1); exit 1; }; }
18349 # Do quote $f, to prevent DOS paths from being IFS'd.
18352 if test -f "$f"; then
18355 elif test -f "$srcdir/$f"; then
18360 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18361 echo "$as_me: error: cannot find input file: $f" >&2;}
18362 { (exit 1); exit 1; }; }
18365 done` ||
{ (exit 1); exit 1; }
18366 # Remove the trailing spaces.
18367 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
18371 # Transform confdefs.h into two sed scripts, `conftest.defines' and
18372 # `conftest.undefs', that substitutes the proper values into
18373 # config.h.in to produce config.h. The first handles `#define'
18374 # templates, and the second `#undef' templates.
18375 # And first: Protect against being on the right side of a sed subst in
18376 # config.status. Protect against being in an unquoted here document
18377 # in config.status.
18378 rm -f conftest.defines conftest.undefs
18379 # Using a here document instead of a string reduces the quoting nightmare.
18380 # Putting comments in sed scripts is not portable.
18382 # `end' is used to avoid that the second main sed command (meant for
18383 # 0-ary CPP macros) applies to n-ary macro definitions.
18384 # See the Autoconf documentation for `clear'.
18385 cat >confdef2sed.
sed <<\_ACEOF
18390 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
18392 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
18395 # If some macros were called several times there might be several times
18396 # the same #defines, which is useless. Nevertheless, we may not want to
18397 # sort them, since we want the *last* AC-DEFINE to be honored.
18398 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
18399 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
18400 rm -f confdef2sed.sed
18402 # This sed command replaces #undef with comments. This is necessary, for
18403 # example, in the case of _POSIX_SOURCE, which is predefined and required
18404 # on some systems where configure will not decide to define it.
18405 cat >>conftest.undefs <<\_ACEOF
18406 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
18409 # Break up conftest.defines because some shells have a limit on the size
18410 # of here documents, and old seds have small limits too (100 cmds).
18411 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
18412 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
18413 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
18414 echo ' :' >>$CONFIG_STATUS
18415 rm -f conftest.tail
18416 while grep . conftest.defines >/dev/null
18418 # Write a limited-size here document to $tmp/defines.sed.
18419 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
18420 # Speed up: don't consider the non `#define' lines.
18421 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
18422 # Work around the forget-to-reset-the-flag bug.
18423 echo 't clr' >>$CONFIG_STATUS
18424 echo ': clr' >>$CONFIG_STATUS
18425 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
18427 sed -f $tmp/defines.sed $tmp/in >$tmp/out
18429 mv $tmp/out $tmp/in
18431 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
18432 rm -f conftest.defines
18433 mv conftest.
tail conftest.defines
18435 rm -f conftest.defines
18436 echo ' fi # grep' >>$CONFIG_STATUS
18437 echo >>$CONFIG_STATUS
18439 # Break up conftest.undefs because some shells have a limit on the size
18440 # of here documents, and old seds have small limits too (100 cmds).
18441 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
18442 rm -f conftest.
tail
18443 while grep . conftest.undefs
>/dev
/null
18445 # Write a limited-size here document to $tmp/undefs.sed.
18446 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
18447 # Speed up: don't consider the non
`#undef'
18448 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
18449 # Work around the forget-to-reset-the-flag bug.
18450 echo 't clr' >>$CONFIG_STATUS
18451 echo ': clr' >>$CONFIG_STATUS
18452 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
18454 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
18456 mv $tmp/out $tmp/in
18458 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
18459 rm -f conftest.undefs
18460 mv conftest.tail conftest.undefs
18462 rm -f conftest.undefs
18464 cat >>$CONFIG_STATUS <<\_ACEOF
18465 # Let's still pretend it is `configure
' which instantiates (i.e., don't
18466 # use $as_me), people would be surprised to read:
18467 # /* config.h. Generated by config.status. */
18468 if test x
"$ac_file" = x-
; then
18469 echo "/* Generated by configure. */" >$tmp/config.h
18471 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
18473 cat $tmp/in >>$tmp/config.h
18475 if test x
"$ac_file" != x-
; then
18476 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
18477 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
18478 echo "$as_me: $ac_file is unchanged" >&6;}
18480 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
18481 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18482 X"$ac_file" : 'X\(//\)[^/]' \| \
18483 X"$ac_file" : 'X\(//\)$' \| \
18484 X"$ac_file" : 'X\(/\)' \| \
18485 . : '\(.\)' 2>/dev/null ||
18487 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18488 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18489 /^X\(\/\/\)$/{ s//\1/; q; }
18490 /^X\(\/\).*/{ s//\1/; q; }
18492 { if $as_mkdir_p; then
18497 while test ! -d "$as_dir"; do
18498 as_dirs
="$as_dir $as_dirs"
18499 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18500 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18501 X"$as_dir" : 'X\(//\)[^/]' \| \
18502 X"$as_dir" : 'X\(//\)$' \| \
18503 X"$as_dir" : 'X\(/\)' \| \
18504 . : '\(.\)' 2>/dev/null ||
18506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18507 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18508 /^X\(\/\/\)$/{ s//\1/; q; }
18509 /^X\(\/\).*/{ s//\1/; q; }
18512 test ! -n "$as_dirs" || mkdir
$as_dirs
18513 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18514 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18515 { (exit 1); exit 1; }; }; }
18518 mv $tmp/config.h
$ac_file
18522 rm -f $tmp/config.h
18524 # Compute $ac_file's index in $config_headers.
18526 for _am_header
in $config_headers :; do
18527 case $_am_header in
18528 $ac_file |
$ac_file:* )
18531 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18534 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
18535 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18536 X$ac_file : 'X\(//\)[^/]' \| \
18537 X$ac_file : 'X\(//\)$' \| \
18538 X$ac_file : 'X\(/\)' \| \
18539 . : '\(.\)' 2>/dev/null ||
18541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18542 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18543 /^X\(\/\/\)$/{ s//\1/; q; }
18544 /^X\(\/\).*/{ s//\1/; q; }
18545 s/.*/./; q'`/stamp-h
$_am_stamp_count
18548 cat >>$CONFIG_STATUS <<\_ACEOF
18551 # CONFIG_LINKS section.
18554 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
18555 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
18556 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18558 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
18559 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
18561 if test ! -r $srcdir/$ac_source; then
18562 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
18563 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
18564 { (exit 1); exit 1; }; }
18568 # Make relative symlinks.
18569 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
18570 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18571 X"$ac_dest" : 'X\(//\)[^/]' \| \
18572 X"$ac_dest" : 'X\(//\)$' \| \
18573 X"$ac_dest" : 'X\(/\)' \| \
18574 . : '\(.\)' 2>/dev/null ||
18576 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18577 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18578 /^X\(\/\/\)$/{ s//\1/; q; }
18579 /^X\(\/\).*/{ s//\1/; q; }
18581 { if $as_mkdir_p; then
18582 mkdir
-p "$ac_dest_dir"
18584 as_dir
="$ac_dest_dir"
18586 while test ! -d "$as_dir"; do
18587 as_dirs
="$as_dir $as_dirs"
18588 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18589 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18590 X"$as_dir" : 'X\(//\)[^/]' \| \
18591 X"$as_dir" : 'X\(//\)$' \| \
18592 X"$as_dir" : 'X\(/\)' \| \
18593 . : '\(.\)' 2>/dev/null ||
18595 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18596 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18597 /^X\(\/\/\)$/{ s//\1/; q; }
18598 /^X\(\/\).*/{ s//\1/; q; }
18601 test ! -n "$as_dirs" || mkdir
$as_dirs
18602 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
18603 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
18604 { (exit 1); exit 1; }; }; }
18608 if test "$ac_dest_dir" != .
; then
18609 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
18610 # A "../" for each directory in $ac_dir_suffix.
18611 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18613 ac_dir_suffix
= ac_top_builddir
=
18617 .
) # No --srcdir option. We are building in place.
18619 if test -z "$ac_top_builddir"; then
18622 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18624 [\\/]* | ?
:[\\/]* ) # Absolute path.
18625 ac_srcdir
=$srcdir$ac_dir_suffix;
18626 ac_top_srcdir
=$srcdir ;;
18627 *) # Relative path.
18628 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18629 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18632 # Do not use `cd foo && pwd` to compute absolute paths, because
18633 # the directories may not exist.
18635 .
) ac_abs_builddir
="$ac_dest_dir";;
18637 case "$ac_dest_dir" in
18638 .
) ac_abs_builddir
=`pwd`;;
18639 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
18640 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
18643 case $ac_abs_builddir in
18644 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18646 case ${ac_top_builddir}.
in
18647 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
18648 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18649 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
18652 case $ac_abs_builddir in
18653 .
) ac_abs_srcdir
=$ac_srcdir;;
18656 .
) ac_abs_srcdir
=$ac_abs_builddir;;
18657 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
18658 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
18661 case $ac_abs_builddir in
18662 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
18664 case $ac_top_srcdir in
18665 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
18666 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
18667 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
18673 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
18674 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
18677 # Try a symlink, then a hard link, then a copy.
18678 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
18679 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
18680 cp -p $srcdir/$ac_source $ac_dest ||
18681 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
18682 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
18683 { (exit 1); exit 1; }; }
18686 cat >>$CONFIG_STATUS <<\_ACEOF
18689 # CONFIG_COMMANDS section.
18691 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
18692 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
18693 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18694 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
18695 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18696 X"$ac_dest" : 'X\(//\)[^/]' \| \
18697 X"$ac_dest" : 'X\(//\)$' \| \
18698 X"$ac_dest" : 'X\(/\)' \| \
18699 . : '\(.\)' 2>/dev/null ||
18701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18702 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18703 /^X\(\/\/\)$/{ s//\1/; q; }
18704 /^X\(\/\).*/{ s//\1/; q; }
18706 { if $as_mkdir_p; then
18711 while test ! -d "$as_dir"; do
18712 as_dirs
="$as_dir $as_dirs"
18713 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18714 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18715 X"$as_dir" : 'X\(//\)[^/]' \| \
18716 X"$as_dir" : 'X\(//\)$' \| \
18717 X"$as_dir" : 'X\(/\)' \| \
18718 . : '\(.\)' 2>/dev/null ||
18720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18722 /^X\(\/\/\)$/{ s//\1/; q; }
18723 /^X\(\/\).*/{ s//\1/; q; }
18726 test ! -n "$as_dirs" || mkdir
$as_dirs
18727 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18728 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18729 { (exit 1); exit 1; }; }; }
18733 if test "$ac_dir" != .
; then
18734 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18735 # A "../" for each directory in $ac_dir_suffix.
18736 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18738 ac_dir_suffix
= ac_top_builddir
=
18742 .
) # No --srcdir option. We are building in place.
18744 if test -z "$ac_top_builddir"; then
18747 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18749 [\\/]* | ?
:[\\/]* ) # Absolute path.
18750 ac_srcdir
=$srcdir$ac_dir_suffix;
18751 ac_top_srcdir
=$srcdir ;;
18752 *) # Relative path.
18753 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18754 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18757 # Do not use `cd foo && pwd` to compute absolute paths, because
18758 # the directories may not exist.
18760 .
) ac_abs_builddir
="$ac_dir";;
18763 .
) ac_abs_builddir
=`pwd`;;
18764 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
18765 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
18768 case $ac_abs_builddir in
18769 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18771 case ${ac_top_builddir}.
in
18772 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
18773 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18774 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
18777 case $ac_abs_builddir in
18778 .
) ac_abs_srcdir
=$ac_srcdir;;
18781 .
) ac_abs_srcdir
=$ac_abs_builddir;;
18782 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
18783 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
18786 case $ac_abs_builddir in
18787 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
18789 case $ac_top_srcdir in
18790 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
18791 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
18792 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
18797 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
18798 echo "$as_me: executing $ac_dest commands" >&6;}
18801 # Only add multilib support code if we just rebuilt the top-level
18803 case " $CONFIG_FILES " in
18805 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
18808 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
18809 # Strip MF so we end up with the name of the file.
18810 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18811 # Check whether this is an Automake generated Makefile or not.
18812 # We used to match only the files named `Makefile.in', but
18813 # some people rename them; so instead we look at the file content.
18814 # Grep'ing the first line is not enough: some people post-process
18815 # each Makefile.in and add a new line on top of each file to say so.
18816 # So let's grep whole file.
18817 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
18818 dirpart
=`(dirname "$mf") 2>/dev/null ||
18819 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18820 X"$mf" : 'X\(//\)[^/]' \| \
18821 X"$mf" : 'X\(//\)$' \| \
18822 X"$mf" : 'X\(/\)' \| \
18823 . : '\(.\)' 2>/dev/null ||
18825 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18826 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18827 /^X\(\/\/\)$/{ s//\1/; q; }
18828 /^X\(\/\).*/{ s//\1/; q; }
18833 # Extract the definition of DEPDIR, am__include, and am__quote
18834 # from the Makefile without running `make'.
18835 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18836 test -z "$DEPDIR" && continue
18837 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18838 test -z "am__include" && continue
18839 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18840 # When using ansi2knr, U may be empty or an underscore; expand it
18841 U
=`sed -n 's/^U = //p' < "$mf"`
18842 # Find all dependency output files, they are included files with
18843 # $(DEPDIR) in their names. We invoke sed twice because it is the
18844 # simplest approach to changing $(DEPDIR) to its actual value in the
18846 for file in `sed -n "
18847 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18848 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18849 # Make sure the directory exists.
18850 test -f "$dirpart/$file" && continue
18851 fdir
=`(dirname "$file") 2>/dev/null ||
18852 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18853 X"$file" : 'X\(//\)[^/]' \| \
18854 X"$file" : 'X\(//\)$' \| \
18855 X"$file" : 'X\(/\)' \| \
18856 . : '\(.\)' 2>/dev/null ||
18858 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18859 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18860 /^X\(\/\/\)$/{ s//\1/; q; }
18861 /^X\(\/\).*/{ s//\1/; q; }
18863 { if $as_mkdir_p; then
18864 mkdir
-p $dirpart/$fdir
18866 as_dir
=$dirpart/$fdir
18868 while test ! -d "$as_dir"; do
18869 as_dirs
="$as_dir $as_dirs"
18870 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18871 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18872 X"$as_dir" : 'X\(//\)[^/]' \| \
18873 X"$as_dir" : 'X\(//\)$' \| \
18874 X"$as_dir" : 'X\(/\)' \| \
18875 . : '\(.\)' 2>/dev/null ||
18877 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18878 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18879 /^X\(\/\/\)$/{ s//\1/; q; }
18880 /^X\(\/\).*/{ s//\1/; q; }
18883 test ! -n "$as_dirs" || mkdir
$as_dirs
18884 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
18885 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
18886 { (exit 1); exit 1; }; }; }
18888 # echo "creating $dirpart/$file"
18889 echo '# dummy' > "$dirpart/$file"
18893 default
) # Only add multilib support code if we just rebuilt top-level Makefile.
18894 case " $CONFIG_FILES " in
18896 LD
="${ORIGINAL_LD_FOR_MULTILIBS}"
18897 ac_file
=Makefile .
${multi_basedir}/.
/libjava
/..
/config-ml.
in
18900 for ac_multi_file
in $CONFIG_FILES; do
18901 case $ac_multi_file in
18903 grep "^MULTI[^ ]* =" Makefile
>> "$ac_multi_file" ;;
18911 cat >>$CONFIG_STATUS <<\_ACEOF
18913 { (exit 0); exit 0; }
18915 chmod +x
$CONFIG_STATUS
18916 ac_clean_files
=$ac_clean_files_save
18919 # configure is writing to config.log, and then calls config.status.
18920 # config.status does its own redirection, appending to config.log.
18921 # Unfortunately, on DOS this fails, as config.log is still kept open
18922 # by configure, so config.status won't be able to write to it; its
18923 # output is simply discarded. So we exec the FD to /dev/null,
18924 # effectively closing config.log, so it can be properly (re)opened and
18925 # appended to by config.status. When coming back to configure, we
18926 # need to make the FD available again.
18927 if test "$no_create" != yes; then
18929 ac_config_status_args
=
18930 test "$silent" = yes &&
18931 ac_config_status_args
="$ac_config_status_args --quiet"
18933 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18935 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18936 # would make configure fail if this is the last instruction.
18937 $ac_cs_success ||
{ (exit 1); exit 1; }
18941 # CONFIG_SUBDIRS section.
18943 if test "$no_recursion" != yes; then
18945 # Remove --cache-file and --srcdir arguments so they do not pile up.
18946 ac_sub_configure_args
=
18948 for ac_arg
in $ac_configure_args; do
18949 if test -n "$ac_prev"; then
18954 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
18955 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
18956 ac_prev
=cache_file
;;
18957 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
18958 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
18961 --config-cache |
-C)
18963 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
18965 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
18967 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
18969 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
18971 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
18975 # Always prepend --prefix to ensure using the same prefix
18976 # in subdir configurations.
18977 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
18980 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
18982 # Do not complain, so a configure script can configure whichever
18983 # parts of a large source tree are present.
18984 test -d $srcdir/$ac_dir ||
continue
18986 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
18987 echo "$as_me: configuring in $ac_dir" >&6;}
18988 { if $as_mkdir_p; then
18993 while test ! -d "$as_dir"; do
18994 as_dirs
="$as_dir $as_dirs"
18995 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18996 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18997 X"$as_dir" : 'X\(//\)[^/]' \| \
18998 X"$as_dir" : 'X\(//\)$' \| \
18999 X"$as_dir" : 'X\(/\)' \| \
19000 . : '\(.\)' 2>/dev/null ||
19002 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19003 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19004 /^X\(\/\/\)$/{ s//\1/; q; }
19005 /^X\(\/\).*/{ s//\1/; q; }
19008 test ! -n "$as_dirs" || mkdir
$as_dirs
19009 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19010 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19011 { (exit 1); exit 1; }; }; }
19015 if test "$ac_dir" != .
; then
19016 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
19017 # A "../" for each directory in $ac_dir_suffix.
19018 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
19020 ac_dir_suffix
= ac_top_builddir
=
19024 .
) # No --srcdir option. We are building in place.
19026 if test -z "$ac_top_builddir"; then
19029 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
19031 [\\/]* | ?
:[\\/]* ) # Absolute path.
19032 ac_srcdir
=$srcdir$ac_dir_suffix;
19033 ac_top_srcdir
=$srcdir ;;
19034 *) # Relative path.
19035 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
19036 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
19039 # Do not use `cd foo && pwd` to compute absolute paths, because
19040 # the directories may not exist.
19042 .
) ac_abs_builddir
="$ac_dir";;
19045 .
) ac_abs_builddir
=`pwd`;;
19046 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
19047 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
19050 case $ac_abs_builddir in
19051 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
19053 case ${ac_top_builddir}.
in
19054 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
19055 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
19056 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
19059 case $ac_abs_builddir in
19060 .
) ac_abs_srcdir
=$ac_srcdir;;
19063 .
) ac_abs_srcdir
=$ac_abs_builddir;;
19064 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
19065 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
19068 case $ac_abs_builddir in
19069 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
19071 case $ac_top_srcdir in
19072 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
19073 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
19074 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
19081 # Check for guested configure; otherwise get Cygnus style configure.
19082 if test -f $ac_srcdir/configure.gnu
; then
19083 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
19084 elif test -f $ac_srcdir/configure
; then
19085 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
19086 elif test -f $ac_srcdir/configure.
in; then
19087 ac_sub_configure
=$ac_configure
19089 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
19090 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
19094 # The recursion is here.
19095 if test -n "$ac_sub_configure"; then
19096 # Make the cache file name correct relative to the subdirectory.
19097 case $cache_file in
19098 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
19099 *) # Relative path.
19100 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
19103 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
19104 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
19105 # The eval makes quoting arguments work.
19106 eval $ac_sub_configure $ac_sub_configure_args \
19107 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
19108 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
19109 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
19110 { (exit 1); exit 1; }; }