2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libjava version-unused.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME
='libjava'
269 PACKAGE_TARNAME
='libjava'
270 PACKAGE_VERSION
='version-unused'
271 PACKAGE_STRING
='libjava version-unused'
274 ac_unique_file
="java/lang/System.java"
275 ac_subdirs_all
="$ac_subdirs_all classpath libltdl"
276 # Factoring default headers for most tests.
277 ac_includes_default
="\
280 # include <sys/types.h>
283 # include <sys/stat.h>
294 # if !STDC_HEADERS && HAVE_MEMORY_H
300 # include <strings.h>
303 # include <inttypes.h>
313 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os build_libsubdir build_subdir host_subdir target_subdir libgcj_basedir host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical LN_S mkinstalldirs 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 BASH_JAR_TRUE BASH_JAR_FALSE 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 LIBMAGIC 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-version-specific-runtime-libs
853 specify that runtime libraries should be installed
854 in a compiler-specific directory
855 --enable-multilib build many library versions
(default
)
856 --enable-plugin build gcjwebplugin web browser plugin
857 --enable-gconf-peer compile GConf native peers
for util.preferences
858 --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 # When building with srcdir == objdir, links to the source files will
1485 # be created in directories within the target_subdir. We have to
1486 # adjust toplevel_srcdir accordingly, so that configure finds
1487 # install-sh and other auxiliary files that live in the top-level
1489 if test "${srcdir}" = "."; then
1490 if test -z "${with_target_subdir}"; then
1493 if test "${with_target_subdir}" != "."; then
1494 toprel
="${with_multisrctop}../.."
1496 toprel
="${with_multisrctop}.."
1503 libgcj_basedir
=$srcdir/$toprel/.
/libjava
1506 echo "$as_me:$LINENO: checking host system type" >&5
1507 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1508 if test "${ac_cv_host+set}" = set; then
1509 echo $ECHO_N "(cached) $ECHO_C" >&6
1511 ac_cv_host_alias
=$host_alias
1512 test -z "$ac_cv_host_alias" &&
1513 ac_cv_host_alias
=$ac_cv_build_alias
1514 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1515 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1516 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1517 { (exit 1); exit 1; }; }
1520 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1521 echo "${ECHO_T}$ac_cv_host" >&6
1523 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1524 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1525 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1528 echo "$as_me:$LINENO: checking target system type" >&5
1529 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1530 if test "${ac_cv_target+set}" = set; then
1531 echo $ECHO_N "(cached) $ECHO_C" >&6
1533 ac_cv_target_alias
=$target_alias
1534 test "x$ac_cv_target_alias" = "x" &&
1535 ac_cv_target_alias
=$ac_cv_host_alias
1536 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1537 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1538 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1539 { (exit 1); exit 1; }; }
1542 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1543 echo "${ECHO_T}$ac_cv_target" >&6
1544 target
=$ac_cv_target
1545 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1546 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1547 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1550 # The aliases save the names the user supplied, while $host etc.
1551 # will get canonicalized.
1552 test -n "$target_alias" &&
1553 test "$program_prefix$program_suffix$program_transform_name" = \
1555 program_prefix
=${target_alias}-
1556 case ${build_alias} in
1557 "") build_noncanonical
=${build} ;;
1558 *) build_noncanonical
=${build_alias} ;;
1561 case ${target_alias} in
1562 "") target_noncanonical
=${host_noncanonical} ;;
1563 *) target_noncanonical
=${target_alias} ;;
1569 # This works around the fact that libtool configuration may change LD
1570 # for this particular configuration, but some shells, instead of
1571 # keeping the changes in LD private, export them just because LD is
1573 ORIGINAL_LD_FOR_MULTILIBS
=$LD
1575 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1576 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1578 if test "$LN_S" = "ln -s"; then
1579 echo "$as_me:$LINENO: result: yes" >&5
1580 echo "${ECHO_T}yes" >&6
1582 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1583 echo "${ECHO_T}no, using $LN_S" >&6
1587 # This works around an automake problem.
1588 mkinstalldirs
="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
1592 # Check whether --with-cross-host or --without-cross-host was given.
1593 if test "${with_cross_host+set}" = set; then
1594 withval
="$with_cross_host"
1599 # Check whether --with-newlib or --without-newlib was given.
1600 if test "${with_newlib+set}" = set; then
1601 withval
="$with_newlib"
1605 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1606 if test "${enable_version_specific_runtime_libs+set}" = set; then
1607 enableval
="$enable_version_specific_runtime_libs"
1608 case "$enableval" in
1609 yes) version_specific_libs
=yes ;;
1610 no
) version_specific_libs
=no
;;
1611 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1612 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1613 { (exit 1); exit 1; }; };;
1616 version_specific_libs
=no
1620 # Default to --enable-multilib
1621 # Check whether --enable-multilib or --disable-multilib was given.
1622 if test "${enable_multilib+set}" = set; then
1623 enableval
="$enable_multilib"
1624 case "${enableval}" in
1625 yes) multilib
=yes ;;
1627 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
1628 echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
1629 { (exit 1); exit 1; }; } ;;
1634 # Check whether --enable-plugin or --disable-plugin was given.
1635 if test "${enable_plugin+set}" = set; then
1636 enableval
="$enable_plugin"
1637 case "$enableval" in
1638 yes) plugin_enabled
=yes ;;
1639 no
) plugin_enabled
=no
;;
1640 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable plugin" >&5
1641 echo "$as_me: error: Unknown argument to enable/disable plugin" >&2;}
1642 { (exit 1); exit 1; }; };;
1649 # Check whether --enable-gconf-peer or --disable-gconf-peer was given.
1650 if test "${enable_gconf_peer+set}" = set; then
1651 enableval
="$enable_gconf_peer"
1652 case "$enableval" in
1653 yes) gconf_enabled
=yes ;;
1654 no
) gconf_enabled
=no
;;
1655 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable gconf-peer" >&5
1656 echo "$as_me: error: Unknown argument to enable/disable gconf-peer" >&2;}
1657 { (exit 1); exit 1; }; };;
1664 # Check whether --enable-java-maintainer-mode or --disable-java-maintainer-mode was given.
1665 if test "${enable_java_maintainer_mode+set}" = set; then
1666 enableval
="$enable_java_maintainer_mode"
1671 if test "$enable_java_maintainer_mode" = yes; then
1672 JAVA_MAINTAINER_MODE_TRUE
=
1673 JAVA_MAINTAINER_MODE_FALSE
='#'
1675 JAVA_MAINTAINER_MODE_TRUE
='#'
1676 JAVA_MAINTAINER_MODE_FALSE
=
1680 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
1683 # (1) We use an abnormal CXX (without library references), so we
1684 # must cache it under a different name.
1685 # (2) CC, CFLAGS, CXX, CXXFLAGS, LDFLAGS must not be 'precious', or
1686 # the non-multilib-adjusted value will be used in multilibs.
1687 # (3) As a side effect, we must SUBST CXXFLAGS, CFLAGS, and LDFLAGS ourselves.
1688 # (4) As another side effect, automake doesn't automatically include them
1690 # (5) For libstdc++-v3, -fno-builtin must be present here so that a
1691 # non-conflicting form of std::exit can be guessed by AC_PROG_CXX, and
1692 # used in later tests. This may not be necessary in libjava; I don't know.
1695 save_CXXFLAGS
="$CXXFLAGS"
1696 CXXFLAGS
="$CXXFLAGS -fno-builtin"
1698 ac_cpp
='$CPP $CPPFLAGS'
1699 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1700 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1701 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1702 if test -n "$ac_tool_prefix"; then
1703 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1704 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1705 echo "$as_me:$LINENO: checking for $ac_word" >&5
1706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1707 if test "${ac_cv_prog_CC+set}" = set; then
1708 echo $ECHO_N "(cached) $ECHO_C" >&6
1710 if test -n "$CC"; then
1711 ac_cv_prog_CC
="$CC" # Let the user override the test.
1713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1717 test -z "$as_dir" && as_dir
=.
1718 for ac_exec_ext
in '' $ac_executable_extensions; do
1719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1720 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1730 if test -n "$CC"; then
1731 echo "$as_me:$LINENO: result: $CC" >&5
1732 echo "${ECHO_T}$CC" >&6
1734 echo "$as_me:$LINENO: result: no" >&5
1735 echo "${ECHO_T}no" >&6
1739 if test -z "$ac_cv_prog_CC"; then
1741 # Extract the first word of "gcc", so it can be a program name with args.
1742 set dummy gcc
; ac_word
=$2
1743 echo "$as_me:$LINENO: checking for $ac_word" >&5
1744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1745 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1746 echo $ECHO_N "(cached) $ECHO_C" >&6
1748 if test -n "$ac_ct_CC"; then
1749 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1755 test -z "$as_dir" && as_dir
=.
1756 for ac_exec_ext
in '' $ac_executable_extensions; do
1757 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1758 ac_cv_prog_ac_ct_CC
="gcc"
1759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1767 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1768 if test -n "$ac_ct_CC"; then
1769 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1770 echo "${ECHO_T}$ac_ct_CC" >&6
1772 echo "$as_me:$LINENO: result: no" >&5
1773 echo "${ECHO_T}no" >&6
1781 if test -z "$CC"; then
1782 if test -n "$ac_tool_prefix"; then
1783 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1784 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1785 echo "$as_me:$LINENO: checking for $ac_word" >&5
1786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1787 if test "${ac_cv_prog_CC+set}" = set; then
1788 echo $ECHO_N "(cached) $ECHO_C" >&6
1790 if test -n "$CC"; then
1791 ac_cv_prog_CC
="$CC" # Let the user override the test.
1793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1797 test -z "$as_dir" && as_dir
=.
1798 for ac_exec_ext
in '' $ac_executable_extensions; do
1799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1800 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1810 if test -n "$CC"; then
1811 echo "$as_me:$LINENO: result: $CC" >&5
1812 echo "${ECHO_T}$CC" >&6
1814 echo "$as_me:$LINENO: result: no" >&5
1815 echo "${ECHO_T}no" >&6
1819 if test -z "$ac_cv_prog_CC"; then
1821 # Extract the first word of "cc", so it can be a program name with args.
1822 set dummy cc
; ac_word
=$2
1823 echo "$as_me:$LINENO: checking for $ac_word" >&5
1824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1825 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1826 echo $ECHO_N "(cached) $ECHO_C" >&6
1828 if test -n "$ac_ct_CC"; then
1829 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1835 test -z "$as_dir" && as_dir
=.
1836 for ac_exec_ext
in '' $ac_executable_extensions; do
1837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1838 ac_cv_prog_ac_ct_CC
="cc"
1839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1847 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1848 if test -n "$ac_ct_CC"; then
1849 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1850 echo "${ECHO_T}$ac_ct_CC" >&6
1852 echo "$as_me:$LINENO: result: no" >&5
1853 echo "${ECHO_T}no" >&6
1862 if test -z "$CC"; then
1863 # Extract the first word of "cc", so it can be a program name with args.
1864 set dummy cc
; ac_word
=$2
1865 echo "$as_me:$LINENO: checking for $ac_word" >&5
1866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1867 if test "${ac_cv_prog_CC+set}" = set; then
1868 echo $ECHO_N "(cached) $ECHO_C" >&6
1870 if test -n "$CC"; then
1871 ac_cv_prog_CC
="$CC" # Let the user override the test.
1874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1878 test -z "$as_dir" && as_dir
=.
1879 for ac_exec_ext
in '' $ac_executable_extensions; do
1880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1881 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1882 ac_prog_rejected
=yes
1886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1892 if test $ac_prog_rejected = yes; then
1893 # We found a bogon in the path, so make sure we never use it.
1894 set dummy
$ac_cv_prog_CC
1896 if test $# != 0; then
1897 # We chose a different compiler from the bogus one.
1898 # However, it has the same basename, so the bogon will be chosen
1899 # first if we set CC to just the basename; use the full file name.
1901 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1907 if test -n "$CC"; then
1908 echo "$as_me:$LINENO: result: $CC" >&5
1909 echo "${ECHO_T}$CC" >&6
1911 echo "$as_me:$LINENO: result: no" >&5
1912 echo "${ECHO_T}no" >&6
1916 if test -z "$CC"; then
1917 if test -n "$ac_tool_prefix"; then
1920 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1921 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1922 echo "$as_me:$LINENO: checking for $ac_word" >&5
1923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1924 if test "${ac_cv_prog_CC+set}" = set; then
1925 echo $ECHO_N "(cached) $ECHO_C" >&6
1927 if test -n "$CC"; then
1928 ac_cv_prog_CC
="$CC" # Let the user override the test.
1930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1934 test -z "$as_dir" && as_dir
=.
1935 for ac_exec_ext
in '' $ac_executable_extensions; do
1936 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1937 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1947 if test -n "$CC"; then
1948 echo "$as_me:$LINENO: result: $CC" >&5
1949 echo "${ECHO_T}$CC" >&6
1951 echo "$as_me:$LINENO: result: no" >&5
1952 echo "${ECHO_T}no" >&6
1955 test -n "$CC" && break
1958 if test -z "$CC"; then
1962 # Extract the first word of "$ac_prog", so it can be a program name with args.
1963 set dummy
$ac_prog; ac_word
=$2
1964 echo "$as_me:$LINENO: checking for $ac_word" >&5
1965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1966 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1967 echo $ECHO_N "(cached) $ECHO_C" >&6
1969 if test -n "$ac_ct_CC"; then
1970 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1976 test -z "$as_dir" && as_dir
=.
1977 for ac_exec_ext
in '' $ac_executable_extensions; do
1978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1979 ac_cv_prog_ac_ct_CC
="$ac_prog"
1980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1988 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1989 if test -n "$ac_ct_CC"; then
1990 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1991 echo "${ECHO_T}$ac_ct_CC" >&6
1993 echo "$as_me:$LINENO: result: no" >&5
1994 echo "${ECHO_T}no" >&6
1997 test -n "$ac_ct_CC" && break
2006 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2007 See \`config.log' for more details." >&5
2008 echo "$as_me: error: no acceptable C compiler found in \$PATH
2009 See \`config.log' for more details." >&2;}
2010 { (exit 1); exit 1; }; }
2012 # Provide some information about the compiler.
2013 echo "$as_me:$LINENO:" \
2014 "checking for C compiler version" >&5
2015 ac_compiler
=`set X $ac_compile; echo $2`
2016 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2017 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2020 (exit $ac_status); }
2021 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2022 (eval $ac_compiler -v </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); }
2032 cat >conftest.
$ac_ext <<_ACEOF
2035 cat confdefs.h
>>conftest.
$ac_ext
2036 cat >>conftest.
$ac_ext <<_ACEOF
2037 /* end confdefs.h. */
2048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2049 (eval $ac_link) 2>&5
2051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2052 (exit $ac_status); }; then
2058 if test x
$gcc_no_link = xyes
; then
2059 # Setting cross_compile will disable run tests; it will
2060 # also disable AC_CHECK_FILE but that's generally
2061 # correct if we can't link.
2065 cat >conftest.
$ac_ext <<_ACEOF
2068 cat confdefs.h
>>conftest.
$ac_ext
2069 cat >>conftest.
$ac_ext <<_ACEOF
2070 /* end confdefs.h. */
2080 ac_clean_files_save
=$ac_clean_files
2081 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2082 # Try to create an executable without -o first, disregard a.out.
2083 # It will help us diagnose broken compilers, and finding out an intuition
2085 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2086 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2087 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2088 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2089 (eval $ac_link_default) 2>&5
2091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2092 (exit $ac_status); }; then
2093 # Find the output, starting from the most likely. This scheme is
2094 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2097 # Be careful to initialize this variable, since it used to be cached.
2098 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2100 # b.out is created by i960 compilers.
2101 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2103 test -f "$ac_file" ||
continue
2105 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2108 # This is the source file.
2111 # We found the default executable, but exeext='' is most
2115 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2116 # FIXME: I believe we export ac_cv_exeext for Libtool,
2117 # but it would be cool to find out if it's true. Does anybody
2118 # maintain Libtool? --akim.
2126 echo "$as_me: failed program was:" >&5
2127 sed 's/^/| /' conftest.
$ac_ext >&5
2129 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2130 See \`config.log' for more details." >&5
2131 echo "$as_me: error: C compiler cannot create executables
2132 See \`config.log' for more details." >&2;}
2133 { (exit 77); exit 77; }; }
2136 ac_exeext
=$ac_cv_exeext
2137 echo "$as_me:$LINENO: result: $ac_file" >&5
2138 echo "${ECHO_T}$ac_file" >&6
2140 # Check the compiler produces executables we can run. If not, either
2141 # the compiler is broken, or we cross compile.
2142 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2143 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2144 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2145 # If not cross compiling, check that we can run a simple program.
2146 if test "$cross_compiling" != yes; then
2147 if { ac_try
='./$ac_file'
2148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2152 (exit $ac_status); }; }; then
2155 if test "$cross_compiling" = maybe
; then
2158 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2159 If you meant to cross compile, use \`--host'.
2160 See \`config.log' for more details." >&5
2161 echo "$as_me: error: cannot run C compiled programs.
2162 If you meant to cross compile, use \`--host'.
2163 See \`config.log' for more details." >&2;}
2164 { (exit 1); exit 1; }; }
2168 echo "$as_me:$LINENO: result: yes" >&5
2169 echo "${ECHO_T}yes" >&6
2171 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2172 ac_clean_files
=$ac_clean_files_save
2173 # Check the compiler produces executables we can run. If not, either
2174 # the compiler is broken, or we cross compile.
2175 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2176 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2177 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2178 echo "${ECHO_T}$cross_compiling" >&6
2180 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2181 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2183 (eval $ac_link) 2>&5
2185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186 (exit $ac_status); }; then
2187 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2188 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2189 # work properly (i.e., refer to `conftest.exe'), while it won't with
2191 for ac_file
in conftest.exe conftest conftest.
*; do
2192 test -f "$ac_file" ||
continue
2194 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2195 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2202 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2203 See \`config.log' for more details." >&5
2204 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2205 See \`config.log' for more details." >&2;}
2206 { (exit 1); exit 1; }; }
2209 rm -f conftest
$ac_cv_exeext
2210 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2211 echo "${ECHO_T}$ac_cv_exeext" >&6
2213 rm -f conftest.
$ac_ext
2214 EXEEXT
=$ac_cv_exeext
2217 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2218 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2219 if test "${ac_cv_objext+set}" = set; then
2220 echo $ECHO_N "(cached) $ECHO_C" >&6
2222 cat >conftest.
$ac_ext <<_ACEOF
2225 cat confdefs.h
>>conftest.
$ac_ext
2226 cat >>conftest.
$ac_ext <<_ACEOF
2227 /* end confdefs.h. */
2237 rm -f conftest.o conftest.obj
2238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2239 (eval $ac_compile) 2>&5
2241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2242 (exit $ac_status); }; then
2243 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2245 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2246 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2251 echo "$as_me: failed program was:" >&5
2252 sed 's/^/| /' conftest.
$ac_ext >&5
2254 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2255 See \`config.log' for more details." >&5
2256 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2257 See \`config.log' for more details." >&2;}
2258 { (exit 1); exit 1; }; }
2261 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2263 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2264 echo "${ECHO_T}$ac_cv_objext" >&6
2265 OBJEXT
=$ac_cv_objext
2267 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2268 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2269 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2270 echo $ECHO_N "(cached) $ECHO_C" >&6
2272 cat >conftest.
$ac_ext <<_ACEOF
2275 cat confdefs.h
>>conftest.
$ac_ext
2276 cat >>conftest.
$ac_ext <<_ACEOF
2277 /* end confdefs.h. */
2290 rm -f conftest.
$ac_objext
2291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2292 (eval $ac_compile) 2>conftest.er1
2294 grep -v '^ *+' conftest.er1
>conftest.err
2296 cat conftest.err
>&5
2297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2298 (exit $ac_status); } &&
2299 { ac_try
='test -z "$ac_c_werror_flag"
2300 || test ! -s conftest.err'
2301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2305 (exit $ac_status); }; } &&
2306 { ac_try
='test -s conftest.$ac_objext'
2307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2311 (exit $ac_status); }; }; then
2314 echo "$as_me: failed program was:" >&5
2315 sed 's/^/| /' conftest.
$ac_ext >&5
2319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2320 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2323 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2324 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2325 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2326 ac_test_CFLAGS
=${CFLAGS+set}
2327 ac_save_CFLAGS
=$CFLAGS
2329 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2330 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2331 if test "${ac_cv_prog_cc_g+set}" = set; then
2332 echo $ECHO_N "(cached) $ECHO_C" >&6
2334 cat >conftest.
$ac_ext <<_ACEOF
2337 cat confdefs.h
>>conftest.
$ac_ext
2338 cat >>conftest.
$ac_ext <<_ACEOF
2339 /* end confdefs.h. */
2349 rm -f conftest.
$ac_objext
2350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2351 (eval $ac_compile) 2>conftest.er1
2353 grep -v '^ *+' conftest.er1
>conftest.err
2355 cat conftest.err
>&5
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); } &&
2358 { ac_try
='test -z "$ac_c_werror_flag"
2359 || test ! -s conftest.err'
2360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364 (exit $ac_status); }; } &&
2365 { ac_try
='test -s conftest.$ac_objext'
2366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2370 (exit $ac_status); }; }; then
2373 echo "$as_me: failed program was:" >&5
2374 sed 's/^/| /' conftest.
$ac_ext >&5
2378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2380 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2381 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2382 if test "$ac_test_CFLAGS" = set; then
2383 CFLAGS
=$ac_save_CFLAGS
2384 elif test $ac_cv_prog_cc_g = yes; then
2385 if test "$GCC" = yes; then
2391 if test "$GCC" = yes; then
2397 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2398 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2399 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2400 echo $ECHO_N "(cached) $ECHO_C" >&6
2402 ac_cv_prog_cc_stdc
=no
2404 cat >conftest.
$ac_ext <<_ACEOF
2407 cat confdefs.h
>>conftest.
$ac_ext
2408 cat >>conftest.
$ac_ext <<_ACEOF
2409 /* end confdefs.h. */
2412 #include <sys/types.h>
2413 #include <sys/stat.h>
2414 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2415 struct buf { int x; };
2416 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2417 static char *e (p, i)
2423 static char *f (char * (*g) (char **, int), char **p, ...)
2428 s = g (p, va_arg (v,int));
2433 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2434 function prototypes and stuff, but not '\xHH' hex character constants.
2435 These don't provoke an error unfortunately, instead are silently treated
2436 as 'x'. The following induces an error, until -std1 is added to get
2437 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2438 array size at least. It's necessary to write '\x00'==0 to get something
2439 that's true only with -std1. */
2440 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2442 int test (int i, double x);
2443 struct s1 {int (*f) (int a);};
2444 struct s2 {int (*f) (double a);};
2445 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2451 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2456 # Don't try gcc -ansi; that turns off useful extensions and
2457 # breaks some systems' header files.
2458 # AIX -qlanglvl=ansi
2459 # Ultrix and OSF/1 -std1
2460 # HP-UX 10.20 and later -Ae
2461 # HP-UX older versions -Aa -D_HPUX_SOURCE
2462 # SVR4 -Xc -D__EXTENSIONS__
2463 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2465 CC
="$ac_save_CC $ac_arg"
2466 rm -f conftest.
$ac_objext
2467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2468 (eval $ac_compile) 2>conftest.er1
2470 grep -v '^ *+' conftest.er1
>conftest.err
2472 cat conftest.err
>&5
2473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2474 (exit $ac_status); } &&
2475 { ac_try
='test -z "$ac_c_werror_flag"
2476 || test ! -s conftest.err'
2477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481 (exit $ac_status); }; } &&
2482 { ac_try
='test -s conftest.$ac_objext'
2483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487 (exit $ac_status); }; }; then
2488 ac_cv_prog_cc_stdc
=$ac_arg
2491 echo "$as_me: failed program was:" >&5
2492 sed 's/^/| /' conftest.
$ac_ext >&5
2495 rm -f conftest.err conftest.
$ac_objext
2497 rm -f conftest.
$ac_ext conftest.
$ac_objext
2502 case "x$ac_cv_prog_cc_stdc" in
2504 echo "$as_me:$LINENO: result: none needed" >&5
2505 echo "${ECHO_T}none needed" >&6 ;;
2507 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2508 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2509 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2512 # Some people use a C++ compiler to compile C. Since we use `exit',
2513 # in C++ we need to declare it. In case someone uses the same compiler
2514 # for both compiling C and C++ we need to have the C++ compiler decide
2515 # the declaration of exit, since it's the most demanding environment.
2516 cat >conftest.
$ac_ext <<_ACEOF
2521 rm -f conftest.
$ac_objext
2522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2523 (eval $ac_compile) 2>conftest.er1
2525 grep -v '^ *+' conftest.er1
>conftest.err
2527 cat conftest.err
>&5
2528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2529 (exit $ac_status); } &&
2530 { ac_try
='test -z "$ac_c_werror_flag"
2531 || test ! -s conftest.err'
2532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2536 (exit $ac_status); }; } &&
2537 { ac_try
='test -s conftest.$ac_objext'
2538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2542 (exit $ac_status); }; }; then
2543 for ac_declaration
in \
2545 'extern "C" void std::exit (int) throw (); using std::exit;' \
2546 'extern "C" void std::exit (int); using std::exit;' \
2547 'extern "C" void exit (int) throw ();' \
2548 'extern "C" void exit (int);' \
2551 cat >conftest.
$ac_ext <<_ACEOF
2554 cat confdefs.h
>>conftest.
$ac_ext
2555 cat >>conftest.
$ac_ext <<_ACEOF
2556 /* end confdefs.h. */
2567 rm -f conftest.
$ac_objext
2568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2569 (eval $ac_compile) 2>conftest.er1
2571 grep -v '^ *+' conftest.er1
>conftest.err
2573 cat conftest.err
>&5
2574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2575 (exit $ac_status); } &&
2576 { ac_try
='test -z "$ac_c_werror_flag"
2577 || test ! -s conftest.err'
2578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2582 (exit $ac_status); }; } &&
2583 { ac_try
='test -s conftest.$ac_objext'
2584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588 (exit $ac_status); }; }; then
2591 echo "$as_me: failed program was:" >&5
2592 sed 's/^/| /' conftest.
$ac_ext >&5
2596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2597 cat >conftest.
$ac_ext <<_ACEOF
2600 cat confdefs.h
>>conftest.
$ac_ext
2601 cat >>conftest.
$ac_ext <<_ACEOF
2602 /* end confdefs.h. */
2612 rm -f conftest.
$ac_objext
2613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2614 (eval $ac_compile) 2>conftest.er1
2616 grep -v '^ *+' conftest.er1
>conftest.err
2618 cat conftest.err
>&5
2619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620 (exit $ac_status); } &&
2621 { ac_try
='test -z "$ac_c_werror_flag"
2622 || test ! -s conftest.err'
2623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2627 (exit $ac_status); }; } &&
2628 { ac_try
='test -s conftest.$ac_objext'
2629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633 (exit $ac_status); }; }; then
2636 echo "$as_me: failed program was:" >&5
2637 sed 's/^/| /' conftest.
$ac_ext >&5
2640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2643 if test -n "$ac_declaration"; then
2644 echo '#ifdef __cplusplus' >>confdefs.h
2645 echo $ac_declaration >>confdefs.h
2646 echo '#endif' >>confdefs.h
2650 echo "$as_me: failed program was:" >&5
2651 sed 's/^/| /' conftest.
$ac_ext >&5
2654 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2656 ac_cpp
='$CPP $CPPFLAGS'
2657 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2658 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2659 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2662 ac_cpp
='$CXXCPP $CPPFLAGS'
2663 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2664 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2665 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2666 if test -n "$ac_tool_prefix"; then
2667 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2669 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2670 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2671 echo "$as_me:$LINENO: checking for $ac_word" >&5
2672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2673 if test "${ac_cv_prog_CXX+set}" = set; then
2674 echo $ECHO_N "(cached) $ECHO_C" >&6
2676 if test -n "$CXX"; then
2677 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2683 test -z "$as_dir" && as_dir
=.
2684 for ac_exec_ext
in '' $ac_executable_extensions; do
2685 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2686 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2696 if test -n "$CXX"; then
2697 echo "$as_me:$LINENO: result: $CXX" >&5
2698 echo "${ECHO_T}$CXX" >&6
2700 echo "$as_me:$LINENO: result: no" >&5
2701 echo "${ECHO_T}no" >&6
2704 test -n "$CXX" && break
2707 if test -z "$CXX"; then
2709 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2711 # Extract the first word of "$ac_prog", so it can be a program name with args.
2712 set dummy
$ac_prog; ac_word
=$2
2713 echo "$as_me:$LINENO: checking for $ac_word" >&5
2714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2715 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2716 echo $ECHO_N "(cached) $ECHO_C" >&6
2718 if test -n "$ac_ct_CXX"; then
2719 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2725 test -z "$as_dir" && as_dir
=.
2726 for ac_exec_ext
in '' $ac_executable_extensions; do
2727 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2728 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2737 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2738 if test -n "$ac_ct_CXX"; then
2739 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2740 echo "${ECHO_T}$ac_ct_CXX" >&6
2742 echo "$as_me:$LINENO: result: no" >&5
2743 echo "${ECHO_T}no" >&6
2746 test -n "$ac_ct_CXX" && break
2748 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2754 # Provide some information about the compiler.
2755 echo "$as_me:$LINENO:" \
2756 "checking for C++ compiler version" >&5
2757 ac_compiler
=`set X $ac_compile; echo $2`
2758 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2759 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2762 (exit $ac_status); }
2763 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2764 (eval $ac_compiler -v </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); }
2774 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2775 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2776 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2777 echo $ECHO_N "(cached) $ECHO_C" >&6
2779 cat >conftest.
$ac_ext <<_ACEOF
2782 cat confdefs.h
>>conftest.
$ac_ext
2783 cat >>conftest.
$ac_ext <<_ACEOF
2784 /* end confdefs.h. */
2797 rm -f conftest.
$ac_objext
2798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2799 (eval $ac_compile) 2>conftest.er1
2801 grep -v '^ *+' conftest.er1
>conftest.err
2803 cat conftest.err
>&5
2804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805 (exit $ac_status); } &&
2806 { ac_try
='test -z "$ac_cxx_werror_flag"
2807 || test ! -s conftest.err'
2808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2812 (exit $ac_status); }; } &&
2813 { ac_try
='test -s conftest.$ac_objext'
2814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818 (exit $ac_status); }; }; then
2821 echo "$as_me: failed program was:" >&5
2822 sed 's/^/| /' conftest.
$ac_ext >&5
2826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2827 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2830 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2831 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2832 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2833 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2834 ac_save_CXXFLAGS
=$CXXFLAGS
2836 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2837 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2838 if test "${ac_cv_prog_cxx_g+set}" = set; then
2839 echo $ECHO_N "(cached) $ECHO_C" >&6
2841 cat >conftest.
$ac_ext <<_ACEOF
2844 cat confdefs.h
>>conftest.
$ac_ext
2845 cat >>conftest.
$ac_ext <<_ACEOF
2846 /* end confdefs.h. */
2856 rm -f conftest.
$ac_objext
2857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2858 (eval $ac_compile) 2>conftest.er1
2860 grep -v '^ *+' conftest.er1
>conftest.err
2862 cat conftest.err
>&5
2863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864 (exit $ac_status); } &&
2865 { ac_try
='test -z "$ac_cxx_werror_flag"
2866 || test ! -s conftest.err'
2867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871 (exit $ac_status); }; } &&
2872 { ac_try
='test -s conftest.$ac_objext'
2873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); }; }; then
2878 ac_cv_prog_cxx_g
=yes
2880 echo "$as_me: failed program was:" >&5
2881 sed 's/^/| /' conftest.
$ac_ext >&5
2885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2887 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2888 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2889 if test "$ac_test_CXXFLAGS" = set; then
2890 CXXFLAGS
=$ac_save_CXXFLAGS
2891 elif test $ac_cv_prog_cxx_g = yes; then
2892 if test "$GXX" = yes; then
2898 if test "$GXX" = yes; then
2904 for ac_declaration
in \
2906 'extern "C" void std::exit (int) throw (); using std::exit;' \
2907 'extern "C" void std::exit (int); using std::exit;' \
2908 'extern "C" void exit (int) throw ();' \
2909 'extern "C" void exit (int);' \
2912 cat >conftest.
$ac_ext <<_ACEOF
2915 cat confdefs.h
>>conftest.
$ac_ext
2916 cat >>conftest.
$ac_ext <<_ACEOF
2917 /* end confdefs.h. */
2928 rm -f conftest.
$ac_objext
2929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2930 (eval $ac_compile) 2>conftest.er1
2932 grep -v '^ *+' conftest.er1
>conftest.err
2934 cat conftest.err
>&5
2935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2936 (exit $ac_status); } &&
2937 { ac_try
='test -z "$ac_cxx_werror_flag"
2938 || test ! -s conftest.err'
2939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943 (exit $ac_status); }; } &&
2944 { ac_try
='test -s conftest.$ac_objext'
2945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949 (exit $ac_status); }; }; then
2952 echo "$as_me: failed program was:" >&5
2953 sed 's/^/| /' conftest.
$ac_ext >&5
2957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2958 cat >conftest.
$ac_ext <<_ACEOF
2961 cat confdefs.h
>>conftest.
$ac_ext
2962 cat >>conftest.
$ac_ext <<_ACEOF
2963 /* end confdefs.h. */
2973 rm -f conftest.
$ac_objext
2974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2975 (eval $ac_compile) 2>conftest.er1
2977 grep -v '^ *+' conftest.er1
>conftest.err
2979 cat conftest.err
>&5
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); } &&
2982 { ac_try
='test -z "$ac_cxx_werror_flag"
2983 || test ! -s conftest.err'
2984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2988 (exit $ac_status); }; } &&
2989 { ac_try
='test -s conftest.$ac_objext'
2990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); }; }; then
2997 echo "$as_me: failed program was:" >&5
2998 sed 's/^/| /' conftest.
$ac_ext >&5
3001 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3004 if test -n "$ac_declaration"; then
3005 echo '#ifdef __cplusplus' >>confdefs.h
3006 echo $ac_declaration >>confdefs.h
3007 echo '#endif' >>confdefs.h
3011 ac_cpp
='$CPP $CPPFLAGS'
3012 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3013 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3014 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3016 CXXFLAGS
="$save_CXXFLAGS"
3022 am__api_version
="1.9"
3023 # Find a good install program. We prefer a C program (faster),
3024 # so one script is as good as another. But avoid the broken or
3025 # incompatible versions:
3026 # SysV /etc/install, /usr/sbin/install
3027 # SunOS /usr/etc/install
3028 # IRIX /sbin/install
3030 # AmigaOS /C/install, which installs bootblocks on floppy discs
3031 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3032 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3033 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3034 # OS/2's system install, which has a completely different semantic
3035 # ./install, which can be erroneously created by make from ./install.sh.
3036 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3037 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3038 if test -z "$INSTALL"; then
3039 if test "${ac_cv_path_install+set}" = set; then
3040 echo $ECHO_N "(cached) $ECHO_C" >&6
3042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3046 test -z "$as_dir" && as_dir
=.
3047 # Account for people who put trailing slashes in PATH elements.
3049 .
/ | .
// |
/cC
/* | \
3050 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3051 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3054 # OSF1 and SCO ODT 3.0 have their own names for install.
3055 # Don't use installbsd from OSF since it installs stuff as root
3057 for ac_prog
in ginstall scoinst
install; do
3058 for ac_exec_ext
in '' $ac_executable_extensions; do
3059 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3060 if test $ac_prog = install &&
3061 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3062 # AIX install. It has an incompatible calling convention.
3064 elif test $ac_prog = install &&
3065 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3066 # program-specific install script used by HP pwplus--don't use.
3069 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3081 if test "${ac_cv_path_install+set}" = set; then
3082 INSTALL
=$ac_cv_path_install
3084 # As a last resort, use the slow shell script. We don't cache a
3085 # path for INSTALL within a source directory, because that will
3086 # break other packages using the cache if that directory is
3087 # removed, or if the path is relative.
3088 INSTALL
=$ac_install_sh
3091 echo "$as_me:$LINENO: result: $INSTALL" >&5
3092 echo "${ECHO_T}$INSTALL" >&6
3094 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3095 # It thinks the first close brace ends the variable substitution.
3096 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3098 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3100 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3102 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3103 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
3106 echo timestamp
> conftest.
file
3107 # Do `set' in a subshell so we don't clobber the current shell's
3108 # arguments. Must try -L first in case configure is actually a
3109 # symlink; some systems play weird games with the mod time of symlinks
3110 # (eg FreeBSD returns the mod time of the symlink's containing
3113 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
3114 if test "$*" = "X"; then
3116 set X
`ls -t $srcdir/configure conftest.file`
3119 if test "$*" != "X $srcdir/configure conftest.file" \
3120 && test "$*" != "X conftest.file $srcdir/configure"; then
3122 # If neither matched, then we have a broken ls. This can happen
3123 # if, for instance, CONFIG_SHELL is bash and it inherits a
3124 # broken ls alias from the environment. This has actually
3125 # happened. Such a system could not be considered "sane".
3126 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
3127 alias in your environment" >&5
3128 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
3129 alias in your environment" >&2;}
3130 { (exit 1); exit 1; }; }
3133 test "$2" = conftest.
file
3139 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3140 Check your system clock" >&5
3141 echo "$as_me: error: newly created file is older than distributed files!
3142 Check your system clock" >&2;}
3143 { (exit 1); exit 1; }; }
3145 echo "$as_me:$LINENO: result: yes" >&5
3146 echo "${ECHO_T}yes" >&6
3147 test "$program_prefix" != NONE
&&
3148 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
3149 # Use a double $ so make ignores it.
3150 test "$program_suffix" != NONE
&&
3151 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
3152 # Double any \ or $. echo might interpret backslashes.
3153 # By default was `s,x,x', remove it if useless.
3154 cat <<\_ACEOF
>conftest.
sed
3155 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
3157 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
3160 # expand $ac_aux_dir to an absolute path
3161 am_aux_dir
=`cd $ac_aux_dir && pwd`
3163 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
3164 # Use eval to expand $SHELL
3165 if eval "$MISSING --run true"; then
3166 am_missing_run
="$MISSING --run "
3169 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3170 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3173 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
3174 # We used to keeping the `.' as first argument, in order to
3175 # allow $(mkdir_p) to be used without argument. As in
3176 # $(mkdir_p) $(somedir)
3177 # where $(somedir) is conditionally defined. However this is wrong
3179 # 1. if the package is installed by a user who cannot write `.'
3180 # make install will fail,
3181 # 2. the above comment should most certainly read
3182 # $(mkdir_p) $(DESTDIR)$(somedir)
3183 # so it does not work when $(somedir) is undefined and
3184 # $(DESTDIR) is not.
3185 # To support the latter case, we have to write
3186 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
3187 # so the `.' trick is pointless.
3188 mkdir_p
='mkdir -p --'
3190 # On NextStep and OpenStep, the `mkdir' command does not
3191 # recognize any option. It will interpret all options as
3192 # directories to create, and then abort because `.' already
3194 for d
in .
/-p .
/--version;
3196 test -d $d && rmdir $d
3198 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
3199 if test -f "$ac_aux_dir/mkinstalldirs"; then
3200 mkdir_p
='$(mkinstalldirs)'
3202 mkdir_p
='$(install_sh) -d'
3206 for ac_prog
in gawk mawk nawk
awk
3208 # Extract the first word of "$ac_prog", so it can be a program name with args.
3209 set dummy
$ac_prog; ac_word
=$2
3210 echo "$as_me:$LINENO: checking for $ac_word" >&5
3211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3212 if test "${ac_cv_prog_AWK+set}" = set; then
3213 echo $ECHO_N "(cached) $ECHO_C" >&6
3215 if test -n "$AWK"; then
3216 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3222 test -z "$as_dir" && as_dir
=.
3223 for ac_exec_ext
in '' $ac_executable_extensions; do
3224 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3225 ac_cv_prog_AWK
="$ac_prog"
3226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3235 if test -n "$AWK"; then
3236 echo "$as_me:$LINENO: result: $AWK" >&5
3237 echo "${ECHO_T}$AWK" >&6
3239 echo "$as_me:$LINENO: result: no" >&5
3240 echo "${ECHO_T}no" >&6
3243 test -n "$AWK" && break
3246 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3247 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3248 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3249 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3250 echo $ECHO_N "(cached) $ECHO_C" >&6
3252 cat >conftest.
make <<\_ACEOF
3254 @
echo 'ac_maketemp="$(MAKE)"'
3256 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3257 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3258 if test -n "$ac_maketemp"; then
3259 eval ac_cv_prog_make_
${ac_make}_set
=yes
3261 eval ac_cv_prog_make_
${ac_make}_set
=no
3265 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3266 echo "$as_me:$LINENO: result: yes" >&5
3267 echo "${ECHO_T}yes" >&6
3270 echo "$as_me:$LINENO: result: no" >&5
3271 echo "${ECHO_T}no" >&6
3272 SET_MAKE
="MAKE=${MAKE-make}"
3275 rm -rf .tst
2>/dev
/null
3276 mkdir .tst
2>/dev
/null
3277 if test -d .tst
; then
3282 rmdir .tst
2>/dev
/null
3284 DEPDIR
="${am__leading_dot}deps"
3286 ac_config_commands
="$ac_config_commands depfiles"
3289 am_make
=${MAKE-make}
3290 cat > confinc
<< 'END'
3295 # If we don't find an include directive, just comment out the code.
3296 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3297 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3301 # First try GNU make style include.
3302 echo "include confinc" > confmf
3303 # We grep out `Entering directory' and `Leaving directory'
3304 # messages which can occur if `w' ends up in MAKEFLAGS.
3305 # In particular we don't look at `^make:' because GNU make might
3306 # be invoked under some other name (usually "gmake"), in which
3307 # case it prints its new name instead of `make'.
3308 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3313 # Now try BSD make style include.
3314 if test "$am__include" = "#"; then
3315 echo '.include "confinc"' > confmf
3316 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3317 am__include
=.include
3324 echo "$as_me:$LINENO: result: $_am_result" >&5
3325 echo "${ECHO_T}$_am_result" >&6
3326 rm -f confinc confmf
3328 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3329 if test "${enable_dependency_tracking+set}" = set; then
3330 enableval
="$enable_dependency_tracking"
3333 if test "x$enable_dependency_tracking" != xno
; then
3334 am_depcomp
="$ac_aux_dir/depcomp"
3339 if test "x$enable_dependency_tracking" != xno; then
3349 # test to see if srcdir already configured
3350 if test "`cd $srcdir && pwd`" != "`pwd`" &&
3351 test -f $srcdir/config.status
; then
3352 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3353 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3354 { (exit 1); exit 1; }; }
3357 # test whether we have cygpath
3358 if test -z "$CYGPATH_W"; then
3359 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3360 CYGPATH_W
='cygpath -w'
3367 # Define the identity of the package.
3369 VERSION
='version-unused'
3372 cat >>confdefs.h
<<_ACEOF
3373 #define PACKAGE "$PACKAGE"
3377 cat >>confdefs.h
<<_ACEOF
3378 #define VERSION "$VERSION"
3381 # Some tools Automake needs.
3383 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3386 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3389 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3392 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3395 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3397 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3399 # Installed binaries are usually stripped using `strip' when the user
3400 # run `make install-strip'. However `strip' might not be the right
3401 # tool to use in cross-compilation environments, therefore Automake
3402 # will honor the `STRIP' environment variable to overrule this program.
3403 if test "$cross_compiling" != no
; then
3404 if test -n "$ac_tool_prefix"; then
3405 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3406 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3407 echo "$as_me:$LINENO: checking for $ac_word" >&5
3408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3409 if test "${ac_cv_prog_STRIP+set}" = set; then
3410 echo $ECHO_N "(cached) $ECHO_C" >&6
3412 if test -n "$STRIP"; then
3413 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3419 test -z "$as_dir" && as_dir
=.
3420 for ac_exec_ext
in '' $ac_executable_extensions; do
3421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3422 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3431 STRIP
=$ac_cv_prog_STRIP
3432 if test -n "$STRIP"; then
3433 echo "$as_me:$LINENO: result: $STRIP" >&5
3434 echo "${ECHO_T}$STRIP" >&6
3436 echo "$as_me:$LINENO: result: no" >&5
3437 echo "${ECHO_T}no" >&6
3441 if test -z "$ac_cv_prog_STRIP"; then
3443 # Extract the first word of "strip", so it can be a program name with args.
3444 set dummy strip
; ac_word
=$2
3445 echo "$as_me:$LINENO: checking for $ac_word" >&5
3446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3447 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3448 echo $ECHO_N "(cached) $ECHO_C" >&6
3450 if test -n "$ac_ct_STRIP"; then
3451 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3457 test -z "$as_dir" && as_dir
=.
3458 for ac_exec_ext
in '' $ac_executable_extensions; do
3459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3460 ac_cv_prog_ac_ct_STRIP
="strip"
3461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3467 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3470 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3471 if test -n "$ac_ct_STRIP"; then
3472 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3473 echo "${ECHO_T}$ac_ct_STRIP" >&6
3475 echo "$as_me:$LINENO: result: no" >&5
3476 echo "${ECHO_T}no" >&6
3481 STRIP
="$ac_cv_prog_STRIP"
3485 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3487 # We need awk for the "check" target. The system "awk" is bad on
3489 # Always define AMTAR for backward compatibility.
3491 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3493 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3498 depcc
="$CC" am_compiler_list
=
3500 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3501 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3502 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3503 echo $ECHO_N "(cached) $ECHO_C" >&6
3505 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3506 # We make a subdir and do the tests there. Otherwise we can end up
3507 # making bogus files that we don't know about and never remove. For
3508 # instance it was reported that on HP-UX the gcc test will end up
3509 # making a dummy file named `D' -- because `-MD' means `put the output
3512 # Copy depcomp to subdir because otherwise we won't find it if we're
3513 # using a relative directory.
3514 cp "$am_depcomp" conftest.dir
3516 # We will build objects and dependencies in a subdirectory because
3517 # it helps to detect inapplicable dependency modes. For instance
3518 # both Tru64's cc and ICC support -MD to output dependencies as a
3519 # side effect of compilation, but ICC will put the dependencies in
3520 # the current directory while Tru64 will put them in the object
3524 am_cv_CC_dependencies_compiler_type
=none
3525 if test "$am_compiler_list" = ""; then
3526 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3528 for depmode
in $am_compiler_list; do
3529 # Setup a source with many dependencies, because some compilers
3530 # like to wrap large dependency lists on column 80 (with \), and
3531 # we should not choose a depcomp mode which is confused by this.
3533 # We need to recreate these files for each test, as the compiler may
3534 # overwrite some of them when testing with obscure command lines.
3535 # This happens at least with the AIX C compiler.
3537 for i
in 1 2 3 4 5 6; do
3538 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3539 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3540 # Solaris 8's {/usr,}/bin/sh.
3541 touch sub
/conftst
$i.h
3543 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3547 # after this tag, mechanisms are not by side-effect, so they'll
3548 # only be used when explicitly requested
3549 if test "x$enable_dependency_tracking" = xyes
; then
3557 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3558 # mode. It turns out that the SunPro C++ compiler does not properly
3559 # handle `-M -o', and we need to detect this.
3560 if depmode
=$depmode \
3561 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3562 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3563 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3564 >/dev
/null
2>conftest.err
&&
3565 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3566 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3567 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3568 # icc doesn't choke on unknown options, it will just issue warnings
3569 # or remarks (even with -Werror). So we grep stderr for any message
3570 # that says an option was ignored or not supported.
3571 # When given -MP, icc 7.0 and 7.1 complain thusly:
3572 # icc: Command line warning: ignoring option '-M'; no argument required
3573 # The diagnosis changed in icc 8.0:
3574 # icc: Command line remark: option '-MP' not supported
3575 if (grep 'ignoring option' conftest.err ||
3576 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3577 am_cv_CC_dependencies_compiler_type
=$depmode
3586 am_cv_CC_dependencies_compiler_type
=none
3590 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3591 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3592 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3597 test "x$enable_dependency_tracking" != xno \
3598 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3600 am__fastdepCC_FALSE
='#'
3602 am__fastdepCC_TRUE
='#'
3603 am__fastdepCC_FALSE
=
3607 depcc
="$CXX" am_compiler_list
=
3609 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3610 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3611 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3612 echo $ECHO_N "(cached) $ECHO_C" >&6
3614 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3615 # We make a subdir and do the tests there. Otherwise we can end up
3616 # making bogus files that we don't know about and never remove. For
3617 # instance it was reported that on HP-UX the gcc test will end up
3618 # making a dummy file named `D' -- because `-MD' means `put the output
3621 # Copy depcomp to subdir because otherwise we won't find it if we're
3622 # using a relative directory.
3623 cp "$am_depcomp" conftest.dir
3625 # We will build objects and dependencies in a subdirectory because
3626 # it helps to detect inapplicable dependency modes. For instance
3627 # both Tru64's cc and ICC support -MD to output dependencies as a
3628 # side effect of compilation, but ICC will put the dependencies in
3629 # the current directory while Tru64 will put them in the object
3633 am_cv_CXX_dependencies_compiler_type
=none
3634 if test "$am_compiler_list" = ""; then
3635 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3637 for depmode
in $am_compiler_list; do
3638 # Setup a source with many dependencies, because some compilers
3639 # like to wrap large dependency lists on column 80 (with \), and
3640 # we should not choose a depcomp mode which is confused by this.
3642 # We need to recreate these files for each test, as the compiler may
3643 # overwrite some of them when testing with obscure command lines.
3644 # This happens at least with the AIX C compiler.
3646 for i
in 1 2 3 4 5 6; do
3647 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3648 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3649 # Solaris 8's {/usr,}/bin/sh.
3650 touch sub
/conftst
$i.h
3652 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3656 # after this tag, mechanisms are not by side-effect, so they'll
3657 # only be used when explicitly requested
3658 if test "x$enable_dependency_tracking" = xyes
; then
3666 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3667 # mode. It turns out that the SunPro C++ compiler does not properly
3668 # handle `-M -o', and we need to detect this.
3669 if depmode
=$depmode \
3670 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3671 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3672 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3673 >/dev
/null
2>conftest.err
&&
3674 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3675 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3676 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3677 # icc doesn't choke on unknown options, it will just issue warnings
3678 # or remarks (even with -Werror). So we grep stderr for any message
3679 # that says an option was ignored or not supported.
3680 # When given -MP, icc 7.0 and 7.1 complain thusly:
3681 # icc: Command line warning: ignoring option '-M'; no argument required
3682 # The diagnosis changed in icc 8.0:
3683 # icc: Command line remark: option '-MP' not supported
3684 if (grep 'ignoring option' conftest.err ||
3685 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3686 am_cv_CXX_dependencies_compiler_type
=$depmode
3695 am_cv_CXX_dependencies_compiler_type
=none
3699 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3700 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3701 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3706 test "x$enable_dependency_tracking" != xno \
3707 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3708 am__fastdepCXX_TRUE
=
3709 am__fastdepCXX_FALSE
='#'
3711 am__fastdepCXX_TRUE
='#'
3712 am__fastdepCXX_FALSE
=
3718 if test -n "$ac_tool_prefix"; then
3719 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3720 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3721 echo "$as_me:$LINENO: checking for $ac_word" >&5
3722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3723 if test "${ac_cv_prog_AS+set}" = set; then
3724 echo $ECHO_N "(cached) $ECHO_C" >&6
3726 if test -n "$AS"; then
3727 ac_cv_prog_AS
="$AS" # Let the user override the test.
3729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3733 test -z "$as_dir" && as_dir
=.
3734 for ac_exec_ext
in '' $ac_executable_extensions; do
3735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3736 ac_cv_prog_AS
="${ac_tool_prefix}as"
3737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3746 if test -n "$AS"; then
3747 echo "$as_me:$LINENO: result: $AS" >&5
3748 echo "${ECHO_T}$AS" >&6
3750 echo "$as_me:$LINENO: result: no" >&5
3751 echo "${ECHO_T}no" >&6
3755 if test -z "$ac_cv_prog_AS"; then
3757 # Extract the first word of "as", so it can be a program name with args.
3758 set dummy as
; ac_word
=$2
3759 echo "$as_me:$LINENO: checking for $ac_word" >&5
3760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3761 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3762 echo $ECHO_N "(cached) $ECHO_C" >&6
3764 if test -n "$ac_ct_AS"; then
3765 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3771 test -z "$as_dir" && as_dir
=.
3772 for ac_exec_ext
in '' $ac_executable_extensions; do
3773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3774 ac_cv_prog_ac_ct_AS
="as"
3775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3783 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3784 if test -n "$ac_ct_AS"; then
3785 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3786 echo "${ECHO_T}$ac_ct_AS" >&6
3788 echo "$as_me:$LINENO: result: no" >&5
3789 echo "${ECHO_T}no" >&6
3797 if test -n "$ac_tool_prefix"; then
3798 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
3799 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
3800 echo "$as_me:$LINENO: checking for $ac_word" >&5
3801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3802 if test "${ac_cv_prog_LD+set}" = set; then
3803 echo $ECHO_N "(cached) $ECHO_C" >&6
3805 if test -n "$LD"; then
3806 ac_cv_prog_LD
="$LD" # Let the user override the test.
3808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3812 test -z "$as_dir" && as_dir
=.
3813 for ac_exec_ext
in '' $ac_executable_extensions; do
3814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3815 ac_cv_prog_LD
="${ac_tool_prefix}ld"
3816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3825 if test -n "$LD"; then
3826 echo "$as_me:$LINENO: result: $LD" >&5
3827 echo "${ECHO_T}$LD" >&6
3829 echo "$as_me:$LINENO: result: no" >&5
3830 echo "${ECHO_T}no" >&6
3834 if test -z "$ac_cv_prog_LD"; then
3836 # Extract the first word of "ld", so it can be a program name with args.
3837 set dummy ld
; ac_word
=$2
3838 echo "$as_me:$LINENO: checking for $ac_word" >&5
3839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3840 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
3841 echo $ECHO_N "(cached) $ECHO_C" >&6
3843 if test -n "$ac_ct_LD"; then
3844 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
3846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3850 test -z "$as_dir" && as_dir
=.
3851 for ac_exec_ext
in '' $ac_executable_extensions; do
3852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3853 ac_cv_prog_ac_ct_LD
="ld"
3854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3862 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
3863 if test -n "$ac_ct_LD"; then
3864 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
3865 echo "${ECHO_T}$ac_ct_LD" >&6
3867 echo "$as_me:$LINENO: result: no" >&5
3868 echo "${ECHO_T}no" >&6
3876 if test -n "$ac_tool_prefix"; then
3877 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3878 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3879 echo "$as_me:$LINENO: checking for $ac_word" >&5
3880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3881 if test "${ac_cv_prog_AR+set}" = set; then
3882 echo $ECHO_N "(cached) $ECHO_C" >&6
3884 if test -n "$AR"; then
3885 ac_cv_prog_AR
="$AR" # Let the user override the test.
3887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3891 test -z "$as_dir" && as_dir
=.
3892 for ac_exec_ext
in '' $ac_executable_extensions; do
3893 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3894 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3904 if test -n "$AR"; then
3905 echo "$as_me:$LINENO: result: $AR" >&5
3906 echo "${ECHO_T}$AR" >&6
3908 echo "$as_me:$LINENO: result: no" >&5
3909 echo "${ECHO_T}no" >&6
3913 if test -z "$ac_cv_prog_AR"; then
3915 # Extract the first word of "ar", so it can be a program name with args.
3916 set dummy
ar; ac_word
=$2
3917 echo "$as_me:$LINENO: checking for $ac_word" >&5
3918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3919 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3920 echo $ECHO_N "(cached) $ECHO_C" >&6
3922 if test -n "$ac_ct_AR"; then
3923 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3929 test -z "$as_dir" && as_dir
=.
3930 for ac_exec_ext
in '' $ac_executable_extensions; do
3931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3932 ac_cv_prog_ac_ct_AR
="ar"
3933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3941 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3942 if test -n "$ac_ct_AR"; then
3943 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3944 echo "${ECHO_T}$ac_ct_AR" >&6
3946 echo "$as_me:$LINENO: result: no" >&5
3947 echo "${ECHO_T}no" >&6
3955 if test -n "$ac_tool_prefix"; then
3956 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3957 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3958 echo "$as_me:$LINENO: checking for $ac_word" >&5
3959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3960 if test "${ac_cv_prog_RANLIB+set}" = set; then
3961 echo $ECHO_N "(cached) $ECHO_C" >&6
3963 if test -n "$RANLIB"; then
3964 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3970 test -z "$as_dir" && as_dir
=.
3971 for ac_exec_ext
in '' $ac_executable_extensions; do
3972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3973 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3982 RANLIB
=$ac_cv_prog_RANLIB
3983 if test -n "$RANLIB"; then
3984 echo "$as_me:$LINENO: result: $RANLIB" >&5
3985 echo "${ECHO_T}$RANLIB" >&6
3987 echo "$as_me:$LINENO: result: no" >&5
3988 echo "${ECHO_T}no" >&6
3992 if test -z "$ac_cv_prog_RANLIB"; then
3993 ac_ct_RANLIB
=$RANLIB
3994 # Extract the first word of "ranlib", so it can be a program name with args.
3995 set dummy ranlib
; ac_word
=$2
3996 echo "$as_me:$LINENO: checking for $ac_word" >&5
3997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3998 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3999 echo $ECHO_N "(cached) $ECHO_C" >&6
4001 if test -n "$ac_ct_RANLIB"; then
4002 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4008 test -z "$as_dir" && as_dir
=.
4009 for ac_exec_ext
in '' $ac_executable_extensions; do
4010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4011 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4018 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4021 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4022 if test -n "$ac_ct_RANLIB"; then
4023 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4024 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4026 echo "$as_me:$LINENO: result: no" >&5
4027 echo "${ECHO_T}no" >&6
4030 RANLIB
=$ac_ct_RANLIB
4032 RANLIB
="$ac_cv_prog_RANLIB"
4035 for ac_prog
in gawk mawk nawk
awk
4037 # Extract the first word of "$ac_prog", so it can be a program name with args.
4038 set dummy
$ac_prog; ac_word
=$2
4039 echo "$as_me:$LINENO: checking for $ac_word" >&5
4040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4041 if test "${ac_cv_prog_AWK+set}" = set; then
4042 echo $ECHO_N "(cached) $ECHO_C" >&6
4044 if test -n "$AWK"; then
4045 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4051 test -z "$as_dir" && as_dir
=.
4052 for ac_exec_ext
in '' $ac_executable_extensions; do
4053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4054 ac_cv_prog_AWK
="$ac_prog"
4055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4064 if test -n "$AWK"; then
4065 echo "$as_me:$LINENO: result: $AWK" >&5
4066 echo "${ECHO_T}$AWK" >&6
4068 echo "$as_me:$LINENO: result: no" >&5
4069 echo "${ECHO_T}no" >&6
4072 test -n "$AWK" && break
4075 for ac_prog
in jar fastjar gjar
4077 # Extract the first word of "$ac_prog", so it can be a program name with args.
4078 set dummy
$ac_prog; ac_word
=$2
4079 echo "$as_me:$LINENO: checking for $ac_word" >&5
4080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4081 if test "${ac_cv_prog_JAR+set}" = set; then
4082 echo $ECHO_N "(cached) $ECHO_C" >&6
4084 if test -n "$JAR"; then
4085 ac_cv_prog_JAR
="$JAR" # Let the user override the test.
4087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4091 test -z "$as_dir" && as_dir
=.
4092 for ac_exec_ext
in '' $ac_executable_extensions; do
4093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4094 ac_cv_prog_JAR
="$ac_prog"
4095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4104 if test -n "$JAR"; then
4105 echo "$as_me:$LINENO: result: $JAR" >&5
4106 echo "${ECHO_T}$JAR" >&6
4108 echo "$as_me:$LINENO: result: no" >&5
4109 echo "${ECHO_T}no" >&6
4112 test -n "$JAR" && break
4114 test -n "$JAR" || JAR
="no"
4116 # Extract the first word of "zip", so it can be a program name with args.
4117 set dummy
zip; ac_word
=$2
4118 echo "$as_me:$LINENO: checking for $ac_word" >&5
4119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4120 if test "${ac_cv_path_ZIP+set}" = set; then
4121 echo $ECHO_N "(cached) $ECHO_C" >&6
4125 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
4128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4132 test -z "$as_dir" && as_dir
=.
4133 for ac_exec_ext
in '' $ac_executable_extensions; do
4134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4135 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
4136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4142 test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP
="no"
4148 if test -n "$ZIP"; then
4149 echo "$as_me:$LINENO: result: $ZIP" >&5
4150 echo "${ECHO_T}$ZIP" >&6
4152 echo "$as_me:$LINENO: result: no" >&5
4153 echo "${ECHO_T}no" >&6
4156 # Extract the first word of "unzip", so it can be a program name with args.
4157 set dummy
unzip; ac_word
=$2
4158 echo "$as_me:$LINENO: checking for $ac_word" >&5
4159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4160 if test "${ac_cv_path_UNZIP+set}" = set; then
4161 echo $ECHO_N "(cached) $ECHO_C" >&6
4165 ac_cv_path_UNZIP
="$UNZIP" # Let the user override the test with a path.
4168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4172 test -z "$as_dir" && as_dir
=.
4173 for ac_exec_ext
in '' $ac_executable_extensions; do
4174 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4175 ac_cv_path_UNZIP
="$as_dir/$ac_word$ac_exec_ext"
4176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4182 test -z "$ac_cv_path_UNZIP" && ac_cv_path_UNZIP
="unzip"
4186 UNZIP
=$ac_cv_path_UNZIP
4188 if test -n "$UNZIP"; then
4189 echo "$as_me:$LINENO: result: $UNZIP" >&5
4190 echo "${ECHO_T}$UNZIP" >&6
4192 echo "$as_me:$LINENO: result: no" >&5
4193 echo "${ECHO_T}no" >&6
4198 if test "$JAR" = no
; then
4206 if test "$ZIP" = no
; then
4207 if test "$JAR" = no
; then
4208 { { echo "$as_me:$LINENO: error: cannot find neither zip nor jar, cannot continue" >&5
4209 echo "$as_me: error: cannot find neither zip nor jar, cannot continue" >&2;}
4210 { (exit 1); exit 1; }; }
4213 # InfoZIP available, use the 'guaranteed' Bourne-shell JAR to build libjava
4214 JAR
=`pwd`/scripts
/jar
4217 # Find a good install program. We prefer a C program (faster),
4218 # so one script is as good as another. But avoid the broken or
4219 # incompatible versions:
4220 # SysV /etc/install, /usr/sbin/install
4221 # SunOS /usr/etc/install
4222 # IRIX /sbin/install
4224 # AmigaOS /C/install, which installs bootblocks on floppy discs
4225 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4226 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4227 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4228 # OS/2's system install, which has a completely different semantic
4229 # ./install, which can be erroneously created by make from ./install.sh.
4230 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4231 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4232 if test -z "$INSTALL"; then
4233 if test "${ac_cv_path_install+set}" = set; then
4234 echo $ECHO_N "(cached) $ECHO_C" >&6
4236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4240 test -z "$as_dir" && as_dir
=.
4241 # Account for people who put trailing slashes in PATH elements.
4243 .
/ | .
// |
/cC
/* | \
4244 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4245 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4248 # OSF1 and SCO ODT 3.0 have their own names for install.
4249 # Don't use installbsd from OSF since it installs stuff as root
4251 for ac_prog
in ginstall scoinst
install; do
4252 for ac_exec_ext
in '' $ac_executable_extensions; do
4253 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4254 if test $ac_prog = install &&
4255 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4256 # AIX install. It has an incompatible calling convention.
4258 elif test $ac_prog = install &&
4259 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4260 # program-specific install script used by HP pwplus--don't use.
4263 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4275 if test "${ac_cv_path_install+set}" = set; then
4276 INSTALL
=$ac_cv_path_install
4278 # As a last resort, use the slow shell script. We don't cache a
4279 # path for INSTALL within a source directory, because that will
4280 # break other packages using the cache if that directory is
4281 # removed, or if the path is relative.
4282 INSTALL
=$ac_install_sh
4285 echo "$as_me:$LINENO: result: $INSTALL" >&5
4286 echo "${ECHO_T}$INSTALL" >&6
4288 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4289 # It thinks the first close brace ends the variable substitution.
4290 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4292 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4294 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4297 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4298 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4299 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4300 if test "${enable_maintainer_mode+set}" = set; then
4301 enableval
="$enable_maintainer_mode"
4302 USE_MAINTAINER_MODE
=$enableval
4304 USE_MAINTAINER_MODE
=no
4306 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4307 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4310 if test $USE_MAINTAINER_MODE = yes; then
4311 MAINTAINER_MODE_TRUE
=
4312 MAINTAINER_MODE_FALSE
='#'
4314 MAINTAINER_MODE_TRUE
='#'
4315 MAINTAINER_MODE_FALSE
=
4318 MAINT
=$MAINTAINER_MODE_TRUE
4324 # configure.host sets the following important variables
4325 # libgcj_cflags - host specific C compiler flags
4326 # libgcj_cxxflags - host specific C++ compiler flags
4327 # libgcj_javaflags - host specific Java compiler flags
4333 .
${srcdir}/configure.
host
4335 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4336 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4337 if test "${acl_cv_prog_gnu_ld+set}" = set; then
4338 echo $ECHO_N "(cached) $ECHO_C" >&6
4340 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4341 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4342 acl_cv_prog_gnu_ld
=yes
4344 acl_cv_prog_gnu_ld
=no
4347 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
4348 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
4349 with_gnu_ld
=$acl_cv_prog_gnu_ld
4351 echo "$as_me:$LINENO: checking if the GNU linker ($LD) supports -Bsymbolic-functions" >&5
4352 echo $ECHO_N "checking if the GNU linker ($LD) supports -Bsymbolic-functions... $ECHO_C" >&6
4353 if test "${acl_cv_prog_gnu_ld_symbolic+set}" = set; then
4354 echo $ECHO_N "(cached) $ECHO_C" >&6
4357 acl_cv_prog_gnu_ld_symbolic
=no
4359 if test x
"$with_gnu_ld" = x
"yes"; then
4360 if $LD --help 2>&1 </dev
/null |
grep Bsymbolic-functions
1>&5; then
4361 acl_cv_prog_gnu_ld_symbolic
=yes
4365 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld_symbolic" >&5
4366 echo "${ECHO_T}$acl_cv_prog_gnu_ld_symbolic" >&6
4367 if test x
"$acl_cv_prog_gnu_ld_symbolic" = x
"yes"; then
4368 SYMBOLIC_LDFLAGS
="-Wl,-Bsymbolic-functions"
4373 libgcj_ld_symbolic_functions
=$SYMBOLIC_LDFLAGS
4374 if test -z "$libgcj_ld_symbolic"; then
4375 libgcj_ld_symbolic
=$SYMBOLIC_LDFLAGS
4378 LIBGCJ_CFLAGS
="${libgcj_cflags}"
4379 LIBGCJ_CXXFLAGS
="${libgcj_cxxflags}"
4380 LIBGCJ_JAVAFLAGS
="${libgcj_javaflags}"
4381 LIBGCJ_LD_SYMBOLIC
="${libgcj_ld_symbolic}"
4382 LIBGCJ_LD_SYMBOLIC_FUNCTIONS
="${libgcj_ld_symbolic_functions}"
4389 # Only use libltdl for non-newlib builds.
4390 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
4391 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
4392 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
4394 libname_spec
='lib$name'
4402 shlibpath_overrides_runpath
=unknown
4404 dynamic_linker
="$host_os ld.so"
4405 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
4406 if test "$GCC" = yes; then
4407 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
4408 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
4409 # if the path contains ";" then we assume it to be the separator
4410 # otherwise default to the standard path separator (i.e. ":") - it is
4411 # assumed that no part of a normal pathname contains ";" but that should
4412 # okay in the real world where ";" in dirpaths is itself problematic.
4413 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
4415 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
4418 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
4420 need_lib_prefix
=unknown
4421 hardcode_into_libs
=no
4423 # when you set need_version to no, make sure it does not cause -set_version
4424 # flags to be left without arguments
4425 need_version
=unknown
4430 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
4431 shlibpath_var
=LIBPATH
4433 # AIX 3 has no versioning support, so we append a major version to the name.
4434 soname_spec
='${libname}${release}${shared_ext}$major'
4441 hardcode_into_libs
=yes
4442 if test "$host_cpu" = ia64
; then
4443 # AIX 5 supports IA64
4444 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
4445 shlibpath_var
=LD_LIBRARY_PATH
4447 # With GCC up to 2.95.x, collect2 would create an import file
4448 # for dependence libraries. The import file would start with
4449 # the line `#! .'. This would cause the generated library to
4450 # depend on `.', always an invalid library. This was fixed in
4451 # development snapshots of GCC prior to 3.0.
4453 aix4 | aix4.
[01] | aix4.
[01].
*)
4454 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
4456 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
4463 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
4464 # soname into executable. Probably we can add versioning support to
4465 # collect2, so additional links can be useful in future.
4466 if test "$aix_use_runtimelinking" = yes; then
4467 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
4468 # instead of lib<name>.a to let people know that these are not
4469 # typical AIX shared libraries.
4470 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4472 # We preserve .a as extension for shared libraries through AIX4.2
4473 # and later when we are not doing run time linking.
4474 library_names_spec
='${libname}${release}.a $libname.a'
4475 soname_spec
='${libname}${release}${shared_ext}$major'
4477 shlibpath_var
=LIBPATH
4482 library_names_spec
='$libname.ixlibrary $libname.a'
4483 # Create ${libname}_ixlibrary.a entries in /sys/libs.
4484 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'
4488 library_names_spec
='${libname}${shared_ext}'
4489 dynamic_linker
="$host_os ld.so"
4490 shlibpath_var
=LIBRARY_PATH
4496 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4497 soname_spec
='${libname}${release}${shared_ext}$major'
4498 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
4499 shlibpath_var
=LD_LIBRARY_PATH
4500 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
4501 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
4502 # the default ld.so.conf also contains /usr/contrib/lib and
4503 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
4504 # libtool to hard-code these into programs
4507 cygwin
* | mingw
* | pw32
*)
4508 version_type
=windows
4513 case $GCC,$host_os in
4514 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
4515 library_names_spec
='$libname.dll.a'
4516 # DLL is installed to $(libdir)/../bin by postinstall_cmds
4517 postinstall_cmds
='base_file=`basename \${file}`~
4518 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
4519 dldir=$destdir/`dirname \$dlpath`~
4520 test -d \$dldir || mkdir -p \$dldir~
4521 $install_prog $dir/$dlname \$dldir/$dlname'
4522 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
4523 dlpath=$dir/\$dldll~
4525 shlibpath_overrides_runpath
=yes
4529 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
4530 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
4531 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
4534 # MinGW DLLs use traditional 'lib' prefix
4535 soname_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
4536 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
4537 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
4538 # It is most probably a Windows format PATH printed by
4539 # mingw gcc, but we are running on Cygwin. Gcc prints its search
4540 # path with ; separators, and with drive letters. We can handle the
4541 # drive letters (cygwin fileutils understands them), so leave them,
4542 # especially as we might pass files found there to a mingw objdump,
4543 # which wouldn't understand a cygwinified path. Ahh.
4544 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
4546 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
4550 # pw32 DLLs use 'pw' prefix rather than 'lib'
4551 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}${shared_ext}'
4557 library_names_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
4560 dynamic_linker
='Win32 ld.exe'
4561 # FIXME: first we should search . and the directory the executable is in
4565 darwin
* | rhapsody
*)
4566 dynamic_linker
="$host_os dyld"
4570 # FIXME: Relying on posixy $() will cause problems for
4571 # cross-compilation, but unfortunately the echo tests do not
4572 # yet detect zsh echo's removal of \ escapes.
4573 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
4574 soname_spec
='${libname}${release}${major}$shared_ext'
4575 shlibpath_overrides_runpath
=yes
4576 shlibpath_var
=DYLD_LIBRARY_PATH
4577 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
4578 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
4579 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
4580 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"`
4582 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
4589 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
4590 soname_spec
='${libname}${release}${shared_ext}$major'
4591 shlibpath_var
=LD_LIBRARY_PATH
4599 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
4600 version_type
=freebsd-
$objformat
4601 case $version_type in
4603 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
4608 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
4612 shlibpath_var
=LD_LIBRARY_PATH
4615 shlibpath_overrides_runpath
=yes
4617 freebsd3.01
* | freebsdelf3.01
*)
4618 shlibpath_overrides_runpath
=yes
4619 hardcode_into_libs
=yes
4622 shlibpath_overrides_runpath
=no
4623 hardcode_into_libs
=yes
4632 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
4633 soname_spec
='${libname}${release}${shared_ext}$major'
4634 shlibpath_var
=LD_LIBRARY_PATH
4635 hardcode_into_libs
=yes
4638 hpux9
* | hpux10
* | hpux11
*)
4639 # Give a soname corresponding to the major version so that dld.sl refuses to
4640 # link against other versions.
4647 hardcode_into_libs
=yes
4648 dynamic_linker
="$host_os dld.so"
4649 shlibpath_var
=LD_LIBRARY_PATH
4650 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
4651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4652 soname_spec
='${libname}${release}${shared_ext}$major'
4653 if test "X$HPUX_IA64_MODE" = X32
; then
4654 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
4656 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
4658 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
4662 hardcode_into_libs
=yes
4663 dynamic_linker
="$host_os dld.sl"
4664 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
4665 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
4666 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4667 soname_spec
='${libname}${release}${shared_ext}$major'
4668 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
4669 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
4673 dynamic_linker
="$host_os dld.sl"
4674 shlibpath_var
=SHLIB_PATH
4675 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
4676 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4677 soname_spec
='${libname}${release}${shared_ext}$major'
4680 # HP-UX runs *really* slowly unless shared libraries are mode 555.
4681 postinstall_cmds
='chmod 555 $lib'
4684 irix5
* | irix6
* | nonstopux
*)
4686 nonstopux
*) version_type
=nonstopux
;;
4688 if test "$lt_cv_prog_gnu_ld" = yes; then
4696 soname_spec
='${libname}${release}${shared_ext}$major'
4697 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
4699 irix5
* | nonstopux
*)
4703 case $LD in # libtool.m4 will add one of these switches to LD
4704 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
4705 libsuff
= shlibsuff
= libmagic
=32-bit;;
4706 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
4707 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
4708 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
4709 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
4710 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
4714 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
4715 shlibpath_overrides_runpath
=no
4716 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
4717 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
4718 hardcode_into_libs
=yes
4721 # No shared lib support for Linux oldld, aout, or coff.
4722 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
4726 # This must be Linux ELF.
4731 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4732 soname_spec
='${libname}${release}${shared_ext}$major'
4733 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
4734 shlibpath_var
=LD_LIBRARY_PATH
4735 shlibpath_overrides_runpath
=no
4736 # This implies no fast_install, which is unacceptable.
4737 # Some rework will be needed to allow for fast_install
4738 # before this can be enabled.
4739 hardcode_into_libs
=yes
4741 # We used to test for /lib/ld.so.1 and disable shared libraries on
4742 # powerpc, because MkLinux only supported shared libraries with the
4743 # GNU dynamic linker. Since this was broken with cross compilers,
4744 # most powerpc-linux boxes support dynamic linking these days and
4745 # people can always --disable-shared, the test was removed, and we
4746 # assume the GNU/Linux dynamic linker is in use.
4747 dynamic_linker
='GNU/Linux ld.so'
4754 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
4755 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4756 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4757 dynamic_linker
='NetBSD (a.out) ld.so'
4759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
4760 soname_spec
='${libname}${release}${shared_ext}$major'
4761 dynamic_linker
='NetBSD ld.elf_so'
4763 shlibpath_var
=LD_LIBRARY_PATH
4764 shlibpath_overrides_runpath
=yes
4765 hardcode_into_libs
=yes
4770 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4771 shlibpath_var
=LD_LIBRARY_PATH
4772 shlibpath_overrides_runpath
=yes
4779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4780 soname_spec
='${libname}${release}${shared_ext}$major'
4781 shlibpath_var
=LD_LIBRARY_PATH
4782 shlibpath_overrides_runpath
=yes
4789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4790 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4791 shlibpath_var
=LD_LIBRARY_PATH
4792 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4794 openbsd2.
[89] | openbsd2.
[89].
*)
4795 shlibpath_overrides_runpath
=no
4798 shlibpath_overrides_runpath
=yes
4802 shlibpath_overrides_runpath
=yes
4807 libname_spec
='$name'
4810 library_names_spec
='$libname${shared_ext} $libname.a'
4811 dynamic_linker
='OS/2 ld.exe'
4812 shlibpath_var
=LIBPATH
4815 osf3
* | osf4
* | osf5
*)
4819 soname_spec
='${libname}${release}${shared_ext}$major'
4820 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4821 shlibpath_var
=LD_LIBRARY_PATH
4822 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
4823 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
4828 soname_spec
='${libname}${release}${shared_ext}$major'
4829 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4830 shlibpath_var
=LD_LIBRARY_PATH
4837 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4838 soname_spec
='${libname}${release}${shared_ext}$major'
4839 shlibpath_var
=LD_LIBRARY_PATH
4840 shlibpath_overrides_runpath
=yes
4841 hardcode_into_libs
=yes
4842 # ldd complains unless libraries are executable
4843 postinstall_cmds
='chmod +x $lib'
4848 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4849 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
4850 shlibpath_var
=LD_LIBRARY_PATH
4851 shlibpath_overrides_runpath
=yes
4852 if test "$with_gnu_ld" = yes; then
4858 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
4860 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4861 soname_spec
='${libname}${release}${shared_ext}$major'
4862 shlibpath_var
=LD_LIBRARY_PATH
4863 case $host_vendor in
4865 shlibpath_overrides_runpath
=no
4867 export_dynamic_flag_spec
='${wl}-Blargedynsym'
4868 runpath_var
=LD_RUN_PATH
4876 shlibpath_overrides_runpath
=no
4877 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
4883 if test -d /usr
/nec
;then
4885 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
4886 soname_spec
='$libname${shared_ext}.$major'
4887 shlibpath_var
=LD_LIBRARY_PATH
4893 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4894 soname_spec
='${libname}${release}${shared_ext}$major'
4895 shlibpath_var
=LD_LIBRARY_PATH
4902 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
4903 echo "${ECHO_T}$dynamic_linker" >&6
4904 test "$dynamic_linker" = no
&& can_build_shared
=no
4907 echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
4908 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6
4909 if test "${libltdl_cv_shlibpath_var+set}" = set; then
4910 echo $ECHO_N "(cached) $ECHO_C" >&6
4912 libltdl_cv_shlibpath_var
="$shlibpath_var"
4914 echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
4915 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6
4916 if test -n "$libltdl_cv_shlibpath_var"; then
4918 cat >>confdefs.h
<<_ACEOF
4919 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
4926 ac_config_headers
="$ac_config_headers include/config.h gcj/libgcj-config.h"
4929 # See if the user has requested runtime debugging.
4930 LIBGCJDEBUG
="disable"
4932 # Check whether --enable-libgcj-debug or --disable-libgcj-debug was given.
4933 if test "${enable_libgcj_debug+set}" = set; then
4934 enableval
="$enable_libgcj_debug"
4935 if test "$enable_libgcj_debug" = yes; then
4937 cat >>confdefs.h
<<\_ACEOF
4941 LIBGCJDEBUG
="enable"
4946 # Check whether --with-escher or --without-escher was given.
4947 if test "${with_escher+set}" = set; then
4948 withval
="$with_escher"
4951 case "$with_escher" in
4959 { { echo "$as_me:$LINENO: error: Please supply an absolute path to Escher library" >&5
4960 echo "$as_me: error: Please supply an absolute path to Escher library" >&2;}
4961 { (exit 1); exit 1; }; }
4968 # Determine which AWT peer libraries to build
4969 # Check whether --enable-java-awt or --disable-java-awt was given.
4970 if test "${enable_java_awt+set}" = set; then
4971 enableval
="$enable_java_awt"
4975 peerlibs
="`echo ${enable_java_awt} | tr ',' ' '`"
4980 # The default toolkit to use is the first one specified.
4984 for peer
in $peerlibs ; do
4987 if test "$no_x" = yes; then
4988 echo "*** xlib peers requested but no X library available" 1>&2
4992 if test -z "$TOOLKIT"; then
4993 TOOLKIT
=gnu.awt.xlib.XToolkit
4998 if test "$no_x" = yes; then
4999 echo "*** gtk peers requested but no X library available" 1>&2
5003 if test -z "$TOOLKIT"; then
5004 TOOLKIT
=gnu.java.awt.peer.gtk.GtkToolkit
5009 if test "$no_x" = yes; then
5010 # Perhaps we should admit the possibility of embedded Qt.
5011 echo "*** Qt peers requested but no X library available" 1>&2
5015 if test -z "$TOOLKIT"; then
5016 TOOLKIT
=gnu.java.awt.peer.qt.QtToolkit
5022 if test -z "$TOOLKIT"; then
5023 TOOLKIT
=gnu.java.awt.peer.x.XToolkit
5034 echo "*** unrecognised argument \"${peer}\" for --enable-java-awt" 1>&2
5041 if test "$use_xlib_awt" = yes; then
5051 if test "$use_x_awt" = yes; then
5061 cat >>confdefs.h
<<_ACEOF
5062 #define AWT_TOOLKIT "$TOOLKIT"
5067 cat >>confdefs.h
<<_ACEOF
5068 #define LIBGCJ_PREFIX "$prefix"
5072 # Create standard.omit based on decisions we just made.
5073 cp $srcdir/standard.omit.
in standard.omit
5074 if test "$use_xlib_awt" != yes; then
5075 echo gnu
/awt
/xlib
>> standard.omit
5076 echo gnu
/gcj
/xlib
>> standard.omit
5078 if test "$use_x_awt" != yes; then
5079 echo gnu
/java
/awt
/peer
/x
>> standard.omit
5082 if test -z "${with_multisubdir}"; then
5085 builddotdot
=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`
5090 # Which gcj and host gcj (for ecjx) do we use?
5092 host_exeext
=${ac_exeext}
5094 built_gcc_dir
="`cd ${builddotdot}/../../${host_subdir}/gcc && ${PWDCMD-pwd}`"
5095 if test -n "${with_cross_host}"; then
5096 # We are being configured with a cross compiler. We can't
5097 # use ac_exeext, because that is for the target platform.
5100 GCJ_FOR_ECJX
="${with_cross_host}-gcj"
5101 case "${with_cross_host}" in
5103 cross_host_exeext
=.exe
5106 host_exeext
=${cross_host_exeext}
5107 if test -x "${built_gcc_dir}/gcj${cross_host_exeext}"; then
5108 if test x
"$build_noncanonical" = x
"$with_cross_host"; then
5109 # Ordinary cross (host!=target and host=build)
5112 # Canadian cross (host!=target and host!=build)
5119 # We are being configured with a native or crossed-native compiler
5120 if test -x "${built_gcc_dir}/gcj${ac_exeext}"; then
5121 if test x
"$build" = x
"$host"; then
5122 # True native build (host=target and host=build)
5125 # Crossed-native build (host=target and host!=build)
5132 case "${which_gcj}" in
5134 GCJ
="$built_gcc_dir/gcj -B`${PWDCMD-pwd}`/ -B$built_gcc_dir/"
5135 GCJH
='$(top_builddir)/$(MULTIBUILDTOP)../../$(host_subdir)/gcc/gcjh'
5138 if test "x${with_newlib}" = "xyes"; then
5139 # FIXME (comment): Why is this needed?
5141 GCJ
="${target_noncanonical}-gcj"
5143 GCJ
="$built_gcc_dir/gcj -B$built_gcc_dir/"
5145 GCJH
="$built_gcc_dir/gcjh"
5148 GCJ
="gcj -B`${PWDCMD-pwd}`/"
5157 # Create it, so that compile/link tests don't fail
5158 test -f libgcj.spec ||
touch libgcj.spec
5162 # Set up to configure Classpath.
5163 # FIXME: no supported way to pass args in autoconf.
5164 ac_configure_args
="$ac_configure_args --with-fastjar=$JAR"
5165 # Disable tool wrappers to avoid ltdl.h configure check.
5166 ac_configure_args
="$ac_configure_args --disable-tool-wrappers"
5167 ac_configure_args
="$ac_configure_args --disable-load-library"
5168 ac_configure_args
="$ac_configure_args --${LIBGCJDEBUG}-debug"
5169 ac_configure_args
="$ac_configure_args --enable-default-toolkit=$TOOLKIT"
5170 dir1
=`cd $srcdir && pwd`
5172 ac_configure_args
="$ac_configure_args --with-vm-classes=$dir1:$dir2"
5173 ac_configure_args
="$ac_configure_args --disable-core-jni"
5174 ac_configure_args
="$ac_configure_args --disable-examples"
5175 ac_configure_args
="$ac_configure_args --with-glibj=build"
5176 if test "$plugin_enabled" != yes; then
5177 ac_configure_args
="$ac_configure_args --disable-plugin"
5179 if test "$gconf_enabled" != yes; then
5180 ac_configure_args
="$ac_configure_args --disable-gconf-peer"
5181 ac_configure_args
="$ac_configure_args --enable-default-preferences-peer=gnu.java.util.prefs.FileBasedFactory"
5183 if test "$use_gtk_awt" != yes; then
5184 ac_configure_args
="$ac_configure_args --disable-gtk-peer --disable-plugin"
5186 if test "$use_qt_awt" != yes; then
5187 ac_configure_args
="$ac_configure_args --disable-qt-peer"
5189 # We need this as qt is disabled by default in classpath.
5190 ac_configure_args
="$ac_configure_args --enable-qt-peer"
5192 if test "$use_x_awt" != yes; then
5193 ac_configure_args
="$ac_configure_args --without-escher"
5195 # We need this as escher is disabled by default in classpath.
5196 if test "$use_escher" != true
; then
5197 { { echo "$as_me:$LINENO: error: Please supply an absolute path to the Escher library" >&5
5198 echo "$as_me: error: Please supply an absolute path to the Escher library" >&2;}
5199 { (exit 1); exit 1; }; }
5201 ac_configure_args
="$ac_configure_args --with-escher=$with_escher"
5204 # -Werror causes unavoidable problems in code using alsa.
5205 ac_configure_args
="$ac_configure_args --disable-Werror"
5207 # Only use libltdl for non-newlib builds.
5208 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
5209 case $enable_ltdl_convenience in
5210 no
) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
5211 echo "$as_me: error: this package needs a convenience libltdl" >&2;}
5212 { (exit 1); exit 1; }; } ;;
5213 "") enable_ltdl_convenience
=yes
5214 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
5216 LIBLTDL
='${top_builddir}/''libltdl'/libltdlc.la
5217 INCLTDL
='-I${top_srcdir}/''libltdl'
5222 cat >>confdefs.h
<<\_ACEOF
5226 # Sigh. Libtool's macro doesn't do the right thing.
5227 INCLTDL
="-I\$(top_srcdir)/libltdl $INCLTDL"
5228 # FIXME: this is a hack.
5229 sub_auxdir
="`cd $ac_aux_dir && ${PWDCMD-pwd}`"
5230 ac_configure_args
="$ac_configure_args --with-auxdir=$sub_auxdir"
5235 # Check whether --enable-shared or --disable-shared was given.
5236 if test "${enable_shared+set}" = set; then
5237 enableval
="$enable_shared"
5238 p
=${PACKAGE-default}
5240 yes) enable_shared
=yes ;;
5241 no
) enable_shared
=no
;;
5244 # Look at the argument we got. We use all the common list separators.
5245 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5246 for pkg
in $enableval; do
5247 if test "X$pkg" = "X$p"; then
5257 # Check whether --enable-static or --disable-static was given.
5258 if test "${enable_static+set}" = set; then
5259 enableval
="$enable_static"
5260 p
=${PACKAGE-default}
5262 yes) enable_static
=yes ;;
5263 no
) enable_static
=no
;;
5266 # Look at the argument we got. We use all the common list separators.
5267 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5268 for pkg
in $enableval; do
5269 if test "X$pkg" = "X$p"; then
5279 # Check whether --enable-fast-install or --disable-fast-install was given.
5280 if test "${enable_fast_install+set}" = set; then
5281 enableval
="$enable_fast_install"
5282 p
=${PACKAGE-default}
5284 yes) enable_fast_install
=yes ;;
5285 no
) enable_fast_install
=no
;;
5287 enable_fast_install
=no
5288 # Look at the argument we got. We use all the common list separators.
5289 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5290 for pkg
in $enableval; do
5291 if test "X$pkg" = "X$p"; then
5292 enable_fast_install
=yes
5299 enable_fast_install
=yes
5302 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5303 if test "${with_gnu_ld+set}" = set; then
5304 withval
="$with_gnu_ld"
5305 test "$withval" = no || with_gnu_ld
=yes
5310 if test "$GCC" = yes; then
5311 # Check if gcc -print-prog-name=ld gives a path.
5312 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5313 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5316 # gcc leaves a trailing carriage return which upsets mingw
5317 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5319 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5322 # Accept absolute paths.
5323 [\\/]* |
[A-Za-z
]:[\\/]*)
5324 re_direlt
='/[^/][^/]*/\.\./'
5325 # Canonicalize the path of ld
5326 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5327 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5328 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5330 test -z "$LD" && LD
="$ac_prog"
5333 # If it fails, then pretend we aren't using GCC.
5337 # If it is relative, then search for the first ld in PATH.
5341 elif test "$with_gnu_ld" = yes; then
5342 echo "$as_me:$LINENO: checking for GNU ld" >&5
5343 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5345 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5346 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5348 if test "${lt_cv_path_LD+set}" = set; then
5349 echo $ECHO_N "(cached) $ECHO_C" >&6
5351 if test -z "$LD"; then
5352 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5353 for ac_dir
in $PATH; do
5354 test -z "$ac_dir" && ac_dir
=.
5355 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5356 lt_cv_path_LD
="$ac_dir/$ac_prog"
5357 # Check to see if the program is GNU ld. I'd rather use --version,
5358 # but apparently some GNU ld's only accept -v.
5359 # Break only if it was the GNU/non-GNU ld that we prefer.
5360 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
5361 test "$with_gnu_ld" != no
&& break
5363 test "$with_gnu_ld" != yes && break
5369 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5374 if test -n "$LD"; then
5375 echo "$as_me:$LINENO: result: $LD" >&5
5376 echo "${ECHO_T}$LD" >&6
5378 echo "$as_me:$LINENO: result: no" >&5
5379 echo "${ECHO_T}no" >&6
5381 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5382 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5383 { (exit 1); exit 1; }; }
5384 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5385 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5386 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5387 echo $ECHO_N "(cached) $ECHO_C" >&6
5389 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5390 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5391 lt_cv_prog_gnu_ld
=yes
5393 lt_cv_prog_gnu_ld
=no
5396 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5397 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5398 with_gnu_ld
=$lt_cv_prog_gnu_ld
5401 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5402 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5403 if test "${lt_cv_ld_reload_flag+set}" = set; then
5404 echo $ECHO_N "(cached) $ECHO_C" >&6
5406 lt_cv_ld_reload_flag
='-r'
5408 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5409 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5410 reload_flag
=$lt_cv_ld_reload_flag
5411 test -n "$reload_flag" && reload_flag
=" $reload_flag"
5413 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5414 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5415 if test "${lt_cv_path_NM+set}" = set; then
5416 echo $ECHO_N "(cached) $ECHO_C" >&6
5418 if test -n "$NM"; then
5419 # Let the user override the test.
5422 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5423 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
5424 test -z "$ac_dir" && ac_dir
=.
5425 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
5426 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
5427 # Check to see if the nm accepts a BSD-compat flag.
5428 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5429 # nm: unknown option "B" ignored
5430 # Tru64's nm complains that /dev/null is an invalid object file
5431 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
5432 lt_cv_path_NM
="$tmp_nm -B"
5434 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
5435 lt_cv_path_NM
="$tmp_nm -p"
5438 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5439 continue # so that we can try to find one that supports BSD flags
5444 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
5449 echo "$as_me:$LINENO: result: $NM" >&5
5450 echo "${ECHO_T}$NM" >&6
5452 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
5453 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
5454 if test "${lt_cv_deplibs_check_method+set}" = set; then
5455 echo $ECHO_N "(cached) $ECHO_C" >&6
5457 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5458 lt_cv_file_magic_test_file
=
5459 lt_cv_deplibs_check_method
='unknown'
5460 # Need to set the preceding variable on all platforms that support
5461 # interlibrary dependencies.
5462 # 'none' -- dependencies not supported.
5463 # `unknown' -- same as none, but documents that we really don't know.
5464 # 'pass_all' -- all dependencies passed with no checks.
5465 # 'test_compile' -- check by making test program.
5466 # 'file_magic [regex]' -- check by looking for files in library path
5467 # which responds to the $file_magic_cmd with a given egrep regex.
5468 # If you have `file' or equivalent on your system and you're not sure
5469 # whether `pass_all' will *always* work, you probably want this one.
5473 lt_cv_deplibs_check_method
=pass_all
5477 lt_cv_deplibs_check_method
=pass_all
5481 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5482 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5483 lt_cv_file_magic_test_file
=/shlib
/libc.so
5486 cygwin
* | mingw
* |pw32
*)
5487 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5488 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5491 darwin
* | rhapsody
*)
5492 # this will be overwritten by pass_all, but leave it in just in case
5493 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
5494 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5496 rhapsody
* | darwin1.012
)
5497 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
5500 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
5503 lt_cv_deplibs_check_method
=pass_all
5506 freebsd
* | kfreebsd
*-gnu)
5507 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5510 # Not sure whether the presence of OpenBSD here was a mistake.
5511 # Let's accept both of them until this is cleared up.
5512 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5513 lt_cv_file_magic_cmd
=/usr
/bin
/file
5514 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5518 lt_cv_deplibs_check_method
=pass_all
5523 lt_cv_deplibs_check_method
=pass_all
5529 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5530 lt_cv_file_magic_cmd
=/usr
/bin
/file
5531 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5534 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5535 lt_cv_file_magic_cmd
=/usr
/bin
/file
5536 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5544 # this will be overridden with pass_all, but let us keep it just in case
5545 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5549 *-32|
*"-32 ") libmagic
=32-bit;;
5550 *-n32|
*"-n32 ") libmagic
=N32
;;
5551 *-64|
*"-64 ") libmagic
=64-bit;;
5552 *) libmagic
=never-match
;;
5554 # this will be overridden with pass_all, but let us keep it just in case
5555 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5558 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
5559 lt_cv_deplibs_check_method
=pass_all
5562 # This must be Linux ELF.
5564 lt_cv_deplibs_check_method
=pass_all
5567 netbsd
* | knetbsd
*-gnu)
5568 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5569 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
5571 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
5576 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5577 lt_cv_file_magic_cmd
=/usr
/bin
/file
5578 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5581 osf3
* | osf4
* | osf5
*)
5582 # this will be overridden with pass_all, but let us keep it just in case
5583 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
5584 lt_cv_file_magic_test_file
=/shlib
/libc.so
5585 lt_cv_deplibs_check_method
=pass_all
5589 lt_cv_deplibs_check_method
=pass_all
5593 lt_cv_deplibs_check_method
=pass_all
5594 lt_cv_file_magic_test_file
=/lib
/libc.so
5597 sysv5uw
[78]* | sysv4
*uw2
*)
5598 lt_cv_deplibs_check_method
=pass_all
5601 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
5602 case $host_vendor in
5604 lt_cv_deplibs_check_method
=pass_all
5607 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]'
5608 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5615 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5616 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5617 file_magic_cmd
=$lt_cv_file_magic_cmd
5618 deplibs_check_method
=$lt_cv_deplibs_check_method
5623 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5625 # find the maximum length of command line arguments
5626 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5627 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5628 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5629 echo $ECHO_N "(cached) $ECHO_C" >&6
5636 # On DJGPP, this test can blow up pretty badly due to problems in libc
5637 # (any single argument exceeding 2000 bytes causes a buffer overrun
5638 # during glob expansion). Even if it were fixed, the result of this
5639 # check would be larger than it should be.
5640 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5644 # On Win9x/ME, this test blows up -- it succeeds, but takes
5645 # about 5 minutes as the teststring grows exponentially.
5646 # Worse, since 9x/ME are not pre-emptively multitasking,
5647 # you end up with a "frozen" computer, even though with patience
5648 # the test eventually succeeds (with a max line length of 256k).
5649 # Instead, let's just punt: use the minimum linelength reported by
5650 # all of the supported platforms: 8192 (on NT/2K/XP).
5651 lt_cv_sys_max_cmd_len
=8192;
5655 # On AmigaOS with pdksh, this test takes hours, literally.
5656 # So we just punt and use a minimum line length of 8192.
5657 lt_cv_sys_max_cmd_len
=8192;
5660 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5661 # This has been around since 386BSD, at least. Likely further.
5662 if test -x /sbin
/sysctl
; then
5663 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5664 elif test -x /usr
/sbin
/sysctl
; then
5665 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5667 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
5669 # And add a safety zone
5670 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5671 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5677 if test -n "$lt_cv_sys_max_cmd_len" ; then
5678 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5679 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5681 echo "$as_me:$LINENO: result: none" >&5
5682 echo "${ECHO_T}none" >&6
5686 # Only perform the check for file, if the check method requires it
5687 case $deplibs_check_method in
5689 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5690 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5691 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5692 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5693 echo $ECHO_N "(cached) $ECHO_C" >&6
5697 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5700 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5703 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5704 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5705 ac_dummy
="/usr/bin:$PATH"
5706 for ac_dir
in $ac_dummy; do
5707 test -z "$ac_dir" && ac_dir
=.
5708 if test -f $ac_dir/${ac_tool_prefix}file; then
5709 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
5710 if test -n "$file_magic_test_file"; then
5711 case $deplibs_check_method in
5713 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5714 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5715 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5716 egrep "$file_magic_regex" > /dev
/null
; then
5721 *** Warning: the command libtool uses to detect shared libraries,
5722 *** $file_magic_cmd, produces output that libtool cannot recognize.
5723 *** The result is that libtool may fail to recognize shared libraries
5724 *** as such. This will affect the creation of libtool libraries that
5725 *** depend on shared libraries, but programs linked with such libtool
5726 *** libraries will work regardless of this problem. Nevertheless, you
5727 *** may want to report the problem to your system manager and/or to
5728 *** bug-libtool@gnu.org
5738 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5743 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5744 if test -n "$MAGIC_CMD"; then
5745 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5746 echo "${ECHO_T}$MAGIC_CMD" >&6
5748 echo "$as_me:$LINENO: result: no" >&5
5749 echo "${ECHO_T}no" >&6
5752 if test -z "$lt_cv_path_MAGIC_CMD"; then
5753 if test -n "$ac_tool_prefix"; then
5754 echo "$as_me:$LINENO: checking for file" >&5
5755 echo $ECHO_N "checking for file... $ECHO_C" >&6
5756 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5757 echo $ECHO_N "(cached) $ECHO_C" >&6
5761 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5764 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5767 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5768 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5769 ac_dummy
="/usr/bin:$PATH"
5770 for ac_dir
in $ac_dummy; do
5771 test -z "$ac_dir" && ac_dir
=.
5772 if test -f $ac_dir/file; then
5773 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
5774 if test -n "$file_magic_test_file"; then
5775 case $deplibs_check_method in
5777 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5778 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5779 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5780 egrep "$file_magic_regex" > /dev
/null
; then
5785 *** Warning: the command libtool uses to detect shared libraries,
5786 *** $file_magic_cmd, produces output that libtool cannot recognize.
5787 *** The result is that libtool may fail to recognize shared libraries
5788 *** as such. This will affect the creation of libtool libraries that
5789 *** depend on shared libraries, but programs linked with such libtool
5790 *** libraries will work regardless of this problem. Nevertheless, you
5791 *** may want to report the problem to your system manager and/or to
5792 *** bug-libtool@gnu.org
5802 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5807 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5808 if test -n "$MAGIC_CMD"; then
5809 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5810 echo "${ECHO_T}$MAGIC_CMD" >&6
5812 echo "$as_me:$LINENO: result: no" >&5
5813 echo "${ECHO_T}no" >&6
5825 if test -n "$ac_tool_prefix"; then
5826 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5827 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5828 echo "$as_me:$LINENO: checking for $ac_word" >&5
5829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5830 if test "${ac_cv_prog_RANLIB+set}" = set; then
5831 echo $ECHO_N "(cached) $ECHO_C" >&6
5833 if test -n "$RANLIB"; then
5834 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5840 test -z "$as_dir" && as_dir
=.
5841 for ac_exec_ext
in '' $ac_executable_extensions; do
5842 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5843 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5852 RANLIB
=$ac_cv_prog_RANLIB
5853 if test -n "$RANLIB"; then
5854 echo "$as_me:$LINENO: result: $RANLIB" >&5
5855 echo "${ECHO_T}$RANLIB" >&6
5857 echo "$as_me:$LINENO: result: no" >&5
5858 echo "${ECHO_T}no" >&6
5862 if test -z "$ac_cv_prog_RANLIB"; then
5863 ac_ct_RANLIB
=$RANLIB
5864 # Extract the first word of "ranlib", so it can be a program name with args.
5865 set dummy ranlib
; ac_word
=$2
5866 echo "$as_me:$LINENO: checking for $ac_word" >&5
5867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5868 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5869 echo $ECHO_N "(cached) $ECHO_C" >&6
5871 if test -n "$ac_ct_RANLIB"; then
5872 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5878 test -z "$as_dir" && as_dir
=.
5879 for ac_exec_ext
in '' $ac_executable_extensions; do
5880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5881 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5888 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5891 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5892 if test -n "$ac_ct_RANLIB"; then
5893 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5894 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5896 echo "$as_me:$LINENO: result: no" >&5
5897 echo "${ECHO_T}no" >&6
5900 RANLIB
=$ac_ct_RANLIB
5902 RANLIB
="$ac_cv_prog_RANLIB"
5905 if test -n "$ac_tool_prefix"; then
5906 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5907 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5908 echo "$as_me:$LINENO: checking for $ac_word" >&5
5909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5910 if test "${ac_cv_prog_STRIP+set}" = set; then
5911 echo $ECHO_N "(cached) $ECHO_C" >&6
5913 if test -n "$STRIP"; then
5914 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5920 test -z "$as_dir" && as_dir
=.
5921 for ac_exec_ext
in '' $ac_executable_extensions; do
5922 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5923 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5932 STRIP
=$ac_cv_prog_STRIP
5933 if test -n "$STRIP"; then
5934 echo "$as_me:$LINENO: result: $STRIP" >&5
5935 echo "${ECHO_T}$STRIP" >&6
5937 echo "$as_me:$LINENO: result: no" >&5
5938 echo "${ECHO_T}no" >&6
5942 if test -z "$ac_cv_prog_STRIP"; then
5944 # Extract the first word of "strip", so it can be a program name with args.
5945 set dummy strip
; ac_word
=$2
5946 echo "$as_me:$LINENO: checking for $ac_word" >&5
5947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5948 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5949 echo $ECHO_N "(cached) $ECHO_C" >&6
5951 if test -n "$ac_ct_STRIP"; then
5952 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5958 test -z "$as_dir" && as_dir
=.
5959 for ac_exec_ext
in '' $ac_executable_extensions; do
5960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5961 ac_cv_prog_ac_ct_STRIP
="strip"
5962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5968 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
5971 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5972 if test -n "$ac_ct_STRIP"; then
5973 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5974 echo "${ECHO_T}$ac_ct_STRIP" >&6
5976 echo "$as_me:$LINENO: result: no" >&5
5977 echo "${ECHO_T}no" >&6
5982 STRIP
="$ac_cv_prog_STRIP"
5986 # Check for any special flags to pass to ltconfig.
5987 libtool_flags
="--cache-file=$cache_file"
5988 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
5989 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
5990 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
5991 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
5992 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
5995 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5996 if test "${enable_libtool_lock+set}" = set; then
5997 enableval
="$enable_libtool_lock"
6000 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
6001 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
6004 # Check whether --with-pic or --without-pic was given.
6005 if test "${with_pic+set}" = set; then
6011 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
6012 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
6014 # Some flags need to be propagated to the compiler or linker for good
6018 # Find out which ABI we are using.
6019 echo '#line 6019 "configure"' > conftest.
$ac_ext
6020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6021 (eval $ac_compile) 2>&5
6023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6024 (exit $ac_status); }; then
6025 if test "$lt_cv_prog_gnu_ld" = yes; then
6026 case `/usr/bin/file conftest.$ac_objext` in
6028 LD
="${LD-ld} -melf32bsmip"
6031 LD
="${LD-ld} -melf32bmipn32"
6034 LD
="${LD-ld} -melf64bmip"
6038 case `/usr/bin/file conftest.$ac_objext` in
6055 # Find out which ABI we are using.
6056 echo 'int i;' > conftest.
$ac_ext
6057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6058 (eval $ac_compile) 2>&5
6060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6061 (exit $ac_status); }; then
6062 case "`/usr/bin/file conftest.o`" in
6074 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
6075 # Find out which ABI we are using.
6076 echo 'int i;' > conftest.
$ac_ext
6077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6078 (eval $ac_compile) 2>&5
6080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6081 (exit $ac_status); }; then
6082 case "`/usr/bin/file conftest.o`" in
6086 LD
="${LD-ld} -m elf_i386"
6088 ppc64-
*linux
*|powerpc64-
*linux
*)
6089 LD
="${LD-ld} -m elf32ppclinux"
6092 LD
="${LD-ld} -m elf_s390"
6095 LD
="${LD-ld} -m elf32_sparc"
6102 LD
="${LD-ld} -m elf_x86_64"
6104 ppc
*-*linux
*|powerpc
*-*linux
*)
6105 LD
="${LD-ld} -m elf64ppc"
6108 LD
="${LD-ld} -m elf64_s390"
6111 LD
="${LD-ld} -m elf64_sparc"
6121 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6122 SAVE_CFLAGS
="$CFLAGS"
6123 CFLAGS
="$CFLAGS -belf"
6124 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6125 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
6126 if test "${lt_cv_cc_needs_belf+set}" = set; then
6127 echo $ECHO_N "(cached) $ECHO_C" >&6
6132 ac_cpp
='$CPP $CPPFLAGS'
6133 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6134 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6135 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6137 if test x
$gcc_no_link = xyes
; then
6138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6140 { (exit 1); exit 1; }; }
6142 cat >conftest.
$ac_ext <<_ACEOF
6145 cat confdefs.h
>>conftest.
$ac_ext
6146 cat >>conftest.
$ac_ext <<_ACEOF
6147 /* end confdefs.h. */
6157 rm -f conftest.
$ac_objext conftest
$ac_exeext
6158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6159 (eval $ac_link) 2>conftest.er1
6161 grep -v '^ *+' conftest.er1
>conftest.err
6163 cat conftest.err
>&5
6164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6165 (exit $ac_status); } &&
6166 { ac_try
='test -z "$ac_c_werror_flag"
6167 || test ! -s conftest.err'
6168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6172 (exit $ac_status); }; } &&
6173 { ac_try
='test -s conftest$ac_exeext'
6174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6178 (exit $ac_status); }; }; then
6179 lt_cv_cc_needs_belf
=yes
6181 echo "$as_me: failed program was:" >&5
6182 sed 's/^/| /' conftest.
$ac_ext >&5
6184 lt_cv_cc_needs_belf
=no
6186 rm -f conftest.err conftest.
$ac_objext \
6187 conftest
$ac_exeext conftest.
$ac_ext
6189 ac_cpp
='$CPP $CPPFLAGS'
6190 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6191 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6192 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6195 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6196 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6197 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6198 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6199 CFLAGS
="$SAVE_CFLAGS"
6207 # Save cache, so that ltconfig can load it
6208 cat >confcache
<<\_ACEOF
6209 # This file is a shell script that caches the results of configure
6210 # tests run on this system so they can be shared between configure
6211 # scripts and configure runs, see configure's option --config-cache.
6212 # It is not useful on other systems. If it contains results you don't
6213 # want to keep, you may remove or edit it.
6215 # config.status only pays attention to the cache file if you give it
6216 # the --recheck option to rerun configure.
6218 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6219 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6224 # The following way of writing the cache mishandles newlines in values,
6225 # but we know of no workaround that is simple, portable, and efficient.
6226 # So, don't put newlines in cache variables' values.
6227 # Ultrix sh set writes to stderr and can't be redirected directly,
6228 # and sets the high bit in the cache file unless we assign to the vars.
6231 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6233 # `set' does not quote correctly, so add quotes (double-quote
6234 # substitution turns \\\\ into \\, and sed turns \\ into \).
6237 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6240 # `set' quotes correctly as required by POSIX, so do not add quotes.
6242 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6249 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6251 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6253 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6254 if test -w $cache_file; then
6255 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6256 cat confcache
>$cache_file
6258 echo "not updating unwritable cache $cache_file"
6263 # Actually configure libtool. ac_aux_dir is where install-sh is found.
6264 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
6265 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
6266 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
6267 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
6268 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
6269 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
6270 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
6271 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
6272 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
6273 echo "$as_me: error: libtool configure failed" >&2;}
6274 { (exit 1); exit 1; }; }
6276 # Reload cache, that may have been modified by ltconfig
6277 if test -r "$cache_file"; then
6278 # Some versions of bash will fail to source /dev/null (special
6279 # files actually), so we avoid doing that.
6280 if test -f "$cache_file"; then
6281 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
6282 echo "$as_me: loading cache $cache_file" >&6;}
6284 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
6285 *) . .
/$cache_file;;
6289 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
6290 echo "$as_me: creating cache $cache_file" >&6;}
6295 # This can be used to rebuild libtool when needed
6296 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
6298 # Always use our own libtool.
6299 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6301 # Redirect the config.log output again, so that the ltconfig log is not
6302 # clobbered by the next message.
6303 exec 5>>.
/config.log
6306 ac_cpp
='$CXXCPP $CPPFLAGS'
6307 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6308 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6309 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6310 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6311 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6312 if test -z "$CXXCPP"; then
6313 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6314 echo $ECHO_N "(cached) $ECHO_C" >&6
6316 # Double quotes because CXXCPP needs to be expanded
6317 for CXXCPP
in "$CXX -E" "/lib/cpp"
6320 for ac_cxx_preproc_warn_flag
in '' yes
6322 # Use a header file that comes with gcc, so configuring glibc
6323 # with a fresh cross-compiler works.
6324 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6325 # <limits.h> exists even on freestanding compilers.
6326 # On the NeXT, cc -E runs the code through the compiler's parser,
6327 # not just through cpp. "Syntax error" is here to catch this case.
6328 cat >conftest.
$ac_ext <<_ACEOF
6331 cat confdefs.h
>>conftest.
$ac_ext
6332 cat >>conftest.
$ac_ext <<_ACEOF
6333 /* end confdefs.h. */
6335 # include <limits.h>
6337 # include <assert.h>
6341 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6342 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6344 grep -v '^ *+' conftest.er1
>conftest.err
6346 cat conftest.err
>&5
6347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6348 (exit $ac_status); } >/dev
/null
; then
6349 if test -s conftest.err
; then
6350 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6351 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6358 if test -z "$ac_cpp_err"; then
6361 echo "$as_me: failed program was:" >&5
6362 sed 's/^/| /' conftest.
$ac_ext >&5
6364 # Broken: fails on valid input.
6367 rm -f conftest.err conftest.
$ac_ext
6369 # OK, works on sane cases. Now check whether non-existent headers
6370 # can be detected and how.
6371 cat >conftest.
$ac_ext <<_ACEOF
6374 cat confdefs.h
>>conftest.
$ac_ext
6375 cat >>conftest.
$ac_ext <<_ACEOF
6376 /* end confdefs.h. */
6377 #include <ac_nonexistent.h>
6379 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6380 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6382 grep -v '^ *+' conftest.er1
>conftest.err
6384 cat conftest.err
>&5
6385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6386 (exit $ac_status); } >/dev
/null
; then
6387 if test -s conftest.err
; then
6388 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6389 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6396 if test -z "$ac_cpp_err"; then
6397 # Broken: success on invalid input.
6400 echo "$as_me: failed program was:" >&5
6401 sed 's/^/| /' conftest.
$ac_ext >&5
6403 # Passes both tests.
6407 rm -f conftest.err conftest.
$ac_ext
6410 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6411 rm -f conftest.err conftest.
$ac_ext
6412 if $ac_preproc_ok; then
6417 ac_cv_prog_CXXCPP
=$CXXCPP
6420 CXXCPP
=$ac_cv_prog_CXXCPP
6422 ac_cv_prog_CXXCPP
=$CXXCPP
6424 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6425 echo "${ECHO_T}$CXXCPP" >&6
6427 for ac_cxx_preproc_warn_flag
in '' yes
6429 # Use a header file that comes with gcc, so configuring glibc
6430 # with a fresh cross-compiler works.
6431 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6432 # <limits.h> exists even on freestanding compilers.
6433 # On the NeXT, cc -E runs the code through the compiler's parser,
6434 # not just through cpp. "Syntax error" is here to catch this case.
6435 cat >conftest.
$ac_ext <<_ACEOF
6438 cat confdefs.h
>>conftest.
$ac_ext
6439 cat >>conftest.
$ac_ext <<_ACEOF
6440 /* end confdefs.h. */
6442 # include <limits.h>
6444 # include <assert.h>
6448 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6449 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6451 grep -v '^ *+' conftest.er1
>conftest.err
6453 cat conftest.err
>&5
6454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6455 (exit $ac_status); } >/dev
/null
; then
6456 if test -s conftest.err
; then
6457 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6458 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6465 if test -z "$ac_cpp_err"; then
6468 echo "$as_me: failed program was:" >&5
6469 sed 's/^/| /' conftest.
$ac_ext >&5
6471 # Broken: fails on valid input.
6474 rm -f conftest.err conftest.
$ac_ext
6476 # OK, works on sane cases. Now check whether non-existent headers
6477 # can be detected and how.
6478 cat >conftest.
$ac_ext <<_ACEOF
6481 cat confdefs.h
>>conftest.
$ac_ext
6482 cat >>conftest.
$ac_ext <<_ACEOF
6483 /* end confdefs.h. */
6484 #include <ac_nonexistent.h>
6486 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6487 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6489 grep -v '^ *+' conftest.er1
>conftest.err
6491 cat conftest.err
>&5
6492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6493 (exit $ac_status); } >/dev
/null
; then
6494 if test -s conftest.err
; then
6495 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6496 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6503 if test -z "$ac_cpp_err"; then
6504 # Broken: success on invalid input.
6507 echo "$as_me: failed program was:" >&5
6508 sed 's/^/| /' conftest.
$ac_ext >&5
6510 # Passes both tests.
6514 rm -f conftest.err conftest.
$ac_ext
6517 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6518 rm -f conftest.err conftest.
$ac_ext
6519 if $ac_preproc_ok; then
6522 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6523 See \`config.log' for more details." >&5
6524 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6525 See \`config.log' for more details." >&2;}
6526 { (exit 1); exit 1; }; }
6530 ac_cpp
='$CPP $CPPFLAGS'
6531 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6532 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6533 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6537 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
6539 lt_save_CFLAGS
="$CFLAGS"
6540 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
6541 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
6542 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
6543 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
6544 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
6545 deplibs_check_method
="$deplibs_check_method" \
6546 file_magic_cmd
="$file_magic_cmd" \
6547 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
6548 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
6549 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
6550 echo "$as_me: error: libtool tag configuration failed" >&2;}
6551 { (exit 1); exit 1; }; }
6553 CFLAGS
="$lt_save_CFLAGS"
6555 # Redirect the config.log output again, so that the ltconfig log is not
6556 # clobbered by the next message.
6557 exec 5>>.
/config.log
6567 # Extract the first word of "$ac_prog", so it can be a program name with args.
6568 set dummy
$ac_prog; ac_word
=$2
6569 echo "$as_me:$LINENO: checking for $ac_word" >&5
6570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6571 if test "${ac_cv_prog_GCJ+set}" = set; then
6572 echo $ECHO_N "(cached) $ECHO_C" >&6
6574 if test -n "$GCJ"; then
6575 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
6577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6581 test -z "$as_dir" && as_dir
=.
6582 for ac_exec_ext
in '' $ac_executable_extensions; do
6583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6584 ac_cv_prog_GCJ
="$ac_prog"
6585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6594 if test -n "$GCJ"; then
6595 echo "$as_me:$LINENO: result: $GCJ" >&5
6596 echo "${ECHO_T}$GCJ" >&6
6598 echo "$as_me:$LINENO: result: no" >&5
6599 echo "${ECHO_T}no" >&6
6602 test -n "$GCJ" && break
6604 test -n "$GCJ" || GCJ
="gcj"
6606 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
6607 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
6608 { (exit 1); exit 1; }; }
6609 if test "x${GCJFLAGS-unset}" = xunset
; then
6614 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
6616 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6617 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6618 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
6619 echo $ECHO_N "(cached) $ECHO_C" >&6
6621 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6622 # We make a subdir and do the tests there. Otherwise we can end up
6623 # making bogus files that we don't know about and never remove. For
6624 # instance it was reported that on HP-UX the gcc test will end up
6625 # making a dummy file named `D' -- because `-MD' means `put the output
6628 # Copy depcomp to subdir because otherwise we won't find it if we're
6629 # using a relative directory.
6630 cp "$am_depcomp" conftest.dir
6632 # We will build objects and dependencies in a subdirectory because
6633 # it helps to detect inapplicable dependency modes. For instance
6634 # both Tru64's cc and ICC support -MD to output dependencies as a
6635 # side effect of compilation, but ICC will put the dependencies in
6636 # the current directory while Tru64 will put them in the object
6640 am_cv_GCJ_dependencies_compiler_type
=none
6641 if test "$am_compiler_list" = ""; then
6642 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6644 for depmode
in $am_compiler_list; do
6645 # Setup a source with many dependencies, because some compilers
6646 # like to wrap large dependency lists on column 80 (with \), and
6647 # we should not choose a depcomp mode which is confused by this.
6649 # We need to recreate these files for each test, as the compiler may
6650 # overwrite some of them when testing with obscure command lines.
6651 # This happens at least with the AIX C compiler.
6653 for i
in 1 2 3 4 5 6; do
6654 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6655 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6656 # Solaris 8's {/usr,}/bin/sh.
6657 touch sub
/conftst
$i.h
6659 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6663 # after this tag, mechanisms are not by side-effect, so they'll
6664 # only be used when explicitly requested
6665 if test "x$enable_dependency_tracking" = xyes
; then
6673 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6674 # mode. It turns out that the SunPro C++ compiler does not properly
6675 # handle `-M -o', and we need to detect this.
6676 if depmode
=$depmode \
6677 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6678 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6679 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6680 >/dev
/null
2>conftest.err
&&
6681 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6682 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6683 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6684 # icc doesn't choke on unknown options, it will just issue warnings
6685 # or remarks (even with -Werror). So we grep stderr for any message
6686 # that says an option was ignored or not supported.
6687 # When given -MP, icc 7.0 and 7.1 complain thusly:
6688 # icc: Command line warning: ignoring option '-M'; no argument required
6689 # The diagnosis changed in icc 8.0:
6690 # icc: Command line remark: option '-MP' not supported
6691 if (grep 'ignoring option' conftest.err ||
6692 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6693 am_cv_GCJ_dependencies_compiler_type
=$depmode
6702 am_cv_GCJ_dependencies_compiler_type
=none
6706 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
6707 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
6708 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
6713 test "x$enable_dependency_tracking" != xno \
6714 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
6715 am__fastdepGCJ_TRUE
=
6716 am__fastdepGCJ_FALSE
='#'
6718 am__fastdepGCJ_TRUE
='#'
6719 am__fastdepGCJ_FALSE
=
6725 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-gcj.sh"
6727 lt_save_CFLAGS
="$CFLAGS"
6728 AR
="$AR" LTCC
="$CC" CC
="$GCJ" CFLAGS
="$GCJFLAGS" CPPFLAGS
="$CPPFLAGS" \
6729 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
6730 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
6731 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
6732 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
6733 deplibs_check_method
="$deplibs_check_method" \
6734 file_magic_cmd
="$file_magic_cmd" \
6735 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
6736 --build="$build" --add-tag=GCJ
$ac_aux_dir/ltcf-gcj.sh
$host \
6737 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
6738 echo "$as_me: error: libtool tag configuration failed" >&2;}
6739 { (exit 1); exit 1; }; }
6741 CFLAGS
="$lt_save_CFLAGS"
6743 # Redirect the config.log output again, so that the ltconfig log is not
6744 # clobbered by the next message.
6745 exec 5>>.
/config.log
6749 if test "x$CC" != xcc
; then
6750 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
6751 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
6753 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
6754 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
6756 set dummy
$CC; ac_cc
=`echo $2 |
6757 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6758 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
6759 echo $ECHO_N "(cached) $ECHO_C" >&6
6761 cat >conftest.
$ac_ext <<_ACEOF
6764 cat confdefs.h
>>conftest.
$ac_ext
6765 cat >>conftest.
$ac_ext <<_ACEOF
6766 /* end confdefs.h. */
6776 # Make sure it works both with $CC and with simple cc.
6777 # We do the test twice because some compilers refuse to overwrite an
6778 # existing .o file with -o, though they will create one.
6779 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
6780 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6784 (exit $ac_status); } &&
6785 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6789 (exit $ac_status); };
6791 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
6792 if test "x$CC" != xcc
; then
6793 # Test first that cc exists at all.
6794 if { ac_try
='cc -c conftest.$ac_ext >&5'
6795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6799 (exit $ac_status); }; }; then
6800 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
6801 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6805 (exit $ac_status); } &&
6806 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6810 (exit $ac_status); };
6815 # cc exists but doesn't like -o.
6816 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
6821 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
6826 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
6827 echo "$as_me:$LINENO: result: yes" >&5
6828 echo "${ECHO_T}yes" >&6
6830 echo "$as_me:$LINENO: result: no" >&5
6831 echo "${ECHO_T}no" >&6
6833 cat >>confdefs.h
<<\_ACEOF
6834 #define NO_MINUS_C_MINUS_O 1
6839 # FIXME: we rely on the cache variable name because
6840 # there is no other way.
6842 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6843 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
6844 # Losing compiler, so override with the script.
6845 # FIXME: It is wrong to rewrite CC.
6846 # But if we don't then we get into trouble of one sort or another.
6847 # A longer-term fix would be to have automake use am__CC in this case,
6848 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6849 CC
="$am_aux_dir/compile $CC"
6855 subdirs
="$subdirs classpath libltdl"
6858 # The -no-testsuite modules omit the test subdir.
6861 if test -d $srcdir/testsuite
; then
6863 TESTSUBDIR_FALSE
='#'
6870 # Should the runtime set system properties by examining the
6871 # environment variable GCJ_PROPERTIES?
6872 # Check whether --enable-getenv-properties or --disable-getenv-properties was given.
6873 if test "${enable_getenv_properties+set}" = set; then
6874 enableval
="$enable_getenv_properties"
6878 # Whether GCJ_PROPERTIES is used depends on the target.
6879 if test -z "$enable_getenv_properties"; then
6880 enable_getenv_properties
=${enable_getenv_properties_default-yes}
6882 if test "$enable_getenv_properties" = no
; then
6884 cat >>confdefs.h
<<\_ACEOF
6885 #define DISABLE_GETENV_PROPERTIES 1
6890 # Whether we should use arguments to main()
6891 if test -z "$enable_main_args"; then
6892 enable_main_args
=${enable_main_args_default-yes}
6894 if test "$enable_main_args" = no
; then
6896 cat >>confdefs.h
<<\_ACEOF
6897 #define DISABLE_MAIN_ARGS 1
6903 # Should we use hashtable-based synchronization?
6904 # Currently works only for Linux X86/ia64
6905 # Typically faster and more space-efficient
6906 # Check whether --enable-hash-synchronization or --disable-hash-synchronization was given.
6907 if test "${enable_hash_synchronization+set}" = set; then
6908 enableval
="$enable_hash_synchronization"
6912 if test -z "$enable_hash_synchronization"; then
6913 enable_hash_synchronization
=$enable_hash_synchronization_default
6921 # Check whether --with-ecj-jar or --without-ecj-jar was given.
6922 if test "${with_ecj_jar+set}" = set; then
6923 withval
="$with_ecj_jar"
6926 if test -f $libgcj_basedir/..
/ecj.jar
; then
6927 ECJ_BUILD_JAR
=$libgcj_basedir/..
/ecj.jar
6928 ECJ_JAR
='$(jardir)/ecj.jar'
6936 if test "$ECJ_JAR" != ""; then
6938 BUILD_ECJ1_FALSE
='#'
6946 if test $install_ecj_jar = yes; then
6947 INSTALL_ECJ_JAR_TRUE
=
6948 INSTALL_ECJ_JAR_FALSE
='#'
6950 INSTALL_ECJ_JAR_TRUE
='#'
6951 INSTALL_ECJ_JAR_FALSE
=
6956 # Check whether --with-java-home or --without-java-home was given.
6957 if test "${with_java_home+set}" = set; then
6958 withval
="$with_java_home"
6959 JAVA_HOME
="${withval}"
6965 if test ! -z "$JAVA_HOME"; then
6967 JAVA_HOME_SET_FALSE
='#'
6969 JAVA_HOME_SET_TRUE
='#'
6970 JAVA_HOME_SET_FALSE
=
6975 # What is the native OS API for MinGW?
6977 # Check whether --with-win32-nlsapi or --without-win32-nlsapi was given.
6978 if test "${with_win32_nlsapi+set}" = set; then
6979 withval
="$with_win32_nlsapi"
6980 case "${withval}" in
6981 ansi
) with_win32_nlsapi
=ansi
;;
6982 unicows
) with_win32_nlsapi
=unicows
;;
6983 unicode
) with_win32_nlsapi
=unicode
;;
6984 *) { { echo "$as_me:$LINENO: error: Bad value ${withval} for --with-win32-nlsapi." >&5
6985 echo "$as_me: error: Bad value ${withval} for --with-win32-nlsapi." >&2;}
6986 { (exit 1); exit 1; }; } ;;
6989 with_win32_nlsapi
=ansi
6992 case "${with_win32_nlsapi}" in
6995 cat >>confdefs.h
<<\_ACEOF
6996 #define MINGW_LIBGCJ_UNICODE 1
7002 # configure.host sets slow_pthread_self if the synchronization code should
7003 # try to avoid pthread_self calls by caching thread IDs in a hashtable.
7004 if test "${slow_pthread_self}" = "yes"; then
7006 cat >>confdefs.h
<<\_ACEOF
7007 #define SLOW_PTHREAD_SELF 1
7012 # Check for gc debugging. This option is handled both here and in the GC.
7013 # Check whether --enable-gc-debug or --disable-gc-debug was given.
7014 if test "${enable_gc_debug+set}" = set; then
7015 enableval
="$enable_gc_debug"
7016 if test "$enable_gc_debug" = "yes"; then
7018 cat >>confdefs.h
<<\_ACEOF
7019 #define LIBGCJ_GC_DEBUG 1
7025 # See if the user has the interpreter included.
7026 # Check whether --enable-interpreter or --disable-interpreter was given.
7027 if test "${enable_interpreter+set}" = set; then
7028 enableval
="$enable_interpreter"
7029 if test "$enable_interpreter" = yes; then
7030 # This can also be set in configure.host.
7031 libgcj_interpreter
=yes
7032 elif test "$enable_interpreter" = no
; then
7033 libgcj_interpreter
=no
7037 if test "$libgcj_interpreter" = yes; then
7039 cat >>confdefs.h
<<\_ACEOF
7040 #define INTERPRETER 1
7044 INTERPRETER
="$libgcj_interpreter"
7047 echo "$as_me:$LINENO: checking for exception model to use" >&5
7048 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
7050 ac_cpp
='$CXXCPP $CPPFLAGS'
7051 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7052 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7053 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7055 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
7056 if test "${enable_sjlj_exceptions+set}" = set; then
7057 enableval
="$enable_sjlj_exceptions"
7060 cat > conftest.
$ac_ext << EOF
7061 #line 7061 "configure"
7070 old_CXXFLAGS
="$CXXFLAGS"
7072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7073 (eval $ac_compile) 2>&5
7075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7076 (exit $ac_status); }; then
7077 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1 ; then
7078 enable_sjlj_exceptions
=yes
7079 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1 ; then
7080 enable_sjlj_exceptions
=no
7083 CXXFLAGS
="$old_CXXFLAGS"
7086 if test x
$enable_sjlj_exceptions = xyes
; then
7088 cat >>confdefs.h
<<\_ACEOF
7089 #define SJLJ_EXCEPTIONS 1
7092 ac_exception_model_name
=sjlj
7093 elif test x
$enable_sjlj_exceptions = xno
; then
7094 ac_exception_model_name
="call frame"
7096 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
7097 echo "$as_me: error: unable to detect exception model" >&2;}
7098 { (exit 1); exit 1; }; }
7101 ac_cpp
='$CPP $CPPFLAGS'
7102 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7103 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7104 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7106 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
7107 echo "${ECHO_T}$ac_exception_model_name" >&6
7109 # If we are non using SJLJ exceptions, and this host does not have support
7110 # for unwinding from a signal handler, enable checked dereferences and divides.
7111 if test $can_unwind_signal = no
&& test $enable_sjlj_exceptions = no
; then
7112 CHECKREFSPEC
=-fcheck-references
7113 DIVIDESPEC
=-fuse-divide-subroutine
7117 # See if the user wants to disable java.net. This is the mildly
7118 # ugly way that we admit that target-side configuration sucks.
7119 # Check whether --enable-java-net or --disable-java-net was given.
7120 if test "${enable_java_net+set}" = set; then
7121 enableval
="$enable_java_net"
7125 # Whether java.net is built by default can depend on the target.
7126 if test -z "$enable_java_net"; then
7127 enable_java_net
=${enable_java_net_default-yes}
7129 if test "$enable_java_net" = no
; then
7131 cat >>confdefs.h
<<\_ACEOF
7132 #define DISABLE_JAVA_NET 1
7137 # See if the user wants to configure without libffi. Some
7138 # architectures don't support it, and default values are set in
7141 # Check whether --with-libffi or --without-libffi was given.
7142 if test "${with_libffi+set}" = set; then
7143 withval
="$with_libffi"
7146 with_libffi
=${with_libffi_default-yes}
7151 if test "$with_libffi" != no
; then
7153 cat >>confdefs.h
<<\_ACEOF
7154 #define USE_LIBFFI 1
7157 LIBFFI
=..
/libffi
/libffi_convenience.la
7158 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
7163 # See if the user wants to disable JVMPI support.
7164 # Check whether --enable-jvmpi or --disable-jvmpi was given.
7165 if test "${enable_jvmpi+set}" = set; then
7166 enableval
="$enable_jvmpi"
7170 if test "$enable_jvmpi" != no
; then
7172 cat >>confdefs.h
<<\_ACEOF
7173 #define ENABLE_JVMPI 1
7178 # If the target is an eCos system, use the appropriate eCos
7180 # FIXME: this should not be a local option but a global target
7181 # system; at present there is no eCos target.
7182 TARGET_ECOS
=${PROCESS-"no"}
7184 # Check whether --with-ecos or --without-ecos was given.
7185 if test "${with_ecos+set}" = set; then
7186 withval
="$with_ecos"
7187 TARGET_ECOS
="$with_ecos"
7191 case "$TARGET_ECOS" in
7198 echo "$as_me:$LINENO: checking whether 'ld' is at least 2.13" >&5
7199 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6
7200 LD_PROG
=`$CC --print-prog-name=ld`
7201 LD_VERSION
=`$LD_PROG --version`
7202 LD_VERSION_MAJOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
7203 LD_VERSION_MINOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
7204 if expr "$LD_VERSION_MAJOR" \
> 2 > /dev
/null
; then
7207 if expr "$LD_VERSION_MAJOR" = 2 && expr "$LD_VERSION_MINOR" \
>= 13 > /dev
/null
; then
7211 if test "x$LD_OK" != x
; then
7212 echo "$as_me:$LINENO: result: yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
7213 echo "${ECHO_T}yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
7215 echo "$as_me:$LINENO: result: no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
7216 echo "${ECHO_T}no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
7217 { echo "$as_me:$LINENO: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&5
7218 echo "$as_me: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&2;}
7220 cat >>confdefs.h
<<\_ACEOF
7221 #define JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS 1
7237 cat >>confdefs.h
<<\_ACEOF
7245 ac_config_links
="$ac_config_links include/platform.h:include/$PLATFORMH"
7249 ac_cpp
='$CPP $CPPFLAGS'
7250 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7251 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7252 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7253 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7254 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
7255 # On Suns, sometimes $CPP names a directory.
7256 if test -n "$CPP" && test -d "$CPP"; then
7259 if test -z "$CPP"; then
7260 if test "${ac_cv_prog_CPP+set}" = set; then
7261 echo $ECHO_N "(cached) $ECHO_C" >&6
7263 # Double quotes because CPP needs to be expanded
7264 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7267 for ac_c_preproc_warn_flag
in '' yes
7269 # Use a header file that comes with gcc, so configuring glibc
7270 # with a fresh cross-compiler works.
7271 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7272 # <limits.h> exists even on freestanding compilers.
7273 # On the NeXT, cc -E runs the code through the compiler's parser,
7274 # not just through cpp. "Syntax error" is here to catch this case.
7275 cat >conftest.
$ac_ext <<_ACEOF
7278 cat confdefs.h
>>conftest.
$ac_ext
7279 cat >>conftest.
$ac_ext <<_ACEOF
7280 /* end confdefs.h. */
7282 # include <limits.h>
7284 # include <assert.h>
7288 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7289 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7291 grep -v '^ *+' conftest.er1
>conftest.err
7293 cat conftest.err
>&5
7294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7295 (exit $ac_status); } >/dev
/null
; then
7296 if test -s conftest.err
; then
7297 ac_cpp_err
=$ac_c_preproc_warn_flag
7298 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7305 if test -z "$ac_cpp_err"; then
7308 echo "$as_me: failed program was:" >&5
7309 sed 's/^/| /' conftest.
$ac_ext >&5
7311 # Broken: fails on valid input.
7314 rm -f conftest.err conftest.
$ac_ext
7316 # OK, works on sane cases. Now check whether non-existent headers
7317 # can be detected and how.
7318 cat >conftest.
$ac_ext <<_ACEOF
7321 cat confdefs.h
>>conftest.
$ac_ext
7322 cat >>conftest.
$ac_ext <<_ACEOF
7323 /* end confdefs.h. */
7324 #include <ac_nonexistent.h>
7326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7327 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7329 grep -v '^ *+' conftest.er1
>conftest.err
7331 cat conftest.err
>&5
7332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7333 (exit $ac_status); } >/dev
/null
; then
7334 if test -s conftest.err
; then
7335 ac_cpp_err
=$ac_c_preproc_warn_flag
7336 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7343 if test -z "$ac_cpp_err"; then
7344 # Broken: success on invalid input.
7347 echo "$as_me: failed program was:" >&5
7348 sed 's/^/| /' conftest.
$ac_ext >&5
7350 # Passes both tests.
7354 rm -f conftest.err conftest.
$ac_ext
7357 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7358 rm -f conftest.err conftest.
$ac_ext
7359 if $ac_preproc_ok; then
7371 echo "$as_me:$LINENO: result: $CPP" >&5
7372 echo "${ECHO_T}$CPP" >&6
7374 for ac_c_preproc_warn_flag
in '' yes
7376 # Use a header file that comes with gcc, so configuring glibc
7377 # with a fresh cross-compiler works.
7378 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7379 # <limits.h> exists even on freestanding compilers.
7380 # On the NeXT, cc -E runs the code through the compiler's parser,
7381 # not just through cpp. "Syntax error" is here to catch this case.
7382 cat >conftest.
$ac_ext <<_ACEOF
7385 cat confdefs.h
>>conftest.
$ac_ext
7386 cat >>conftest.
$ac_ext <<_ACEOF
7387 /* end confdefs.h. */
7389 # include <limits.h>
7391 # include <assert.h>
7395 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7396 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7398 grep -v '^ *+' conftest.er1
>conftest.err
7400 cat conftest.err
>&5
7401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7402 (exit $ac_status); } >/dev
/null
; then
7403 if test -s conftest.err
; then
7404 ac_cpp_err
=$ac_c_preproc_warn_flag
7405 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7412 if test -z "$ac_cpp_err"; then
7415 echo "$as_me: failed program was:" >&5
7416 sed 's/^/| /' conftest.
$ac_ext >&5
7418 # Broken: fails on valid input.
7421 rm -f conftest.err conftest.
$ac_ext
7423 # OK, works on sane cases. Now check whether non-existent headers
7424 # can be detected and how.
7425 cat >conftest.
$ac_ext <<_ACEOF
7428 cat confdefs.h
>>conftest.
$ac_ext
7429 cat >>conftest.
$ac_ext <<_ACEOF
7430 /* end confdefs.h. */
7431 #include <ac_nonexistent.h>
7433 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7434 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7436 grep -v '^ *+' conftest.er1
>conftest.err
7438 cat conftest.err
>&5
7439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7440 (exit $ac_status); } >/dev
/null
; then
7441 if test -s conftest.err
; then
7442 ac_cpp_err
=$ac_c_preproc_warn_flag
7443 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7450 if test -z "$ac_cpp_err"; then
7451 # Broken: success on invalid input.
7454 echo "$as_me: failed program was:" >&5
7455 sed 's/^/| /' conftest.
$ac_ext >&5
7457 # Passes both tests.
7461 rm -f conftest.err conftest.
$ac_ext
7464 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7465 rm -f conftest.err conftest.
$ac_ext
7466 if $ac_preproc_ok; then
7469 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7470 See \`config.log' for more details." >&5
7471 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7472 See \`config.log' for more details." >&2;}
7473 { (exit 1); exit 1; }; }
7477 ac_cpp
='$CPP $CPPFLAGS'
7478 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7479 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7480 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7483 echo "$as_me:$LINENO: checking for egrep" >&5
7484 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
7485 if test "${ac_cv_prog_egrep+set}" = set; then
7486 echo $ECHO_N "(cached) $ECHO_C" >&6
7488 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
7489 then ac_cv_prog_egrep
='grep -E'
7490 else ac_cv_prog_egrep
='egrep'
7493 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
7494 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
7495 EGREP
=$ac_cv_prog_egrep
7498 cat >conftest.
$ac_ext <<_ACEOF
7501 cat confdefs.h
>>conftest.
$ac_ext
7502 cat >>conftest.
$ac_ext <<_ACEOF
7503 /* end confdefs.h. */
7507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7508 $EGREP "uint32_t" >/dev
/null
2>&1; then
7510 cat >>confdefs.h
<<\_ACEOF
7511 #define HAVE_INT32_DEFINED 1
7517 cat >conftest.
$ac_ext <<_ACEOF
7520 cat confdefs.h
>>conftest.
$ac_ext
7521 cat >>conftest.
$ac_ext <<_ACEOF
7522 /* end confdefs.h. */
7523 #include <inttypes.h>
7526 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7527 $EGREP "uint32_t" >/dev
/null
2>&1; then
7529 cat >>confdefs.h
<<\_ACEOF
7530 #define HAVE_INT32_DEFINED 1
7536 cat >conftest.
$ac_ext <<_ACEOF
7539 cat confdefs.h
>>conftest.
$ac_ext
7540 cat >>conftest.
$ac_ext <<_ACEOF
7541 /* end confdefs.h. */
7542 #include <sys/types.h>
7545 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7546 $EGREP "u_int32_t" >/dev
/null
2>&1; then
7548 cat >>confdefs.h
<<\_ACEOF
7549 #define HAVE_BSD_INT32_DEFINED 1
7555 cat >conftest.
$ac_ext <<_ACEOF
7558 cat confdefs.h
>>conftest.
$ac_ext
7559 cat >>conftest.
$ac_ext <<_ACEOF
7560 /* end confdefs.h. */
7561 #include <sys/config.h>
7564 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7565 $EGREP "u_int32_t" >/dev
/null
2>&1; then
7567 cat >>confdefs.h
<<\_ACEOF
7568 #define HAVE_BSD_INT32_DEFINED 1
7577 if test "$PLATFORM" = Win32
; then
7578 USING_WIN32_PLATFORM_TRUE
=
7579 USING_WIN32_PLATFORM_FALSE
='#'
7581 USING_WIN32_PLATFORM_TRUE
='#'
7582 USING_WIN32_PLATFORM_FALSE
=
7587 if test "$PLATFORM" = Posix ||
test "$PLATFORM" = Ecos
; then
7588 USING_POSIX_PLATFORM_TRUE
=
7589 USING_POSIX_PLATFORM_FALSE
='#'
7591 USING_POSIX_PLATFORM_TRUE
='#'
7592 USING_POSIX_PLATFORM_FALSE
=
7597 *-darwin*) DARWIN_CRT
=true
;;
7598 *) DARWIN_CRT
=false
;;
7602 if $DARWIN_CRT; then
7603 USING_DARWIN_CRT_TRUE
=
7604 USING_DARWIN_CRT_FALSE
='#'
7606 USING_DARWIN_CRT_TRUE
='#'
7607 USING_DARWIN_CRT_FALSE
=
7611 # These may not be defined in a non-ANS conformant embedded system.
7612 # FIXME: Should these case a runtime exception in that case?
7613 cat >conftest.
$ac_ext <<_ACEOF
7616 cat confdefs.h
>>conftest.
$ac_ext
7617 cat >>conftest.
$ac_ext <<_ACEOF
7618 /* end confdefs.h. */
7622 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7623 $EGREP "mktime" >/dev
/null
2>&1; then
7625 cat >>confdefs.h
<<\_ACEOF
7626 #define HAVE_MKTIME 1
7632 cat >conftest.
$ac_ext <<_ACEOF
7635 cat confdefs.h
>>conftest.
$ac_ext
7636 cat >>conftest.
$ac_ext <<_ACEOF
7637 /* end confdefs.h. */
7641 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7642 $EGREP "localtime" >/dev
/null
2>&1; then
7644 cat >>confdefs.h
<<\_ACEOF
7645 #define HAVE_LOCALTIME 1
7652 # Create the subdirectory for natFile.cc, or the attempt
7653 # to create the link will fail.
7654 test -d java || mkdir java
7655 test -d java
/io || mkdir java
/io
7656 test -d gnu || mkdir gnu
7657 ac_config_links
="$ac_config_links java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc"
7660 # Likewise for natConcreteProcess.cc.
7661 test -d java
/lang || mkdir java
/lang
7662 ac_config_links
="$ac_config_links java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc"
7665 # Likewise for natVMInetAddress.cc and natVMNetworkInterface.cc.
7666 test -d java
/net || mkdir java
/net
7667 ac_config_links
="$ac_config_links java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc"
7669 ac_config_links
="$ac_config_links java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc"
7672 # Likewise for natPlainSocketImpl.cc and natPlainDatagramSocketImpl.cc.
7673 test -d gnu
/java || mkdir gnu
/java
7674 test -d gnu
/java
/net || mkdir gnu
/java
/net
7675 ac_config_links
="$ac_config_links gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc"
7677 ac_config_links
="$ac_config_links gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc"
7680 # Likewise for natPipeImpl.cc and natSelectorImpl.cc.
7681 test -d gnu
/java
/nio || mkdir gnu
/java
/nio
7682 ac_config_links
="$ac_config_links gnu/java/nio/natPipeImpl.cc:gnu/java/nio/natPipeImpl${PLATFORM}.cc"
7684 ac_config_links
="$ac_config_links gnu/java/nio/natSelectorImpl.cc:gnu/java/nio/natSelectorImpl${PLATFORM}.cc"
7686 test -d gnu
/java
/nio
/channels || mkdir gnu
/java
/nio
/channels
7687 ac_config_links
="$ac_config_links gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc"
7692 SYSTEMSPEC
="-lgdi32 -lws2_32"
7693 if test "${with_win32_nlsapi}" = "unicows"; then
7694 SYSTEMSPEC
="-lunicows $SYSTEMSPEC"
7703 LIBGCJTESTSPEC
="-L`${PWDCMD-pwd}`/.libs -rpath `${PWDCMD-pwd}`/.libs"
7707 # Check whether --with-system-zlib or --without-system-zlib was given.
7708 if test "${with_system_zlib+set}" = set; then
7709 withval
="$with_system_zlib"
7717 echo "$as_me:$LINENO: checking for X" >&5
7718 echo $ECHO_N "checking for X... $ECHO_C" >&6
7721 # Check whether --with-x or --without-x was given.
7722 if test "${with_x+set}" = set; then
7726 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7727 if test "x$with_x" = xno
; then
7728 # The user explicitly disabled X.
7731 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7732 # Both variables are already set.
7735 if test "${ac_cv_have_x+set}" = set; then
7736 echo $ECHO_N "(cached) $ECHO_C" >&6
7738 # One or both of the vars are not set, and there is no cached value.
7739 ac_x_includes
=no ac_x_libraries
=no
7741 if mkdir conftest.dir
; then
7743 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7744 cat >Imakefile
<<'_ACEOF'
7746 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7748 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7749 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7750 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7751 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7752 for ac_extension
in a so sl
; do
7753 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7754 test -f $ac_im_libdir/libX11.
$ac_extension; then
7755 ac_im_usrlibdir
=$ac_im_libdir; break
7758 # Screen out bogus values from the imake configuration. They are
7759 # bogus both because they are the default anyway, and because
7760 # using them would break gcc on systems where it needs fixed includes.
7761 case $ac_im_incroot in
7763 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7765 case $ac_im_usrlibdir in
7767 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7774 # Standard set of common directories for X headers.
7775 # Check X11 before X11Rn because it is often a symlink to the current release.
7787 /usr/local/X11/include
7788 /usr/local/X11R6/include
7789 /usr/local/X11R5/include
7790 /usr/local/X11R4/include
7792 /usr/local/include/X11
7793 /usr/local/include/X11R6
7794 /usr/local/include/X11R5
7795 /usr/local/include/X11R4
7799 /usr/XFree86/include/X11
7803 /usr/unsupported/include
7805 /usr/local/x11r5/include
7806 /usr/lpp/Xamples/include
7808 /usr/openwin/include
7809 /usr/openwin/share/include'
7811 if test "$ac_x_includes" = no
; then
7812 # Guess where to find include files, by looking for Xlib.h.
7813 # First, try using that file with no special directory specified.
7814 cat >conftest.
$ac_ext <<_ACEOF
7817 cat confdefs.h
>>conftest.
$ac_ext
7818 cat >>conftest.
$ac_ext <<_ACEOF
7819 /* end confdefs.h. */
7820 #include <X11/Xlib.h>
7822 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7823 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7825 grep -v '^ *+' conftest.er1
>conftest.err
7827 cat conftest.err
>&5
7828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7829 (exit $ac_status); } >/dev
/null
; then
7830 if test -s conftest.err
; then
7831 ac_cpp_err
=$ac_c_preproc_warn_flag
7832 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7839 if test -z "$ac_cpp_err"; then
7840 # We can compile using X headers with no special include directory.
7843 echo "$as_me: failed program was:" >&5
7844 sed 's/^/| /' conftest.
$ac_ext >&5
7846 for ac_dir
in $ac_x_header_dirs; do
7847 if test -r "$ac_dir/X11/Xlib.h"; then
7848 ac_x_includes
=$ac_dir
7853 rm -f conftest.err conftest.
$ac_ext
7854 fi # $ac_x_includes = no
7856 if test "$ac_x_libraries" = no
; then
7857 # Check for the libraries.
7858 # See if we find them without any special options.
7859 # Don't add to $LIBS permanently.
7862 if test x
$gcc_no_link = xyes
; then
7863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7865 { (exit 1); exit 1; }; }
7867 cat >conftest.
$ac_ext <<_ACEOF
7870 cat confdefs.h
>>conftest.
$ac_ext
7871 cat >>conftest.
$ac_ext <<_ACEOF
7872 /* end confdefs.h. */
7873 #include <X11/Xlib.h>
7882 rm -f conftest.
$ac_objext conftest
$ac_exeext
7883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7884 (eval $ac_link) 2>conftest.er1
7886 grep -v '^ *+' conftest.er1
>conftest.err
7888 cat conftest.err
>&5
7889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7890 (exit $ac_status); } &&
7891 { ac_try
='test -z "$ac_c_werror_flag"
7892 || test ! -s conftest.err'
7893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7897 (exit $ac_status); }; } &&
7898 { ac_try
='test -s conftest$ac_exeext'
7899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7903 (exit $ac_status); }; }; then
7905 # We can link X programs with no special library path.
7908 echo "$as_me: failed program was:" >&5
7909 sed 's/^/| /' conftest.
$ac_ext >&5
7912 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7914 # Don't even attempt the hair of trying to link an X program!
7915 for ac_extension
in a so sl
; do
7916 if test -r $ac_dir/libXt.
$ac_extension; then
7917 ac_x_libraries
=$ac_dir
7923 rm -f conftest.err conftest.
$ac_objext \
7924 conftest
$ac_exeext conftest.
$ac_ext
7925 fi # $ac_x_libraries = no
7927 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
7928 # Didn't find X anywhere. Cache the known absence of X.
7929 ac_cv_have_x
="have_x=no"
7931 # Record where we found X for the cache.
7932 ac_cv_have_x
="have_x=yes \
7933 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7938 eval "$ac_cv_have_x"
7941 if test "$have_x" != yes; then
7942 echo "$as_me:$LINENO: result: $have_x" >&5
7943 echo "${ECHO_T}$have_x" >&6
7946 # If each of the values was on the command line, it overrides each guess.
7947 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7948 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7949 # Update the cache value to reflect the command line values.
7950 ac_cv_have_x
="have_x=yes \
7951 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7952 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
7953 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
7956 if test "$no_x" = yes; then
7957 # Not all programs may use this symbol, but it does not hurt to define it.
7959 cat >>confdefs.h
<<\_ACEOF
7960 #define X_DISPLAY_MISSING 1
7963 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7965 if test -n "$x_includes"; then
7966 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7969 # It would also be nice to do this for all -L options, not just this one.
7970 if test -n "$x_libraries"; then
7971 X_LIBS
="$X_LIBS -L$x_libraries"
7972 # For Solaris; some versions of Sun CC require a space after -R and
7973 # others require no space. Words are not sufficient . . . .
7974 case `(uname -sr) 2>/dev/null` in
7976 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
7977 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
7978 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7979 if test x
$gcc_no_link = xyes
; then
7980 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7982 { (exit 1); exit 1; }; }
7984 cat >conftest.
$ac_ext <<_ACEOF
7987 cat confdefs.h
>>conftest.
$ac_ext
7988 cat >>conftest.
$ac_ext <<_ACEOF
7989 /* end confdefs.h. */
7999 rm -f conftest.
$ac_objext conftest
$ac_exeext
8000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8001 (eval $ac_link) 2>conftest.er1
8003 grep -v '^ *+' conftest.er1
>conftest.err
8005 cat conftest.err
>&5
8006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8007 (exit $ac_status); } &&
8008 { ac_try
='test -z "$ac_c_werror_flag"
8009 || test ! -s conftest.err'
8010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8014 (exit $ac_status); }; } &&
8015 { ac_try
='test -s conftest$ac_exeext'
8016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8020 (exit $ac_status); }; }; then
8023 echo "$as_me: failed program was:" >&5
8024 sed 's/^/| /' conftest.
$ac_ext >&5
8028 rm -f conftest.err conftest.
$ac_objext \
8029 conftest
$ac_exeext conftest.
$ac_ext
8030 if test $ac_R_nospace = yes; then
8031 echo "$as_me:$LINENO: result: no" >&5
8032 echo "${ECHO_T}no" >&6
8033 X_LIBS
="$X_LIBS -R$x_libraries"
8035 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8036 if test x
$gcc_no_link = xyes
; then
8037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8039 { (exit 1); exit 1; }; }
8041 cat >conftest.
$ac_ext <<_ACEOF
8044 cat confdefs.h
>>conftest.
$ac_ext
8045 cat >>conftest.
$ac_ext <<_ACEOF
8046 /* end confdefs.h. */
8056 rm -f conftest.
$ac_objext conftest
$ac_exeext
8057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8058 (eval $ac_link) 2>conftest.er1
8060 grep -v '^ *+' conftest.er1
>conftest.err
8062 cat conftest.err
>&5
8063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8064 (exit $ac_status); } &&
8065 { ac_try
='test -z "$ac_c_werror_flag"
8066 || test ! -s conftest.err'
8067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8071 (exit $ac_status); }; } &&
8072 { ac_try
='test -s conftest$ac_exeext'
8073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8077 (exit $ac_status); }; }; then
8080 echo "$as_me: failed program was:" >&5
8081 sed 's/^/| /' conftest.
$ac_ext >&5
8085 rm -f conftest.err conftest.
$ac_objext \
8086 conftest
$ac_exeext conftest.
$ac_ext
8087 if test $ac_R_space = yes; then
8088 echo "$as_me:$LINENO: result: yes" >&5
8089 echo "${ECHO_T}yes" >&6
8090 X_LIBS
="$X_LIBS -R $x_libraries"
8092 echo "$as_me:$LINENO: result: neither works" >&5
8093 echo "${ECHO_T}neither works" >&6
8100 # Check for system-dependent libraries X programs must link with.
8101 # Do this before checking for the system-independent R6 libraries
8102 # (-lICE), since we may need -lsocket or whatever for X linking.
8104 if test "$ISC" = yes; then
8105 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8107 # Martyn Johnson says this is needed for Ultrix, if the X
8108 # libraries were built with DECnet support. And Karl Berry says
8109 # the Alpha needs dnet_stub (dnet does not exist).
8110 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8111 if test x
$gcc_no_link = xyes
; then
8112 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8114 { (exit 1); exit 1; }; }
8116 cat >conftest.
$ac_ext <<_ACEOF
8119 cat confdefs.h
>>conftest.
$ac_ext
8120 cat >>conftest.
$ac_ext <<_ACEOF
8121 /* end confdefs.h. */
8123 /* Override any gcc2 internal prototype to avoid an error. */
8127 /* We use char because int might match the return type of a gcc2
8128 builtin and then its argument prototype would still apply. */
8129 char XOpenDisplay ();
8138 rm -f conftest.
$ac_objext conftest
$ac_exeext
8139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8140 (eval $ac_link) 2>conftest.er1
8142 grep -v '^ *+' conftest.er1
>conftest.err
8144 cat conftest.err
>&5
8145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8146 (exit $ac_status); } &&
8147 { ac_try
='test -z "$ac_c_werror_flag"
8148 || test ! -s conftest.err'
8149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8153 (exit $ac_status); }; } &&
8154 { ac_try
='test -s conftest$ac_exeext'
8155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8159 (exit $ac_status); }; }; then
8162 echo "$as_me: failed program was:" >&5
8163 sed 's/^/| /' conftest.
$ac_ext >&5
8165 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
8166 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
8167 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
8168 echo $ECHO_N "(cached) $ECHO_C" >&6
8170 ac_check_lib_save_LIBS
=$LIBS
8172 if test x
$gcc_no_link = xyes
; then
8173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8175 { (exit 1); exit 1; }; }
8177 cat >conftest.
$ac_ext <<_ACEOF
8180 cat confdefs.h
>>conftest.
$ac_ext
8181 cat >>conftest.
$ac_ext <<_ACEOF
8182 /* end confdefs.h. */
8184 /* Override any gcc2 internal prototype to avoid an error. */
8188 /* We use char because int might match the return type of a gcc2
8189 builtin and then its argument prototype would still apply. */
8199 rm -f conftest.
$ac_objext conftest
$ac_exeext
8200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8201 (eval $ac_link) 2>conftest.er1
8203 grep -v '^ *+' conftest.er1
>conftest.err
8205 cat conftest.err
>&5
8206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8207 (exit $ac_status); } &&
8208 { ac_try
='test -z "$ac_c_werror_flag"
8209 || test ! -s conftest.err'
8210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8214 (exit $ac_status); }; } &&
8215 { ac_try
='test -s conftest$ac_exeext'
8216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8220 (exit $ac_status); }; }; then
8221 ac_cv_lib_dnet_dnet_ntoa
=yes
8223 echo "$as_me: failed program was:" >&5
8224 sed 's/^/| /' conftest.
$ac_ext >&5
8226 ac_cv_lib_dnet_dnet_ntoa
=no
8228 rm -f conftest.err conftest.
$ac_objext \
8229 conftest
$ac_exeext conftest.
$ac_ext
8230 LIBS
=$ac_check_lib_save_LIBS
8232 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8233 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
8234 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
8235 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8238 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8239 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
8240 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
8241 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
8242 echo $ECHO_N "(cached) $ECHO_C" >&6
8244 ac_check_lib_save_LIBS
=$LIBS
8245 LIBS
="-ldnet_stub $LIBS"
8246 if test x
$gcc_no_link = xyes
; then
8247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8249 { (exit 1); exit 1; }; }
8251 cat >conftest.
$ac_ext <<_ACEOF
8254 cat confdefs.h
>>conftest.
$ac_ext
8255 cat >>conftest.
$ac_ext <<_ACEOF
8256 /* end confdefs.h. */
8258 /* Override any gcc2 internal prototype to avoid an error. */
8262 /* We use char because int might match the return type of a gcc2
8263 builtin and then its argument prototype would still apply. */
8273 rm -f conftest.
$ac_objext conftest
$ac_exeext
8274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8275 (eval $ac_link) 2>conftest.er1
8277 grep -v '^ *+' conftest.er1
>conftest.err
8279 cat conftest.err
>&5
8280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8281 (exit $ac_status); } &&
8282 { ac_try
='test -z "$ac_c_werror_flag"
8283 || test ! -s conftest.err'
8284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8288 (exit $ac_status); }; } &&
8289 { ac_try
='test -s conftest$ac_exeext'
8290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8294 (exit $ac_status); }; }; then
8295 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8297 echo "$as_me: failed program was:" >&5
8298 sed 's/^/| /' conftest.
$ac_ext >&5
8300 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8302 rm -f conftest.err conftest.
$ac_objext \
8303 conftest
$ac_exeext conftest.
$ac_ext
8304 LIBS
=$ac_check_lib_save_LIBS
8306 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8307 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
8308 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
8309 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8314 rm -f conftest.err conftest.
$ac_objext \
8315 conftest
$ac_exeext conftest.
$ac_ext
8316 LIBS
="$ac_xsave_LIBS"
8318 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8319 # to get the SysV transport functions.
8320 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8322 # The nsl library prevents programs from opening the X display
8323 # on Irix 5.2, according to T.E. Dickey.
8324 # The functions gethostbyname, getservbyname, and inet_addr are
8325 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8326 echo "$as_me:$LINENO: checking for gethostbyname" >&5
8327 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
8328 if test "${ac_cv_func_gethostbyname+set}" = set; then
8329 echo $ECHO_N "(cached) $ECHO_C" >&6
8331 if test x
$gcc_no_link = xyes
; then
8332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8334 { (exit 1); exit 1; }; }
8336 cat >conftest.
$ac_ext <<_ACEOF
8339 cat confdefs.h
>>conftest.
$ac_ext
8340 cat >>conftest.
$ac_ext <<_ACEOF
8341 /* end confdefs.h. */
8342 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
8343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8344 #define gethostbyname innocuous_gethostbyname
8346 /* System header to define __stub macros and hopefully few prototypes,
8347 which can conflict with char gethostbyname (); below.
8348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8349 <limits.h> exists even on freestanding compilers. */
8352 # include <limits.h>
8354 # include <assert.h>
8357 #undef gethostbyname
8359 /* Override any gcc2 internal prototype to avoid an error. */
8364 /* We use char because int might match the return type of a gcc2
8365 builtin and then its argument prototype would still apply. */
8366 char gethostbyname ();
8367 /* The GNU C library defines this for functions which it implements
8368 to always fail with ENOSYS. Some functions are actually named
8369 something starting with __ and the normal name is an alias. */
8370 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
8373 char (*f) () = gethostbyname;
8382 return f != gethostbyname;
8387 rm -f conftest.
$ac_objext conftest
$ac_exeext
8388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8389 (eval $ac_link) 2>conftest.er1
8391 grep -v '^ *+' conftest.er1
>conftest.err
8393 cat conftest.err
>&5
8394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8395 (exit $ac_status); } &&
8396 { ac_try
='test -z "$ac_c_werror_flag"
8397 || test ! -s conftest.err'
8398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8402 (exit $ac_status); }; } &&
8403 { ac_try
='test -s conftest$ac_exeext'
8404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8408 (exit $ac_status); }; }; then
8409 ac_cv_func_gethostbyname
=yes
8411 echo "$as_me: failed program was:" >&5
8412 sed 's/^/| /' conftest.
$ac_ext >&5
8414 ac_cv_func_gethostbyname
=no
8416 rm -f conftest.err conftest.
$ac_objext \
8417 conftest
$ac_exeext conftest.
$ac_ext
8419 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
8420 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
8422 if test $ac_cv_func_gethostbyname = no
; then
8423 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
8424 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
8425 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
8426 echo $ECHO_N "(cached) $ECHO_C" >&6
8428 ac_check_lib_save_LIBS
=$LIBS
8430 if test x
$gcc_no_link = xyes
; then
8431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8433 { (exit 1); exit 1; }; }
8435 cat >conftest.
$ac_ext <<_ACEOF
8438 cat confdefs.h
>>conftest.
$ac_ext
8439 cat >>conftest.
$ac_ext <<_ACEOF
8440 /* end confdefs.h. */
8442 /* Override any gcc2 internal prototype to avoid an error. */
8446 /* We use char because int might match the return type of a gcc2
8447 builtin and then its argument prototype would still apply. */
8448 char gethostbyname ();
8457 rm -f conftest.
$ac_objext conftest
$ac_exeext
8458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8459 (eval $ac_link) 2>conftest.er1
8461 grep -v '^ *+' conftest.er1
>conftest.err
8463 cat conftest.err
>&5
8464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8465 (exit $ac_status); } &&
8466 { ac_try
='test -z "$ac_c_werror_flag"
8467 || test ! -s conftest.err'
8468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472 (exit $ac_status); }; } &&
8473 { ac_try
='test -s conftest$ac_exeext'
8474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8478 (exit $ac_status); }; }; then
8479 ac_cv_lib_nsl_gethostbyname
=yes
8481 echo "$as_me: failed program was:" >&5
8482 sed 's/^/| /' conftest.
$ac_ext >&5
8484 ac_cv_lib_nsl_gethostbyname
=no
8486 rm -f conftest.err conftest.
$ac_objext \
8487 conftest
$ac_exeext conftest.
$ac_ext
8488 LIBS
=$ac_check_lib_save_LIBS
8490 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
8491 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
8492 if test $ac_cv_lib_nsl_gethostbyname = yes; then
8493 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8496 if test $ac_cv_lib_nsl_gethostbyname = no
; then
8497 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
8498 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
8499 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
8500 echo $ECHO_N "(cached) $ECHO_C" >&6
8502 ac_check_lib_save_LIBS
=$LIBS
8504 if test x
$gcc_no_link = xyes
; then
8505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8507 { (exit 1); exit 1; }; }
8509 cat >conftest.
$ac_ext <<_ACEOF
8512 cat confdefs.h
>>conftest.
$ac_ext
8513 cat >>conftest.
$ac_ext <<_ACEOF
8514 /* end confdefs.h. */
8516 /* Override any gcc2 internal prototype to avoid an error. */
8520 /* We use char because int might match the return type of a gcc2
8521 builtin and then its argument prototype would still apply. */
8522 char gethostbyname ();
8531 rm -f conftest.
$ac_objext conftest
$ac_exeext
8532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8533 (eval $ac_link) 2>conftest.er1
8535 grep -v '^ *+' conftest.er1
>conftest.err
8537 cat conftest.err
>&5
8538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8539 (exit $ac_status); } &&
8540 { ac_try
='test -z "$ac_c_werror_flag"
8541 || test ! -s conftest.err'
8542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8546 (exit $ac_status); }; } &&
8547 { ac_try
='test -s conftest$ac_exeext'
8548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8552 (exit $ac_status); }; }; then
8553 ac_cv_lib_bsd_gethostbyname
=yes
8555 echo "$as_me: failed program was:" >&5
8556 sed 's/^/| /' conftest.
$ac_ext >&5
8558 ac_cv_lib_bsd_gethostbyname
=no
8560 rm -f conftest.err conftest.
$ac_objext \
8561 conftest
$ac_exeext conftest.
$ac_ext
8562 LIBS
=$ac_check_lib_save_LIBS
8564 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
8565 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
8566 if test $ac_cv_lib_bsd_gethostbyname = yes; then
8567 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
8573 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8574 # socket/setsockopt and other routines are undefined under SCO ODT
8575 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8576 # on later versions), says Simon Leinen: it contains gethostby*
8577 # variants that don't use the name server (or something). -lsocket
8578 # must be given before -lnsl if both are needed. We assume that
8579 # if connect needs -lnsl, so does gethostbyname.
8580 echo "$as_me:$LINENO: checking for connect" >&5
8581 echo $ECHO_N "checking for connect... $ECHO_C" >&6
8582 if test "${ac_cv_func_connect+set}" = set; then
8583 echo $ECHO_N "(cached) $ECHO_C" >&6
8585 if test x
$gcc_no_link = xyes
; then
8586 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8588 { (exit 1); exit 1; }; }
8590 cat >conftest.
$ac_ext <<_ACEOF
8593 cat confdefs.h
>>conftest.
$ac_ext
8594 cat >>conftest.
$ac_ext <<_ACEOF
8595 /* end confdefs.h. */
8596 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
8597 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8598 #define connect innocuous_connect
8600 /* System header to define __stub macros and hopefully few prototypes,
8601 which can conflict with char connect (); below.
8602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8603 <limits.h> exists even on freestanding compilers. */
8606 # include <limits.h>
8608 # include <assert.h>
8613 /* Override any gcc2 internal prototype to avoid an error. */
8618 /* We use char because int might match the return type of a gcc2
8619 builtin and then its argument prototype would still apply. */
8621 /* The GNU C library defines this for functions which it implements
8622 to always fail with ENOSYS. Some functions are actually named
8623 something starting with __ and the normal name is an alias. */
8624 #if defined (__stub_connect) || defined (__stub___connect)
8627 char (*f) () = connect;
8636 return f != connect;
8641 rm -f conftest.
$ac_objext conftest
$ac_exeext
8642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8643 (eval $ac_link) 2>conftest.er1
8645 grep -v '^ *+' conftest.er1
>conftest.err
8647 cat conftest.err
>&5
8648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8649 (exit $ac_status); } &&
8650 { ac_try
='test -z "$ac_c_werror_flag"
8651 || test ! -s conftest.err'
8652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8656 (exit $ac_status); }; } &&
8657 { ac_try
='test -s conftest$ac_exeext'
8658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8662 (exit $ac_status); }; }; then
8663 ac_cv_func_connect
=yes
8665 echo "$as_me: failed program was:" >&5
8666 sed 's/^/| /' conftest.
$ac_ext >&5
8668 ac_cv_func_connect
=no
8670 rm -f conftest.err conftest.
$ac_objext \
8671 conftest
$ac_exeext conftest.
$ac_ext
8673 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
8674 echo "${ECHO_T}$ac_cv_func_connect" >&6
8676 if test $ac_cv_func_connect = no
; then
8677 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
8678 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
8679 if test "${ac_cv_lib_socket_connect+set}" = set; then
8680 echo $ECHO_N "(cached) $ECHO_C" >&6
8682 ac_check_lib_save_LIBS
=$LIBS
8683 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8684 if test x
$gcc_no_link = xyes
; then
8685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8687 { (exit 1); exit 1; }; }
8689 cat >conftest.
$ac_ext <<_ACEOF
8692 cat confdefs.h
>>conftest.
$ac_ext
8693 cat >>conftest.
$ac_ext <<_ACEOF
8694 /* end confdefs.h. */
8696 /* Override any gcc2 internal prototype to avoid an error. */
8700 /* We use char because int might match the return type of a gcc2
8701 builtin and then its argument prototype would still apply. */
8711 rm -f conftest.
$ac_objext conftest
$ac_exeext
8712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8713 (eval $ac_link) 2>conftest.er1
8715 grep -v '^ *+' conftest.er1
>conftest.err
8717 cat conftest.err
>&5
8718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8719 (exit $ac_status); } &&
8720 { ac_try
='test -z "$ac_c_werror_flag"
8721 || test ! -s conftest.err'
8722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 (exit $ac_status); }; } &&
8727 { ac_try
='test -s conftest$ac_exeext'
8728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8732 (exit $ac_status); }; }; then
8733 ac_cv_lib_socket_connect
=yes
8735 echo "$as_me: failed program was:" >&5
8736 sed 's/^/| /' conftest.
$ac_ext >&5
8738 ac_cv_lib_socket_connect
=no
8740 rm -f conftest.err conftest.
$ac_objext \
8741 conftest
$ac_exeext conftest.
$ac_ext
8742 LIBS
=$ac_check_lib_save_LIBS
8744 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
8745 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
8746 if test $ac_cv_lib_socket_connect = yes; then
8747 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8752 # Guillermo Gomez says -lposix is necessary on A/UX.
8753 echo "$as_me:$LINENO: checking for remove" >&5
8754 echo $ECHO_N "checking for remove... $ECHO_C" >&6
8755 if test "${ac_cv_func_remove+set}" = set; then
8756 echo $ECHO_N "(cached) $ECHO_C" >&6
8758 if test x
$gcc_no_link = xyes
; then
8759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8761 { (exit 1); exit 1; }; }
8763 cat >conftest.
$ac_ext <<_ACEOF
8766 cat confdefs.h
>>conftest.
$ac_ext
8767 cat >>conftest.
$ac_ext <<_ACEOF
8768 /* end confdefs.h. */
8769 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
8770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8771 #define remove innocuous_remove
8773 /* System header to define __stub macros and hopefully few prototypes,
8774 which can conflict with char remove (); below.
8775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8776 <limits.h> exists even on freestanding compilers. */
8779 # include <limits.h>
8781 # include <assert.h>
8786 /* Override any gcc2 internal prototype to avoid an error. */
8791 /* We use char because int might match the return type of a gcc2
8792 builtin and then its argument prototype would still apply. */
8794 /* The GNU C library defines this for functions which it implements
8795 to always fail with ENOSYS. Some functions are actually named
8796 something starting with __ and the normal name is an alias. */
8797 #if defined (__stub_remove) || defined (__stub___remove)
8800 char (*f) () = remove;
8814 rm -f conftest.
$ac_objext conftest
$ac_exeext
8815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8816 (eval $ac_link) 2>conftest.er1
8818 grep -v '^ *+' conftest.er1
>conftest.err
8820 cat conftest.err
>&5
8821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8822 (exit $ac_status); } &&
8823 { ac_try
='test -z "$ac_c_werror_flag"
8824 || test ! -s conftest.err'
8825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8829 (exit $ac_status); }; } &&
8830 { ac_try
='test -s conftest$ac_exeext'
8831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8835 (exit $ac_status); }; }; then
8836 ac_cv_func_remove
=yes
8838 echo "$as_me: failed program was:" >&5
8839 sed 's/^/| /' conftest.
$ac_ext >&5
8841 ac_cv_func_remove
=no
8843 rm -f conftest.err conftest.
$ac_objext \
8844 conftest
$ac_exeext conftest.
$ac_ext
8846 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
8847 echo "${ECHO_T}$ac_cv_func_remove" >&6
8849 if test $ac_cv_func_remove = no
; then
8850 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
8851 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
8852 if test "${ac_cv_lib_posix_remove+set}" = set; then
8853 echo $ECHO_N "(cached) $ECHO_C" >&6
8855 ac_check_lib_save_LIBS
=$LIBS
8856 LIBS
="-lposix $LIBS"
8857 if test x
$gcc_no_link = xyes
; then
8858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8860 { (exit 1); exit 1; }; }
8862 cat >conftest.
$ac_ext <<_ACEOF
8865 cat confdefs.h
>>conftest.
$ac_ext
8866 cat >>conftest.
$ac_ext <<_ACEOF
8867 /* end confdefs.h. */
8869 /* Override any gcc2 internal prototype to avoid an error. */
8873 /* We use char because int might match the return type of a gcc2
8874 builtin and then its argument prototype would still apply. */
8884 rm -f conftest.
$ac_objext conftest
$ac_exeext
8885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8886 (eval $ac_link) 2>conftest.er1
8888 grep -v '^ *+' conftest.er1
>conftest.err
8890 cat conftest.err
>&5
8891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8892 (exit $ac_status); } &&
8893 { ac_try
='test -z "$ac_c_werror_flag"
8894 || test ! -s conftest.err'
8895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8899 (exit $ac_status); }; } &&
8900 { ac_try
='test -s conftest$ac_exeext'
8901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8905 (exit $ac_status); }; }; then
8906 ac_cv_lib_posix_remove
=yes
8908 echo "$as_me: failed program was:" >&5
8909 sed 's/^/| /' conftest.
$ac_ext >&5
8911 ac_cv_lib_posix_remove
=no
8913 rm -f conftest.err conftest.
$ac_objext \
8914 conftest
$ac_exeext conftest.
$ac_ext
8915 LIBS
=$ac_check_lib_save_LIBS
8917 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
8918 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
8919 if test $ac_cv_lib_posix_remove = yes; then
8920 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8925 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8926 echo "$as_me:$LINENO: checking for shmat" >&5
8927 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
8928 if test "${ac_cv_func_shmat+set}" = set; then
8929 echo $ECHO_N "(cached) $ECHO_C" >&6
8931 if test x
$gcc_no_link = xyes
; then
8932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8934 { (exit 1); exit 1; }; }
8936 cat >conftest.
$ac_ext <<_ACEOF
8939 cat confdefs.h
>>conftest.
$ac_ext
8940 cat >>conftest.
$ac_ext <<_ACEOF
8941 /* end confdefs.h. */
8942 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
8943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8944 #define shmat innocuous_shmat
8946 /* System header to define __stub macros and hopefully few prototypes,
8947 which can conflict with char shmat (); below.
8948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8949 <limits.h> exists even on freestanding compilers. */
8952 # include <limits.h>
8954 # include <assert.h>
8959 /* Override any gcc2 internal prototype to avoid an error. */
8964 /* We use char because int might match the return type of a gcc2
8965 builtin and then its argument prototype would still apply. */
8967 /* The GNU C library defines this for functions which it implements
8968 to always fail with ENOSYS. Some functions are actually named
8969 something starting with __ and the normal name is an alias. */
8970 #if defined (__stub_shmat) || defined (__stub___shmat)
8973 char (*f) () = shmat;
8987 rm -f conftest.
$ac_objext conftest
$ac_exeext
8988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8989 (eval $ac_link) 2>conftest.er1
8991 grep -v '^ *+' conftest.er1
>conftest.err
8993 cat conftest.err
>&5
8994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8995 (exit $ac_status); } &&
8996 { ac_try
='test -z "$ac_c_werror_flag"
8997 || test ! -s conftest.err'
8998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9002 (exit $ac_status); }; } &&
9003 { ac_try
='test -s conftest$ac_exeext'
9004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9008 (exit $ac_status); }; }; then
9009 ac_cv_func_shmat
=yes
9011 echo "$as_me: failed program was:" >&5
9012 sed 's/^/| /' conftest.
$ac_ext >&5
9016 rm -f conftest.err conftest.
$ac_objext \
9017 conftest
$ac_exeext conftest.
$ac_ext
9019 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
9020 echo "${ECHO_T}$ac_cv_func_shmat" >&6
9022 if test $ac_cv_func_shmat = no
; then
9023 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
9024 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
9025 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
9026 echo $ECHO_N "(cached) $ECHO_C" >&6
9028 ac_check_lib_save_LIBS
=$LIBS
9030 if test x
$gcc_no_link = xyes
; then
9031 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9033 { (exit 1); exit 1; }; }
9035 cat >conftest.
$ac_ext <<_ACEOF
9038 cat confdefs.h
>>conftest.
$ac_ext
9039 cat >>conftest.
$ac_ext <<_ACEOF
9040 /* end confdefs.h. */
9042 /* Override any gcc2 internal prototype to avoid an error. */
9046 /* We use char because int might match the return type of a gcc2
9047 builtin and then its argument prototype would still apply. */
9057 rm -f conftest.
$ac_objext conftest
$ac_exeext
9058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9059 (eval $ac_link) 2>conftest.er1
9061 grep -v '^ *+' conftest.er1
>conftest.err
9063 cat conftest.err
>&5
9064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9065 (exit $ac_status); } &&
9066 { ac_try
='test -z "$ac_c_werror_flag"
9067 || test ! -s conftest.err'
9068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9072 (exit $ac_status); }; } &&
9073 { ac_try
='test -s conftest$ac_exeext'
9074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9078 (exit $ac_status); }; }; then
9079 ac_cv_lib_ipc_shmat
=yes
9081 echo "$as_me: failed program was:" >&5
9082 sed 's/^/| /' conftest.
$ac_ext >&5
9084 ac_cv_lib_ipc_shmat
=no
9086 rm -f conftest.err conftest.
$ac_objext \
9087 conftest
$ac_exeext conftest.
$ac_ext
9088 LIBS
=$ac_check_lib_save_LIBS
9090 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
9091 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
9092 if test $ac_cv_lib_ipc_shmat = yes; then
9093 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9099 # Check for libraries that X11R6 Xt/Xaw programs need.
9100 ac_save_LDFLAGS
=$LDFLAGS
9101 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9102 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9103 # check for ICE first), but we must link in the order -lSM -lICE or
9104 # we get undefined symbols. So assume we have SM if we have ICE.
9105 # These have to be linked with before -lX11, unlike the other
9106 # libraries we check for below, so use a different variable.
9107 # John Interrante, Karl Berry
9108 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
9109 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
9110 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
9111 echo $ECHO_N "(cached) $ECHO_C" >&6
9113 ac_check_lib_save_LIBS
=$LIBS
9114 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9115 if test x
$gcc_no_link = xyes
; then
9116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9118 { (exit 1); exit 1; }; }
9120 cat >conftest.
$ac_ext <<_ACEOF
9123 cat confdefs.h
>>conftest.
$ac_ext
9124 cat >>conftest.
$ac_ext <<_ACEOF
9125 /* end confdefs.h. */
9127 /* Override any gcc2 internal prototype to avoid an error. */
9131 /* We use char because int might match the return type of a gcc2
9132 builtin and then its argument prototype would still apply. */
9133 char IceConnectionNumber ();
9137 IceConnectionNumber ();
9142 rm -f conftest.
$ac_objext conftest
$ac_exeext
9143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9144 (eval $ac_link) 2>conftest.er1
9146 grep -v '^ *+' conftest.er1
>conftest.err
9148 cat conftest.err
>&5
9149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9150 (exit $ac_status); } &&
9151 { ac_try
='test -z "$ac_c_werror_flag"
9152 || test ! -s conftest.err'
9153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9157 (exit $ac_status); }; } &&
9158 { ac_try
='test -s conftest$ac_exeext'
9159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9163 (exit $ac_status); }; }; then
9164 ac_cv_lib_ICE_IceConnectionNumber
=yes
9166 echo "$as_me: failed program was:" >&5
9167 sed 's/^/| /' conftest.
$ac_ext >&5
9169 ac_cv_lib_ICE_IceConnectionNumber
=no
9171 rm -f conftest.err conftest.
$ac_objext \
9172 conftest
$ac_exeext conftest.
$ac_ext
9173 LIBS
=$ac_check_lib_save_LIBS
9175 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9176 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
9177 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
9178 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9181 LDFLAGS
=$ac_save_LDFLAGS
9186 # FIXME: this should be _libs on some hosts.
9189 # extra LD Flags which are required for targets
9192 # For now we have to disable it on darwin[8-9] because it slows down
9193 # the linking phase. A possible bug in ld?
9194 # on Darwin -single_module speeds up loading of the dynamic libraries.
9195 extra_ldflags_libjava
=-Wl,-single_module
9200 # Allow the GC to be disabled. Can be useful when debugging.
9201 echo "$as_me:$LINENO: checking for garbage collector to use" >&5
9202 echo $ECHO_N "checking for garbage collector to use... $ECHO_C" >&6
9203 # Check whether --enable-java-gc or --disable-java-gc was given.
9204 if test "${enable_java_gc+set}" = set; then
9205 enableval
="$enable_java_gc"
9218 echo "$as_me:$LINENO: result: boehm" >&5
9219 echo "${ECHO_T}boehm" >&6
9220 GCLIBS
=..
/boehm-gc
/libgcjgc_convenience.la
9221 JC1GCSPEC
='-fuse-boehm-gc'
9222 GCTESTSPEC
="-L`${PWDCMD-pwd}`/../boehm-gc/.libs -rpath `${PWDCMD-pwd}`/../boehm-gc/.libs"
9223 GCINCS
='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include'
9226 # The POSIX thread support needs to know this.
9228 cat >>confdefs.h
<<\_ACEOF
9229 #define HAVE_BOEHM_GC 1
9234 echo "$as_me:$LINENO: result: none" >&5
9235 echo "${ECHO_T}none" >&6
9239 { { echo "$as_me:$LINENO: error: unrecognized collector \"$GC\"" >&5
9240 echo "$as_me: error: unrecognized collector \"$GC\"" >&2;}
9241 { (exit 1); exit 1; }; }
9250 ac_config_links
="$ac_config_links include/java-gc.h:include/$GCHDR"
9254 if test "$GC" = boehm
; then
9256 USING_BOEHMGC_FALSE
='#'
9258 USING_BOEHMGC_TRUE
='#'
9259 USING_BOEHMGC_FALSE
=
9264 if test "$GC" = no
; then
9266 USING_NOGC_FALSE
='#'
9274 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
9275 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
9276 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
9277 echo "$as_me:$LINENO: result: $THREADS" >&5
9278 echo "${ECHO_T}$THREADS" >&6
9284 posix | posix95 | pthreads
)
9289 cat >>confdefs.h
<<\_ACEOF
9290 #define LINUX_THREADS 1
9298 decosf1 | irix | mach | os2 | solaris | dce | vxworks
)
9299 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
9300 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
9301 { (exit 1); exit 1; }; }
9304 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
9305 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
9306 { (exit 1); exit 1; }; }
9317 THREADSTARTFILESPEC
=
9322 # Don't set THREADLIBS here. Cygwin doesn't have -lpthread.
9325 # Before FreeBSD 5, it didn't have -lpthread (or any library which
9326 # merely adds pthread_* functions) but it does have a -pthread switch
9327 # which is required at link-time to select -lc_r *instead* of -lc.
9328 THREADLDFLAGS
=-pthread
9329 # Don't set THREADSPEC here as might be expected since -pthread is
9330 # not processed when found within a spec file, it must come from
9331 # the command line. For now, the user must provide the -pthread
9332 # switch to link code compiled with gcj. In future, consider adding
9333 # support for weak references to pthread_* functions ala gthr.h API.
9334 THREADSPEC
='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
9337 # FreeBSD >=5.3 implements a model much closer to other modern UNIX
9338 # systems which support threads and -lpthread.
9339 THREADLDFLAGS
=-pthread
9340 THREADSPEC
=-lpthread
9342 alpha
*-dec-osf* | hppa
*-hp-hpux*)
9343 THREADCXXFLAGS
=-pthread
9344 # boehm-gc needs some functions from librt, so link that too.
9345 THREADLIBS
='-lpthread -lrt'
9346 THREADSPEC
='-lpthread -lrt'
9349 THREADLIBS
=-lpthread
9350 THREADSPEC
=-lpthread
9353 THREADH
=posix-threads.h
9354 # MIT pthreads doesn't seem to have the mutexattr functions.
9355 # But for now we don't check for it. We just assume you aren't
9356 # using MIT pthreads.
9358 cat >>confdefs.h
<<\_ACEOF
9359 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
9363 # If we're using the Boehm GC, then we happen to know that it
9364 # defines _REENTRANT, so we don't bother. Eww.
9365 if test "$GC" != boehm
; then
9367 cat >>confdefs.h
<<\_ACEOF
9368 #define _REENTRANT 1
9373 cat >>confdefs.h
<<\_ACEOF
9374 #define _POSIX_PTHREAD_SEMANTICS 1
9380 THREADH
=win32-threads.h
9381 THREADCXXFLAGS
=-mthreads
9382 # We need thread-safe exception handling so _CRT_MT should be set to 1.
9383 # But we do not want the executables created to be dependent on
9384 # mingwm10.dll which provides a __mingwthr_key_dtor() that cleans up
9385 # exception handling contexts. The following kludge achieves this effect
9386 # and causes a dummy __mingwthr_key_dtor() to be linked in from
9387 # libmingw32.a. This causes a memory leak of about 24 bytes per thread.
9388 # A workaround is to explicitly use -mthreads while linking Java programs.
9389 # See PR libgcj/28263.
9391 # FIXME: In Java we are able to detect thread death at the end of
9392 # Thread.run() so we should be able to clean up the exception handling
9393 # contexts ourselves.
9394 THREADSTARTFILESPEC
='crtmt%O%s'
9398 THREADH
=no-threads.h
9401 ac_config_links
="$ac_config_links include/java-threads.h:include/$THREADH"
9412 if test "$THREADS" = posix
; then
9413 USING_POSIX_THREADS_TRUE
=
9414 USING_POSIX_THREADS_FALSE
='#'
9416 USING_POSIX_THREADS_TRUE
='#'
9417 USING_POSIX_THREADS_FALSE
=
9422 if test "$THREADS" = win32
; then
9423 USING_WIN32_THREADS_TRUE
=
9424 USING_WIN32_THREADS_FALSE
='#'
9426 USING_WIN32_THREADS_TRUE
='#'
9427 USING_WIN32_THREADS_FALSE
=
9432 if test "$THREADS" = none
; then
9433 USING_NO_THREADS_TRUE
=
9434 USING_NO_THREADS_FALSE
='#'
9436 USING_NO_THREADS_TRUE
='#'
9437 USING_NO_THREADS_FALSE
=
9442 if test "$use_libgcj_bc" = yes; then
9444 USE_LIBGCJ_BC_FALSE
='#'
9446 USE_LIBGCJ_BC_TRUE
='#'
9447 USE_LIBGCJ_BC_FALSE
=
9451 if test -d sysdep
; then true
; else mkdir sysdep
; fi
9452 ac_config_links
="$ac_config_links sysdep/locks.h:sysdep/$sysdeps_dir/locks.h"
9454 ac_config_links
="$ac_config_links sysdep/backtrace.h:$fallback_backtrace_h"
9456 ac_config_links
="$ac_config_links sysdep/descriptor.h:$descriptor_h"
9459 LIBGCJ_SPEC
="%{s-bc-abi:} -lgcj"
9460 if test "$use_libgcj_bc" = yes; then
9461 LIBGCJ_SPEC
="%{s-bc-abi:-lgcj_bc;:-lgcj}"
9466 # Hash synchronization is only useful with posix threads right now.
9467 if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then
9468 HASH_SYNC_SPEC
=-fhash-synchronization
9470 cat >>confdefs.h
<<\_ACEOF
9471 #define JV_HASH_SYNCHRONIZATION 1
9479 if test "$GCC" = yes; then
9488 # We're in the tree with gcc, and need to include some of its headers.
9489 GCC_UNWIND_INCLUDE
='-I$(libgcj_basedir)/../gcc'
9491 if test "x${with_newlib}" = "xyes"; then
9492 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
9493 # may not work correctly, because the compiler may not be able to
9496 # We assume newlib. This lets us hard-code the functions we know
9499 cat >>confdefs.h
<<\_ACEOF
9500 #define HAVE_MEMMOVE 1
9504 cat >>confdefs.h
<<\_ACEOF
9505 #define HAVE_MEMCPY 1
9509 cat >>confdefs.h
<<\_ACEOF
9510 #define HAVE_STRERROR 1
9514 cat >>confdefs.h
<<\_ACEOF
9519 cat >>confdefs.h
<<\_ACEOF
9520 #define HAVE_GMTIME_R 1
9524 cat >>confdefs.h
<<\_ACEOF
9525 #define HAVE_LOCALTIME_R 1
9529 cat >>confdefs.h
<<\_ACEOF
9530 #define HAVE_USLEEP_DECL 1
9533 # This is only for POSIX threads.
9535 cat >>confdefs.h
<<\_ACEOF
9536 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
9539 # We also assume we are using gcc, which provides alloca.
9540 cat >>confdefs.h
<<\_ACEOF
9541 #define HAVE_ALLOCA 1
9545 # Assume we do not have getuid and friends.
9547 cat >>confdefs.h
<<\_ACEOF
9588 for ac_func
in strerror ioctl
select fstat open fsync
sleep opendir \
9589 gmtime_r localtime_r readdir_r getpwuid_r getcwd \
9590 access stat lstat mkdir rename
rmdir unlink utime
chmod readlink \
9591 nl_langinfo setlocale \
9592 inet_pton uname inet_ntoa \
9593 fork execvp pipe sigaction ftruncate mmap \
9596 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9597 echo "$as_me:$LINENO: checking for $ac_func" >&5
9598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9599 if eval "test \"\${$as_ac_var+set}\" = set"; then
9600 echo $ECHO_N "(cached) $ECHO_C" >&6
9602 if test x
$gcc_no_link = xyes
; then
9603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9605 { (exit 1); exit 1; }; }
9607 cat >conftest.
$ac_ext <<_ACEOF
9610 cat confdefs.h
>>conftest.
$ac_ext
9611 cat >>conftest.
$ac_ext <<_ACEOF
9612 /* end confdefs.h. */
9613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9615 #define $ac_func innocuous_$ac_func
9617 /* System header to define __stub macros and hopefully few prototypes,
9618 which can conflict with char $ac_func (); below.
9619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9620 <limits.h> exists even on freestanding compilers. */
9623 # include <limits.h>
9625 # include <assert.h>
9630 /* Override any gcc2 internal prototype to avoid an error. */
9635 /* We use char because int might match the return type of a gcc2
9636 builtin and then its argument prototype would still apply. */
9638 /* The GNU C library defines this for functions which it implements
9639 to always fail with ENOSYS. Some functions are actually named
9640 something starting with __ and the normal name is an alias. */
9641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9644 char (*f) () = $ac_func;
9653 return f != $ac_func;
9658 rm -f conftest.
$ac_objext conftest
$ac_exeext
9659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9660 (eval $ac_link) 2>conftest.er1
9662 grep -v '^ *+' conftest.er1
>conftest.err
9664 cat conftest.err
>&5
9665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9666 (exit $ac_status); } &&
9667 { ac_try
='test -z "$ac_c_werror_flag"
9668 || test ! -s conftest.err'
9669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9673 (exit $ac_status); }; } &&
9674 { ac_try
='test -s conftest$ac_exeext'
9675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9679 (exit $ac_status); }; }; then
9680 eval "$as_ac_var=yes"
9682 echo "$as_me: failed program was:" >&5
9683 sed 's/^/| /' conftest.
$ac_ext >&5
9685 eval "$as_ac_var=no"
9687 rm -f conftest.err conftest.
$ac_objext \
9688 conftest
$ac_exeext conftest.
$ac_ext
9690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9692 if test `eval echo '${'$as_ac_var'}'` = yes; then
9693 cat >>confdefs.h
<<_ACEOF
9694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9702 for ac_func
in inet_aton inet_addr
9704 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9705 echo "$as_me:$LINENO: checking for $ac_func" >&5
9706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9707 if eval "test \"\${$as_ac_var+set}\" = set"; then
9708 echo $ECHO_N "(cached) $ECHO_C" >&6
9710 if test x
$gcc_no_link = xyes
; then
9711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9713 { (exit 1); exit 1; }; }
9715 cat >conftest.
$ac_ext <<_ACEOF
9718 cat confdefs.h
>>conftest.
$ac_ext
9719 cat >>conftest.
$ac_ext <<_ACEOF
9720 /* end confdefs.h. */
9721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9723 #define $ac_func innocuous_$ac_func
9725 /* System header to define __stub macros and hopefully few prototypes,
9726 which can conflict with char $ac_func (); below.
9727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9728 <limits.h> exists even on freestanding compilers. */
9731 # include <limits.h>
9733 # include <assert.h>
9738 /* Override any gcc2 internal prototype to avoid an error. */
9743 /* We use char because int might match the return type of a gcc2
9744 builtin and then its argument prototype would still apply. */
9746 /* The GNU C library defines this for functions which it implements
9747 to always fail with ENOSYS. Some functions are actually named
9748 something starting with __ and the normal name is an alias. */
9749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9752 char (*f) () = $ac_func;
9761 return f != $ac_func;
9766 rm -f conftest.
$ac_objext conftest
$ac_exeext
9767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9768 (eval $ac_link) 2>conftest.er1
9770 grep -v '^ *+' conftest.er1
>conftest.err
9772 cat conftest.err
>&5
9773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9774 (exit $ac_status); } &&
9775 { ac_try
='test -z "$ac_c_werror_flag"
9776 || test ! -s conftest.err'
9777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781 (exit $ac_status); }; } &&
9782 { ac_try
='test -s conftest$ac_exeext'
9783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9787 (exit $ac_status); }; }; then
9788 eval "$as_ac_var=yes"
9790 echo "$as_me: failed program was:" >&5
9791 sed 's/^/| /' conftest.
$ac_ext >&5
9793 eval "$as_ac_var=no"
9795 rm -f conftest.err conftest.
$ac_objext \
9796 conftest
$ac_exeext conftest.
$ac_ext
9798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9800 if test `eval echo '${'$as_ac_var'}'` = yes; then
9801 cat >>confdefs.h
<<_ACEOF
9802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9808 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
9809 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
9810 if test "${ac_cv_header_stdc+set}" = set; then
9811 echo $ECHO_N "(cached) $ECHO_C" >&6
9813 cat >conftest.
$ac_ext <<_ACEOF
9816 cat confdefs.h
>>conftest.
$ac_ext
9817 cat >>conftest.
$ac_ext <<_ACEOF
9818 /* end confdefs.h. */
9832 rm -f conftest.
$ac_objext
9833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9834 (eval $ac_compile) 2>conftest.er1
9836 grep -v '^ *+' conftest.er1
>conftest.err
9838 cat conftest.err
>&5
9839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840 (exit $ac_status); } &&
9841 { ac_try
='test -z "$ac_c_werror_flag"
9842 || test ! -s conftest.err'
9843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9847 (exit $ac_status); }; } &&
9848 { ac_try
='test -s conftest.$ac_objext'
9849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9853 (exit $ac_status); }; }; then
9854 ac_cv_header_stdc
=yes
9856 echo "$as_me: failed program was:" >&5
9857 sed 's/^/| /' conftest.
$ac_ext >&5
9859 ac_cv_header_stdc
=no
9861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9863 if test $ac_cv_header_stdc = yes; then
9864 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9865 cat >conftest.
$ac_ext <<_ACEOF
9868 cat confdefs.h
>>conftest.
$ac_ext
9869 cat >>conftest.
$ac_ext <<_ACEOF
9870 /* end confdefs.h. */
9874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9875 $EGREP "memchr" >/dev
/null
2>&1; then
9878 ac_cv_header_stdc
=no
9884 if test $ac_cv_header_stdc = yes; then
9885 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9886 cat >conftest.
$ac_ext <<_ACEOF
9889 cat confdefs.h
>>conftest.
$ac_ext
9890 cat >>conftest.
$ac_ext <<_ACEOF
9891 /* end confdefs.h. */
9895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9896 $EGREP "free" >/dev
/null
2>&1; then
9899 ac_cv_header_stdc
=no
9905 if test $ac_cv_header_stdc = yes; then
9906 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9907 if test "$cross_compiling" = yes; then
9910 cat >conftest.
$ac_ext <<_ACEOF
9913 cat confdefs.h
>>conftest.
$ac_ext
9914 cat >>conftest.
$ac_ext <<_ACEOF
9915 /* end confdefs.h. */
9917 #if ((' ' & 0x0FF) == 0x020)
9918 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9919 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9921 # define ISLOWER(c) \
9922 (('a' <= (c) && (c) <= 'i') \
9923 || ('j' <= (c) && (c) <= 'r') \
9924 || ('s' <= (c) && (c) <= 'z'))
9925 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9928 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9933 for (i = 0; i < 256; i++)
9934 if (XOR (islower (i), ISLOWER (i))
9935 || toupper (i) != TOUPPER (i))
9940 rm -f conftest
$ac_exeext
9941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9942 (eval $ac_link) 2>&5
9944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9945 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9950 (exit $ac_status); }; }; then
9953 echo "$as_me: program exited with status $ac_status" >&5
9954 echo "$as_me: failed program was:" >&5
9955 sed 's/^/| /' conftest.
$ac_ext >&5
9958 ac_cv_header_stdc
=no
9960 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9964 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
9965 echo "${ECHO_T}$ac_cv_header_stdc" >&6
9966 if test $ac_cv_header_stdc = yes; then
9968 cat >>confdefs.h
<<\_ACEOF
9969 #define STDC_HEADERS 1
9974 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9984 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
9985 inttypes.h stdint.h unistd.h
9987 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9988 echo "$as_me:$LINENO: checking for $ac_header" >&5
9989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9990 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9991 echo $ECHO_N "(cached) $ECHO_C" >&6
9993 cat >conftest.
$ac_ext <<_ACEOF
9996 cat confdefs.h
>>conftest.
$ac_ext
9997 cat >>conftest.
$ac_ext <<_ACEOF
9998 /* end confdefs.h. */
9999 $ac_includes_default
10001 #include <$ac_header>
10003 rm -f conftest.
$ac_objext
10004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10005 (eval $ac_compile) 2>conftest.er1
10007 grep -v '^ *+' conftest.er1
>conftest.err
10009 cat conftest.err
>&5
10010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10011 (exit $ac_status); } &&
10012 { ac_try
='test -z "$ac_c_werror_flag"
10013 || test ! -s conftest.err'
10014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10015 (eval $ac_try) 2>&5
10017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10018 (exit $ac_status); }; } &&
10019 { ac_try
='test -s conftest.$ac_objext'
10020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10021 (eval $ac_try) 2>&5
10023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10024 (exit $ac_status); }; }; then
10025 eval "$as_ac_Header=yes"
10027 echo "$as_me: failed program was:" >&5
10028 sed 's/^/| /' conftest.
$ac_ext >&5
10030 eval "$as_ac_Header=no"
10032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10035 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10036 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10037 cat >>confdefs.h
<<_ACEOF
10038 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10049 for ac_header
in execinfo.h unistd.h dlfcn.h
10051 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10052 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10053 echo "$as_me:$LINENO: checking for $ac_header" >&5
10054 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10055 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10056 echo $ECHO_N "(cached) $ECHO_C" >&6
10058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10059 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10061 # Is the header compilable?
10062 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10063 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10064 cat >conftest.
$ac_ext <<_ACEOF
10067 cat confdefs.h
>>conftest.
$ac_ext
10068 cat >>conftest.
$ac_ext <<_ACEOF
10069 /* end confdefs.h. */
10070 $ac_includes_default
10071 #include <$ac_header>
10073 rm -f conftest.
$ac_objext
10074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10075 (eval $ac_compile) 2>conftest.er1
10077 grep -v '^ *+' conftest.er1
>conftest.err
10079 cat conftest.err
>&5
10080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10081 (exit $ac_status); } &&
10082 { ac_try
='test -z "$ac_c_werror_flag"
10083 || test ! -s conftest.err'
10084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10085 (eval $ac_try) 2>&5
10087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10088 (exit $ac_status); }; } &&
10089 { ac_try
='test -s conftest.$ac_objext'
10090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10091 (eval $ac_try) 2>&5
10093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10094 (exit $ac_status); }; }; then
10095 ac_header_compiler
=yes
10097 echo "$as_me: failed program was:" >&5
10098 sed 's/^/| /' conftest.
$ac_ext >&5
10100 ac_header_compiler
=no
10102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10103 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10104 echo "${ECHO_T}$ac_header_compiler" >&6
10106 # Is the header present?
10107 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10108 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10109 cat >conftest.
$ac_ext <<_ACEOF
10112 cat confdefs.h
>>conftest.
$ac_ext
10113 cat >>conftest.
$ac_ext <<_ACEOF
10114 /* end confdefs.h. */
10115 #include <$ac_header>
10117 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10118 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10120 grep -v '^ *+' conftest.er1
>conftest.err
10122 cat conftest.err
>&5
10123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10124 (exit $ac_status); } >/dev
/null
; then
10125 if test -s conftest.err
; then
10126 ac_cpp_err
=$ac_c_preproc_warn_flag
10127 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10134 if test -z "$ac_cpp_err"; then
10135 ac_header_preproc
=yes
10137 echo "$as_me: failed program was:" >&5
10138 sed 's/^/| /' conftest.
$ac_ext >&5
10140 ac_header_preproc
=no
10142 rm -f conftest.err conftest.
$ac_ext
10143 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10144 echo "${ECHO_T}$ac_header_preproc" >&6
10146 # So? What about this header?
10147 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10149 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10150 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10151 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10152 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10153 ac_header_preproc
=yes
10156 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10157 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10158 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10159 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10160 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10161 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10162 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10163 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10164 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10165 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10166 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10167 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10170 ## ---------------------------------- ##
10171 ## Report this to the libjava lists. ##
10172 ## ---------------------------------- ##
10175 sed "s/^/$as_me: WARNING: /" >&2
10178 echo "$as_me:$LINENO: checking for $ac_header" >&5
10179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10181 echo $ECHO_N "(cached) $ECHO_C" >&6
10183 eval "$as_ac_Header=\$ac_header_preproc"
10185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10186 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10189 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10190 cat >>confdefs.h
<<_ACEOF
10191 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10198 # Do an additional check on dld, HP-UX for example has dladdr in libdld.sl
10199 echo "$as_me:$LINENO: checking for dladdr in -ldl" >&5
10200 echo $ECHO_N "checking for dladdr in -ldl... $ECHO_C" >&6
10201 if test "${ac_cv_lib_dl_dladdr+set}" = set; then
10202 echo $ECHO_N "(cached) $ECHO_C" >&6
10204 ac_check_lib_save_LIBS
=$LIBS
10206 if test x
$gcc_no_link = xyes
; then
10207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10209 { (exit 1); exit 1; }; }
10211 cat >conftest.
$ac_ext <<_ACEOF
10214 cat confdefs.h
>>conftest.
$ac_ext
10215 cat >>conftest.
$ac_ext <<_ACEOF
10216 /* end confdefs.h. */
10218 /* Override any gcc2 internal prototype to avoid an error. */
10222 /* We use char because int might match the return type of a gcc2
10223 builtin and then its argument prototype would still apply. */
10233 rm -f conftest.
$ac_objext conftest
$ac_exeext
10234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10235 (eval $ac_link) 2>conftest.er1
10237 grep -v '^ *+' conftest.er1
>conftest.err
10239 cat conftest.err
>&5
10240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10241 (exit $ac_status); } &&
10242 { ac_try
='test -z "$ac_c_werror_flag"
10243 || test ! -s conftest.err'
10244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10245 (eval $ac_try) 2>&5
10247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10248 (exit $ac_status); }; } &&
10249 { ac_try
='test -s conftest$ac_exeext'
10250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10251 (eval $ac_try) 2>&5
10253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10254 (exit $ac_status); }; }; then
10255 ac_cv_lib_dl_dladdr
=yes
10257 echo "$as_me: failed program was:" >&5
10258 sed 's/^/| /' conftest.
$ac_ext >&5
10260 ac_cv_lib_dl_dladdr
=no
10262 rm -f conftest.err conftest.
$ac_objext \
10263 conftest
$ac_exeext conftest.
$ac_ext
10264 LIBS
=$ac_check_lib_save_LIBS
10266 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dladdr" >&5
10267 echo "${ECHO_T}$ac_cv_lib_dl_dladdr" >&6
10268 if test $ac_cv_lib_dl_dladdr = yes; then
10271 cat >>confdefs.h
<<\_ACEOF
10272 #define HAVE_DLADDR 1
10277 echo "$as_me:$LINENO: checking for dladdr in -ldld" >&5
10278 echo $ECHO_N "checking for dladdr in -ldld... $ECHO_C" >&6
10279 if test "${ac_cv_lib_dld_dladdr+set}" = set; then
10280 echo $ECHO_N "(cached) $ECHO_C" >&6
10282 ac_check_lib_save_LIBS
=$LIBS
10284 if test x
$gcc_no_link = xyes
; then
10285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10287 { (exit 1); exit 1; }; }
10289 cat >conftest.
$ac_ext <<_ACEOF
10292 cat confdefs.h
>>conftest.
$ac_ext
10293 cat >>conftest.
$ac_ext <<_ACEOF
10294 /* end confdefs.h. */
10296 /* Override any gcc2 internal prototype to avoid an error. */
10300 /* We use char because int might match the return type of a gcc2
10301 builtin and then its argument prototype would still apply. */
10311 rm -f conftest.
$ac_objext conftest
$ac_exeext
10312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10313 (eval $ac_link) 2>conftest.er1
10315 grep -v '^ *+' conftest.er1
>conftest.err
10317 cat conftest.err
>&5
10318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10319 (exit $ac_status); } &&
10320 { ac_try
='test -z "$ac_c_werror_flag"
10321 || test ! -s conftest.err'
10322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10323 (eval $ac_try) 2>&5
10325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10326 (exit $ac_status); }; } &&
10327 { ac_try
='test -s conftest$ac_exeext'
10328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10329 (eval $ac_try) 2>&5
10331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10332 (exit $ac_status); }; }; then
10333 ac_cv_lib_dld_dladdr
=yes
10335 echo "$as_me: failed program was:" >&5
10336 sed 's/^/| /' conftest.
$ac_ext >&5
10338 ac_cv_lib_dld_dladdr
=no
10340 rm -f conftest.err conftest.
$ac_objext \
10341 conftest
$ac_exeext conftest.
$ac_ext
10342 LIBS
=$ac_check_lib_save_LIBS
10344 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dladdr" >&5
10345 echo "${ECHO_T}$ac_cv_lib_dld_dladdr" >&6
10346 if test $ac_cv_lib_dld_dladdr = yes; then
10349 cat >>confdefs.h
<<\_ACEOF
10350 #define HAVE_DLADDR 1
10358 if test x
"$build" = x
"$host"; then
10359 echo "$as_me:$LINENO: checking for /proc/self/exe" >&5
10360 echo $ECHO_N "checking for /proc/self/exe... $ECHO_C" >&6
10361 if test "${ac_cv_file__proc_self_exe+set}" = set; then
10362 echo $ECHO_N "(cached) $ECHO_C" >&6
10364 test "$cross_compiling" = yes &&
10365 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
10366 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
10367 { (exit 1); exit 1; }; }
10368 if test -r "/proc/self/exe"; then
10369 ac_cv_file__proc_self_exe
=yes
10371 ac_cv_file__proc_self_exe
=no
10374 echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_exe" >&5
10375 echo "${ECHO_T}$ac_cv_file__proc_self_exe" >&6
10376 if test $ac_cv_file__proc_self_exe = yes; then
10378 cat >>confdefs.h
<<_ACEOF
10379 #define HAVE__PROC_SELF_EXE 1
10384 cat >>confdefs.h
<<\_ACEOF
10385 #define HAVE_PROC_SELF_EXE 1
10394 cat >>confdefs.h
<<\_ACEOF
10395 #define HAVE_PROC_SELF_EXE 1
10403 if test "X$prefix" = "XNONE"; then
10404 acl_final_prefix
="$ac_default_prefix"
10406 acl_final_prefix
="$prefix"
10408 if test "X$exec_prefix" = "XNONE"; then
10409 acl_final_exec_prefix
='${prefix}'
10411 acl_final_exec_prefix
="$exec_prefix"
10413 acl_save_prefix
="$prefix"
10414 prefix
="$acl_final_prefix"
10415 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
10416 prefix
="$acl_save_prefix"
10419 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10420 if test "${with_gnu_ld+set}" = set; then
10421 withval
="$with_gnu_ld"
10422 test "$withval" = no || with_gnu_ld
=yes
10426 # Prepare PATH_SEPARATOR.
10427 # The user is always right.
10428 if test "${PATH_SEPARATOR+set}" != set; then
10429 echo "#! /bin/sh" >conf$$.sh
10430 echo "exit 0" >>conf$$.sh
10432 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10440 if test "$GCC" = yes; then
10441 # Check if gcc -print-prog-name=ld gives a path.
10442 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
10443 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
10446 # gcc leaves a trailing carriage return which upsets mingw
10447 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10449 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10452 # Accept absolute paths.
10453 [\\/]* |
[A-Za-z
]:[\\/]*)
10454 re_direlt
='/[^/][^/]*/\.\./'
10455 # Canonicalize the path of ld
10456 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
10457 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10458 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
10460 test -z "$LD" && LD
="$ac_prog"
10463 # If it fails, then pretend we aren't using GCC.
10467 # If it is relative, then search for the first ld in PATH.
10468 with_gnu_ld
=unknown
10471 elif test "$with_gnu_ld" = yes; then
10472 echo "$as_me:$LINENO: checking for GNU ld" >&5
10473 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10475 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10476 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10478 if test "${acl_cv_path_LD+set}" = set; then
10479 echo $ECHO_N "(cached) $ECHO_C" >&6
10481 if test -z "$LD"; then
10482 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
10483 for ac_dir
in $PATH; do
10484 test -z "$ac_dir" && ac_dir
=.
10485 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10486 acl_cv_path_LD
="$ac_dir/$ac_prog"
10487 # Check to see if the program is GNU ld. I'd rather use --version,
10488 # but apparently some GNU ld's only accept -v.
10489 # Break only if it was the GNU/non-GNU ld that we prefer.
10490 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
10491 test "$with_gnu_ld" != no
&& break
10493 test "$with_gnu_ld" != yes && break
10499 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
10503 LD
="$acl_cv_path_LD"
10504 if test -n "$LD"; then
10505 echo "$as_me:$LINENO: result: $LD" >&5
10506 echo "${ECHO_T}$LD" >&6
10508 echo "$as_me:$LINENO: result: no" >&5
10509 echo "${ECHO_T}no" >&6
10511 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10512 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10513 { (exit 1); exit 1; }; }
10514 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10515 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10516 if test "${acl_cv_prog_gnu_ld+set}" = set; then
10517 echo $ECHO_N "(cached) $ECHO_C" >&6
10519 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10520 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
10521 acl_cv_prog_gnu_ld
=yes
10523 acl_cv_prog_gnu_ld
=no
10526 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
10527 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
10528 with_gnu_ld
=$acl_cv_prog_gnu_ld
10532 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
10533 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
10534 if test "${acl_cv_rpath+set}" = set; then
10535 echo $ECHO_N "(cached) $ECHO_C" >&6
10538 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
10539 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
10541 rm -f .
/conftest.sh
10545 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
10546 echo "${ECHO_T}$acl_cv_rpath" >&6
10548 libext
="$acl_cv_libext"
10549 shlibext
="$acl_cv_shlibext"
10550 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
10551 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
10552 hardcode_direct
="$acl_cv_hardcode_direct"
10553 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
10554 # Check whether --enable-rpath or --disable-rpath was given.
10555 if test "${enable_rpath+set}" = set; then
10556 enableval
="$enable_rpath"
10570 acl_save_prefix
="$prefix"
10571 prefix
="$acl_final_prefix"
10572 acl_save_exec_prefix
="$exec_prefix"
10573 exec_prefix
="$acl_final_exec_prefix"
10575 eval additional_includedir
=\"$includedir\"
10576 eval additional_libdir
=\"$libdir\"
10578 exec_prefix
="$acl_save_exec_prefix"
10579 prefix
="$acl_save_prefix"
10582 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
10583 if test "${with_libiconv_prefix+set}" = set; then
10584 withval
="$with_libiconv_prefix"
10586 if test "X$withval" = "Xno"; then
10589 if test "X$withval" = "X"; then
10591 acl_save_prefix
="$prefix"
10592 prefix
="$acl_final_prefix"
10593 acl_save_exec_prefix
="$exec_prefix"
10594 exec_prefix
="$acl_final_exec_prefix"
10596 eval additional_includedir
=\"$includedir\"
10597 eval additional_libdir
=\"$libdir\"
10599 exec_prefix
="$acl_save_exec_prefix"
10600 prefix
="$acl_save_prefix"
10603 additional_includedir
="$withval/include"
10604 additional_libdir
="$withval/lib"
10614 names_already_handled
=
10615 names_next_round
='iconv '
10616 while test -n "$names_next_round"; do
10617 names_this_round
="$names_next_round"
10619 for name
in $names_this_round; do
10621 for n
in $names_already_handled; do
10622 if test "$n" = "$name"; then
10623 already_handled
=yes
10627 if test -z "$already_handled"; then
10628 names_already_handled
="$names_already_handled $name"
10629 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
10630 eval value
=\"\
$HAVE_LIB$uppername\"
10631 if test -n "$value"; then
10632 if test "$value" = yes; then
10633 eval value
=\"\
$LIB$uppername\"
10634 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
10635 eval value
=\"\
$LTLIB$uppername\"
10636 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
10645 if test $use_additional = yes; then
10646 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
10647 found_dir
="$additional_libdir"
10648 found_so
="$additional_libdir/lib$name.$shlibext"
10649 if test -f "$additional_libdir/lib$name.la"; then
10650 found_la
="$additional_libdir/lib$name.la"
10653 if test -f "$additional_libdir/lib$name.$libext"; then
10654 found_dir
="$additional_libdir"
10655 found_a
="$additional_libdir/lib$name.$libext"
10656 if test -f "$additional_libdir/lib$name.la"; then
10657 found_la
="$additional_libdir/lib$name.la"
10662 if test "X$found_dir" = "X"; then
10663 for x
in $LDFLAGS $LTLIBICONV; do
10665 acl_save_prefix
="$prefix"
10666 prefix
="$acl_final_prefix"
10667 acl_save_exec_prefix
="$exec_prefix"
10668 exec_prefix
="$acl_final_exec_prefix"
10670 exec_prefix
="$acl_save_exec_prefix"
10671 prefix
="$acl_save_prefix"
10675 dir
=`echo "X$x" | sed -e 's/^X-L//'`
10676 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
10678 found_so
="$dir/lib$name.$shlibext"
10679 if test -f "$dir/lib$name.la"; then
10680 found_la
="$dir/lib$name.la"
10683 if test -f "$dir/lib$name.$libext"; then
10685 found_a
="$dir/lib$name.$libext"
10686 if test -f "$dir/lib$name.la"; then
10687 found_la
="$dir/lib$name.la"
10693 if test "X$found_dir" != "X"; then
10698 if test "X$found_dir" != "X"; then
10699 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
10700 if test "X$found_so" != "X"; then
10701 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
10702 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10705 for x
in $ltrpathdirs; do
10706 if test "X$x" = "X$found_dir"; then
10711 if test -z "$haveit"; then
10712 ltrpathdirs
="$ltrpathdirs $found_dir"
10714 if test "$hardcode_direct" = yes; then
10715 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10717 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
10718 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10720 for x
in $rpathdirs; do
10721 if test "X$x" = "X$found_dir"; then
10726 if test -z "$haveit"; then
10727 rpathdirs
="$rpathdirs $found_dir"
10731 for x
in $LDFLAGS $LIBICONV; do
10733 acl_save_prefix
="$prefix"
10734 prefix
="$acl_final_prefix"
10735 acl_save_exec_prefix
="$exec_prefix"
10736 exec_prefix
="$acl_final_exec_prefix"
10738 exec_prefix
="$acl_save_exec_prefix"
10739 prefix
="$acl_save_prefix"
10741 if test "X$x" = "X-L$found_dir"; then
10746 if test -z "$haveit"; then
10747 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
10749 if test "$hardcode_minus_L" != no
; then
10750 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10752 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
10758 if test "X$found_a" != "X"; then
10759 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
10761 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
10764 additional_includedir
=
10765 case "$found_dir" in
10767 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
10768 additional_includedir
="$basedir/include"
10771 if test "X$additional_includedir" != "X"; then
10772 if test "X$additional_includedir" != "X/usr/include"; then
10774 if test "X$additional_includedir" = "X/usr/local/include"; then
10775 if test -n "$GCC"; then
10777 linux
*) haveit
=yes;;
10781 if test -z "$haveit"; then
10782 for x
in $CPPFLAGS $INCICONV; do
10784 acl_save_prefix
="$prefix"
10785 prefix
="$acl_final_prefix"
10786 acl_save_exec_prefix
="$exec_prefix"
10787 exec_prefix
="$acl_final_exec_prefix"
10789 exec_prefix
="$acl_save_exec_prefix"
10790 prefix
="$acl_save_prefix"
10792 if test "X$x" = "X-I$additional_includedir"; then
10797 if test -z "$haveit"; then
10798 if test -d "$additional_includedir"; then
10799 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
10805 if test -n "$found_la"; then
10806 save_libdir
="$libdir"
10807 case "$found_la" in
10808 */* |
*\\*) .
"$found_la" ;;
10809 *) .
"./$found_la" ;;
10811 libdir
="$save_libdir"
10812 for dep
in $dependency_libs; do
10815 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
10816 if test "X$additional_libdir" != "X/usr/lib"; then
10818 if test "X$additional_libdir" = "X/usr/local/lib"; then
10819 if test -n "$GCC"; then
10821 linux
*) haveit
=yes;;
10825 if test -z "$haveit"; then
10827 for x
in $LDFLAGS $LIBICONV; do
10829 acl_save_prefix
="$prefix"
10830 prefix
="$acl_final_prefix"
10831 acl_save_exec_prefix
="$exec_prefix"
10832 exec_prefix
="$acl_final_exec_prefix"
10834 exec_prefix
="$acl_save_exec_prefix"
10835 prefix
="$acl_save_prefix"
10837 if test "X$x" = "X-L$additional_libdir"; then
10842 if test -z "$haveit"; then
10843 if test -d "$additional_libdir"; then
10844 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
10848 for x
in $LDFLAGS $LTLIBICONV; do
10850 acl_save_prefix
="$prefix"
10851 prefix
="$acl_final_prefix"
10852 acl_save_exec_prefix
="$exec_prefix"
10853 exec_prefix
="$acl_final_exec_prefix"
10855 exec_prefix
="$acl_save_exec_prefix"
10856 prefix
="$acl_save_prefix"
10858 if test "X$x" = "X-L$additional_libdir"; then
10863 if test -z "$haveit"; then
10864 if test -d "$additional_libdir"; then
10865 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
10872 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
10873 if test "$enable_rpath" != no
; then
10875 for x
in $rpathdirs; do
10876 if test "X$x" = "X$dir"; then
10881 if test -z "$haveit"; then
10882 rpathdirs
="$rpathdirs $dir"
10885 for x
in $ltrpathdirs; do
10886 if test "X$x" = "X$dir"; then
10891 if test -z "$haveit"; then
10892 ltrpathdirs
="$ltrpathdirs $dir"
10897 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10900 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10903 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
10904 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
10910 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
10911 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
10917 if test "X$rpathdirs" != "X"; then
10918 if test -n "$hardcode_libdir_separator"; then
10920 for found_dir
in $rpathdirs; do
10921 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10923 acl_save_libdir
="$libdir"
10925 eval flag
=\"$hardcode_libdir_flag_spec\"
10926 libdir
="$acl_save_libdir"
10927 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10929 for found_dir
in $rpathdirs; do
10930 acl_save_libdir
="$libdir"
10931 libdir
="$found_dir"
10932 eval flag
=\"$hardcode_libdir_flag_spec\"
10933 libdir
="$acl_save_libdir"
10934 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10938 if test "X$ltrpathdirs" != "X"; then
10939 for found_dir
in $ltrpathdirs; do
10940 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
10950 am_save_CPPFLAGS
="$CPPFLAGS"
10952 for element
in $INCICONV; do
10954 for x
in $CPPFLAGS; do
10956 acl_save_prefix
="$prefix"
10957 prefix
="$acl_final_prefix"
10958 acl_save_exec_prefix
="$exec_prefix"
10959 exec_prefix
="$acl_final_exec_prefix"
10961 exec_prefix
="$acl_save_exec_prefix"
10962 prefix
="$acl_save_prefix"
10964 if test "X$x" = "X$element"; then
10969 if test -z "$haveit"; then
10970 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
10975 echo "$as_me:$LINENO: checking for iconv" >&5
10976 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
10977 if test "${am_cv_func_iconv+set}" = set; then
10978 echo $ECHO_N "(cached) $ECHO_C" >&6
10981 am_cv_func_iconv
="no, consider installing GNU libiconv"
10983 if test x
$gcc_no_link = xyes
; then
10984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10986 { (exit 1); exit 1; }; }
10988 cat >conftest.
$ac_ext <<_ACEOF
10991 cat confdefs.h
>>conftest.
$ac_ext
10992 cat >>conftest.
$ac_ext <<_ACEOF
10993 /* end confdefs.h. */
10994 #include <stdlib.h>
10999 iconv_t cd = iconv_open("","");
11000 iconv(cd,NULL,NULL,NULL,NULL);
11006 rm -f conftest.
$ac_objext conftest
$ac_exeext
11007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11008 (eval $ac_link) 2>conftest.er1
11010 grep -v '^ *+' conftest.er1
>conftest.err
11012 cat conftest.err
>&5
11013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11014 (exit $ac_status); } &&
11015 { ac_try
='test -z "$ac_c_werror_flag"
11016 || test ! -s conftest.err'
11017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11018 (eval $ac_try) 2>&5
11020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11021 (exit $ac_status); }; } &&
11022 { ac_try
='test -s conftest$ac_exeext'
11023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11024 (eval $ac_try) 2>&5
11026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11027 (exit $ac_status); }; }; then
11028 am_cv_func_iconv
=yes
11030 echo "$as_me: failed program was:" >&5
11031 sed 's/^/| /' conftest.
$ac_ext >&5
11034 rm -f conftest.err conftest.
$ac_objext \
11035 conftest
$ac_exeext conftest.
$ac_ext
11036 if test "$am_cv_func_iconv" != yes; then
11037 am_save_LIBS
="$LIBS"
11038 LIBS
="$LIBS $LIBICONV"
11039 if test x
$gcc_no_link = xyes
; then
11040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11042 { (exit 1); exit 1; }; }
11044 cat >conftest.
$ac_ext <<_ACEOF
11047 cat confdefs.h
>>conftest.
$ac_ext
11048 cat >>conftest.
$ac_ext <<_ACEOF
11049 /* end confdefs.h. */
11050 #include <stdlib.h>
11055 iconv_t cd = iconv_open("","");
11056 iconv(cd,NULL,NULL,NULL,NULL);
11062 rm -f conftest.
$ac_objext conftest
$ac_exeext
11063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11064 (eval $ac_link) 2>conftest.er1
11066 grep -v '^ *+' conftest.er1
>conftest.err
11068 cat conftest.err
>&5
11069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11070 (exit $ac_status); } &&
11071 { ac_try
='test -z "$ac_c_werror_flag"
11072 || test ! -s conftest.err'
11073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11074 (eval $ac_try) 2>&5
11076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11077 (exit $ac_status); }; } &&
11078 { ac_try
='test -s conftest$ac_exeext'
11079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11080 (eval $ac_try) 2>&5
11082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11083 (exit $ac_status); }; }; then
11084 am_cv_lib_iconv
=yes
11085 am_cv_func_iconv
=yes
11087 echo "$as_me: failed program was:" >&5
11088 sed 's/^/| /' conftest.
$ac_ext >&5
11091 rm -f conftest.err conftest.
$ac_objext \
11092 conftest
$ac_exeext conftest.
$ac_ext
11093 LIBS
="$am_save_LIBS"
11097 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
11098 echo "${ECHO_T}$am_cv_func_iconv" >&6
11099 if test "$am_cv_func_iconv" = yes; then
11101 cat >>confdefs.h
<<\_ACEOF
11102 #define HAVE_ICONV 1
11106 if test "$am_cv_lib_iconv" = yes; then
11107 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
11108 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
11109 echo "$as_me:$LINENO: result: $LIBICONV" >&5
11110 echo "${ECHO_T}$LIBICONV" >&6
11112 CPPFLAGS
="$am_save_CPPFLAGS"
11119 if test "$am_cv_func_iconv" = yes; then
11120 echo "$as_me:$LINENO: checking for iconv declaration" >&5
11121 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
11122 if test "${am_cv_proto_iconv+set}" = set; then
11123 echo $ECHO_N "(cached) $ECHO_C" >&6
11126 cat >conftest.
$ac_ext <<_ACEOF
11129 cat confdefs.h
>>conftest.
$ac_ext
11130 cat >>conftest.
$ac_ext <<_ACEOF
11131 /* end confdefs.h. */
11133 #include <stdlib.h>
11139 #if defined(__STDC__) || defined(__cplusplus)
11140 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
11153 rm -f conftest.
$ac_objext
11154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11155 (eval $ac_compile) 2>conftest.er1
11157 grep -v '^ *+' conftest.er1
>conftest.err
11159 cat conftest.err
>&5
11160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11161 (exit $ac_status); } &&
11162 { ac_try
='test -z "$ac_c_werror_flag"
11163 || test ! -s conftest.err'
11164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11165 (eval $ac_try) 2>&5
11167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11168 (exit $ac_status); }; } &&
11169 { ac_try
='test -s conftest.$ac_objext'
11170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11171 (eval $ac_try) 2>&5
11173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11174 (exit $ac_status); }; }; then
11175 am_cv_proto_iconv_arg1
=""
11177 echo "$as_me: failed program was:" >&5
11178 sed 's/^/| /' conftest.
$ac_ext >&5
11180 am_cv_proto_iconv_arg1
="const"
11182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11183 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);"
11186 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
11187 echo "$as_me:$LINENO: result: ${ac_t:-
11188 }$am_cv_proto_iconv" >&5
11189 echo "${ECHO_T}${ac_t:-
11190 }$am_cv_proto_iconv" >&6
11192 cat >>confdefs.h
<<_ACEOF
11193 #define ICONV_CONST $am_cv_proto_iconv_arg1
11199 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
11200 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
11201 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
11202 echo $ECHO_N "(cached) $ECHO_C" >&6
11204 if test x
$gcc_no_link = xyes
; then
11205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11207 { (exit 1); exit 1; }; }
11209 cat >conftest.
$ac_ext <<_ACEOF
11212 cat confdefs.h
>>conftest.
$ac_ext
11213 cat >>conftest.
$ac_ext <<_ACEOF
11214 /* end confdefs.h. */
11215 #include <locale.h>
11224 rm -f conftest.
$ac_objext conftest
$ac_exeext
11225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11226 (eval $ac_link) 2>conftest.er1
11228 grep -v '^ *+' conftest.er1
>conftest.err
11230 cat conftest.err
>&5
11231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11232 (exit $ac_status); } &&
11233 { ac_try
='test -z "$ac_c_werror_flag"
11234 || test ! -s conftest.err'
11235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11236 (eval $ac_try) 2>&5
11238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11239 (exit $ac_status); }; } &&
11240 { ac_try
='test -s conftest$ac_exeext'
11241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11242 (eval $ac_try) 2>&5
11244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11245 (exit $ac_status); }; }; then
11246 am_cv_val_LC_MESSAGES
=yes
11248 echo "$as_me: failed program was:" >&5
11249 sed 's/^/| /' conftest.
$ac_ext >&5
11251 am_cv_val_LC_MESSAGES
=no
11253 rm -f conftest.err conftest.
$ac_objext \
11254 conftest
$ac_exeext conftest.
$ac_ext
11256 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
11257 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
11258 if test $am_cv_val_LC_MESSAGES = yes; then
11260 cat >>confdefs.h
<<\_ACEOF
11261 #define HAVE_LC_MESSAGES 1
11266 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
11267 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
11268 if test "${ac_cv_struct_tm+set}" = set; then
11269 echo $ECHO_N "(cached) $ECHO_C" >&6
11271 cat >conftest.
$ac_ext <<_ACEOF
11274 cat confdefs.h
>>conftest.
$ac_ext
11275 cat >>conftest.
$ac_ext <<_ACEOF
11276 /* end confdefs.h. */
11277 #include <sys/types.h>
11283 struct tm *tp; tp->tm_sec;
11288 rm -f conftest.
$ac_objext
11289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11290 (eval $ac_compile) 2>conftest.er1
11292 grep -v '^ *+' conftest.er1
>conftest.err
11294 cat conftest.err
>&5
11295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11296 (exit $ac_status); } &&
11297 { ac_try
='test -z "$ac_c_werror_flag"
11298 || test ! -s conftest.err'
11299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11300 (eval $ac_try) 2>&5
11302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11303 (exit $ac_status); }; } &&
11304 { ac_try
='test -s conftest.$ac_objext'
11305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11306 (eval $ac_try) 2>&5
11308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11309 (exit $ac_status); }; }; then
11310 ac_cv_struct_tm
=time.h
11312 echo "$as_me: failed program was:" >&5
11313 sed 's/^/| /' conftest.
$ac_ext >&5
11315 ac_cv_struct_tm
=sys
/time.h
11317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11319 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
11320 echo "${ECHO_T}$ac_cv_struct_tm" >&6
11321 if test $ac_cv_struct_tm = sys
/time.h
; then
11323 cat >>confdefs.h
<<\_ACEOF
11324 #define TM_IN_SYS_TIME 1
11329 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
11330 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
11331 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
11332 echo $ECHO_N "(cached) $ECHO_C" >&6
11334 cat >conftest.
$ac_ext <<_ACEOF
11337 cat confdefs.h
>>conftest.
$ac_ext
11338 cat >>conftest.
$ac_ext <<_ACEOF
11339 /* end confdefs.h. */
11340 #include <sys/types.h>
11341 #include <$ac_cv_struct_tm>
11347 static struct tm ac_aggr;
11348 if (ac_aggr.tm_zone)
11354 rm -f conftest.
$ac_objext
11355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11356 (eval $ac_compile) 2>conftest.er1
11358 grep -v '^ *+' conftest.er1
>conftest.err
11360 cat conftest.err
>&5
11361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11362 (exit $ac_status); } &&
11363 { ac_try
='test -z "$ac_c_werror_flag"
11364 || test ! -s conftest.err'
11365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11366 (eval $ac_try) 2>&5
11368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11369 (exit $ac_status); }; } &&
11370 { ac_try
='test -s conftest.$ac_objext'
11371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11372 (eval $ac_try) 2>&5
11374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11375 (exit $ac_status); }; }; then
11376 ac_cv_member_struct_tm_tm_zone
=yes
11378 echo "$as_me: failed program was:" >&5
11379 sed 's/^/| /' conftest.
$ac_ext >&5
11381 cat >conftest.
$ac_ext <<_ACEOF
11384 cat confdefs.h
>>conftest.
$ac_ext
11385 cat >>conftest.
$ac_ext <<_ACEOF
11386 /* end confdefs.h. */
11387 #include <sys/types.h>
11388 #include <$ac_cv_struct_tm>
11394 static struct tm ac_aggr;
11395 if (sizeof ac_aggr.tm_zone)
11401 rm -f conftest.
$ac_objext
11402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11403 (eval $ac_compile) 2>conftest.er1
11405 grep -v '^ *+' conftest.er1
>conftest.err
11407 cat conftest.err
>&5
11408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11409 (exit $ac_status); } &&
11410 { ac_try
='test -z "$ac_c_werror_flag"
11411 || test ! -s conftest.err'
11412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11413 (eval $ac_try) 2>&5
11415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11416 (exit $ac_status); }; } &&
11417 { ac_try
='test -s conftest.$ac_objext'
11418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11419 (eval $ac_try) 2>&5
11421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11422 (exit $ac_status); }; }; then
11423 ac_cv_member_struct_tm_tm_zone
=yes
11425 echo "$as_me: failed program was:" >&5
11426 sed 's/^/| /' conftest.
$ac_ext >&5
11428 ac_cv_member_struct_tm_tm_zone
=no
11430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11432 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11434 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
11435 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
11436 if test $ac_cv_member_struct_tm_tm_zone = yes; then
11438 cat >>confdefs.h
<<_ACEOF
11439 #define HAVE_STRUCT_TM_TM_ZONE 1
11445 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
11447 cat >>confdefs.h
<<\_ACEOF
11448 #define HAVE_TM_ZONE 1
11452 echo "$as_me:$LINENO: checking for tzname" >&5
11453 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
11454 if test "${ac_cv_var_tzname+set}" = set; then
11455 echo $ECHO_N "(cached) $ECHO_C" >&6
11457 if test x
$gcc_no_link = xyes
; then
11458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11460 { (exit 1); exit 1; }; }
11462 cat >conftest.
$ac_ext <<_ACEOF
11465 cat confdefs.h
>>conftest.
$ac_ext
11466 cat >>conftest.
$ac_ext <<_ACEOF
11467 /* end confdefs.h. */
11469 #ifndef tzname /* For SGI. */
11470 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
11481 rm -f conftest.
$ac_objext conftest
$ac_exeext
11482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11483 (eval $ac_link) 2>conftest.er1
11485 grep -v '^ *+' conftest.er1
>conftest.err
11487 cat conftest.err
>&5
11488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11489 (exit $ac_status); } &&
11490 { ac_try
='test -z "$ac_c_werror_flag"
11491 || test ! -s conftest.err'
11492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11493 (eval $ac_try) 2>&5
11495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11496 (exit $ac_status); }; } &&
11497 { ac_try
='test -s conftest$ac_exeext'
11498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11499 (eval $ac_try) 2>&5
11501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11502 (exit $ac_status); }; }; then
11503 ac_cv_var_tzname
=yes
11505 echo "$as_me: failed program was:" >&5
11506 sed 's/^/| /' conftest.
$ac_ext >&5
11508 ac_cv_var_tzname
=no
11510 rm -f conftest.err conftest.
$ac_objext \
11511 conftest
$ac_exeext conftest.
$ac_ext
11513 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
11514 echo "${ECHO_T}$ac_cv_var_tzname" >&6
11515 if test $ac_cv_var_tzname = yes; then
11517 cat >>confdefs.h
<<\_ACEOF
11518 #define HAVE_TZNAME 1
11527 for ac_func
in gethostbyname_r
11529 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11530 echo "$as_me:$LINENO: checking for $ac_func" >&5
11531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11532 if eval "test \"\${$as_ac_var+set}\" = set"; then
11533 echo $ECHO_N "(cached) $ECHO_C" >&6
11535 if test x
$gcc_no_link = xyes
; then
11536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11538 { (exit 1); exit 1; }; }
11540 cat >conftest.
$ac_ext <<_ACEOF
11543 cat confdefs.h
>>conftest.
$ac_ext
11544 cat >>conftest.
$ac_ext <<_ACEOF
11545 /* end confdefs.h. */
11546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11548 #define $ac_func innocuous_$ac_func
11550 /* System header to define __stub macros and hopefully few prototypes,
11551 which can conflict with char $ac_func (); below.
11552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11553 <limits.h> exists even on freestanding compilers. */
11556 # include <limits.h>
11558 # include <assert.h>
11563 /* Override any gcc2 internal prototype to avoid an error. */
11568 /* We use char because int might match the return type of a gcc2
11569 builtin and then its argument prototype would still apply. */
11571 /* The GNU C library defines this for functions which it implements
11572 to always fail with ENOSYS. Some functions are actually named
11573 something starting with __ and the normal name is an alias. */
11574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11577 char (*f) () = $ac_func;
11586 return f != $ac_func;
11591 rm -f conftest.
$ac_objext conftest
$ac_exeext
11592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11593 (eval $ac_link) 2>conftest.er1
11595 grep -v '^ *+' conftest.er1
>conftest.err
11597 cat conftest.err
>&5
11598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11599 (exit $ac_status); } &&
11600 { ac_try
='test -z "$ac_c_werror_flag"
11601 || test ! -s conftest.err'
11602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11603 (eval $ac_try) 2>&5
11605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11606 (exit $ac_status); }; } &&
11607 { ac_try
='test -s conftest$ac_exeext'
11608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11609 (eval $ac_try) 2>&5
11611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11612 (exit $ac_status); }; }; then
11613 eval "$as_ac_var=yes"
11615 echo "$as_me: failed program was:" >&5
11616 sed 's/^/| /' conftest.
$ac_ext >&5
11618 eval "$as_ac_var=no"
11620 rm -f conftest.err conftest.
$ac_objext \
11621 conftest
$ac_exeext conftest.
$ac_ext
11623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11625 if test `eval echo '${'$as_ac_var'}'` = yes; then
11626 cat >>confdefs.h
<<_ACEOF
11627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11631 cat >>confdefs.h
<<\_ACEOF
11632 #define HAVE_GETHOSTBYNAME_R 1
11635 # There are two different kinds of gethostbyname_r.
11636 # We look for the one that returns `int'.
11637 # Hopefully this check is robust enough.
11638 cat >conftest.
$ac_ext <<_ACEOF
11641 cat confdefs.h
>>conftest.
$ac_ext
11642 cat >>conftest.
$ac_ext <<_ACEOF
11643 /* end confdefs.h. */
11647 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11648 $EGREP "int.*gethostbyname_r" >/dev
/null
2>&1; then
11651 cat >>confdefs.h
<<\_ACEOF
11652 #define GETHOSTBYNAME_R_RETURNS_INT 1
11659 case " $GCINCS " in
11660 *" -D_REENTRANT "*) ;;
11662 echo "$as_me:$LINENO: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5
11663 echo $ECHO_N "checking whether gethostbyname_r declaration requires -D_REENTRANT... $ECHO_C" >&6
11664 if test "${libjava_cv_gethostbyname_r_needs_reentrant+set}" = set; then
11665 echo $ECHO_N "(cached) $ECHO_C" >&6
11668 ac_cpp
='$CXXCPP $CPPFLAGS'
11669 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11670 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11671 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11673 cat >conftest.
$ac_ext <<_ACEOF
11676 cat confdefs.h
>>conftest.
$ac_ext
11677 cat >>conftest.
$ac_ext <<_ACEOF
11678 /* end confdefs.h. */
11683 gethostbyname_r("", 0, 0);
11688 rm -f conftest.
$ac_objext
11689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11690 (eval $ac_compile) 2>conftest.er1
11692 grep -v '^ *+' conftest.er1
>conftest.err
11694 cat conftest.err
>&5
11695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11696 (exit $ac_status); } &&
11697 { ac_try
='test -z "$ac_cxx_werror_flag"
11698 || test ! -s conftest.err'
11699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11700 (eval $ac_try) 2>&5
11702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11703 (exit $ac_status); }; } &&
11704 { ac_try
='test -s conftest.$ac_objext'
11705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11706 (eval $ac_try) 2>&5
11708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11709 (exit $ac_status); }; }; then
11710 libjava_cv_gethostbyname_r_needs_reentrant
=no
11712 echo "$as_me: failed program was:" >&5
11713 sed 's/^/| /' conftest.
$ac_ext >&5
11715 CPPFLAGS_SAVE
="$CPPFLAGS"
11716 CPPFLAGS
="$CPPFLAGS -D_REENTRANT"
11717 cat >conftest.
$ac_ext <<_ACEOF
11720 cat confdefs.h
>>conftest.
$ac_ext
11721 cat >>conftest.
$ac_ext <<_ACEOF
11722 /* end confdefs.h. */
11727 gethostbyname_r("", 0, 0);
11732 rm -f conftest.
$ac_objext
11733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11734 (eval $ac_compile) 2>conftest.er1
11736 grep -v '^ *+' conftest.er1
>conftest.err
11738 cat conftest.err
>&5
11739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11740 (exit $ac_status); } &&
11741 { ac_try
='test -z "$ac_cxx_werror_flag"
11742 || test ! -s conftest.err'
11743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11744 (eval $ac_try) 2>&5
11746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11747 (exit $ac_status); }; } &&
11748 { ac_try
='test -s conftest.$ac_objext'
11749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11750 (eval $ac_try) 2>&5
11752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11753 (exit $ac_status); }; }; then
11754 libjava_cv_gethostbyname_r_needs_reentrant
=yes
11756 echo "$as_me: failed program was:" >&5
11757 sed 's/^/| /' conftest.
$ac_ext >&5
11759 libjava_cv_gethostbyname_r_needs_reentrant
=fail
11761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11762 CPPFLAGS
="$CPPFLAGS_SAVE"
11765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11767 ac_cpp
='$CPP $CPPFLAGS'
11768 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11769 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11770 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11774 echo "$as_me:$LINENO: result: $libjava_cv_gethostbyname_r_needs_reentrant" >&5
11775 echo "${ECHO_T}$libjava_cv_gethostbyname_r_needs_reentrant" >&6
11776 if test "x$libjava_cv_gethostbyname_r_needs_reentrant" = xyes
; then
11778 cat >>confdefs.h
<<\_ACEOF
11779 #define _REENTRANT 1
11786 echo "$as_me:$LINENO: checking for struct hostent_data" >&5
11787 echo $ECHO_N "checking for struct hostent_data... $ECHO_C" >&6
11788 if test "${libjava_cv_struct_hostent_data+set}" = set; then
11789 echo $ECHO_N "(cached) $ECHO_C" >&6
11791 cat >conftest.
$ac_ext <<_ACEOF
11794 cat confdefs.h
>>conftest.
$ac_ext
11795 cat >>conftest.
$ac_ext <<_ACEOF
11796 /* end confdefs.h. */
11798 #if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
11799 # define _REENTRANT 1
11805 struct hostent_data data;
11810 rm -f conftest.
$ac_objext
11811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11812 (eval $ac_compile) 2>conftest.er1
11814 grep -v '^ *+' conftest.er1
>conftest.err
11816 cat conftest.err
>&5
11817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11818 (exit $ac_status); } &&
11819 { ac_try
='test -z "$ac_c_werror_flag"
11820 || test ! -s conftest.err'
11821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11822 (eval $ac_try) 2>&5
11824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11825 (exit $ac_status); }; } &&
11826 { ac_try
='test -s conftest.$ac_objext'
11827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11828 (eval $ac_try) 2>&5
11830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11831 (exit $ac_status); }; }; then
11832 libjava_cv_struct_hostent_data
=yes
11834 echo "$as_me: failed program was:" >&5
11835 sed 's/^/| /' conftest.
$ac_ext >&5
11837 libjava_cv_struct_hostent_data
=no
11839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11841 echo "$as_me:$LINENO: result: $libjava_cv_struct_hostent_data" >&5
11842 echo "${ECHO_T}$libjava_cv_struct_hostent_data" >&6
11843 if test "x$libjava_cv_struct_hostent_data" = xyes
; then
11845 cat >>confdefs.h
<<\_ACEOF
11846 #define HAVE_STRUCT_HOSTENT_DATA 1
11855 # FIXME: libjava source code expects to find a prototype for
11856 # gethostbyaddr_r in netdb.h. The outer check ensures that
11857 # HAVE_GETHOSTBYADDR_R will not be defined if the prototype fails
11858 # to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
11859 # linkage check is enough, yet C++ code requires proper prototypes.)
11860 cat >conftest.
$ac_ext <<_ACEOF
11863 cat confdefs.h
>>conftest.
$ac_ext
11864 cat >>conftest.
$ac_ext <<_ACEOF
11865 /* end confdefs.h. */
11869 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11870 $EGREP "gethostbyaddr_r" >/dev
/null
2>&1; then
11873 for ac_func
in gethostbyaddr_r
11875 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11876 echo "$as_me:$LINENO: checking for $ac_func" >&5
11877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11878 if eval "test \"\${$as_ac_var+set}\" = set"; then
11879 echo $ECHO_N "(cached) $ECHO_C" >&6
11881 if test x
$gcc_no_link = xyes
; then
11882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11884 { (exit 1); exit 1; }; }
11886 cat >conftest.
$ac_ext <<_ACEOF
11889 cat confdefs.h
>>conftest.
$ac_ext
11890 cat >>conftest.
$ac_ext <<_ACEOF
11891 /* end confdefs.h. */
11892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11894 #define $ac_func innocuous_$ac_func
11896 /* System header to define __stub macros and hopefully few prototypes,
11897 which can conflict with char $ac_func (); below.
11898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11899 <limits.h> exists even on freestanding compilers. */
11902 # include <limits.h>
11904 # include <assert.h>
11909 /* Override any gcc2 internal prototype to avoid an error. */
11914 /* We use char because int might match the return type of a gcc2
11915 builtin and then its argument prototype would still apply. */
11917 /* The GNU C library defines this for functions which it implements
11918 to always fail with ENOSYS. Some functions are actually named
11919 something starting with __ and the normal name is an alias. */
11920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11923 char (*f) () = $ac_func;
11932 return f != $ac_func;
11937 rm -f conftest.
$ac_objext conftest
$ac_exeext
11938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11939 (eval $ac_link) 2>conftest.er1
11941 grep -v '^ *+' conftest.er1
>conftest.err
11943 cat conftest.err
>&5
11944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11945 (exit $ac_status); } &&
11946 { ac_try
='test -z "$ac_c_werror_flag"
11947 || test ! -s conftest.err'
11948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11949 (eval $ac_try) 2>&5
11951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11952 (exit $ac_status); }; } &&
11953 { ac_try
='test -s conftest$ac_exeext'
11954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11955 (eval $ac_try) 2>&5
11957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11958 (exit $ac_status); }; }; then
11959 eval "$as_ac_var=yes"
11961 echo "$as_me: failed program was:" >&5
11962 sed 's/^/| /' conftest.
$ac_ext >&5
11964 eval "$as_ac_var=no"
11966 rm -f conftest.err conftest.
$ac_objext \
11967 conftest
$ac_exeext conftest.
$ac_ext
11969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11971 if test `eval echo '${'$as_ac_var'}'` = yes; then
11972 cat >>confdefs.h
<<_ACEOF
11973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11977 cat >>confdefs.h
<<\_ACEOF
11978 #define HAVE_GETHOSTBYADDR_R 1
11981 # There are two different kinds of gethostbyaddr_r.
11982 # We look for the one that returns `int'.
11983 # Hopefully this check is robust enough.
11984 cat >conftest.
$ac_ext <<_ACEOF
11987 cat confdefs.h
>>conftest.
$ac_ext
11988 cat >>conftest.
$ac_ext <<_ACEOF
11989 /* end confdefs.h. */
11993 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11994 $EGREP "int.*gethostbyaddr_r" >/dev
/null
2>&1; then
11997 cat >>confdefs.h
<<\_ACEOF
11998 #define GETHOSTBYADDR_R_RETURNS_INT 1
12012 for ac_func
in gethostname
12014 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12015 echo "$as_me:$LINENO: checking for $ac_func" >&5
12016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12017 if eval "test \"\${$as_ac_var+set}\" = set"; then
12018 echo $ECHO_N "(cached) $ECHO_C" >&6
12020 if test x
$gcc_no_link = xyes
; then
12021 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12023 { (exit 1); exit 1; }; }
12025 cat >conftest.
$ac_ext <<_ACEOF
12028 cat confdefs.h
>>conftest.
$ac_ext
12029 cat >>conftest.
$ac_ext <<_ACEOF
12030 /* end confdefs.h. */
12031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12033 #define $ac_func innocuous_$ac_func
12035 /* System header to define __stub macros and hopefully few prototypes,
12036 which can conflict with char $ac_func (); below.
12037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12038 <limits.h> exists even on freestanding compilers. */
12041 # include <limits.h>
12043 # include <assert.h>
12048 /* Override any gcc2 internal prototype to avoid an error. */
12053 /* We use char because int might match the return type of a gcc2
12054 builtin and then its argument prototype would still apply. */
12056 /* The GNU C library defines this for functions which it implements
12057 to always fail with ENOSYS. Some functions are actually named
12058 something starting with __ and the normal name is an alias. */
12059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12062 char (*f) () = $ac_func;
12071 return f != $ac_func;
12076 rm -f conftest.
$ac_objext conftest
$ac_exeext
12077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12078 (eval $ac_link) 2>conftest.er1
12080 grep -v '^ *+' conftest.er1
>conftest.err
12082 cat conftest.err
>&5
12083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12084 (exit $ac_status); } &&
12085 { ac_try
='test -z "$ac_c_werror_flag"
12086 || test ! -s conftest.err'
12087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12088 (eval $ac_try) 2>&5
12090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12091 (exit $ac_status); }; } &&
12092 { ac_try
='test -s conftest$ac_exeext'
12093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12094 (eval $ac_try) 2>&5
12096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12097 (exit $ac_status); }; }; then
12098 eval "$as_ac_var=yes"
12100 echo "$as_me: failed program was:" >&5
12101 sed 's/^/| /' conftest.
$ac_ext >&5
12103 eval "$as_ac_var=no"
12105 rm -f conftest.err conftest.
$ac_objext \
12106 conftest
$ac_exeext conftest.
$ac_ext
12108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12110 if test `eval echo '${'$as_ac_var'}'` = yes; then
12111 cat >>confdefs.h
<<_ACEOF
12112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12116 cat >>confdefs.h
<<\_ACEOF
12117 #define HAVE_GETHOSTNAME 1
12120 cat >conftest.
$ac_ext <<_ACEOF
12123 cat confdefs.h
>>conftest.
$ac_ext
12124 cat >>conftest.
$ac_ext <<_ACEOF
12125 /* end confdefs.h. */
12126 #include <unistd.h>
12129 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12130 $EGREP "gethostname" >/dev
/null
2>&1; then
12133 cat >>confdefs.h
<<\_ACEOF
12134 #define HAVE_GETHOSTNAME_DECL 1
12145 for ac_func
in usleep
12147 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12148 echo "$as_me:$LINENO: checking for $ac_func" >&5
12149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12150 if eval "test \"\${$as_ac_var+set}\" = set"; then
12151 echo $ECHO_N "(cached) $ECHO_C" >&6
12153 if test x
$gcc_no_link = xyes
; then
12154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12156 { (exit 1); exit 1; }; }
12158 cat >conftest.
$ac_ext <<_ACEOF
12161 cat confdefs.h
>>conftest.
$ac_ext
12162 cat >>conftest.
$ac_ext <<_ACEOF
12163 /* end confdefs.h. */
12164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12166 #define $ac_func innocuous_$ac_func
12168 /* System header to define __stub macros and hopefully few prototypes,
12169 which can conflict with char $ac_func (); below.
12170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12171 <limits.h> exists even on freestanding compilers. */
12174 # include <limits.h>
12176 # include <assert.h>
12181 /* Override any gcc2 internal prototype to avoid an error. */
12186 /* We use char because int might match the return type of a gcc2
12187 builtin and then its argument prototype would still apply. */
12189 /* The GNU C library defines this for functions which it implements
12190 to always fail with ENOSYS. Some functions are actually named
12191 something starting with __ and the normal name is an alias. */
12192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12195 char (*f) () = $ac_func;
12204 return f != $ac_func;
12209 rm -f conftest.
$ac_objext conftest
$ac_exeext
12210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12211 (eval $ac_link) 2>conftest.er1
12213 grep -v '^ *+' conftest.er1
>conftest.err
12215 cat conftest.err
>&5
12216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12217 (exit $ac_status); } &&
12218 { ac_try
='test -z "$ac_c_werror_flag"
12219 || test ! -s conftest.err'
12220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12221 (eval $ac_try) 2>&5
12223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12224 (exit $ac_status); }; } &&
12225 { ac_try
='test -s conftest$ac_exeext'
12226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12227 (eval $ac_try) 2>&5
12229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12230 (exit $ac_status); }; }; then
12231 eval "$as_ac_var=yes"
12233 echo "$as_me: failed program was:" >&5
12234 sed 's/^/| /' conftest.
$ac_ext >&5
12236 eval "$as_ac_var=no"
12238 rm -f conftest.err conftest.
$ac_objext \
12239 conftest
$ac_exeext conftest.
$ac_ext
12241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12243 if test `eval echo '${'$as_ac_var'}'` = yes; then
12244 cat >>confdefs.h
<<_ACEOF
12245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12248 cat >conftest.
$ac_ext <<_ACEOF
12251 cat confdefs.h
>>conftest.
$ac_ext
12252 cat >>conftest.
$ac_ext <<_ACEOF
12253 /* end confdefs.h. */
12254 #include <unistd.h>
12257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12258 $EGREP "usleep" >/dev
/null
2>&1; then
12261 cat >>confdefs.h
<<\_ACEOF
12262 #define HAVE_USLEEP_DECL 1
12272 # Look for these functions in the thread library, but only bother
12273 # if using POSIX threads.
12274 if test "$THREADS" = posix
; then
12276 LIBS
="$LIBS $THREADLIBS"
12277 # Some POSIX thread systems don't have pthread_mutexattr_settype.
12281 for ac_func
in pthread_mutexattr_settype pthread_mutexattr_setkind_np
12283 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12284 echo "$as_me:$LINENO: checking for $ac_func" >&5
12285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12286 if eval "test \"\${$as_ac_var+set}\" = set"; then
12287 echo $ECHO_N "(cached) $ECHO_C" >&6
12289 if test x
$gcc_no_link = xyes
; then
12290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12292 { (exit 1); exit 1; }; }
12294 cat >conftest.
$ac_ext <<_ACEOF
12297 cat confdefs.h
>>conftest.
$ac_ext
12298 cat >>conftest.
$ac_ext <<_ACEOF
12299 /* end confdefs.h. */
12300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12302 #define $ac_func innocuous_$ac_func
12304 /* System header to define __stub macros and hopefully few prototypes,
12305 which can conflict with char $ac_func (); below.
12306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12307 <limits.h> exists even on freestanding compilers. */
12310 # include <limits.h>
12312 # include <assert.h>
12317 /* Override any gcc2 internal prototype to avoid an error. */
12322 /* We use char because int might match the return type of a gcc2
12323 builtin and then its argument prototype would still apply. */
12325 /* The GNU C library defines this for functions which it implements
12326 to always fail with ENOSYS. Some functions are actually named
12327 something starting with __ and the normal name is an alias. */
12328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12331 char (*f) () = $ac_func;
12340 return f != $ac_func;
12345 rm -f conftest.
$ac_objext conftest
$ac_exeext
12346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12347 (eval $ac_link) 2>conftest.er1
12349 grep -v '^ *+' conftest.er1
>conftest.err
12351 cat conftest.err
>&5
12352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12353 (exit $ac_status); } &&
12354 { ac_try
='test -z "$ac_c_werror_flag"
12355 || test ! -s conftest.err'
12356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12357 (eval $ac_try) 2>&5
12359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12360 (exit $ac_status); }; } &&
12361 { ac_try
='test -s conftest$ac_exeext'
12362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12363 (eval $ac_try) 2>&5
12365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12366 (exit $ac_status); }; }; then
12367 eval "$as_ac_var=yes"
12369 echo "$as_me: failed program was:" >&5
12370 sed 's/^/| /' conftest.
$ac_ext >&5
12372 eval "$as_ac_var=no"
12374 rm -f conftest.err conftest.
$ac_objext \
12375 conftest
$ac_exeext conftest.
$ac_ext
12377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12379 if test `eval echo '${'$as_ac_var'}'` = yes; then
12380 cat >>confdefs.h
<<_ACEOF
12381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12388 # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since
12389 # Solaris 7 the name librt is preferred.
12391 for ac_func
in sched_yield
12393 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12394 echo "$as_me:$LINENO: checking for $ac_func" >&5
12395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12396 if eval "test \"\${$as_ac_var+set}\" = set"; then
12397 echo $ECHO_N "(cached) $ECHO_C" >&6
12399 if test x
$gcc_no_link = xyes
; then
12400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12402 { (exit 1); exit 1; }; }
12404 cat >conftest.
$ac_ext <<_ACEOF
12407 cat confdefs.h
>>conftest.
$ac_ext
12408 cat >>conftest.
$ac_ext <<_ACEOF
12409 /* end confdefs.h. */
12410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12412 #define $ac_func innocuous_$ac_func
12414 /* System header to define __stub macros and hopefully few prototypes,
12415 which can conflict with char $ac_func (); below.
12416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12417 <limits.h> exists even on freestanding compilers. */
12420 # include <limits.h>
12422 # include <assert.h>
12427 /* Override any gcc2 internal prototype to avoid an error. */
12432 /* We use char because int might match the return type of a gcc2
12433 builtin and then its argument prototype would still apply. */
12435 /* The GNU C library defines this for functions which it implements
12436 to always fail with ENOSYS. Some functions are actually named
12437 something starting with __ and the normal name is an alias. */
12438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12441 char (*f) () = $ac_func;
12450 return f != $ac_func;
12455 rm -f conftest.
$ac_objext conftest
$ac_exeext
12456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12457 (eval $ac_link) 2>conftest.er1
12459 grep -v '^ *+' conftest.er1
>conftest.err
12461 cat conftest.err
>&5
12462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12463 (exit $ac_status); } &&
12464 { ac_try
='test -z "$ac_c_werror_flag"
12465 || test ! -s conftest.err'
12466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12467 (eval $ac_try) 2>&5
12469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12470 (exit $ac_status); }; } &&
12471 { ac_try
='test -s conftest$ac_exeext'
12472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12473 (eval $ac_try) 2>&5
12475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12476 (exit $ac_status); }; }; then
12477 eval "$as_ac_var=yes"
12479 echo "$as_me: failed program was:" >&5
12480 sed 's/^/| /' conftest.
$ac_ext >&5
12482 eval "$as_ac_var=no"
12484 rm -f conftest.err conftest.
$ac_objext \
12485 conftest
$ac_exeext conftest.
$ac_ext
12487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12489 if test `eval echo '${'$as_ac_var'}'` = yes; then
12490 cat >>confdefs.h
<<_ACEOF
12491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12496 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
12497 echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
12498 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
12499 echo $ECHO_N "(cached) $ECHO_C" >&6
12501 ac_check_lib_save_LIBS
=$LIBS
12503 if test x
$gcc_no_link = xyes
; then
12504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12506 { (exit 1); exit 1; }; }
12508 cat >conftest.
$ac_ext <<_ACEOF
12511 cat confdefs.h
>>conftest.
$ac_ext
12512 cat >>conftest.
$ac_ext <<_ACEOF
12513 /* end confdefs.h. */
12515 /* Override any gcc2 internal prototype to avoid an error. */
12519 /* We use char because int might match the return type of a gcc2
12520 builtin and then its argument prototype would still apply. */
12521 char sched_yield ();
12530 rm -f conftest.
$ac_objext conftest
$ac_exeext
12531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12532 (eval $ac_link) 2>conftest.er1
12534 grep -v '^ *+' conftest.er1
>conftest.err
12536 cat conftest.err
>&5
12537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12538 (exit $ac_status); } &&
12539 { ac_try
='test -z "$ac_c_werror_flag"
12540 || test ! -s conftest.err'
12541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12542 (eval $ac_try) 2>&5
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); }; } &&
12546 { ac_try
='test -s conftest$ac_exeext'
12547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12548 (eval $ac_try) 2>&5
12550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12551 (exit $ac_status); }; }; then
12552 ac_cv_lib_rt_sched_yield
=yes
12554 echo "$as_me: failed program was:" >&5
12555 sed 's/^/| /' conftest.
$ac_ext >&5
12557 ac_cv_lib_rt_sched_yield
=no
12559 rm -f conftest.err conftest.
$ac_objext \
12560 conftest
$ac_exeext conftest.
$ac_ext
12561 LIBS
=$ac_check_lib_save_LIBS
12563 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
12564 echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
12565 if test $ac_cv_lib_rt_sched_yield = yes; then
12567 cat >>confdefs.h
<<\_ACEOF
12568 #define HAVE_SCHED_YIELD 1
12571 THREADLIBS
="$THREADLIBS -lrt"
12572 THREADSPEC
="$THREADSPEC -lrt"
12575 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
12576 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
12577 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
12578 echo $ECHO_N "(cached) $ECHO_C" >&6
12580 ac_check_lib_save_LIBS
=$LIBS
12581 LIBS
="-lposix4 $LIBS"
12582 if test x
$gcc_no_link = xyes
; then
12583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12585 { (exit 1); exit 1; }; }
12587 cat >conftest.
$ac_ext <<_ACEOF
12590 cat confdefs.h
>>conftest.
$ac_ext
12591 cat >>conftest.
$ac_ext <<_ACEOF
12592 /* end confdefs.h. */
12594 /* Override any gcc2 internal prototype to avoid an error. */
12598 /* We use char because int might match the return type of a gcc2
12599 builtin and then its argument prototype would still apply. */
12600 char sched_yield ();
12609 rm -f conftest.
$ac_objext conftest
$ac_exeext
12610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12611 (eval $ac_link) 2>conftest.er1
12613 grep -v '^ *+' conftest.er1
>conftest.err
12615 cat conftest.err
>&5
12616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12617 (exit $ac_status); } &&
12618 { ac_try
='test -z "$ac_c_werror_flag"
12619 || test ! -s conftest.err'
12620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12621 (eval $ac_try) 2>&5
12623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12624 (exit $ac_status); }; } &&
12625 { ac_try
='test -s conftest$ac_exeext'
12626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12627 (eval $ac_try) 2>&5
12629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12630 (exit $ac_status); }; }; then
12631 ac_cv_lib_posix4_sched_yield
=yes
12633 echo "$as_me: failed program was:" >&5
12634 sed 's/^/| /' conftest.
$ac_ext >&5
12636 ac_cv_lib_posix4_sched_yield
=no
12638 rm -f conftest.err conftest.
$ac_objext \
12639 conftest
$ac_exeext conftest.
$ac_ext
12640 LIBS
=$ac_check_lib_save_LIBS
12642 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
12643 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
12644 if test $ac_cv_lib_posix4_sched_yield = yes; then
12646 cat >>confdefs.h
<<\_ACEOF
12647 #define HAVE_SCHED_YIELD 1
12650 THREADLIBS
="$THREADLIBS -lposix4"
12651 THREADSPEC
="$THREADSPEC -lposix4"
12660 echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
12661 echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6
12662 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
12663 echo $ECHO_N "(cached) $ECHO_C" >&6
12665 ac_check_lib_save_LIBS
=$LIBS
12667 if test x
$gcc_no_link = xyes
; then
12668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12670 { (exit 1); exit 1; }; }
12672 cat >conftest.
$ac_ext <<_ACEOF
12675 cat confdefs.h
>>conftest.
$ac_ext
12676 cat >>conftest.
$ac_ext <<_ACEOF
12677 /* end confdefs.h. */
12679 /* Override any gcc2 internal prototype to avoid an error. */
12683 /* We use char because int might match the return type of a gcc2
12684 builtin and then its argument prototype would still apply. */
12685 char clock_gettime ();
12694 rm -f conftest.
$ac_objext conftest
$ac_exeext
12695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12696 (eval $ac_link) 2>conftest.er1
12698 grep -v '^ *+' conftest.er1
>conftest.err
12700 cat conftest.err
>&5
12701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12702 (exit $ac_status); } &&
12703 { ac_try
='test -z "$ac_c_werror_flag"
12704 || test ! -s conftest.err'
12705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12706 (eval $ac_try) 2>&5
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); }; } &&
12710 { ac_try
='test -s conftest$ac_exeext'
12711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12712 (eval $ac_try) 2>&5
12714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12715 (exit $ac_status); }; }; then
12716 ac_cv_lib_rt_clock_gettime
=yes
12718 echo "$as_me: failed program was:" >&5
12719 sed 's/^/| /' conftest.
$ac_ext >&5
12721 ac_cv_lib_rt_clock_gettime
=no
12723 rm -f conftest.err conftest.
$ac_objext \
12724 conftest
$ac_exeext conftest.
$ac_ext
12725 LIBS
=$ac_check_lib_save_LIBS
12727 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
12728 echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6
12729 if test $ac_cv_lib_rt_clock_gettime = yes; then
12732 cat >>confdefs.h
<<\_ACEOF
12733 #define HAVE_CLOCK_GETTIME 1
12736 case "$THREADSPEC" in
12739 THREADSPEC
="$THREADSPEC -lrt"
12740 THREADLIBS
="$THREADLIBS -lrt"
12748 # We can save a little space at runtime if the mutex has m_count
12749 # or __m_count. This is a nice hack for Linux.
12750 cat >conftest.
$ac_ext <<_ACEOF
12753 cat confdefs.h
>>conftest.
$ac_ext
12754 cat >>conftest.
$ac_ext <<_ACEOF
12755 /* end confdefs.h. */
12756 #include <pthread.h>
12761 extern pthread_mutex_t *mutex; int q = mutex->m_count;
12767 rm -f conftest.
$ac_objext
12768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12769 (eval $ac_compile) 2>conftest.er1
12771 grep -v '^ *+' conftest.er1
>conftest.err
12773 cat conftest.err
>&5
12774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12775 (exit $ac_status); } &&
12776 { ac_try
='test -z "$ac_c_werror_flag"
12777 || test ! -s conftest.err'
12778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12779 (eval $ac_try) 2>&5
12781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12782 (exit $ac_status); }; } &&
12783 { ac_try
='test -s conftest.$ac_objext'
12784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12785 (eval $ac_try) 2>&5
12787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12788 (exit $ac_status); }; }; then
12790 cat >>confdefs.h
<<\_ACEOF
12791 #define PTHREAD_MUTEX_HAVE_M_COUNT 1
12795 echo "$as_me: failed program was:" >&5
12796 sed 's/^/| /' conftest.
$ac_ext >&5
12799 cat >conftest.
$ac_ext <<_ACEOF
12802 cat confdefs.h
>>conftest.
$ac_ext
12803 cat >>conftest.
$ac_ext <<_ACEOF
12804 /* end confdefs.h. */
12805 #include <pthread.h>
12810 extern pthread_mutex_t *mutex; int q = mutex->__m_count;
12816 rm -f conftest.
$ac_objext
12817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12818 (eval $ac_compile) 2>conftest.er1
12820 grep -v '^ *+' conftest.er1
>conftest.err
12822 cat conftest.err
>&5
12823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12824 (exit $ac_status); } &&
12825 { ac_try
='test -z "$ac_c_werror_flag"
12826 || test ! -s conftest.err'
12827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12828 (eval $ac_try) 2>&5
12830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12831 (exit $ac_status); }; } &&
12832 { ac_try
='test -s conftest.$ac_objext'
12833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12834 (eval $ac_try) 2>&5
12836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837 (exit $ac_status); }; }; then
12839 cat >>confdefs.h
<<\_ACEOF
12840 #define PTHREAD_MUTEX_HAVE___M_COUNT 1
12844 echo "$as_me: failed program was:" >&5
12845 sed 's/^/| /' conftest.
$ac_ext >&5
12848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12853 # We require a way to get the time.
12858 for ac_func
in gettimeofday
time ftime
12860 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12861 echo "$as_me:$LINENO: checking for $ac_func" >&5
12862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12863 if eval "test \"\${$as_ac_var+set}\" = set"; then
12864 echo $ECHO_N "(cached) $ECHO_C" >&6
12866 if test x
$gcc_no_link = xyes
; then
12867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12869 { (exit 1); exit 1; }; }
12871 cat >conftest.
$ac_ext <<_ACEOF
12874 cat confdefs.h
>>conftest.
$ac_ext
12875 cat >>conftest.
$ac_ext <<_ACEOF
12876 /* end confdefs.h. */
12877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12879 #define $ac_func innocuous_$ac_func
12881 /* System header to define __stub macros and hopefully few prototypes,
12882 which can conflict with char $ac_func (); below.
12883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12884 <limits.h> exists even on freestanding compilers. */
12887 # include <limits.h>
12889 # include <assert.h>
12894 /* Override any gcc2 internal prototype to avoid an error. */
12899 /* We use char because int might match the return type of a gcc2
12900 builtin and then its argument prototype would still apply. */
12902 /* The GNU C library defines this for functions which it implements
12903 to always fail with ENOSYS. Some functions are actually named
12904 something starting with __ and the normal name is an alias. */
12905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12908 char (*f) () = $ac_func;
12917 return f != $ac_func;
12922 rm -f conftest.
$ac_objext conftest
$ac_exeext
12923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12924 (eval $ac_link) 2>conftest.er1
12926 grep -v '^ *+' conftest.er1
>conftest.err
12928 cat conftest.err
>&5
12929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12930 (exit $ac_status); } &&
12931 { ac_try
='test -z "$ac_c_werror_flag"
12932 || test ! -s conftest.err'
12933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12934 (eval $ac_try) 2>&5
12936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12937 (exit $ac_status); }; } &&
12938 { ac_try
='test -s conftest$ac_exeext'
12939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12940 (eval $ac_try) 2>&5
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943 (exit $ac_status); }; }; then
12944 eval "$as_ac_var=yes"
12946 echo "$as_me: failed program was:" >&5
12947 sed 's/^/| /' conftest.
$ac_ext >&5
12949 eval "$as_ac_var=no"
12951 rm -f conftest.err conftest.
$ac_objext \
12952 conftest
$ac_exeext conftest.
$ac_ext
12954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12956 if test `eval echo '${'$as_ac_var'}'` = yes; then
12957 cat >>confdefs.h
<<_ACEOF
12958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12964 if test "$time_found" = no
; then
12965 { { echo "$as_me:$LINENO: error: no function found to get the time" >&5
12966 echo "$as_me: error: no function found to get the time" >&2;}
12967 { (exit 1); exit 1; }; }
12971 for ac_func
in memmove
12973 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12974 echo "$as_me:$LINENO: checking for $ac_func" >&5
12975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12976 if eval "test \"\${$as_ac_var+set}\" = set"; then
12977 echo $ECHO_N "(cached) $ECHO_C" >&6
12979 if test x
$gcc_no_link = xyes
; then
12980 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12982 { (exit 1); exit 1; }; }
12984 cat >conftest.
$ac_ext <<_ACEOF
12987 cat confdefs.h
>>conftest.
$ac_ext
12988 cat >>conftest.
$ac_ext <<_ACEOF
12989 /* end confdefs.h. */
12990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12992 #define $ac_func innocuous_$ac_func
12994 /* System header to define __stub macros and hopefully few prototypes,
12995 which can conflict with char $ac_func (); below.
12996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12997 <limits.h> exists even on freestanding compilers. */
13000 # include <limits.h>
13002 # include <assert.h>
13007 /* Override any gcc2 internal prototype to avoid an error. */
13012 /* We use char because int might match the return type of a gcc2
13013 builtin and then its argument prototype would still apply. */
13015 /* The GNU C library defines this for functions which it implements
13016 to always fail with ENOSYS. Some functions are actually named
13017 something starting with __ and the normal name is an alias. */
13018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13021 char (*f) () = $ac_func;
13030 return f != $ac_func;
13035 rm -f conftest.
$ac_objext conftest
$ac_exeext
13036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13037 (eval $ac_link) 2>conftest.er1
13039 grep -v '^ *+' conftest.er1
>conftest.err
13041 cat conftest.err
>&5
13042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13043 (exit $ac_status); } &&
13044 { ac_try
='test -z "$ac_c_werror_flag"
13045 || test ! -s conftest.err'
13046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13047 (eval $ac_try) 2>&5
13049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13050 (exit $ac_status); }; } &&
13051 { ac_try
='test -s conftest$ac_exeext'
13052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13053 (eval $ac_try) 2>&5
13055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13056 (exit $ac_status); }; }; then
13057 eval "$as_ac_var=yes"
13059 echo "$as_me: failed program was:" >&5
13060 sed 's/^/| /' conftest.
$ac_ext >&5
13062 eval "$as_ac_var=no"
13064 rm -f conftest.err conftest.
$ac_objext \
13065 conftest
$ac_exeext conftest.
$ac_ext
13067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13069 if test `eval echo '${'$as_ac_var'}'` = yes; then
13070 cat >>confdefs.h
<<_ACEOF
13071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13078 # We require memcpy.
13081 for ac_func
in memcpy
13083 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13084 echo "$as_me:$LINENO: checking for $ac_func" >&5
13085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13086 if eval "test \"\${$as_ac_var+set}\" = set"; then
13087 echo $ECHO_N "(cached) $ECHO_C" >&6
13089 if test x
$gcc_no_link = xyes
; then
13090 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13092 { (exit 1); exit 1; }; }
13094 cat >conftest.
$ac_ext <<_ACEOF
13097 cat confdefs.h
>>conftest.
$ac_ext
13098 cat >>conftest.
$ac_ext <<_ACEOF
13099 /* end confdefs.h. */
13100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13102 #define $ac_func innocuous_$ac_func
13104 /* System header to define __stub macros and hopefully few prototypes,
13105 which can conflict with char $ac_func (); below.
13106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13107 <limits.h> exists even on freestanding compilers. */
13110 # include <limits.h>
13112 # include <assert.h>
13117 /* Override any gcc2 internal prototype to avoid an error. */
13122 /* We use char because int might match the return type of a gcc2
13123 builtin and then its argument prototype would still apply. */
13125 /* The GNU C library defines this for functions which it implements
13126 to always fail with ENOSYS. Some functions are actually named
13127 something starting with __ and the normal name is an alias. */
13128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13131 char (*f) () = $ac_func;
13140 return f != $ac_func;
13145 rm -f conftest.
$ac_objext conftest
$ac_exeext
13146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13147 (eval $ac_link) 2>conftest.er1
13149 grep -v '^ *+' conftest.er1
>conftest.err
13151 cat conftest.err
>&5
13152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13153 (exit $ac_status); } &&
13154 { ac_try
='test -z "$ac_c_werror_flag"
13155 || test ! -s conftest.err'
13156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13157 (eval $ac_try) 2>&5
13159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13160 (exit $ac_status); }; } &&
13161 { ac_try
='test -s conftest$ac_exeext'
13162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13163 (eval $ac_try) 2>&5
13165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13166 (exit $ac_status); }; }; then
13167 eval "$as_ac_var=yes"
13169 echo "$as_me: failed program was:" >&5
13170 sed 's/^/| /' conftest.
$ac_ext >&5
13172 eval "$as_ac_var=no"
13174 rm -f conftest.err conftest.
$ac_objext \
13175 conftest
$ac_exeext conftest.
$ac_ext
13177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13179 if test `eval echo '${'$as_ac_var'}'` = yes; then
13180 cat >>confdefs.h
<<_ACEOF
13181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13187 if test "$memcpy_found" = no
; then
13188 { { echo "$as_me:$LINENO: error: memcpy is required" >&5
13189 echo "$as_me: error: memcpy is required" >&2;}
13190 { (exit 1); exit 1; }; }
13192 # Do an additional check on dld, HP-UX for example has dlopen in libdld.sl
13193 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13194 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13195 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13196 echo $ECHO_N "(cached) $ECHO_C" >&6
13198 ac_check_lib_save_LIBS
=$LIBS
13200 if test x
$gcc_no_link = xyes
; then
13201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13203 { (exit 1); exit 1; }; }
13205 cat >conftest.
$ac_ext <<_ACEOF
13208 cat confdefs.h
>>conftest.
$ac_ext
13209 cat >>conftest.
$ac_ext <<_ACEOF
13210 /* end confdefs.h. */
13212 /* Override any gcc2 internal prototype to avoid an error. */
13216 /* We use char because int might match the return type of a gcc2
13217 builtin and then its argument prototype would still apply. */
13227 rm -f conftest.
$ac_objext conftest
$ac_exeext
13228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13229 (eval $ac_link) 2>conftest.er1
13231 grep -v '^ *+' conftest.er1
>conftest.err
13233 cat conftest.err
>&5
13234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13235 (exit $ac_status); } &&
13236 { ac_try
='test -z "$ac_c_werror_flag"
13237 || test ! -s conftest.err'
13238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13239 (eval $ac_try) 2>&5
13241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13242 (exit $ac_status); }; } &&
13243 { ac_try
='test -s conftest$ac_exeext'
13244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13245 (eval $ac_try) 2>&5
13247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13248 (exit $ac_status); }; }; then
13249 ac_cv_lib_dl_dlopen
=yes
13251 echo "$as_me: failed program was:" >&5
13252 sed 's/^/| /' conftest.
$ac_ext >&5
13254 ac_cv_lib_dl_dlopen
=no
13256 rm -f conftest.err conftest.
$ac_objext \
13257 conftest
$ac_exeext conftest.
$ac_ext
13258 LIBS
=$ac_check_lib_save_LIBS
13260 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13261 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13262 if test $ac_cv_lib_dl_dlopen = yes; then
13265 cat >>confdefs.h
<<\_ACEOF
13266 #define HAVE_DLOPEN 1
13271 echo "$as_me:$LINENO: checking for dlopen in -ldld" >&5
13272 echo $ECHO_N "checking for dlopen in -ldld... $ECHO_C" >&6
13273 if test "${ac_cv_lib_dld_dlopen+set}" = set; then
13274 echo $ECHO_N "(cached) $ECHO_C" >&6
13276 ac_check_lib_save_LIBS
=$LIBS
13278 if test x
$gcc_no_link = xyes
; then
13279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13281 { (exit 1); exit 1; }; }
13283 cat >conftest.
$ac_ext <<_ACEOF
13286 cat confdefs.h
>>conftest.
$ac_ext
13287 cat >>conftest.
$ac_ext <<_ACEOF
13288 /* end confdefs.h. */
13290 /* Override any gcc2 internal prototype to avoid an error. */
13294 /* We use char because int might match the return type of a gcc2
13295 builtin and then its argument prototype would still apply. */
13305 rm -f conftest.
$ac_objext conftest
$ac_exeext
13306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13307 (eval $ac_link) 2>conftest.er1
13309 grep -v '^ *+' conftest.er1
>conftest.err
13311 cat conftest.err
>&5
13312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13313 (exit $ac_status); } &&
13314 { ac_try
='test -z "$ac_c_werror_flag"
13315 || test ! -s conftest.err'
13316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13317 (eval $ac_try) 2>&5
13319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13320 (exit $ac_status); }; } &&
13321 { ac_try
='test -s conftest$ac_exeext'
13322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13323 (eval $ac_try) 2>&5
13325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13326 (exit $ac_status); }; }; then
13327 ac_cv_lib_dld_dlopen
=yes
13329 echo "$as_me: failed program was:" >&5
13330 sed 's/^/| /' conftest.
$ac_ext >&5
13332 ac_cv_lib_dld_dlopen
=no
13334 rm -f conftest.err conftest.
$ac_objext \
13335 conftest
$ac_exeext conftest.
$ac_ext
13336 LIBS
=$ac_check_lib_save_LIBS
13338 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dlopen" >&5
13339 echo "${ECHO_T}$ac_cv_lib_dld_dlopen" >&6
13340 if test $ac_cv_lib_dld_dlopen = yes; then
13343 cat >>confdefs.h
<<\_ACEOF
13344 #define HAVE_DLOPEN 1
13352 # Some library-finding code we stole from Tcl.
13353 #--------------------------------------------------------------------
13354 # Check for the existence of the -lsocket and -lnsl libraries.
13355 # The order here is important, so that they end up in the right
13356 # order in the command line generated by make. Here are some
13357 # special considerations:
13358 # 1. Use "connect" and "accept" to check for -lsocket, and
13359 # "gethostbyname" to check for -lnsl.
13360 # 2. Use each function name only once: can't redo a check because
13361 # autoconf caches the results of the last check and won't redo it.
13362 # 3. Use -lnsl and -lsocket only if they supply procedures that
13363 # aren't already present in the normal libraries. This is because
13364 # IRIX 5.2 has libraries, but they aren't needed and they're
13365 # bogus: they goof up name resolution if used.
13366 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
13367 # To get around this problem, check for both libraries together
13368 # if -lsocket doesn't work by itself.
13369 #--------------------------------------------------------------------
13371 echo "$as_me:$LINENO: checking for socket libraries" >&5
13372 echo $ECHO_N "checking for socket libraries... $ECHO_C" >&6
13373 if test "${gcj_cv_lib_sockets+set}" = set; then
13374 echo $ECHO_N "(cached) $ECHO_C" >&6
13376 gcj_cv_lib_sockets
=
13378 unset ac_cv_func_connect
13379 echo "$as_me:$LINENO: checking for connect" >&5
13380 echo $ECHO_N "checking for connect... $ECHO_C" >&6
13381 if test "${ac_cv_func_connect+set}" = set; then
13382 echo $ECHO_N "(cached) $ECHO_C" >&6
13384 if test x
$gcc_no_link = xyes
; then
13385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13387 { (exit 1); exit 1; }; }
13389 cat >conftest.
$ac_ext <<_ACEOF
13392 cat confdefs.h
>>conftest.
$ac_ext
13393 cat >>conftest.
$ac_ext <<_ACEOF
13394 /* end confdefs.h. */
13395 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
13396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13397 #define connect innocuous_connect
13399 /* System header to define __stub macros and hopefully few prototypes,
13400 which can conflict with char connect (); below.
13401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13402 <limits.h> exists even on freestanding compilers. */
13405 # include <limits.h>
13407 # include <assert.h>
13412 /* Override any gcc2 internal prototype to avoid an error. */
13417 /* We use char because int might match the return type of a gcc2
13418 builtin and then its argument prototype would still apply. */
13420 /* The GNU C library defines this for functions which it implements
13421 to always fail with ENOSYS. Some functions are actually named
13422 something starting with __ and the normal name is an alias. */
13423 #if defined (__stub_connect) || defined (__stub___connect)
13426 char (*f) () = connect;
13435 return f != connect;
13440 rm -f conftest.
$ac_objext conftest
$ac_exeext
13441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13442 (eval $ac_link) 2>conftest.er1
13444 grep -v '^ *+' conftest.er1
>conftest.err
13446 cat conftest.err
>&5
13447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13448 (exit $ac_status); } &&
13449 { ac_try
='test -z "$ac_c_werror_flag"
13450 || test ! -s conftest.err'
13451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13452 (eval $ac_try) 2>&5
13454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13455 (exit $ac_status); }; } &&
13456 { ac_try
='test -s conftest$ac_exeext'
13457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13458 (eval $ac_try) 2>&5
13460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13461 (exit $ac_status); }; }; then
13462 ac_cv_func_connect
=yes
13464 echo "$as_me: failed program was:" >&5
13465 sed 's/^/| /' conftest.
$ac_ext >&5
13467 ac_cv_func_connect
=no
13469 rm -f conftest.err conftest.
$ac_objext \
13470 conftest
$ac_exeext conftest.
$ac_ext
13472 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
13473 echo "${ECHO_T}$ac_cv_func_connect" >&6
13474 if test $ac_cv_func_connect = yes; then
13480 if test "$gcj_checkSocket" = 1; then
13481 unset ac_cv_func_connect
13482 echo "$as_me:$LINENO: checking for main in -lsocket" >&5
13483 echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
13484 if test "${ac_cv_lib_socket_main+set}" = set; then
13485 echo $ECHO_N "(cached) $ECHO_C" >&6
13487 ac_check_lib_save_LIBS
=$LIBS
13488 LIBS
="-lsocket $LIBS"
13489 if test x
$gcc_no_link = xyes
; then
13490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13492 { (exit 1); exit 1; }; }
13494 cat >conftest.
$ac_ext <<_ACEOF
13497 cat confdefs.h
>>conftest.
$ac_ext
13498 cat >>conftest.
$ac_ext <<_ACEOF
13499 /* end confdefs.h. */
13510 rm -f conftest.
$ac_objext conftest
$ac_exeext
13511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13512 (eval $ac_link) 2>conftest.er1
13514 grep -v '^ *+' conftest.er1
>conftest.err
13516 cat conftest.err
>&5
13517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13518 (exit $ac_status); } &&
13519 { ac_try
='test -z "$ac_c_werror_flag"
13520 || test ! -s conftest.err'
13521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13522 (eval $ac_try) 2>&5
13524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13525 (exit $ac_status); }; } &&
13526 { ac_try
='test -s conftest$ac_exeext'
13527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13528 (eval $ac_try) 2>&5
13530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13531 (exit $ac_status); }; }; then
13532 ac_cv_lib_socket_main
=yes
13534 echo "$as_me: failed program was:" >&5
13535 sed 's/^/| /' conftest.
$ac_ext >&5
13537 ac_cv_lib_socket_main
=no
13539 rm -f conftest.err conftest.
$ac_objext \
13540 conftest
$ac_exeext conftest.
$ac_ext
13541 LIBS
=$ac_check_lib_save_LIBS
13543 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
13544 echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
13545 if test $ac_cv_lib_socket_main = yes; then
13546 gcj_cv_lib_sockets
="-lsocket"
13552 if test "$gcj_checkBoth" = 1; then
13554 LIBS
="$LIBS -lsocket -lnsl"
13555 unset ac_cv_func_accept
13556 echo "$as_me:$LINENO: checking for accept" >&5
13557 echo $ECHO_N "checking for accept... $ECHO_C" >&6
13558 if test "${ac_cv_func_accept+set}" = set; then
13559 echo $ECHO_N "(cached) $ECHO_C" >&6
13561 if test x
$gcc_no_link = xyes
; then
13562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13564 { (exit 1); exit 1; }; }
13566 cat >conftest.
$ac_ext <<_ACEOF
13569 cat confdefs.h
>>conftest.
$ac_ext
13570 cat >>conftest.
$ac_ext <<_ACEOF
13571 /* end confdefs.h. */
13572 /* Define accept to an innocuous variant, in case <limits.h> declares accept.
13573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13574 #define accept innocuous_accept
13576 /* System header to define __stub macros and hopefully few prototypes,
13577 which can conflict with char accept (); below.
13578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13579 <limits.h> exists even on freestanding compilers. */
13582 # include <limits.h>
13584 # include <assert.h>
13589 /* Override any gcc2 internal prototype to avoid an error. */
13594 /* We use char because int might match the return type of a gcc2
13595 builtin and then its argument prototype would still apply. */
13597 /* The GNU C library defines this for functions which it implements
13598 to always fail with ENOSYS. Some functions are actually named
13599 something starting with __ and the normal name is an alias. */
13600 #if defined (__stub_accept) || defined (__stub___accept)
13603 char (*f) () = accept;
13612 return f != accept;
13617 rm -f conftest.
$ac_objext conftest
$ac_exeext
13618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13619 (eval $ac_link) 2>conftest.er1
13621 grep -v '^ *+' conftest.er1
>conftest.err
13623 cat conftest.err
>&5
13624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13625 (exit $ac_status); } &&
13626 { ac_try
='test -z "$ac_c_werror_flag"
13627 || test ! -s conftest.err'
13628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13629 (eval $ac_try) 2>&5
13631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13632 (exit $ac_status); }; } &&
13633 { ac_try
='test -s conftest$ac_exeext'
13634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13635 (eval $ac_try) 2>&5
13637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13638 (exit $ac_status); }; }; then
13639 ac_cv_func_accept
=yes
13641 echo "$as_me: failed program was:" >&5
13642 sed 's/^/| /' conftest.
$ac_ext >&5
13644 ac_cv_func_accept
=no
13646 rm -f conftest.err conftest.
$ac_objext \
13647 conftest
$ac_exeext conftest.
$ac_ext
13649 echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5
13650 echo "${ECHO_T}$ac_cv_func_accept" >&6
13651 if test $ac_cv_func_accept = yes; then
13653 gcj_cv_lib_sockets
="-lsocket -lnsl"
13656 unset ac_cv_func_accept
13659 unset ac_cv_func_gethostbyname
13661 LIBS
="$LIBS $gcj_cv_lib_sockets"
13662 echo "$as_me:$LINENO: checking for gethostbyname" >&5
13663 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
13664 if test "${ac_cv_func_gethostbyname+set}" = set; then
13665 echo $ECHO_N "(cached) $ECHO_C" >&6
13667 if test x
$gcc_no_link = xyes
; then
13668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13670 { (exit 1); exit 1; }; }
13672 cat >conftest.
$ac_ext <<_ACEOF
13675 cat confdefs.h
>>conftest.
$ac_ext
13676 cat >>conftest.
$ac_ext <<_ACEOF
13677 /* end confdefs.h. */
13678 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
13679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13680 #define gethostbyname innocuous_gethostbyname
13682 /* System header to define __stub macros and hopefully few prototypes,
13683 which can conflict with char gethostbyname (); below.
13684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13685 <limits.h> exists even on freestanding compilers. */
13688 # include <limits.h>
13690 # include <assert.h>
13693 #undef gethostbyname
13695 /* Override any gcc2 internal prototype to avoid an error. */
13700 /* We use char because int might match the return type of a gcc2
13701 builtin and then its argument prototype would still apply. */
13702 char gethostbyname ();
13703 /* The GNU C library defines this for functions which it implements
13704 to always fail with ENOSYS. Some functions are actually named
13705 something starting with __ and the normal name is an alias. */
13706 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13709 char (*f) () = gethostbyname;
13718 return f != gethostbyname;
13723 rm -f conftest.
$ac_objext conftest
$ac_exeext
13724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13725 (eval $ac_link) 2>conftest.er1
13727 grep -v '^ *+' conftest.er1
>conftest.err
13729 cat conftest.err
>&5
13730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13731 (exit $ac_status); } &&
13732 { ac_try
='test -z "$ac_c_werror_flag"
13733 || test ! -s conftest.err'
13734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13735 (eval $ac_try) 2>&5
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738 (exit $ac_status); }; } &&
13739 { ac_try
='test -s conftest$ac_exeext'
13740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13741 (eval $ac_try) 2>&5
13743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13744 (exit $ac_status); }; }; then
13745 ac_cv_func_gethostbyname
=yes
13747 echo "$as_me: failed program was:" >&5
13748 sed 's/^/| /' conftest.
$ac_ext >&5
13750 ac_cv_func_gethostbyname
=no
13752 rm -f conftest.err conftest.
$ac_objext \
13753 conftest
$ac_exeext conftest.
$ac_ext
13755 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
13756 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
13757 if test $ac_cv_func_gethostbyname = yes; then
13760 echo "$as_me:$LINENO: checking for main in -lnsl" >&5
13761 echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
13762 if test "${ac_cv_lib_nsl_main+set}" = set; then
13763 echo $ECHO_N "(cached) $ECHO_C" >&6
13765 ac_check_lib_save_LIBS
=$LIBS
13767 if test x
$gcc_no_link = xyes
; then
13768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13770 { (exit 1); exit 1; }; }
13772 cat >conftest.
$ac_ext <<_ACEOF
13775 cat confdefs.h
>>conftest.
$ac_ext
13776 cat >>conftest.
$ac_ext <<_ACEOF
13777 /* end confdefs.h. */
13788 rm -f conftest.
$ac_objext conftest
$ac_exeext
13789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13790 (eval $ac_link) 2>conftest.er1
13792 grep -v '^ *+' conftest.er1
>conftest.err
13794 cat conftest.err
>&5
13795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13796 (exit $ac_status); } &&
13797 { ac_try
='test -z "$ac_c_werror_flag"
13798 || test ! -s conftest.err'
13799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13800 (eval $ac_try) 2>&5
13802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13803 (exit $ac_status); }; } &&
13804 { ac_try
='test -s conftest$ac_exeext'
13805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13806 (eval $ac_try) 2>&5
13808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13809 (exit $ac_status); }; }; then
13810 ac_cv_lib_nsl_main
=yes
13812 echo "$as_me: failed program was:" >&5
13813 sed 's/^/| /' conftest.
$ac_ext >&5
13815 ac_cv_lib_nsl_main
=no
13817 rm -f conftest.err conftest.
$ac_objext \
13818 conftest
$ac_exeext conftest.
$ac_ext
13819 LIBS
=$ac_check_lib_save_LIBS
13821 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
13822 echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
13823 if test $ac_cv_lib_nsl_main = yes; then
13824 gcj_cv_lib_sockets
="$gcj_cv_lib_sockets -lnsl"
13829 unset ac_cv_func_gethostbyname
13833 echo "$as_me:$LINENO: result: $gcj_cv_lib_sockets" >&5
13834 echo "${ECHO_T}$gcj_cv_lib_sockets" >&6
13835 SYSTEMSPEC
="$SYSTEMSPEC $gcj_cv_lib_sockets"
13837 if test "$with_system_zlib" = yes; then
13838 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
13839 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
13840 if test "${ac_cv_lib_z_deflate+set}" = set; then
13841 echo $ECHO_N "(cached) $ECHO_C" >&6
13843 ac_check_lib_save_LIBS
=$LIBS
13845 if test x
$gcc_no_link = xyes
; then
13846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13848 { (exit 1); exit 1; }; }
13850 cat >conftest.
$ac_ext <<_ACEOF
13853 cat confdefs.h
>>conftest.
$ac_ext
13854 cat >>conftest.
$ac_ext <<_ACEOF
13855 /* end confdefs.h. */
13857 /* Override any gcc2 internal prototype to avoid an error. */
13861 /* We use char because int might match the return type of a gcc2
13862 builtin and then its argument prototype would still apply. */
13872 rm -f conftest.
$ac_objext conftest
$ac_exeext
13873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13874 (eval $ac_link) 2>conftest.er1
13876 grep -v '^ *+' conftest.er1
>conftest.err
13878 cat conftest.err
>&5
13879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13880 (exit $ac_status); } &&
13881 { ac_try
='test -z "$ac_c_werror_flag"
13882 || test ! -s conftest.err'
13883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13884 (eval $ac_try) 2>&5
13886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13887 (exit $ac_status); }; } &&
13888 { ac_try
='test -s conftest$ac_exeext'
13889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13890 (eval $ac_try) 2>&5
13892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13893 (exit $ac_status); }; }; then
13894 ac_cv_lib_z_deflate
=yes
13896 echo "$as_me: failed program was:" >&5
13897 sed 's/^/| /' conftest.
$ac_ext >&5
13899 ac_cv_lib_z_deflate
=no
13901 rm -f conftest.err conftest.
$ac_objext \
13902 conftest
$ac_exeext conftest.
$ac_ext
13903 LIBS
=$ac_check_lib_save_LIBS
13905 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
13906 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
13907 if test $ac_cv_lib_z_deflate = yes; then
13916 echo "$as_me:$LINENO: checking for magic_open in -lmagic" >&5
13917 echo $ECHO_N "checking for magic_open in -lmagic... $ECHO_C" >&6
13918 if test "${ac_cv_lib_magic_magic_open+set}" = set; then
13919 echo $ECHO_N "(cached) $ECHO_C" >&6
13921 ac_check_lib_save_LIBS
=$LIBS
13922 LIBS
="-lmagic $LIBS"
13923 if test x
$gcc_no_link = xyes
; then
13924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13926 { (exit 1); exit 1; }; }
13928 cat >conftest.
$ac_ext <<_ACEOF
13931 cat confdefs.h
>>conftest.
$ac_ext
13932 cat >>conftest.
$ac_ext <<_ACEOF
13933 /* end confdefs.h. */
13935 /* Override any gcc2 internal prototype to avoid an error. */
13939 /* We use char because int might match the return type of a gcc2
13940 builtin and then its argument prototype would still apply. */
13941 char magic_open ();
13950 rm -f conftest.
$ac_objext conftest
$ac_exeext
13951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13952 (eval $ac_link) 2>conftest.er1
13954 grep -v '^ *+' conftest.er1
>conftest.err
13956 cat conftest.err
>&5
13957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13958 (exit $ac_status); } &&
13959 { ac_try
='test -z "$ac_c_werror_flag"
13960 || test ! -s conftest.err'
13961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13962 (eval $ac_try) 2>&5
13964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13965 (exit $ac_status); }; } &&
13966 { ac_try
='test -s conftest$ac_exeext'
13967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13968 (eval $ac_try) 2>&5
13970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13971 (exit $ac_status); }; }; then
13972 ac_cv_lib_magic_magic_open
=yes
13974 echo "$as_me: failed program was:" >&5
13975 sed 's/^/| /' conftest.
$ac_ext >&5
13977 ac_cv_lib_magic_magic_open
=no
13979 rm -f conftest.err conftest.
$ac_objext \
13980 conftest
$ac_exeext conftest.
$ac_ext
13981 LIBS
=$ac_check_lib_save_LIBS
13983 echo "$as_me:$LINENO: result: $ac_cv_lib_magic_magic_open" >&5
13984 echo "${ECHO_T}$ac_cv_lib_magic_magic_open" >&6
13985 if test $ac_cv_lib_magic_magic_open = yes; then
13988 cat >>confdefs.h
<<\_ACEOF
13989 #define HAVE_MAGIC_OPEN 1
13997 # Test for Gtk stuff, if asked for.
13998 if test "$use_gtk_awt" = yes; then
14002 if test -z "$PKG_CONFIG"; then
14003 # Extract the first word of "pkg-config", so it can be a program name with args.
14004 set dummy pkg-config
; ac_word
=$2
14005 echo "$as_me:$LINENO: checking for $ac_word" >&5
14006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14007 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
14008 echo $ECHO_N "(cached) $ECHO_C" >&6
14010 case $PKG_CONFIG in
14012 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14016 for as_dir
in $PATH
14019 test -z "$as_dir" && as_dir
=.
14020 for ac_exec_ext
in '' $ac_executable_extensions; do
14021 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14022 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14029 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14033 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
14035 if test -n "$PKG_CONFIG"; then
14036 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
14037 echo "${ECHO_T}$PKG_CONFIG" >&6
14039 echo "$as_me:$LINENO: result: no" >&5
14040 echo "${ECHO_T}no" >&6
14045 if test "$PKG_CONFIG" = "no" ; then
14046 echo "*** The pkg-config script could not be found. Make sure it is"
14047 echo "*** in your path, or set the PKG_CONFIG environment variable"
14048 echo "*** to the full path to pkg-config."
14049 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14051 PKG_CONFIG_MIN_VERSION
=0.9.0
14052 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14053 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4" >&5
14054 echo $ECHO_N "checking for gtk+-2.0 >= 2.4... $ECHO_C" >&6
14056 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4" ; then
14057 echo "$as_me:$LINENO: result: yes" >&5
14058 echo "${ECHO_T}yes" >&6
14061 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
14062 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
14063 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4"`
14064 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
14065 echo "${ECHO_T}$GTK_CFLAGS" >&6
14067 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
14068 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
14069 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4"`
14070 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
14071 echo "${ECHO_T}$GTK_LIBS" >&6
14075 ## If we have a custom action on failure, don't print errors, but
14076 ## do set a variable so people can do so.
14077 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4"`
14078 echo $GTK_PKG_ERRORS
14084 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14085 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14089 if test $succeeded = yes; then
14092 { { 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
14093 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;}
14094 { (exit 1); exit 1; }; }
14103 if test -z "$PKG_CONFIG"; then
14104 # Extract the first word of "pkg-config", so it can be a program name with args.
14105 set dummy pkg-config
; ac_word
=$2
14106 echo "$as_me:$LINENO: checking for $ac_word" >&5
14107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14108 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
14109 echo $ECHO_N "(cached) $ECHO_C" >&6
14111 case $PKG_CONFIG in
14113 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14117 for as_dir
in $PATH
14120 test -z "$as_dir" && as_dir
=.
14121 for ac_exec_ext
in '' $ac_executable_extensions; do
14122 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14123 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14130 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14134 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
14136 if test -n "$PKG_CONFIG"; then
14137 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
14138 echo "${ECHO_T}$PKG_CONFIG" >&6
14140 echo "$as_me:$LINENO: result: no" >&5
14141 echo "${ECHO_T}no" >&6
14146 if test "$PKG_CONFIG" = "no" ; then
14147 echo "*** The pkg-config script could not be found. Make sure it is"
14148 echo "*** in your path, or set the PKG_CONFIG environment variable"
14149 echo "*** to the full path to pkg-config."
14150 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14152 PKG_CONFIG_MIN_VERSION
=0.9.0
14153 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14154 echo "$as_me:$LINENO: checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4" >&5
14155 echo $ECHO_N "checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... $ECHO_C" >&6
14157 if $PKG_CONFIG --exists "glib-2.0 >= 2.4 gthread-2.0 >= 2.4" ; then
14158 echo "$as_me:$LINENO: result: yes" >&5
14159 echo "${ECHO_T}yes" >&6
14162 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
14163 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
14164 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
14165 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
14166 echo "${ECHO_T}$GLIB_CFLAGS" >&6
14168 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
14169 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
14170 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
14171 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
14172 echo "${ECHO_T}$GLIB_LIBS" >&6
14176 ## If we have a custom action on failure, don't print errors, but
14177 ## do set a variable so people can do so.
14178 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
14179 echo $GLIB_PKG_ERRORS
14185 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14186 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14190 if test $succeeded = yes; then
14193 { { 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
14194 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;}
14195 { (exit 1); exit 1; }; }
14204 if test -z "$PKG_CONFIG"; then
14205 # Extract the first word of "pkg-config", so it can be a program name with args.
14206 set dummy pkg-config
; ac_word
=$2
14207 echo "$as_me:$LINENO: checking for $ac_word" >&5
14208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14209 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
14210 echo $ECHO_N "(cached) $ECHO_C" >&6
14212 case $PKG_CONFIG in
14214 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14218 for as_dir
in $PATH
14221 test -z "$as_dir" && as_dir
=.
14222 for ac_exec_ext
in '' $ac_executable_extensions; do
14223 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14224 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14231 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14235 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
14237 if test -n "$PKG_CONFIG"; then
14238 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
14239 echo "${ECHO_T}$PKG_CONFIG" >&6
14241 echo "$as_me:$LINENO: result: no" >&5
14242 echo "${ECHO_T}no" >&6
14247 if test "$PKG_CONFIG" = "no" ; then
14248 echo "*** The pkg-config script could not be found. Make sure it is"
14249 echo "*** in your path, or set the PKG_CONFIG environment variable"
14250 echo "*** to the full path to pkg-config."
14251 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14253 PKG_CONFIG_MIN_VERSION
=0.9.0
14254 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14255 echo "$as_me:$LINENO: checking for libart-2.0 >= 2.1" >&5
14256 echo $ECHO_N "checking for libart-2.0 >= 2.1... $ECHO_C" >&6
14258 if $PKG_CONFIG --exists "libart-2.0 >= 2.1" ; then
14259 echo "$as_me:$LINENO: result: yes" >&5
14260 echo "${ECHO_T}yes" >&6
14263 echo "$as_me:$LINENO: checking LIBART_CFLAGS" >&5
14264 echo $ECHO_N "checking LIBART_CFLAGS... $ECHO_C" >&6
14265 LIBART_CFLAGS
=`$PKG_CONFIG --cflags "libart-2.0 >= 2.1"`
14266 echo "$as_me:$LINENO: result: $LIBART_CFLAGS" >&5
14267 echo "${ECHO_T}$LIBART_CFLAGS" >&6
14269 echo "$as_me:$LINENO: checking LIBART_LIBS" >&5
14270 echo $ECHO_N "checking LIBART_LIBS... $ECHO_C" >&6
14271 LIBART_LIBS
=`$PKG_CONFIG --libs "libart-2.0 >= 2.1"`
14272 echo "$as_me:$LINENO: result: $LIBART_LIBS" >&5
14273 echo "${ECHO_T}$LIBART_LIBS" >&6
14277 ## If we have a custom action on failure, don't print errors, but
14278 ## do set a variable so people can do so.
14279 LIBART_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libart-2.0 >= 2.1"`
14280 echo $LIBART_PKG_ERRORS
14286 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14287 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14291 if test $succeeded = yes; then
14294 { { 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
14295 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;}
14296 { (exit 1); exit 1; }; }
14302 # We require the XTest Extension to support java.awt.Robot.
14303 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
14304 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
14305 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
14306 echo $ECHO_N "(cached) $ECHO_C" >&6
14308 ac_check_lib_save_LIBS
=$LIBS
14309 LIBS
="-lXtst ${X_LIBS} $LIBS"
14310 if test x
$gcc_no_link = xyes
; then
14311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14313 { (exit 1); exit 1; }; }
14315 cat >conftest.
$ac_ext <<_ACEOF
14318 cat confdefs.h
>>conftest.
$ac_ext
14319 cat >>conftest.
$ac_ext <<_ACEOF
14320 /* end confdefs.h. */
14322 /* Override any gcc2 internal prototype to avoid an error. */
14326 /* We use char because int might match the return type of a gcc2
14327 builtin and then its argument prototype would still apply. */
14328 char XTestQueryExtension ();
14332 XTestQueryExtension ();
14337 rm -f conftest.
$ac_objext conftest
$ac_exeext
14338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14339 (eval $ac_link) 2>conftest.er1
14341 grep -v '^ *+' conftest.er1
>conftest.err
14343 cat conftest.err
>&5
14344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14345 (exit $ac_status); } &&
14346 { ac_try
='test -z "$ac_c_werror_flag"
14347 || test ! -s conftest.err'
14348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14349 (eval $ac_try) 2>&5
14351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14352 (exit $ac_status); }; } &&
14353 { ac_try
='test -s conftest$ac_exeext'
14354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14355 (eval $ac_try) 2>&5
14357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14358 (exit $ac_status); }; }; then
14359 ac_cv_lib_Xtst_XTestQueryExtension
=yes
14361 echo "$as_me: failed program was:" >&5
14362 sed 's/^/| /' conftest.
$ac_ext >&5
14364 ac_cv_lib_Xtst_XTestQueryExtension
=no
14366 rm -f conftest.err conftest.
$ac_objext \
14367 conftest
$ac_exeext conftest.
$ac_ext
14368 LIBS
=$ac_check_lib_save_LIBS
14370 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
14371 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
14372 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
14375 { { echo "$as_me:$LINENO: error: libXtst not found, required by java.awt.Robot" >&5
14376 echo "$as_me: error: libXtst not found, required by java.awt.Robot" >&2;}
14377 { (exit 1); exit 1; }; }
14382 # On Solaris, and maybe other architectures, the Boehm collector
14384 if test "$GC" = boehm
; then
14385 echo "$as_me:$LINENO: checking for main in -ldl" >&5
14386 echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6
14387 if test "${ac_cv_lib_dl_main+set}" = set; then
14388 echo $ECHO_N "(cached) $ECHO_C" >&6
14390 ac_check_lib_save_LIBS
=$LIBS
14392 if test x
$gcc_no_link = xyes
; then
14393 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14395 { (exit 1); exit 1; }; }
14397 cat >conftest.
$ac_ext <<_ACEOF
14400 cat confdefs.h
>>conftest.
$ac_ext
14401 cat >>conftest.
$ac_ext <<_ACEOF
14402 /* end confdefs.h. */
14413 rm -f conftest.
$ac_objext conftest
$ac_exeext
14414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14415 (eval $ac_link) 2>conftest.er1
14417 grep -v '^ *+' conftest.er1
>conftest.err
14419 cat conftest.err
>&5
14420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14421 (exit $ac_status); } &&
14422 { ac_try
='test -z "$ac_c_werror_flag"
14423 || test ! -s conftest.err'
14424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14425 (eval $ac_try) 2>&5
14427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14428 (exit $ac_status); }; } &&
14429 { ac_try
='test -s conftest$ac_exeext'
14430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14431 (eval $ac_try) 2>&5
14433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14434 (exit $ac_status); }; }; then
14435 ac_cv_lib_dl_main
=yes
14437 echo "$as_me: failed program was:" >&5
14438 sed 's/^/| /' conftest.
$ac_ext >&5
14440 ac_cv_lib_dl_main
=no
14442 rm -f conftest.err conftest.
$ac_objext \
14443 conftest
$ac_exeext conftest.
$ac_ext
14444 LIBS
=$ac_check_lib_save_LIBS
14446 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5
14447 echo "${ECHO_T}$ac_cv_lib_dl_main" >&6
14448 if test $ac_cv_lib_dl_main = yes; then
14449 SYSTEMSPEC
="$SYSTEMSPEC -ldl"
14455 # Use a semicolon as CLASSPATH separator for MinGW, otherwise a colon.
14457 *-mingw32) CLASSPATH_SEPARATOR
=';' ;;
14458 *) CLASSPATH_SEPARATOR
=':' ;;
14462 # We must search the source tree for java.lang, since we still don't
14463 # have libgcj.jar nor java/lang/*.class
14464 GCJ_SAVE_CPPFLAGS
=$CPPFLAGS
14465 CPPFLAGS
="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`"
14467 # Since some classes depend on this one, we need its source available
14468 # before we can do any GCJ compilation test :-(
14469 if test ! -f gnu
/classpath
/Configuration.java
; then
14470 test -d gnu || mkdir gnu
14471 test -d gnu
/classpath || mkdir gnu
/classpath
14472 # Note that it is not crucial that all the values here be correct.
14473 sed -e "s,@prefix@,$prefix," \
14474 -e "s,@VERSION@,$VERSION," \
14475 -e "s,@LIBDEBUG@,false," \
14476 -e "s,@INIT_LOAD_LIBRARY@,false," \
14477 -e "s,@@,$LIBGCJDEBUG," \
14478 -e "s,@default_toolkit@,$TOOLKIT," \
14479 -e "s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,false," \
14480 -e "s,@GTK_CAIRO_ENABLED@,false," \
14481 < $srcdir/classpath
/gnu
/classpath
/Configuration.java.
in \
14482 > gnu
/classpath
/Configuration.java
14483 # We do not want to redirect the output of the grep below to /dev/null,
14484 # but we add /dev/null to the input list so that grep will print the
14485 # filename of Configuration.java in case it finds any matches.
14486 if grep '@.*@' gnu
/classpath
/Configuration.java
/dev
/null
; then
14487 { { echo "$as_me:$LINENO: error: configure.ac is missing the substitutions above" >&5
14488 echo "$as_me: error: configure.ac is missing the substitutions above" >&2;}
14489 { (exit 1); exit 1; }; }
14493 if test -n "$ac_tool_prefix"; then
14494 # Extract the first word of "${ac_tool_prefix}gcj", so it can be a program name with args.
14495 set dummy
${ac_tool_prefix}gcj
; ac_word
=$2
14496 echo "$as_me:$LINENO: checking for $ac_word" >&5
14497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14498 if test "${ac_cv_prog_GCJ+set}" = set; then
14499 echo $ECHO_N "(cached) $ECHO_C" >&6
14501 if test -n "$GCJ"; then
14502 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
14504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14505 for as_dir
in $PATH
14508 test -z "$as_dir" && as_dir
=.
14509 for ac_exec_ext
in '' $ac_executable_extensions; do
14510 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14511 ac_cv_prog_GCJ
="${ac_tool_prefix}gcj"
14512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14520 GCJ
=$ac_cv_prog_GCJ
14521 if test -n "$GCJ"; then
14522 echo "$as_me:$LINENO: result: $GCJ" >&5
14523 echo "${ECHO_T}$GCJ" >&6
14525 echo "$as_me:$LINENO: result: no" >&5
14526 echo "${ECHO_T}no" >&6
14530 if test -z "$ac_cv_prog_GCJ"; then
14532 # Extract the first word of "gcj", so it can be a program name with args.
14533 set dummy gcj
; ac_word
=$2
14534 echo "$as_me:$LINENO: checking for $ac_word" >&5
14535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14536 if test "${ac_cv_prog_ac_ct_GCJ+set}" = set; then
14537 echo $ECHO_N "(cached) $ECHO_C" >&6
14539 if test -n "$ac_ct_GCJ"; then
14540 ac_cv_prog_ac_ct_GCJ
="$ac_ct_GCJ" # Let the user override the test.
14542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14543 for as_dir
in $PATH
14546 test -z "$as_dir" && as_dir
=.
14547 for ac_exec_ext
in '' $ac_executable_extensions; do
14548 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14549 ac_cv_prog_ac_ct_GCJ
="gcj"
14550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14556 test -z "$ac_cv_prog_ac_ct_GCJ" && ac_cv_prog_ac_ct_GCJ
="no"
14559 ac_ct_GCJ
=$ac_cv_prog_ac_ct_GCJ
14560 if test -n "$ac_ct_GCJ"; then
14561 echo "$as_me:$LINENO: result: $ac_ct_GCJ" >&5
14562 echo "${ECHO_T}$ac_ct_GCJ" >&6
14564 echo "$as_me:$LINENO: result: no" >&5
14565 echo "${ECHO_T}no" >&6
14570 GCJ
="$ac_cv_prog_GCJ"
14573 test "x${GCJFLAGS+set}" = xset || GCJFLAGS
="-g -O2"
14579 rm -f gnu
/classpath
/Configuration.java
14581 CPPFLAGS
=$GCJ_SAVE_CPPFLAGS
14583 echo "$as_me:$LINENO: checking for void *" >&5
14584 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14585 if test "${ac_cv_type_void_p+set}" = set; then
14586 echo $ECHO_N "(cached) $ECHO_C" >&6
14588 cat >conftest.
$ac_ext <<_ACEOF
14591 cat confdefs.h
>>conftest.
$ac_ext
14592 cat >>conftest.
$ac_ext <<_ACEOF
14593 /* end confdefs.h. */
14594 $ac_includes_default
14600 if (sizeof (void *))
14606 rm -f conftest.
$ac_objext
14607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14608 (eval $ac_compile) 2>conftest.er1
14610 grep -v '^ *+' conftest.er1
>conftest.err
14612 cat conftest.err
>&5
14613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14614 (exit $ac_status); } &&
14615 { ac_try
='test -z "$ac_c_werror_flag"
14616 || test ! -s conftest.err'
14617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14618 (eval $ac_try) 2>&5
14620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14621 (exit $ac_status); }; } &&
14622 { ac_try
='test -s conftest.$ac_objext'
14623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14624 (eval $ac_try) 2>&5
14626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14627 (exit $ac_status); }; }; then
14628 ac_cv_type_void_p
=yes
14630 echo "$as_me: failed program was:" >&5
14631 sed 's/^/| /' conftest.
$ac_ext >&5
14633 ac_cv_type_void_p
=no
14635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14637 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14638 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14640 echo "$as_me:$LINENO: checking size of void *" >&5
14641 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14642 if test "${ac_cv_sizeof_void_p+set}" = set; then
14643 echo $ECHO_N "(cached) $ECHO_C" >&6
14645 if test "$ac_cv_type_void_p" = yes; then
14646 # The cast to unsigned long works around a bug in the HP C Compiler
14647 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14648 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14649 # This bug is HP SR number 8606223364.
14650 if test "$cross_compiling" = yes; then
14651 # Depending upon the size, compute the lo and hi bounds.
14652 cat >conftest.
$ac_ext <<_ACEOF
14655 cat confdefs.h
>>conftest.
$ac_ext
14656 cat >>conftest.
$ac_ext <<_ACEOF
14657 /* end confdefs.h. */
14658 $ac_includes_default
14662 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14669 rm -f conftest.
$ac_objext
14670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14671 (eval $ac_compile) 2>conftest.er1
14673 grep -v '^ *+' conftest.er1
>conftest.err
14675 cat conftest.err
>&5
14676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14677 (exit $ac_status); } &&
14678 { ac_try
='test -z "$ac_c_werror_flag"
14679 || test ! -s conftest.err'
14680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14681 (eval $ac_try) 2>&5
14683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14684 (exit $ac_status); }; } &&
14685 { ac_try
='test -s conftest.$ac_objext'
14686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14687 (eval $ac_try) 2>&5
14689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690 (exit $ac_status); }; }; then
14693 cat >conftest.
$ac_ext <<_ACEOF
14696 cat confdefs.h
>>conftest.
$ac_ext
14697 cat >>conftest.
$ac_ext <<_ACEOF
14698 /* end confdefs.h. */
14699 $ac_includes_default
14703 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14710 rm -f conftest.
$ac_objext
14711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14712 (eval $ac_compile) 2>conftest.er1
14714 grep -v '^ *+' conftest.er1
>conftest.err
14716 cat conftest.err
>&5
14717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14718 (exit $ac_status); } &&
14719 { ac_try
='test -z "$ac_c_werror_flag"
14720 || test ! -s conftest.err'
14721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14722 (eval $ac_try) 2>&5
14724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14725 (exit $ac_status); }; } &&
14726 { ac_try
='test -s conftest.$ac_objext'
14727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14728 (eval $ac_try) 2>&5
14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 (exit $ac_status); }; }; then
14732 ac_hi
=$ac_mid; break
14734 echo "$as_me: failed program was:" >&5
14735 sed 's/^/| /' conftest.
$ac_ext >&5
14737 ac_lo
=`expr $ac_mid + 1`
14738 if test $ac_lo -le $ac_mid; then
14742 ac_mid
=`expr 2 '*' $ac_mid + 1`
14744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14747 echo "$as_me: failed program was:" >&5
14748 sed 's/^/| /' conftest.
$ac_ext >&5
14750 cat >conftest.
$ac_ext <<_ACEOF
14753 cat confdefs.h
>>conftest.
$ac_ext
14754 cat >>conftest.
$ac_ext <<_ACEOF
14755 /* end confdefs.h. */
14756 $ac_includes_default
14760 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14767 rm -f conftest.
$ac_objext
14768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14769 (eval $ac_compile) 2>conftest.er1
14771 grep -v '^ *+' conftest.er1
>conftest.err
14773 cat conftest.err
>&5
14774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14775 (exit $ac_status); } &&
14776 { ac_try
='test -z "$ac_c_werror_flag"
14777 || test ! -s conftest.err'
14778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14779 (eval $ac_try) 2>&5
14781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14782 (exit $ac_status); }; } &&
14783 { ac_try
='test -s conftest.$ac_objext'
14784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14785 (eval $ac_try) 2>&5
14787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14788 (exit $ac_status); }; }; then
14791 cat >conftest.
$ac_ext <<_ACEOF
14794 cat confdefs.h
>>conftest.
$ac_ext
14795 cat >>conftest.
$ac_ext <<_ACEOF
14796 /* end confdefs.h. */
14797 $ac_includes_default
14801 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14808 rm -f conftest.
$ac_objext
14809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14810 (eval $ac_compile) 2>conftest.er1
14812 grep -v '^ *+' conftest.er1
>conftest.err
14814 cat conftest.err
>&5
14815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14816 (exit $ac_status); } &&
14817 { ac_try
='test -z "$ac_c_werror_flag"
14818 || test ! -s conftest.err'
14819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14820 (eval $ac_try) 2>&5
14822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14823 (exit $ac_status); }; } &&
14824 { ac_try
='test -s conftest.$ac_objext'
14825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14826 (eval $ac_try) 2>&5
14828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14829 (exit $ac_status); }; }; then
14830 ac_lo
=$ac_mid; break
14832 echo "$as_me: failed program was:" >&5
14833 sed 's/^/| /' conftest.
$ac_ext >&5
14835 ac_hi
=`expr '(' $ac_mid ')' - 1`
14836 if test $ac_mid -le $ac_hi; then
14840 ac_mid
=`expr 2 '*' $ac_mid`
14842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14845 echo "$as_me: failed program was:" >&5
14846 sed 's/^/| /' conftest.
$ac_ext >&5
14850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14853 # Binary search between lo and hi bounds.
14854 while test "x$ac_lo" != "x$ac_hi"; do
14855 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14856 cat >conftest.
$ac_ext <<_ACEOF
14859 cat confdefs.h
>>conftest.
$ac_ext
14860 cat >>conftest.
$ac_ext <<_ACEOF
14861 /* end confdefs.h. */
14862 $ac_includes_default
14866 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14873 rm -f conftest.
$ac_objext
14874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14875 (eval $ac_compile) 2>conftest.er1
14877 grep -v '^ *+' conftest.er1
>conftest.err
14879 cat conftest.err
>&5
14880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14881 (exit $ac_status); } &&
14882 { ac_try
='test -z "$ac_c_werror_flag"
14883 || test ! -s conftest.err'
14884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14885 (eval $ac_try) 2>&5
14887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14888 (exit $ac_status); }; } &&
14889 { ac_try
='test -s conftest.$ac_objext'
14890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14891 (eval $ac_try) 2>&5
14893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14894 (exit $ac_status); }; }; then
14897 echo "$as_me: failed program was:" >&5
14898 sed 's/^/| /' conftest.
$ac_ext >&5
14900 ac_lo
=`expr '(' $ac_mid ')' + 1`
14902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14905 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14906 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14907 See \`config.log' for more details." >&5
14908 echo "$as_me: error: cannot compute sizeof (void *), 77
14909 See \`config.log' for more details." >&2;}
14910 { (exit 1); exit 1; }; } ;;
14913 if test "$cross_compiling" = yes; then
14914 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14915 See \`config.log' for more details." >&5
14916 echo "$as_me: error: cannot run test program while cross compiling
14917 See \`config.log' for more details." >&2;}
14918 { (exit 1); exit 1; }; }
14920 cat >conftest.
$ac_ext <<_ACEOF
14923 cat confdefs.h
>>conftest.
$ac_ext
14924 cat >>conftest.
$ac_ext <<_ACEOF
14925 /* end confdefs.h. */
14926 $ac_includes_default
14927 long longval () { return (long) (sizeof (void *)); }
14928 unsigned long ulongval () { return (long) (sizeof (void *)); }
14930 #include <stdlib.h>
14935 FILE *f = fopen ("conftest.val", "w");
14938 if (((long) (sizeof (void *))) < 0)
14940 long i = longval ();
14941 if (i != ((long) (sizeof (void *))))
14943 fprintf (f, "%ld\n", i);
14947 unsigned long i = ulongval ();
14948 if (i != ((long) (sizeof (void *))))
14950 fprintf (f, "%lu\n", i);
14952 exit (ferror (f) || fclose (f) != 0);
14958 rm -f conftest
$ac_exeext
14959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14960 (eval $ac_link) 2>&5
14962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14965 (eval $ac_try) 2>&5
14967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14968 (exit $ac_status); }; }; then
14969 ac_cv_sizeof_void_p
=`cat conftest.val`
14971 echo "$as_me: program exited with status $ac_status" >&5
14972 echo "$as_me: failed program was:" >&5
14973 sed 's/^/| /' conftest.
$ac_ext >&5
14975 ( exit $ac_status )
14976 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14977 See \`config.log' for more details." >&5
14978 echo "$as_me: error: cannot compute sizeof (void *), 77
14979 See \`config.log' for more details." >&2;}
14980 { (exit 1); exit 1; }; }
14982 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14987 ac_cv_sizeof_void_p
=0
14990 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14991 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14992 cat >>confdefs.h
<<_ACEOF
14993 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14998 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
14999 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
15000 if test "${ac_cv_c_bigendian+set}" = set; then
15001 echo $ECHO_N "(cached) $ECHO_C" >&6
15003 # See if sys/param.h defines the BYTE_ORDER macro.
15004 cat >conftest.
$ac_ext <<_ACEOF
15007 cat confdefs.h
>>conftest.
$ac_ext
15008 cat >>conftest.
$ac_ext <<_ACEOF
15009 /* end confdefs.h. */
15010 #include <sys/types.h>
15011 #include <sys/param.h>
15016 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
15017 bogus endian macros
15024 rm -f conftest.
$ac_objext
15025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15026 (eval $ac_compile) 2>conftest.er1
15028 grep -v '^ *+' conftest.er1
>conftest.err
15030 cat conftest.err
>&5
15031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15032 (exit $ac_status); } &&
15033 { ac_try
='test -z "$ac_c_werror_flag"
15034 || test ! -s conftest.err'
15035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15036 (eval $ac_try) 2>&5
15038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15039 (exit $ac_status); }; } &&
15040 { ac_try
='test -s conftest.$ac_objext'
15041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15042 (eval $ac_try) 2>&5
15044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15045 (exit $ac_status); }; }; then
15046 # It does; now see whether it defined to BIG_ENDIAN or not.
15047 cat >conftest.
$ac_ext <<_ACEOF
15050 cat confdefs.h
>>conftest.
$ac_ext
15051 cat >>conftest.
$ac_ext <<_ACEOF
15052 /* end confdefs.h. */
15053 #include <sys/types.h>
15054 #include <sys/param.h>
15059 #if BYTE_ORDER != BIG_ENDIAN
15067 rm -f conftest.
$ac_objext
15068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15069 (eval $ac_compile) 2>conftest.er1
15071 grep -v '^ *+' conftest.er1
>conftest.err
15073 cat conftest.err
>&5
15074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15075 (exit $ac_status); } &&
15076 { ac_try
='test -z "$ac_c_werror_flag"
15077 || test ! -s conftest.err'
15078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15079 (eval $ac_try) 2>&5
15081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15082 (exit $ac_status); }; } &&
15083 { ac_try
='test -s conftest.$ac_objext'
15084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15085 (eval $ac_try) 2>&5
15087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15088 (exit $ac_status); }; }; then
15089 ac_cv_c_bigendian
=yes
15091 echo "$as_me: failed program was:" >&5
15092 sed 's/^/| /' conftest.
$ac_ext >&5
15094 ac_cv_c_bigendian
=no
15096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15098 echo "$as_me: failed program was:" >&5
15099 sed 's/^/| /' conftest.
$ac_ext >&5
15101 # It does not; compile a test program.
15102 if test "$cross_compiling" = yes; then
15103 # try to guess the endianness by grepping values into an object file
15104 ac_cv_c_bigendian
=unknown
15105 cat >conftest.
$ac_ext <<_ACEOF
15108 cat confdefs.h
>>conftest.
$ac_ext
15109 cat >>conftest.
$ac_ext <<_ACEOF
15110 /* end confdefs.h. */
15111 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15112 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15113 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
15114 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
15115 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
15116 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
15120 _ascii (); _ebcdic ();
15125 rm -f conftest.
$ac_objext
15126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15127 (eval $ac_compile) 2>conftest.er1
15129 grep -v '^ *+' conftest.er1
>conftest.err
15131 cat conftest.err
>&5
15132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15133 (exit $ac_status); } &&
15134 { ac_try
='test -z "$ac_c_werror_flag"
15135 || test ! -s conftest.err'
15136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15137 (eval $ac_try) 2>&5
15139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15140 (exit $ac_status); }; } &&
15141 { ac_try
='test -s conftest.$ac_objext'
15142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15143 (eval $ac_try) 2>&5
15145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15146 (exit $ac_status); }; }; then
15147 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
15148 ac_cv_c_bigendian
=yes
15150 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
15151 if test "$ac_cv_c_bigendian" = unknown
; then
15152 ac_cv_c_bigendian
=no
15154 # finding both strings is unlikely to happen, but who knows?
15155 ac_cv_c_bigendian
=unknown
15159 echo "$as_me: failed program was:" >&5
15160 sed 's/^/| /' conftest.
$ac_ext >&5
15163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15165 cat >conftest.
$ac_ext <<_ACEOF
15168 cat confdefs.h
>>conftest.
$ac_ext
15169 cat >>conftest.
$ac_ext <<_ACEOF
15170 /* end confdefs.h. */
15174 /* Are we little or big endian? From Harbison&Steele. */
15178 char c[sizeof (long)];
15181 exit (u.c[sizeof (long) - 1] == 1);
15184 rm -f conftest
$ac_exeext
15185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15186 (eval $ac_link) 2>&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15191 (eval $ac_try) 2>&5
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); }; }; then
15195 ac_cv_c_bigendian
=no
15197 echo "$as_me: program exited with status $ac_status" >&5
15198 echo "$as_me: failed program was:" >&5
15199 sed 's/^/| /' conftest.
$ac_ext >&5
15201 ( exit $ac_status )
15202 ac_cv_c_bigendian
=yes
15204 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15209 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
15210 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
15211 case $ac_cv_c_bigendian in
15214 cat >>confdefs.h
<<\_ACEOF
15215 #define WORDS_BIGENDIAN 1
15221 { { echo "$as_me:$LINENO: error: unknown endianness
15222 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
15223 echo "$as_me: error: unknown endianness
15224 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
15225 { (exit 1); exit 1; }; } ;;
15233 if test -z "$ZLIBSPEC"; then
15234 # Use zlib from the GCC tree.
15235 ZINCS
='-I$(top_srcdir)/../zlib'
15236 ZLIBS
=..
/zlib
/libzgcj_convenience.la
15239 SYS_ZLIBS
="$ZLIBSPEC"
15252 if test "$NATIVE" = yes; then
15262 if test "$enable_shared" = yes; then
15263 ENABLE_SHARED_TRUE
=
15264 ENABLE_SHARED_FALSE
='#'
15266 ENABLE_SHARED_TRUE
='#'
15267 ENABLE_SHARED_FALSE
=
15272 if test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes; then
15273 NEEDS_DATA_START_TRUE
=
15274 NEEDS_DATA_START_FALSE
='#'
15276 NEEDS_DATA_START_TRUE
='#'
15277 NEEDS_DATA_START_FALSE
=
15282 # Process the option "--enable-version-specific-runtime-libs"
15283 # Calculate toolexeclibdir
15284 case ${version_specific_libs} in
15286 # Need the gcc compiler version to know where to install libraries
15287 # and header files if --enable-version-specific-runtime-libs option
15289 includedir
='$(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/include/'
15290 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
15291 toolexecmainlibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
15292 toolexeclibdir
=$toolexecmainlibdir
15295 if test -n "$with_cross_host" &&
15296 test x
"$with_cross_host" != x
"no"; then
15297 # Install a library built with a cross compiler in tooldir, not libdir.
15298 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
15299 toolexecmainlibdir
='$(toolexecdir)/lib'
15301 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
15302 toolexecmainlibdir
='$(libdir)'
15304 multi_os_directory
=`$CC -print-multi-os-directory`
15305 case $multi_os_directory in
15306 .
) toolexeclibdir
=$toolexecmainlibdir ;; # Avoid trailing /.
15307 *) toolexeclibdir
=$toolexecmainlibdir/$multi_os_directory ;;
15315 # Determine where the standard .db file and GNU Classpath JNI
15316 # libraries are found.
15317 multi_os_directory
=`$CC -print-multi-os-directory`
15318 case $multi_os_directory in
15320 dbexecdir
='$(libdir)/gcj-$(gcc_version)' # Avoid /.
15323 dbexecdir
='$(libdir)/'$multi_os_directory'/gcj-$(gcc_version)'
15328 # Determine gcj version number.
15329 gcjversion
=`$GCJ -v 2>&1 | sed -n 's/^.*version \([^ ]*\).*$/\1/p'`
15330 GCJVERSION
=$gcjversion
15333 cat >>confdefs.h
<<_ACEOF
15334 #define GCJVERSION "$GCJVERSION"
15339 cat >>confdefs.h
<<\_ACEOF
15340 #define JV_VERSION "1.5.0"
15344 cat >>confdefs.h
<<\_ACEOF
15345 #define JV_API_VERSION "1.5"
15350 case "${with_gxx_include_dir}" in
15352 { { echo "$as_me:$LINENO: error: --with-gxx-include-dir=[dir] requires a directory" >&5
15353 echo "$as_me: error: --with-gxx-include-dir=[dir] requires a directory" >&2;}
15354 { (exit 1); exit 1; }; }
15357 case "${enable_version_specific_runtime_libs}" in
15358 yes) gxx_include_dir
='$(libsubdir)/include/c++' ;;
15360 libstdcxx_incdir
='c++/$(gcc_version)'
15361 gxx_include_dir
='include/$(libstdcxx_incdir)'
15362 if test -n "$with_cross_host" &&
15363 test x
"$with_cross_host" != x
"no"; then
15364 gxx_include_dir
='${prefix}/${target_alias}/'"$gxx_include_dir"
15366 gxx_include_dir
='${prefix}/'"$gxx_include_dir"
15369 *) gxx_include_dir
=${with_gxx_include_dir} ;;
15375 # We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
15376 # On that system, sys/ioctl.h will not include sys/filio.h unless
15377 # BSD_COMP is defined; just including sys/filio.h is simpler.
15378 # We avoid AC_HEADER_DIRENT since we really only care about dirent.h
15379 # for now. If you change this, you also must update natFile.cc.
15403 for ac_header
in unistd.h bstring.h sys
/time.h sys
/types.h fcntl.h \
15404 sys
/ioctl.h sys
/filio.h sys
/stat.h sys
/select.h \
15405 sys
/socket.h netinet
/in.h arpa
/inet.h netdb.h net
/if.h \
15406 pwd.h sys
/config.h stdint.h langinfo.h locale.h \
15407 dirent.h sys
/rw_lock.h magic.h ifaddrs.h
15409 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15411 echo "$as_me:$LINENO: checking for $ac_header" >&5
15412 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15413 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15414 echo $ECHO_N "(cached) $ECHO_C" >&6
15416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15417 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15419 # Is the header compilable?
15420 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15421 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15422 cat >conftest.
$ac_ext <<_ACEOF
15425 cat confdefs.h
>>conftest.
$ac_ext
15426 cat >>conftest.
$ac_ext <<_ACEOF
15427 /* end confdefs.h. */
15428 $ac_includes_default
15429 #include <$ac_header>
15431 rm -f conftest.
$ac_objext
15432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15433 (eval $ac_compile) 2>conftest.er1
15435 grep -v '^ *+' conftest.er1
>conftest.err
15437 cat conftest.err
>&5
15438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15439 (exit $ac_status); } &&
15440 { ac_try
='test -z "$ac_c_werror_flag"
15441 || test ! -s conftest.err'
15442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15443 (eval $ac_try) 2>&5
15445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15446 (exit $ac_status); }; } &&
15447 { ac_try
='test -s conftest.$ac_objext'
15448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15449 (eval $ac_try) 2>&5
15451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15452 (exit $ac_status); }; }; then
15453 ac_header_compiler
=yes
15455 echo "$as_me: failed program was:" >&5
15456 sed 's/^/| /' conftest.
$ac_ext >&5
15458 ac_header_compiler
=no
15460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15461 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15462 echo "${ECHO_T}$ac_header_compiler" >&6
15464 # Is the header present?
15465 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15466 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15467 cat >conftest.
$ac_ext <<_ACEOF
15470 cat confdefs.h
>>conftest.
$ac_ext
15471 cat >>conftest.
$ac_ext <<_ACEOF
15472 /* end confdefs.h. */
15473 #include <$ac_header>
15475 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15476 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15478 grep -v '^ *+' conftest.er1
>conftest.err
15480 cat conftest.err
>&5
15481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15482 (exit $ac_status); } >/dev
/null
; then
15483 if test -s conftest.err
; then
15484 ac_cpp_err
=$ac_c_preproc_warn_flag
15485 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15492 if test -z "$ac_cpp_err"; then
15493 ac_header_preproc
=yes
15495 echo "$as_me: failed program was:" >&5
15496 sed 's/^/| /' conftest.
$ac_ext >&5
15498 ac_header_preproc
=no
15500 rm -f conftest.err conftest.
$ac_ext
15501 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15502 echo "${ECHO_T}$ac_header_preproc" >&6
15504 # So? What about this header?
15505 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15507 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15508 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15509 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15510 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15511 ac_header_preproc
=yes
15514 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15515 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15516 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15517 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15518 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15519 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15520 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15521 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15522 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15523 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15524 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15525 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15528 ## ---------------------------------- ##
15529 ## Report this to the libjava lists. ##
15530 ## ---------------------------------- ##
15533 sed "s/^/$as_me: WARNING: /" >&2
15536 echo "$as_me:$LINENO: checking for $ac_header" >&5
15537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15538 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15539 echo $ECHO_N "(cached) $ECHO_C" >&6
15541 eval "$as_ac_Header=\$ac_header_preproc"
15543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15544 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15547 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15548 cat >>confdefs.h
<<_ACEOF
15549 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15557 for ac_header
in inttypes.h
15559 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15561 echo "$as_me:$LINENO: checking for $ac_header" >&5
15562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15563 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15564 echo $ECHO_N "(cached) $ECHO_C" >&6
15566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15567 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15569 # Is the header compilable?
15570 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15571 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15572 cat >conftest.
$ac_ext <<_ACEOF
15575 cat confdefs.h
>>conftest.
$ac_ext
15576 cat >>conftest.
$ac_ext <<_ACEOF
15577 /* end confdefs.h. */
15578 $ac_includes_default
15579 #include <$ac_header>
15581 rm -f conftest.
$ac_objext
15582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15583 (eval $ac_compile) 2>conftest.er1
15585 grep -v '^ *+' conftest.er1
>conftest.err
15587 cat conftest.err
>&5
15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 (exit $ac_status); } &&
15590 { ac_try
='test -z "$ac_c_werror_flag"
15591 || test ! -s conftest.err'
15592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15593 (eval $ac_try) 2>&5
15595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15596 (exit $ac_status); }; } &&
15597 { ac_try
='test -s conftest.$ac_objext'
15598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15599 (eval $ac_try) 2>&5
15601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602 (exit $ac_status); }; }; then
15603 ac_header_compiler
=yes
15605 echo "$as_me: failed program was:" >&5
15606 sed 's/^/| /' conftest.
$ac_ext >&5
15608 ac_header_compiler
=no
15610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15611 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15612 echo "${ECHO_T}$ac_header_compiler" >&6
15614 # Is the header present?
15615 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15616 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15617 cat >conftest.
$ac_ext <<_ACEOF
15620 cat confdefs.h
>>conftest.
$ac_ext
15621 cat >>conftest.
$ac_ext <<_ACEOF
15622 /* end confdefs.h. */
15623 #include <$ac_header>
15625 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15626 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15628 grep -v '^ *+' conftest.er1
>conftest.err
15630 cat conftest.err
>&5
15631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15632 (exit $ac_status); } >/dev
/null
; then
15633 if test -s conftest.err
; then
15634 ac_cpp_err
=$ac_c_preproc_warn_flag
15635 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15642 if test -z "$ac_cpp_err"; then
15643 ac_header_preproc
=yes
15645 echo "$as_me: failed program was:" >&5
15646 sed 's/^/| /' conftest.
$ac_ext >&5
15648 ac_header_preproc
=no
15650 rm -f conftest.err conftest.
$ac_ext
15651 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15652 echo "${ECHO_T}$ac_header_preproc" >&6
15654 # So? What about this header?
15655 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15657 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15658 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15659 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15660 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15661 ac_header_preproc
=yes
15664 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15665 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15666 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15667 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15668 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15669 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15670 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15671 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15672 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15673 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15674 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15675 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15678 ## ---------------------------------- ##
15679 ## Report this to the libjava lists. ##
15680 ## ---------------------------------- ##
15683 sed "s/^/$as_me: WARNING: /" >&2
15686 echo "$as_me:$LINENO: checking for $ac_header" >&5
15687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15689 echo $ECHO_N "(cached) $ECHO_C" >&6
15691 eval "$as_ac_Header=\$ac_header_preproc"
15693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15694 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15697 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15698 cat >>confdefs.h
<<_ACEOF
15699 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15703 cat >>confdefs.h
<<\_ACEOF
15704 #define HAVE_INTTYPES_H 1
15708 cat >>confdefs.h
<<\_ACEOF
15709 #define JV_HAVE_INTTYPES_H 1
15717 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
15718 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
15719 if test "${ac_cv_header_sys_wait_h+set}" = set; then
15720 echo $ECHO_N "(cached) $ECHO_C" >&6
15722 cat >conftest.
$ac_ext <<_ACEOF
15725 cat confdefs.h
>>conftest.
$ac_ext
15726 cat >>conftest.
$ac_ext <<_ACEOF
15727 /* end confdefs.h. */
15728 #include <sys/types.h>
15729 #include <sys/wait.h>
15730 #ifndef WEXITSTATUS
15731 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
15734 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
15742 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
15747 rm -f conftest.
$ac_objext
15748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15749 (eval $ac_compile) 2>conftest.er1
15751 grep -v '^ *+' conftest.er1
>conftest.err
15753 cat conftest.err
>&5
15754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15755 (exit $ac_status); } &&
15756 { ac_try
='test -z "$ac_c_werror_flag"
15757 || test ! -s conftest.err'
15758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15759 (eval $ac_try) 2>&5
15761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15762 (exit $ac_status); }; } &&
15763 { ac_try
='test -s conftest.$ac_objext'
15764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15765 (eval $ac_try) 2>&5
15767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15768 (exit $ac_status); }; }; then
15769 ac_cv_header_sys_wait_h
=yes
15771 echo "$as_me: failed program was:" >&5
15772 sed 's/^/| /' conftest.
$ac_ext >&5
15774 ac_cv_header_sys_wait_h
=no
15776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15778 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
15779 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
15780 if test $ac_cv_header_sys_wait_h = yes; then
15782 cat >>confdefs.h
<<\_ACEOF
15783 #define HAVE_SYS_WAIT_H 1
15789 echo "$as_me:$LINENO: checking for ssize_t" >&5
15790 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
15791 if test "${ac_cv_type_ssize_t+set}" = set; then
15792 echo $ECHO_N "(cached) $ECHO_C" >&6
15794 cat >conftest.
$ac_ext <<_ACEOF
15797 cat confdefs.h
>>conftest.
$ac_ext
15798 cat >>conftest.
$ac_ext <<_ACEOF
15799 /* end confdefs.h. */
15800 $ac_includes_default
15806 if (sizeof (ssize_t))
15812 rm -f conftest.
$ac_objext
15813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15814 (eval $ac_compile) 2>conftest.er1
15816 grep -v '^ *+' conftest.er1
>conftest.err
15818 cat conftest.err
>&5
15819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820 (exit $ac_status); } &&
15821 { ac_try
='test -z "$ac_c_werror_flag"
15822 || test ! -s conftest.err'
15823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15824 (eval $ac_try) 2>&5
15826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15827 (exit $ac_status); }; } &&
15828 { ac_try
='test -s conftest.$ac_objext'
15829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15830 (eval $ac_try) 2>&5
15832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15833 (exit $ac_status); }; }; then
15834 ac_cv_type_ssize_t
=yes
15836 echo "$as_me: failed program was:" >&5
15837 sed 's/^/| /' conftest.
$ac_ext >&5
15839 ac_cv_type_ssize_t
=no
15841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15843 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
15844 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
15845 if test $ac_cv_type_ssize_t = yes; then
15849 cat >>confdefs.h
<<_ACEOF
15850 #define ssize_t int
15856 echo "$as_me:$LINENO: checking for in_addr_t" >&5
15857 echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6
15858 cat >conftest.
$ac_ext <<_ACEOF
15861 cat confdefs.h
>>conftest.
$ac_ext
15862 cat >>conftest.
$ac_ext <<_ACEOF
15863 /* end confdefs.h. */
15864 #include <sys/types.h>
15866 #include <stdlib.h>
15867 #include <stddef.h>
15869 #if HAVE_NETINET_IN_H
15870 #include <netinet/in.h>
15880 rm -f conftest.
$ac_objext
15881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15882 (eval $ac_compile) 2>conftest.er1
15884 grep -v '^ *+' conftest.er1
>conftest.err
15886 cat conftest.err
>&5
15887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888 (exit $ac_status); } &&
15889 { ac_try
='test -z "$ac_c_werror_flag"
15890 || test ! -s conftest.err'
15891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15892 (eval $ac_try) 2>&5
15894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15895 (exit $ac_status); }; } &&
15896 { ac_try
='test -s conftest.$ac_objext'
15897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15898 (eval $ac_try) 2>&5
15900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15901 (exit $ac_status); }; }; then
15903 cat >>confdefs.h
<<\_ACEOF
15904 #define HAVE_IN_ADDR_T 1
15907 echo "$as_me:$LINENO: result: yes" >&5
15908 echo "${ECHO_T}yes" >&6
15910 echo "$as_me: failed program was:" >&5
15911 sed 's/^/| /' conftest.
$ac_ext >&5
15913 echo "$as_me:$LINENO: result: no" >&5
15914 echo "${ECHO_T}no" >&6
15916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15918 echo "$as_me:$LINENO: checking whether struct ip_mreq is in netinet/in.h" >&5
15919 echo $ECHO_N "checking whether struct ip_mreq is in netinet/in.h... $ECHO_C" >&6
15920 cat >conftest.
$ac_ext <<_ACEOF
15923 cat confdefs.h
>>conftest.
$ac_ext
15924 cat >>conftest.
$ac_ext <<_ACEOF
15925 /* end confdefs.h. */
15926 #include <netinet/in.h>
15930 struct ip_mreq mreq;
15935 rm -f conftest.
$ac_objext
15936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15937 (eval $ac_compile) 2>conftest.er1
15939 grep -v '^ *+' conftest.er1
>conftest.err
15941 cat conftest.err
>&5
15942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15943 (exit $ac_status); } &&
15944 { ac_try
='test -z "$ac_c_werror_flag"
15945 || test ! -s conftest.err'
15946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15947 (eval $ac_try) 2>&5
15949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15950 (exit $ac_status); }; } &&
15951 { ac_try
='test -s conftest.$ac_objext'
15952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15953 (eval $ac_try) 2>&5
15955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15956 (exit $ac_status); }; }; then
15958 cat >>confdefs.h
<<\_ACEOF
15959 #define HAVE_STRUCT_IP_MREQ 1
15962 echo "$as_me:$LINENO: result: yes" >&5
15963 echo "${ECHO_T}yes" >&6
15965 echo "$as_me: failed program was:" >&5
15966 sed 's/^/| /' conftest.
$ac_ext >&5
15968 echo "$as_me:$LINENO: result: no" >&5
15969 echo "${ECHO_T}no" >&6
15971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15973 echo "$as_me:$LINENO: checking whether struct ipv6_mreq is in netinet/in.h" >&5
15974 echo $ECHO_N "checking whether struct ipv6_mreq is in netinet/in.h... $ECHO_C" >&6
15975 cat >conftest.
$ac_ext <<_ACEOF
15978 cat confdefs.h
>>conftest.
$ac_ext
15979 cat >>conftest.
$ac_ext <<_ACEOF
15980 /* end confdefs.h. */
15981 #include <netinet/in.h>
15985 struct ipv6_mreq mreq6;
15990 rm -f conftest.
$ac_objext
15991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15992 (eval $ac_compile) 2>conftest.er1
15994 grep -v '^ *+' conftest.er1
>conftest.err
15996 cat conftest.err
>&5
15997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998 (exit $ac_status); } &&
15999 { ac_try
='test -z "$ac_c_werror_flag"
16000 || test ! -s conftest.err'
16001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16002 (eval $ac_try) 2>&5
16004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16005 (exit $ac_status); }; } &&
16006 { ac_try
='test -s conftest.$ac_objext'
16007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16008 (eval $ac_try) 2>&5
16010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16011 (exit $ac_status); }; }; then
16013 cat >>confdefs.h
<<\_ACEOF
16014 #define HAVE_STRUCT_IPV6_MREQ 1
16017 echo "$as_me:$LINENO: result: yes" >&5
16018 echo "${ECHO_T}yes" >&6
16020 echo "$as_me: failed program was:" >&5
16021 sed 's/^/| /' conftest.
$ac_ext >&5
16023 echo "$as_me:$LINENO: result: no" >&5
16024 echo "${ECHO_T}no" >&6
16026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16028 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
16029 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
16030 cat >conftest.
$ac_ext <<_ACEOF
16033 cat confdefs.h
>>conftest.
$ac_ext
16034 cat >>conftest.
$ac_ext <<_ACEOF
16035 /* end confdefs.h. */
16036 #include <netinet/in.h>
16040 struct sockaddr_in6 addr6;
16045 rm -f conftest.
$ac_objext
16046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16047 (eval $ac_compile) 2>conftest.er1
16049 grep -v '^ *+' conftest.er1
>conftest.err
16051 cat conftest.err
>&5
16052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16053 (exit $ac_status); } &&
16054 { ac_try
='test -z "$ac_c_werror_flag"
16055 || test ! -s conftest.err'
16056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16057 (eval $ac_try) 2>&5
16059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16060 (exit $ac_status); }; } &&
16061 { ac_try
='test -s conftest.$ac_objext'
16062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16063 (eval $ac_try) 2>&5
16065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16066 (exit $ac_status); }; }; then
16068 cat >>confdefs.h
<<\_ACEOF
16069 #define HAVE_INET6 1
16072 echo "$as_me:$LINENO: result: yes" >&5
16073 echo "${ECHO_T}yes" >&6
16075 echo "$as_me: failed program was:" >&5
16076 sed 's/^/| /' conftest.
$ac_ext >&5
16078 echo "$as_me:$LINENO: result: no" >&5
16079 echo "${ECHO_T}no" >&6
16081 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16083 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
16084 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
16085 cat >conftest.
$ac_ext <<_ACEOF
16088 cat confdefs.h
>>conftest.
$ac_ext
16089 cat >>conftest.
$ac_ext <<_ACEOF
16090 /* end confdefs.h. */
16091 #define _POSIX_PII_SOCKET
16092 #include <sys/types.h>
16093 #include <sys/socket.h>
16102 rm -f conftest.
$ac_objext
16103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16104 (eval $ac_compile) 2>conftest.er1
16106 grep -v '^ *+' conftest.er1
>conftest.err
16108 cat conftest.err
>&5
16109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16110 (exit $ac_status); } &&
16111 { ac_try
='test -z "$ac_c_werror_flag"
16112 || test ! -s conftest.err'
16113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16114 (eval $ac_try) 2>&5
16116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16117 (exit $ac_status); }; } &&
16118 { ac_try
='test -s conftest.$ac_objext'
16119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16120 (eval $ac_try) 2>&5
16122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16123 (exit $ac_status); }; }; then
16125 cat >>confdefs.h
<<\_ACEOF
16126 #define HAVE_SOCKLEN_T 1
16129 echo "$as_me:$LINENO: result: yes" >&5
16130 echo "${ECHO_T}yes" >&6
16132 echo "$as_me: failed program was:" >&5
16133 sed 's/^/| /' conftest.
$ac_ext >&5
16135 echo "$as_me:$LINENO: result: no" >&5
16136 echo "${ECHO_T}no" >&6
16138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16140 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
16141 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
16142 cat >conftest.
$ac_ext <<_ACEOF
16145 cat confdefs.h
>>conftest.
$ac_ext
16146 cat >>conftest.
$ac_ext <<_ACEOF
16147 /* end confdefs.h. */
16152 struct tm tim; tim.tm_gmtoff = 0;
16157 rm -f conftest.
$ac_objext
16158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16159 (eval $ac_compile) 2>conftest.er1
16161 grep -v '^ *+' conftest.er1
>conftest.err
16163 cat conftest.err
>&5
16164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16165 (exit $ac_status); } &&
16166 { ac_try
='test -z "$ac_c_werror_flag"
16167 || test ! -s conftest.err'
16168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16169 (eval $ac_try) 2>&5
16171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16172 (exit $ac_status); }; } &&
16173 { ac_try
='test -s conftest.$ac_objext'
16174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16175 (eval $ac_try) 2>&5
16177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16178 (exit $ac_status); }; }; then
16180 cat >>confdefs.h
<<\_ACEOF
16181 #define STRUCT_TM_HAS_GMTOFF 1
16184 echo "$as_me:$LINENO: result: yes" >&5
16185 echo "${ECHO_T}yes" >&6
16187 echo "$as_me: failed program was:" >&5
16188 sed 's/^/| /' conftest.
$ac_ext >&5
16190 echo "$as_me:$LINENO: result: no" >&5
16191 echo "${ECHO_T}no" >&6
16192 echo "$as_me:$LINENO: checking for global timezone variable" >&5
16193 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
16194 cat >conftest.
$ac_ext <<_ACEOF
16197 cat confdefs.h
>>conftest.
$ac_ext
16198 cat >>conftest.
$ac_ext <<_ACEOF
16199 /* end confdefs.h. */
16204 void i(){long z2 = 2*timezone;}
16209 rm -f conftest.
$ac_objext
16210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16211 (eval $ac_compile) 2>conftest.er1
16213 grep -v '^ *+' conftest.er1
>conftest.err
16215 cat conftest.err
>&5
16216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16217 (exit $ac_status); } &&
16218 { ac_try
='test -z "$ac_c_werror_flag"
16219 || test ! -s conftest.err'
16220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16221 (eval $ac_try) 2>&5
16223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16224 (exit $ac_status); }; } &&
16225 { ac_try
='test -s conftest.$ac_objext'
16226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16227 (eval $ac_try) 2>&5
16229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230 (exit $ac_status); }; }; then
16232 cat >>confdefs.h
<<\_ACEOF
16233 #define HAVE_TIMEZONE 1
16236 echo "$as_me:$LINENO: result: yes" >&5
16237 echo "${ECHO_T}yes" >&6
16239 echo "$as_me: failed program was:" >&5
16240 sed 's/^/| /' conftest.
$ac_ext >&5
16242 echo "$as_me:$LINENO: result: no" >&5
16243 echo "${ECHO_T}no" >&6
16244 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
16245 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
16246 cat >conftest.
$ac_ext <<_ACEOF
16249 cat confdefs.h
>>conftest.
$ac_ext
16250 cat >>conftest.
$ac_ext <<_ACEOF
16251 /* end confdefs.h. */
16256 long z2 = _timezone;
16261 rm -f conftest.
$ac_objext
16262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16263 (eval $ac_compile) 2>conftest.er1
16265 grep -v '^ *+' conftest.er1
>conftest.err
16267 cat conftest.err
>&5
16268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16269 (exit $ac_status); } &&
16270 { ac_try
='test -z "$ac_c_werror_flag"
16271 || test ! -s conftest.err'
16272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16273 (eval $ac_try) 2>&5
16275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16276 (exit $ac_status); }; } &&
16277 { ac_try
='test -s conftest.$ac_objext'
16278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16279 (eval $ac_try) 2>&5
16281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16282 (exit $ac_status); }; }; then
16284 cat >>confdefs.h
<<\_ACEOF
16285 #define HAVE_UNDERSCORE_TIMEZONE 1
16288 echo "$as_me:$LINENO: result: yes" >&5
16289 echo "${ECHO_T}yes" >&6
16291 echo "$as_me: failed program was:" >&5
16292 sed 's/^/| /' conftest.
$ac_ext >&5
16294 echo "$as_me:$LINENO: result: no" >&5
16295 echo "${ECHO_T}no" >&6
16297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16299 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16303 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
16304 # for constant arguments. Useless!
16305 echo "$as_me:$LINENO: checking for working alloca.h" >&5
16306 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
16307 if test "${ac_cv_working_alloca_h+set}" = set; then
16308 echo $ECHO_N "(cached) $ECHO_C" >&6
16310 if test x
$gcc_no_link = xyes
; then
16311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16313 { (exit 1); exit 1; }; }
16315 cat >conftest.
$ac_ext <<_ACEOF
16318 cat confdefs.h
>>conftest.
$ac_ext
16319 cat >>conftest.
$ac_ext <<_ACEOF
16320 /* end confdefs.h. */
16321 #include <alloca.h>
16325 char *p = (char *) alloca (2 * sizeof (int));
16330 rm -f conftest.
$ac_objext conftest
$ac_exeext
16331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16332 (eval $ac_link) 2>conftest.er1
16334 grep -v '^ *+' conftest.er1
>conftest.err
16336 cat conftest.err
>&5
16337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16338 (exit $ac_status); } &&
16339 { ac_try
='test -z "$ac_c_werror_flag"
16340 || test ! -s conftest.err'
16341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16342 (eval $ac_try) 2>&5
16344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16345 (exit $ac_status); }; } &&
16346 { ac_try
='test -s conftest$ac_exeext'
16347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16348 (eval $ac_try) 2>&5
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); }; }; then
16352 ac_cv_working_alloca_h
=yes
16354 echo "$as_me: failed program was:" >&5
16355 sed 's/^/| /' conftest.
$ac_ext >&5
16357 ac_cv_working_alloca_h
=no
16359 rm -f conftest.err conftest.
$ac_objext \
16360 conftest
$ac_exeext conftest.
$ac_ext
16362 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
16363 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
16364 if test $ac_cv_working_alloca_h = yes; then
16366 cat >>confdefs.h
<<\_ACEOF
16367 #define HAVE_ALLOCA_H 1
16372 echo "$as_me:$LINENO: checking for alloca" >&5
16373 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
16374 if test "${ac_cv_func_alloca_works+set}" = set; then
16375 echo $ECHO_N "(cached) $ECHO_C" >&6
16377 if test x
$gcc_no_link = xyes
; then
16378 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16380 { (exit 1); exit 1; }; }
16382 cat >conftest.
$ac_ext <<_ACEOF
16385 cat confdefs.h
>>conftest.
$ac_ext
16386 cat >>conftest.
$ac_ext <<_ACEOF
16387 /* end confdefs.h. */
16389 # define alloca __builtin_alloca
16392 # include <malloc.h>
16393 # define alloca _alloca
16396 # include <alloca.h>
16401 # ifndef alloca /* predefined by HP cc +Olibcalls */
16412 char *p = (char *) alloca (1);
16417 rm -f conftest.
$ac_objext conftest
$ac_exeext
16418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16419 (eval $ac_link) 2>conftest.er1
16421 grep -v '^ *+' conftest.er1
>conftest.err
16423 cat conftest.err
>&5
16424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16425 (exit $ac_status); } &&
16426 { ac_try
='test -z "$ac_c_werror_flag"
16427 || test ! -s conftest.err'
16428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16429 (eval $ac_try) 2>&5
16431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16432 (exit $ac_status); }; } &&
16433 { ac_try
='test -s conftest$ac_exeext'
16434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16435 (eval $ac_try) 2>&5
16437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16438 (exit $ac_status); }; }; then
16439 ac_cv_func_alloca_works
=yes
16441 echo "$as_me: failed program was:" >&5
16442 sed 's/^/| /' conftest.
$ac_ext >&5
16444 ac_cv_func_alloca_works
=no
16446 rm -f conftest.err conftest.
$ac_objext \
16447 conftest
$ac_exeext conftest.
$ac_ext
16449 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
16450 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
16452 if test $ac_cv_func_alloca_works = yes; then
16454 cat >>confdefs.h
<<\_ACEOF
16455 #define HAVE_ALLOCA 1
16459 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
16460 # that cause trouble. Some versions do not even contain alloca or
16461 # contain a buggy version. If you still want to use their alloca,
16462 # use ar to extract alloca.o from them instead of compiling alloca.c.
16464 ALLOCA
=alloca.
$ac_objext
16466 cat >>confdefs.h
<<\_ACEOF
16471 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
16472 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
16473 if test "${ac_cv_os_cray+set}" = set; then
16474 echo $ECHO_N "(cached) $ECHO_C" >&6
16476 cat >conftest.
$ac_ext <<_ACEOF
16479 cat confdefs.h
>>conftest.
$ac_ext
16480 cat >>conftest.
$ac_ext <<_ACEOF
16481 /* end confdefs.h. */
16482 #if defined(CRAY) && ! defined(CRAY2)
16489 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16490 $EGREP "webecray" >/dev
/null
2>&1; then
16498 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
16499 echo "${ECHO_T}$ac_cv_os_cray" >&6
16500 if test $ac_cv_os_cray = yes; then
16501 for ac_func
in _getb67 GETB67 getb67
; do
16502 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16503 echo "$as_me:$LINENO: checking for $ac_func" >&5
16504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16505 if eval "test \"\${$as_ac_var+set}\" = set"; then
16506 echo $ECHO_N "(cached) $ECHO_C" >&6
16508 if test x
$gcc_no_link = xyes
; then
16509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16511 { (exit 1); exit 1; }; }
16513 cat >conftest.
$ac_ext <<_ACEOF
16516 cat confdefs.h
>>conftest.
$ac_ext
16517 cat >>conftest.
$ac_ext <<_ACEOF
16518 /* end confdefs.h. */
16519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16521 #define $ac_func innocuous_$ac_func
16523 /* System header to define __stub macros and hopefully few prototypes,
16524 which can conflict with char $ac_func (); below.
16525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16526 <limits.h> exists even on freestanding compilers. */
16529 # include <limits.h>
16531 # include <assert.h>
16536 /* Override any gcc2 internal prototype to avoid an error. */
16541 /* We use char because int might match the return type of a gcc2
16542 builtin and then its argument prototype would still apply. */
16544 /* The GNU C library defines this for functions which it implements
16545 to always fail with ENOSYS. Some functions are actually named
16546 something starting with __ and the normal name is an alias. */
16547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16550 char (*f) () = $ac_func;
16559 return f != $ac_func;
16564 rm -f conftest.
$ac_objext conftest
$ac_exeext
16565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16566 (eval $ac_link) 2>conftest.er1
16568 grep -v '^ *+' conftest.er1
>conftest.err
16570 cat conftest.err
>&5
16571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16572 (exit $ac_status); } &&
16573 { ac_try
='test -z "$ac_c_werror_flag"
16574 || test ! -s conftest.err'
16575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16576 (eval $ac_try) 2>&5
16578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16579 (exit $ac_status); }; } &&
16580 { ac_try
='test -s conftest$ac_exeext'
16581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16582 (eval $ac_try) 2>&5
16584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16585 (exit $ac_status); }; }; then
16586 eval "$as_ac_var=yes"
16588 echo "$as_me: failed program was:" >&5
16589 sed 's/^/| /' conftest.
$ac_ext >&5
16591 eval "$as_ac_var=no"
16593 rm -f conftest.err conftest.
$ac_objext \
16594 conftest
$ac_exeext conftest.
$ac_ext
16596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16598 if test `eval echo '${'$as_ac_var'}'` = yes; then
16600 cat >>confdefs.h
<<_ACEOF
16601 #define CRAY_STACKSEG_END $ac_func
16610 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
16611 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
16612 if test "${ac_cv_c_stack_direction+set}" = set; then
16613 echo $ECHO_N "(cached) $ECHO_C" >&6
16615 if test "$cross_compiling" = yes; then
16616 ac_cv_c_stack_direction
=0
16618 cat >conftest.
$ac_ext <<_ACEOF
16621 cat confdefs.h
>>conftest.
$ac_ext
16622 cat >>conftest.
$ac_ext <<_ACEOF
16623 /* end confdefs.h. */
16625 find_stack_direction ()
16627 static char *addr = 0;
16632 return find_stack_direction ();
16635 return (&dummy > addr) ? 1 : -1;
16641 exit (find_stack_direction () < 0);
16644 rm -f conftest
$ac_exeext
16645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16646 (eval $ac_link) 2>&5
16648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16649 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16651 (eval $ac_try) 2>&5
16653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16654 (exit $ac_status); }; }; then
16655 ac_cv_c_stack_direction
=1
16657 echo "$as_me: program exited with status $ac_status" >&5
16658 echo "$as_me: failed program was:" >&5
16659 sed 's/^/| /' conftest.
$ac_ext >&5
16661 ( exit $ac_status )
16662 ac_cv_c_stack_direction
=-1
16664 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16667 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
16668 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
16670 cat >>confdefs.h
<<_ACEOF
16671 #define STACK_DIRECTION $ac_cv_c_stack_direction
16678 for ac_prog
in perl
16680 # Extract the first word of "$ac_prog", so it can be a program name with args.
16681 set dummy
$ac_prog; ac_word
=$2
16682 echo "$as_me:$LINENO: checking for $ac_word" >&5
16683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16684 if test "${ac_cv_prog_PERL+set}" = set; then
16685 echo $ECHO_N "(cached) $ECHO_C" >&6
16687 if test -n "$PERL"; then
16688 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
16690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16691 for as_dir
in $PATH
16694 test -z "$as_dir" && as_dir
=.
16695 for ac_exec_ext
in '' $ac_executable_extensions; do
16696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16697 ac_cv_prog_PERL
="$ac_prog"
16698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16706 PERL
=$ac_cv_prog_PERL
16707 if test -n "$PERL"; then
16708 echo "$as_me:$LINENO: result: $PERL" >&5
16709 echo "${ECHO_T}$PERL" >&6
16711 echo "$as_me:$LINENO: result: no" >&5
16712 echo "${ECHO_T}no" >&6
16715 test -n "$PERL" && break
16717 test -n "$PERL" || PERL
="false"
16721 SIGNAL_HANDLER_AUX
=
16725 SIGNAL_HANDLER
=include
/i386-signal.h
16727 sparc
*-sun-solaris*)
16728 SIGNAL_HANDLER
=include
/sparc-signal.h
16731 # SYSDEP_SOURCES=sysdep/ia64.c
16732 # test -d sysdep || mkdir sysdep
16735 SIGNAL_HANDLER
=include
/pa-signal.h
16738 SIGNAL_HANDLER
=include
/hppa-signal.h
16741 SIGNAL_HANDLER
=include
/dwarf2-signal.h
16744 SIGNAL_HANDLER
=include
/powerpc-signal.h
16747 SIGNAL_HANDLER
=include
/dwarf2-signal.h
16750 SIGNAL_HANDLER
=include
/s390-signal.h
16753 SIGNAL_HANDLER
=include
/x86_64-signal.h
16754 SIGNAL_HANDLER_AUX
=include
/i386-signal.h
16757 SIGNAL_HANDLER
=include
/dwarf2-signal.h
16760 SIGNAL_HANDLER
=include
/sh-signal.h
16763 SIGNAL_HANDLER
=include
/win32-signal.h
16766 SIGNAL_HANDLER
=include
/mips-signal.h
16768 powerpc
*-*-darwin*)
16769 SIGNAL_HANDLER
=include
/darwin-signal.h
16772 SIGNAL_HANDLER
=include
/default-signal.h
16776 # If we're using sjlj exceptions, forget what we just learned.
16777 if test "$enable_sjlj_exceptions" = yes; then
16778 SIGNAL_HANDLER
=include
/default-signal.h
16779 SIGNAL_HANDLER_AUX
=
16784 if test -z "$SIGNAL_HANDLER_AUX"; then
16785 SIGNAL_HANDLER_AUX
=$SIGNAL_HANDLER
16788 ac_config_links
="$ac_config_links include/java-signal.h:$SIGNAL_HANDLER include/java-signal-aux.h:$SIGNAL_HANDLER_AUX"
16791 if test "${multilib}" = "yes"; then
16792 multilib_arg
="--enable-multilib"
16797 # See if we support thread-local storage.
16799 # Check whether --enable-tls or --disable-tls was given.
16800 if test "${enable_tls+set}" = set; then
16801 enableval
="$enable_tls"
16803 case "$enableval" in
16805 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
16806 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
16807 { (exit 1); exit 1; }; } ;;
16814 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
16815 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
16816 if test "${have_tls+set}" = set; then
16817 echo $ECHO_N "(cached) $ECHO_C" >&6
16820 if test "$cross_compiling" = yes; then
16821 if test x
$gcc_no_link = xyes
; then
16822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16824 { (exit 1); exit 1; }; }
16826 cat >conftest.
$ac_ext <<_ACEOF
16827 __thread int a; int b; int main() { return a = b; }
16829 rm -f conftest.
$ac_objext conftest
$ac_exeext
16830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16831 (eval $ac_link) 2>conftest.er1
16833 grep -v '^ *+' conftest.er1
>conftest.err
16835 cat conftest.err
>&5
16836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16837 (exit $ac_status); } &&
16838 { ac_try
='test -z "$ac_c_werror_flag"
16839 || test ! -s conftest.err'
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); }; } &&
16845 { ac_try
='test -s conftest$ac_exeext'
16846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16847 (eval $ac_try) 2>&5
16849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850 (exit $ac_status); }; }; then
16853 echo "$as_me: failed program was:" >&5
16854 sed 's/^/| /' conftest.
$ac_ext >&5
16858 rm -f conftest.err conftest.
$ac_objext \
16859 conftest
$ac_exeext conftest.
$ac_ext
16862 cat >conftest.
$ac_ext <<_ACEOF
16863 __thread int a; int b; int main() { return a = b; }
16865 rm -f conftest
$ac_exeext
16866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16867 (eval $ac_link) 2>&5
16869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16870 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16872 (eval $ac_try) 2>&5
16874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16875 (exit $ac_status); }; }; then
16876 save_LDFLAGS
="$LDFLAGS"
16877 LDFLAGS
="-static $LDFLAGS"
16878 if test x
$gcc_no_link = xyes
; then
16879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16881 { (exit 1); exit 1; }; }
16883 cat >conftest.
$ac_ext <<_ACEOF
16884 int main() { return 0; }
16886 rm -f conftest.
$ac_objext conftest
$ac_exeext
16887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16888 (eval $ac_link) 2>conftest.er1
16890 grep -v '^ *+' conftest.er1
>conftest.err
16892 cat conftest.err
>&5
16893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16894 (exit $ac_status); } &&
16895 { ac_try
='test -z "$ac_c_werror_flag"
16896 || test ! -s conftest.err'
16897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16898 (eval $ac_try) 2>&5
16900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16901 (exit $ac_status); }; } &&
16902 { ac_try
='test -s conftest$ac_exeext'
16903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16904 (eval $ac_try) 2>&5
16906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907 (exit $ac_status); }; }; then
16908 if test "$cross_compiling" = yes; then
16909 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16910 See \`config.log' for more details." >&5
16911 echo "$as_me: error: cannot run test program while cross compiling
16912 See \`config.log' for more details." >&2;}
16913 { (exit 1); exit 1; }; }
16915 cat >conftest.
$ac_ext <<_ACEOF
16916 __thread int a; int b; int main() { return a = b; }
16918 rm -f conftest
$ac_exeext
16919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16920 (eval $ac_link) 2>&5
16922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16923 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16925 (eval $ac_try) 2>&5
16927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16928 (exit $ac_status); }; }; then
16931 echo "$as_me: program exited with status $ac_status" >&5
16932 echo "$as_me: failed program was:" >&5
16933 sed 's/^/| /' conftest.
$ac_ext >&5
16935 ( exit $ac_status )
16938 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16941 echo "$as_me: failed program was:" >&5
16942 sed 's/^/| /' conftest.
$ac_ext >&5
16946 rm -f conftest.err conftest.
$ac_objext \
16947 conftest
$ac_exeext conftest.
$ac_ext
16948 LDFLAGS
="$save_LDFLAGS"
16950 echo "$as_me: program exited with status $ac_status" >&5
16951 echo "$as_me: failed program was:" >&5
16952 sed 's/^/| /' conftest.
$ac_ext >&5
16954 ( exit $ac_status )
16957 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16960 echo "$as_me:$LINENO: result: $have_tls" >&5
16961 echo "${ECHO_T}$have_tls" >&6
16962 if test "$enable_tls $have_tls" = "yes yes"; then
16964 cat >>confdefs.h
<<\_ACEOF
16970 # For _Unwind_GetIPInfo.
16975 ac_cpp
='$CXXCPP $CPPFLAGS'
16976 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16977 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16978 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16980 ac_save_CXXFLAGS
="$CXXFLAGS"
16981 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
16982 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
16983 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
16984 if test "${gcc_cv_getipinfo+set}" = set; then
16985 echo $ECHO_N "(cached) $ECHO_C" >&6
16988 if test x
$gcc_no_link = xyes
; then
16989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16991 { (exit 1); exit 1; }; }
16993 cat >conftest.
$ac_ext <<_ACEOF
16996 cat confdefs.h
>>conftest.
$ac_ext
16997 cat >>conftest.
$ac_ext <<_ACEOF
16998 /* end confdefs.h. */
16999 extern "C" { extern void _Unwind_GetIPInfo(); }
17003 _Unwind_GetIPInfo();
17008 rm -f conftest.
$ac_objext conftest
$ac_exeext
17009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17010 (eval $ac_link) 2>conftest.er1
17012 grep -v '^ *+' conftest.er1
>conftest.err
17014 cat conftest.err
>&5
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); } &&
17017 { ac_try
='test -z "$ac_cxx_werror_flag"
17018 || test ! -s conftest.err'
17019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17020 (eval $ac_try) 2>&5
17022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); }; } &&
17024 { ac_try
='test -s conftest$ac_exeext'
17025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17026 (eval $ac_try) 2>&5
17028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17029 (exit $ac_status); }; }; then
17030 gcc_cv_getipinfo
=yes
17032 echo "$as_me: failed program was:" >&5
17033 sed 's/^/| /' conftest.
$ac_ext >&5
17035 gcc_cv_getipinfo
=no
17037 rm -f conftest.err conftest.
$ac_objext \
17038 conftest
$ac_exeext conftest.
$ac_ext
17042 if test $gcc_cv_getipinfo = yes; then
17044 cat >>confdefs.h
<<\_ACEOF
17045 #define HAVE_GETIPINFO 1
17049 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
17050 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
17051 CXXFLAGS
="$ac_save_CXXFLAGS"
17053 ac_cpp
='$CPP $CPPFLAGS'
17054 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17055 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17056 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17060 # Check if linker supports static linking on a per library basis
17061 LD_START_STATIC_SPEC
=
17062 LD_FINISH_STATIC_SPEC
=
17063 if $LD --help 2>&1 |
grep -q -e -call_shared ; then
17064 if $LD --help 2>&1 |
grep -q -e -non_shared ; then
17065 LD_START_STATIC_SPEC
='%{static-libgcj:-non_shared}'
17066 LD_FINISH_STATIC_SPEC
='%{static-libgcj:-call_shared}'
17072 here
=`${PWDCMD-pwd}`
17075 # We get this from the environment.
17078 ac_config_files
="$ac_config_files Makefile libgcj.pc libgcj.spec libgcj-test.spec gcj/Makefile include/Makefile testsuite/Makefile"
17081 ac_config_files
="$ac_config_files scripts/jar"
17084 ac_config_commands
="$ac_config_commands default"
17087 cat >confcache
<<\_ACEOF
17088 # This file is a shell script that caches the results of configure
17089 # tests run on this system so they can be shared between configure
17090 # scripts and configure runs, see configure's option --config-cache.
17091 # It is not useful on other systems. If it contains results you don't
17092 # want to keep, you may remove or edit it.
17094 # config.status only pays attention to the cache file if you give it
17095 # the --recheck option to rerun configure.
17097 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17098 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17099 # following values.
17103 # The following way of writing the cache mishandles newlines in values,
17104 # but we know of no workaround that is simple, portable, and efficient.
17105 # So, don't put newlines in cache variables' values.
17106 # Ultrix sh set writes to stderr and can't be redirected directly,
17107 # and sets the high bit in the cache file unless we assign to the vars.
17110 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17112 # `set' does not quote correctly, so add quotes (double-quote
17113 # substitution turns \\\\ into \\, and sed turns \\ into \).
17116 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17119 # `set' quotes correctly as required by POSIX, so do not add quotes.
17121 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17128 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17130 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17132 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
17133 if test -w $cache_file; then
17134 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17135 cat confcache
>$cache_file
17137 echo "not updating unwritable cache $cache_file"
17142 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17143 # Let make expand exec_prefix.
17144 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17146 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17147 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
17148 # trailing colons and then remove the whole line if VPATH becomes empty
17149 # (actually we leave an empty line to preserve line numbers).
17150 if test "x$srcdir" = x.
; then
17151 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
17152 s/:*\$(srcdir):*/:/;
17153 s/:*\${srcdir}:*/:/;
17155 s/^\([^=]*=[ ]*\):*/\1/;
17161 DEFS
=-DHAVE_CONFIG_H
17165 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17166 # 1. Remove the extension, and $U if already installed.
17167 ac_i
=`echo "$ac_i" |
17168 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
17170 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
17171 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
17173 LIBOBJS
=$ac_libobjs
17175 LTLIBOBJS
=$ac_ltlibobjs
17178 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
17179 { { echo "$as_me:$LINENO: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
17180 Usually this means the macro was only invoked conditionally." >&5
17181 echo "$as_me: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
17182 Usually this means the macro was only invoked conditionally." >&2;}
17183 { (exit 1); exit 1; }; }
17185 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17186 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
17187 Usually this means the macro was only invoked conditionally." >&5
17188 echo "$as_me: error: conditional \"AMDEP\" was never defined.
17189 Usually this means the macro was only invoked conditionally." >&2;}
17190 { (exit 1); exit 1; }; }
17192 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17193 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17194 Usually this means the macro was only invoked conditionally." >&5
17195 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17196 Usually this means the macro was only invoked conditionally." >&2;}
17197 { (exit 1); exit 1; }; }
17199 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17200 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
17201 Usually this means the macro was only invoked conditionally." >&5
17202 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
17203 Usually this means the macro was only invoked conditionally." >&2;}
17204 { (exit 1); exit 1; }; }
17206 if test -z "${BASH_JAR_TRUE}" && test -z "${BASH_JAR_FALSE}"; then
17207 { { echo "$as_me:$LINENO: error: conditional \"BASH_JAR\" was never defined.
17208 Usually this means the macro was only invoked conditionally." >&5
17209 echo "$as_me: error: conditional \"BASH_JAR\" was never defined.
17210 Usually this means the macro was only invoked conditionally." >&2;}
17211 { (exit 1); exit 1; }; }
17213 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17214 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
17215 Usually this means the macro was only invoked conditionally." >&5
17216 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
17217 Usually this means the macro was only invoked conditionally." >&2;}
17218 { (exit 1); exit 1; }; }
17220 if test -z "${XLIB_AWT_TRUE}" && test -z "${XLIB_AWT_FALSE}"; then
17221 { { echo "$as_me:$LINENO: error: conditional \"XLIB_AWT\" was never defined.
17222 Usually this means the macro was only invoked conditionally." >&5
17223 echo "$as_me: error: conditional \"XLIB_AWT\" was never defined.
17224 Usually this means the macro was only invoked conditionally." >&2;}
17225 { (exit 1); exit 1; }; }
17227 if test -z "${X_AWT_TRUE}" && test -z "${X_AWT_FALSE}"; then
17228 { { echo "$as_me:$LINENO: error: conditional \"X_AWT\" was never defined.
17229 Usually this means the macro was only invoked conditionally." >&5
17230 echo "$as_me: error: conditional \"X_AWT\" was never defined.
17231 Usually this means the macro was only invoked conditionally." >&2;}
17232 { (exit 1); exit 1; }; }
17234 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
17235 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
17236 Usually this means the macro was only invoked conditionally." >&5
17237 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
17238 Usually this means the macro was only invoked conditionally." >&2;}
17239 { (exit 1); exit 1; }; }
17241 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
17242 { { echo "$as_me:$LINENO: error: conditional \"TESTSUBDIR\" was never defined.
17243 Usually this means the macro was only invoked conditionally." >&5
17244 echo "$as_me: error: conditional \"TESTSUBDIR\" was never defined.
17245 Usually this means the macro was only invoked conditionally." >&2;}
17246 { (exit 1); exit 1; }; }
17248 if test -z "${BUILD_ECJ1_TRUE}" && test -z "${BUILD_ECJ1_FALSE}"; then
17249 { { echo "$as_me:$LINENO: error: conditional \"BUILD_ECJ1\" was never defined.
17250 Usually this means the macro was only invoked conditionally." >&5
17251 echo "$as_me: error: conditional \"BUILD_ECJ1\" was never defined.
17252 Usually this means the macro was only invoked conditionally." >&2;}
17253 { (exit 1); exit 1; }; }
17255 if test -z "${INSTALL_ECJ_JAR_TRUE}" && test -z "${INSTALL_ECJ_JAR_FALSE}"; then
17256 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_ECJ_JAR\" was never defined.
17257 Usually this means the macro was only invoked conditionally." >&5
17258 echo "$as_me: error: conditional \"INSTALL_ECJ_JAR\" was never defined.
17259 Usually this means the macro was only invoked conditionally." >&2;}
17260 { (exit 1); exit 1; }; }
17262 if test -z "${JAVA_HOME_SET_TRUE}" && test -z "${JAVA_HOME_SET_FALSE}"; then
17263 { { echo "$as_me:$LINENO: error: conditional \"JAVA_HOME_SET\" was never defined.
17264 Usually this means the macro was only invoked conditionally." >&5
17265 echo "$as_me: error: conditional \"JAVA_HOME_SET\" was never defined.
17266 Usually this means the macro was only invoked conditionally." >&2;}
17267 { (exit 1); exit 1; }; }
17269 if test -z "${USING_WIN32_PLATFORM_TRUE}" && test -z "${USING_WIN32_PLATFORM_FALSE}"; then
17270 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
17271 Usually this means the macro was only invoked conditionally." >&5
17272 echo "$as_me: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
17273 Usually this means the macro was only invoked conditionally." >&2;}
17274 { (exit 1); exit 1; }; }
17276 if test -z "${USING_POSIX_PLATFORM_TRUE}" && test -z "${USING_POSIX_PLATFORM_FALSE}"; then
17277 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
17278 Usually this means the macro was only invoked conditionally." >&5
17279 echo "$as_me: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
17280 Usually this means the macro was only invoked conditionally." >&2;}
17281 { (exit 1); exit 1; }; }
17283 if test -z "${USING_DARWIN_CRT_TRUE}" && test -z "${USING_DARWIN_CRT_FALSE}"; then
17284 { { echo "$as_me:$LINENO: error: conditional \"USING_DARWIN_CRT\" was never defined.
17285 Usually this means the macro was only invoked conditionally." >&5
17286 echo "$as_me: error: conditional \"USING_DARWIN_CRT\" was never defined.
17287 Usually this means the macro was only invoked conditionally." >&2;}
17288 { (exit 1); exit 1; }; }
17290 if test -z "${USING_BOEHMGC_TRUE}" && test -z "${USING_BOEHMGC_FALSE}"; then
17291 { { echo "$as_me:$LINENO: error: conditional \"USING_BOEHMGC\" was never defined.
17292 Usually this means the macro was only invoked conditionally." >&5
17293 echo "$as_me: error: conditional \"USING_BOEHMGC\" was never defined.
17294 Usually this means the macro was only invoked conditionally." >&2;}
17295 { (exit 1); exit 1; }; }
17297 if test -z "${USING_NOGC_TRUE}" && test -z "${USING_NOGC_FALSE}"; then
17298 { { echo "$as_me:$LINENO: error: conditional \"USING_NOGC\" was never defined.
17299 Usually this means the macro was only invoked conditionally." >&5
17300 echo "$as_me: error: conditional \"USING_NOGC\" was never defined.
17301 Usually this means the macro was only invoked conditionally." >&2;}
17302 { (exit 1); exit 1; }; }
17304 if test -z "${USING_POSIX_THREADS_TRUE}" && test -z "${USING_POSIX_THREADS_FALSE}"; then
17305 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_THREADS\" was never defined.
17306 Usually this means the macro was only invoked conditionally." >&5
17307 echo "$as_me: error: conditional \"USING_POSIX_THREADS\" was never defined.
17308 Usually this means the macro was only invoked conditionally." >&2;}
17309 { (exit 1); exit 1; }; }
17311 if test -z "${USING_WIN32_THREADS_TRUE}" && test -z "${USING_WIN32_THREADS_FALSE}"; then
17312 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_THREADS\" was never defined.
17313 Usually this means the macro was only invoked conditionally." >&5
17314 echo "$as_me: error: conditional \"USING_WIN32_THREADS\" was never defined.
17315 Usually this means the macro was only invoked conditionally." >&2;}
17316 { (exit 1); exit 1; }; }
17318 if test -z "${USING_NO_THREADS_TRUE}" && test -z "${USING_NO_THREADS_FALSE}"; then
17319 { { echo "$as_me:$LINENO: error: conditional \"USING_NO_THREADS\" was never defined.
17320 Usually this means the macro was only invoked conditionally." >&5
17321 echo "$as_me: error: conditional \"USING_NO_THREADS\" was never defined.
17322 Usually this means the macro was only invoked conditionally." >&2;}
17323 { (exit 1); exit 1; }; }
17325 if test -z "${USE_LIBGCJ_BC_TRUE}" && test -z "${USE_LIBGCJ_BC_FALSE}"; then
17326 { { echo "$as_me:$LINENO: error: conditional \"USE_LIBGCJ_BC\" was never defined.
17327 Usually this means the macro was only invoked conditionally." >&5
17328 echo "$as_me: error: conditional \"USE_LIBGCJ_BC\" was never defined.
17329 Usually this means the macro was only invoked conditionally." >&2;}
17330 { (exit 1); exit 1; }; }
17332 if test -z "${USING_GCC_TRUE}" && test -z "${USING_GCC_FALSE}"; then
17333 { { echo "$as_me:$LINENO: error: conditional \"USING_GCC\" was never defined.
17334 Usually this means the macro was only invoked conditionally." >&5
17335 echo "$as_me: error: conditional \"USING_GCC\" was never defined.
17336 Usually this means the macro was only invoked conditionally." >&2;}
17337 { (exit 1); exit 1; }; }
17339 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
17340 { { echo "$as_me:$LINENO: error: conditional \"NATIVE\" was never defined.
17341 Usually this means the macro was only invoked conditionally." >&5
17342 echo "$as_me: error: conditional \"NATIVE\" was never defined.
17343 Usually this means the macro was only invoked conditionally." >&2;}
17344 { (exit 1); exit 1; }; }
17346 if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
17347 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SHARED\" was never defined.
17348 Usually this means the macro was only invoked conditionally." >&5
17349 echo "$as_me: error: conditional \"ENABLE_SHARED\" was never defined.
17350 Usually this means the macro was only invoked conditionally." >&2;}
17351 { (exit 1); exit 1; }; }
17353 if test -z "${NEEDS_DATA_START_TRUE}" && test -z "${NEEDS_DATA_START_FALSE}"; then
17354 { { echo "$as_me:$LINENO: error: conditional \"NEEDS_DATA_START\" was never defined.
17355 Usually this means the macro was only invoked conditionally." >&5
17356 echo "$as_me: error: conditional \"NEEDS_DATA_START\" was never defined.
17357 Usually this means the macro was only invoked conditionally." >&2;}
17358 { (exit 1); exit 1; }; }
17361 : ${CONFIG_STATUS=./config.status}
17362 ac_clean_files_save
=$ac_clean_files
17363 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17364 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
17365 echo "$as_me: creating $CONFIG_STATUS" >&6;}
17366 cat >$CONFIG_STATUS <<_ACEOF
17368 # Generated by $as_me.
17369 # Run this file to recreate the current configuration.
17370 # Compiler output produced by configure, useful for debugging
17371 # configure, is in config.log if it exists.
17374 ac_cs_recheck=false
17376 SHELL=\${CONFIG_SHELL-$SHELL}
17379 cat >>$CONFIG_STATUS <<\_ACEOF
17380 ## --------------------- ##
17381 ## M4sh Initialization. ##
17382 ## --------------------- ##
17384 # Be Bourne compatible
17385 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17388 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17389 # is contrary to our usage. Disable this feature.
17390 alias -g '${1+"$@"}'='"$@"'
17391 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
17394 DUALCASE
=1; export DUALCASE
# for MKS sh
17396 # Support unset when possible.
17397 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
17404 # Work around bugs in pre-3.0 UWIN ksh.
17405 $as_unset ENV MAIL MAILPATH
17412 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
17413 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
17414 LC_TELEPHONE LC_TIME
17416 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
17417 eval $as_var=C
; export $as_var
17423 # Required to use basename.
17424 if expr a
: '\(a\)' >/dev
/null
2>&1; then
17430 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
17431 as_basename
=basename
17437 # Name of the executable.
17438 as_me
=`$as_basename "$0" ||
17439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17440 X"$0" : 'X\(//\)$' \| \
17441 X"$0" : 'X\(/\)$' \| \
17442 . : '\(.\)' 2>/dev/null ||
17444 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
17445 /^X\/\(\/\/\)$/{ s//\1/; q; }
17446 /^X\/\(\/\).*/{ s//\1/; q; }
17450 # PATH needs CR, and LINENO needs CR and PATH.
17451 # Avoid depending upon Character Ranges.
17452 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17453 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17454 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17455 as_cr_digits
='0123456789'
17456 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17458 # The user is always right.
17459 if test "${PATH_SEPARATOR+set}" != set; then
17460 echo "#! /bin/sh" >conf$$.sh
17461 echo "exit 0" >>conf$$.sh
17463 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
17472 as_lineno_1
=$LINENO
17473 as_lineno_2
=$LINENO
17474 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
17475 test "x$as_lineno_1" != "x$as_lineno_2" &&
17476 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
17477 # Find who we are. Look in the path if we contain no path at all
17480 *[\\/]* ) as_myself
=$0 ;;
17481 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17482 for as_dir
in $PATH
17485 test -z "$as_dir" && as_dir
=.
17486 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
17491 # We did not find ourselves, most probably we were run as `sh COMMAND'
17492 # in which case we are not to be found in the path.
17493 if test "x$as_myself" = x
; then
17496 if test ! -f "$as_myself"; then
17497 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
17498 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
17499 { (exit 1); exit 1; }; }
17501 case $CONFIG_SHELL in
17503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17504 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
17507 test -z "$as_dir" && as_dir
=.
17508 for as_base
in sh bash ksh sh5
; do
17511 if ("$as_dir/$as_base" -c '
17512 as_lineno_1=$LINENO
17513 as_lineno_2=$LINENO
17514 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
17515 test "x$as_lineno_1" != "x$as_lineno_2" &&
17516 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
17517 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
17518 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
17519 CONFIG_SHELL
=$as_dir/$as_base
17520 export CONFIG_SHELL
17521 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
17529 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17530 # uniformly replaced by the line number. The first 'sed' inserts a
17531 # line-number line before each line; the second 'sed' does the real
17532 # work. The second script uses 'N' to pair each line-number line
17533 # with the numbered line, and appends trailing '-' during
17534 # substitution so that $LINENO is not a special case at line end.
17535 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17536 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
17537 sed '=' <$as_myself |
17542 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
17545 s,^['$as_cr_digits']*\n,,
17546 ' >$as_me.lineno
&&
17547 chmod +x
$as_me.lineno ||
17548 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
17549 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
17550 { (exit 1); exit 1; }; }
17552 # Don't try to exec as it changes $[0], causing all sort of problems
17553 # (the dirname of $[0] is not the place where we might find the
17554 # original and so on. Autoconf is especially sensible to this).
17556 # Exit status is that of the last command.
17561 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
17562 *c
*,-n*) ECHO_N
= ECHO_C
='
17564 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
17565 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
17568 if expr a
: '\(a\)' >/dev
/null
2>&1; then
17574 rm -f conf$$ conf$$.exe conf$$.
file
17576 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17577 # We could just check for DJGPP; but this test a) works b) is more generic
17578 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
17579 if test -f conf$$.exe
; then
17580 # Don't use ln at all; we don't have any links
17585 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17590 rm -f conf$$ conf$$.exe conf$$.
file
17592 if mkdir
-p .
2>/dev
/null
; then
17595 test -d .
/-p && rmdir .
/-p
17599 as_executable_p
="test -f"
17601 # Sed expression to map a string onto a valid CPP name.
17602 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17604 # Sed expression to map a string onto a valid variable name.
17605 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17609 # We need space, tab and new line, in precisely that order.
17619 # Open the log real soon, to keep \$[0] and so on meaningful, and to
17620 # report actual input values of CONFIG_FILES etc. instead of their
17621 # values after options handling. Logging --version etc. is OK.
17625 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17626 ## Running $as_me. ##
17631 This file was extended by libjava $as_me version-unused, which was
17632 generated by GNU Autoconf 2.59. Invocation command line was
17634 CONFIG_FILES = $CONFIG_FILES
17635 CONFIG_HEADERS = $CONFIG_HEADERS
17636 CONFIG_LINKS = $CONFIG_LINKS
17637 CONFIG_COMMANDS = $CONFIG_COMMANDS
17641 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
17645 # Files that config.status was made for.
17646 if test -n "$ac_config_files"; then
17647 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
17650 if test -n "$ac_config_headers"; then
17651 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
17654 if test -n "$ac_config_links"; then
17655 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
17658 if test -n "$ac_config_commands"; then
17659 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
17662 cat >>$CONFIG_STATUS <<\_ACEOF
17665 \`$as_me' instantiates files from templates according to the
17666 current configuration.
17668 Usage: $0 [OPTIONS] [FILE]...
17670 -h, --help print this help, then exit
17671 -V, --version print version number, then exit
17672 -q, --quiet do not print progress messages
17673 -d, --debug don't remove temporary files
17674 --recheck update $as_me by reconfiguring in the same conditions
17675 --file=FILE[:TEMPLATE]
17676 instantiate the configuration file FILE
17677 --header=FILE[:TEMPLATE]
17678 instantiate the configuration header FILE
17680 Configuration files:
17683 Configuration headers:
17686 Configuration links:
17689 Configuration commands:
17692 Report bugs to <bug-autoconf@gnu.org>."
17695 cat >>$CONFIG_STATUS <<_ACEOF
17697 libjava config.status version-unused
17698 configured by $0, generated by GNU Autoconf 2.59,
17699 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
17701 Copyright (C) 2003 Free Software Foundation, Inc.
17702 This config.status script is free software; the Free Software Foundation
17703 gives unlimited permission to copy, distribute and modify it."
17708 cat >>$CONFIG_STATUS <<\_ACEOF
17709 # If no file are specified by the user, then we need to provide default
17710 # value. By we need to know if files were specified by the user.
17716 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
17717 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
17725 *) # This is not an option, so the user has probably given explicit
17728 ac_need_defaults
=false
;;
17732 # Handling of the options.
17734 cat >>$CONFIG_STATUS <<\_ACEOF
17735 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17737 --version |
--vers* |
-V )
17738 echo "$ac_cs_version"; exit 0 ;;
17740 # Conflict between --help and --header
17741 { { echo "$as_me:$LINENO: error: ambiguous option: $1
17742 Try \`$0 --help' for more information." >&5
17743 echo "$as_me: error: ambiguous option: $1
17744 Try \`$0 --help' for more information." >&2;}
17745 { (exit 1); exit 1; }; };;
17746 --help |
--hel |
-h )
17747 echo "$ac_cs_usage"; exit 0 ;;
17748 --debug |
--d* |
-d )
17750 --file |
--fil |
--fi |
--f )
17752 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
17753 ac_need_defaults
=false
;;
17754 --header |
--heade |
--head |
--hea )
17756 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
17757 ac_need_defaults
=false
;;
17758 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17759 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17762 # This is an error.
17763 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
17764 Try \`$0 --help' for more information." >&5
17765 echo "$as_me: error: unrecognized option: $1
17766 Try \`$0 --help' for more information." >&2;}
17767 { (exit 1); exit 1; }; } ;;
17769 *) ac_config_targets
="$ac_config_targets $1" ;;
17775 ac_configure_extra_args
=
17777 if $ac_cs_silent; then
17779 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17783 cat >>$CONFIG_STATUS <<_ACEOF
17784 if \$ac_cs_recheck; then
17785 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
17786 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17791 cat >>$CONFIG_STATUS <<_ACEOF
17793 # INIT-COMMANDS section.
17796 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17800 with_multisubdir=${with_multisubdir}
17801 ac_configure_args="${multilib_arg} ${ac_configure_args}"
17802 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17803 libgcj_basedir=${libgcj_basedir}
17806 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
17813 cat >>$CONFIG_STATUS <<\_ACEOF
17814 for ac_config_target
in $ac_config_targets
17816 case "$ac_config_target" in
17817 # Handling of arguments.
17818 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17819 "libgcj.pc" ) CONFIG_FILES
="$CONFIG_FILES libgcj.pc" ;;
17820 "libgcj.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj.spec" ;;
17821 "libgcj-test.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj-test.spec" ;;
17822 "gcj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gcj/Makefile" ;;
17823 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
17824 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
17825 "scripts/jar" ) CONFIG_FILES
="$CONFIG_FILES scripts/jar" ;;
17826 "include/platform.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/platform.h:include/$PLATFORMH" ;;
17827 "java/io/natFile.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc" ;;
17828 "java/lang/natConcreteProcess.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc" ;;
17829 "java/net/natVMInetAddress.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc" ;;
17830 "java/net/natVMNetworkInterface.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc" ;;
17831 "gnu/java/net/natPlainSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc" ;;
17832 "gnu/java/net/natPlainDatagramSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc" ;;
17833 "gnu/java/nio/natPipeImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natPipeImpl.cc:gnu/java/nio/natPipeImpl${PLATFORM}.cc" ;;
17834 "gnu/java/nio/natSelectorImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natSelectorImpl.cc:gnu/java/nio/natSelectorImpl${PLATFORM}.cc" ;;
17835 "gnu/java/nio/channels/natFileChannelImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc" ;;
17836 "include/java-gc.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-gc.h:include/$GCHDR" ;;
17837 "include/java-threads.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-threads.h:include/$THREADH" ;;
17838 "sysdep/locks.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/locks.h:sysdep/$sysdeps_dir/locks.h" ;;
17839 "sysdep/backtrace.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/backtrace.h:$fallback_backtrace_h" ;;
17840 "sysdep/descriptor.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/descriptor.h:$descriptor_h" ;;
17841 "include/java-signal.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal.h:$SIGNAL_HANDLER" ;;
17842 "include/java-signal-aux.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal-aux.h:$SIGNAL_HANDLER_AUX" ;;
17843 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17844 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
17845 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
17846 "gcj/libgcj-config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS gcj/libgcj-config.h" ;;
17847 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
17848 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
17849 { (exit 1); exit 1; }; };;
17853 # If the user did not use the arguments to specify the items to instantiate,
17854 # then the envvar interface is used. Set only those that are not.
17855 # We use the long form for the default assignment because of an extremely
17856 # bizarre bug on SunOS 4.1.3.
17857 if $ac_need_defaults; then
17858 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17859 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17860 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
17861 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17864 # Have a temporary directory for convenience. Make it in the build tree
17865 # simply because there is no reason to put it here, and in addition,
17866 # creating and moving files from /tmp can sometimes cause problems.
17867 # Create a temporary directory, and hook for its removal unless debugging.
17870 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
17871 trap '{ (exit 1); exit 1; }' 1 2 13 15
17874 # Create a (secure) tmp directory for tmp files.
17877 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
17878 test -n "$tmp" && test -d "$tmp"
17881 tmp
=.
/confstat$$
-$RANDOM
17882 (umask 077 && mkdir
$tmp)
17885 echo "$me: cannot create a temporary directory in ." >&2
17886 { (exit 1); exit 1; }
17891 cat >>$CONFIG_STATUS <<_ACEOF
17894 # CONFIG_FILES section.
17897 # No need to generate the scripts if there are no CONFIG_FILES.
17898 # This happens for instance when ./config.status config.h
17899 if test -n "\$CONFIG_FILES"; then
17900 # Protect against being on the right side of a sed subst in config.status.
17901 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
17902 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
17903 s,@SHELL@,$SHELL,;t t
17904 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
17905 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
17906 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
17907 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
17908 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
17909 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
17910 s,@exec_prefix@,$exec_prefix,;t t
17911 s,@prefix@,$prefix,;t t
17912 s,@program_transform_name@,$program_transform_name,;t t
17913 s,@bindir@,$bindir,;t t
17914 s,@sbindir@,$sbindir,;t t
17915 s,@libexecdir@,$libexecdir,;t t
17916 s,@datadir@,$datadir,;t t
17917 s,@sysconfdir@,$sysconfdir,;t t
17918 s,@sharedstatedir@,$sharedstatedir,;t t
17919 s,@localstatedir@,$localstatedir,;t t
17920 s,@libdir@,$libdir,;t t
17921 s,@includedir@,$includedir,;t t
17922 s,@oldincludedir@,$oldincludedir,;t t
17923 s,@infodir@,$infodir,;t t
17924 s,@mandir@,$mandir,;t t
17925 s,@build_alias@,$build_alias,;t t
17926 s,@host_alias@,$host_alias,;t t
17927 s,@target_alias@,$target_alias,;t t
17928 s,@DEFS@,$DEFS,;t t
17929 s,@ECHO_C@,$ECHO_C,;t t
17930 s,@ECHO_N@,$ECHO_N,;t t
17931 s,@ECHO_T@,$ECHO_T,;t t
17932 s,@LIBS@,$LIBS,;t t
17933 s,@build@,$build,;t t
17934 s,@build_cpu@,$build_cpu,;t t
17935 s,@build_vendor@,$build_vendor,;t t
17936 s,@build_os@,$build_os,;t t
17937 s,@build_libsubdir@,$build_libsubdir,;t t
17938 s,@build_subdir@,$build_subdir,;t t
17939 s,@host_subdir@,$host_subdir,;t t
17940 s,@target_subdir@,$target_subdir,;t t
17941 s,@libgcj_basedir@,$libgcj_basedir,;t t
17942 s,@host@,$host,;t t
17943 s,@host_cpu@,$host_cpu,;t t
17944 s,@host_vendor@,$host_vendor,;t t
17945 s,@host_os@,$host_os,;t t
17946 s,@target@,$target,;t t
17947 s,@target_cpu@,$target_cpu,;t t
17948 s,@target_vendor@,$target_vendor,;t t
17949 s,@target_os@,$target_os,;t t
17950 s,@target_noncanonical@,$target_noncanonical,;t t
17951 s,@LN_S@,$LN_S,;t t
17952 s,@mkinstalldirs@,$mkinstalldirs,;t t
17953 s,@JAVA_MAINTAINER_MODE_TRUE@,$JAVA_MAINTAINER_MODE_TRUE,;t t
17954 s,@JAVA_MAINTAINER_MODE_FALSE@,$JAVA_MAINTAINER_MODE_FALSE,;t t
17956 s,@ac_ct_CC@,$ac_ct_CC,;t t
17957 s,@EXEEXT@,$EXEEXT,;t t
17958 s,@OBJEXT@,$OBJEXT,;t t
17960 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
17961 s,@CFLAGS@,$CFLAGS,;t t
17962 s,@CXXFLAGS@,$CXXFLAGS,;t t
17963 s,@LDFLAGS@,$LDFLAGS,;t t
17964 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
17965 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
17966 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
17967 s,@CYGPATH_W@,$CYGPATH_W,;t t
17968 s,@PACKAGE@,$PACKAGE,;t t
17969 s,@VERSION@,$VERSION,;t t
17970 s,@ACLOCAL@,$ACLOCAL,;t t
17971 s,@AUTOCONF@,$AUTOCONF,;t t
17972 s,@AUTOMAKE@,$AUTOMAKE,;t t
17973 s,@AUTOHEADER@,$AUTOHEADER,;t t
17974 s,@MAKEINFO@,$MAKEINFO,;t t
17975 s,@install_sh@,$install_sh,;t t
17976 s,@STRIP@,$STRIP,;t t
17977 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
17978 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
17979 s,@mkdir_p@,$mkdir_p,;t t
17981 s,@SET_MAKE@,$SET_MAKE,;t t
17982 s,@am__leading_dot@,$am__leading_dot,;t t
17983 s,@AMTAR@,$AMTAR,;t t
17984 s,@am__tar@,$am__tar,;t t
17985 s,@am__untar@,$am__untar,;t t
17986 s,@DEPDIR@,$DEPDIR,;t t
17987 s,@am__include@,$am__include,;t t
17988 s,@am__quote@,$am__quote,;t t
17989 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
17990 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
17991 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
17992 s,@CCDEPMODE@,$CCDEPMODE,;t t
17993 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
17994 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
17995 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
17996 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
17997 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
17999 s,@ac_ct_AS@,$ac_ct_AS,;t t
18001 s,@ac_ct_LD@,$ac_ct_LD,;t t
18003 s,@ac_ct_AR@,$ac_ct_AR,;t t
18004 s,@RANLIB@,$RANLIB,;t t
18005 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
18008 s,@UNZIP@,$UNZIP,;t t
18009 s,@BASH_JAR_TRUE@,$BASH_JAR_TRUE,;t t
18010 s,@BASH_JAR_FALSE@,$BASH_JAR_FALSE,;t t
18011 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
18012 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
18013 s,@MAINT@,$MAINT,;t t
18014 s,@LIBGCJ_CFLAGS@,$LIBGCJ_CFLAGS,;t t
18015 s,@LIBGCJ_CXXFLAGS@,$LIBGCJ_CXXFLAGS,;t t
18016 s,@LIBGCJ_JAVAFLAGS@,$LIBGCJ_JAVAFLAGS,;t t
18017 s,@LIBGCJ_LD_SYMBOLIC@,$LIBGCJ_LD_SYMBOLIC,;t t
18018 s,@LIBGCJ_LD_SYMBOLIC_FUNCTIONS@,$LIBGCJ_LD_SYMBOLIC_FUNCTIONS,;t t
18019 s,@LIBGCJDEBUG@,$LIBGCJDEBUG,;t t
18020 s,@TOOLKIT@,$TOOLKIT,;t t
18021 s,@XLIB_AWT_TRUE@,$XLIB_AWT_TRUE,;t t
18022 s,@XLIB_AWT_FALSE@,$XLIB_AWT_FALSE,;t t
18023 s,@X_AWT_TRUE@,$X_AWT_TRUE,;t t
18024 s,@X_AWT_FALSE@,$X_AWT_FALSE,;t t
18025 s,@GCJ_FOR_ECJX@,$GCJ_FOR_ECJX,;t t
18026 s,@GCJH@,$GCJH,;t t
18027 s,@host_exeext@,$host_exeext,;t t
18028 s,@INCLTDL@,$INCLTDL,;t t
18029 s,@LIBLTDL@,$LIBLTDL,;t t
18030 s,@DIRLTDL@,$DIRLTDL,;t t
18031 s,@LIBTOOL@,$LIBTOOL,;t t
18032 s,@CXXCPP@,$CXXCPP,;t t
18033 s,@CPPFLAGS@,$CPPFLAGS,;t t
18035 s,@GCJFLAGS@,$GCJFLAGS,;t t
18036 s,@GCJDEPMODE@,$GCJDEPMODE,;t t
18037 s,@am__fastdepGCJ_TRUE@,$am__fastdepGCJ_TRUE,;t t
18038 s,@am__fastdepGCJ_FALSE@,$am__fastdepGCJ_FALSE,;t t
18039 s,@subdirs@,$subdirs,;t t
18040 s,@TESTSUBDIR_TRUE@,$TESTSUBDIR_TRUE,;t t
18041 s,@TESTSUBDIR_FALSE@,$TESTSUBDIR_FALSE,;t t
18042 s,@ECJ_BUILD_JAR@,$ECJ_BUILD_JAR,;t t
18043 s,@ECJ_JAR@,$ECJ_JAR,;t t
18044 s,@BUILD_ECJ1_TRUE@,$BUILD_ECJ1_TRUE,;t t
18045 s,@BUILD_ECJ1_FALSE@,$BUILD_ECJ1_FALSE,;t t
18046 s,@INSTALL_ECJ_JAR_TRUE@,$INSTALL_ECJ_JAR_TRUE,;t t
18047 s,@INSTALL_ECJ_JAR_FALSE@,$INSTALL_ECJ_JAR_FALSE,;t t
18048 s,@JAVA_HOME_SET_TRUE@,$JAVA_HOME_SET_TRUE,;t t
18049 s,@JAVA_HOME_SET_FALSE@,$JAVA_HOME_SET_FALSE,;t t
18050 s,@JAVA_HOME@,$JAVA_HOME,;t t
18051 s,@INTERPRETER@,$INTERPRETER,;t t
18052 s,@LIBFFI@,$LIBFFI,;t t
18053 s,@LIBFFIINCS@,$LIBFFIINCS,;t t
18054 s,@PLATFORM@,$PLATFORM,;t t
18056 s,@EGREP@,$EGREP,;t t
18057 s,@USING_WIN32_PLATFORM_TRUE@,$USING_WIN32_PLATFORM_TRUE,;t t
18058 s,@USING_WIN32_PLATFORM_FALSE@,$USING_WIN32_PLATFORM_FALSE,;t t
18059 s,@USING_POSIX_PLATFORM_TRUE@,$USING_POSIX_PLATFORM_TRUE,;t t
18060 s,@USING_POSIX_PLATFORM_FALSE@,$USING_POSIX_PLATFORM_FALSE,;t t
18061 s,@USING_DARWIN_CRT_TRUE@,$USING_DARWIN_CRT_TRUE,;t t
18062 s,@USING_DARWIN_CRT_FALSE@,$USING_DARWIN_CRT_FALSE,;t t
18063 s,@SYSTEMSPEC@,$SYSTEMSPEC,;t t
18064 s,@LIBGCJTESTSPEC@,$LIBGCJTESTSPEC,;t t
18065 s,@ZLIBSPEC@,$ZLIBSPEC,;t t
18066 s,@ZLIBTESTSPEC@,$ZLIBTESTSPEC,;t t
18067 s,@X_CFLAGS@,$X_CFLAGS,;t t
18068 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
18069 s,@X_LIBS@,$X_LIBS,;t t
18070 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
18071 s,@extra_ldflags_libjava@,$extra_ldflags_libjava,;t t
18072 s,@GCLIBS@,$GCLIBS,;t t
18073 s,@GCINCS@,$GCINCS,;t t
18074 s,@GCDEPS@,$GCDEPS,;t t
18075 s,@GCSPEC@,$GCSPEC,;t t
18076 s,@JC1GCSPEC@,$JC1GCSPEC,;t t
18077 s,@GCTESTSPEC@,$GCTESTSPEC,;t t
18078 s,@USING_BOEHMGC_TRUE@,$USING_BOEHMGC_TRUE,;t t
18079 s,@USING_BOEHMGC_FALSE@,$USING_BOEHMGC_FALSE,;t t
18080 s,@USING_NOGC_TRUE@,$USING_NOGC_TRUE,;t t
18081 s,@USING_NOGC_FALSE@,$USING_NOGC_FALSE,;t t
18082 s,@THREADLIBS@,$THREADLIBS,;t t
18083 s,@THREADINCS@,$THREADINCS,;t t
18084 s,@THREADDEPS@,$THREADDEPS,;t t
18085 s,@THREADSPEC@,$THREADSPEC,;t t
18086 s,@THREADSTARTFILESPEC@,$THREADSTARTFILESPEC,;t t
18087 s,@THREADLDFLAGS@,$THREADLDFLAGS,;t t
18088 s,@THREADCXXFLAGS@,$THREADCXXFLAGS,;t t
18089 s,@USING_POSIX_THREADS_TRUE@,$USING_POSIX_THREADS_TRUE,;t t
18090 s,@USING_POSIX_THREADS_FALSE@,$USING_POSIX_THREADS_FALSE,;t t
18091 s,@USING_WIN32_THREADS_TRUE@,$USING_WIN32_THREADS_TRUE,;t t
18092 s,@USING_WIN32_THREADS_FALSE@,$USING_WIN32_THREADS_FALSE,;t t
18093 s,@USING_NO_THREADS_TRUE@,$USING_NO_THREADS_TRUE,;t t
18094 s,@USING_NO_THREADS_FALSE@,$USING_NO_THREADS_FALSE,;t t
18095 s,@USE_LIBGCJ_BC_TRUE@,$USE_LIBGCJ_BC_TRUE,;t t
18096 s,@USE_LIBGCJ_BC_FALSE@,$USE_LIBGCJ_BC_FALSE,;t t
18097 s,@LIBGCJ_SPEC@,$LIBGCJ_SPEC,;t t
18098 s,@HASH_SYNC_SPEC@,$HASH_SYNC_SPEC,;t t
18099 s,@USING_GCC_TRUE@,$USING_GCC_TRUE,;t t
18100 s,@USING_GCC_FALSE@,$USING_GCC_FALSE,;t t
18101 s,@LIBICONV@,$LIBICONV,;t t
18102 s,@LTLIBICONV@,$LTLIBICONV,;t t
18103 s,@LIBMAGIC@,$LIBMAGIC,;t t
18104 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
18105 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
18106 s,@GTK_LIBS@,$GTK_LIBS,;t t
18107 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
18108 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
18109 s,@LIBART_CFLAGS@,$LIBART_CFLAGS,;t t
18110 s,@LIBART_LIBS@,$LIBART_LIBS,;t t
18111 s,@CLASSPATH_SEPARATOR@,$CLASSPATH_SEPARATOR,;t t
18112 s,@ac_ct_GCJ@,$ac_ct_GCJ,;t t
18113 s,@ZLIBS@,$ZLIBS,;t t
18114 s,@SYS_ZLIBS@,$SYS_ZLIBS,;t t
18115 s,@ZINCS@,$ZINCS,;t t
18116 s,@DIVIDESPEC@,$DIVIDESPEC,;t t
18117 s,@CHECKREFSPEC@,$CHECKREFSPEC,;t t
18118 s,@EXCEPTIONSPEC@,$EXCEPTIONSPEC,;t t
18119 s,@BACKTRACESPEC@,$BACKTRACESPEC,;t t
18120 s,@IEEESPEC@,$IEEESPEC,;t t
18121 s,@NATIVE_TRUE@,$NATIVE_TRUE,;t t
18122 s,@NATIVE_FALSE@,$NATIVE_FALSE,;t t
18123 s,@ENABLE_SHARED_TRUE@,$ENABLE_SHARED_TRUE,;t t
18124 s,@ENABLE_SHARED_FALSE@,$ENABLE_SHARED_FALSE,;t t
18125 s,@NEEDS_DATA_START_TRUE@,$NEEDS_DATA_START_TRUE,;t t
18126 s,@NEEDS_DATA_START_FALSE@,$NEEDS_DATA_START_FALSE,;t t
18127 s,@GCC_UNWIND_INCLUDE@,$GCC_UNWIND_INCLUDE,;t t
18128 s,@toolexecdir@,$toolexecdir,;t t
18129 s,@toolexecmainlibdir@,$toolexecmainlibdir,;t t
18130 s,@toolexeclibdir@,$toolexeclibdir,;t t
18131 s,@dbexecdir@,$dbexecdir,;t t
18132 s,@GCJVERSION@,$GCJVERSION,;t t
18133 s,@gxx_include_dir@,$gxx_include_dir,;t t
18134 s,@libstdcxx_incdir@,$libstdcxx_incdir,;t t
18135 s,@ALLOCA@,$ALLOCA,;t t
18136 s,@PERL@,$PERL,;t t
18137 s,@SYSDEP_SOURCES@,$SYSDEP_SOURCES,;t t
18138 s,@LD_START_STATIC_SPEC@,$LD_START_STATIC_SPEC,;t t
18139 s,@LD_FINISH_STATIC_SPEC@,$LD_FINISH_STATIC_SPEC,;t t
18140 s,@here@,$here,;t t
18141 s,@LIBOBJS@,$LIBOBJS,;t t
18142 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
18147 cat >>$CONFIG_STATUS <<\_ACEOF
18148 # Split the substitutions into bite-sized pieces for seds with
18149 # small command number limits, like on Digital OSF/1 and HP-UX.
18150 ac_max_sed_lines
=48
18151 ac_sed_frag
=1 # Number of current file.
18152 ac_beg
=1 # First line for current file.
18153 ac_end
=$ac_max_sed_lines # Line after last line for current file.
18156 while $ac_more_lines; do
18157 if test $ac_beg -gt 1; then
18158 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
18160 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
18162 if test ! -s $tmp/subs.frag
; then
18163 ac_more_lines
=false
18165 # The purpose of the label and of the branching condition is to
18166 # speed up the sed processing (if there are no `@' at all, there
18167 # is no need to browse any of the substitutions).
18168 # These are the two extra sed commands mentioned above.
18170 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
18171 if test -z "$ac_sed_cmds"; then
18172 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
18174 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
18176 ac_sed_frag
=`expr $ac_sed_frag + 1`
18178 ac_end
=`expr $ac_end + $ac_max_sed_lines`
18181 if test -z "$ac_sed_cmds"; then
18184 fi # test -n "$CONFIG_FILES"
18187 cat >>$CONFIG_STATUS <<\_ACEOF
18188 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
18189 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18191 - |
*:- |
*:-:* ) # input from stdin
18193 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18194 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18195 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18196 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18197 * ) ac_file_in
=$ac_file.
in ;;
18200 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
18201 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
18202 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18203 X"$ac_file" : 'X\(//\)[^/]' \| \
18204 X"$ac_file" : 'X\(//\)$' \| \
18205 X"$ac_file" : 'X\(/\)' \| \
18206 . : '\(.\)' 2>/dev/null ||
18208 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18209 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18210 /^X\(\/\/\)$/{ s//\1/; q; }
18211 /^X\(\/\).*/{ s//\1/; q; }
18213 { if $as_mkdir_p; then
18218 while test ! -d "$as_dir"; do
18219 as_dirs
="$as_dir $as_dirs"
18220 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18221 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18222 X"$as_dir" : 'X\(//\)[^/]' \| \
18223 X"$as_dir" : 'X\(//\)$' \| \
18224 X"$as_dir" : 'X\(/\)' \| \
18225 . : '\(.\)' 2>/dev/null ||
18227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18228 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18229 /^X\(\/\/\)$/{ s//\1/; q; }
18230 /^X\(\/\).*/{ s//\1/; q; }
18233 test ! -n "$as_dirs" || mkdir
$as_dirs
18234 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18235 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18236 { (exit 1); exit 1; }; }; }
18240 if test "$ac_dir" != .
; then
18241 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18242 # A "../" for each directory in $ac_dir_suffix.
18243 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18245 ac_dir_suffix
= ac_top_builddir
=
18249 .
) # No --srcdir option. We are building in place.
18251 if test -z "$ac_top_builddir"; then
18254 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18256 [\\/]* | ?
:[\\/]* ) # Absolute path.
18257 ac_srcdir
=$srcdir$ac_dir_suffix;
18258 ac_top_srcdir
=$srcdir ;;
18259 *) # Relative path.
18260 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18261 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18264 # Do not use `cd foo && pwd` to compute absolute paths, because
18265 # the directories may not exist.
18267 .
) ac_abs_builddir
="$ac_dir";;
18270 .
) ac_abs_builddir
=`pwd`;;
18271 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
18272 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
18275 case $ac_abs_builddir in
18276 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18278 case ${ac_top_builddir}.
in
18279 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
18280 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18281 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
18284 case $ac_abs_builddir in
18285 .
) ac_abs_srcdir
=$ac_srcdir;;
18288 .
) ac_abs_srcdir
=$ac_abs_builddir;;
18289 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
18290 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
18293 case $ac_abs_builddir in
18294 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
18296 case $ac_top_srcdir in
18297 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
18298 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
18299 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
18305 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18306 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
18309 if test x
"$ac_file" != x-
; then
18310 { echo "$as_me:$LINENO: creating $ac_file" >&5
18311 echo "$as_me: creating $ac_file" >&6;}
18314 # Let's still pretend it is `configure' which instantiates (i.e., don't
18315 # use $as_me), people would be surprised to read:
18316 # /* config.h. Generated by config.status. */
18317 if test x
"$ac_file" = x-
; then
18320 configure_input
="$ac_file. "
18322 configure_input
=$configure_input"Generated from `echo $ac_file_in |
18323 sed 's,.*/,,'` by configure."
18325 # First look for the input files in the build tree, otherwise in the
18327 ac_file_inputs
=`IFS=:
18328 for f in $ac_file_in; do
18330 -) echo $tmp/stdin ;;
18332 # Absolute (can't be DOS-style, as IFS=:)
18333 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18334 echo "$as_me: error: cannot find input file: $f" >&2;}
18335 { (exit 1); exit 1; }; }
18338 if test -f "$f"; then
18341 elif test -f "$srcdir/$f"; then
18346 { { 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; }; }
18351 done` ||
{ (exit 1); exit 1; }
18353 cat >>$CONFIG_STATUS <<_ACEOF
18357 cat >>$CONFIG_STATUS <<\_ACEOF
18359 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18360 s
,@configure_input@
,$configure_input,;t t
18361 s
,@srcdir@
,$ac_srcdir,;t t
18362 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
18363 s
,@top_srcdir@
,$ac_top_srcdir,;t t
18364 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
18365 s
,@builddir@
,$ac_builddir,;t t
18366 s
,@abs_builddir@
,$ac_abs_builddir,;t t
18367 s
,@top_builddir@
,$ac_top_builddir,;t t
18368 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
18369 s
,@INSTALL@
,$ac_INSTALL,;t t
18370 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
18372 if test x"$ac_file" != x-; then
18373 mv $tmp/out $ac_file
18379 # Run the commands associated with the file.
18381 scripts/jar ) chmod +x scripts/jar ;;
18385 cat >>$CONFIG_STATUS <<\_ACEOF
18388 # CONFIG_HEADER section.
18391 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
18392 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18394 # ac_d sets the value in "#define NAME VALUE" lines.
18395 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18396 ac_dB
='[ ].*$,\1#\2'
18399 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18400 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18401 ac_uB
='$,\1#\2define\3'
18405 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
18406 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18408 - |
*:- |
*:-:* ) # input from stdin
18410 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18411 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18412 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18413 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18414 * ) ac_file_in
=$ac_file.
in ;;
18417 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
18418 echo "$as_me: creating $ac_file" >&6;}
18420 # First look for the input files in the build tree, otherwise in the
18422 ac_file_inputs
=`IFS=:
18423 for f in $ac_file_in; do
18425 -) echo $tmp/stdin ;;
18427 # Absolute (can't be DOS-style, as IFS=:)
18428 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18429 echo "$as_me: error: cannot find input file: $f" >&2;}
18430 { (exit 1); exit 1; }; }
18431 # Do quote $f, to prevent DOS paths from being IFS'd.
18434 if test -f "$f"; then
18437 elif test -f "$srcdir/$f"; then
18442 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18443 echo "$as_me: error: cannot find input file: $f" >&2;}
18444 { (exit 1); exit 1; }; }
18447 done` ||
{ (exit 1); exit 1; }
18448 # Remove the trailing spaces.
18449 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
18453 # Transform confdefs.h into two sed scripts, `conftest.defines' and
18454 # `conftest.undefs', that substitutes the proper values into
18455 # config.h.in to produce config.h. The first handles `#define'
18456 # templates, and the second `#undef' templates.
18457 # And first: Protect against being on the right side of a sed subst in
18458 # config.status. Protect against being in an unquoted here document
18459 # in config.status.
18460 rm -f conftest.defines conftest.undefs
18461 # Using a here document instead of a string reduces the quoting nightmare.
18462 # Putting comments in sed scripts is not portable.
18464 # `end' is used to avoid that the second main sed command (meant for
18465 # 0-ary CPP macros) applies to n-ary macro definitions.
18466 # See the Autoconf documentation for `clear'.
18467 cat >confdef2sed.
sed <<\_ACEOF
18472 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
18474 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
18477 # If some macros were called several times there might be several times
18478 # the same #defines, which is useless. Nevertheless, we may not want to
18479 # sort them, since we want the *last* AC-DEFINE to be honored.
18480 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
18481 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
18482 rm -f confdef2sed.sed
18484 # This sed command replaces #undef with comments. This is necessary, for
18485 # example, in the case of _POSIX_SOURCE, which is predefined and required
18486 # on some systems where configure will not decide to define it.
18487 cat >>conftest.undefs <<\_ACEOF
18488 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
18491 # Break up conftest.defines because some shells have a limit on the size
18492 # of here documents, and old seds have small limits too (100 cmds).
18493 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
18494 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
18495 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
18496 echo ' :' >>$CONFIG_STATUS
18497 rm -f conftest.tail
18498 while grep . conftest.defines >/dev/null
18500 # Write a limited-size here document to $tmp/defines.sed.
18501 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
18502 # Speed up: don't consider the non `#define' lines.
18503 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
18504 # Work around the forget-to-reset-the-flag bug.
18505 echo 't clr' >>$CONFIG_STATUS
18506 echo ': clr' >>$CONFIG_STATUS
18507 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
18509 sed -f $tmp/defines.sed $tmp/in >$tmp/out
18511 mv $tmp/out $tmp/in
18513 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
18514 rm -f conftest.defines
18515 mv conftest.
tail conftest.defines
18517 rm -f conftest.defines
18518 echo ' fi # grep' >>$CONFIG_STATUS
18519 echo >>$CONFIG_STATUS
18521 # Break up conftest.undefs because some shells have a limit on the size
18522 # of here documents, and old seds have small limits too (100 cmds).
18523 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
18524 rm -f conftest.
tail
18525 while grep . conftest.undefs
>/dev
/null
18527 # Write a limited-size here document to $tmp/undefs.sed.
18528 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
18529 # Speed up: don't consider the non
`#undef'
18530 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
18531 # Work around the forget-to-reset-the-flag bug.
18532 echo 't clr' >>$CONFIG_STATUS
18533 echo ': clr' >>$CONFIG_STATUS
18534 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
18536 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
18538 mv $tmp/out $tmp/in
18540 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
18541 rm -f conftest.undefs
18542 mv conftest.tail conftest.undefs
18544 rm -f conftest.undefs
18546 cat >>$CONFIG_STATUS <<\_ACEOF
18547 # Let's still pretend it is `configure
' which instantiates (i.e., don't
18548 # use $as_me), people would be surprised to read:
18549 # /* config.h. Generated by config.status. */
18550 if test x
"$ac_file" = x-
; then
18551 echo "/* Generated by configure. */" >$tmp/config.h
18553 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
18555 cat $tmp/in >>$tmp/config.h
18557 if test x
"$ac_file" != x-
; then
18558 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
18559 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
18560 echo "$as_me: $ac_file is unchanged" >&6;}
18562 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
18563 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18564 X"$ac_file" : 'X\(//\)[^/]' \| \
18565 X"$ac_file" : 'X\(//\)$' \| \
18566 X"$ac_file" : 'X\(/\)' \| \
18567 . : '\(.\)' 2>/dev/null ||
18569 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18570 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18571 /^X\(\/\/\)$/{ s//\1/; q; }
18572 /^X\(\/\).*/{ s//\1/; q; }
18574 { if $as_mkdir_p; then
18579 while test ! -d "$as_dir"; do
18580 as_dirs
="$as_dir $as_dirs"
18581 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18582 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18583 X"$as_dir" : 'X\(//\)[^/]' \| \
18584 X"$as_dir" : 'X\(//\)$' \| \
18585 X"$as_dir" : 'X\(/\)' \| \
18586 . : '\(.\)' 2>/dev/null ||
18588 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18589 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18590 /^X\(\/\/\)$/{ s//\1/; q; }
18591 /^X\(\/\).*/{ s//\1/; q; }
18594 test ! -n "$as_dirs" || mkdir
$as_dirs
18595 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18596 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18597 { (exit 1); exit 1; }; }; }
18600 mv $tmp/config.h
$ac_file
18604 rm -f $tmp/config.h
18606 # Compute $ac_file's index in $config_headers.
18608 for _am_header
in $config_headers :; do
18609 case $_am_header in
18610 $ac_file |
$ac_file:* )
18613 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18616 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
18617 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18618 X$ac_file : 'X\(//\)[^/]' \| \
18619 X$ac_file : 'X\(//\)$' \| \
18620 X$ac_file : 'X\(/\)' \| \
18621 . : '\(.\)' 2>/dev/null ||
18623 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18624 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18625 /^X\(\/\/\)$/{ s//\1/; q; }
18626 /^X\(\/\).*/{ s//\1/; q; }
18627 s/.*/./; q'`/stamp-h
$_am_stamp_count
18630 cat >>$CONFIG_STATUS <<\_ACEOF
18633 # CONFIG_LINKS section.
18636 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
18637 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
18638 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18640 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
18641 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
18643 if test ! -r $srcdir/$ac_source; then
18644 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
18645 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
18646 { (exit 1); exit 1; }; }
18650 # Make relative symlinks.
18651 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
18652 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18653 X"$ac_dest" : 'X\(//\)[^/]' \| \
18654 X"$ac_dest" : 'X\(//\)$' \| \
18655 X"$ac_dest" : 'X\(/\)' \| \
18656 . : '\(.\)' 2>/dev/null ||
18658 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18659 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18660 /^X\(\/\/\)$/{ s//\1/; q; }
18661 /^X\(\/\).*/{ s//\1/; q; }
18663 { if $as_mkdir_p; then
18664 mkdir
-p "$ac_dest_dir"
18666 as_dir
="$ac_dest_dir"
18668 while test ! -d "$as_dir"; do
18669 as_dirs
="$as_dir $as_dirs"
18670 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18671 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18672 X"$as_dir" : 'X\(//\)[^/]' \| \
18673 X"$as_dir" : 'X\(//\)$' \| \
18674 X"$as_dir" : 'X\(/\)' \| \
18675 . : '\(.\)' 2>/dev/null ||
18677 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18678 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18679 /^X\(\/\/\)$/{ s//\1/; q; }
18680 /^X\(\/\).*/{ s//\1/; q; }
18683 test ! -n "$as_dirs" || mkdir
$as_dirs
18684 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
18685 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
18686 { (exit 1); exit 1; }; }; }
18690 if test "$ac_dest_dir" != .
; then
18691 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
18692 # A "../" for each directory in $ac_dir_suffix.
18693 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18695 ac_dir_suffix
= ac_top_builddir
=
18699 .
) # No --srcdir option. We are building in place.
18701 if test -z "$ac_top_builddir"; then
18704 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18706 [\\/]* | ?
:[\\/]* ) # Absolute path.
18707 ac_srcdir
=$srcdir$ac_dir_suffix;
18708 ac_top_srcdir
=$srcdir ;;
18709 *) # Relative path.
18710 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18711 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18714 # Do not use `cd foo && pwd` to compute absolute paths, because
18715 # the directories may not exist.
18717 .
) ac_abs_builddir
="$ac_dest_dir";;
18719 case "$ac_dest_dir" in
18720 .
) ac_abs_builddir
=`pwd`;;
18721 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
18722 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
18725 case $ac_abs_builddir in
18726 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18728 case ${ac_top_builddir}.
in
18729 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
18730 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18731 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
18734 case $ac_abs_builddir in
18735 .
) ac_abs_srcdir
=$ac_srcdir;;
18738 .
) ac_abs_srcdir
=$ac_abs_builddir;;
18739 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
18740 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
18743 case $ac_abs_builddir in
18744 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
18746 case $ac_top_srcdir in
18747 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
18748 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
18749 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
18755 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
18756 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
18759 # Try a symlink, then a hard link, then a copy.
18760 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
18761 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
18762 cp -p $srcdir/$ac_source $ac_dest ||
18763 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
18764 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
18765 { (exit 1); exit 1; }; }
18768 cat >>$CONFIG_STATUS <<\_ACEOF
18771 # CONFIG_COMMANDS section.
18773 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
18774 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
18775 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18776 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
18777 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18778 X"$ac_dest" : 'X\(//\)[^/]' \| \
18779 X"$ac_dest" : 'X\(//\)$' \| \
18780 X"$ac_dest" : 'X\(/\)' \| \
18781 . : '\(.\)' 2>/dev/null ||
18783 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18784 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18785 /^X\(\/\/\)$/{ s//\1/; q; }
18786 /^X\(\/\).*/{ s//\1/; q; }
18788 { if $as_mkdir_p; then
18793 while test ! -d "$as_dir"; do
18794 as_dirs
="$as_dir $as_dirs"
18795 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18796 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18797 X"$as_dir" : 'X\(//\)[^/]' \| \
18798 X"$as_dir" : 'X\(//\)$' \| \
18799 X"$as_dir" : 'X\(/\)' \| \
18800 . : '\(.\)' 2>/dev/null ||
18802 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18803 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18804 /^X\(\/\/\)$/{ s//\1/; q; }
18805 /^X\(\/\).*/{ s//\1/; q; }
18808 test ! -n "$as_dirs" || mkdir
$as_dirs
18809 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18810 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18811 { (exit 1); exit 1; }; }; }
18815 if test "$ac_dir" != .
; then
18816 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18817 # A "../" for each directory in $ac_dir_suffix.
18818 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18820 ac_dir_suffix
= ac_top_builddir
=
18824 .
) # No --srcdir option. We are building in place.
18826 if test -z "$ac_top_builddir"; then
18829 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18831 [\\/]* | ?
:[\\/]* ) # Absolute path.
18832 ac_srcdir
=$srcdir$ac_dir_suffix;
18833 ac_top_srcdir
=$srcdir ;;
18834 *) # Relative path.
18835 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18836 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18839 # Do not use `cd foo && pwd` to compute absolute paths, because
18840 # the directories may not exist.
18842 .
) ac_abs_builddir
="$ac_dir";;
18845 .
) ac_abs_builddir
=`pwd`;;
18846 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
18847 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
18850 case $ac_abs_builddir in
18851 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18853 case ${ac_top_builddir}.
in
18854 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
18855 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18856 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
18859 case $ac_abs_builddir in
18860 .
) ac_abs_srcdir
=$ac_srcdir;;
18863 .
) ac_abs_srcdir
=$ac_abs_builddir;;
18864 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
18865 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
18868 case $ac_abs_builddir in
18869 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
18871 case $ac_top_srcdir in
18872 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
18873 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
18874 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
18879 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
18880 echo "$as_me: executing $ac_dest commands" >&6;}
18882 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
18883 # Strip MF so we end up with the name of the file.
18884 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18885 # Check whether this is an Automake generated Makefile or not.
18886 # We used to match only the files named `Makefile.in', but
18887 # some people rename them; so instead we look at the file content.
18888 # Grep'ing the first line is not enough: some people post-process
18889 # each Makefile.in and add a new line on top of each file to say so.
18890 # So let's grep whole file.
18891 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
18892 dirpart
=`(dirname "$mf") 2>/dev/null ||
18893 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18894 X"$mf" : 'X\(//\)[^/]' \| \
18895 X"$mf" : 'X\(//\)$' \| \
18896 X"$mf" : 'X\(/\)' \| \
18897 . : '\(.\)' 2>/dev/null ||
18899 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18900 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18901 /^X\(\/\/\)$/{ s//\1/; q; }
18902 /^X\(\/\).*/{ s//\1/; q; }
18907 # Extract the definition of DEPDIR, am__include, and am__quote
18908 # from the Makefile without running `make'.
18909 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18910 test -z "$DEPDIR" && continue
18911 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18912 test -z "am__include" && continue
18913 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18914 # When using ansi2knr, U may be empty or an underscore; expand it
18915 U
=`sed -n 's/^U = //p' < "$mf"`
18916 # Find all dependency output files, they are included files with
18917 # $(DEPDIR) in their names. We invoke sed twice because it is the
18918 # simplest approach to changing $(DEPDIR) to its actual value in the
18920 for file in `sed -n "
18921 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18922 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18923 # Make sure the directory exists.
18924 test -f "$dirpart/$file" && continue
18925 fdir
=`(dirname "$file") 2>/dev/null ||
18926 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18927 X"$file" : 'X\(//\)[^/]' \| \
18928 X"$file" : 'X\(//\)$' \| \
18929 X"$file" : 'X\(/\)' \| \
18930 . : '\(.\)' 2>/dev/null ||
18932 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18933 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18934 /^X\(\/\/\)$/{ s//\1/; q; }
18935 /^X\(\/\).*/{ s//\1/; q; }
18937 { if $as_mkdir_p; then
18938 mkdir
-p $dirpart/$fdir
18940 as_dir
=$dirpart/$fdir
18942 while test ! -d "$as_dir"; do
18943 as_dirs
="$as_dir $as_dirs"
18944 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18945 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18946 X"$as_dir" : 'X\(//\)[^/]' \| \
18947 X"$as_dir" : 'X\(//\)$' \| \
18948 X"$as_dir" : 'X\(/\)' \| \
18949 . : '\(.\)' 2>/dev/null ||
18951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18952 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18953 /^X\(\/\/\)$/{ s//\1/; q; }
18954 /^X\(\/\).*/{ s//\1/; q; }
18957 test ! -n "$as_dirs" || mkdir
$as_dirs
18958 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
18959 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
18960 { (exit 1); exit 1; }; }; }
18962 # echo "creating $dirpart/$file"
18963 echo '# dummy' > "$dirpart/$file"
18967 default
) # Only add multilib support code if we just rebuilt top-level Makefile.
18968 case " $CONFIG_FILES " in
18970 LD
="${ORIGINAL_LD_FOR_MULTILIBS}"
18971 ac_file
=Makefile .
${libgcj_basedir}/..
/config-ml.
in
18974 for ac_multi_file
in $CONFIG_FILES; do
18975 case $ac_multi_file in
18977 grep "^MULTI[^ ]* =" Makefile
>> "$ac_multi_file" ;;
18985 cat >>$CONFIG_STATUS <<\_ACEOF
18987 { (exit 0); exit 0; }
18989 chmod +x
$CONFIG_STATUS
18990 ac_clean_files
=$ac_clean_files_save
18993 # configure is writing to config.log, and then calls config.status.
18994 # config.status does its own redirection, appending to config.log.
18995 # Unfortunately, on DOS this fails, as config.log is still kept open
18996 # by configure, so config.status won't be able to write to it; its
18997 # output is simply discarded. So we exec the FD to /dev/null,
18998 # effectively closing config.log, so it can be properly (re)opened and
18999 # appended to by config.status. When coming back to configure, we
19000 # need to make the FD available again.
19001 if test "$no_create" != yes; then
19003 ac_config_status_args
=
19004 test "$silent" = yes &&
19005 ac_config_status_args
="$ac_config_status_args --quiet"
19007 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19009 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19010 # would make configure fail if this is the last instruction.
19011 $ac_cs_success ||
{ (exit 1); exit 1; }
19015 # CONFIG_SUBDIRS section.
19017 if test "$no_recursion" != yes; then
19019 # Remove --cache-file and --srcdir arguments so they do not pile up.
19020 ac_sub_configure_args
=
19022 for ac_arg
in $ac_configure_args; do
19023 if test -n "$ac_prev"; then
19028 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
19029 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
19030 ac_prev
=cache_file
;;
19031 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
19032 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
19035 --config-cache |
-C)
19037 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
19039 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
19041 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
19043 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
19045 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
19049 # Always prepend --prefix to ensure using the same prefix
19050 # in subdir configurations.
19051 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
19054 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
19056 # Do not complain, so a configure script can configure whichever
19057 # parts of a large source tree are present.
19058 test -d $srcdir/$ac_dir ||
continue
19060 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
19061 echo "$as_me: configuring in $ac_dir" >&6;}
19062 { if $as_mkdir_p; then
19067 while test ! -d "$as_dir"; do
19068 as_dirs
="$as_dir $as_dirs"
19069 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
19070 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19071 X"$as_dir" : 'X\(//\)[^/]' \| \
19072 X"$as_dir" : 'X\(//\)$' \| \
19073 X"$as_dir" : 'X\(/\)' \| \
19074 . : '\(.\)' 2>/dev/null ||
19076 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19077 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19078 /^X\(\/\/\)$/{ s//\1/; q; }
19079 /^X\(\/\).*/{ s//\1/; q; }
19082 test ! -n "$as_dirs" || mkdir
$as_dirs
19083 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19084 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19085 { (exit 1); exit 1; }; }; }
19089 if test "$ac_dir" != .
; then
19090 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
19091 # A "../" for each directory in $ac_dir_suffix.
19092 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
19094 ac_dir_suffix
= ac_top_builddir
=
19098 .
) # No --srcdir option. We are building in place.
19100 if test -z "$ac_top_builddir"; then
19103 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
19105 [\\/]* | ?
:[\\/]* ) # Absolute path.
19106 ac_srcdir
=$srcdir$ac_dir_suffix;
19107 ac_top_srcdir
=$srcdir ;;
19108 *) # Relative path.
19109 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
19110 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
19113 # Do not use `cd foo && pwd` to compute absolute paths, because
19114 # the directories may not exist.
19116 .
) ac_abs_builddir
="$ac_dir";;
19119 .
) ac_abs_builddir
=`pwd`;;
19120 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
19121 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
19124 case $ac_abs_builddir in
19125 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
19127 case ${ac_top_builddir}.
in
19128 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
19129 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
19130 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
19133 case $ac_abs_builddir in
19134 .
) ac_abs_srcdir
=$ac_srcdir;;
19137 .
) ac_abs_srcdir
=$ac_abs_builddir;;
19138 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
19139 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
19142 case $ac_abs_builddir in
19143 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
19145 case $ac_top_srcdir in
19146 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
19147 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
19148 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
19155 # Check for guested configure; otherwise get Cygnus style configure.
19156 if test -f $ac_srcdir/configure.gnu
; then
19157 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
19158 elif test -f $ac_srcdir/configure
; then
19159 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
19160 elif test -f $ac_srcdir/configure.
in; then
19161 ac_sub_configure
=$ac_configure
19163 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
19164 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
19168 # The recursion is here.
19169 if test -n "$ac_sub_configure"; then
19170 # Make the cache file name correct relative to the subdirectory.
19171 case $cache_file in
19172 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
19173 *) # Relative path.
19174 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
19177 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
19178 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
19179 # The eval makes quoting arguments work.
19180 eval $ac_sub_configure $ac_sub_configure_args \
19181 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
19182 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
19183 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
19184 { (exit 1); exit 1; }; }