2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libjava version-unused.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME
='libjava'
269 PACKAGE_TARNAME
='libjava'
270 PACKAGE_VERSION
='version-unused'
271 PACKAGE_STRING
='libjava version-unused'
274 ac_unique_file
="java/lang/System.java"
275 ac_subdirs_all
="$ac_subdirs_all classpath libltdl"
276 # Factoring default headers for most tests.
277 ac_includes_default
="\
280 # include <sys/types.h>
283 # include <sys/stat.h>
294 # if !STDC_HEADERS && HAVE_MEMORY_H
300 # include <strings.h>
303 # include <inttypes.h>
313 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os build_libsubdir build_subdir host_subdir target_subdir multi_basedir host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical LN_S mkinstalldirs JAVA_MAINTAINER_MODE_TRUE JAVA_MAINTAINER_MODE_FALSE CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LDFLAGS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE AS ac_ct_AS LD ac_ct_LD AR ac_ct_AR RANLIB ac_ct_RANLIB JAR ZIP UNZIP 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-multilib build many library versions
(default
)
853 --enable-version-specific-runtime-libs
854 specify that runtime libraries should be installed
855 in a compiler-specific directory
856 --enable-plugin build gcjwebplugin web browser plugin
857 --enable-gconf-peer compile GConf native peers
for util.preferences
858 --enable-java-maintainer-mode
859 allow rebuilding of .class and .h files
860 --disable-dependency-tracking speeds up one-time build
861 --enable-dependency-tracking do not reject slow dependency extractors
862 --enable-maintainer-mode enable make rules and dependencies not useful
863 (and sometimes confusing
) to the casual installer
864 --enable-libgcj-debug enable runtime debugging code
865 --enable-java-awt list of AWT peer implementations to be built
866 --enable-shared=PKGS build shared libraries default
=yes
867 --enable-static=PKGS build static libraries default
=yes
868 --enable-fast-install=PKGS optimize
for fast installation default
=yes
869 --disable-libtool-lock avoid locking
(might
break parallel builds
)
870 --disable-getenv-properties
871 don
't set system properties from GCJ_PROPERTIES
872 --enable-hash-synchronization
873 use global hash table for monitor locks
874 --enable-gc-debug include full support for pointer backtracing etc.
875 --enable-interpreter enable interpreter
876 --enable-sjlj-exceptions
877 force use of builtin_setjmp for exceptions
878 --disable-java-net disable java.net
879 --disable-jvmpi disable JVMPI support
880 --enable-java-gc=TYPE choose garbage collector (default is boehm)
881 --disable-rpath do not hardcode runtime library paths
882 --enable-tls Use thread-local storage [default=yes]
885 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
886 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
887 --with-build-libsubdir=DIR Directory where to find libraries for build system
888 --with-target-subdir=SUBDIR
889 configure in a subdirectory
890 --with-cross-host=HOST configure with a cross compiler from HOST
891 --with-newlib configure with newlib
892 --with-escher=ABS.PATH specify path to escher dir or JAR for X peers
893 --with-gnu-ld assume the C compiler uses GNU ld default=no
894 --with-pic try to use only PIC/non-PIC objects default=use both
895 --with-ecj-jar=FILE use preinstalled ecj jar
896 --with-java-home=DIRECTORY
897 value of java.home system property
898 --with-win32-nlsapi=ansi or unicows or unicode
899 native MinGW libgcj Win32 OS API (default is ansi)
900 --without-libffi don't use libffi
901 --with-ecos enable runtime eCos target support
902 --with-system-zlib use installed libz
903 --with-x use the X Window System
904 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
905 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
907 Some influential environment variables:
908 CC C compiler command
909 CFLAGS C compiler flags
910 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
911 nonstandard directory <lib dir>
912 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
913 headers in a nonstandard directory <include dir>
914 CXX C++ compiler command
915 CXXFLAGS C++ compiler flags
916 CXXCPP C++ preprocessor
919 Use these variables to override the choices made by `configure' or to
help
920 it to
find libraries and programs with nonstandard names
/locations.
925 if test "$ac_init_help" = "recursive"; then
926 # If there are subdirs, report their specific --help.
928 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
929 test -d $ac_dir ||
continue
932 if test "$ac_dir" != .
; then
933 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
934 # A "../" for each directory in $ac_dir_suffix.
935 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
937 ac_dir_suffix
= ac_top_builddir
=
941 .
) # No --srcdir option. We are building in place.
943 if test -z "$ac_top_builddir"; then
946 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
948 [\\/]* | ?
:[\\/]* ) # Absolute path.
949 ac_srcdir
=$srcdir$ac_dir_suffix;
950 ac_top_srcdir
=$srcdir ;;
952 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
953 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
956 # Do not use `cd foo && pwd` to compute absolute paths, because
957 # the directories may not exist.
959 .
) ac_abs_builddir
="$ac_dir";;
962 .
) ac_abs_builddir
=`pwd`;;
963 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
964 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
967 case $ac_abs_builddir in
968 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
970 case ${ac_top_builddir}.
in
971 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
972 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
973 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
976 case $ac_abs_builddir in
977 .
) ac_abs_srcdir
=$ac_srcdir;;
980 .
) ac_abs_srcdir
=$ac_abs_builddir;;
981 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
982 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
985 case $ac_abs_builddir in
986 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
988 case $ac_top_srcdir in
989 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
990 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
991 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
996 # Check for guested configure; otherwise get Cygnus style configure.
997 if test -f $ac_srcdir/configure.gnu
; then
999 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1000 elif test -f $ac_srcdir/configure
; then
1002 $SHELL $ac_srcdir/configure
--help=recursive
1003 elif test -f $ac_srcdir/configure.ac ||
1004 test -f $ac_srcdir/configure.
in; then
1006 $ac_configure --help
1008 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1014 test -n "$ac_init_help" && exit 0
1015 if $ac_init_version; then
1017 libjava configure version-unused
1018 generated by GNU Autoconf
2.59
1020 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1021 This configure
script is free software
; the Free Software Foundation
1022 gives unlimited permission to copy
, distribute and modify it.
1028 This file contains any messages produced by compilers while
1029 running configure, to aid debugging if configure makes a mistake.
1031 It was created by libjava $as_me version-unused, which was
1032 generated by GNU Autoconf 2.59. Invocation command line was
1043 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1044 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1045 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1046 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1047 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1049 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1050 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1052 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1053 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1054 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1055 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1056 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1057 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1058 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1066 test -z "$as_dir" && as_dir
=.
1067 echo "PATH: $as_dir"
1082 # Keep a trace of the command line.
1083 # Strip out --no-create and --no-recursion so they do not pile up.
1084 # Strip out --silent because we don't want to record it for future runs.
1085 # Also quote any args containing shell meta-characters.
1086 # Make two passes to allow for proper duplicate-argument suppression.
1091 ac_must_keep_next
=false
1097 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1098 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1099 |
-silent |
--silent |
--silen |
--sile |
--sil)
1101 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1102 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1105 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1107 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1108 if test $ac_must_keep_next = true
; then
1109 ac_must_keep_next
=false
# Got value, back to normal.
1112 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1113 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1114 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1115 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1116 case "$ac_configure_args0 " in
1117 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1120 -* ) ac_must_keep_next
=true
;;
1123 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1124 # Get rid of the leading space.
1130 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1131 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1133 # When interrupted or exit'd, cleanup temporary files, and complete
1134 # config.log. We remove comments because anyway the quotes in there
1135 # would cause problems or look ugly.
1136 # WARNING: Be sure not to use single quotes in there, as some shells,
1137 # such as our DU 5.0 friend, will then `close' the trap.
1138 trap 'exit_status=$?
1139 # Save into config.log some information that might help in debugging.
1144 ## ---------------- ##
1145 ## Cache variables. ##
1146 ## ---------------- ##
1149 # The following way of writing the cache mishandles newlines in values,
1152 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1155 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1156 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1160 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1167 ## ----------------- ##
1168 ## Output variables. ##
1169 ## ----------------- ##
1172 for ac_var in $ac_subst_vars
1174 eval ac_val=$`echo $ac_var`
1175 echo "$ac_var='"'"'$ac_val'"'"'"
1179 if test -n "$ac_subst_files"; then
1186 for ac_var in $ac_subst_files
1188 eval ac_val=$`echo $ac_var`
1189 echo "$ac_var='"'"'$ac_val'"'"'"
1194 if test -s confdefs.h; then
1201 sed "/^$/d" confdefs.h | sort
1204 test "$ac_signal" != 0 &&
1205 echo "$as_me: caught signal $ac_signal"
1206 echo "$as_me: exit $exit_status"
1208 rm -f core *.core &&
1209 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1212 for ac_signal
in 1 2 13 15; do
1213 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1217 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1218 rm -rf conftest
* confdefs.h
1219 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1222 # Predefined preprocessor variables.
1224 cat >>confdefs.h
<<_ACEOF
1225 #define PACKAGE_NAME "$PACKAGE_NAME"
1229 cat >>confdefs.h
<<_ACEOF
1230 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1234 cat >>confdefs.h
<<_ACEOF
1235 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1239 cat >>confdefs.h
<<_ACEOF
1240 #define PACKAGE_STRING "$PACKAGE_STRING"
1244 cat >>confdefs.h
<<_ACEOF
1245 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1249 # Let the site file select an alternate cache file if it wants to.
1250 # Prefer explicitly selected file to automatically selected ones.
1251 if test -z "$CONFIG_SITE"; then
1252 if test "x$prefix" != xNONE
; then
1253 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1255 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1258 for ac_site_file
in $CONFIG_SITE; do
1259 if test -r "$ac_site_file"; then
1260 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1261 echo "$as_me: loading site script $ac_site_file" >&6;}
1262 sed 's/^/| /' "$ac_site_file" >&5
1267 if test -r "$cache_file"; then
1268 # Some versions of bash will fail to source /dev/null (special
1269 # files actually), so we avoid doing that.
1270 if test -f "$cache_file"; then
1271 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1272 echo "$as_me: loading cache $cache_file" >&6;}
1274 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1275 *) . .
/$cache_file;;
1279 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1280 echo "$as_me: creating cache $cache_file" >&6;}
1284 # Check that the precious variables saved in the cache have kept the same
1286 ac_cache_corrupted
=false
1287 for ac_var
in `(set) 2>&1 |
1288 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1289 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1290 eval ac_new_set
=\
$ac_env_${ac_var}_set
1291 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1292 eval ac_new_val
="\$ac_env_${ac_var}_value"
1293 case $ac_old_set,$ac_new_set in
1295 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1296 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1297 ac_cache_corrupted
=: ;;
1299 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1300 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1301 ac_cache_corrupted
=: ;;
1304 if test "x$ac_old_val" != "x$ac_new_val"; then
1305 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1306 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1307 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1308 echo "$as_me: former value: $ac_old_val" >&2;}
1309 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1310 echo "$as_me: current value: $ac_new_val" >&2;}
1311 ac_cache_corrupted
=:
1314 # Pass precious variables to config.status.
1315 if test "$ac_new_set" = set; then
1317 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1318 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1319 *) ac_arg
=$ac_var=$ac_new_val ;;
1321 case " $ac_configure_args " in
1322 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1323 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1327 if $ac_cache_corrupted; then
1328 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1329 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1330 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1331 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1332 { (exit 1); exit 1; }; }
1336 ac_cpp
='$CPP $CPPFLAGS'
1337 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1338 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1339 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1371 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1372 if test -f $ac_dir/install-sh
; then
1374 ac_install_sh
="$ac_aux_dir/install-sh -c"
1376 elif test -f $ac_dir/install.sh
; then
1378 ac_install_sh
="$ac_aux_dir/install.sh -c"
1380 elif test -f $ac_dir/shtool
; then
1382 ac_install_sh
="$ac_aux_dir/shtool install -c"
1386 if test -z "$ac_aux_dir"; then
1387 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1388 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1389 { (exit 1); exit 1; }; }
1391 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1392 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1393 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1395 # Make sure we can run config.sub.
1396 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1397 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1398 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1399 { (exit 1); exit 1; }; }
1401 echo "$as_me:$LINENO: checking build system type" >&5
1402 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1403 if test "${ac_cv_build+set}" = set; then
1404 echo $ECHO_N "(cached) $ECHO_C" >&6
1406 ac_cv_build_alias
=$build_alias
1407 test -z "$ac_cv_build_alias" &&
1408 ac_cv_build_alias
=`$ac_config_guess`
1409 test -z "$ac_cv_build_alias" &&
1410 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1411 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1412 { (exit 1); exit 1; }; }
1413 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1414 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1415 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1416 { (exit 1); exit 1; }; }
1419 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1420 echo "${ECHO_T}$ac_cv_build" >&6
1422 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1423 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1424 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1427 case ${build_alias} in
1428 "") build_noncanonical
=${build} ;;
1429 *) build_noncanonical
=${build_alias} ;;
1432 case ${host_alias} in
1433 "") host_noncanonical
=${build_noncanonical} ;;
1434 *) host_noncanonical
=${host_alias} ;;
1437 case ${target_alias} in
1438 "") target_noncanonical
=${host_noncanonical} ;;
1439 *) target_noncanonical
=${target_alias} ;;
1443 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1444 # have matching libraries, they should use host libraries: Makefile.tpl
1445 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1446 # However, they still use the build modules, because the corresponding
1447 # host modules (e.g. bison) are only built for the host when bootstrap
1449 # - build_subdir is where we find build modules, and never changes.
1450 # - build_libsubdir is where we find build libraries, and can be overridden.
1452 # Prefix 'build-' so this never conflicts with target_subdir.
1453 build_subdir
="build-${build_noncanonical}"
1455 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1456 if test "${with_build_libsubdir+set}" = set; then
1457 withval
="$with_build_libsubdir"
1458 build_libsubdir
="$withval"
1460 build_libsubdir
="$build_subdir"
1462 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1463 if ( test $srcdir = .
&& test -d gcc
) \
1464 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1465 host_subdir
="host-${host_noncanonical}"
1470 target_subdir
=${target_noncanonical}
1473 # We use these options to decide which functions to include.
1475 # Check whether --with-target-subdir or --without-target-subdir was given.
1476 if test "${with_target_subdir+set}" = set; then
1477 withval
="$with_target_subdir"
1481 # We may get other options which we don't document:
1482 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1484 # Find the rest of the source tree framework.
1485 # Default to --enable-multilib
1486 # Check whether --enable-multilib or --disable-multilib was given.
1487 if test "${enable_multilib+set}" = set; then
1488 enableval
="$enable_multilib"
1489 case "$enableval" in
1490 yes) multilib
=yes ;;
1492 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1493 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1494 { (exit 1); exit 1; }; } ;;
1500 # We may get other options which we leave undocumented:
1501 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1502 # See config-ml.in if you want the gory details.
1504 if test "$srcdir" = "."; then
1505 if test "$with_target_subdir" != "."; then
1506 multi_basedir
="$srcdir/$with_multisrctop../.."
1508 multi_basedir
="$srcdir/$with_multisrctop.."
1511 multi_basedir
="$srcdir/.."
1515 # Even if the default multilib is not a cross compilation,
1516 # it may be that some of the other multilibs are.
1517 if test $cross_compiling = no
&& test $multilib = yes \
1518 && test "x${with_multisubdir}" != x
; then
1519 cross_compiling
=maybe
1522 ac_config_commands
="$ac_config_commands default-1"
1525 echo "$as_me:$LINENO: checking host system type" >&5
1526 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1527 if test "${ac_cv_host+set}" = set; then
1528 echo $ECHO_N "(cached) $ECHO_C" >&6
1530 ac_cv_host_alias
=$host_alias
1531 test -z "$ac_cv_host_alias" &&
1532 ac_cv_host_alias
=$ac_cv_build_alias
1533 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1534 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1535 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1536 { (exit 1); exit 1; }; }
1539 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1540 echo "${ECHO_T}$ac_cv_host" >&6
1542 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1543 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1544 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1547 echo "$as_me:$LINENO: checking target system type" >&5
1548 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1549 if test "${ac_cv_target+set}" = set; then
1550 echo $ECHO_N "(cached) $ECHO_C" >&6
1552 ac_cv_target_alias
=$target_alias
1553 test "x$ac_cv_target_alias" = "x" &&
1554 ac_cv_target_alias
=$ac_cv_host_alias
1555 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1556 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1557 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1558 { (exit 1); exit 1; }; }
1561 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1562 echo "${ECHO_T}$ac_cv_target" >&6
1563 target
=$ac_cv_target
1564 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1565 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1566 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1569 # The aliases save the names the user supplied, while $host etc.
1570 # will get canonicalized.
1571 test -n "$target_alias" &&
1572 test "$program_prefix$program_suffix$program_transform_name" = \
1574 program_prefix
=${target_alias}-
1575 case ${build_alias} in
1576 "") build_noncanonical
=${build} ;;
1577 *) build_noncanonical
=${build_alias} ;;
1580 case ${target_alias} in
1581 "") target_noncanonical
=${host_noncanonical} ;;
1582 *) target_noncanonical
=${target_alias} ;;
1588 # This works around the fact that libtool configuration may change LD
1589 # for this particular configuration, but some shells, instead of
1590 # keeping the changes in LD private, export them just because LD is
1592 ORIGINAL_LD_FOR_MULTILIBS
=$LD
1594 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1595 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1597 if test "$LN_S" = "ln -s"; then
1598 echo "$as_me:$LINENO: result: yes" >&5
1599 echo "${ECHO_T}yes" >&6
1601 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1602 echo "${ECHO_T}no, using $LN_S" >&6
1606 # This works around an automake problem.
1607 mkinstalldirs
="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
1611 # Check whether --with-cross-host or --without-cross-host was given.
1612 if test "${with_cross_host+set}" = set; then
1613 withval
="$with_cross_host"
1618 # Check whether --with-newlib or --without-newlib was given.
1619 if test "${with_newlib+set}" = set; then
1620 withval
="$with_newlib"
1624 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1625 if test "${enable_version_specific_runtime_libs+set}" = set; then
1626 enableval
="$enable_version_specific_runtime_libs"
1627 case "$enableval" in
1628 yes) version_specific_libs
=yes ;;
1629 no
) version_specific_libs
=no
;;
1630 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1631 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1632 { (exit 1); exit 1; }; };;
1635 version_specific_libs
=no
1639 # Check whether --enable-plugin or --disable-plugin was given.
1640 if test "${enable_plugin+set}" = set; then
1641 enableval
="$enable_plugin"
1642 case "$enableval" in
1643 yes) plugin_enabled
=yes ;;
1644 no
) plugin_enabled
=no
;;
1645 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable plugin" >&5
1646 echo "$as_me: error: Unknown argument to enable/disable plugin" >&2;}
1647 { (exit 1); exit 1; }; };;
1654 # Check whether --enable-gconf-peer or --disable-gconf-peer was given.
1655 if test "${enable_gconf_peer+set}" = set; then
1656 enableval
="$enable_gconf_peer"
1657 case "$enableval" in
1658 yes) gconf_enabled
=yes ;;
1659 no
) gconf_enabled
=no
;;
1660 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable gconf-peer" >&5
1661 echo "$as_me: error: Unknown argument to enable/disable gconf-peer" >&2;}
1662 { (exit 1); exit 1; }; };;
1669 # Check whether --enable-java-maintainer-mode or --disable-java-maintainer-mode was given.
1670 if test "${enable_java_maintainer_mode+set}" = set; then
1671 enableval
="$enable_java_maintainer_mode"
1676 if test "$enable_java_maintainer_mode" = yes; then
1677 JAVA_MAINTAINER_MODE_TRUE
=
1678 JAVA_MAINTAINER_MODE_FALSE
='#'
1680 JAVA_MAINTAINER_MODE_TRUE
='#'
1681 JAVA_MAINTAINER_MODE_FALSE
=
1685 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
1688 # (1) We use an abnormal CXX (without library references), so we
1689 # must cache it under a different name.
1690 # (2) CC, CFLAGS, CXX, CXXFLAGS, LDFLAGS must not be 'precious', or
1691 # the non-multilib-adjusted value will be used in multilibs.
1692 # (3) As a side effect, we must SUBST CXXFLAGS, CFLAGS, and LDFLAGS ourselves.
1693 # (4) As another side effect, automake doesn't automatically include them
1695 # (5) For libstdc++-v3, -fno-builtin must be present here so that a
1696 # non-conflicting form of std::exit can be guessed by AC_PROG_CXX, and
1697 # used in later tests. This may not be necessary in libjava; I don't know.
1700 save_CXXFLAGS
="$CXXFLAGS"
1701 CXXFLAGS
="$CXXFLAGS -fno-builtin"
1703 ac_cpp
='$CPP $CPPFLAGS'
1704 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1705 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1706 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1707 if test -n "$ac_tool_prefix"; then
1708 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1709 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1710 echo "$as_me:$LINENO: checking for $ac_word" >&5
1711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1712 if test "${ac_cv_prog_CC+set}" = set; then
1713 echo $ECHO_N "(cached) $ECHO_C" >&6
1715 if test -n "$CC"; then
1716 ac_cv_prog_CC
="$CC" # Let the user override the test.
1718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1722 test -z "$as_dir" && as_dir
=.
1723 for ac_exec_ext
in '' $ac_executable_extensions; do
1724 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1725 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1735 if test -n "$CC"; then
1736 echo "$as_me:$LINENO: result: $CC" >&5
1737 echo "${ECHO_T}$CC" >&6
1739 echo "$as_me:$LINENO: result: no" >&5
1740 echo "${ECHO_T}no" >&6
1744 if test -z "$ac_cv_prog_CC"; then
1746 # Extract the first word of "gcc", so it can be a program name with args.
1747 set dummy gcc
; ac_word
=$2
1748 echo "$as_me:$LINENO: checking for $ac_word" >&5
1749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1750 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1751 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 if test -n "$ac_ct_CC"; then
1754 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1760 test -z "$as_dir" && as_dir
=.
1761 for ac_exec_ext
in '' $ac_executable_extensions; do
1762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1763 ac_cv_prog_ac_ct_CC
="gcc"
1764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1772 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1773 if test -n "$ac_ct_CC"; then
1774 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1775 echo "${ECHO_T}$ac_ct_CC" >&6
1777 echo "$as_me:$LINENO: result: no" >&5
1778 echo "${ECHO_T}no" >&6
1786 if test -z "$CC"; then
1787 if test -n "$ac_tool_prefix"; then
1788 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1789 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1790 echo "$as_me:$LINENO: checking for $ac_word" >&5
1791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1792 if test "${ac_cv_prog_CC+set}" = set; then
1793 echo $ECHO_N "(cached) $ECHO_C" >&6
1795 if test -n "$CC"; then
1796 ac_cv_prog_CC
="$CC" # Let the user override the test.
1798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1802 test -z "$as_dir" && as_dir
=.
1803 for ac_exec_ext
in '' $ac_executable_extensions; do
1804 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1805 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1815 if test -n "$CC"; then
1816 echo "$as_me:$LINENO: result: $CC" >&5
1817 echo "${ECHO_T}$CC" >&6
1819 echo "$as_me:$LINENO: result: no" >&5
1820 echo "${ECHO_T}no" >&6
1824 if test -z "$ac_cv_prog_CC"; then
1826 # Extract the first word of "cc", so it can be a program name with args.
1827 set dummy cc
; ac_word
=$2
1828 echo "$as_me:$LINENO: checking for $ac_word" >&5
1829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1830 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1831 echo $ECHO_N "(cached) $ECHO_C" >&6
1833 if test -n "$ac_ct_CC"; then
1834 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1840 test -z "$as_dir" && as_dir
=.
1841 for ac_exec_ext
in '' $ac_executable_extensions; do
1842 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1843 ac_cv_prog_ac_ct_CC
="cc"
1844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1852 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1853 if test -n "$ac_ct_CC"; then
1854 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1855 echo "${ECHO_T}$ac_ct_CC" >&6
1857 echo "$as_me:$LINENO: result: no" >&5
1858 echo "${ECHO_T}no" >&6
1867 if test -z "$CC"; then
1868 # Extract the first word of "cc", so it can be a program name with args.
1869 set dummy cc
; ac_word
=$2
1870 echo "$as_me:$LINENO: checking for $ac_word" >&5
1871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1872 if test "${ac_cv_prog_CC+set}" = set; then
1873 echo $ECHO_N "(cached) $ECHO_C" >&6
1875 if test -n "$CC"; then
1876 ac_cv_prog_CC
="$CC" # Let the user override the test.
1879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1883 test -z "$as_dir" && as_dir
=.
1884 for ac_exec_ext
in '' $ac_executable_extensions; do
1885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1886 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1887 ac_prog_rejected
=yes
1891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1897 if test $ac_prog_rejected = yes; then
1898 # We found a bogon in the path, so make sure we never use it.
1899 set dummy
$ac_cv_prog_CC
1901 if test $# != 0; then
1902 # We chose a different compiler from the bogus one.
1903 # However, it has the same basename, so the bogon will be chosen
1904 # first if we set CC to just the basename; use the full file name.
1906 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1912 if test -n "$CC"; then
1913 echo "$as_me:$LINENO: result: $CC" >&5
1914 echo "${ECHO_T}$CC" >&6
1916 echo "$as_me:$LINENO: result: no" >&5
1917 echo "${ECHO_T}no" >&6
1921 if test -z "$CC"; then
1922 if test -n "$ac_tool_prefix"; then
1925 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1926 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1927 echo "$as_me:$LINENO: checking for $ac_word" >&5
1928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1929 if test "${ac_cv_prog_CC+set}" = set; then
1930 echo $ECHO_N "(cached) $ECHO_C" >&6
1932 if test -n "$CC"; then
1933 ac_cv_prog_CC
="$CC" # Let the user override the test.
1935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1939 test -z "$as_dir" && as_dir
=.
1940 for ac_exec_ext
in '' $ac_executable_extensions; do
1941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1942 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1952 if test -n "$CC"; then
1953 echo "$as_me:$LINENO: result: $CC" >&5
1954 echo "${ECHO_T}$CC" >&6
1956 echo "$as_me:$LINENO: result: no" >&5
1957 echo "${ECHO_T}no" >&6
1960 test -n "$CC" && break
1963 if test -z "$CC"; then
1967 # Extract the first word of "$ac_prog", so it can be a program name with args.
1968 set dummy
$ac_prog; ac_word
=$2
1969 echo "$as_me:$LINENO: checking for $ac_word" >&5
1970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1971 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1972 echo $ECHO_N "(cached) $ECHO_C" >&6
1974 if test -n "$ac_ct_CC"; then
1975 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1981 test -z "$as_dir" && as_dir
=.
1982 for ac_exec_ext
in '' $ac_executable_extensions; do
1983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1984 ac_cv_prog_ac_ct_CC
="$ac_prog"
1985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1993 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1994 if test -n "$ac_ct_CC"; then
1995 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1996 echo "${ECHO_T}$ac_ct_CC" >&6
1998 echo "$as_me:$LINENO: result: no" >&5
1999 echo "${ECHO_T}no" >&6
2002 test -n "$ac_ct_CC" && break
2011 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2012 See \`config.log' for more details." >&5
2013 echo "$as_me: error: no acceptable C compiler found in \$PATH
2014 See \`config.log' for more details." >&2;}
2015 { (exit 1); exit 1; }; }
2017 # Provide some information about the compiler.
2018 echo "$as_me:$LINENO:" \
2019 "checking for C compiler version" >&5
2020 ac_compiler
=`set X $ac_compile; echo $2`
2021 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2022 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2025 (exit $ac_status); }
2026 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2027 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2030 (exit $ac_status); }
2031 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2032 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2035 (exit $ac_status); }
2037 cat >conftest.
$ac_ext <<_ACEOF
2040 cat confdefs.h
>>conftest.
$ac_ext
2041 cat >>conftest.
$ac_ext <<_ACEOF
2042 /* end confdefs.h. */
2053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2054 (eval $ac_link) 2>&5
2056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2057 (exit $ac_status); }; then
2063 if test x
$gcc_no_link = xyes
; then
2064 # Setting cross_compile will disable run tests; it will
2065 # also disable AC_CHECK_FILE but that's generally
2066 # correct if we can't link.
2070 cat >conftest.
$ac_ext <<_ACEOF
2073 cat confdefs.h
>>conftest.
$ac_ext
2074 cat >>conftest.
$ac_ext <<_ACEOF
2075 /* end confdefs.h. */
2085 ac_clean_files_save
=$ac_clean_files
2086 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2087 # Try to create an executable without -o first, disregard a.out.
2088 # It will help us diagnose broken compilers, and finding out an intuition
2090 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2091 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2092 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2093 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2094 (eval $ac_link_default) 2>&5
2096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2097 (exit $ac_status); }; then
2098 # Find the output, starting from the most likely. This scheme is
2099 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2102 # Be careful to initialize this variable, since it used to be cached.
2103 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2105 # b.out is created by i960 compilers.
2106 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2108 test -f "$ac_file" ||
continue
2110 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2113 # This is the source file.
2116 # We found the default executable, but exeext='' is most
2120 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2121 # FIXME: I believe we export ac_cv_exeext for Libtool,
2122 # but it would be cool to find out if it's true. Does anybody
2123 # maintain Libtool? --akim.
2131 echo "$as_me: failed program was:" >&5
2132 sed 's/^/| /' conftest.
$ac_ext >&5
2134 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2135 See \`config.log' for more details." >&5
2136 echo "$as_me: error: C compiler cannot create executables
2137 See \`config.log' for more details." >&2;}
2138 { (exit 77); exit 77; }; }
2141 ac_exeext
=$ac_cv_exeext
2142 echo "$as_me:$LINENO: result: $ac_file" >&5
2143 echo "${ECHO_T}$ac_file" >&6
2145 # Check the compiler produces executables we can run. If not, either
2146 # the compiler is broken, or we cross compile.
2147 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2148 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2149 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2150 # If not cross compiling, check that we can run a simple program.
2151 if test "$cross_compiling" != yes; then
2152 if { ac_try
='./$ac_file'
2153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2157 (exit $ac_status); }; }; then
2160 if test "$cross_compiling" = maybe
; then
2163 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2164 If you meant to cross compile, use \`--host'.
2165 See \`config.log' for more details." >&5
2166 echo "$as_me: error: cannot run C compiled programs.
2167 If you meant to cross compile, use \`--host'.
2168 See \`config.log' for more details." >&2;}
2169 { (exit 1); exit 1; }; }
2173 echo "$as_me:$LINENO: result: yes" >&5
2174 echo "${ECHO_T}yes" >&6
2176 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2177 ac_clean_files
=$ac_clean_files_save
2178 # Check the compiler produces executables we can run. If not, either
2179 # the compiler is broken, or we cross compile.
2180 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2181 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2182 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2183 echo "${ECHO_T}$cross_compiling" >&6
2185 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2186 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2188 (eval $ac_link) 2>&5
2190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2191 (exit $ac_status); }; then
2192 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2193 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2194 # work properly (i.e., refer to `conftest.exe'), while it won't with
2196 for ac_file
in conftest.exe conftest conftest.
*; do
2197 test -f "$ac_file" ||
continue
2199 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2200 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2207 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2208 See \`config.log' for more details." >&5
2209 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2210 See \`config.log' for more details." >&2;}
2211 { (exit 1); exit 1; }; }
2214 rm -f conftest
$ac_cv_exeext
2215 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2216 echo "${ECHO_T}$ac_cv_exeext" >&6
2218 rm -f conftest.
$ac_ext
2219 EXEEXT
=$ac_cv_exeext
2222 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2223 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2224 if test "${ac_cv_objext+set}" = set; then
2225 echo $ECHO_N "(cached) $ECHO_C" >&6
2227 cat >conftest.
$ac_ext <<_ACEOF
2230 cat confdefs.h
>>conftest.
$ac_ext
2231 cat >>conftest.
$ac_ext <<_ACEOF
2232 /* end confdefs.h. */
2242 rm -f conftest.o conftest.obj
2243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2244 (eval $ac_compile) 2>&5
2246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2247 (exit $ac_status); }; then
2248 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2250 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2251 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2256 echo "$as_me: failed program was:" >&5
2257 sed 's/^/| /' conftest.
$ac_ext >&5
2259 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2260 See \`config.log' for more details." >&5
2261 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2262 See \`config.log' for more details." >&2;}
2263 { (exit 1); exit 1; }; }
2266 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2268 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2269 echo "${ECHO_T}$ac_cv_objext" >&6
2270 OBJEXT
=$ac_cv_objext
2272 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2273 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2274 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2275 echo $ECHO_N "(cached) $ECHO_C" >&6
2277 cat >conftest.
$ac_ext <<_ACEOF
2280 cat confdefs.h
>>conftest.
$ac_ext
2281 cat >>conftest.
$ac_ext <<_ACEOF
2282 /* end confdefs.h. */
2295 rm -f conftest.
$ac_objext
2296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2297 (eval $ac_compile) 2>conftest.er1
2299 grep -v '^ *+' conftest.er1
>conftest.err
2301 cat conftest.err
>&5
2302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2303 (exit $ac_status); } &&
2304 { ac_try
='test -z "$ac_c_werror_flag"
2305 || test ! -s conftest.err'
2306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2310 (exit $ac_status); }; } &&
2311 { ac_try
='test -s conftest.$ac_objext'
2312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2316 (exit $ac_status); }; }; then
2319 echo "$as_me: failed program was:" >&5
2320 sed 's/^/| /' conftest.
$ac_ext >&5
2324 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2325 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2328 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2329 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2330 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2331 ac_test_CFLAGS
=${CFLAGS+set}
2332 ac_save_CFLAGS
=$CFLAGS
2334 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2335 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2336 if test "${ac_cv_prog_cc_g+set}" = set; then
2337 echo $ECHO_N "(cached) $ECHO_C" >&6
2339 cat >conftest.
$ac_ext <<_ACEOF
2342 cat confdefs.h
>>conftest.
$ac_ext
2343 cat >>conftest.
$ac_ext <<_ACEOF
2344 /* end confdefs.h. */
2354 rm -f conftest.
$ac_objext
2355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2356 (eval $ac_compile) 2>conftest.er1
2358 grep -v '^ *+' conftest.er1
>conftest.err
2360 cat conftest.err
>&5
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); } &&
2363 { ac_try
='test -z "$ac_c_werror_flag"
2364 || test ! -s conftest.err'
2365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369 (exit $ac_status); }; } &&
2370 { ac_try
='test -s conftest.$ac_objext'
2371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); }; }; then
2378 echo "$as_me: failed program was:" >&5
2379 sed 's/^/| /' conftest.
$ac_ext >&5
2383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2385 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2386 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2387 if test "$ac_test_CFLAGS" = set; then
2388 CFLAGS
=$ac_save_CFLAGS
2389 elif test $ac_cv_prog_cc_g = yes; then
2390 if test "$GCC" = yes; then
2396 if test "$GCC" = yes; then
2402 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2403 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2404 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2405 echo $ECHO_N "(cached) $ECHO_C" >&6
2407 ac_cv_prog_cc_stdc
=no
2409 cat >conftest.
$ac_ext <<_ACEOF
2412 cat confdefs.h
>>conftest.
$ac_ext
2413 cat >>conftest.
$ac_ext <<_ACEOF
2414 /* end confdefs.h. */
2417 #include <sys/types.h>
2418 #include <sys/stat.h>
2419 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2420 struct buf { int x; };
2421 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2422 static char *e (p, i)
2428 static char *f (char * (*g) (char **, int), char **p, ...)
2433 s = g (p, va_arg (v,int));
2438 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2439 function prototypes and stuff, but not '\xHH' hex character constants.
2440 These don't provoke an error unfortunately, instead are silently treated
2441 as 'x'. The following induces an error, until -std1 is added to get
2442 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2443 array size at least. It's necessary to write '\x00'==0 to get something
2444 that's true only with -std1. */
2445 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2447 int test (int i, double x);
2448 struct s1 {int (*f) (int a);};
2449 struct s2 {int (*f) (double a);};
2450 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2456 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2461 # Don't try gcc -ansi; that turns off useful extensions and
2462 # breaks some systems' header files.
2463 # AIX -qlanglvl=ansi
2464 # Ultrix and OSF/1 -std1
2465 # HP-UX 10.20 and later -Ae
2466 # HP-UX older versions -Aa -D_HPUX_SOURCE
2467 # SVR4 -Xc -D__EXTENSIONS__
2468 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2470 CC
="$ac_save_CC $ac_arg"
2471 rm -f conftest.
$ac_objext
2472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2473 (eval $ac_compile) 2>conftest.er1
2475 grep -v '^ *+' conftest.er1
>conftest.err
2477 cat conftest.err
>&5
2478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2479 (exit $ac_status); } &&
2480 { ac_try
='test -z "$ac_c_werror_flag"
2481 || test ! -s conftest.err'
2482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486 (exit $ac_status); }; } &&
2487 { ac_try
='test -s conftest.$ac_objext'
2488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2492 (exit $ac_status); }; }; then
2493 ac_cv_prog_cc_stdc
=$ac_arg
2496 echo "$as_me: failed program was:" >&5
2497 sed 's/^/| /' conftest.
$ac_ext >&5
2500 rm -f conftest.err conftest.
$ac_objext
2502 rm -f conftest.
$ac_ext conftest.
$ac_objext
2507 case "x$ac_cv_prog_cc_stdc" in
2509 echo "$as_me:$LINENO: result: none needed" >&5
2510 echo "${ECHO_T}none needed" >&6 ;;
2512 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2513 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2514 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2517 # Some people use a C++ compiler to compile C. Since we use `exit',
2518 # in C++ we need to declare it. In case someone uses the same compiler
2519 # for both compiling C and C++ we need to have the C++ compiler decide
2520 # the declaration of exit, since it's the most demanding environment.
2521 cat >conftest.
$ac_ext <<_ACEOF
2526 rm -f conftest.
$ac_objext
2527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2528 (eval $ac_compile) 2>conftest.er1
2530 grep -v '^ *+' conftest.er1
>conftest.err
2532 cat conftest.err
>&5
2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534 (exit $ac_status); } &&
2535 { ac_try
='test -z "$ac_c_werror_flag"
2536 || test ! -s conftest.err'
2537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); }; } &&
2542 { ac_try
='test -s conftest.$ac_objext'
2543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); }; }; then
2548 for ac_declaration
in \
2550 'extern "C" void std::exit (int) throw (); using std::exit;' \
2551 'extern "C" void std::exit (int); using std::exit;' \
2552 'extern "C" void exit (int) throw ();' \
2553 'extern "C" void exit (int);' \
2556 cat >conftest.
$ac_ext <<_ACEOF
2559 cat confdefs.h
>>conftest.
$ac_ext
2560 cat >>conftest.
$ac_ext <<_ACEOF
2561 /* end confdefs.h. */
2572 rm -f conftest.
$ac_objext
2573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2574 (eval $ac_compile) 2>conftest.er1
2576 grep -v '^ *+' conftest.er1
>conftest.err
2578 cat conftest.err
>&5
2579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2580 (exit $ac_status); } &&
2581 { ac_try
='test -z "$ac_c_werror_flag"
2582 || test ! -s conftest.err'
2583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 (exit $ac_status); }; } &&
2588 { ac_try
='test -s conftest.$ac_objext'
2589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); }; }; then
2596 echo "$as_me: failed program was:" >&5
2597 sed 's/^/| /' conftest.
$ac_ext >&5
2601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2602 cat >conftest.
$ac_ext <<_ACEOF
2605 cat confdefs.h
>>conftest.
$ac_ext
2606 cat >>conftest.
$ac_ext <<_ACEOF
2607 /* end confdefs.h. */
2617 rm -f conftest.
$ac_objext
2618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2619 (eval $ac_compile) 2>conftest.er1
2621 grep -v '^ *+' conftest.er1
>conftest.err
2623 cat conftest.err
>&5
2624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625 (exit $ac_status); } &&
2626 { ac_try
='test -z "$ac_c_werror_flag"
2627 || test ! -s conftest.err'
2628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2632 (exit $ac_status); }; } &&
2633 { ac_try
='test -s conftest.$ac_objext'
2634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638 (exit $ac_status); }; }; then
2641 echo "$as_me: failed program was:" >&5
2642 sed 's/^/| /' conftest.
$ac_ext >&5
2645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2648 if test -n "$ac_declaration"; then
2649 echo '#ifdef __cplusplus' >>confdefs.h
2650 echo $ac_declaration >>confdefs.h
2651 echo '#endif' >>confdefs.h
2655 echo "$as_me: failed program was:" >&5
2656 sed 's/^/| /' conftest.
$ac_ext >&5
2659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2661 ac_cpp
='$CPP $CPPFLAGS'
2662 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2663 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2664 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2667 ac_cpp
='$CXXCPP $CPPFLAGS'
2668 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2669 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2670 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2671 if test -n "$ac_tool_prefix"; then
2672 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2674 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2675 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2676 echo "$as_me:$LINENO: checking for $ac_word" >&5
2677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2678 if test "${ac_cv_prog_CXX+set}" = set; then
2679 echo $ECHO_N "(cached) $ECHO_C" >&6
2681 if test -n "$CXX"; then
2682 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2688 test -z "$as_dir" && as_dir
=.
2689 for ac_exec_ext
in '' $ac_executable_extensions; do
2690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2691 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2701 if test -n "$CXX"; then
2702 echo "$as_me:$LINENO: result: $CXX" >&5
2703 echo "${ECHO_T}$CXX" >&6
2705 echo "$as_me:$LINENO: result: no" >&5
2706 echo "${ECHO_T}no" >&6
2709 test -n "$CXX" && break
2712 if test -z "$CXX"; then
2714 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2716 # Extract the first word of "$ac_prog", so it can be a program name with args.
2717 set dummy
$ac_prog; ac_word
=$2
2718 echo "$as_me:$LINENO: checking for $ac_word" >&5
2719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2720 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2721 echo $ECHO_N "(cached) $ECHO_C" >&6
2723 if test -n "$ac_ct_CXX"; then
2724 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2730 test -z "$as_dir" && as_dir
=.
2731 for ac_exec_ext
in '' $ac_executable_extensions; do
2732 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2733 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2742 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2743 if test -n "$ac_ct_CXX"; then
2744 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2745 echo "${ECHO_T}$ac_ct_CXX" >&6
2747 echo "$as_me:$LINENO: result: no" >&5
2748 echo "${ECHO_T}no" >&6
2751 test -n "$ac_ct_CXX" && break
2753 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2759 # Provide some information about the compiler.
2760 echo "$as_me:$LINENO:" \
2761 "checking for C++ compiler version" >&5
2762 ac_compiler
=`set X $ac_compile; echo $2`
2763 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2764 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2767 (exit $ac_status); }
2768 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2769 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772 (exit $ac_status); }
2773 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2774 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); }
2779 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2780 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2781 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2782 echo $ECHO_N "(cached) $ECHO_C" >&6
2784 cat >conftest.
$ac_ext <<_ACEOF
2787 cat confdefs.h
>>conftest.
$ac_ext
2788 cat >>conftest.
$ac_ext <<_ACEOF
2789 /* end confdefs.h. */
2802 rm -f conftest.
$ac_objext
2803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2804 (eval $ac_compile) 2>conftest.er1
2806 grep -v '^ *+' conftest.er1
>conftest.err
2808 cat conftest.err
>&5
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); } &&
2811 { ac_try
='test -z "$ac_cxx_werror_flag"
2812 || test ! -s conftest.err'
2813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817 (exit $ac_status); }; } &&
2818 { ac_try
='test -s conftest.$ac_objext'
2819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 (exit $ac_status); }; }; then
2826 echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.
$ac_ext >&5
2831 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2832 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2835 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2836 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2837 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2838 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2839 ac_save_CXXFLAGS
=$CXXFLAGS
2841 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2842 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2843 if test "${ac_cv_prog_cxx_g+set}" = set; then
2844 echo $ECHO_N "(cached) $ECHO_C" >&6
2846 cat >conftest.
$ac_ext <<_ACEOF
2849 cat confdefs.h
>>conftest.
$ac_ext
2850 cat >>conftest.
$ac_ext <<_ACEOF
2851 /* end confdefs.h. */
2861 rm -f conftest.
$ac_objext
2862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2863 (eval $ac_compile) 2>conftest.er1
2865 grep -v '^ *+' conftest.er1
>conftest.err
2867 cat conftest.err
>&5
2868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2869 (exit $ac_status); } &&
2870 { ac_try
='test -z "$ac_cxx_werror_flag"
2871 || test ! -s conftest.err'
2872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876 (exit $ac_status); }; } &&
2877 { ac_try
='test -s conftest.$ac_objext'
2878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882 (exit $ac_status); }; }; then
2883 ac_cv_prog_cxx_g
=yes
2885 echo "$as_me: failed program was:" >&5
2886 sed 's/^/| /' conftest.
$ac_ext >&5
2890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2892 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2893 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2894 if test "$ac_test_CXXFLAGS" = set; then
2895 CXXFLAGS
=$ac_save_CXXFLAGS
2896 elif test $ac_cv_prog_cxx_g = yes; then
2897 if test "$GXX" = yes; then
2903 if test "$GXX" = yes; then
2909 for ac_declaration
in \
2911 'extern "C" void std::exit (int) throw (); using std::exit;' \
2912 'extern "C" void std::exit (int); using std::exit;' \
2913 'extern "C" void exit (int) throw ();' \
2914 'extern "C" void exit (int);' \
2917 cat >conftest.
$ac_ext <<_ACEOF
2920 cat confdefs.h
>>conftest.
$ac_ext
2921 cat >>conftest.
$ac_ext <<_ACEOF
2922 /* end confdefs.h. */
2933 rm -f conftest.
$ac_objext
2934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2935 (eval $ac_compile) 2>conftest.er1
2937 grep -v '^ *+' conftest.er1
>conftest.err
2939 cat conftest.err
>&5
2940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941 (exit $ac_status); } &&
2942 { ac_try
='test -z "$ac_cxx_werror_flag"
2943 || test ! -s conftest.err'
2944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948 (exit $ac_status); }; } &&
2949 { ac_try
='test -s conftest.$ac_objext'
2950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954 (exit $ac_status); }; }; then
2957 echo "$as_me: failed program was:" >&5
2958 sed 's/^/| /' conftest.
$ac_ext >&5
2962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2963 cat >conftest.
$ac_ext <<_ACEOF
2966 cat confdefs.h
>>conftest.
$ac_ext
2967 cat >>conftest.
$ac_ext <<_ACEOF
2968 /* end confdefs.h. */
2978 rm -f conftest.
$ac_objext
2979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2980 (eval $ac_compile) 2>conftest.er1
2982 grep -v '^ *+' conftest.er1
>conftest.err
2984 cat conftest.err
>&5
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); } &&
2987 { ac_try
='test -z "$ac_cxx_werror_flag"
2988 || test ! -s conftest.err'
2989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993 (exit $ac_status); }; } &&
2994 { ac_try
='test -s conftest.$ac_objext'
2995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999 (exit $ac_status); }; }; then
3002 echo "$as_me: failed program was:" >&5
3003 sed 's/^/| /' conftest.
$ac_ext >&5
3006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3009 if test -n "$ac_declaration"; then
3010 echo '#ifdef __cplusplus' >>confdefs.h
3011 echo $ac_declaration >>confdefs.h
3012 echo '#endif' >>confdefs.h
3016 ac_cpp
='$CPP $CPPFLAGS'
3017 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3018 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3019 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3021 CXXFLAGS
="$save_CXXFLAGS"
3027 am__api_version
="1.9"
3028 # Find a good install program. We prefer a C program (faster),
3029 # so one script is as good as another. But avoid the broken or
3030 # incompatible versions:
3031 # SysV /etc/install, /usr/sbin/install
3032 # SunOS /usr/etc/install
3033 # IRIX /sbin/install
3035 # AmigaOS /C/install, which installs bootblocks on floppy discs
3036 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3037 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3038 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3039 # OS/2's system install, which has a completely different semantic
3040 # ./install, which can be erroneously created by make from ./install.sh.
3041 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3042 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3043 if test -z "$INSTALL"; then
3044 if test "${ac_cv_path_install+set}" = set; then
3045 echo $ECHO_N "(cached) $ECHO_C" >&6
3047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3051 test -z "$as_dir" && as_dir
=.
3052 # Account for people who put trailing slashes in PATH elements.
3054 .
/ | .
// |
/cC
/* | \
3055 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3056 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3059 # OSF1 and SCO ODT 3.0 have their own names for install.
3060 # Don't use installbsd from OSF since it installs stuff as root
3062 for ac_prog
in ginstall scoinst
install; do
3063 for ac_exec_ext
in '' $ac_executable_extensions; do
3064 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3065 if test $ac_prog = install &&
3066 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3067 # AIX install. It has an incompatible calling convention.
3069 elif test $ac_prog = install &&
3070 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3071 # program-specific install script used by HP pwplus--don't use.
3074 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3086 if test "${ac_cv_path_install+set}" = set; then
3087 INSTALL
=$ac_cv_path_install
3089 # As a last resort, use the slow shell script. We don't cache a
3090 # path for INSTALL within a source directory, because that will
3091 # break other packages using the cache if that directory is
3092 # removed, or if the path is relative.
3093 INSTALL
=$ac_install_sh
3096 echo "$as_me:$LINENO: result: $INSTALL" >&5
3097 echo "${ECHO_T}$INSTALL" >&6
3099 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3100 # It thinks the first close brace ends the variable substitution.
3101 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3103 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3105 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3107 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3108 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
3111 echo timestamp
> conftest.
file
3112 # Do `set' in a subshell so we don't clobber the current shell's
3113 # arguments. Must try -L first in case configure is actually a
3114 # symlink; some systems play weird games with the mod time of symlinks
3115 # (eg FreeBSD returns the mod time of the symlink's containing
3118 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
3119 if test "$*" = "X"; then
3121 set X
`ls -t $srcdir/configure conftest.file`
3124 if test "$*" != "X $srcdir/configure conftest.file" \
3125 && test "$*" != "X conftest.file $srcdir/configure"; then
3127 # If neither matched, then we have a broken ls. This can happen
3128 # if, for instance, CONFIG_SHELL is bash and it inherits a
3129 # broken ls alias from the environment. This has actually
3130 # happened. Such a system could not be considered "sane".
3131 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
3132 alias in your environment" >&5
3133 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
3134 alias in your environment" >&2;}
3135 { (exit 1); exit 1; }; }
3138 test "$2" = conftest.
file
3144 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3145 Check your system clock" >&5
3146 echo "$as_me: error: newly created file is older than distributed files!
3147 Check your system clock" >&2;}
3148 { (exit 1); exit 1; }; }
3150 echo "$as_me:$LINENO: result: yes" >&5
3151 echo "${ECHO_T}yes" >&6
3152 test "$program_prefix" != NONE
&&
3153 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
3154 # Use a double $ so make ignores it.
3155 test "$program_suffix" != NONE
&&
3156 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
3157 # Double any \ or $. echo might interpret backslashes.
3158 # By default was `s,x,x', remove it if useless.
3159 cat <<\_ACEOF
>conftest.
sed
3160 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
3162 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
3165 # expand $ac_aux_dir to an absolute path
3166 am_aux_dir
=`cd $ac_aux_dir && pwd`
3168 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
3169 # Use eval to expand $SHELL
3170 if eval "$MISSING --run true"; then
3171 am_missing_run
="$MISSING --run "
3174 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3175 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3178 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
3179 # We used to keeping the `.' as first argument, in order to
3180 # allow $(mkdir_p) to be used without argument. As in
3181 # $(mkdir_p) $(somedir)
3182 # where $(somedir) is conditionally defined. However this is wrong
3184 # 1. if the package is installed by a user who cannot write `.'
3185 # make install will fail,
3186 # 2. the above comment should most certainly read
3187 # $(mkdir_p) $(DESTDIR)$(somedir)
3188 # so it does not work when $(somedir) is undefined and
3189 # $(DESTDIR) is not.
3190 # To support the latter case, we have to write
3191 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
3192 # so the `.' trick is pointless.
3193 mkdir_p
='mkdir -p --'
3195 # On NextStep and OpenStep, the `mkdir' command does not
3196 # recognize any option. It will interpret all options as
3197 # directories to create, and then abort because `.' already
3199 for d
in .
/-p .
/--version;
3201 test -d $d && rmdir $d
3203 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
3204 if test -f "$ac_aux_dir/mkinstalldirs"; then
3205 mkdir_p
='$(mkinstalldirs)'
3207 mkdir_p
='$(install_sh) -d'
3211 for ac_prog
in gawk mawk nawk
awk
3213 # Extract the first word of "$ac_prog", so it can be a program name with args.
3214 set dummy
$ac_prog; ac_word
=$2
3215 echo "$as_me:$LINENO: checking for $ac_word" >&5
3216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3217 if test "${ac_cv_prog_AWK+set}" = set; then
3218 echo $ECHO_N "(cached) $ECHO_C" >&6
3220 if test -n "$AWK"; then
3221 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3227 test -z "$as_dir" && as_dir
=.
3228 for ac_exec_ext
in '' $ac_executable_extensions; do
3229 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3230 ac_cv_prog_AWK
="$ac_prog"
3231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3240 if test -n "$AWK"; then
3241 echo "$as_me:$LINENO: result: $AWK" >&5
3242 echo "${ECHO_T}$AWK" >&6
3244 echo "$as_me:$LINENO: result: no" >&5
3245 echo "${ECHO_T}no" >&6
3248 test -n "$AWK" && break
3251 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3252 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3253 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3254 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3255 echo $ECHO_N "(cached) $ECHO_C" >&6
3257 cat >conftest.
make <<\_ACEOF
3259 @
echo 'ac_maketemp="$(MAKE)"'
3261 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3262 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3263 if test -n "$ac_maketemp"; then
3264 eval ac_cv_prog_make_
${ac_make}_set
=yes
3266 eval ac_cv_prog_make_
${ac_make}_set
=no
3270 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3271 echo "$as_me:$LINENO: result: yes" >&5
3272 echo "${ECHO_T}yes" >&6
3275 echo "$as_me:$LINENO: result: no" >&5
3276 echo "${ECHO_T}no" >&6
3277 SET_MAKE
="MAKE=${MAKE-make}"
3280 rm -rf .tst
2>/dev
/null
3281 mkdir .tst
2>/dev
/null
3282 if test -d .tst
; then
3287 rmdir .tst
2>/dev
/null
3289 DEPDIR
="${am__leading_dot}deps"
3291 ac_config_commands
="$ac_config_commands depfiles"
3294 am_make
=${MAKE-make}
3295 cat > confinc
<< 'END'
3300 # If we don't find an include directive, just comment out the code.
3301 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3302 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3306 # First try GNU make style include.
3307 echo "include confinc" > confmf
3308 # We grep out `Entering directory' and `Leaving directory'
3309 # messages which can occur if `w' ends up in MAKEFLAGS.
3310 # In particular we don't look at `^make:' because GNU make might
3311 # be invoked under some other name (usually "gmake"), in which
3312 # case it prints its new name instead of `make'.
3313 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3318 # Now try BSD make style include.
3319 if test "$am__include" = "#"; then
3320 echo '.include "confinc"' > confmf
3321 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3322 am__include
=.include
3329 echo "$as_me:$LINENO: result: $_am_result" >&5
3330 echo "${ECHO_T}$_am_result" >&6
3331 rm -f confinc confmf
3333 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3334 if test "${enable_dependency_tracking+set}" = set; then
3335 enableval
="$enable_dependency_tracking"
3338 if test "x$enable_dependency_tracking" != xno
; then
3339 am_depcomp
="$ac_aux_dir/depcomp"
3344 if test "x$enable_dependency_tracking" != xno; then
3354 # test to see if srcdir already configured
3355 if test "`cd $srcdir && pwd`" != "`pwd`" &&
3356 test -f $srcdir/config.status
; then
3357 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3358 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3359 { (exit 1); exit 1; }; }
3362 # test whether we have cygpath
3363 if test -z "$CYGPATH_W"; then
3364 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3365 CYGPATH_W
='cygpath -w'
3372 # Define the identity of the package.
3374 VERSION
='version-unused'
3377 cat >>confdefs.h
<<_ACEOF
3378 #define PACKAGE "$PACKAGE"
3382 cat >>confdefs.h
<<_ACEOF
3383 #define VERSION "$VERSION"
3386 # Some tools Automake needs.
3388 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3391 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3394 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3397 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3400 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3402 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3404 # Installed binaries are usually stripped using `strip' when the user
3405 # run `make install-strip'. However `strip' might not be the right
3406 # tool to use in cross-compilation environments, therefore Automake
3407 # will honor the `STRIP' environment variable to overrule this program.
3408 if test "$cross_compiling" != no
; then
3409 if test -n "$ac_tool_prefix"; then
3410 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3411 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3412 echo "$as_me:$LINENO: checking for $ac_word" >&5
3413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3414 if test "${ac_cv_prog_STRIP+set}" = set; then
3415 echo $ECHO_N "(cached) $ECHO_C" >&6
3417 if test -n "$STRIP"; then
3418 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3424 test -z "$as_dir" && as_dir
=.
3425 for ac_exec_ext
in '' $ac_executable_extensions; do
3426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3427 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3436 STRIP
=$ac_cv_prog_STRIP
3437 if test -n "$STRIP"; then
3438 echo "$as_me:$LINENO: result: $STRIP" >&5
3439 echo "${ECHO_T}$STRIP" >&6
3441 echo "$as_me:$LINENO: result: no" >&5
3442 echo "${ECHO_T}no" >&6
3446 if test -z "$ac_cv_prog_STRIP"; then
3448 # Extract the first word of "strip", so it can be a program name with args.
3449 set dummy strip
; ac_word
=$2
3450 echo "$as_me:$LINENO: checking for $ac_word" >&5
3451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3452 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3453 echo $ECHO_N "(cached) $ECHO_C" >&6
3455 if test -n "$ac_ct_STRIP"; then
3456 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3462 test -z "$as_dir" && as_dir
=.
3463 for ac_exec_ext
in '' $ac_executable_extensions; do
3464 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3465 ac_cv_prog_ac_ct_STRIP
="strip"
3466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3472 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3475 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3476 if test -n "$ac_ct_STRIP"; then
3477 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3478 echo "${ECHO_T}$ac_ct_STRIP" >&6
3480 echo "$as_me:$LINENO: result: no" >&5
3481 echo "${ECHO_T}no" >&6
3486 STRIP
="$ac_cv_prog_STRIP"
3490 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3492 # We need awk for the "check" target. The system "awk" is bad on
3494 # Always define AMTAR for backward compatibility.
3496 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3498 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3503 depcc
="$CC" am_compiler_list
=
3505 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3506 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3507 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3508 echo $ECHO_N "(cached) $ECHO_C" >&6
3510 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3511 # We make a subdir and do the tests there. Otherwise we can end up
3512 # making bogus files that we don't know about and never remove. For
3513 # instance it was reported that on HP-UX the gcc test will end up
3514 # making a dummy file named `D' -- because `-MD' means `put the output
3517 # Copy depcomp to subdir because otherwise we won't find it if we're
3518 # using a relative directory.
3519 cp "$am_depcomp" conftest.dir
3521 # We will build objects and dependencies in a subdirectory because
3522 # it helps to detect inapplicable dependency modes. For instance
3523 # both Tru64's cc and ICC support -MD to output dependencies as a
3524 # side effect of compilation, but ICC will put the dependencies in
3525 # the current directory while Tru64 will put them in the object
3529 am_cv_CC_dependencies_compiler_type
=none
3530 if test "$am_compiler_list" = ""; then
3531 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3533 for depmode
in $am_compiler_list; do
3534 # Setup a source with many dependencies, because some compilers
3535 # like to wrap large dependency lists on column 80 (with \), and
3536 # we should not choose a depcomp mode which is confused by this.
3538 # We need to recreate these files for each test, as the compiler may
3539 # overwrite some of them when testing with obscure command lines.
3540 # This happens at least with the AIX C compiler.
3542 for i
in 1 2 3 4 5 6; do
3543 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3544 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3545 # Solaris 8's {/usr,}/bin/sh.
3546 touch sub
/conftst
$i.h
3548 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3552 # after this tag, mechanisms are not by side-effect, so they'll
3553 # only be used when explicitly requested
3554 if test "x$enable_dependency_tracking" = xyes
; then
3562 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3563 # mode. It turns out that the SunPro C++ compiler does not properly
3564 # handle `-M -o', and we need to detect this.
3565 if depmode
=$depmode \
3566 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3567 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3568 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3569 >/dev
/null
2>conftest.err
&&
3570 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3571 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3572 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3573 # icc doesn't choke on unknown options, it will just issue warnings
3574 # or remarks (even with -Werror). So we grep stderr for any message
3575 # that says an option was ignored or not supported.
3576 # When given -MP, icc 7.0 and 7.1 complain thusly:
3577 # icc: Command line warning: ignoring option '-M'; no argument required
3578 # The diagnosis changed in icc 8.0:
3579 # icc: Command line remark: option '-MP' not supported
3580 if (grep 'ignoring option' conftest.err ||
3581 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3582 am_cv_CC_dependencies_compiler_type
=$depmode
3591 am_cv_CC_dependencies_compiler_type
=none
3595 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3596 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3597 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3602 test "x$enable_dependency_tracking" != xno \
3603 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3605 am__fastdepCC_FALSE
='#'
3607 am__fastdepCC_TRUE
='#'
3608 am__fastdepCC_FALSE
=
3612 depcc
="$CXX" am_compiler_list
=
3614 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3615 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3616 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3617 echo $ECHO_N "(cached) $ECHO_C" >&6
3619 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3620 # We make a subdir and do the tests there. Otherwise we can end up
3621 # making bogus files that we don't know about and never remove. For
3622 # instance it was reported that on HP-UX the gcc test will end up
3623 # making a dummy file named `D' -- because `-MD' means `put the output
3626 # Copy depcomp to subdir because otherwise we won't find it if we're
3627 # using a relative directory.
3628 cp "$am_depcomp" conftest.dir
3630 # We will build objects and dependencies in a subdirectory because
3631 # it helps to detect inapplicable dependency modes. For instance
3632 # both Tru64's cc and ICC support -MD to output dependencies as a
3633 # side effect of compilation, but ICC will put the dependencies in
3634 # the current directory while Tru64 will put them in the object
3638 am_cv_CXX_dependencies_compiler_type
=none
3639 if test "$am_compiler_list" = ""; then
3640 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3642 for depmode
in $am_compiler_list; do
3643 # Setup a source with many dependencies, because some compilers
3644 # like to wrap large dependency lists on column 80 (with \), and
3645 # we should not choose a depcomp mode which is confused by this.
3647 # We need to recreate these files for each test, as the compiler may
3648 # overwrite some of them when testing with obscure command lines.
3649 # This happens at least with the AIX C compiler.
3651 for i
in 1 2 3 4 5 6; do
3652 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3653 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3654 # Solaris 8's {/usr,}/bin/sh.
3655 touch sub
/conftst
$i.h
3657 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3661 # after this tag, mechanisms are not by side-effect, so they'll
3662 # only be used when explicitly requested
3663 if test "x$enable_dependency_tracking" = xyes
; then
3671 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3672 # mode. It turns out that the SunPro C++ compiler does not properly
3673 # handle `-M -o', and we need to detect this.
3674 if depmode
=$depmode \
3675 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3676 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3677 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3678 >/dev
/null
2>conftest.err
&&
3679 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3680 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3681 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3682 # icc doesn't choke on unknown options, it will just issue warnings
3683 # or remarks (even with -Werror). So we grep stderr for any message
3684 # that says an option was ignored or not supported.
3685 # When given -MP, icc 7.0 and 7.1 complain thusly:
3686 # icc: Command line warning: ignoring option '-M'; no argument required
3687 # The diagnosis changed in icc 8.0:
3688 # icc: Command line remark: option '-MP' not supported
3689 if (grep 'ignoring option' conftest.err ||
3690 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3691 am_cv_CXX_dependencies_compiler_type
=$depmode
3700 am_cv_CXX_dependencies_compiler_type
=none
3704 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3705 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3706 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3711 test "x$enable_dependency_tracking" != xno \
3712 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3713 am__fastdepCXX_TRUE
=
3714 am__fastdepCXX_FALSE
='#'
3716 am__fastdepCXX_TRUE
='#'
3717 am__fastdepCXX_FALSE
=
3723 if test -n "$ac_tool_prefix"; then
3724 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3725 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3726 echo "$as_me:$LINENO: checking for $ac_word" >&5
3727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3728 if test "${ac_cv_prog_AS+set}" = set; then
3729 echo $ECHO_N "(cached) $ECHO_C" >&6
3731 if test -n "$AS"; then
3732 ac_cv_prog_AS
="$AS" # Let the user override the test.
3734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3738 test -z "$as_dir" && as_dir
=.
3739 for ac_exec_ext
in '' $ac_executable_extensions; do
3740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3741 ac_cv_prog_AS
="${ac_tool_prefix}as"
3742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3751 if test -n "$AS"; then
3752 echo "$as_me:$LINENO: result: $AS" >&5
3753 echo "${ECHO_T}$AS" >&6
3755 echo "$as_me:$LINENO: result: no" >&5
3756 echo "${ECHO_T}no" >&6
3760 if test -z "$ac_cv_prog_AS"; then
3762 # Extract the first word of "as", so it can be a program name with args.
3763 set dummy as
; ac_word
=$2
3764 echo "$as_me:$LINENO: checking for $ac_word" >&5
3765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3766 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3767 echo $ECHO_N "(cached) $ECHO_C" >&6
3769 if test -n "$ac_ct_AS"; then
3770 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3776 test -z "$as_dir" && as_dir
=.
3777 for ac_exec_ext
in '' $ac_executable_extensions; do
3778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3779 ac_cv_prog_ac_ct_AS
="as"
3780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3788 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3789 if test -n "$ac_ct_AS"; then
3790 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3791 echo "${ECHO_T}$ac_ct_AS" >&6
3793 echo "$as_me:$LINENO: result: no" >&5
3794 echo "${ECHO_T}no" >&6
3802 if test -n "$ac_tool_prefix"; then
3803 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
3804 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
3805 echo "$as_me:$LINENO: checking for $ac_word" >&5
3806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3807 if test "${ac_cv_prog_LD+set}" = set; then
3808 echo $ECHO_N "(cached) $ECHO_C" >&6
3810 if test -n "$LD"; then
3811 ac_cv_prog_LD
="$LD" # Let the user override the test.
3813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3817 test -z "$as_dir" && as_dir
=.
3818 for ac_exec_ext
in '' $ac_executable_extensions; do
3819 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3820 ac_cv_prog_LD
="${ac_tool_prefix}ld"
3821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3830 if test -n "$LD"; then
3831 echo "$as_me:$LINENO: result: $LD" >&5
3832 echo "${ECHO_T}$LD" >&6
3834 echo "$as_me:$LINENO: result: no" >&5
3835 echo "${ECHO_T}no" >&6
3839 if test -z "$ac_cv_prog_LD"; then
3841 # Extract the first word of "ld", so it can be a program name with args.
3842 set dummy ld
; ac_word
=$2
3843 echo "$as_me:$LINENO: checking for $ac_word" >&5
3844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3845 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
3846 echo $ECHO_N "(cached) $ECHO_C" >&6
3848 if test -n "$ac_ct_LD"; then
3849 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
3851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3855 test -z "$as_dir" && as_dir
=.
3856 for ac_exec_ext
in '' $ac_executable_extensions; do
3857 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3858 ac_cv_prog_ac_ct_LD
="ld"
3859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3867 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
3868 if test -n "$ac_ct_LD"; then
3869 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
3870 echo "${ECHO_T}$ac_ct_LD" >&6
3872 echo "$as_me:$LINENO: result: no" >&5
3873 echo "${ECHO_T}no" >&6
3881 if test -n "$ac_tool_prefix"; then
3882 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3883 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3884 echo "$as_me:$LINENO: checking for $ac_word" >&5
3885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3886 if test "${ac_cv_prog_AR+set}" = set; then
3887 echo $ECHO_N "(cached) $ECHO_C" >&6
3889 if test -n "$AR"; then
3890 ac_cv_prog_AR
="$AR" # Let the user override the test.
3892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3896 test -z "$as_dir" && as_dir
=.
3897 for ac_exec_ext
in '' $ac_executable_extensions; do
3898 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3899 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3909 if test -n "$AR"; then
3910 echo "$as_me:$LINENO: result: $AR" >&5
3911 echo "${ECHO_T}$AR" >&6
3913 echo "$as_me:$LINENO: result: no" >&5
3914 echo "${ECHO_T}no" >&6
3918 if test -z "$ac_cv_prog_AR"; then
3920 # Extract the first word of "ar", so it can be a program name with args.
3921 set dummy
ar; ac_word
=$2
3922 echo "$as_me:$LINENO: checking for $ac_word" >&5
3923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3924 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3925 echo $ECHO_N "(cached) $ECHO_C" >&6
3927 if test -n "$ac_ct_AR"; then
3928 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3934 test -z "$as_dir" && as_dir
=.
3935 for ac_exec_ext
in '' $ac_executable_extensions; do
3936 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3937 ac_cv_prog_ac_ct_AR
="ar"
3938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3946 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3947 if test -n "$ac_ct_AR"; then
3948 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3949 echo "${ECHO_T}$ac_ct_AR" >&6
3951 echo "$as_me:$LINENO: result: no" >&5
3952 echo "${ECHO_T}no" >&6
3960 if test -n "$ac_tool_prefix"; then
3961 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3962 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3963 echo "$as_me:$LINENO: checking for $ac_word" >&5
3964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3965 if test "${ac_cv_prog_RANLIB+set}" = set; then
3966 echo $ECHO_N "(cached) $ECHO_C" >&6
3968 if test -n "$RANLIB"; then
3969 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3975 test -z "$as_dir" && as_dir
=.
3976 for ac_exec_ext
in '' $ac_executable_extensions; do
3977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3978 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3987 RANLIB
=$ac_cv_prog_RANLIB
3988 if test -n "$RANLIB"; then
3989 echo "$as_me:$LINENO: result: $RANLIB" >&5
3990 echo "${ECHO_T}$RANLIB" >&6
3992 echo "$as_me:$LINENO: result: no" >&5
3993 echo "${ECHO_T}no" >&6
3997 if test -z "$ac_cv_prog_RANLIB"; then
3998 ac_ct_RANLIB
=$RANLIB
3999 # Extract the first word of "ranlib", so it can be a program name with args.
4000 set dummy ranlib
; ac_word
=$2
4001 echo "$as_me:$LINENO: checking for $ac_word" >&5
4002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4003 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4004 echo $ECHO_N "(cached) $ECHO_C" >&6
4006 if test -n "$ac_ct_RANLIB"; then
4007 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4013 test -z "$as_dir" && as_dir
=.
4014 for ac_exec_ext
in '' $ac_executable_extensions; do
4015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4016 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4023 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4026 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4027 if test -n "$ac_ct_RANLIB"; then
4028 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4029 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4031 echo "$as_me:$LINENO: result: no" >&5
4032 echo "${ECHO_T}no" >&6
4035 RANLIB
=$ac_ct_RANLIB
4037 RANLIB
="$ac_cv_prog_RANLIB"
4040 for ac_prog
in gawk mawk nawk
awk
4042 # Extract the first word of "$ac_prog", so it can be a program name with args.
4043 set dummy
$ac_prog; ac_word
=$2
4044 echo "$as_me:$LINENO: checking for $ac_word" >&5
4045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4046 if test "${ac_cv_prog_AWK+set}" = set; then
4047 echo $ECHO_N "(cached) $ECHO_C" >&6
4049 if test -n "$AWK"; then
4050 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4056 test -z "$as_dir" && as_dir
=.
4057 for ac_exec_ext
in '' $ac_executable_extensions; do
4058 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4059 ac_cv_prog_AWK
="$ac_prog"
4060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4069 if test -n "$AWK"; then
4070 echo "$as_me:$LINENO: result: $AWK" >&5
4071 echo "${ECHO_T}$AWK" >&6
4073 echo "$as_me:$LINENO: result: no" >&5
4074 echo "${ECHO_T}no" >&6
4077 test -n "$AWK" && break
4080 for ac_prog
in jar fastjar gjar
4082 # Extract the first word of "$ac_prog", so it can be a program name with args.
4083 set dummy
$ac_prog; ac_word
=$2
4084 echo "$as_me:$LINENO: checking for $ac_word" >&5
4085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4086 if test "${ac_cv_prog_JAR+set}" = set; then
4087 echo $ECHO_N "(cached) $ECHO_C" >&6
4089 if test -n "$JAR"; then
4090 ac_cv_prog_JAR
="$JAR" # Let the user override the test.
4092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4096 test -z "$as_dir" && as_dir
=.
4097 for ac_exec_ext
in '' $ac_executable_extensions; do
4098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4099 ac_cv_prog_JAR
="$ac_prog"
4100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4109 if test -n "$JAR"; then
4110 echo "$as_me:$LINENO: result: $JAR" >&5
4111 echo "${ECHO_T}$JAR" >&6
4113 echo "$as_me:$LINENO: result: no" >&5
4114 echo "${ECHO_T}no" >&6
4117 test -n "$JAR" && break
4119 test -n "$JAR" || JAR
="no"
4121 # Extract the first word of "zip", so it can be a program name with args.
4122 set dummy
zip; ac_word
=$2
4123 echo "$as_me:$LINENO: checking for $ac_word" >&5
4124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4125 if test "${ac_cv_path_ZIP+set}" = set; then
4126 echo $ECHO_N "(cached) $ECHO_C" >&6
4130 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
4133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4137 test -z "$as_dir" && as_dir
=.
4138 for ac_exec_ext
in '' $ac_executable_extensions; do
4139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4140 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
4141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4147 test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP
="no"
4153 if test -n "$ZIP"; then
4154 echo "$as_me:$LINENO: result: $ZIP" >&5
4155 echo "${ECHO_T}$ZIP" >&6
4157 echo "$as_me:$LINENO: result: no" >&5
4158 echo "${ECHO_T}no" >&6
4161 # Extract the first word of "unzip", so it can be a program name with args.
4162 set dummy
unzip; ac_word
=$2
4163 echo "$as_me:$LINENO: checking for $ac_word" >&5
4164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4165 if test "${ac_cv_path_UNZIP+set}" = set; then
4166 echo $ECHO_N "(cached) $ECHO_C" >&6
4170 ac_cv_path_UNZIP
="$UNZIP" # Let the user override the test with a path.
4173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4177 test -z "$as_dir" && as_dir
=.
4178 for ac_exec_ext
in '' $ac_executable_extensions; do
4179 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4180 ac_cv_path_UNZIP
="$as_dir/$ac_word$ac_exec_ext"
4181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4187 test -z "$ac_cv_path_UNZIP" && ac_cv_path_UNZIP
="unzip"
4191 UNZIP
=$ac_cv_path_UNZIP
4193 if test -n "$UNZIP"; then
4194 echo "$as_me:$LINENO: result: $UNZIP" >&5
4195 echo "${ECHO_T}$UNZIP" >&6
4197 echo "$as_me:$LINENO: result: no" >&5
4198 echo "${ECHO_T}no" >&6
4203 if test "$JAR" = no
; then
4211 if test "$ZIP" = no
; then
4212 if test "$JAR" = no
; then
4213 { { echo "$as_me:$LINENO: error: cannot find neither zip nor jar, cannot continue" >&5
4214 echo "$as_me: error: cannot find neither zip nor jar, cannot continue" >&2;}
4215 { (exit 1); exit 1; }; }
4218 # InfoZIP available, use the 'guaranteed' Bourne-shell JAR to build libjava
4219 JAR
=`pwd`/scripts
/jar
4222 # Find a good install program. We prefer a C program (faster),
4223 # so one script is as good as another. But avoid the broken or
4224 # incompatible versions:
4225 # SysV /etc/install, /usr/sbin/install
4226 # SunOS /usr/etc/install
4227 # IRIX /sbin/install
4229 # AmigaOS /C/install, which installs bootblocks on floppy discs
4230 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4231 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4232 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4233 # OS/2's system install, which has a completely different semantic
4234 # ./install, which can be erroneously created by make from ./install.sh.
4235 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4236 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4237 if test -z "$INSTALL"; then
4238 if test "${ac_cv_path_install+set}" = set; then
4239 echo $ECHO_N "(cached) $ECHO_C" >&6
4241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4245 test -z "$as_dir" && as_dir
=.
4246 # Account for people who put trailing slashes in PATH elements.
4248 .
/ | .
// |
/cC
/* | \
4249 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4250 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4253 # OSF1 and SCO ODT 3.0 have their own names for install.
4254 # Don't use installbsd from OSF since it installs stuff as root
4256 for ac_prog
in ginstall scoinst
install; do
4257 for ac_exec_ext
in '' $ac_executable_extensions; do
4258 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4259 if test $ac_prog = install &&
4260 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4261 # AIX install. It has an incompatible calling convention.
4263 elif test $ac_prog = install &&
4264 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4265 # program-specific install script used by HP pwplus--don't use.
4268 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4280 if test "${ac_cv_path_install+set}" = set; then
4281 INSTALL
=$ac_cv_path_install
4283 # As a last resort, use the slow shell script. We don't cache a
4284 # path for INSTALL within a source directory, because that will
4285 # break other packages using the cache if that directory is
4286 # removed, or if the path is relative.
4287 INSTALL
=$ac_install_sh
4290 echo "$as_me:$LINENO: result: $INSTALL" >&5
4291 echo "${ECHO_T}$INSTALL" >&6
4293 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4294 # It thinks the first close brace ends the variable substitution.
4295 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4297 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4299 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4302 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4303 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4304 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4305 if test "${enable_maintainer_mode+set}" = set; then
4306 enableval
="$enable_maintainer_mode"
4307 USE_MAINTAINER_MODE
=$enableval
4309 USE_MAINTAINER_MODE
=no
4311 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4312 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4315 if test $USE_MAINTAINER_MODE = yes; then
4316 MAINTAINER_MODE_TRUE
=
4317 MAINTAINER_MODE_FALSE
='#'
4319 MAINTAINER_MODE_TRUE
='#'
4320 MAINTAINER_MODE_FALSE
=
4323 MAINT
=$MAINTAINER_MODE_TRUE
4329 # configure.host sets the following important variables
4330 # libgcj_cflags - host specific C compiler flags
4331 # libgcj_cxxflags - host specific C++ compiler flags
4332 # libgcj_javaflags - host specific Java compiler flags
4338 .
${srcdir}/configure.
host
4340 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4341 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4342 if test "${acl_cv_prog_gnu_ld+set}" = set; then
4343 echo $ECHO_N "(cached) $ECHO_C" >&6
4345 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4346 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4347 acl_cv_prog_gnu_ld
=yes
4349 acl_cv_prog_gnu_ld
=no
4352 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
4353 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
4354 with_gnu_ld
=$acl_cv_prog_gnu_ld
4356 echo "$as_me:$LINENO: checking if the GNU linker ($LD) supports -Bsymbolic-functions" >&5
4357 echo $ECHO_N "checking if the GNU linker ($LD) supports -Bsymbolic-functions... $ECHO_C" >&6
4358 if test "${acl_cv_prog_gnu_ld_symbolic+set}" = set; then
4359 echo $ECHO_N "(cached) $ECHO_C" >&6
4362 acl_cv_prog_gnu_ld_symbolic
=no
4364 if test x
"$with_gnu_ld" = x
"yes"; then
4365 if $LD --help 2>&1 </dev
/null |
grep Bsymbolic-functions
1>&5; then
4366 acl_cv_prog_gnu_ld_symbolic
=yes
4370 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld_symbolic" >&5
4371 echo "${ECHO_T}$acl_cv_prog_gnu_ld_symbolic" >&6
4372 if test x
"$acl_cv_prog_gnu_ld_symbolic" = x
"yes"; then
4373 SYMBOLIC_LDFLAGS
="-Wl,-Bsymbolic-functions"
4378 libgcj_ld_symbolic_functions
=$SYMBOLIC_LDFLAGS
4379 if test -z "$libgcj_ld_symbolic"; then
4380 libgcj_ld_symbolic
=$SYMBOLIC_LDFLAGS
4383 LIBGCJ_CFLAGS
="${libgcj_cflags}"
4384 LIBGCJ_CXXFLAGS
="${libgcj_cxxflags}"
4385 LIBGCJ_JAVAFLAGS
="${libgcj_javaflags}"
4386 LIBGCJ_LD_SYMBOLIC
="${libgcj_ld_symbolic}"
4387 LIBGCJ_LD_SYMBOLIC_FUNCTIONS
="${libgcj_ld_symbolic_functions}"
4394 # Only use libltdl for non-newlib builds.
4395 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
4396 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
4397 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
4399 libname_spec
='lib$name'
4407 shlibpath_overrides_runpath
=unknown
4409 dynamic_linker
="$host_os ld.so"
4410 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
4411 if test "$GCC" = yes; then
4412 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
4413 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
4414 # if the path contains ";" then we assume it to be the separator
4415 # otherwise default to the standard path separator (i.e. ":") - it is
4416 # assumed that no part of a normal pathname contains ";" but that should
4417 # okay in the real world where ";" in dirpaths is itself problematic.
4418 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
4420 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
4423 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
4425 need_lib_prefix
=unknown
4426 hardcode_into_libs
=no
4428 # when you set need_version to no, make sure it does not cause -set_version
4429 # flags to be left without arguments
4430 need_version
=unknown
4435 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
4436 shlibpath_var
=LIBPATH
4438 # AIX 3 has no versioning support, so we append a major version to the name.
4439 soname_spec
='${libname}${release}${shared_ext}$major'
4446 hardcode_into_libs
=yes
4447 if test "$host_cpu" = ia64
; then
4448 # AIX 5 supports IA64
4449 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
4450 shlibpath_var
=LD_LIBRARY_PATH
4452 # With GCC up to 2.95.x, collect2 would create an import file
4453 # for dependence libraries. The import file would start with
4454 # the line `#! .'. This would cause the generated library to
4455 # depend on `.', always an invalid library. This was fixed in
4456 # development snapshots of GCC prior to 3.0.
4458 aix4 | aix4.
[01] | aix4.
[01].
*)
4459 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
4461 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
4468 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
4469 # soname into executable. Probably we can add versioning support to
4470 # collect2, so additional links can be useful in future.
4471 if test "$aix_use_runtimelinking" = yes; then
4472 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
4473 # instead of lib<name>.a to let people know that these are not
4474 # typical AIX shared libraries.
4475 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4477 # We preserve .a as extension for shared libraries through AIX4.2
4478 # and later when we are not doing run time linking.
4479 library_names_spec
='${libname}${release}.a $libname.a'
4480 soname_spec
='${libname}${release}${shared_ext}$major'
4482 shlibpath_var
=LIBPATH
4487 library_names_spec
='$libname.ixlibrary $libname.a'
4488 # Create ${libname}_ixlibrary.a entries in /sys/libs.
4489 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'
4493 library_names_spec
='${libname}${shared_ext}'
4494 dynamic_linker
="$host_os ld.so"
4495 shlibpath_var
=LIBRARY_PATH
4501 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4502 soname_spec
='${libname}${release}${shared_ext}$major'
4503 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
4504 shlibpath_var
=LD_LIBRARY_PATH
4505 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
4506 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
4507 # the default ld.so.conf also contains /usr/contrib/lib and
4508 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
4509 # libtool to hard-code these into programs
4512 cygwin
* | mingw
* | pw32
*)
4513 version_type
=windows
4518 case $GCC,$host_os in
4519 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
4520 library_names_spec
='$libname.dll.a'
4521 # DLL is installed to $(libdir)/../bin by postinstall_cmds
4522 postinstall_cmds
='base_file=`basename \${file}`~
4523 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
4524 dldir=$destdir/`dirname \$dlpath`~
4525 test -d \$dldir || mkdir -p \$dldir~
4526 $install_prog $dir/$dlname \$dldir/$dlname'
4527 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
4528 dlpath=$dir/\$dldll~
4530 shlibpath_overrides_runpath
=yes
4534 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
4535 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
4536 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
4539 # MinGW DLLs use traditional 'lib' prefix
4540 soname_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
4541 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
4542 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
4543 # It is most probably a Windows format PATH printed by
4544 # mingw gcc, but we are running on Cygwin. Gcc prints its search
4545 # path with ; separators, and with drive letters. We can handle the
4546 # drive letters (cygwin fileutils understands them), so leave them,
4547 # especially as we might pass files found there to a mingw objdump,
4548 # which wouldn't understand a cygwinified path. Ahh.
4549 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
4551 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
4555 # pw32 DLLs use 'pw' prefix rather than 'lib'
4556 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}${shared_ext}'
4562 library_names_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
4565 dynamic_linker
='Win32 ld.exe'
4566 # FIXME: first we should search . and the directory the executable is in
4570 darwin
* | rhapsody
*)
4571 dynamic_linker
="$host_os dyld"
4575 # FIXME: Relying on posixy $() will cause problems for
4576 # cross-compilation, but unfortunately the echo tests do not
4577 # yet detect zsh echo's removal of \ escapes.
4578 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
4579 soname_spec
='${libname}${release}${major}$shared_ext'
4580 shlibpath_overrides_runpath
=yes
4581 shlibpath_var
=DYLD_LIBRARY_PATH
4582 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
4583 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
4584 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
4585 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"`
4587 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
4594 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
4595 soname_spec
='${libname}${release}${shared_ext}$major'
4596 shlibpath_var
=LD_LIBRARY_PATH
4604 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
4605 version_type
=freebsd-
$objformat
4606 case $version_type in
4608 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
4613 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
4617 shlibpath_var
=LD_LIBRARY_PATH
4620 shlibpath_overrides_runpath
=yes
4622 freebsd3.01
* | freebsdelf3.01
*)
4623 shlibpath_overrides_runpath
=yes
4624 hardcode_into_libs
=yes
4627 shlibpath_overrides_runpath
=no
4628 hardcode_into_libs
=yes
4637 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
4638 soname_spec
='${libname}${release}${shared_ext}$major'
4639 shlibpath_var
=LD_LIBRARY_PATH
4640 hardcode_into_libs
=yes
4643 hpux9
* | hpux10
* | hpux11
*)
4644 # Give a soname corresponding to the major version so that dld.sl refuses to
4645 # link against other versions.
4652 hardcode_into_libs
=yes
4653 dynamic_linker
="$host_os dld.so"
4654 shlibpath_var
=LD_LIBRARY_PATH
4655 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
4656 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4657 soname_spec
='${libname}${release}${shared_ext}$major'
4658 if test "X$HPUX_IA64_MODE" = X32
; then
4659 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
4661 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
4663 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
4667 hardcode_into_libs
=yes
4668 dynamic_linker
="$host_os dld.sl"
4669 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
4670 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
4671 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4672 soname_spec
='${libname}${release}${shared_ext}$major'
4673 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
4674 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
4678 dynamic_linker
="$host_os dld.sl"
4679 shlibpath_var
=SHLIB_PATH
4680 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
4681 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4682 soname_spec
='${libname}${release}${shared_ext}$major'
4685 # HP-UX runs *really* slowly unless shared libraries are mode 555.
4686 postinstall_cmds
='chmod 555 $lib'
4689 irix5
* | irix6
* | nonstopux
*)
4691 nonstopux
*) version_type
=nonstopux
;;
4693 if test "$lt_cv_prog_gnu_ld" = yes; then
4701 soname_spec
='${libname}${release}${shared_ext}$major'
4702 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
4704 irix5
* | nonstopux
*)
4708 case $LD in # libtool.m4 will add one of these switches to LD
4709 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
4710 libsuff
= shlibsuff
= libmagic
=32-bit;;
4711 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
4712 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
4713 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
4714 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
4715 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
4719 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
4720 shlibpath_overrides_runpath
=no
4721 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
4722 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
4723 hardcode_into_libs
=yes
4726 # No shared lib support for Linux oldld, aout, or coff.
4727 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
4731 # This must be Linux ELF.
4736 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4737 soname_spec
='${libname}${release}${shared_ext}$major'
4738 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
4739 shlibpath_var
=LD_LIBRARY_PATH
4740 shlibpath_overrides_runpath
=no
4741 # This implies no fast_install, which is unacceptable.
4742 # Some rework will be needed to allow for fast_install
4743 # before this can be enabled.
4744 hardcode_into_libs
=yes
4746 # We used to test for /lib/ld.so.1 and disable shared libraries on
4747 # powerpc, because MkLinux only supported shared libraries with the
4748 # GNU dynamic linker. Since this was broken with cross compilers,
4749 # most powerpc-linux boxes support dynamic linking these days and
4750 # people can always --disable-shared, the test was removed, and we
4751 # assume the GNU/Linux dynamic linker is in use.
4752 dynamic_linker
='GNU/Linux ld.so'
4759 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
4760 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4761 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4762 dynamic_linker
='NetBSD (a.out) ld.so'
4764 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
4765 soname_spec
='${libname}${release}${shared_ext}$major'
4766 dynamic_linker
='NetBSD ld.elf_so'
4768 shlibpath_var
=LD_LIBRARY_PATH
4769 shlibpath_overrides_runpath
=yes
4770 hardcode_into_libs
=yes
4775 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4776 shlibpath_var
=LD_LIBRARY_PATH
4777 shlibpath_overrides_runpath
=yes
4784 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4785 soname_spec
='${libname}${release}${shared_ext}$major'
4786 shlibpath_var
=LD_LIBRARY_PATH
4787 shlibpath_overrides_runpath
=yes
4794 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4795 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4796 shlibpath_var
=LD_LIBRARY_PATH
4797 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4799 openbsd2.
[89] | openbsd2.
[89].
*)
4800 shlibpath_overrides_runpath
=no
4803 shlibpath_overrides_runpath
=yes
4807 shlibpath_overrides_runpath
=yes
4812 libname_spec
='$name'
4815 library_names_spec
='$libname${shared_ext} $libname.a'
4816 dynamic_linker
='OS/2 ld.exe'
4817 shlibpath_var
=LIBPATH
4820 osf3
* | osf4
* | osf5
*)
4824 soname_spec
='${libname}${release}${shared_ext}$major'
4825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4826 shlibpath_var
=LD_LIBRARY_PATH
4827 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
4828 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
4833 soname_spec
='${libname}${release}${shared_ext}$major'
4834 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4835 shlibpath_var
=LD_LIBRARY_PATH
4842 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4843 soname_spec
='${libname}${release}${shared_ext}$major'
4844 shlibpath_var
=LD_LIBRARY_PATH
4845 shlibpath_overrides_runpath
=yes
4846 hardcode_into_libs
=yes
4847 # ldd complains unless libraries are executable
4848 postinstall_cmds
='chmod +x $lib'
4853 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4854 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
4855 shlibpath_var
=LD_LIBRARY_PATH
4856 shlibpath_overrides_runpath
=yes
4857 if test "$with_gnu_ld" = yes; then
4863 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
4865 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4866 soname_spec
='${libname}${release}${shared_ext}$major'
4867 shlibpath_var
=LD_LIBRARY_PATH
4868 case $host_vendor in
4870 shlibpath_overrides_runpath
=no
4872 export_dynamic_flag_spec
='${wl}-Blargedynsym'
4873 runpath_var
=LD_RUN_PATH
4881 shlibpath_overrides_runpath
=no
4882 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
4888 if test -d /usr
/nec
;then
4890 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
4891 soname_spec
='$libname${shared_ext}.$major'
4892 shlibpath_var
=LD_LIBRARY_PATH
4898 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4899 soname_spec
='${libname}${release}${shared_ext}$major'
4900 shlibpath_var
=LD_LIBRARY_PATH
4907 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
4908 echo "${ECHO_T}$dynamic_linker" >&6
4909 test "$dynamic_linker" = no
&& can_build_shared
=no
4912 echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
4913 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6
4914 if test "${libltdl_cv_shlibpath_var+set}" = set; then
4915 echo $ECHO_N "(cached) $ECHO_C" >&6
4917 libltdl_cv_shlibpath_var
="$shlibpath_var"
4919 echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
4920 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6
4921 if test -n "$libltdl_cv_shlibpath_var"; then
4923 cat >>confdefs.h
<<_ACEOF
4924 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
4931 ac_config_headers
="$ac_config_headers include/config.h gcj/libgcj-config.h"
4934 # See if the user has requested runtime debugging.
4935 LIBGCJDEBUG
="disable"
4937 # Check whether --enable-libgcj-debug or --disable-libgcj-debug was given.
4938 if test "${enable_libgcj_debug+set}" = set; then
4939 enableval
="$enable_libgcj_debug"
4940 if test "$enable_libgcj_debug" = yes; then
4942 cat >>confdefs.h
<<\_ACEOF
4946 LIBGCJDEBUG
="enable"
4951 # Check whether --with-escher or --without-escher was given.
4952 if test "${with_escher+set}" = set; then
4953 withval
="$with_escher"
4956 case "$with_escher" in
4964 { { echo "$as_me:$LINENO: error: Please supply an absolute path to Escher library" >&5
4965 echo "$as_me: error: Please supply an absolute path to Escher library" >&2;}
4966 { (exit 1); exit 1; }; }
4973 # Determine which AWT peer libraries to build
4974 # Check whether --enable-java-awt or --disable-java-awt was given.
4975 if test "${enable_java_awt+set}" = set; then
4976 enableval
="$enable_java_awt"
4980 peerlibs
="`echo ${enable_java_awt} | tr ',' ' '`"
4985 # The default toolkit to use is the first one specified.
4989 for peer
in $peerlibs ; do
4992 if test "$no_x" = yes; then
4993 echo "*** xlib peers requested but no X library available" 1>&2
4997 if test -z "$TOOLKIT"; then
4998 TOOLKIT
=gnu.awt.xlib.XToolkit
5003 if test "$no_x" = yes; then
5004 echo "*** gtk peers requested but no X library available" 1>&2
5008 if test -z "$TOOLKIT"; then
5009 TOOLKIT
=gnu.java.awt.peer.gtk.GtkToolkit
5014 if test "$no_x" = yes; then
5015 # Perhaps we should admit the possibility of embedded Qt.
5016 echo "*** Qt peers requested but no X library available" 1>&2
5020 if test -z "$TOOLKIT"; then
5021 TOOLKIT
=gnu.java.awt.peer.qt.QtToolkit
5027 if test -z "$TOOLKIT"; then
5028 TOOLKIT
=gnu.java.awt.peer.x.XToolkit
5039 echo "*** unrecognised argument \"${peer}\" for --enable-java-awt" 1>&2
5046 if test "$use_xlib_awt" = yes; then
5056 if test "$use_x_awt" = yes; then
5066 cat >>confdefs.h
<<_ACEOF
5067 #define AWT_TOOLKIT "$TOOLKIT"
5072 cat >>confdefs.h
<<_ACEOF
5073 #define LIBGCJ_PREFIX "$prefix"
5077 # Create standard.omit based on decisions we just made.
5078 cp $srcdir/standard.omit.
in standard.omit
5079 if test "$use_xlib_awt" != yes; then
5080 echo gnu
/awt
/xlib
>> standard.omit
5081 echo gnu
/gcj
/xlib
>> standard.omit
5083 if test "$use_x_awt" != yes; then
5084 echo gnu
/java
/awt
/peer
/x
>> standard.omit
5087 if test -z "${with_multisubdir}"; then
5090 builddotdot
=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`
5095 # Which gcj and host gcj (for ecjx) do we use?
5097 host_exeext
=${ac_exeext}
5099 built_gcc_dir
="`cd ${builddotdot}/../../${host_subdir}/gcc && ${PWDCMD-pwd}`"
5100 if test -n "${with_cross_host}"; then
5101 # We are being configured with a cross compiler. We can't
5102 # use ac_exeext, because that is for the target platform.
5105 GCJ_FOR_ECJX
="${with_cross_host}-gcj"
5106 case "${with_cross_host}" in
5108 cross_host_exeext
=.exe
5111 host_exeext
=${cross_host_exeext}
5112 if test -x "${built_gcc_dir}/gcj${cross_host_exeext}"; then
5113 if test x
"$build_noncanonical" = x
"$with_cross_host"; then
5114 # Ordinary cross (host!=target and host=build)
5117 # Canadian cross (host!=target and host!=build)
5124 # We are being configured with a native or crossed-native compiler
5125 if test -x "${built_gcc_dir}/gcj${ac_exeext}"; then
5126 if test x
"$build" = x
"$host"; then
5127 # True native build (host=target and host=build)
5130 # Crossed-native build (host=target and host!=build)
5137 case "${which_gcj}" in
5139 GCJ
="$built_gcc_dir/gcj -B`${PWDCMD-pwd}`/ -B$built_gcc_dir/"
5140 GCJH
='$(top_builddir)/$(MULTIBUILDTOP)../../$(host_subdir)/gcc/gcjh'
5143 if test "x${with_newlib}" = "xyes"; then
5144 # FIXME (comment): Why is this needed?
5146 GCJ
="${target_noncanonical}-gcj"
5148 GCJ
="$built_gcc_dir/gcj -B$built_gcc_dir/"
5150 GCJH
="$built_gcc_dir/gcjh"
5153 GCJ
="gcj -B`${PWDCMD-pwd}`/"
5162 # Create it, so that compile/link tests don't fail
5163 test -f libgcj.spec ||
touch libgcj.spec
5167 # Set up to configure Classpath.
5168 # FIXME: no supported way to pass args in autoconf.
5169 ac_configure_args
="$ac_configure_args --with-fastjar=$JAR"
5170 # Disable tool wrappers to avoid ltdl.h configure check.
5171 ac_configure_args
="$ac_configure_args --disable-tool-wrappers"
5172 ac_configure_args
="$ac_configure_args --disable-load-library"
5173 ac_configure_args
="$ac_configure_args --${LIBGCJDEBUG}-debug"
5174 ac_configure_args
="$ac_configure_args --enable-default-toolkit=$TOOLKIT"
5175 dir1
=`cd $srcdir && pwd`
5177 ac_configure_args
="$ac_configure_args --with-vm-classes=$dir1:$dir2"
5178 ac_configure_args
="$ac_configure_args --disable-core-jni"
5179 ac_configure_args
="$ac_configure_args --disable-examples"
5180 ac_configure_args
="$ac_configure_args --with-glibj=build"
5181 if test "$plugin_enabled" != yes; then
5182 ac_configure_args
="$ac_configure_args --disable-plugin"
5184 if test "$gconf_enabled" != yes; then
5185 ac_configure_args
="$ac_configure_args --disable-gconf-peer"
5186 ac_configure_args
="$ac_configure_args --enable-default-preferences-peer=gnu.java.util.prefs.FileBasedFactory"
5188 if test "$use_gtk_awt" != yes; then
5189 ac_configure_args
="$ac_configure_args --disable-gtk-peer --disable-plugin"
5191 if test "$use_qt_awt" != yes; then
5192 ac_configure_args
="$ac_configure_args --disable-qt-peer"
5194 # We need this as qt is disabled by default in classpath.
5195 ac_configure_args
="$ac_configure_args --enable-qt-peer"
5197 if test "$use_x_awt" != yes; then
5198 ac_configure_args
="$ac_configure_args --without-escher"
5200 # We need this as escher is disabled by default in classpath.
5201 if test "$use_escher" != true
; then
5202 { { echo "$as_me:$LINENO: error: Please supply an absolute path to the Escher library" >&5
5203 echo "$as_me: error: Please supply an absolute path to the Escher library" >&2;}
5204 { (exit 1); exit 1; }; }
5206 ac_configure_args
="$ac_configure_args --with-escher=$with_escher"
5209 # -Werror causes unavoidable problems in code using alsa.
5210 ac_configure_args
="$ac_configure_args --disable-Werror"
5212 # Only use libltdl for non-newlib builds.
5213 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
5214 case $enable_ltdl_convenience in
5215 no
) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
5216 echo "$as_me: error: this package needs a convenience libltdl" >&2;}
5217 { (exit 1); exit 1; }; } ;;
5218 "") enable_ltdl_convenience
=yes
5219 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
5221 LIBLTDL
='${top_builddir}/''libltdl'/libltdlc.la
5222 INCLTDL
='-I${top_srcdir}/''libltdl'
5227 cat >>confdefs.h
<<\_ACEOF
5231 # Sigh. Libtool's macro doesn't do the right thing.
5232 INCLTDL
="-I\$(top_srcdir)/libltdl $INCLTDL"
5233 # FIXME: this is a hack.
5234 sub_auxdir
="`cd $ac_aux_dir && ${PWDCMD-pwd}`"
5235 ac_configure_args
="$ac_configure_args --with-auxdir=$sub_auxdir"
5240 # Check whether --enable-shared or --disable-shared was given.
5241 if test "${enable_shared+set}" = set; then
5242 enableval
="$enable_shared"
5243 p
=${PACKAGE-default}
5245 yes) enable_shared
=yes ;;
5246 no
) enable_shared
=no
;;
5249 # Look at the argument we got. We use all the common list separators.
5250 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5251 for pkg
in $enableval; do
5252 if test "X$pkg" = "X$p"; then
5262 # Check whether --enable-static or --disable-static was given.
5263 if test "${enable_static+set}" = set; then
5264 enableval
="$enable_static"
5265 p
=${PACKAGE-default}
5267 yes) enable_static
=yes ;;
5268 no
) enable_static
=no
;;
5271 # Look at the argument we got. We use all the common list separators.
5272 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5273 for pkg
in $enableval; do
5274 if test "X$pkg" = "X$p"; then
5284 # Check whether --enable-fast-install or --disable-fast-install was given.
5285 if test "${enable_fast_install+set}" = set; then
5286 enableval
="$enable_fast_install"
5287 p
=${PACKAGE-default}
5289 yes) enable_fast_install
=yes ;;
5290 no
) enable_fast_install
=no
;;
5292 enable_fast_install
=no
5293 # Look at the argument we got. We use all the common list separators.
5294 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
5295 for pkg
in $enableval; do
5296 if test "X$pkg" = "X$p"; then
5297 enable_fast_install
=yes
5304 enable_fast_install
=yes
5307 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5308 if test "${with_gnu_ld+set}" = set; then
5309 withval
="$with_gnu_ld"
5310 test "$withval" = no || with_gnu_ld
=yes
5315 if test "$GCC" = yes; then
5316 # Check if gcc -print-prog-name=ld gives a path.
5317 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5318 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5321 # gcc leaves a trailing carriage return which upsets mingw
5322 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5324 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5327 # Accept absolute paths.
5328 [\\/]* |
[A-Za-z
]:[\\/]*)
5329 re_direlt
='/[^/][^/]*/\.\./'
5330 # Canonicalize the path of ld
5331 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
5332 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5333 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
5335 test -z "$LD" && LD
="$ac_prog"
5338 # If it fails, then pretend we aren't using GCC.
5342 # If it is relative, then search for the first ld in PATH.
5346 elif test "$with_gnu_ld" = yes; then
5347 echo "$as_me:$LINENO: checking for GNU ld" >&5
5348 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5350 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5351 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5353 if test "${lt_cv_path_LD+set}" = set; then
5354 echo $ECHO_N "(cached) $ECHO_C" >&6
5356 if test -z "$LD"; then
5357 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5358 for ac_dir
in $PATH; do
5359 test -z "$ac_dir" && ac_dir
=.
5360 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5361 lt_cv_path_LD
="$ac_dir/$ac_prog"
5362 # Check to see if the program is GNU ld. I'd rather use --version,
5363 # but apparently some GNU ld's only accept -v.
5364 # Break only if it was the GNU/non-GNU ld that we prefer.
5365 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
5366 test "$with_gnu_ld" != no
&& break
5368 test "$with_gnu_ld" != yes && break
5374 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5379 if test -n "$LD"; then
5380 echo "$as_me:$LINENO: result: $LD" >&5
5381 echo "${ECHO_T}$LD" >&6
5383 echo "$as_me:$LINENO: result: no" >&5
5384 echo "${ECHO_T}no" >&6
5386 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5387 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5388 { (exit 1); exit 1; }; }
5389 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5390 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5391 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5392 echo $ECHO_N "(cached) $ECHO_C" >&6
5394 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5395 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5396 lt_cv_prog_gnu_ld
=yes
5398 lt_cv_prog_gnu_ld
=no
5401 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5402 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5403 with_gnu_ld
=$lt_cv_prog_gnu_ld
5406 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5407 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5408 if test "${lt_cv_ld_reload_flag+set}" = set; then
5409 echo $ECHO_N "(cached) $ECHO_C" >&6
5411 lt_cv_ld_reload_flag
='-r'
5413 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5414 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5415 reload_flag
=$lt_cv_ld_reload_flag
5416 test -n "$reload_flag" && reload_flag
=" $reload_flag"
5418 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5419 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5420 if test "${lt_cv_path_NM+set}" = set; then
5421 echo $ECHO_N "(cached) $ECHO_C" >&6
5423 if test -n "$NM"; then
5424 # Let the user override the test.
5427 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5428 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
5429 test -z "$ac_dir" && ac_dir
=.
5430 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
5431 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
5432 # Check to see if the nm accepts a BSD-compat flag.
5433 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5434 # nm: unknown option "B" ignored
5435 # Tru64's nm complains that /dev/null is an invalid object file
5436 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
5437 lt_cv_path_NM
="$tmp_nm -B"
5439 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
5440 lt_cv_path_NM
="$tmp_nm -p"
5443 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5444 continue # so that we can try to find one that supports BSD flags
5449 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
5454 echo "$as_me:$LINENO: result: $NM" >&5
5455 echo "${ECHO_T}$NM" >&6
5457 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
5458 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
5459 if test "${lt_cv_deplibs_check_method+set}" = set; then
5460 echo $ECHO_N "(cached) $ECHO_C" >&6
5462 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5463 lt_cv_file_magic_test_file
=
5464 lt_cv_deplibs_check_method
='unknown'
5465 # Need to set the preceding variable on all platforms that support
5466 # interlibrary dependencies.
5467 # 'none' -- dependencies not supported.
5468 # `unknown' -- same as none, but documents that we really don't know.
5469 # 'pass_all' -- all dependencies passed with no checks.
5470 # 'test_compile' -- check by making test program.
5471 # 'file_magic [regex]' -- check by looking for files in library path
5472 # which responds to the $file_magic_cmd with a given egrep regex.
5473 # If you have `file' or equivalent on your system and you're not sure
5474 # whether `pass_all' will *always* work, you probably want this one.
5478 lt_cv_deplibs_check_method
=pass_all
5482 lt_cv_deplibs_check_method
=pass_all
5486 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5487 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5488 lt_cv_file_magic_test_file
=/shlib
/libc.so
5491 cygwin
* | mingw
* |pw32
*)
5492 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5493 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5496 darwin
* | rhapsody
*)
5497 # this will be overwritten by pass_all, but leave it in just in case
5498 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
5499 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5501 rhapsody
* | darwin1.012
)
5502 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
5505 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
5508 lt_cv_deplibs_check_method
=pass_all
5511 freebsd
* | kfreebsd
*-gnu)
5512 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5515 # Not sure whether the presence of OpenBSD here was a mistake.
5516 # Let's accept both of them until this is cleared up.
5517 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5518 lt_cv_file_magic_cmd
=/usr
/bin
/file
5519 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5523 lt_cv_deplibs_check_method
=pass_all
5528 lt_cv_deplibs_check_method
=pass_all
5534 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5535 lt_cv_file_magic_cmd
=/usr
/bin
/file
5536 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5539 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5540 lt_cv_file_magic_cmd
=/usr
/bin
/file
5541 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5549 # this will be overridden with pass_all, but let us keep it just in case
5550 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5554 *-32|
*"-32 ") libmagic
=32-bit;;
5555 *-n32|
*"-n32 ") libmagic
=N32
;;
5556 *-64|
*"-64 ") libmagic
=64-bit;;
5557 *) libmagic
=never-match
;;
5559 # this will be overridden with pass_all, but let us keep it just in case
5560 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5563 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
5564 lt_cv_deplibs_check_method
=pass_all
5567 # This must be Linux ELF.
5569 lt_cv_deplibs_check_method
=pass_all
5572 netbsd
* | knetbsd
*-gnu)
5573 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5574 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
5576 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
5581 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5582 lt_cv_file_magic_cmd
=/usr
/bin
/file
5583 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5586 osf3
* | osf4
* | osf5
*)
5587 # this will be overridden with pass_all, but let us keep it just in case
5588 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
5589 lt_cv_file_magic_test_file
=/shlib
/libc.so
5590 lt_cv_deplibs_check_method
=pass_all
5594 lt_cv_deplibs_check_method
=pass_all
5598 lt_cv_deplibs_check_method
=pass_all
5599 lt_cv_file_magic_test_file
=/lib
/libc.so
5602 sysv5uw
[78]* | sysv4
*uw2
*)
5603 lt_cv_deplibs_check_method
=pass_all
5606 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
5607 case $host_vendor in
5609 lt_cv_deplibs_check_method
=pass_all
5612 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]'
5613 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5620 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5621 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5622 file_magic_cmd
=$lt_cv_file_magic_cmd
5623 deplibs_check_method
=$lt_cv_deplibs_check_method
5628 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5630 # find the maximum length of command line arguments
5631 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5632 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5633 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5634 echo $ECHO_N "(cached) $ECHO_C" >&6
5641 # On DJGPP, this test can blow up pretty badly due to problems in libc
5642 # (any single argument exceeding 2000 bytes causes a buffer overrun
5643 # during glob expansion). Even if it were fixed, the result of this
5644 # check would be larger than it should be.
5645 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5649 # On Win9x/ME, this test blows up -- it succeeds, but takes
5650 # about 5 minutes as the teststring grows exponentially.
5651 # Worse, since 9x/ME are not pre-emptively multitasking,
5652 # you end up with a "frozen" computer, even though with patience
5653 # the test eventually succeeds (with a max line length of 256k).
5654 # Instead, let's just punt: use the minimum linelength reported by
5655 # all of the supported platforms: 8192 (on NT/2K/XP).
5656 lt_cv_sys_max_cmd_len
=8192;
5660 # On AmigaOS with pdksh, this test takes hours, literally.
5661 # So we just punt and use a minimum line length of 8192.
5662 lt_cv_sys_max_cmd_len
=8192;
5665 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5666 # This has been around since 386BSD, at least. Likely further.
5667 if test -x /sbin
/sysctl
; then
5668 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5669 elif test -x /usr
/sbin
/sysctl
; then
5670 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5672 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
5674 # And add a safety zone
5675 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5676 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5682 if test -n "$lt_cv_sys_max_cmd_len" ; then
5683 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5684 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5686 echo "$as_me:$LINENO: result: none" >&5
5687 echo "${ECHO_T}none" >&6
5691 # Only perform the check for file, if the check method requires it
5692 case $deplibs_check_method in
5694 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5695 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5696 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5697 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5698 echo $ECHO_N "(cached) $ECHO_C" >&6
5702 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5705 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5708 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5709 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5710 ac_dummy
="/usr/bin:$PATH"
5711 for ac_dir
in $ac_dummy; do
5712 test -z "$ac_dir" && ac_dir
=.
5713 if test -f $ac_dir/${ac_tool_prefix}file; then
5714 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
5715 if test -n "$file_magic_test_file"; then
5716 case $deplibs_check_method in
5718 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5719 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5720 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5721 egrep "$file_magic_regex" > /dev
/null
; then
5726 *** Warning: the command libtool uses to detect shared libraries,
5727 *** $file_magic_cmd, produces output that libtool cannot recognize.
5728 *** The result is that libtool may fail to recognize shared libraries
5729 *** as such. This will affect the creation of libtool libraries that
5730 *** depend on shared libraries, but programs linked with such libtool
5731 *** libraries will work regardless of this problem. Nevertheless, you
5732 *** may want to report the problem to your system manager and/or to
5733 *** bug-libtool@gnu.org
5743 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5748 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5749 if test -n "$MAGIC_CMD"; then
5750 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5751 echo "${ECHO_T}$MAGIC_CMD" >&6
5753 echo "$as_me:$LINENO: result: no" >&5
5754 echo "${ECHO_T}no" >&6
5757 if test -z "$lt_cv_path_MAGIC_CMD"; then
5758 if test -n "$ac_tool_prefix"; then
5759 echo "$as_me:$LINENO: checking for file" >&5
5760 echo $ECHO_N "checking for file... $ECHO_C" >&6
5761 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5762 echo $ECHO_N "(cached) $ECHO_C" >&6
5766 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5769 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5772 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5773 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5774 ac_dummy
="/usr/bin:$PATH"
5775 for ac_dir
in $ac_dummy; do
5776 test -z "$ac_dir" && ac_dir
=.
5777 if test -f $ac_dir/file; then
5778 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
5779 if test -n "$file_magic_test_file"; then
5780 case $deplibs_check_method in
5782 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5783 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5784 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5785 egrep "$file_magic_regex" > /dev
/null
; then
5790 *** Warning: the command libtool uses to detect shared libraries,
5791 *** $file_magic_cmd, produces output that libtool cannot recognize.
5792 *** The result is that libtool may fail to recognize shared libraries
5793 *** as such. This will affect the creation of libtool libraries that
5794 *** depend on shared libraries, but programs linked with such libtool
5795 *** libraries will work regardless of this problem. Nevertheless, you
5796 *** may want to report the problem to your system manager and/or to
5797 *** bug-libtool@gnu.org
5807 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5812 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5813 if test -n "$MAGIC_CMD"; then
5814 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5815 echo "${ECHO_T}$MAGIC_CMD" >&6
5817 echo "$as_me:$LINENO: result: no" >&5
5818 echo "${ECHO_T}no" >&6
5830 if test -n "$ac_tool_prefix"; then
5831 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5832 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5833 echo "$as_me:$LINENO: checking for $ac_word" >&5
5834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5835 if test "${ac_cv_prog_RANLIB+set}" = set; then
5836 echo $ECHO_N "(cached) $ECHO_C" >&6
5838 if test -n "$RANLIB"; then
5839 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5845 test -z "$as_dir" && as_dir
=.
5846 for ac_exec_ext
in '' $ac_executable_extensions; do
5847 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5848 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5857 RANLIB
=$ac_cv_prog_RANLIB
5858 if test -n "$RANLIB"; then
5859 echo "$as_me:$LINENO: result: $RANLIB" >&5
5860 echo "${ECHO_T}$RANLIB" >&6
5862 echo "$as_me:$LINENO: result: no" >&5
5863 echo "${ECHO_T}no" >&6
5867 if test -z "$ac_cv_prog_RANLIB"; then
5868 ac_ct_RANLIB
=$RANLIB
5869 # Extract the first word of "ranlib", so it can be a program name with args.
5870 set dummy ranlib
; ac_word
=$2
5871 echo "$as_me:$LINENO: checking for $ac_word" >&5
5872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5873 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5874 echo $ECHO_N "(cached) $ECHO_C" >&6
5876 if test -n "$ac_ct_RANLIB"; then
5877 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5883 test -z "$as_dir" && as_dir
=.
5884 for ac_exec_ext
in '' $ac_executable_extensions; do
5885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5886 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5893 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5896 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5897 if test -n "$ac_ct_RANLIB"; then
5898 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5899 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5901 echo "$as_me:$LINENO: result: no" >&5
5902 echo "${ECHO_T}no" >&6
5905 RANLIB
=$ac_ct_RANLIB
5907 RANLIB
="$ac_cv_prog_RANLIB"
5910 if test -n "$ac_tool_prefix"; then
5911 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5912 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5913 echo "$as_me:$LINENO: checking for $ac_word" >&5
5914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5915 if test "${ac_cv_prog_STRIP+set}" = set; then
5916 echo $ECHO_N "(cached) $ECHO_C" >&6
5918 if test -n "$STRIP"; then
5919 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5925 test -z "$as_dir" && as_dir
=.
5926 for ac_exec_ext
in '' $ac_executable_extensions; do
5927 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5928 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5937 STRIP
=$ac_cv_prog_STRIP
5938 if test -n "$STRIP"; then
5939 echo "$as_me:$LINENO: result: $STRIP" >&5
5940 echo "${ECHO_T}$STRIP" >&6
5942 echo "$as_me:$LINENO: result: no" >&5
5943 echo "${ECHO_T}no" >&6
5947 if test -z "$ac_cv_prog_STRIP"; then
5949 # Extract the first word of "strip", so it can be a program name with args.
5950 set dummy strip
; ac_word
=$2
5951 echo "$as_me:$LINENO: checking for $ac_word" >&5
5952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5953 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5954 echo $ECHO_N "(cached) $ECHO_C" >&6
5956 if test -n "$ac_ct_STRIP"; then
5957 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5963 test -z "$as_dir" && as_dir
=.
5964 for ac_exec_ext
in '' $ac_executable_extensions; do
5965 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5966 ac_cv_prog_ac_ct_STRIP
="strip"
5967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5973 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
5976 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5977 if test -n "$ac_ct_STRIP"; then
5978 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5979 echo "${ECHO_T}$ac_ct_STRIP" >&6
5981 echo "$as_me:$LINENO: result: no" >&5
5982 echo "${ECHO_T}no" >&6
5987 STRIP
="$ac_cv_prog_STRIP"
5991 # Check for any special flags to pass to ltconfig.
5992 libtool_flags
="--cache-file=$cache_file"
5993 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
5994 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
5995 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
5996 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
5997 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
6000 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6001 if test "${enable_libtool_lock+set}" = set; then
6002 enableval
="$enable_libtool_lock"
6005 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
6006 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
6009 # Check whether --with-pic or --without-pic was given.
6010 if test "${with_pic+set}" = set; then
6016 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
6017 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
6019 # Some flags need to be propagated to the compiler or linker for good
6023 # Find out which ABI we are using.
6024 echo '#line 6024 "configure"' > conftest.
$ac_ext
6025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6026 (eval $ac_compile) 2>&5
6028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6029 (exit $ac_status); }; then
6030 if test "$lt_cv_prog_gnu_ld" = yes; then
6031 case `/usr/bin/file conftest.$ac_objext` in
6033 LD
="${LD-ld} -melf32bsmip"
6036 LD
="${LD-ld} -melf32bmipn32"
6039 LD
="${LD-ld} -melf64bmip"
6043 case `/usr/bin/file conftest.$ac_objext` in
6060 # Find out which ABI we are using.
6061 echo 'int i;' > conftest.
$ac_ext
6062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6063 (eval $ac_compile) 2>&5
6065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6066 (exit $ac_status); }; then
6067 case "`/usr/bin/file conftest.o`" in
6079 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
6080 # Find out which ABI we are using.
6081 echo 'int i;' > conftest.
$ac_ext
6082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6083 (eval $ac_compile) 2>&5
6085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6086 (exit $ac_status); }; then
6087 case "`/usr/bin/file conftest.o`" in
6091 LD
="${LD-ld} -m elf_i386"
6093 ppc64-
*linux
*|powerpc64-
*linux
*)
6094 LD
="${LD-ld} -m elf32ppclinux"
6097 LD
="${LD-ld} -m elf_s390"
6100 LD
="${LD-ld} -m elf32_sparc"
6107 LD
="${LD-ld} -m elf_x86_64"
6109 ppc
*-*linux
*|powerpc
*-*linux
*)
6110 LD
="${LD-ld} -m elf64ppc"
6113 LD
="${LD-ld} -m elf64_s390"
6116 LD
="${LD-ld} -m elf64_sparc"
6126 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6127 SAVE_CFLAGS
="$CFLAGS"
6128 CFLAGS
="$CFLAGS -belf"
6129 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6130 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
6131 if test "${lt_cv_cc_needs_belf+set}" = set; then
6132 echo $ECHO_N "(cached) $ECHO_C" >&6
6137 ac_cpp
='$CPP $CPPFLAGS'
6138 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6139 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6140 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6142 if test x
$gcc_no_link = xyes
; then
6143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6145 { (exit 1); exit 1; }; }
6147 cat >conftest.
$ac_ext <<_ACEOF
6150 cat confdefs.h
>>conftest.
$ac_ext
6151 cat >>conftest.
$ac_ext <<_ACEOF
6152 /* end confdefs.h. */
6162 rm -f conftest.
$ac_objext conftest
$ac_exeext
6163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6164 (eval $ac_link) 2>conftest.er1
6166 grep -v '^ *+' conftest.er1
>conftest.err
6168 cat conftest.err
>&5
6169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6170 (exit $ac_status); } &&
6171 { ac_try
='test -z "$ac_c_werror_flag"
6172 || test ! -s conftest.err'
6173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6177 (exit $ac_status); }; } &&
6178 { ac_try
='test -s conftest$ac_exeext'
6179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6183 (exit $ac_status); }; }; then
6184 lt_cv_cc_needs_belf
=yes
6186 echo "$as_me: failed program was:" >&5
6187 sed 's/^/| /' conftest.
$ac_ext >&5
6189 lt_cv_cc_needs_belf
=no
6191 rm -f conftest.err conftest.
$ac_objext \
6192 conftest
$ac_exeext conftest.
$ac_ext
6194 ac_cpp
='$CPP $CPPFLAGS'
6195 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6196 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6197 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6200 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6201 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6202 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6203 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6204 CFLAGS
="$SAVE_CFLAGS"
6212 # Save cache, so that ltconfig can load it
6213 cat >confcache
<<\_ACEOF
6214 # This file is a shell script that caches the results of configure
6215 # tests run on this system so they can be shared between configure
6216 # scripts and configure runs, see configure's option --config-cache.
6217 # It is not useful on other systems. If it contains results you don't
6218 # want to keep, you may remove or edit it.
6220 # config.status only pays attention to the cache file if you give it
6221 # the --recheck option to rerun configure.
6223 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6224 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6229 # The following way of writing the cache mishandles newlines in values,
6230 # but we know of no workaround that is simple, portable, and efficient.
6231 # So, don't put newlines in cache variables' values.
6232 # Ultrix sh set writes to stderr and can't be redirected directly,
6233 # and sets the high bit in the cache file unless we assign to the vars.
6236 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6238 # `set' does not quote correctly, so add quotes (double-quote
6239 # substitution turns \\\\ into \\, and sed turns \\ into \).
6242 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6245 # `set' quotes correctly as required by POSIX, so do not add quotes.
6247 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6254 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6256 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6258 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6259 if test -w $cache_file; then
6260 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6261 cat confcache
>$cache_file
6263 echo "not updating unwritable cache $cache_file"
6268 # Actually configure libtool. ac_aux_dir is where install-sh is found.
6269 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
6270 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
6271 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
6272 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
6273 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
6274 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
6275 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
6276 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
6277 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
6278 echo "$as_me: error: libtool configure failed" >&2;}
6279 { (exit 1); exit 1; }; }
6281 # Reload cache, that may have been modified by ltconfig
6282 if test -r "$cache_file"; then
6283 # Some versions of bash will fail to source /dev/null (special
6284 # files actually), so we avoid doing that.
6285 if test -f "$cache_file"; then
6286 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
6287 echo "$as_me: loading cache $cache_file" >&6;}
6289 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
6290 *) . .
/$cache_file;;
6294 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
6295 echo "$as_me: creating cache $cache_file" >&6;}
6300 # This can be used to rebuild libtool when needed
6301 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
6303 # Always use our own libtool.
6304 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6306 # Redirect the config.log output again, so that the ltconfig log is not
6307 # clobbered by the next message.
6308 exec 5>>.
/config.log
6311 ac_cpp
='$CXXCPP $CPPFLAGS'
6312 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6313 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6314 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6315 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6316 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6317 if test -z "$CXXCPP"; then
6318 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6319 echo $ECHO_N "(cached) $ECHO_C" >&6
6321 # Double quotes because CXXCPP needs to be expanded
6322 for CXXCPP
in "$CXX -E" "/lib/cpp"
6325 for ac_cxx_preproc_warn_flag
in '' yes
6327 # Use a header file that comes with gcc, so configuring glibc
6328 # with a fresh cross-compiler works.
6329 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6330 # <limits.h> exists even on freestanding compilers.
6331 # On the NeXT, cc -E runs the code through the compiler's parser,
6332 # not just through cpp. "Syntax error" is here to catch this case.
6333 cat >conftest.
$ac_ext <<_ACEOF
6336 cat confdefs.h
>>conftest.
$ac_ext
6337 cat >>conftest.
$ac_ext <<_ACEOF
6338 /* end confdefs.h. */
6340 # include <limits.h>
6342 # include <assert.h>
6346 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6347 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6349 grep -v '^ *+' conftest.er1
>conftest.err
6351 cat conftest.err
>&5
6352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6353 (exit $ac_status); } >/dev
/null
; then
6354 if test -s conftest.err
; then
6355 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6356 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6363 if test -z "$ac_cpp_err"; then
6366 echo "$as_me: failed program was:" >&5
6367 sed 's/^/| /' conftest.
$ac_ext >&5
6369 # Broken: fails on valid input.
6372 rm -f conftest.err conftest.
$ac_ext
6374 # OK, works on sane cases. Now check whether non-existent headers
6375 # can be detected and how.
6376 cat >conftest.
$ac_ext <<_ACEOF
6379 cat confdefs.h
>>conftest.
$ac_ext
6380 cat >>conftest.
$ac_ext <<_ACEOF
6381 /* end confdefs.h. */
6382 #include <ac_nonexistent.h>
6384 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6385 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6387 grep -v '^ *+' conftest.er1
>conftest.err
6389 cat conftest.err
>&5
6390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391 (exit $ac_status); } >/dev
/null
; then
6392 if test -s conftest.err
; then
6393 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6394 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6401 if test -z "$ac_cpp_err"; then
6402 # Broken: success on invalid input.
6405 echo "$as_me: failed program was:" >&5
6406 sed 's/^/| /' conftest.
$ac_ext >&5
6408 # Passes both tests.
6412 rm -f conftest.err conftest.
$ac_ext
6415 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6416 rm -f conftest.err conftest.
$ac_ext
6417 if $ac_preproc_ok; then
6422 ac_cv_prog_CXXCPP
=$CXXCPP
6425 CXXCPP
=$ac_cv_prog_CXXCPP
6427 ac_cv_prog_CXXCPP
=$CXXCPP
6429 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6430 echo "${ECHO_T}$CXXCPP" >&6
6432 for ac_cxx_preproc_warn_flag
in '' yes
6434 # Use a header file that comes with gcc, so configuring glibc
6435 # with a fresh cross-compiler works.
6436 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6437 # <limits.h> exists even on freestanding compilers.
6438 # On the NeXT, cc -E runs the code through the compiler's parser,
6439 # not just through cpp. "Syntax error" is here to catch this case.
6440 cat >conftest.
$ac_ext <<_ACEOF
6443 cat confdefs.h
>>conftest.
$ac_ext
6444 cat >>conftest.
$ac_ext <<_ACEOF
6445 /* end confdefs.h. */
6447 # include <limits.h>
6449 # include <assert.h>
6453 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6454 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6456 grep -v '^ *+' conftest.er1
>conftest.err
6458 cat conftest.err
>&5
6459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6460 (exit $ac_status); } >/dev
/null
; then
6461 if test -s conftest.err
; then
6462 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6463 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6470 if test -z "$ac_cpp_err"; then
6473 echo "$as_me: failed program was:" >&5
6474 sed 's/^/| /' conftest.
$ac_ext >&5
6476 # Broken: fails on valid input.
6479 rm -f conftest.err conftest.
$ac_ext
6481 # OK, works on sane cases. Now check whether non-existent headers
6482 # can be detected and how.
6483 cat >conftest.
$ac_ext <<_ACEOF
6486 cat confdefs.h
>>conftest.
$ac_ext
6487 cat >>conftest.
$ac_ext <<_ACEOF
6488 /* end confdefs.h. */
6489 #include <ac_nonexistent.h>
6491 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6492 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6494 grep -v '^ *+' conftest.er1
>conftest.err
6496 cat conftest.err
>&5
6497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6498 (exit $ac_status); } >/dev
/null
; then
6499 if test -s conftest.err
; then
6500 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6501 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6508 if test -z "$ac_cpp_err"; then
6509 # Broken: success on invalid input.
6512 echo "$as_me: failed program was:" >&5
6513 sed 's/^/| /' conftest.
$ac_ext >&5
6515 # Passes both tests.
6519 rm -f conftest.err conftest.
$ac_ext
6522 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6523 rm -f conftest.err conftest.
$ac_ext
6524 if $ac_preproc_ok; then
6527 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6528 See \`config.log' for more details." >&5
6529 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6530 See \`config.log' for more details." >&2;}
6531 { (exit 1); exit 1; }; }
6535 ac_cpp
='$CPP $CPPFLAGS'
6536 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6537 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6538 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6542 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
6544 lt_save_CFLAGS
="$CFLAGS"
6545 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
6546 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
6547 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
6548 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
6549 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
6550 deplibs_check_method
="$deplibs_check_method" \
6551 file_magic_cmd
="$file_magic_cmd" \
6552 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
6553 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
6554 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
6555 echo "$as_me: error: libtool tag configuration failed" >&2;}
6556 { (exit 1); exit 1; }; }
6558 CFLAGS
="$lt_save_CFLAGS"
6560 # Redirect the config.log output again, so that the ltconfig log is not
6561 # clobbered by the next message.
6562 exec 5>>.
/config.log
6572 # Extract the first word of "$ac_prog", so it can be a program name with args.
6573 set dummy
$ac_prog; ac_word
=$2
6574 echo "$as_me:$LINENO: checking for $ac_word" >&5
6575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6576 if test "${ac_cv_prog_GCJ+set}" = set; then
6577 echo $ECHO_N "(cached) $ECHO_C" >&6
6579 if test -n "$GCJ"; then
6580 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
6582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6586 test -z "$as_dir" && as_dir
=.
6587 for ac_exec_ext
in '' $ac_executable_extensions; do
6588 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6589 ac_cv_prog_GCJ
="$ac_prog"
6590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6599 if test -n "$GCJ"; then
6600 echo "$as_me:$LINENO: result: $GCJ" >&5
6601 echo "${ECHO_T}$GCJ" >&6
6603 echo "$as_me:$LINENO: result: no" >&5
6604 echo "${ECHO_T}no" >&6
6607 test -n "$GCJ" && break
6609 test -n "$GCJ" || GCJ
="gcj"
6611 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
6612 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
6613 { (exit 1); exit 1; }; }
6614 if test "x${GCJFLAGS-unset}" = xunset
; then
6619 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
6621 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6622 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6623 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
6624 echo $ECHO_N "(cached) $ECHO_C" >&6
6626 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6627 # We make a subdir and do the tests there. Otherwise we can end up
6628 # making bogus files that we don't know about and never remove. For
6629 # instance it was reported that on HP-UX the gcc test will end up
6630 # making a dummy file named `D' -- because `-MD' means `put the output
6633 # Copy depcomp to subdir because otherwise we won't find it if we're
6634 # using a relative directory.
6635 cp "$am_depcomp" conftest.dir
6637 # We will build objects and dependencies in a subdirectory because
6638 # it helps to detect inapplicable dependency modes. For instance
6639 # both Tru64's cc and ICC support -MD to output dependencies as a
6640 # side effect of compilation, but ICC will put the dependencies in
6641 # the current directory while Tru64 will put them in the object
6645 am_cv_GCJ_dependencies_compiler_type
=none
6646 if test "$am_compiler_list" = ""; then
6647 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6649 for depmode
in $am_compiler_list; do
6650 # Setup a source with many dependencies, because some compilers
6651 # like to wrap large dependency lists on column 80 (with \), and
6652 # we should not choose a depcomp mode which is confused by this.
6654 # We need to recreate these files for each test, as the compiler may
6655 # overwrite some of them when testing with obscure command lines.
6656 # This happens at least with the AIX C compiler.
6658 for i
in 1 2 3 4 5 6; do
6659 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6660 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6661 # Solaris 8's {/usr,}/bin/sh.
6662 touch sub
/conftst
$i.h
6664 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6668 # after this tag, mechanisms are not by side-effect, so they'll
6669 # only be used when explicitly requested
6670 if test "x$enable_dependency_tracking" = xyes
; then
6678 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6679 # mode. It turns out that the SunPro C++ compiler does not properly
6680 # handle `-M -o', and we need to detect this.
6681 if depmode
=$depmode \
6682 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6683 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6684 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6685 >/dev
/null
2>conftest.err
&&
6686 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6687 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6688 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6689 # icc doesn't choke on unknown options, it will just issue warnings
6690 # or remarks (even with -Werror). So we grep stderr for any message
6691 # that says an option was ignored or not supported.
6692 # When given -MP, icc 7.0 and 7.1 complain thusly:
6693 # icc: Command line warning: ignoring option '-M'; no argument required
6694 # The diagnosis changed in icc 8.0:
6695 # icc: Command line remark: option '-MP' not supported
6696 if (grep 'ignoring option' conftest.err ||
6697 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6698 am_cv_GCJ_dependencies_compiler_type
=$depmode
6707 am_cv_GCJ_dependencies_compiler_type
=none
6711 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
6712 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
6713 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
6718 test "x$enable_dependency_tracking" != xno \
6719 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
6720 am__fastdepGCJ_TRUE
=
6721 am__fastdepGCJ_FALSE
='#'
6723 am__fastdepGCJ_TRUE
='#'
6724 am__fastdepGCJ_FALSE
=
6730 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-gcj.sh"
6732 lt_save_CFLAGS
="$CFLAGS"
6733 AR
="$AR" LTCC
="$CC" CC
="$GCJ" CFLAGS
="$GCJFLAGS" CPPFLAGS
="$CPPFLAGS" \
6734 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
6735 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
6736 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
6737 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
6738 deplibs_check_method
="$deplibs_check_method" \
6739 file_magic_cmd
="$file_magic_cmd" \
6740 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
6741 --build="$build" --add-tag=GCJ
$ac_aux_dir/ltcf-gcj.sh
$host \
6742 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
6743 echo "$as_me: error: libtool tag configuration failed" >&2;}
6744 { (exit 1); exit 1; }; }
6746 CFLAGS
="$lt_save_CFLAGS"
6748 # Redirect the config.log output again, so that the ltconfig log is not
6749 # clobbered by the next message.
6750 exec 5>>.
/config.log
6754 if test "x$CC" != xcc
; then
6755 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
6756 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
6758 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
6759 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
6761 set dummy
$CC; ac_cc
=`echo $2 |
6762 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6763 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
6764 echo $ECHO_N "(cached) $ECHO_C" >&6
6766 cat >conftest.
$ac_ext <<_ACEOF
6769 cat confdefs.h
>>conftest.
$ac_ext
6770 cat >>conftest.
$ac_ext <<_ACEOF
6771 /* end confdefs.h. */
6781 # Make sure it works both with $CC and with simple cc.
6782 # We do the test twice because some compilers refuse to overwrite an
6783 # existing .o file with -o, though they will create one.
6784 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
6785 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6789 (exit $ac_status); } &&
6790 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6794 (exit $ac_status); };
6796 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
6797 if test "x$CC" != xcc
; then
6798 # Test first that cc exists at all.
6799 if { ac_try
='cc -c conftest.$ac_ext >&5'
6800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6804 (exit $ac_status); }; }; then
6805 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
6806 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6810 (exit $ac_status); } &&
6811 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6815 (exit $ac_status); };
6820 # cc exists but doesn't like -o.
6821 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
6826 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
6831 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
6832 echo "$as_me:$LINENO: result: yes" >&5
6833 echo "${ECHO_T}yes" >&6
6835 echo "$as_me:$LINENO: result: no" >&5
6836 echo "${ECHO_T}no" >&6
6838 cat >>confdefs.h
<<\_ACEOF
6839 #define NO_MINUS_C_MINUS_O 1
6844 # FIXME: we rely on the cache variable name because
6845 # there is no other way.
6847 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6848 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
6849 # Losing compiler, so override with the script.
6850 # FIXME: It is wrong to rewrite CC.
6851 # But if we don't then we get into trouble of one sort or another.
6852 # A longer-term fix would be to have automake use am__CC in this case,
6853 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6854 CC
="$am_aux_dir/compile $CC"
6860 subdirs
="$subdirs classpath libltdl"
6863 # The -no-testsuite modules omit the test subdir.
6866 if test -d $srcdir/testsuite
; then
6868 TESTSUBDIR_FALSE
='#'
6875 # Should the runtime set system properties by examining the
6876 # environment variable GCJ_PROPERTIES?
6877 # Check whether --enable-getenv-properties or --disable-getenv-properties was given.
6878 if test "${enable_getenv_properties+set}" = set; then
6879 enableval
="$enable_getenv_properties"
6883 # Whether GCJ_PROPERTIES is used depends on the target.
6884 if test -z "$enable_getenv_properties"; then
6885 enable_getenv_properties
=${enable_getenv_properties_default-yes}
6887 if test "$enable_getenv_properties" = no
; then
6889 cat >>confdefs.h
<<\_ACEOF
6890 #define DISABLE_GETENV_PROPERTIES 1
6895 # Whether we should use arguments to main()
6896 if test -z "$enable_main_args"; then
6897 enable_main_args
=${enable_main_args_default-yes}
6899 if test "$enable_main_args" = no
; then
6901 cat >>confdefs.h
<<\_ACEOF
6902 #define DISABLE_MAIN_ARGS 1
6908 # Should we use hashtable-based synchronization?
6909 # Currently works only for Linux X86/ia64
6910 # Typically faster and more space-efficient
6911 # Check whether --enable-hash-synchronization or --disable-hash-synchronization was given.
6912 if test "${enable_hash_synchronization+set}" = set; then
6913 enableval
="$enable_hash_synchronization"
6917 if test -z "$enable_hash_synchronization"; then
6918 enable_hash_synchronization
=$enable_hash_synchronization_default
6926 # Check whether --with-ecj-jar or --without-ecj-jar was given.
6927 if test "${with_ecj_jar+set}" = set; then
6928 withval
="$with_ecj_jar"
6931 if test -f $libgcj_basedir/..
/ecj.jar
; then
6932 ECJ_BUILD_JAR
=$libgcj_basedir/..
/ecj.jar
6933 ECJ_JAR
='$(jardir)/ecj.jar'
6941 if test "$ECJ_JAR" != ""; then
6943 BUILD_ECJ1_FALSE
='#'
6951 if test $install_ecj_jar = yes; then
6952 INSTALL_ECJ_JAR_TRUE
=
6953 INSTALL_ECJ_JAR_FALSE
='#'
6955 INSTALL_ECJ_JAR_TRUE
='#'
6956 INSTALL_ECJ_JAR_FALSE
=
6961 # Check whether --with-java-home or --without-java-home was given.
6962 if test "${with_java_home+set}" = set; then
6963 withval
="$with_java_home"
6964 JAVA_HOME
="${withval}"
6970 if test ! -z "$JAVA_HOME"; then
6972 JAVA_HOME_SET_FALSE
='#'
6974 JAVA_HOME_SET_TRUE
='#'
6975 JAVA_HOME_SET_FALSE
=
6980 # What is the native OS API for MinGW?
6982 # Check whether --with-win32-nlsapi or --without-win32-nlsapi was given.
6983 if test "${with_win32_nlsapi+set}" = set; then
6984 withval
="$with_win32_nlsapi"
6985 case "${withval}" in
6986 ansi
) with_win32_nlsapi
=ansi
;;
6987 unicows
) with_win32_nlsapi
=unicows
;;
6988 unicode
) with_win32_nlsapi
=unicode
;;
6989 *) { { echo "$as_me:$LINENO: error: Bad value ${withval} for --with-win32-nlsapi." >&5
6990 echo "$as_me: error: Bad value ${withval} for --with-win32-nlsapi." >&2;}
6991 { (exit 1); exit 1; }; } ;;
6994 with_win32_nlsapi
=ansi
6997 case "${with_win32_nlsapi}" in
7000 cat >>confdefs.h
<<\_ACEOF
7001 #define MINGW_LIBGCJ_UNICODE 1
7007 # configure.host sets slow_pthread_self if the synchronization code should
7008 # try to avoid pthread_self calls by caching thread IDs in a hashtable.
7009 if test "${slow_pthread_self}" = "yes"; then
7011 cat >>confdefs.h
<<\_ACEOF
7012 #define SLOW_PTHREAD_SELF 1
7017 # Check for gc debugging. This option is handled both here and in the GC.
7018 # Check whether --enable-gc-debug or --disable-gc-debug was given.
7019 if test "${enable_gc_debug+set}" = set; then
7020 enableval
="$enable_gc_debug"
7021 if test "$enable_gc_debug" = "yes"; then
7023 cat >>confdefs.h
<<\_ACEOF
7024 #define LIBGCJ_GC_DEBUG 1
7030 # See if the user has the interpreter included.
7031 # Check whether --enable-interpreter or --disable-interpreter was given.
7032 if test "${enable_interpreter+set}" = set; then
7033 enableval
="$enable_interpreter"
7034 if test "$enable_interpreter" = yes; then
7035 # This can also be set in configure.host.
7036 libgcj_interpreter
=yes
7037 elif test "$enable_interpreter" = no
; then
7038 libgcj_interpreter
=no
7042 if test "$libgcj_interpreter" = yes; then
7044 cat >>confdefs.h
<<\_ACEOF
7045 #define INTERPRETER 1
7049 INTERPRETER
="$libgcj_interpreter"
7052 echo "$as_me:$LINENO: checking for exception model to use" >&5
7053 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
7055 ac_cpp
='$CXXCPP $CPPFLAGS'
7056 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7057 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7058 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7060 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
7061 if test "${enable_sjlj_exceptions+set}" = set; then
7062 enableval
="$enable_sjlj_exceptions"
7065 cat > conftest.
$ac_ext << EOF
7066 #line 7066 "configure"
7075 old_CXXFLAGS
="$CXXFLAGS"
7077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7078 (eval $ac_compile) 2>&5
7080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7081 (exit $ac_status); }; then
7082 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1 ; then
7083 enable_sjlj_exceptions
=yes
7084 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1 ; then
7085 enable_sjlj_exceptions
=no
7088 CXXFLAGS
="$old_CXXFLAGS"
7091 if test x
$enable_sjlj_exceptions = xyes
; then
7093 cat >>confdefs.h
<<\_ACEOF
7094 #define SJLJ_EXCEPTIONS 1
7097 ac_exception_model_name
=sjlj
7098 elif test x
$enable_sjlj_exceptions = xno
; then
7099 ac_exception_model_name
="call frame"
7101 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
7102 echo "$as_me: error: unable to detect exception model" >&2;}
7103 { (exit 1); exit 1; }; }
7106 ac_cpp
='$CPP $CPPFLAGS'
7107 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7108 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7109 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7111 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
7112 echo "${ECHO_T}$ac_exception_model_name" >&6
7114 # If we are non using SJLJ exceptions, and this host does not have support
7115 # for unwinding from a signal handler, enable checked dereferences and divides.
7116 if test $can_unwind_signal = no
&& test $enable_sjlj_exceptions = no
; then
7117 CHECKREFSPEC
=-fcheck-references
7118 DIVIDESPEC
=-fuse-divide-subroutine
7122 # See if the user wants to disable java.net. This is the mildly
7123 # ugly way that we admit that target-side configuration sucks.
7124 # Check whether --enable-java-net or --disable-java-net was given.
7125 if test "${enable_java_net+set}" = set; then
7126 enableval
="$enable_java_net"
7130 # Whether java.net is built by default can depend on the target.
7131 if test -z "$enable_java_net"; then
7132 enable_java_net
=${enable_java_net_default-yes}
7134 if test "$enable_java_net" = no
; then
7136 cat >>confdefs.h
<<\_ACEOF
7137 #define DISABLE_JAVA_NET 1
7142 # See if the user wants to configure without libffi. Some
7143 # architectures don't support it, and default values are set in
7146 # Check whether --with-libffi or --without-libffi was given.
7147 if test "${with_libffi+set}" = set; then
7148 withval
="$with_libffi"
7151 with_libffi
=${with_libffi_default-yes}
7156 if test "$with_libffi" != no
; then
7158 cat >>confdefs.h
<<\_ACEOF
7159 #define USE_LIBFFI 1
7162 LIBFFI
=..
/libffi
/libffi_convenience.la
7163 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
7168 # See if the user wants to disable JVMPI support.
7169 # Check whether --enable-jvmpi or --disable-jvmpi was given.
7170 if test "${enable_jvmpi+set}" = set; then
7171 enableval
="$enable_jvmpi"
7175 if test "$enable_jvmpi" != no
; then
7177 cat >>confdefs.h
<<\_ACEOF
7178 #define ENABLE_JVMPI 1
7183 # If the target is an eCos system, use the appropriate eCos
7185 # FIXME: this should not be a local option but a global target
7186 # system; at present there is no eCos target.
7187 TARGET_ECOS
=${PROCESS-"no"}
7189 # Check whether --with-ecos or --without-ecos was given.
7190 if test "${with_ecos+set}" = set; then
7191 withval
="$with_ecos"
7192 TARGET_ECOS
="$with_ecos"
7196 case "$TARGET_ECOS" in
7203 echo "$as_me:$LINENO: checking whether 'ld' is at least 2.13" >&5
7204 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6
7205 LD_PROG
=`$CC --print-prog-name=ld`
7206 LD_VERSION
=`$LD_PROG --version`
7207 LD_VERSION_MAJOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
7208 LD_VERSION_MINOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
7209 if expr "$LD_VERSION_MAJOR" \
> 2 > /dev
/null
; then
7212 if expr "$LD_VERSION_MAJOR" = 2 && expr "$LD_VERSION_MINOR" \
>= 13 > /dev
/null
; then
7216 if test "x$LD_OK" != x
; then
7217 echo "$as_me:$LINENO: result: yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
7218 echo "${ECHO_T}yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
7220 echo "$as_me:$LINENO: result: no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
7221 echo "${ECHO_T}no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
7222 { echo "$as_me:$LINENO: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&5
7223 echo "$as_me: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&2;}
7225 cat >>confdefs.h
<<\_ACEOF
7226 #define JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS 1
7242 cat >>confdefs.h
<<\_ACEOF
7250 ac_config_links
="$ac_config_links include/platform.h:include/$PLATFORMH"
7254 ac_cpp
='$CPP $CPPFLAGS'
7255 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7256 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7257 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7258 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7259 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
7260 # On Suns, sometimes $CPP names a directory.
7261 if test -n "$CPP" && test -d "$CPP"; then
7264 if test -z "$CPP"; then
7265 if test "${ac_cv_prog_CPP+set}" = set; then
7266 echo $ECHO_N "(cached) $ECHO_C" >&6
7268 # Double quotes because CPP needs to be expanded
7269 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7272 for ac_c_preproc_warn_flag
in '' yes
7274 # Use a header file that comes with gcc, so configuring glibc
7275 # with a fresh cross-compiler works.
7276 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7277 # <limits.h> exists even on freestanding compilers.
7278 # On the NeXT, cc -E runs the code through the compiler's parser,
7279 # not just through cpp. "Syntax error" is here to catch this case.
7280 cat >conftest.
$ac_ext <<_ACEOF
7283 cat confdefs.h
>>conftest.
$ac_ext
7284 cat >>conftest.
$ac_ext <<_ACEOF
7285 /* end confdefs.h. */
7287 # include <limits.h>
7289 # include <assert.h>
7293 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7294 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7296 grep -v '^ *+' conftest.er1
>conftest.err
7298 cat conftest.err
>&5
7299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7300 (exit $ac_status); } >/dev
/null
; then
7301 if test -s conftest.err
; then
7302 ac_cpp_err
=$ac_c_preproc_warn_flag
7303 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7310 if test -z "$ac_cpp_err"; then
7313 echo "$as_me: failed program was:" >&5
7314 sed 's/^/| /' conftest.
$ac_ext >&5
7316 # Broken: fails on valid input.
7319 rm -f conftest.err conftest.
$ac_ext
7321 # OK, works on sane cases. Now check whether non-existent headers
7322 # can be detected and how.
7323 cat >conftest.
$ac_ext <<_ACEOF
7326 cat confdefs.h
>>conftest.
$ac_ext
7327 cat >>conftest.
$ac_ext <<_ACEOF
7328 /* end confdefs.h. */
7329 #include <ac_nonexistent.h>
7331 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7332 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7334 grep -v '^ *+' conftest.er1
>conftest.err
7336 cat conftest.err
>&5
7337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7338 (exit $ac_status); } >/dev
/null
; then
7339 if test -s conftest.err
; then
7340 ac_cpp_err
=$ac_c_preproc_warn_flag
7341 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7348 if test -z "$ac_cpp_err"; then
7349 # Broken: success on invalid input.
7352 echo "$as_me: failed program was:" >&5
7353 sed 's/^/| /' conftest.
$ac_ext >&5
7355 # Passes both tests.
7359 rm -f conftest.err conftest.
$ac_ext
7362 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7363 rm -f conftest.err conftest.
$ac_ext
7364 if $ac_preproc_ok; then
7376 echo "$as_me:$LINENO: result: $CPP" >&5
7377 echo "${ECHO_T}$CPP" >&6
7379 for ac_c_preproc_warn_flag
in '' yes
7381 # Use a header file that comes with gcc, so configuring glibc
7382 # with a fresh cross-compiler works.
7383 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7384 # <limits.h> exists even on freestanding compilers.
7385 # On the NeXT, cc -E runs the code through the compiler's parser,
7386 # not just through cpp. "Syntax error" is here to catch this case.
7387 cat >conftest.
$ac_ext <<_ACEOF
7390 cat confdefs.h
>>conftest.
$ac_ext
7391 cat >>conftest.
$ac_ext <<_ACEOF
7392 /* end confdefs.h. */
7394 # include <limits.h>
7396 # include <assert.h>
7400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7401 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7403 grep -v '^ *+' conftest.er1
>conftest.err
7405 cat conftest.err
>&5
7406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7407 (exit $ac_status); } >/dev
/null
; then
7408 if test -s conftest.err
; then
7409 ac_cpp_err
=$ac_c_preproc_warn_flag
7410 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7417 if test -z "$ac_cpp_err"; then
7420 echo "$as_me: failed program was:" >&5
7421 sed 's/^/| /' conftest.
$ac_ext >&5
7423 # Broken: fails on valid input.
7426 rm -f conftest.err conftest.
$ac_ext
7428 # OK, works on sane cases. Now check whether non-existent headers
7429 # can be detected and how.
7430 cat >conftest.
$ac_ext <<_ACEOF
7433 cat confdefs.h
>>conftest.
$ac_ext
7434 cat >>conftest.
$ac_ext <<_ACEOF
7435 /* end confdefs.h. */
7436 #include <ac_nonexistent.h>
7438 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7439 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7441 grep -v '^ *+' conftest.er1
>conftest.err
7443 cat conftest.err
>&5
7444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7445 (exit $ac_status); } >/dev
/null
; then
7446 if test -s conftest.err
; then
7447 ac_cpp_err
=$ac_c_preproc_warn_flag
7448 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7455 if test -z "$ac_cpp_err"; then
7456 # Broken: success on invalid input.
7459 echo "$as_me: failed program was:" >&5
7460 sed 's/^/| /' conftest.
$ac_ext >&5
7462 # Passes both tests.
7466 rm -f conftest.err conftest.
$ac_ext
7469 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7470 rm -f conftest.err conftest.
$ac_ext
7471 if $ac_preproc_ok; then
7474 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7475 See \`config.log' for more details." >&5
7476 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7477 See \`config.log' for more details." >&2;}
7478 { (exit 1); exit 1; }; }
7482 ac_cpp
='$CPP $CPPFLAGS'
7483 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7484 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7485 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7488 echo "$as_me:$LINENO: checking for egrep" >&5
7489 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
7490 if test "${ac_cv_prog_egrep+set}" = set; then
7491 echo $ECHO_N "(cached) $ECHO_C" >&6
7493 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
7494 then ac_cv_prog_egrep
='grep -E'
7495 else ac_cv_prog_egrep
='egrep'
7498 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
7499 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
7500 EGREP
=$ac_cv_prog_egrep
7503 cat >conftest.
$ac_ext <<_ACEOF
7506 cat confdefs.h
>>conftest.
$ac_ext
7507 cat >>conftest.
$ac_ext <<_ACEOF
7508 /* end confdefs.h. */
7512 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7513 $EGREP "uint32_t" >/dev
/null
2>&1; then
7515 cat >>confdefs.h
<<\_ACEOF
7516 #define HAVE_INT32_DEFINED 1
7522 cat >conftest.
$ac_ext <<_ACEOF
7525 cat confdefs.h
>>conftest.
$ac_ext
7526 cat >>conftest.
$ac_ext <<_ACEOF
7527 /* end confdefs.h. */
7528 #include <inttypes.h>
7531 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7532 $EGREP "uint32_t" >/dev
/null
2>&1; then
7534 cat >>confdefs.h
<<\_ACEOF
7535 #define HAVE_INT32_DEFINED 1
7541 cat >conftest.
$ac_ext <<_ACEOF
7544 cat confdefs.h
>>conftest.
$ac_ext
7545 cat >>conftest.
$ac_ext <<_ACEOF
7546 /* end confdefs.h. */
7547 #include <sys/types.h>
7550 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7551 $EGREP "u_int32_t" >/dev
/null
2>&1; then
7553 cat >>confdefs.h
<<\_ACEOF
7554 #define HAVE_BSD_INT32_DEFINED 1
7560 cat >conftest.
$ac_ext <<_ACEOF
7563 cat confdefs.h
>>conftest.
$ac_ext
7564 cat >>conftest.
$ac_ext <<_ACEOF
7565 /* end confdefs.h. */
7566 #include <sys/config.h>
7569 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7570 $EGREP "u_int32_t" >/dev
/null
2>&1; then
7572 cat >>confdefs.h
<<\_ACEOF
7573 #define HAVE_BSD_INT32_DEFINED 1
7582 if test "$PLATFORM" = Win32
; then
7583 USING_WIN32_PLATFORM_TRUE
=
7584 USING_WIN32_PLATFORM_FALSE
='#'
7586 USING_WIN32_PLATFORM_TRUE
='#'
7587 USING_WIN32_PLATFORM_FALSE
=
7592 if test "$PLATFORM" = Posix ||
test "$PLATFORM" = Ecos
; then
7593 USING_POSIX_PLATFORM_TRUE
=
7594 USING_POSIX_PLATFORM_FALSE
='#'
7596 USING_POSIX_PLATFORM_TRUE
='#'
7597 USING_POSIX_PLATFORM_FALSE
=
7602 *-darwin*) DARWIN_CRT
=true
;;
7603 *) DARWIN_CRT
=false
;;
7607 if $DARWIN_CRT; then
7608 USING_DARWIN_CRT_TRUE
=
7609 USING_DARWIN_CRT_FALSE
='#'
7611 USING_DARWIN_CRT_TRUE
='#'
7612 USING_DARWIN_CRT_FALSE
=
7616 # These may not be defined in a non-ANS conformant embedded system.
7617 # FIXME: Should these case a runtime exception in that case?
7618 cat >conftest.
$ac_ext <<_ACEOF
7621 cat confdefs.h
>>conftest.
$ac_ext
7622 cat >>conftest.
$ac_ext <<_ACEOF
7623 /* end confdefs.h. */
7627 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7628 $EGREP "mktime" >/dev
/null
2>&1; then
7630 cat >>confdefs.h
<<\_ACEOF
7631 #define HAVE_MKTIME 1
7637 cat >conftest.
$ac_ext <<_ACEOF
7640 cat confdefs.h
>>conftest.
$ac_ext
7641 cat >>conftest.
$ac_ext <<_ACEOF
7642 /* end confdefs.h. */
7646 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7647 $EGREP "localtime" >/dev
/null
2>&1; then
7649 cat >>confdefs.h
<<\_ACEOF
7650 #define HAVE_LOCALTIME 1
7657 # Create the subdirectory for natFile.cc, or the attempt
7658 # to create the link will fail.
7659 test -d java || mkdir java
7660 test -d java
/io || mkdir java
/io
7661 test -d gnu || mkdir gnu
7662 ac_config_links
="$ac_config_links java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc"
7665 # Likewise for natConcreteProcess.cc.
7666 test -d java
/lang || mkdir java
/lang
7667 ac_config_links
="$ac_config_links java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc"
7670 # Likewise for natVMInetAddress.cc and natVMNetworkInterface.cc.
7671 test -d java
/net || mkdir java
/net
7672 ac_config_links
="$ac_config_links java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc"
7674 ac_config_links
="$ac_config_links java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc"
7677 # Likewise for natPlainSocketImpl.cc and natPlainDatagramSocketImpl.cc.
7678 test -d gnu
/java || mkdir gnu
/java
7679 test -d gnu
/java
/net || mkdir gnu
/java
/net
7680 ac_config_links
="$ac_config_links gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc"
7682 ac_config_links
="$ac_config_links gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc"
7685 # Likewise for natPipeImpl.cc and natSelectorImpl.cc.
7686 test -d gnu
/java
/nio || mkdir gnu
/java
/nio
7687 ac_config_links
="$ac_config_links gnu/java/nio/natPipeImpl.cc:gnu/java/nio/natPipeImpl${PLATFORM}.cc"
7689 ac_config_links
="$ac_config_links gnu/java/nio/natSelectorImpl.cc:gnu/java/nio/natSelectorImpl${PLATFORM}.cc"
7691 test -d gnu
/java
/nio
/channels || mkdir gnu
/java
/nio
/channels
7692 ac_config_links
="$ac_config_links gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc"
7697 SYSTEMSPEC
="-lgdi32 -lws2_32"
7698 if test "${with_win32_nlsapi}" = "unicows"; then
7699 SYSTEMSPEC
="-lunicows $SYSTEMSPEC"
7708 LIBGCJTESTSPEC
="-L`${PWDCMD-pwd}`/.libs -rpath `${PWDCMD-pwd}`/.libs"
7712 # Check whether --with-system-zlib or --without-system-zlib was given.
7713 if test "${with_system_zlib+set}" = set; then
7714 withval
="$with_system_zlib"
7722 echo "$as_me:$LINENO: checking for X" >&5
7723 echo $ECHO_N "checking for X... $ECHO_C" >&6
7726 # Check whether --with-x or --without-x was given.
7727 if test "${with_x+set}" = set; then
7731 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7732 if test "x$with_x" = xno
; then
7733 # The user explicitly disabled X.
7736 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7737 # Both variables are already set.
7740 if test "${ac_cv_have_x+set}" = set; then
7741 echo $ECHO_N "(cached) $ECHO_C" >&6
7743 # One or both of the vars are not set, and there is no cached value.
7744 ac_x_includes
=no ac_x_libraries
=no
7746 if mkdir conftest.dir
; then
7748 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7749 cat >Imakefile
<<'_ACEOF'
7751 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7753 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7754 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7755 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7756 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7757 for ac_extension
in a so sl
; do
7758 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7759 test -f $ac_im_libdir/libX11.
$ac_extension; then
7760 ac_im_usrlibdir
=$ac_im_libdir; break
7763 # Screen out bogus values from the imake configuration. They are
7764 # bogus both because they are the default anyway, and because
7765 # using them would break gcc on systems where it needs fixed includes.
7766 case $ac_im_incroot in
7768 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7770 case $ac_im_usrlibdir in
7772 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7779 # Standard set of common directories for X headers.
7780 # Check X11 before X11Rn because it is often a symlink to the current release.
7792 /usr/local/X11/include
7793 /usr/local/X11R6/include
7794 /usr/local/X11R5/include
7795 /usr/local/X11R4/include
7797 /usr/local/include/X11
7798 /usr/local/include/X11R6
7799 /usr/local/include/X11R5
7800 /usr/local/include/X11R4
7804 /usr/XFree86/include/X11
7808 /usr/unsupported/include
7810 /usr/local/x11r5/include
7811 /usr/lpp/Xamples/include
7813 /usr/openwin/include
7814 /usr/openwin/share/include'
7816 if test "$ac_x_includes" = no
; then
7817 # Guess where to find include files, by looking for Xlib.h.
7818 # First, try using that file with no special directory specified.
7819 cat >conftest.
$ac_ext <<_ACEOF
7822 cat confdefs.h
>>conftest.
$ac_ext
7823 cat >>conftest.
$ac_ext <<_ACEOF
7824 /* end confdefs.h. */
7825 #include <X11/Xlib.h>
7827 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7828 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7830 grep -v '^ *+' conftest.er1
>conftest.err
7832 cat conftest.err
>&5
7833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7834 (exit $ac_status); } >/dev
/null
; then
7835 if test -s conftest.err
; then
7836 ac_cpp_err
=$ac_c_preproc_warn_flag
7837 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7844 if test -z "$ac_cpp_err"; then
7845 # We can compile using X headers with no special include directory.
7848 echo "$as_me: failed program was:" >&5
7849 sed 's/^/| /' conftest.
$ac_ext >&5
7851 for ac_dir
in $ac_x_header_dirs; do
7852 if test -r "$ac_dir/X11/Xlib.h"; then
7853 ac_x_includes
=$ac_dir
7858 rm -f conftest.err conftest.
$ac_ext
7859 fi # $ac_x_includes = no
7861 if test "$ac_x_libraries" = no
; then
7862 # Check for the libraries.
7863 # See if we find them without any special options.
7864 # Don't add to $LIBS permanently.
7867 if test x
$gcc_no_link = xyes
; then
7868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7870 { (exit 1); exit 1; }; }
7872 cat >conftest.
$ac_ext <<_ACEOF
7875 cat confdefs.h
>>conftest.
$ac_ext
7876 cat >>conftest.
$ac_ext <<_ACEOF
7877 /* end confdefs.h. */
7878 #include <X11/Xlib.h>
7887 rm -f conftest.
$ac_objext conftest
$ac_exeext
7888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7889 (eval $ac_link) 2>conftest.er1
7891 grep -v '^ *+' conftest.er1
>conftest.err
7893 cat conftest.err
>&5
7894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7895 (exit $ac_status); } &&
7896 { ac_try
='test -z "$ac_c_werror_flag"
7897 || test ! -s conftest.err'
7898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7902 (exit $ac_status); }; } &&
7903 { ac_try
='test -s conftest$ac_exeext'
7904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7908 (exit $ac_status); }; }; then
7910 # We can link X programs with no special library path.
7913 echo "$as_me: failed program was:" >&5
7914 sed 's/^/| /' conftest.
$ac_ext >&5
7917 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7919 # Don't even attempt the hair of trying to link an X program!
7920 for ac_extension
in a so sl
; do
7921 if test -r $ac_dir/libXt.
$ac_extension; then
7922 ac_x_libraries
=$ac_dir
7928 rm -f conftest.err conftest.
$ac_objext \
7929 conftest
$ac_exeext conftest.
$ac_ext
7930 fi # $ac_x_libraries = no
7932 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
7933 # Didn't find X anywhere. Cache the known absence of X.
7934 ac_cv_have_x
="have_x=no"
7936 # Record where we found X for the cache.
7937 ac_cv_have_x
="have_x=yes \
7938 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7943 eval "$ac_cv_have_x"
7946 if test "$have_x" != yes; then
7947 echo "$as_me:$LINENO: result: $have_x" >&5
7948 echo "${ECHO_T}$have_x" >&6
7951 # If each of the values was on the command line, it overrides each guess.
7952 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7953 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7954 # Update the cache value to reflect the command line values.
7955 ac_cv_have_x
="have_x=yes \
7956 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7957 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
7958 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
7961 if test "$no_x" = yes; then
7962 # Not all programs may use this symbol, but it does not hurt to define it.
7964 cat >>confdefs.h
<<\_ACEOF
7965 #define X_DISPLAY_MISSING 1
7968 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7970 if test -n "$x_includes"; then
7971 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7974 # It would also be nice to do this for all -L options, not just this one.
7975 if test -n "$x_libraries"; then
7976 X_LIBS
="$X_LIBS -L$x_libraries"
7977 # For Solaris; some versions of Sun CC require a space after -R and
7978 # others require no space. Words are not sufficient . . . .
7979 case `(uname -sr) 2>/dev/null` in
7981 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
7982 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
7983 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7984 if test x
$gcc_no_link = xyes
; then
7985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7987 { (exit 1); exit 1; }; }
7989 cat >conftest.
$ac_ext <<_ACEOF
7992 cat confdefs.h
>>conftest.
$ac_ext
7993 cat >>conftest.
$ac_ext <<_ACEOF
7994 /* end confdefs.h. */
8004 rm -f conftest.
$ac_objext conftest
$ac_exeext
8005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8006 (eval $ac_link) 2>conftest.er1
8008 grep -v '^ *+' conftest.er1
>conftest.err
8010 cat conftest.err
>&5
8011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8012 (exit $ac_status); } &&
8013 { ac_try
='test -z "$ac_c_werror_flag"
8014 || test ! -s conftest.err'
8015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8019 (exit $ac_status); }; } &&
8020 { ac_try
='test -s conftest$ac_exeext'
8021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8025 (exit $ac_status); }; }; then
8028 echo "$as_me: failed program was:" >&5
8029 sed 's/^/| /' conftest.
$ac_ext >&5
8033 rm -f conftest.err conftest.
$ac_objext \
8034 conftest
$ac_exeext conftest.
$ac_ext
8035 if test $ac_R_nospace = yes; then
8036 echo "$as_me:$LINENO: result: no" >&5
8037 echo "${ECHO_T}no" >&6
8038 X_LIBS
="$X_LIBS -R$x_libraries"
8040 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8041 if test x
$gcc_no_link = xyes
; then
8042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8044 { (exit 1); exit 1; }; }
8046 cat >conftest.
$ac_ext <<_ACEOF
8049 cat confdefs.h
>>conftest.
$ac_ext
8050 cat >>conftest.
$ac_ext <<_ACEOF
8051 /* end confdefs.h. */
8061 rm -f conftest.
$ac_objext conftest
$ac_exeext
8062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8063 (eval $ac_link) 2>conftest.er1
8065 grep -v '^ *+' conftest.er1
>conftest.err
8067 cat conftest.err
>&5
8068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8069 (exit $ac_status); } &&
8070 { ac_try
='test -z "$ac_c_werror_flag"
8071 || test ! -s conftest.err'
8072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8076 (exit $ac_status); }; } &&
8077 { ac_try
='test -s conftest$ac_exeext'
8078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8082 (exit $ac_status); }; }; then
8085 echo "$as_me: failed program was:" >&5
8086 sed 's/^/| /' conftest.
$ac_ext >&5
8090 rm -f conftest.err conftest.
$ac_objext \
8091 conftest
$ac_exeext conftest.
$ac_ext
8092 if test $ac_R_space = yes; then
8093 echo "$as_me:$LINENO: result: yes" >&5
8094 echo "${ECHO_T}yes" >&6
8095 X_LIBS
="$X_LIBS -R $x_libraries"
8097 echo "$as_me:$LINENO: result: neither works" >&5
8098 echo "${ECHO_T}neither works" >&6
8105 # Check for system-dependent libraries X programs must link with.
8106 # Do this before checking for the system-independent R6 libraries
8107 # (-lICE), since we may need -lsocket or whatever for X linking.
8109 if test "$ISC" = yes; then
8110 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8112 # Martyn Johnson says this is needed for Ultrix, if the X
8113 # libraries were built with DECnet support. And Karl Berry says
8114 # the Alpha needs dnet_stub (dnet does not exist).
8115 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8116 if test x
$gcc_no_link = xyes
; then
8117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8119 { (exit 1); exit 1; }; }
8121 cat >conftest.
$ac_ext <<_ACEOF
8124 cat confdefs.h
>>conftest.
$ac_ext
8125 cat >>conftest.
$ac_ext <<_ACEOF
8126 /* end confdefs.h. */
8128 /* Override any gcc2 internal prototype to avoid an error. */
8132 /* We use char because int might match the return type of a gcc2
8133 builtin and then its argument prototype would still apply. */
8134 char XOpenDisplay ();
8143 rm -f conftest.
$ac_objext conftest
$ac_exeext
8144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8145 (eval $ac_link) 2>conftest.er1
8147 grep -v '^ *+' conftest.er1
>conftest.err
8149 cat conftest.err
>&5
8150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8151 (exit $ac_status); } &&
8152 { ac_try
='test -z "$ac_c_werror_flag"
8153 || test ! -s conftest.err'
8154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8158 (exit $ac_status); }; } &&
8159 { ac_try
='test -s conftest$ac_exeext'
8160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8164 (exit $ac_status); }; }; then
8167 echo "$as_me: failed program was:" >&5
8168 sed 's/^/| /' conftest.
$ac_ext >&5
8170 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
8171 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
8172 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
8173 echo $ECHO_N "(cached) $ECHO_C" >&6
8175 ac_check_lib_save_LIBS
=$LIBS
8177 if test x
$gcc_no_link = xyes
; then
8178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8180 { (exit 1); exit 1; }; }
8182 cat >conftest.
$ac_ext <<_ACEOF
8185 cat confdefs.h
>>conftest.
$ac_ext
8186 cat >>conftest.
$ac_ext <<_ACEOF
8187 /* end confdefs.h. */
8189 /* Override any gcc2 internal prototype to avoid an error. */
8193 /* We use char because int might match the return type of a gcc2
8194 builtin and then its argument prototype would still apply. */
8204 rm -f conftest.
$ac_objext conftest
$ac_exeext
8205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8206 (eval $ac_link) 2>conftest.er1
8208 grep -v '^ *+' conftest.er1
>conftest.err
8210 cat conftest.err
>&5
8211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8212 (exit $ac_status); } &&
8213 { ac_try
='test -z "$ac_c_werror_flag"
8214 || test ! -s conftest.err'
8215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8219 (exit $ac_status); }; } &&
8220 { ac_try
='test -s conftest$ac_exeext'
8221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8225 (exit $ac_status); }; }; then
8226 ac_cv_lib_dnet_dnet_ntoa
=yes
8228 echo "$as_me: failed program was:" >&5
8229 sed 's/^/| /' conftest.
$ac_ext >&5
8231 ac_cv_lib_dnet_dnet_ntoa
=no
8233 rm -f conftest.err conftest.
$ac_objext \
8234 conftest
$ac_exeext conftest.
$ac_ext
8235 LIBS
=$ac_check_lib_save_LIBS
8237 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8238 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
8239 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
8240 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8243 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8244 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
8245 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
8246 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
8247 echo $ECHO_N "(cached) $ECHO_C" >&6
8249 ac_check_lib_save_LIBS
=$LIBS
8250 LIBS
="-ldnet_stub $LIBS"
8251 if test x
$gcc_no_link = xyes
; then
8252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8254 { (exit 1); exit 1; }; }
8256 cat >conftest.
$ac_ext <<_ACEOF
8259 cat confdefs.h
>>conftest.
$ac_ext
8260 cat >>conftest.
$ac_ext <<_ACEOF
8261 /* end confdefs.h. */
8263 /* Override any gcc2 internal prototype to avoid an error. */
8267 /* We use char because int might match the return type of a gcc2
8268 builtin and then its argument prototype would still apply. */
8278 rm -f conftest.
$ac_objext conftest
$ac_exeext
8279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8280 (eval $ac_link) 2>conftest.er1
8282 grep -v '^ *+' conftest.er1
>conftest.err
8284 cat conftest.err
>&5
8285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8286 (exit $ac_status); } &&
8287 { ac_try
='test -z "$ac_c_werror_flag"
8288 || test ! -s conftest.err'
8289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8293 (exit $ac_status); }; } &&
8294 { ac_try
='test -s conftest$ac_exeext'
8295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8299 (exit $ac_status); }; }; then
8300 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8302 echo "$as_me: failed program was:" >&5
8303 sed 's/^/| /' conftest.
$ac_ext >&5
8305 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8307 rm -f conftest.err conftest.
$ac_objext \
8308 conftest
$ac_exeext conftest.
$ac_ext
8309 LIBS
=$ac_check_lib_save_LIBS
8311 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8312 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
8313 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
8314 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8319 rm -f conftest.err conftest.
$ac_objext \
8320 conftest
$ac_exeext conftest.
$ac_ext
8321 LIBS
="$ac_xsave_LIBS"
8323 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8324 # to get the SysV transport functions.
8325 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8327 # The nsl library prevents programs from opening the X display
8328 # on Irix 5.2, according to T.E. Dickey.
8329 # The functions gethostbyname, getservbyname, and inet_addr are
8330 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8331 echo "$as_me:$LINENO: checking for gethostbyname" >&5
8332 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
8333 if test "${ac_cv_func_gethostbyname+set}" = set; then
8334 echo $ECHO_N "(cached) $ECHO_C" >&6
8336 if test x
$gcc_no_link = xyes
; then
8337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8339 { (exit 1); exit 1; }; }
8341 cat >conftest.
$ac_ext <<_ACEOF
8344 cat confdefs.h
>>conftest.
$ac_ext
8345 cat >>conftest.
$ac_ext <<_ACEOF
8346 /* end confdefs.h. */
8347 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
8348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8349 #define gethostbyname innocuous_gethostbyname
8351 /* System header to define __stub macros and hopefully few prototypes,
8352 which can conflict with char gethostbyname (); below.
8353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8354 <limits.h> exists even on freestanding compilers. */
8357 # include <limits.h>
8359 # include <assert.h>
8362 #undef gethostbyname
8364 /* Override any gcc2 internal prototype to avoid an error. */
8369 /* We use char because int might match the return type of a gcc2
8370 builtin and then its argument prototype would still apply. */
8371 char gethostbyname ();
8372 /* The GNU C library defines this for functions which it implements
8373 to always fail with ENOSYS. Some functions are actually named
8374 something starting with __ and the normal name is an alias. */
8375 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
8378 char (*f) () = gethostbyname;
8387 return f != gethostbyname;
8392 rm -f conftest.
$ac_objext conftest
$ac_exeext
8393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8394 (eval $ac_link) 2>conftest.er1
8396 grep -v '^ *+' conftest.er1
>conftest.err
8398 cat conftest.err
>&5
8399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8400 (exit $ac_status); } &&
8401 { ac_try
='test -z "$ac_c_werror_flag"
8402 || test ! -s conftest.err'
8403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8407 (exit $ac_status); }; } &&
8408 { ac_try
='test -s conftest$ac_exeext'
8409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8413 (exit $ac_status); }; }; then
8414 ac_cv_func_gethostbyname
=yes
8416 echo "$as_me: failed program was:" >&5
8417 sed 's/^/| /' conftest.
$ac_ext >&5
8419 ac_cv_func_gethostbyname
=no
8421 rm -f conftest.err conftest.
$ac_objext \
8422 conftest
$ac_exeext conftest.
$ac_ext
8424 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
8425 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
8427 if test $ac_cv_func_gethostbyname = no
; then
8428 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
8429 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
8430 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
8431 echo $ECHO_N "(cached) $ECHO_C" >&6
8433 ac_check_lib_save_LIBS
=$LIBS
8435 if test x
$gcc_no_link = xyes
; then
8436 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8438 { (exit 1); exit 1; }; }
8440 cat >conftest.
$ac_ext <<_ACEOF
8443 cat confdefs.h
>>conftest.
$ac_ext
8444 cat >>conftest.
$ac_ext <<_ACEOF
8445 /* end confdefs.h. */
8447 /* Override any gcc2 internal prototype to avoid an error. */
8451 /* We use char because int might match the return type of a gcc2
8452 builtin and then its argument prototype would still apply. */
8453 char gethostbyname ();
8462 rm -f conftest.
$ac_objext conftest
$ac_exeext
8463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8464 (eval $ac_link) 2>conftest.er1
8466 grep -v '^ *+' conftest.er1
>conftest.err
8468 cat conftest.err
>&5
8469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8470 (exit $ac_status); } &&
8471 { ac_try
='test -z "$ac_c_werror_flag"
8472 || test ! -s conftest.err'
8473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8477 (exit $ac_status); }; } &&
8478 { ac_try
='test -s conftest$ac_exeext'
8479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8483 (exit $ac_status); }; }; then
8484 ac_cv_lib_nsl_gethostbyname
=yes
8486 echo "$as_me: failed program was:" >&5
8487 sed 's/^/| /' conftest.
$ac_ext >&5
8489 ac_cv_lib_nsl_gethostbyname
=no
8491 rm -f conftest.err conftest.
$ac_objext \
8492 conftest
$ac_exeext conftest.
$ac_ext
8493 LIBS
=$ac_check_lib_save_LIBS
8495 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
8496 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
8497 if test $ac_cv_lib_nsl_gethostbyname = yes; then
8498 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8501 if test $ac_cv_lib_nsl_gethostbyname = no
; then
8502 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
8503 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
8504 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
8505 echo $ECHO_N "(cached) $ECHO_C" >&6
8507 ac_check_lib_save_LIBS
=$LIBS
8509 if test x
$gcc_no_link = xyes
; then
8510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8512 { (exit 1); exit 1; }; }
8514 cat >conftest.
$ac_ext <<_ACEOF
8517 cat confdefs.h
>>conftest.
$ac_ext
8518 cat >>conftest.
$ac_ext <<_ACEOF
8519 /* end confdefs.h. */
8521 /* Override any gcc2 internal prototype to avoid an error. */
8525 /* We use char because int might match the return type of a gcc2
8526 builtin and then its argument prototype would still apply. */
8527 char gethostbyname ();
8536 rm -f conftest.
$ac_objext conftest
$ac_exeext
8537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8538 (eval $ac_link) 2>conftest.er1
8540 grep -v '^ *+' conftest.er1
>conftest.err
8542 cat conftest.err
>&5
8543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544 (exit $ac_status); } &&
8545 { ac_try
='test -z "$ac_c_werror_flag"
8546 || test ! -s conftest.err'
8547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8551 (exit $ac_status); }; } &&
8552 { ac_try
='test -s conftest$ac_exeext'
8553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8557 (exit $ac_status); }; }; then
8558 ac_cv_lib_bsd_gethostbyname
=yes
8560 echo "$as_me: failed program was:" >&5
8561 sed 's/^/| /' conftest.
$ac_ext >&5
8563 ac_cv_lib_bsd_gethostbyname
=no
8565 rm -f conftest.err conftest.
$ac_objext \
8566 conftest
$ac_exeext conftest.
$ac_ext
8567 LIBS
=$ac_check_lib_save_LIBS
8569 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
8570 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
8571 if test $ac_cv_lib_bsd_gethostbyname = yes; then
8572 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
8578 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8579 # socket/setsockopt and other routines are undefined under SCO ODT
8580 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8581 # on later versions), says Simon Leinen: it contains gethostby*
8582 # variants that don't use the name server (or something). -lsocket
8583 # must be given before -lnsl if both are needed. We assume that
8584 # if connect needs -lnsl, so does gethostbyname.
8585 echo "$as_me:$LINENO: checking for connect" >&5
8586 echo $ECHO_N "checking for connect... $ECHO_C" >&6
8587 if test "${ac_cv_func_connect+set}" = set; then
8588 echo $ECHO_N "(cached) $ECHO_C" >&6
8590 if test x
$gcc_no_link = xyes
; then
8591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8593 { (exit 1); exit 1; }; }
8595 cat >conftest.
$ac_ext <<_ACEOF
8598 cat confdefs.h
>>conftest.
$ac_ext
8599 cat >>conftest.
$ac_ext <<_ACEOF
8600 /* end confdefs.h. */
8601 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
8602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8603 #define connect innocuous_connect
8605 /* System header to define __stub macros and hopefully few prototypes,
8606 which can conflict with char connect (); below.
8607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8608 <limits.h> exists even on freestanding compilers. */
8611 # include <limits.h>
8613 # include <assert.h>
8618 /* Override any gcc2 internal prototype to avoid an error. */
8623 /* We use char because int might match the return type of a gcc2
8624 builtin and then its argument prototype would still apply. */
8626 /* The GNU C library defines this for functions which it implements
8627 to always fail with ENOSYS. Some functions are actually named
8628 something starting with __ and the normal name is an alias. */
8629 #if defined (__stub_connect) || defined (__stub___connect)
8632 char (*f) () = connect;
8641 return f != connect;
8646 rm -f conftest.
$ac_objext conftest
$ac_exeext
8647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8648 (eval $ac_link) 2>conftest.er1
8650 grep -v '^ *+' conftest.er1
>conftest.err
8652 cat conftest.err
>&5
8653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8654 (exit $ac_status); } &&
8655 { ac_try
='test -z "$ac_c_werror_flag"
8656 || test ! -s conftest.err'
8657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8661 (exit $ac_status); }; } &&
8662 { ac_try
='test -s conftest$ac_exeext'
8663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8667 (exit $ac_status); }; }; then
8668 ac_cv_func_connect
=yes
8670 echo "$as_me: failed program was:" >&5
8671 sed 's/^/| /' conftest.
$ac_ext >&5
8673 ac_cv_func_connect
=no
8675 rm -f conftest.err conftest.
$ac_objext \
8676 conftest
$ac_exeext conftest.
$ac_ext
8678 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
8679 echo "${ECHO_T}$ac_cv_func_connect" >&6
8681 if test $ac_cv_func_connect = no
; then
8682 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
8683 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
8684 if test "${ac_cv_lib_socket_connect+set}" = set; then
8685 echo $ECHO_N "(cached) $ECHO_C" >&6
8687 ac_check_lib_save_LIBS
=$LIBS
8688 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8689 if test x
$gcc_no_link = xyes
; then
8690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8692 { (exit 1); exit 1; }; }
8694 cat >conftest.
$ac_ext <<_ACEOF
8697 cat confdefs.h
>>conftest.
$ac_ext
8698 cat >>conftest.
$ac_ext <<_ACEOF
8699 /* end confdefs.h. */
8701 /* Override any gcc2 internal prototype to avoid an error. */
8705 /* We use char because int might match the return type of a gcc2
8706 builtin and then its argument prototype would still apply. */
8716 rm -f conftest.
$ac_objext conftest
$ac_exeext
8717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8718 (eval $ac_link) 2>conftest.er1
8720 grep -v '^ *+' conftest.er1
>conftest.err
8722 cat conftest.err
>&5
8723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8724 (exit $ac_status); } &&
8725 { ac_try
='test -z "$ac_c_werror_flag"
8726 || test ! -s conftest.err'
8727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8731 (exit $ac_status); }; } &&
8732 { ac_try
='test -s conftest$ac_exeext'
8733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8737 (exit $ac_status); }; }; then
8738 ac_cv_lib_socket_connect
=yes
8740 echo "$as_me: failed program was:" >&5
8741 sed 's/^/| /' conftest.
$ac_ext >&5
8743 ac_cv_lib_socket_connect
=no
8745 rm -f conftest.err conftest.
$ac_objext \
8746 conftest
$ac_exeext conftest.
$ac_ext
8747 LIBS
=$ac_check_lib_save_LIBS
8749 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
8750 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
8751 if test $ac_cv_lib_socket_connect = yes; then
8752 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8757 # Guillermo Gomez says -lposix is necessary on A/UX.
8758 echo "$as_me:$LINENO: checking for remove" >&5
8759 echo $ECHO_N "checking for remove... $ECHO_C" >&6
8760 if test "${ac_cv_func_remove+set}" = set; then
8761 echo $ECHO_N "(cached) $ECHO_C" >&6
8763 if test x
$gcc_no_link = xyes
; then
8764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8766 { (exit 1); exit 1; }; }
8768 cat >conftest.
$ac_ext <<_ACEOF
8771 cat confdefs.h
>>conftest.
$ac_ext
8772 cat >>conftest.
$ac_ext <<_ACEOF
8773 /* end confdefs.h. */
8774 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
8775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8776 #define remove innocuous_remove
8778 /* System header to define __stub macros and hopefully few prototypes,
8779 which can conflict with char remove (); below.
8780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8781 <limits.h> exists even on freestanding compilers. */
8784 # include <limits.h>
8786 # include <assert.h>
8791 /* Override any gcc2 internal prototype to avoid an error. */
8796 /* We use char because int might match the return type of a gcc2
8797 builtin and then its argument prototype would still apply. */
8799 /* The GNU C library defines this for functions which it implements
8800 to always fail with ENOSYS. Some functions are actually named
8801 something starting with __ and the normal name is an alias. */
8802 #if defined (__stub_remove) || defined (__stub___remove)
8805 char (*f) () = remove;
8819 rm -f conftest.
$ac_objext conftest
$ac_exeext
8820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8821 (eval $ac_link) 2>conftest.er1
8823 grep -v '^ *+' conftest.er1
>conftest.err
8825 cat conftest.err
>&5
8826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8827 (exit $ac_status); } &&
8828 { ac_try
='test -z "$ac_c_werror_flag"
8829 || test ! -s conftest.err'
8830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8834 (exit $ac_status); }; } &&
8835 { ac_try
='test -s conftest$ac_exeext'
8836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8840 (exit $ac_status); }; }; then
8841 ac_cv_func_remove
=yes
8843 echo "$as_me: failed program was:" >&5
8844 sed 's/^/| /' conftest.
$ac_ext >&5
8846 ac_cv_func_remove
=no
8848 rm -f conftest.err conftest.
$ac_objext \
8849 conftest
$ac_exeext conftest.
$ac_ext
8851 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
8852 echo "${ECHO_T}$ac_cv_func_remove" >&6
8854 if test $ac_cv_func_remove = no
; then
8855 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
8856 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
8857 if test "${ac_cv_lib_posix_remove+set}" = set; then
8858 echo $ECHO_N "(cached) $ECHO_C" >&6
8860 ac_check_lib_save_LIBS
=$LIBS
8861 LIBS
="-lposix $LIBS"
8862 if test x
$gcc_no_link = xyes
; then
8863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8865 { (exit 1); exit 1; }; }
8867 cat >conftest.
$ac_ext <<_ACEOF
8870 cat confdefs.h
>>conftest.
$ac_ext
8871 cat >>conftest.
$ac_ext <<_ACEOF
8872 /* end confdefs.h. */
8874 /* Override any gcc2 internal prototype to avoid an error. */
8878 /* We use char because int might match the return type of a gcc2
8879 builtin and then its argument prototype would still apply. */
8889 rm -f conftest.
$ac_objext conftest
$ac_exeext
8890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8891 (eval $ac_link) 2>conftest.er1
8893 grep -v '^ *+' conftest.er1
>conftest.err
8895 cat conftest.err
>&5
8896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8897 (exit $ac_status); } &&
8898 { ac_try
='test -z "$ac_c_werror_flag"
8899 || test ! -s conftest.err'
8900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904 (exit $ac_status); }; } &&
8905 { ac_try
='test -s conftest$ac_exeext'
8906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8910 (exit $ac_status); }; }; then
8911 ac_cv_lib_posix_remove
=yes
8913 echo "$as_me: failed program was:" >&5
8914 sed 's/^/| /' conftest.
$ac_ext >&5
8916 ac_cv_lib_posix_remove
=no
8918 rm -f conftest.err conftest.
$ac_objext \
8919 conftest
$ac_exeext conftest.
$ac_ext
8920 LIBS
=$ac_check_lib_save_LIBS
8922 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
8923 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
8924 if test $ac_cv_lib_posix_remove = yes; then
8925 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8930 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8931 echo "$as_me:$LINENO: checking for shmat" >&5
8932 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
8933 if test "${ac_cv_func_shmat+set}" = set; then
8934 echo $ECHO_N "(cached) $ECHO_C" >&6
8936 if test x
$gcc_no_link = xyes
; then
8937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8939 { (exit 1); exit 1; }; }
8941 cat >conftest.
$ac_ext <<_ACEOF
8944 cat confdefs.h
>>conftest.
$ac_ext
8945 cat >>conftest.
$ac_ext <<_ACEOF
8946 /* end confdefs.h. */
8947 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
8948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8949 #define shmat innocuous_shmat
8951 /* System header to define __stub macros and hopefully few prototypes,
8952 which can conflict with char shmat (); below.
8953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8954 <limits.h> exists even on freestanding compilers. */
8957 # include <limits.h>
8959 # include <assert.h>
8964 /* Override any gcc2 internal prototype to avoid an error. */
8969 /* We use char because int might match the return type of a gcc2
8970 builtin and then its argument prototype would still apply. */
8972 /* The GNU C library defines this for functions which it implements
8973 to always fail with ENOSYS. Some functions are actually named
8974 something starting with __ and the normal name is an alias. */
8975 #if defined (__stub_shmat) || defined (__stub___shmat)
8978 char (*f) () = shmat;
8992 rm -f conftest.
$ac_objext conftest
$ac_exeext
8993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8994 (eval $ac_link) 2>conftest.er1
8996 grep -v '^ *+' conftest.er1
>conftest.err
8998 cat conftest.err
>&5
8999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9000 (exit $ac_status); } &&
9001 { ac_try
='test -z "$ac_c_werror_flag"
9002 || test ! -s conftest.err'
9003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9007 (exit $ac_status); }; } &&
9008 { ac_try
='test -s conftest$ac_exeext'
9009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9013 (exit $ac_status); }; }; then
9014 ac_cv_func_shmat
=yes
9016 echo "$as_me: failed program was:" >&5
9017 sed 's/^/| /' conftest.
$ac_ext >&5
9021 rm -f conftest.err conftest.
$ac_objext \
9022 conftest
$ac_exeext conftest.
$ac_ext
9024 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
9025 echo "${ECHO_T}$ac_cv_func_shmat" >&6
9027 if test $ac_cv_func_shmat = no
; then
9028 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
9029 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
9030 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
9031 echo $ECHO_N "(cached) $ECHO_C" >&6
9033 ac_check_lib_save_LIBS
=$LIBS
9035 if test x
$gcc_no_link = xyes
; then
9036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9038 { (exit 1); exit 1; }; }
9040 cat >conftest.
$ac_ext <<_ACEOF
9043 cat confdefs.h
>>conftest.
$ac_ext
9044 cat >>conftest.
$ac_ext <<_ACEOF
9045 /* end confdefs.h. */
9047 /* Override any gcc2 internal prototype to avoid an error. */
9051 /* We use char because int might match the return type of a gcc2
9052 builtin and then its argument prototype would still apply. */
9062 rm -f conftest.
$ac_objext conftest
$ac_exeext
9063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9064 (eval $ac_link) 2>conftest.er1
9066 grep -v '^ *+' conftest.er1
>conftest.err
9068 cat conftest.err
>&5
9069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9070 (exit $ac_status); } &&
9071 { ac_try
='test -z "$ac_c_werror_flag"
9072 || test ! -s conftest.err'
9073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9077 (exit $ac_status); }; } &&
9078 { ac_try
='test -s conftest$ac_exeext'
9079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9083 (exit $ac_status); }; }; then
9084 ac_cv_lib_ipc_shmat
=yes
9086 echo "$as_me: failed program was:" >&5
9087 sed 's/^/| /' conftest.
$ac_ext >&5
9089 ac_cv_lib_ipc_shmat
=no
9091 rm -f conftest.err conftest.
$ac_objext \
9092 conftest
$ac_exeext conftest.
$ac_ext
9093 LIBS
=$ac_check_lib_save_LIBS
9095 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
9096 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
9097 if test $ac_cv_lib_ipc_shmat = yes; then
9098 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9104 # Check for libraries that X11R6 Xt/Xaw programs need.
9105 ac_save_LDFLAGS
=$LDFLAGS
9106 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9107 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9108 # check for ICE first), but we must link in the order -lSM -lICE or
9109 # we get undefined symbols. So assume we have SM if we have ICE.
9110 # These have to be linked with before -lX11, unlike the other
9111 # libraries we check for below, so use a different variable.
9112 # John Interrante, Karl Berry
9113 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
9114 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
9115 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
9116 echo $ECHO_N "(cached) $ECHO_C" >&6
9118 ac_check_lib_save_LIBS
=$LIBS
9119 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9120 if test x
$gcc_no_link = xyes
; then
9121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9123 { (exit 1); exit 1; }; }
9125 cat >conftest.
$ac_ext <<_ACEOF
9128 cat confdefs.h
>>conftest.
$ac_ext
9129 cat >>conftest.
$ac_ext <<_ACEOF
9130 /* end confdefs.h. */
9132 /* Override any gcc2 internal prototype to avoid an error. */
9136 /* We use char because int might match the return type of a gcc2
9137 builtin and then its argument prototype would still apply. */
9138 char IceConnectionNumber ();
9142 IceConnectionNumber ();
9147 rm -f conftest.
$ac_objext conftest
$ac_exeext
9148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9149 (eval $ac_link) 2>conftest.er1
9151 grep -v '^ *+' conftest.er1
>conftest.err
9153 cat conftest.err
>&5
9154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9155 (exit $ac_status); } &&
9156 { ac_try
='test -z "$ac_c_werror_flag"
9157 || test ! -s conftest.err'
9158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9162 (exit $ac_status); }; } &&
9163 { ac_try
='test -s conftest$ac_exeext'
9164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9168 (exit $ac_status); }; }; then
9169 ac_cv_lib_ICE_IceConnectionNumber
=yes
9171 echo "$as_me: failed program was:" >&5
9172 sed 's/^/| /' conftest.
$ac_ext >&5
9174 ac_cv_lib_ICE_IceConnectionNumber
=no
9176 rm -f conftest.err conftest.
$ac_objext \
9177 conftest
$ac_exeext conftest.
$ac_ext
9178 LIBS
=$ac_check_lib_save_LIBS
9180 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9181 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
9182 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
9183 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9186 LDFLAGS
=$ac_save_LDFLAGS
9191 # FIXME: this should be _libs on some hosts.
9194 # extra LD Flags which are required for targets
9197 # For now we have to disable it on darwin[8-9] because it slows down
9198 # the linking phase. A possible bug in ld?
9199 # on Darwin -single_module speeds up loading of the dynamic libraries.
9200 extra_ldflags_libjava
=-Wl,-single_module
9205 # Allow the GC to be disabled. Can be useful when debugging.
9206 echo "$as_me:$LINENO: checking for garbage collector to use" >&5
9207 echo $ECHO_N "checking for garbage collector to use... $ECHO_C" >&6
9208 # Check whether --enable-java-gc or --disable-java-gc was given.
9209 if test "${enable_java_gc+set}" = set; then
9210 enableval
="$enable_java_gc"
9223 echo "$as_me:$LINENO: result: boehm" >&5
9224 echo "${ECHO_T}boehm" >&6
9225 GCLIBS
=..
/boehm-gc
/libgcjgc_convenience.la
9226 JC1GCSPEC
='-fuse-boehm-gc'
9227 GCTESTSPEC
="-L`${PWDCMD-pwd}`/../boehm-gc/.libs -rpath `${PWDCMD-pwd}`/../boehm-gc/.libs"
9228 GCINCS
='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include'
9231 # The POSIX thread support needs to know this.
9233 cat >>confdefs.h
<<\_ACEOF
9234 #define HAVE_BOEHM_GC 1
9239 echo "$as_me:$LINENO: result: none" >&5
9240 echo "${ECHO_T}none" >&6
9244 { { echo "$as_me:$LINENO: error: unrecognized collector \"$GC\"" >&5
9245 echo "$as_me: error: unrecognized collector \"$GC\"" >&2;}
9246 { (exit 1); exit 1; }; }
9255 ac_config_links
="$ac_config_links include/java-gc.h:include/$GCHDR"
9259 if test "$GC" = boehm
; then
9261 USING_BOEHMGC_FALSE
='#'
9263 USING_BOEHMGC_TRUE
='#'
9264 USING_BOEHMGC_FALSE
=
9269 if test "$GC" = no
; then
9271 USING_NOGC_FALSE
='#'
9279 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
9280 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
9281 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
9282 echo "$as_me:$LINENO: result: $THREADS" >&5
9283 echo "${ECHO_T}$THREADS" >&6
9289 posix | posix95 | pthreads
)
9294 cat >>confdefs.h
<<\_ACEOF
9295 #define LINUX_THREADS 1
9303 decosf1 | irix | mach | os2 | solaris | dce | vxworks
)
9304 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
9305 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
9306 { (exit 1); exit 1; }; }
9309 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
9310 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
9311 { (exit 1); exit 1; }; }
9322 THREADSTARTFILESPEC
=
9327 # Don't set THREADLIBS here. Cygwin doesn't have -lpthread.
9330 # Before FreeBSD 5, it didn't have -lpthread (or any library which
9331 # merely adds pthread_* functions) but it does have a -pthread switch
9332 # which is required at link-time to select -lc_r *instead* of -lc.
9333 THREADLDFLAGS
=-pthread
9334 # Don't set THREADSPEC here as might be expected since -pthread is
9335 # not processed when found within a spec file, it must come from
9336 # the command line. For now, the user must provide the -pthread
9337 # switch to link code compiled with gcj. In future, consider adding
9338 # support for weak references to pthread_* functions ala gthr.h API.
9339 THREADSPEC
='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
9342 # FreeBSD >=5.3 implements a model much closer to other modern UNIX
9343 # systems which support threads and -lpthread.
9344 THREADLDFLAGS
=-pthread
9345 THREADSPEC
=-lpthread
9347 alpha
*-dec-osf* | hppa
*-hp-hpux*)
9348 THREADCXXFLAGS
=-pthread
9349 # boehm-gc needs some functions from librt, so link that too.
9350 THREADLIBS
='-lpthread -lrt'
9351 THREADSPEC
='-lpthread -lrt'
9354 THREADLIBS
=-lpthread
9355 THREADSPEC
=-lpthread
9358 THREADH
=posix-threads.h
9359 # MIT pthreads doesn't seem to have the mutexattr functions.
9360 # But for now we don't check for it. We just assume you aren't
9361 # using MIT pthreads.
9363 cat >>confdefs.h
<<\_ACEOF
9364 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
9368 # If we're using the Boehm GC, then we happen to know that it
9369 # defines _REENTRANT, so we don't bother. Eww.
9370 if test "$GC" != boehm
; then
9372 cat >>confdefs.h
<<\_ACEOF
9373 #define _REENTRANT 1
9378 cat >>confdefs.h
<<\_ACEOF
9379 #define _POSIX_PTHREAD_SEMANTICS 1
9385 THREADH
=win32-threads.h
9386 THREADCXXFLAGS
=-mthreads
9387 # We need thread-safe exception handling so _CRT_MT should be set to 1.
9388 # But we do not want the executables created to be dependent on
9389 # mingwm10.dll which provides a __mingwthr_key_dtor() that cleans up
9390 # exception handling contexts. The following kludge achieves this effect
9391 # and causes a dummy __mingwthr_key_dtor() to be linked in from
9392 # libmingw32.a. This causes a memory leak of about 24 bytes per thread.
9393 # A workaround is to explicitly use -mthreads while linking Java programs.
9394 # See PR libgcj/28263.
9396 # FIXME: In Java we are able to detect thread death at the end of
9397 # Thread.run() so we should be able to clean up the exception handling
9398 # contexts ourselves.
9399 THREADSTARTFILESPEC
='crtmt%O%s'
9403 THREADH
=no-threads.h
9406 ac_config_links
="$ac_config_links include/java-threads.h:include/$THREADH"
9417 if test "$THREADS" = posix
; then
9418 USING_POSIX_THREADS_TRUE
=
9419 USING_POSIX_THREADS_FALSE
='#'
9421 USING_POSIX_THREADS_TRUE
='#'
9422 USING_POSIX_THREADS_FALSE
=
9427 if test "$THREADS" = win32
; then
9428 USING_WIN32_THREADS_TRUE
=
9429 USING_WIN32_THREADS_FALSE
='#'
9431 USING_WIN32_THREADS_TRUE
='#'
9432 USING_WIN32_THREADS_FALSE
=
9437 if test "$THREADS" = none
; then
9438 USING_NO_THREADS_TRUE
=
9439 USING_NO_THREADS_FALSE
='#'
9441 USING_NO_THREADS_TRUE
='#'
9442 USING_NO_THREADS_FALSE
=
9447 if test "$use_libgcj_bc" = yes; then
9449 USE_LIBGCJ_BC_FALSE
='#'
9451 USE_LIBGCJ_BC_TRUE
='#'
9452 USE_LIBGCJ_BC_FALSE
=
9456 if test -d sysdep
; then true
; else mkdir sysdep
; fi
9457 ac_config_links
="$ac_config_links sysdep/locks.h:sysdep/$sysdeps_dir/locks.h"
9459 ac_config_links
="$ac_config_links sysdep/backtrace.h:$fallback_backtrace_h"
9461 ac_config_links
="$ac_config_links sysdep/descriptor.h:$descriptor_h"
9464 LIBGCJ_SPEC
="%{s-bc-abi:} -lgcj"
9465 if test "$use_libgcj_bc" = yes; then
9466 LIBGCJ_SPEC
="%{s-bc-abi:-lgcj_bc;:-lgcj}"
9471 # Hash synchronization is only useful with posix threads right now.
9472 if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then
9473 HASH_SYNC_SPEC
=-fhash-synchronization
9475 cat >>confdefs.h
<<\_ACEOF
9476 #define JV_HASH_SYNCHRONIZATION 1
9484 if test "$GCC" = yes; then
9493 # We're in the tree with gcc, and need to include some of its headers.
9494 GCC_UNWIND_INCLUDE
='-I$(multi_basedir)/./libjava/../gcc'
9496 if test "x${with_newlib}" = "xyes"; then
9497 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
9498 # may not work correctly, because the compiler may not be able to
9501 # We assume newlib. This lets us hard-code the functions we know
9504 cat >>confdefs.h
<<\_ACEOF
9505 #define HAVE_MEMMOVE 1
9509 cat >>confdefs.h
<<\_ACEOF
9510 #define HAVE_MEMCPY 1
9514 cat >>confdefs.h
<<\_ACEOF
9515 #define HAVE_STRERROR 1
9519 cat >>confdefs.h
<<\_ACEOF
9524 cat >>confdefs.h
<<\_ACEOF
9525 #define HAVE_GMTIME_R 1
9529 cat >>confdefs.h
<<\_ACEOF
9530 #define HAVE_LOCALTIME_R 1
9534 cat >>confdefs.h
<<\_ACEOF
9535 #define HAVE_USLEEP_DECL 1
9538 # This is only for POSIX threads.
9540 cat >>confdefs.h
<<\_ACEOF
9541 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
9544 # We also assume we are using gcc, which provides alloca.
9545 cat >>confdefs.h
<<\_ACEOF
9546 #define HAVE_ALLOCA 1
9550 # Assume we do not have getuid and friends.
9552 cat >>confdefs.h
<<\_ACEOF
9593 for ac_func
in strerror ioctl
select fstat open fsync
sleep opendir \
9594 gmtime_r localtime_r readdir_r getpwuid_r getcwd \
9595 access stat lstat mkdir rename
rmdir unlink utime
chmod readlink \
9596 nl_langinfo setlocale \
9597 inet_pton uname inet_ntoa \
9598 fork execvp pipe sigaction ftruncate mmap \
9601 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9602 echo "$as_me:$LINENO: checking for $ac_func" >&5
9603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9604 if eval "test \"\${$as_ac_var+set}\" = set"; then
9605 echo $ECHO_N "(cached) $ECHO_C" >&6
9607 if test x
$gcc_no_link = xyes
; then
9608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9610 { (exit 1); exit 1; }; }
9612 cat >conftest.
$ac_ext <<_ACEOF
9615 cat confdefs.h
>>conftest.
$ac_ext
9616 cat >>conftest.
$ac_ext <<_ACEOF
9617 /* end confdefs.h. */
9618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9620 #define $ac_func innocuous_$ac_func
9622 /* System header to define __stub macros and hopefully few prototypes,
9623 which can conflict with char $ac_func (); below.
9624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9625 <limits.h> exists even on freestanding compilers. */
9628 # include <limits.h>
9630 # include <assert.h>
9635 /* Override any gcc2 internal prototype to avoid an error. */
9640 /* We use char because int might match the return type of a gcc2
9641 builtin and then its argument prototype would still apply. */
9643 /* The GNU C library defines this for functions which it implements
9644 to always fail with ENOSYS. Some functions are actually named
9645 something starting with __ and the normal name is an alias. */
9646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9649 char (*f) () = $ac_func;
9658 return f != $ac_func;
9663 rm -f conftest.
$ac_objext conftest
$ac_exeext
9664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9665 (eval $ac_link) 2>conftest.er1
9667 grep -v '^ *+' conftest.er1
>conftest.err
9669 cat conftest.err
>&5
9670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9671 (exit $ac_status); } &&
9672 { ac_try
='test -z "$ac_c_werror_flag"
9673 || test ! -s conftest.err'
9674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9678 (exit $ac_status); }; } &&
9679 { ac_try
='test -s conftest$ac_exeext'
9680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9684 (exit $ac_status); }; }; then
9685 eval "$as_ac_var=yes"
9687 echo "$as_me: failed program was:" >&5
9688 sed 's/^/| /' conftest.
$ac_ext >&5
9690 eval "$as_ac_var=no"
9692 rm -f conftest.err conftest.
$ac_objext \
9693 conftest
$ac_exeext conftest.
$ac_ext
9695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9697 if test `eval echo '${'$as_ac_var'}'` = yes; then
9698 cat >>confdefs.h
<<_ACEOF
9699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9707 for ac_func
in inet_aton inet_addr
9709 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9710 echo "$as_me:$LINENO: checking for $ac_func" >&5
9711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9712 if eval "test \"\${$as_ac_var+set}\" = set"; then
9713 echo $ECHO_N "(cached) $ECHO_C" >&6
9715 if test x
$gcc_no_link = xyes
; then
9716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9718 { (exit 1); exit 1; }; }
9720 cat >conftest.
$ac_ext <<_ACEOF
9723 cat confdefs.h
>>conftest.
$ac_ext
9724 cat >>conftest.
$ac_ext <<_ACEOF
9725 /* end confdefs.h. */
9726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9728 #define $ac_func innocuous_$ac_func
9730 /* System header to define __stub macros and hopefully few prototypes,
9731 which can conflict with char $ac_func (); below.
9732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9733 <limits.h> exists even on freestanding compilers. */
9736 # include <limits.h>
9738 # include <assert.h>
9743 /* Override any gcc2 internal prototype to avoid an error. */
9748 /* We use char because int might match the return type of a gcc2
9749 builtin and then its argument prototype would still apply. */
9751 /* The GNU C library defines this for functions which it implements
9752 to always fail with ENOSYS. Some functions are actually named
9753 something starting with __ and the normal name is an alias. */
9754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9757 char (*f) () = $ac_func;
9766 return f != $ac_func;
9771 rm -f conftest.
$ac_objext conftest
$ac_exeext
9772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9773 (eval $ac_link) 2>conftest.er1
9775 grep -v '^ *+' conftest.er1
>conftest.err
9777 cat conftest.err
>&5
9778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9779 (exit $ac_status); } &&
9780 { ac_try
='test -z "$ac_c_werror_flag"
9781 || test ! -s conftest.err'
9782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9786 (exit $ac_status); }; } &&
9787 { ac_try
='test -s conftest$ac_exeext'
9788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9792 (exit $ac_status); }; }; then
9793 eval "$as_ac_var=yes"
9795 echo "$as_me: failed program was:" >&5
9796 sed 's/^/| /' conftest.
$ac_ext >&5
9798 eval "$as_ac_var=no"
9800 rm -f conftest.err conftest.
$ac_objext \
9801 conftest
$ac_exeext conftest.
$ac_ext
9803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9805 if test `eval echo '${'$as_ac_var'}'` = yes; then
9806 cat >>confdefs.h
<<_ACEOF
9807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9813 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
9814 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
9815 if test "${ac_cv_header_stdc+set}" = set; then
9816 echo $ECHO_N "(cached) $ECHO_C" >&6
9818 cat >conftest.
$ac_ext <<_ACEOF
9821 cat confdefs.h
>>conftest.
$ac_ext
9822 cat >>conftest.
$ac_ext <<_ACEOF
9823 /* end confdefs.h. */
9837 rm -f conftest.
$ac_objext
9838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9839 (eval $ac_compile) 2>conftest.er1
9841 grep -v '^ *+' conftest.er1
>conftest.err
9843 cat conftest.err
>&5
9844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9845 (exit $ac_status); } &&
9846 { ac_try
='test -z "$ac_c_werror_flag"
9847 || test ! -s conftest.err'
9848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9852 (exit $ac_status); }; } &&
9853 { ac_try
='test -s conftest.$ac_objext'
9854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9858 (exit $ac_status); }; }; then
9859 ac_cv_header_stdc
=yes
9861 echo "$as_me: failed program was:" >&5
9862 sed 's/^/| /' conftest.
$ac_ext >&5
9864 ac_cv_header_stdc
=no
9866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9868 if test $ac_cv_header_stdc = yes; then
9869 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9870 cat >conftest.
$ac_ext <<_ACEOF
9873 cat confdefs.h
>>conftest.
$ac_ext
9874 cat >>conftest.
$ac_ext <<_ACEOF
9875 /* end confdefs.h. */
9879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9880 $EGREP "memchr" >/dev
/null
2>&1; then
9883 ac_cv_header_stdc
=no
9889 if test $ac_cv_header_stdc = yes; then
9890 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9891 cat >conftest.
$ac_ext <<_ACEOF
9894 cat confdefs.h
>>conftest.
$ac_ext
9895 cat >>conftest.
$ac_ext <<_ACEOF
9896 /* end confdefs.h. */
9900 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9901 $EGREP "free" >/dev
/null
2>&1; then
9904 ac_cv_header_stdc
=no
9910 if test $ac_cv_header_stdc = yes; then
9911 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9912 if test "$cross_compiling" = yes; then
9915 cat >conftest.
$ac_ext <<_ACEOF
9918 cat confdefs.h
>>conftest.
$ac_ext
9919 cat >>conftest.
$ac_ext <<_ACEOF
9920 /* end confdefs.h. */
9922 #if ((' ' & 0x0FF) == 0x020)
9923 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9924 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9926 # define ISLOWER(c) \
9927 (('a' <= (c) && (c) <= 'i') \
9928 || ('j' <= (c) && (c) <= 'r') \
9929 || ('s' <= (c) && (c) <= 'z'))
9930 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9933 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9938 for (i = 0; i < 256; i++)
9939 if (XOR (islower (i), ISLOWER (i))
9940 || toupper (i) != TOUPPER (i))
9945 rm -f conftest
$ac_exeext
9946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9947 (eval $ac_link) 2>&5
9949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9950 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9955 (exit $ac_status); }; }; then
9958 echo "$as_me: program exited with status $ac_status" >&5
9959 echo "$as_me: failed program was:" >&5
9960 sed 's/^/| /' conftest.
$ac_ext >&5
9963 ac_cv_header_stdc
=no
9965 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9969 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
9970 echo "${ECHO_T}$ac_cv_header_stdc" >&6
9971 if test $ac_cv_header_stdc = yes; then
9973 cat >>confdefs.h
<<\_ACEOF
9974 #define STDC_HEADERS 1
9979 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9989 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
9990 inttypes.h stdint.h unistd.h
9992 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9993 echo "$as_me:$LINENO: checking for $ac_header" >&5
9994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9996 echo $ECHO_N "(cached) $ECHO_C" >&6
9998 cat >conftest.
$ac_ext <<_ACEOF
10001 cat confdefs.h
>>conftest.
$ac_ext
10002 cat >>conftest.
$ac_ext <<_ACEOF
10003 /* end confdefs.h. */
10004 $ac_includes_default
10006 #include <$ac_header>
10008 rm -f conftest.
$ac_objext
10009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10010 (eval $ac_compile) 2>conftest.er1
10012 grep -v '^ *+' conftest.er1
>conftest.err
10014 cat conftest.err
>&5
10015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10016 (exit $ac_status); } &&
10017 { ac_try
='test -z "$ac_c_werror_flag"
10018 || test ! -s conftest.err'
10019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10020 (eval $ac_try) 2>&5
10022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10023 (exit $ac_status); }; } &&
10024 { ac_try
='test -s conftest.$ac_objext'
10025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10026 (eval $ac_try) 2>&5
10028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10029 (exit $ac_status); }; }; then
10030 eval "$as_ac_Header=yes"
10032 echo "$as_me: failed program was:" >&5
10033 sed 's/^/| /' conftest.
$ac_ext >&5
10035 eval "$as_ac_Header=no"
10037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10041 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10042 cat >>confdefs.h
<<_ACEOF
10043 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10054 for ac_header
in execinfo.h unistd.h dlfcn.h
10056 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10058 echo "$as_me:$LINENO: checking for $ac_header" >&5
10059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10060 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10061 echo $ECHO_N "(cached) $ECHO_C" >&6
10063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10064 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10066 # Is the header compilable?
10067 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10068 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10069 cat >conftest.
$ac_ext <<_ACEOF
10072 cat confdefs.h
>>conftest.
$ac_ext
10073 cat >>conftest.
$ac_ext <<_ACEOF
10074 /* end confdefs.h. */
10075 $ac_includes_default
10076 #include <$ac_header>
10078 rm -f conftest.
$ac_objext
10079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10080 (eval $ac_compile) 2>conftest.er1
10082 grep -v '^ *+' conftest.er1
>conftest.err
10084 cat conftest.err
>&5
10085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10086 (exit $ac_status); } &&
10087 { ac_try
='test -z "$ac_c_werror_flag"
10088 || test ! -s conftest.err'
10089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10090 (eval $ac_try) 2>&5
10092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10093 (exit $ac_status); }; } &&
10094 { ac_try
='test -s conftest.$ac_objext'
10095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10096 (eval $ac_try) 2>&5
10098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10099 (exit $ac_status); }; }; then
10100 ac_header_compiler
=yes
10102 echo "$as_me: failed program was:" >&5
10103 sed 's/^/| /' conftest.
$ac_ext >&5
10105 ac_header_compiler
=no
10107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10108 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10109 echo "${ECHO_T}$ac_header_compiler" >&6
10111 # Is the header present?
10112 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10113 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10114 cat >conftest.
$ac_ext <<_ACEOF
10117 cat confdefs.h
>>conftest.
$ac_ext
10118 cat >>conftest.
$ac_ext <<_ACEOF
10119 /* end confdefs.h. */
10120 #include <$ac_header>
10122 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10123 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10125 grep -v '^ *+' conftest.er1
>conftest.err
10127 cat conftest.err
>&5
10128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10129 (exit $ac_status); } >/dev
/null
; then
10130 if test -s conftest.err
; then
10131 ac_cpp_err
=$ac_c_preproc_warn_flag
10132 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10139 if test -z "$ac_cpp_err"; then
10140 ac_header_preproc
=yes
10142 echo "$as_me: failed program was:" >&5
10143 sed 's/^/| /' conftest.
$ac_ext >&5
10145 ac_header_preproc
=no
10147 rm -f conftest.err conftest.
$ac_ext
10148 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10149 echo "${ECHO_T}$ac_header_preproc" >&6
10151 # So? What about this header?
10152 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10154 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10155 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10156 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10157 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10158 ac_header_preproc
=yes
10161 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10162 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10163 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10164 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10165 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10166 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10167 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10168 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10169 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10170 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10171 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10172 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10175 ## ---------------------------------- ##
10176 ## Report this to the libjava lists. ##
10177 ## ---------------------------------- ##
10180 sed "s/^/$as_me: WARNING: /" >&2
10183 echo "$as_me:$LINENO: checking for $ac_header" >&5
10184 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10186 echo $ECHO_N "(cached) $ECHO_C" >&6
10188 eval "$as_ac_Header=\$ac_header_preproc"
10190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10191 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10194 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10195 cat >>confdefs.h
<<_ACEOF
10196 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10203 # Do an additional check on dld, HP-UX for example has dladdr in libdld.sl
10204 echo "$as_me:$LINENO: checking for dladdr in -ldl" >&5
10205 echo $ECHO_N "checking for dladdr in -ldl... $ECHO_C" >&6
10206 if test "${ac_cv_lib_dl_dladdr+set}" = set; then
10207 echo $ECHO_N "(cached) $ECHO_C" >&6
10209 ac_check_lib_save_LIBS
=$LIBS
10211 if test x
$gcc_no_link = xyes
; then
10212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10214 { (exit 1); exit 1; }; }
10216 cat >conftest.
$ac_ext <<_ACEOF
10219 cat confdefs.h
>>conftest.
$ac_ext
10220 cat >>conftest.
$ac_ext <<_ACEOF
10221 /* end confdefs.h. */
10223 /* Override any gcc2 internal prototype to avoid an error. */
10227 /* We use char because int might match the return type of a gcc2
10228 builtin and then its argument prototype would still apply. */
10238 rm -f conftest.
$ac_objext conftest
$ac_exeext
10239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10240 (eval $ac_link) 2>conftest.er1
10242 grep -v '^ *+' conftest.er1
>conftest.err
10244 cat conftest.err
>&5
10245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10246 (exit $ac_status); } &&
10247 { ac_try
='test -z "$ac_c_werror_flag"
10248 || test ! -s conftest.err'
10249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10250 (eval $ac_try) 2>&5
10252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10253 (exit $ac_status); }; } &&
10254 { ac_try
='test -s conftest$ac_exeext'
10255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10256 (eval $ac_try) 2>&5
10258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10259 (exit $ac_status); }; }; then
10260 ac_cv_lib_dl_dladdr
=yes
10262 echo "$as_me: failed program was:" >&5
10263 sed 's/^/| /' conftest.
$ac_ext >&5
10265 ac_cv_lib_dl_dladdr
=no
10267 rm -f conftest.err conftest.
$ac_objext \
10268 conftest
$ac_exeext conftest.
$ac_ext
10269 LIBS
=$ac_check_lib_save_LIBS
10271 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dladdr" >&5
10272 echo "${ECHO_T}$ac_cv_lib_dl_dladdr" >&6
10273 if test $ac_cv_lib_dl_dladdr = yes; then
10276 cat >>confdefs.h
<<\_ACEOF
10277 #define HAVE_DLADDR 1
10282 echo "$as_me:$LINENO: checking for dladdr in -ldld" >&5
10283 echo $ECHO_N "checking for dladdr in -ldld... $ECHO_C" >&6
10284 if test "${ac_cv_lib_dld_dladdr+set}" = set; then
10285 echo $ECHO_N "(cached) $ECHO_C" >&6
10287 ac_check_lib_save_LIBS
=$LIBS
10289 if test x
$gcc_no_link = xyes
; then
10290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10292 { (exit 1); exit 1; }; }
10294 cat >conftest.
$ac_ext <<_ACEOF
10297 cat confdefs.h
>>conftest.
$ac_ext
10298 cat >>conftest.
$ac_ext <<_ACEOF
10299 /* end confdefs.h. */
10301 /* Override any gcc2 internal prototype to avoid an error. */
10305 /* We use char because int might match the return type of a gcc2
10306 builtin and then its argument prototype would still apply. */
10316 rm -f conftest.
$ac_objext conftest
$ac_exeext
10317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10318 (eval $ac_link) 2>conftest.er1
10320 grep -v '^ *+' conftest.er1
>conftest.err
10322 cat conftest.err
>&5
10323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10324 (exit $ac_status); } &&
10325 { ac_try
='test -z "$ac_c_werror_flag"
10326 || test ! -s conftest.err'
10327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10328 (eval $ac_try) 2>&5
10330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10331 (exit $ac_status); }; } &&
10332 { ac_try
='test -s conftest$ac_exeext'
10333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10334 (eval $ac_try) 2>&5
10336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10337 (exit $ac_status); }; }; then
10338 ac_cv_lib_dld_dladdr
=yes
10340 echo "$as_me: failed program was:" >&5
10341 sed 's/^/| /' conftest.
$ac_ext >&5
10343 ac_cv_lib_dld_dladdr
=no
10345 rm -f conftest.err conftest.
$ac_objext \
10346 conftest
$ac_exeext conftest.
$ac_ext
10347 LIBS
=$ac_check_lib_save_LIBS
10349 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dladdr" >&5
10350 echo "${ECHO_T}$ac_cv_lib_dld_dladdr" >&6
10351 if test $ac_cv_lib_dld_dladdr = yes; then
10354 cat >>confdefs.h
<<\_ACEOF
10355 #define HAVE_DLADDR 1
10363 if test x
"$cross_compiling" = x
"no"; then
10364 echo "$as_me:$LINENO: checking for /proc/self/exe" >&5
10365 echo $ECHO_N "checking for /proc/self/exe... $ECHO_C" >&6
10366 if test "${ac_cv_file__proc_self_exe+set}" = set; then
10367 echo $ECHO_N "(cached) $ECHO_C" >&6
10369 test "$cross_compiling" = yes &&
10370 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
10371 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
10372 { (exit 1); exit 1; }; }
10373 if test -r "/proc/self/exe"; then
10374 ac_cv_file__proc_self_exe
=yes
10376 ac_cv_file__proc_self_exe
=no
10379 echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_exe" >&5
10380 echo "${ECHO_T}$ac_cv_file__proc_self_exe" >&6
10381 if test $ac_cv_file__proc_self_exe = yes; then
10383 cat >>confdefs.h
<<_ACEOF
10384 #define HAVE__PROC_SELF_EXE 1
10389 cat >>confdefs.h
<<\_ACEOF
10390 #define HAVE_PROC_SELF_EXE 1
10399 cat >>confdefs.h
<<\_ACEOF
10400 #define HAVE_PROC_SELF_EXE 1
10408 if test "X$prefix" = "XNONE"; then
10409 acl_final_prefix
="$ac_default_prefix"
10411 acl_final_prefix
="$prefix"
10413 if test "X$exec_prefix" = "XNONE"; then
10414 acl_final_exec_prefix
='${prefix}'
10416 acl_final_exec_prefix
="$exec_prefix"
10418 acl_save_prefix
="$prefix"
10419 prefix
="$acl_final_prefix"
10420 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
10421 prefix
="$acl_save_prefix"
10424 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10425 if test "${with_gnu_ld+set}" = set; then
10426 withval
="$with_gnu_ld"
10427 test "$withval" = no || with_gnu_ld
=yes
10431 # Prepare PATH_SEPARATOR.
10432 # The user is always right.
10433 if test "${PATH_SEPARATOR+set}" != set; then
10434 echo "#! /bin/sh" >conf$$.sh
10435 echo "exit 0" >>conf$$.sh
10437 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10445 if test "$GCC" = yes; then
10446 # Check if gcc -print-prog-name=ld gives a path.
10447 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
10448 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
10451 # gcc leaves a trailing carriage return which upsets mingw
10452 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10454 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10457 # Accept absolute paths.
10458 [\\/]* |
[A-Za-z
]:[\\/]*)
10459 re_direlt
='/[^/][^/]*/\.\./'
10460 # Canonicalize the path of ld
10461 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
10462 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10463 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
10465 test -z "$LD" && LD
="$ac_prog"
10468 # If it fails, then pretend we aren't using GCC.
10472 # If it is relative, then search for the first ld in PATH.
10473 with_gnu_ld
=unknown
10476 elif test "$with_gnu_ld" = yes; then
10477 echo "$as_me:$LINENO: checking for GNU ld" >&5
10478 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10480 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10481 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10483 if test "${acl_cv_path_LD+set}" = set; then
10484 echo $ECHO_N "(cached) $ECHO_C" >&6
10486 if test -z "$LD"; then
10487 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
10488 for ac_dir
in $PATH; do
10489 test -z "$ac_dir" && ac_dir
=.
10490 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10491 acl_cv_path_LD
="$ac_dir/$ac_prog"
10492 # Check to see if the program is GNU ld. I'd rather use --version,
10493 # but apparently some GNU ld's only accept -v.
10494 # Break only if it was the GNU/non-GNU ld that we prefer.
10495 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
10496 test "$with_gnu_ld" != no
&& break
10498 test "$with_gnu_ld" != yes && break
10504 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
10508 LD
="$acl_cv_path_LD"
10509 if test -n "$LD"; then
10510 echo "$as_me:$LINENO: result: $LD" >&5
10511 echo "${ECHO_T}$LD" >&6
10513 echo "$as_me:$LINENO: result: no" >&5
10514 echo "${ECHO_T}no" >&6
10516 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10517 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10518 { (exit 1); exit 1; }; }
10519 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10520 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10521 if test "${acl_cv_prog_gnu_ld+set}" = set; then
10522 echo $ECHO_N "(cached) $ECHO_C" >&6
10524 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10525 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
10526 acl_cv_prog_gnu_ld
=yes
10528 acl_cv_prog_gnu_ld
=no
10531 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
10532 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
10533 with_gnu_ld
=$acl_cv_prog_gnu_ld
10537 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
10538 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
10539 if test "${acl_cv_rpath+set}" = set; then
10540 echo $ECHO_N "(cached) $ECHO_C" >&6
10543 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
10544 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
10546 rm -f .
/conftest.sh
10550 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
10551 echo "${ECHO_T}$acl_cv_rpath" >&6
10553 libext
="$acl_cv_libext"
10554 shlibext
="$acl_cv_shlibext"
10555 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
10556 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
10557 hardcode_direct
="$acl_cv_hardcode_direct"
10558 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
10559 # Check whether --enable-rpath or --disable-rpath was given.
10560 if test "${enable_rpath+set}" = set; then
10561 enableval
="$enable_rpath"
10575 acl_save_prefix
="$prefix"
10576 prefix
="$acl_final_prefix"
10577 acl_save_exec_prefix
="$exec_prefix"
10578 exec_prefix
="$acl_final_exec_prefix"
10580 eval additional_includedir
=\"$includedir\"
10581 eval additional_libdir
=\"$libdir\"
10583 exec_prefix
="$acl_save_exec_prefix"
10584 prefix
="$acl_save_prefix"
10587 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
10588 if test "${with_libiconv_prefix+set}" = set; then
10589 withval
="$with_libiconv_prefix"
10591 if test "X$withval" = "Xno"; then
10594 if test "X$withval" = "X"; then
10596 acl_save_prefix
="$prefix"
10597 prefix
="$acl_final_prefix"
10598 acl_save_exec_prefix
="$exec_prefix"
10599 exec_prefix
="$acl_final_exec_prefix"
10601 eval additional_includedir
=\"$includedir\"
10602 eval additional_libdir
=\"$libdir\"
10604 exec_prefix
="$acl_save_exec_prefix"
10605 prefix
="$acl_save_prefix"
10608 additional_includedir
="$withval/include"
10609 additional_libdir
="$withval/lib"
10619 names_already_handled
=
10620 names_next_round
='iconv '
10621 while test -n "$names_next_round"; do
10622 names_this_round
="$names_next_round"
10624 for name
in $names_this_round; do
10626 for n
in $names_already_handled; do
10627 if test "$n" = "$name"; then
10628 already_handled
=yes
10632 if test -z "$already_handled"; then
10633 names_already_handled
="$names_already_handled $name"
10634 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
10635 eval value
=\"\
$HAVE_LIB$uppername\"
10636 if test -n "$value"; then
10637 if test "$value" = yes; then
10638 eval value
=\"\
$LIB$uppername\"
10639 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
10640 eval value
=\"\
$LTLIB$uppername\"
10641 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
10650 if test $use_additional = yes; then
10651 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
10652 found_dir
="$additional_libdir"
10653 found_so
="$additional_libdir/lib$name.$shlibext"
10654 if test -f "$additional_libdir/lib$name.la"; then
10655 found_la
="$additional_libdir/lib$name.la"
10658 if test -f "$additional_libdir/lib$name.$libext"; then
10659 found_dir
="$additional_libdir"
10660 found_a
="$additional_libdir/lib$name.$libext"
10661 if test -f "$additional_libdir/lib$name.la"; then
10662 found_la
="$additional_libdir/lib$name.la"
10667 if test "X$found_dir" = "X"; then
10668 for x
in $LDFLAGS $LTLIBICONV; do
10670 acl_save_prefix
="$prefix"
10671 prefix
="$acl_final_prefix"
10672 acl_save_exec_prefix
="$exec_prefix"
10673 exec_prefix
="$acl_final_exec_prefix"
10675 exec_prefix
="$acl_save_exec_prefix"
10676 prefix
="$acl_save_prefix"
10680 dir
=`echo "X$x" | sed -e 's/^X-L//'`
10681 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
10683 found_so
="$dir/lib$name.$shlibext"
10684 if test -f "$dir/lib$name.la"; then
10685 found_la
="$dir/lib$name.la"
10688 if test -f "$dir/lib$name.$libext"; then
10690 found_a
="$dir/lib$name.$libext"
10691 if test -f "$dir/lib$name.la"; then
10692 found_la
="$dir/lib$name.la"
10698 if test "X$found_dir" != "X"; then
10703 if test "X$found_dir" != "X"; then
10704 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
10705 if test "X$found_so" != "X"; then
10706 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
10707 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10710 for x
in $ltrpathdirs; do
10711 if test "X$x" = "X$found_dir"; then
10716 if test -z "$haveit"; then
10717 ltrpathdirs
="$ltrpathdirs $found_dir"
10719 if test "$hardcode_direct" = yes; then
10720 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10722 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
10723 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10725 for x
in $rpathdirs; do
10726 if test "X$x" = "X$found_dir"; then
10731 if test -z "$haveit"; then
10732 rpathdirs
="$rpathdirs $found_dir"
10736 for x
in $LDFLAGS $LIBICONV; do
10738 acl_save_prefix
="$prefix"
10739 prefix
="$acl_final_prefix"
10740 acl_save_exec_prefix
="$exec_prefix"
10741 exec_prefix
="$acl_final_exec_prefix"
10743 exec_prefix
="$acl_save_exec_prefix"
10744 prefix
="$acl_save_prefix"
10746 if test "X$x" = "X-L$found_dir"; then
10751 if test -z "$haveit"; then
10752 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
10754 if test "$hardcode_minus_L" != no
; then
10755 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10757 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
10763 if test "X$found_a" != "X"; then
10764 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
10766 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
10769 additional_includedir
=
10770 case "$found_dir" in
10772 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
10773 additional_includedir
="$basedir/include"
10776 if test "X$additional_includedir" != "X"; then
10777 if test "X$additional_includedir" != "X/usr/include"; then
10779 if test "X$additional_includedir" = "X/usr/local/include"; then
10780 if test -n "$GCC"; then
10782 linux
*) haveit
=yes;;
10786 if test -z "$haveit"; then
10787 for x
in $CPPFLAGS $INCICONV; do
10789 acl_save_prefix
="$prefix"
10790 prefix
="$acl_final_prefix"
10791 acl_save_exec_prefix
="$exec_prefix"
10792 exec_prefix
="$acl_final_exec_prefix"
10794 exec_prefix
="$acl_save_exec_prefix"
10795 prefix
="$acl_save_prefix"
10797 if test "X$x" = "X-I$additional_includedir"; then
10802 if test -z "$haveit"; then
10803 if test -d "$additional_includedir"; then
10804 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
10810 if test -n "$found_la"; then
10811 save_libdir
="$libdir"
10812 case "$found_la" in
10813 */* |
*\\*) .
"$found_la" ;;
10814 *) .
"./$found_la" ;;
10816 libdir
="$save_libdir"
10817 for dep
in $dependency_libs; do
10820 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
10821 if test "X$additional_libdir" != "X/usr/lib"; then
10823 if test "X$additional_libdir" = "X/usr/local/lib"; then
10824 if test -n "$GCC"; then
10826 linux
*) haveit
=yes;;
10830 if test -z "$haveit"; then
10832 for x
in $LDFLAGS $LIBICONV; do
10834 acl_save_prefix
="$prefix"
10835 prefix
="$acl_final_prefix"
10836 acl_save_exec_prefix
="$exec_prefix"
10837 exec_prefix
="$acl_final_exec_prefix"
10839 exec_prefix
="$acl_save_exec_prefix"
10840 prefix
="$acl_save_prefix"
10842 if test "X$x" = "X-L$additional_libdir"; then
10847 if test -z "$haveit"; then
10848 if test -d "$additional_libdir"; then
10849 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
10853 for x
in $LDFLAGS $LTLIBICONV; do
10855 acl_save_prefix
="$prefix"
10856 prefix
="$acl_final_prefix"
10857 acl_save_exec_prefix
="$exec_prefix"
10858 exec_prefix
="$acl_final_exec_prefix"
10860 exec_prefix
="$acl_save_exec_prefix"
10861 prefix
="$acl_save_prefix"
10863 if test "X$x" = "X-L$additional_libdir"; then
10868 if test -z "$haveit"; then
10869 if test -d "$additional_libdir"; then
10870 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
10877 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
10878 if test "$enable_rpath" != no
; then
10880 for x
in $rpathdirs; do
10881 if test "X$x" = "X$dir"; then
10886 if test -z "$haveit"; then
10887 rpathdirs
="$rpathdirs $dir"
10890 for x
in $ltrpathdirs; do
10891 if test "X$x" = "X$dir"; then
10896 if test -z "$haveit"; then
10897 ltrpathdirs
="$ltrpathdirs $dir"
10902 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10905 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10908 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
10909 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
10915 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
10916 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
10922 if test "X$rpathdirs" != "X"; then
10923 if test -n "$hardcode_libdir_separator"; then
10925 for found_dir
in $rpathdirs; do
10926 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10928 acl_save_libdir
="$libdir"
10930 eval flag
=\"$hardcode_libdir_flag_spec\"
10931 libdir
="$acl_save_libdir"
10932 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10934 for found_dir
in $rpathdirs; do
10935 acl_save_libdir
="$libdir"
10936 libdir
="$found_dir"
10937 eval flag
=\"$hardcode_libdir_flag_spec\"
10938 libdir
="$acl_save_libdir"
10939 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10943 if test "X$ltrpathdirs" != "X"; then
10944 for found_dir
in $ltrpathdirs; do
10945 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
10955 am_save_CPPFLAGS
="$CPPFLAGS"
10957 for element
in $INCICONV; do
10959 for x
in $CPPFLAGS; do
10961 acl_save_prefix
="$prefix"
10962 prefix
="$acl_final_prefix"
10963 acl_save_exec_prefix
="$exec_prefix"
10964 exec_prefix
="$acl_final_exec_prefix"
10966 exec_prefix
="$acl_save_exec_prefix"
10967 prefix
="$acl_save_prefix"
10969 if test "X$x" = "X$element"; then
10974 if test -z "$haveit"; then
10975 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
10980 echo "$as_me:$LINENO: checking for iconv" >&5
10981 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
10982 if test "${am_cv_func_iconv+set}" = set; then
10983 echo $ECHO_N "(cached) $ECHO_C" >&6
10986 am_cv_func_iconv
="no, consider installing GNU libiconv"
10988 if test x
$gcc_no_link = xyes
; then
10989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10991 { (exit 1); exit 1; }; }
10993 cat >conftest.
$ac_ext <<_ACEOF
10996 cat confdefs.h
>>conftest.
$ac_ext
10997 cat >>conftest.
$ac_ext <<_ACEOF
10998 /* end confdefs.h. */
10999 #include <stdlib.h>
11004 iconv_t cd = iconv_open("","");
11005 iconv(cd,NULL,NULL,NULL,NULL);
11011 rm -f conftest.
$ac_objext conftest
$ac_exeext
11012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11013 (eval $ac_link) 2>conftest.er1
11015 grep -v '^ *+' conftest.er1
>conftest.err
11017 cat conftest.err
>&5
11018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11019 (exit $ac_status); } &&
11020 { ac_try
='test -z "$ac_c_werror_flag"
11021 || test ! -s conftest.err'
11022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11023 (eval $ac_try) 2>&5
11025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11026 (exit $ac_status); }; } &&
11027 { ac_try
='test -s conftest$ac_exeext'
11028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11029 (eval $ac_try) 2>&5
11031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032 (exit $ac_status); }; }; then
11033 am_cv_func_iconv
=yes
11035 echo "$as_me: failed program was:" >&5
11036 sed 's/^/| /' conftest.
$ac_ext >&5
11039 rm -f conftest.err conftest.
$ac_objext \
11040 conftest
$ac_exeext conftest.
$ac_ext
11041 if test "$am_cv_func_iconv" != yes; then
11042 am_save_LIBS
="$LIBS"
11043 LIBS
="$LIBS $LIBICONV"
11044 if test x
$gcc_no_link = xyes
; then
11045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11047 { (exit 1); exit 1; }; }
11049 cat >conftest.
$ac_ext <<_ACEOF
11052 cat confdefs.h
>>conftest.
$ac_ext
11053 cat >>conftest.
$ac_ext <<_ACEOF
11054 /* end confdefs.h. */
11055 #include <stdlib.h>
11060 iconv_t cd = iconv_open("","");
11061 iconv(cd,NULL,NULL,NULL,NULL);
11067 rm -f conftest.
$ac_objext conftest
$ac_exeext
11068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11069 (eval $ac_link) 2>conftest.er1
11071 grep -v '^ *+' conftest.er1
>conftest.err
11073 cat conftest.err
>&5
11074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11075 (exit $ac_status); } &&
11076 { ac_try
='test -z "$ac_c_werror_flag"
11077 || test ! -s conftest.err'
11078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11079 (eval $ac_try) 2>&5
11081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11082 (exit $ac_status); }; } &&
11083 { ac_try
='test -s conftest$ac_exeext'
11084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11085 (eval $ac_try) 2>&5
11087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11088 (exit $ac_status); }; }; then
11089 am_cv_lib_iconv
=yes
11090 am_cv_func_iconv
=yes
11092 echo "$as_me: failed program was:" >&5
11093 sed 's/^/| /' conftest.
$ac_ext >&5
11096 rm -f conftest.err conftest.
$ac_objext \
11097 conftest
$ac_exeext conftest.
$ac_ext
11098 LIBS
="$am_save_LIBS"
11102 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
11103 echo "${ECHO_T}$am_cv_func_iconv" >&6
11104 if test "$am_cv_func_iconv" = yes; then
11106 cat >>confdefs.h
<<\_ACEOF
11107 #define HAVE_ICONV 1
11111 if test "$am_cv_lib_iconv" = yes; then
11112 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
11113 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
11114 echo "$as_me:$LINENO: result: $LIBICONV" >&5
11115 echo "${ECHO_T}$LIBICONV" >&6
11117 CPPFLAGS
="$am_save_CPPFLAGS"
11124 if test "$am_cv_func_iconv" = yes; then
11125 echo "$as_me:$LINENO: checking for iconv declaration" >&5
11126 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
11127 if test "${am_cv_proto_iconv+set}" = set; then
11128 echo $ECHO_N "(cached) $ECHO_C" >&6
11131 cat >conftest.
$ac_ext <<_ACEOF
11134 cat confdefs.h
>>conftest.
$ac_ext
11135 cat >>conftest.
$ac_ext <<_ACEOF
11136 /* end confdefs.h. */
11138 #include <stdlib.h>
11144 #if defined(__STDC__) || defined(__cplusplus)
11145 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
11158 rm -f conftest.
$ac_objext
11159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11160 (eval $ac_compile) 2>conftest.er1
11162 grep -v '^ *+' conftest.er1
>conftest.err
11164 cat conftest.err
>&5
11165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11166 (exit $ac_status); } &&
11167 { ac_try
='test -z "$ac_c_werror_flag"
11168 || test ! -s conftest.err'
11169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11170 (eval $ac_try) 2>&5
11172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11173 (exit $ac_status); }; } &&
11174 { ac_try
='test -s conftest.$ac_objext'
11175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11176 (eval $ac_try) 2>&5
11178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11179 (exit $ac_status); }; }; then
11180 am_cv_proto_iconv_arg1
=""
11182 echo "$as_me: failed program was:" >&5
11183 sed 's/^/| /' conftest.
$ac_ext >&5
11185 am_cv_proto_iconv_arg1
="const"
11187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11188 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);"
11191 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
11192 echo "$as_me:$LINENO: result: ${ac_t:-
11193 }$am_cv_proto_iconv" >&5
11194 echo "${ECHO_T}${ac_t:-
11195 }$am_cv_proto_iconv" >&6
11197 cat >>confdefs.h
<<_ACEOF
11198 #define ICONV_CONST $am_cv_proto_iconv_arg1
11204 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
11205 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
11206 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
11207 echo $ECHO_N "(cached) $ECHO_C" >&6
11209 if test x
$gcc_no_link = xyes
; then
11210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11212 { (exit 1); exit 1; }; }
11214 cat >conftest.
$ac_ext <<_ACEOF
11217 cat confdefs.h
>>conftest.
$ac_ext
11218 cat >>conftest.
$ac_ext <<_ACEOF
11219 /* end confdefs.h. */
11220 #include <locale.h>
11229 rm -f conftest.
$ac_objext conftest
$ac_exeext
11230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11231 (eval $ac_link) 2>conftest.er1
11233 grep -v '^ *+' conftest.er1
>conftest.err
11235 cat conftest.err
>&5
11236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11237 (exit $ac_status); } &&
11238 { ac_try
='test -z "$ac_c_werror_flag"
11239 || test ! -s conftest.err'
11240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11241 (eval $ac_try) 2>&5
11243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11244 (exit $ac_status); }; } &&
11245 { ac_try
='test -s conftest$ac_exeext'
11246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11247 (eval $ac_try) 2>&5
11249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11250 (exit $ac_status); }; }; then
11251 am_cv_val_LC_MESSAGES
=yes
11253 echo "$as_me: failed program was:" >&5
11254 sed 's/^/| /' conftest.
$ac_ext >&5
11256 am_cv_val_LC_MESSAGES
=no
11258 rm -f conftest.err conftest.
$ac_objext \
11259 conftest
$ac_exeext conftest.
$ac_ext
11261 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
11262 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
11263 if test $am_cv_val_LC_MESSAGES = yes; then
11265 cat >>confdefs.h
<<\_ACEOF
11266 #define HAVE_LC_MESSAGES 1
11271 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
11272 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
11273 if test "${ac_cv_struct_tm+set}" = set; then
11274 echo $ECHO_N "(cached) $ECHO_C" >&6
11276 cat >conftest.
$ac_ext <<_ACEOF
11279 cat confdefs.h
>>conftest.
$ac_ext
11280 cat >>conftest.
$ac_ext <<_ACEOF
11281 /* end confdefs.h. */
11282 #include <sys/types.h>
11288 struct tm *tp; tp->tm_sec;
11293 rm -f conftest.
$ac_objext
11294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11295 (eval $ac_compile) 2>conftest.er1
11297 grep -v '^ *+' conftest.er1
>conftest.err
11299 cat conftest.err
>&5
11300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11301 (exit $ac_status); } &&
11302 { ac_try
='test -z "$ac_c_werror_flag"
11303 || test ! -s conftest.err'
11304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11305 (eval $ac_try) 2>&5
11307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11308 (exit $ac_status); }; } &&
11309 { ac_try
='test -s conftest.$ac_objext'
11310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11311 (eval $ac_try) 2>&5
11313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11314 (exit $ac_status); }; }; then
11315 ac_cv_struct_tm
=time.h
11317 echo "$as_me: failed program was:" >&5
11318 sed 's/^/| /' conftest.
$ac_ext >&5
11320 ac_cv_struct_tm
=sys
/time.h
11322 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11324 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
11325 echo "${ECHO_T}$ac_cv_struct_tm" >&6
11326 if test $ac_cv_struct_tm = sys
/time.h
; then
11328 cat >>confdefs.h
<<\_ACEOF
11329 #define TM_IN_SYS_TIME 1
11334 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
11335 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
11336 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
11337 echo $ECHO_N "(cached) $ECHO_C" >&6
11339 cat >conftest.
$ac_ext <<_ACEOF
11342 cat confdefs.h
>>conftest.
$ac_ext
11343 cat >>conftest.
$ac_ext <<_ACEOF
11344 /* end confdefs.h. */
11345 #include <sys/types.h>
11346 #include <$ac_cv_struct_tm>
11352 static struct tm ac_aggr;
11353 if (ac_aggr.tm_zone)
11359 rm -f conftest.
$ac_objext
11360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11361 (eval $ac_compile) 2>conftest.er1
11363 grep -v '^ *+' conftest.er1
>conftest.err
11365 cat conftest.err
>&5
11366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11367 (exit $ac_status); } &&
11368 { ac_try
='test -z "$ac_c_werror_flag"
11369 || test ! -s conftest.err'
11370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11371 (eval $ac_try) 2>&5
11373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11374 (exit $ac_status); }; } &&
11375 { ac_try
='test -s conftest.$ac_objext'
11376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11377 (eval $ac_try) 2>&5
11379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380 (exit $ac_status); }; }; then
11381 ac_cv_member_struct_tm_tm_zone
=yes
11383 echo "$as_me: failed program was:" >&5
11384 sed 's/^/| /' conftest.
$ac_ext >&5
11386 cat >conftest.
$ac_ext <<_ACEOF
11389 cat confdefs.h
>>conftest.
$ac_ext
11390 cat >>conftest.
$ac_ext <<_ACEOF
11391 /* end confdefs.h. */
11392 #include <sys/types.h>
11393 #include <$ac_cv_struct_tm>
11399 static struct tm ac_aggr;
11400 if (sizeof ac_aggr.tm_zone)
11406 rm -f conftest.
$ac_objext
11407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11408 (eval $ac_compile) 2>conftest.er1
11410 grep -v '^ *+' conftest.er1
>conftest.err
11412 cat conftest.err
>&5
11413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11414 (exit $ac_status); } &&
11415 { ac_try
='test -z "$ac_c_werror_flag"
11416 || test ! -s conftest.err'
11417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11418 (eval $ac_try) 2>&5
11420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11421 (exit $ac_status); }; } &&
11422 { ac_try
='test -s conftest.$ac_objext'
11423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11424 (eval $ac_try) 2>&5
11426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11427 (exit $ac_status); }; }; then
11428 ac_cv_member_struct_tm_tm_zone
=yes
11430 echo "$as_me: failed program was:" >&5
11431 sed 's/^/| /' conftest.
$ac_ext >&5
11433 ac_cv_member_struct_tm_tm_zone
=no
11435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11439 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
11440 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
11441 if test $ac_cv_member_struct_tm_tm_zone = yes; then
11443 cat >>confdefs.h
<<_ACEOF
11444 #define HAVE_STRUCT_TM_TM_ZONE 1
11450 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
11452 cat >>confdefs.h
<<\_ACEOF
11453 #define HAVE_TM_ZONE 1
11457 echo "$as_me:$LINENO: checking for tzname" >&5
11458 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
11459 if test "${ac_cv_var_tzname+set}" = set; then
11460 echo $ECHO_N "(cached) $ECHO_C" >&6
11462 if test x
$gcc_no_link = xyes
; then
11463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11465 { (exit 1); exit 1; }; }
11467 cat >conftest.
$ac_ext <<_ACEOF
11470 cat confdefs.h
>>conftest.
$ac_ext
11471 cat >>conftest.
$ac_ext <<_ACEOF
11472 /* end confdefs.h. */
11474 #ifndef tzname /* For SGI. */
11475 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
11486 rm -f conftest.
$ac_objext conftest
$ac_exeext
11487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11488 (eval $ac_link) 2>conftest.er1
11490 grep -v '^ *+' conftest.er1
>conftest.err
11492 cat conftest.err
>&5
11493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11494 (exit $ac_status); } &&
11495 { ac_try
='test -z "$ac_c_werror_flag"
11496 || test ! -s conftest.err'
11497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11498 (eval $ac_try) 2>&5
11500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11501 (exit $ac_status); }; } &&
11502 { ac_try
='test -s conftest$ac_exeext'
11503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11504 (eval $ac_try) 2>&5
11506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11507 (exit $ac_status); }; }; then
11508 ac_cv_var_tzname
=yes
11510 echo "$as_me: failed program was:" >&5
11511 sed 's/^/| /' conftest.
$ac_ext >&5
11513 ac_cv_var_tzname
=no
11515 rm -f conftest.err conftest.
$ac_objext \
11516 conftest
$ac_exeext conftest.
$ac_ext
11518 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
11519 echo "${ECHO_T}$ac_cv_var_tzname" >&6
11520 if test $ac_cv_var_tzname = yes; then
11522 cat >>confdefs.h
<<\_ACEOF
11523 #define HAVE_TZNAME 1
11532 for ac_func
in gethostbyname_r
11534 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11535 echo "$as_me:$LINENO: checking for $ac_func" >&5
11536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11537 if eval "test \"\${$as_ac_var+set}\" = set"; then
11538 echo $ECHO_N "(cached) $ECHO_C" >&6
11540 if test x
$gcc_no_link = xyes
; then
11541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11543 { (exit 1); exit 1; }; }
11545 cat >conftest.
$ac_ext <<_ACEOF
11548 cat confdefs.h
>>conftest.
$ac_ext
11549 cat >>conftest.
$ac_ext <<_ACEOF
11550 /* end confdefs.h. */
11551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11553 #define $ac_func innocuous_$ac_func
11555 /* System header to define __stub macros and hopefully few prototypes,
11556 which can conflict with char $ac_func (); below.
11557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11558 <limits.h> exists even on freestanding compilers. */
11561 # include <limits.h>
11563 # include <assert.h>
11568 /* Override any gcc2 internal prototype to avoid an error. */
11573 /* We use char because int might match the return type of a gcc2
11574 builtin and then its argument prototype would still apply. */
11576 /* The GNU C library defines this for functions which it implements
11577 to always fail with ENOSYS. Some functions are actually named
11578 something starting with __ and the normal name is an alias. */
11579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11582 char (*f) () = $ac_func;
11591 return f != $ac_func;
11596 rm -f conftest.
$ac_objext conftest
$ac_exeext
11597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11598 (eval $ac_link) 2>conftest.er1
11600 grep -v '^ *+' conftest.er1
>conftest.err
11602 cat conftest.err
>&5
11603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11604 (exit $ac_status); } &&
11605 { ac_try
='test -z "$ac_c_werror_flag"
11606 || test ! -s conftest.err'
11607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11608 (eval $ac_try) 2>&5
11610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11611 (exit $ac_status); }; } &&
11612 { ac_try
='test -s conftest$ac_exeext'
11613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11614 (eval $ac_try) 2>&5
11616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11617 (exit $ac_status); }; }; then
11618 eval "$as_ac_var=yes"
11620 echo "$as_me: failed program was:" >&5
11621 sed 's/^/| /' conftest.
$ac_ext >&5
11623 eval "$as_ac_var=no"
11625 rm -f conftest.err conftest.
$ac_objext \
11626 conftest
$ac_exeext conftest.
$ac_ext
11628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11630 if test `eval echo '${'$as_ac_var'}'` = yes; then
11631 cat >>confdefs.h
<<_ACEOF
11632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11636 cat >>confdefs.h
<<\_ACEOF
11637 #define HAVE_GETHOSTBYNAME_R 1
11640 # There are two different kinds of gethostbyname_r.
11641 # We look for the one that returns `int'.
11642 # Hopefully this check is robust enough.
11643 cat >conftest.
$ac_ext <<_ACEOF
11646 cat confdefs.h
>>conftest.
$ac_ext
11647 cat >>conftest.
$ac_ext <<_ACEOF
11648 /* end confdefs.h. */
11652 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11653 $EGREP "int.*gethostbyname_r" >/dev
/null
2>&1; then
11656 cat >>confdefs.h
<<\_ACEOF
11657 #define GETHOSTBYNAME_R_RETURNS_INT 1
11664 case " $GCINCS " in
11665 *" -D_REENTRANT "*) ;;
11667 echo "$as_me:$LINENO: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5
11668 echo $ECHO_N "checking whether gethostbyname_r declaration requires -D_REENTRANT... $ECHO_C" >&6
11669 if test "${libjava_cv_gethostbyname_r_needs_reentrant+set}" = set; then
11670 echo $ECHO_N "(cached) $ECHO_C" >&6
11673 ac_cpp
='$CXXCPP $CPPFLAGS'
11674 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11675 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11676 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11678 cat >conftest.
$ac_ext <<_ACEOF
11681 cat confdefs.h
>>conftest.
$ac_ext
11682 cat >>conftest.
$ac_ext <<_ACEOF
11683 /* end confdefs.h. */
11688 gethostbyname_r("", 0, 0);
11693 rm -f conftest.
$ac_objext
11694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11695 (eval $ac_compile) 2>conftest.er1
11697 grep -v '^ *+' conftest.er1
>conftest.err
11699 cat conftest.err
>&5
11700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11701 (exit $ac_status); } &&
11702 { ac_try
='test -z "$ac_cxx_werror_flag"
11703 || test ! -s conftest.err'
11704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11705 (eval $ac_try) 2>&5
11707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11708 (exit $ac_status); }; } &&
11709 { ac_try
='test -s conftest.$ac_objext'
11710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11711 (eval $ac_try) 2>&5
11713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11714 (exit $ac_status); }; }; then
11715 libjava_cv_gethostbyname_r_needs_reentrant
=no
11717 echo "$as_me: failed program was:" >&5
11718 sed 's/^/| /' conftest.
$ac_ext >&5
11720 CPPFLAGS_SAVE
="$CPPFLAGS"
11721 CPPFLAGS
="$CPPFLAGS -D_REENTRANT"
11722 cat >conftest.
$ac_ext <<_ACEOF
11725 cat confdefs.h
>>conftest.
$ac_ext
11726 cat >>conftest.
$ac_ext <<_ACEOF
11727 /* end confdefs.h. */
11732 gethostbyname_r("", 0, 0);
11737 rm -f conftest.
$ac_objext
11738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11739 (eval $ac_compile) 2>conftest.er1
11741 grep -v '^ *+' conftest.er1
>conftest.err
11743 cat conftest.err
>&5
11744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11745 (exit $ac_status); } &&
11746 { ac_try
='test -z "$ac_cxx_werror_flag"
11747 || test ! -s conftest.err'
11748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11749 (eval $ac_try) 2>&5
11751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11752 (exit $ac_status); }; } &&
11753 { ac_try
='test -s conftest.$ac_objext'
11754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11755 (eval $ac_try) 2>&5
11757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11758 (exit $ac_status); }; }; then
11759 libjava_cv_gethostbyname_r_needs_reentrant
=yes
11761 echo "$as_me: failed program was:" >&5
11762 sed 's/^/| /' conftest.
$ac_ext >&5
11764 libjava_cv_gethostbyname_r_needs_reentrant
=fail
11766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11767 CPPFLAGS
="$CPPFLAGS_SAVE"
11770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11772 ac_cpp
='$CPP $CPPFLAGS'
11773 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11774 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11775 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11779 echo "$as_me:$LINENO: result: $libjava_cv_gethostbyname_r_needs_reentrant" >&5
11780 echo "${ECHO_T}$libjava_cv_gethostbyname_r_needs_reentrant" >&6
11781 if test "x$libjava_cv_gethostbyname_r_needs_reentrant" = xyes
; then
11783 cat >>confdefs.h
<<\_ACEOF
11784 #define _REENTRANT 1
11791 echo "$as_me:$LINENO: checking for struct hostent_data" >&5
11792 echo $ECHO_N "checking for struct hostent_data... $ECHO_C" >&6
11793 if test "${libjava_cv_struct_hostent_data+set}" = set; then
11794 echo $ECHO_N "(cached) $ECHO_C" >&6
11796 cat >conftest.
$ac_ext <<_ACEOF
11799 cat confdefs.h
>>conftest.
$ac_ext
11800 cat >>conftest.
$ac_ext <<_ACEOF
11801 /* end confdefs.h. */
11803 #if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
11804 # define _REENTRANT 1
11810 struct hostent_data data;
11815 rm -f conftest.
$ac_objext
11816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11817 (eval $ac_compile) 2>conftest.er1
11819 grep -v '^ *+' conftest.er1
>conftest.err
11821 cat conftest.err
>&5
11822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11823 (exit $ac_status); } &&
11824 { ac_try
='test -z "$ac_c_werror_flag"
11825 || test ! -s conftest.err'
11826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11827 (eval $ac_try) 2>&5
11829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11830 (exit $ac_status); }; } &&
11831 { ac_try
='test -s conftest.$ac_objext'
11832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11833 (eval $ac_try) 2>&5
11835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11836 (exit $ac_status); }; }; then
11837 libjava_cv_struct_hostent_data
=yes
11839 echo "$as_me: failed program was:" >&5
11840 sed 's/^/| /' conftest.
$ac_ext >&5
11842 libjava_cv_struct_hostent_data
=no
11844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11846 echo "$as_me:$LINENO: result: $libjava_cv_struct_hostent_data" >&5
11847 echo "${ECHO_T}$libjava_cv_struct_hostent_data" >&6
11848 if test "x$libjava_cv_struct_hostent_data" = xyes
; then
11850 cat >>confdefs.h
<<\_ACEOF
11851 #define HAVE_STRUCT_HOSTENT_DATA 1
11860 # FIXME: libjava source code expects to find a prototype for
11861 # gethostbyaddr_r in netdb.h. The outer check ensures that
11862 # HAVE_GETHOSTBYADDR_R will not be defined if the prototype fails
11863 # to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
11864 # linkage check is enough, yet C++ code requires proper prototypes.)
11865 cat >conftest.
$ac_ext <<_ACEOF
11868 cat confdefs.h
>>conftest.
$ac_ext
11869 cat >>conftest.
$ac_ext <<_ACEOF
11870 /* end confdefs.h. */
11874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11875 $EGREP "gethostbyaddr_r" >/dev
/null
2>&1; then
11878 for ac_func
in gethostbyaddr_r
11880 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11881 echo "$as_me:$LINENO: checking for $ac_func" >&5
11882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11883 if eval "test \"\${$as_ac_var+set}\" = set"; then
11884 echo $ECHO_N "(cached) $ECHO_C" >&6
11886 if test x
$gcc_no_link = xyes
; then
11887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11889 { (exit 1); exit 1; }; }
11891 cat >conftest.
$ac_ext <<_ACEOF
11894 cat confdefs.h
>>conftest.
$ac_ext
11895 cat >>conftest.
$ac_ext <<_ACEOF
11896 /* end confdefs.h. */
11897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11899 #define $ac_func innocuous_$ac_func
11901 /* System header to define __stub macros and hopefully few prototypes,
11902 which can conflict with char $ac_func (); below.
11903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11904 <limits.h> exists even on freestanding compilers. */
11907 # include <limits.h>
11909 # include <assert.h>
11914 /* Override any gcc2 internal prototype to avoid an error. */
11919 /* We use char because int might match the return type of a gcc2
11920 builtin and then its argument prototype would still apply. */
11922 /* The GNU C library defines this for functions which it implements
11923 to always fail with ENOSYS. Some functions are actually named
11924 something starting with __ and the normal name is an alias. */
11925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11928 char (*f) () = $ac_func;
11937 return f != $ac_func;
11942 rm -f conftest.
$ac_objext conftest
$ac_exeext
11943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11944 (eval $ac_link) 2>conftest.er1
11946 grep -v '^ *+' conftest.er1
>conftest.err
11948 cat conftest.err
>&5
11949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11950 (exit $ac_status); } &&
11951 { ac_try
='test -z "$ac_c_werror_flag"
11952 || test ! -s conftest.err'
11953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11954 (eval $ac_try) 2>&5
11956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11957 (exit $ac_status); }; } &&
11958 { ac_try
='test -s conftest$ac_exeext'
11959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11960 (eval $ac_try) 2>&5
11962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11963 (exit $ac_status); }; }; then
11964 eval "$as_ac_var=yes"
11966 echo "$as_me: failed program was:" >&5
11967 sed 's/^/| /' conftest.
$ac_ext >&5
11969 eval "$as_ac_var=no"
11971 rm -f conftest.err conftest.
$ac_objext \
11972 conftest
$ac_exeext conftest.
$ac_ext
11974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11976 if test `eval echo '${'$as_ac_var'}'` = yes; then
11977 cat >>confdefs.h
<<_ACEOF
11978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11982 cat >>confdefs.h
<<\_ACEOF
11983 #define HAVE_GETHOSTBYADDR_R 1
11986 # There are two different kinds of gethostbyaddr_r.
11987 # We look for the one that returns `int'.
11988 # Hopefully this check is robust enough.
11989 cat >conftest.
$ac_ext <<_ACEOF
11992 cat confdefs.h
>>conftest.
$ac_ext
11993 cat >>conftest.
$ac_ext <<_ACEOF
11994 /* end confdefs.h. */
11998 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11999 $EGREP "int.*gethostbyaddr_r" >/dev
/null
2>&1; then
12002 cat >>confdefs.h
<<\_ACEOF
12003 #define GETHOSTBYADDR_R_RETURNS_INT 1
12017 for ac_func
in gethostname
12019 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12020 echo "$as_me:$LINENO: checking for $ac_func" >&5
12021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12022 if eval "test \"\${$as_ac_var+set}\" = set"; then
12023 echo $ECHO_N "(cached) $ECHO_C" >&6
12025 if test x
$gcc_no_link = xyes
; then
12026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12028 { (exit 1); exit 1; }; }
12030 cat >conftest.
$ac_ext <<_ACEOF
12033 cat confdefs.h
>>conftest.
$ac_ext
12034 cat >>conftest.
$ac_ext <<_ACEOF
12035 /* end confdefs.h. */
12036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12038 #define $ac_func innocuous_$ac_func
12040 /* System header to define __stub macros and hopefully few prototypes,
12041 which can conflict with char $ac_func (); below.
12042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12043 <limits.h> exists even on freestanding compilers. */
12046 # include <limits.h>
12048 # include <assert.h>
12053 /* Override any gcc2 internal prototype to avoid an error. */
12058 /* We use char because int might match the return type of a gcc2
12059 builtin and then its argument prototype would still apply. */
12061 /* The GNU C library defines this for functions which it implements
12062 to always fail with ENOSYS. Some functions are actually named
12063 something starting with __ and the normal name is an alias. */
12064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12067 char (*f) () = $ac_func;
12076 return f != $ac_func;
12081 rm -f conftest.
$ac_objext conftest
$ac_exeext
12082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12083 (eval $ac_link) 2>conftest.er1
12085 grep -v '^ *+' conftest.er1
>conftest.err
12087 cat conftest.err
>&5
12088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12089 (exit $ac_status); } &&
12090 { ac_try
='test -z "$ac_c_werror_flag"
12091 || test ! -s conftest.err'
12092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12093 (eval $ac_try) 2>&5
12095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12096 (exit $ac_status); }; } &&
12097 { ac_try
='test -s conftest$ac_exeext'
12098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12099 (eval $ac_try) 2>&5
12101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12102 (exit $ac_status); }; }; then
12103 eval "$as_ac_var=yes"
12105 echo "$as_me: failed program was:" >&5
12106 sed 's/^/| /' conftest.
$ac_ext >&5
12108 eval "$as_ac_var=no"
12110 rm -f conftest.err conftest.
$ac_objext \
12111 conftest
$ac_exeext conftest.
$ac_ext
12113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12115 if test `eval echo '${'$as_ac_var'}'` = yes; then
12116 cat >>confdefs.h
<<_ACEOF
12117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12121 cat >>confdefs.h
<<\_ACEOF
12122 #define HAVE_GETHOSTNAME 1
12125 cat >conftest.
$ac_ext <<_ACEOF
12128 cat confdefs.h
>>conftest.
$ac_ext
12129 cat >>conftest.
$ac_ext <<_ACEOF
12130 /* end confdefs.h. */
12131 #include <unistd.h>
12134 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12135 $EGREP "gethostname" >/dev
/null
2>&1; then
12138 cat >>confdefs.h
<<\_ACEOF
12139 #define HAVE_GETHOSTNAME_DECL 1
12150 for ac_func
in usleep
12152 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12153 echo "$as_me:$LINENO: checking for $ac_func" >&5
12154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12155 if eval "test \"\${$as_ac_var+set}\" = set"; then
12156 echo $ECHO_N "(cached) $ECHO_C" >&6
12158 if test x
$gcc_no_link = xyes
; then
12159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12161 { (exit 1); exit 1; }; }
12163 cat >conftest.
$ac_ext <<_ACEOF
12166 cat confdefs.h
>>conftest.
$ac_ext
12167 cat >>conftest.
$ac_ext <<_ACEOF
12168 /* end confdefs.h. */
12169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12171 #define $ac_func innocuous_$ac_func
12173 /* System header to define __stub macros and hopefully few prototypes,
12174 which can conflict with char $ac_func (); below.
12175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12176 <limits.h> exists even on freestanding compilers. */
12179 # include <limits.h>
12181 # include <assert.h>
12186 /* Override any gcc2 internal prototype to avoid an error. */
12191 /* We use char because int might match the return type of a gcc2
12192 builtin and then its argument prototype would still apply. */
12194 /* The GNU C library defines this for functions which it implements
12195 to always fail with ENOSYS. Some functions are actually named
12196 something starting with __ and the normal name is an alias. */
12197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12200 char (*f) () = $ac_func;
12209 return f != $ac_func;
12214 rm -f conftest.
$ac_objext conftest
$ac_exeext
12215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12216 (eval $ac_link) 2>conftest.er1
12218 grep -v '^ *+' conftest.er1
>conftest.err
12220 cat conftest.err
>&5
12221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12222 (exit $ac_status); } &&
12223 { ac_try
='test -z "$ac_c_werror_flag"
12224 || test ! -s conftest.err'
12225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12226 (eval $ac_try) 2>&5
12228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229 (exit $ac_status); }; } &&
12230 { ac_try
='test -s conftest$ac_exeext'
12231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12232 (eval $ac_try) 2>&5
12234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12235 (exit $ac_status); }; }; then
12236 eval "$as_ac_var=yes"
12238 echo "$as_me: failed program was:" >&5
12239 sed 's/^/| /' conftest.
$ac_ext >&5
12241 eval "$as_ac_var=no"
12243 rm -f conftest.err conftest.
$ac_objext \
12244 conftest
$ac_exeext conftest.
$ac_ext
12246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12248 if test `eval echo '${'$as_ac_var'}'` = yes; then
12249 cat >>confdefs.h
<<_ACEOF
12250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12253 cat >conftest.
$ac_ext <<_ACEOF
12256 cat confdefs.h
>>conftest.
$ac_ext
12257 cat >>conftest.
$ac_ext <<_ACEOF
12258 /* end confdefs.h. */
12259 #include <unistd.h>
12262 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12263 $EGREP "usleep" >/dev
/null
2>&1; then
12266 cat >>confdefs.h
<<\_ACEOF
12267 #define HAVE_USLEEP_DECL 1
12277 # Look for these functions in the thread library, but only bother
12278 # if using POSIX threads.
12279 if test "$THREADS" = posix
; then
12281 LIBS
="$LIBS $THREADLIBS"
12282 # Some POSIX thread systems don't have pthread_mutexattr_settype.
12286 for ac_func
in pthread_mutexattr_settype pthread_mutexattr_setkind_np
12288 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12289 echo "$as_me:$LINENO: checking for $ac_func" >&5
12290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12291 if eval "test \"\${$as_ac_var+set}\" = set"; then
12292 echo $ECHO_N "(cached) $ECHO_C" >&6
12294 if test x
$gcc_no_link = xyes
; then
12295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12297 { (exit 1); exit 1; }; }
12299 cat >conftest.
$ac_ext <<_ACEOF
12302 cat confdefs.h
>>conftest.
$ac_ext
12303 cat >>conftest.
$ac_ext <<_ACEOF
12304 /* end confdefs.h. */
12305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12307 #define $ac_func innocuous_$ac_func
12309 /* System header to define __stub macros and hopefully few prototypes,
12310 which can conflict with char $ac_func (); below.
12311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12312 <limits.h> exists even on freestanding compilers. */
12315 # include <limits.h>
12317 # include <assert.h>
12322 /* Override any gcc2 internal prototype to avoid an error. */
12327 /* We use char because int might match the return type of a gcc2
12328 builtin and then its argument prototype would still apply. */
12330 /* The GNU C library defines this for functions which it implements
12331 to always fail with ENOSYS. Some functions are actually named
12332 something starting with __ and the normal name is an alias. */
12333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12336 char (*f) () = $ac_func;
12345 return f != $ac_func;
12350 rm -f conftest.
$ac_objext conftest
$ac_exeext
12351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12352 (eval $ac_link) 2>conftest.er1
12354 grep -v '^ *+' conftest.er1
>conftest.err
12356 cat conftest.err
>&5
12357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358 (exit $ac_status); } &&
12359 { ac_try
='test -z "$ac_c_werror_flag"
12360 || test ! -s conftest.err'
12361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12362 (eval $ac_try) 2>&5
12364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12365 (exit $ac_status); }; } &&
12366 { ac_try
='test -s conftest$ac_exeext'
12367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12368 (eval $ac_try) 2>&5
12370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371 (exit $ac_status); }; }; then
12372 eval "$as_ac_var=yes"
12374 echo "$as_me: failed program was:" >&5
12375 sed 's/^/| /' conftest.
$ac_ext >&5
12377 eval "$as_ac_var=no"
12379 rm -f conftest.err conftest.
$ac_objext \
12380 conftest
$ac_exeext conftest.
$ac_ext
12382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12384 if test `eval echo '${'$as_ac_var'}'` = yes; then
12385 cat >>confdefs.h
<<_ACEOF
12386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12393 # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since
12394 # Solaris 7 the name librt is preferred.
12396 for ac_func
in sched_yield
12398 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12399 echo "$as_me:$LINENO: checking for $ac_func" >&5
12400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12401 if eval "test \"\${$as_ac_var+set}\" = set"; then
12402 echo $ECHO_N "(cached) $ECHO_C" >&6
12404 if test x
$gcc_no_link = xyes
; then
12405 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12407 { (exit 1); exit 1; }; }
12409 cat >conftest.
$ac_ext <<_ACEOF
12412 cat confdefs.h
>>conftest.
$ac_ext
12413 cat >>conftest.
$ac_ext <<_ACEOF
12414 /* end confdefs.h. */
12415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12417 #define $ac_func innocuous_$ac_func
12419 /* System header to define __stub macros and hopefully few prototypes,
12420 which can conflict with char $ac_func (); below.
12421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12422 <limits.h> exists even on freestanding compilers. */
12425 # include <limits.h>
12427 # include <assert.h>
12432 /* Override any gcc2 internal prototype to avoid an error. */
12437 /* We use char because int might match the return type of a gcc2
12438 builtin and then its argument prototype would still apply. */
12440 /* The GNU C library defines this for functions which it implements
12441 to always fail with ENOSYS. Some functions are actually named
12442 something starting with __ and the normal name is an alias. */
12443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12446 char (*f) () = $ac_func;
12455 return f != $ac_func;
12460 rm -f conftest.
$ac_objext conftest
$ac_exeext
12461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12462 (eval $ac_link) 2>conftest.er1
12464 grep -v '^ *+' conftest.er1
>conftest.err
12466 cat conftest.err
>&5
12467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12468 (exit $ac_status); } &&
12469 { ac_try
='test -z "$ac_c_werror_flag"
12470 || test ! -s conftest.err'
12471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12472 (eval $ac_try) 2>&5
12474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12475 (exit $ac_status); }; } &&
12476 { ac_try
='test -s conftest$ac_exeext'
12477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12478 (eval $ac_try) 2>&5
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 (exit $ac_status); }; }; then
12482 eval "$as_ac_var=yes"
12484 echo "$as_me: failed program was:" >&5
12485 sed 's/^/| /' conftest.
$ac_ext >&5
12487 eval "$as_ac_var=no"
12489 rm -f conftest.err conftest.
$ac_objext \
12490 conftest
$ac_exeext conftest.
$ac_ext
12492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12494 if test `eval echo '${'$as_ac_var'}'` = yes; then
12495 cat >>confdefs.h
<<_ACEOF
12496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12501 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
12502 echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
12503 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
12504 echo $ECHO_N "(cached) $ECHO_C" >&6
12506 ac_check_lib_save_LIBS
=$LIBS
12508 if test x
$gcc_no_link = xyes
; then
12509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12511 { (exit 1); exit 1; }; }
12513 cat >conftest.
$ac_ext <<_ACEOF
12516 cat confdefs.h
>>conftest.
$ac_ext
12517 cat >>conftest.
$ac_ext <<_ACEOF
12518 /* end confdefs.h. */
12520 /* Override any gcc2 internal prototype to avoid an error. */
12524 /* We use char because int might match the return type of a gcc2
12525 builtin and then its argument prototype would still apply. */
12526 char sched_yield ();
12535 rm -f conftest.
$ac_objext conftest
$ac_exeext
12536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12537 (eval $ac_link) 2>conftest.er1
12539 grep -v '^ *+' conftest.er1
>conftest.err
12541 cat conftest.err
>&5
12542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12543 (exit $ac_status); } &&
12544 { ac_try
='test -z "$ac_c_werror_flag"
12545 || test ! -s conftest.err'
12546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12547 (eval $ac_try) 2>&5
12549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12550 (exit $ac_status); }; } &&
12551 { ac_try
='test -s conftest$ac_exeext'
12552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12553 (eval $ac_try) 2>&5
12555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12556 (exit $ac_status); }; }; then
12557 ac_cv_lib_rt_sched_yield
=yes
12559 echo "$as_me: failed program was:" >&5
12560 sed 's/^/| /' conftest.
$ac_ext >&5
12562 ac_cv_lib_rt_sched_yield
=no
12564 rm -f conftest.err conftest.
$ac_objext \
12565 conftest
$ac_exeext conftest.
$ac_ext
12566 LIBS
=$ac_check_lib_save_LIBS
12568 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
12569 echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
12570 if test $ac_cv_lib_rt_sched_yield = yes; then
12572 cat >>confdefs.h
<<\_ACEOF
12573 #define HAVE_SCHED_YIELD 1
12576 THREADLIBS
="$THREADLIBS -lrt"
12577 THREADSPEC
="$THREADSPEC -lrt"
12580 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
12581 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
12582 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
12583 echo $ECHO_N "(cached) $ECHO_C" >&6
12585 ac_check_lib_save_LIBS
=$LIBS
12586 LIBS
="-lposix4 $LIBS"
12587 if test x
$gcc_no_link = xyes
; then
12588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12590 { (exit 1); exit 1; }; }
12592 cat >conftest.
$ac_ext <<_ACEOF
12595 cat confdefs.h
>>conftest.
$ac_ext
12596 cat >>conftest.
$ac_ext <<_ACEOF
12597 /* end confdefs.h. */
12599 /* Override any gcc2 internal prototype to avoid an error. */
12603 /* We use char because int might match the return type of a gcc2
12604 builtin and then its argument prototype would still apply. */
12605 char sched_yield ();
12614 rm -f conftest.
$ac_objext conftest
$ac_exeext
12615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12616 (eval $ac_link) 2>conftest.er1
12618 grep -v '^ *+' conftest.er1
>conftest.err
12620 cat conftest.err
>&5
12621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12622 (exit $ac_status); } &&
12623 { ac_try
='test -z "$ac_c_werror_flag"
12624 || test ! -s conftest.err'
12625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12626 (eval $ac_try) 2>&5
12628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12629 (exit $ac_status); }; } &&
12630 { ac_try
='test -s conftest$ac_exeext'
12631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12632 (eval $ac_try) 2>&5
12634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12635 (exit $ac_status); }; }; then
12636 ac_cv_lib_posix4_sched_yield
=yes
12638 echo "$as_me: failed program was:" >&5
12639 sed 's/^/| /' conftest.
$ac_ext >&5
12641 ac_cv_lib_posix4_sched_yield
=no
12643 rm -f conftest.err conftest.
$ac_objext \
12644 conftest
$ac_exeext conftest.
$ac_ext
12645 LIBS
=$ac_check_lib_save_LIBS
12647 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
12648 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
12649 if test $ac_cv_lib_posix4_sched_yield = yes; then
12651 cat >>confdefs.h
<<\_ACEOF
12652 #define HAVE_SCHED_YIELD 1
12655 THREADLIBS
="$THREADLIBS -lposix4"
12656 THREADSPEC
="$THREADSPEC -lposix4"
12665 echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
12666 echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6
12667 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
12668 echo $ECHO_N "(cached) $ECHO_C" >&6
12670 ac_check_lib_save_LIBS
=$LIBS
12672 if test x
$gcc_no_link = xyes
; then
12673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12675 { (exit 1); exit 1; }; }
12677 cat >conftest.
$ac_ext <<_ACEOF
12680 cat confdefs.h
>>conftest.
$ac_ext
12681 cat >>conftest.
$ac_ext <<_ACEOF
12682 /* end confdefs.h. */
12684 /* Override any gcc2 internal prototype to avoid an error. */
12688 /* We use char because int might match the return type of a gcc2
12689 builtin and then its argument prototype would still apply. */
12690 char clock_gettime ();
12699 rm -f conftest.
$ac_objext conftest
$ac_exeext
12700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12701 (eval $ac_link) 2>conftest.er1
12703 grep -v '^ *+' conftest.er1
>conftest.err
12705 cat conftest.err
>&5
12706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12707 (exit $ac_status); } &&
12708 { ac_try
='test -z "$ac_c_werror_flag"
12709 || test ! -s conftest.err'
12710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12711 (eval $ac_try) 2>&5
12713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12714 (exit $ac_status); }; } &&
12715 { ac_try
='test -s conftest$ac_exeext'
12716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12717 (eval $ac_try) 2>&5
12719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720 (exit $ac_status); }; }; then
12721 ac_cv_lib_rt_clock_gettime
=yes
12723 echo "$as_me: failed program was:" >&5
12724 sed 's/^/| /' conftest.
$ac_ext >&5
12726 ac_cv_lib_rt_clock_gettime
=no
12728 rm -f conftest.err conftest.
$ac_objext \
12729 conftest
$ac_exeext conftest.
$ac_ext
12730 LIBS
=$ac_check_lib_save_LIBS
12732 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
12733 echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6
12734 if test $ac_cv_lib_rt_clock_gettime = yes; then
12737 cat >>confdefs.h
<<\_ACEOF
12738 #define HAVE_CLOCK_GETTIME 1
12741 case "$THREADSPEC" in
12744 THREADSPEC
="$THREADSPEC -lrt"
12745 THREADLIBS
="$THREADLIBS -lrt"
12753 # We can save a little space at runtime if the mutex has m_count
12754 # or __m_count. This is a nice hack for Linux.
12755 cat >conftest.
$ac_ext <<_ACEOF
12758 cat confdefs.h
>>conftest.
$ac_ext
12759 cat >>conftest.
$ac_ext <<_ACEOF
12760 /* end confdefs.h. */
12761 #include <pthread.h>
12766 extern pthread_mutex_t *mutex; int q = mutex->m_count;
12772 rm -f conftest.
$ac_objext
12773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12774 (eval $ac_compile) 2>conftest.er1
12776 grep -v '^ *+' conftest.er1
>conftest.err
12778 cat conftest.err
>&5
12779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12780 (exit $ac_status); } &&
12781 { ac_try
='test -z "$ac_c_werror_flag"
12782 || test ! -s conftest.err'
12783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12784 (eval $ac_try) 2>&5
12786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12787 (exit $ac_status); }; } &&
12788 { ac_try
='test -s conftest.$ac_objext'
12789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12790 (eval $ac_try) 2>&5
12792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12793 (exit $ac_status); }; }; then
12795 cat >>confdefs.h
<<\_ACEOF
12796 #define PTHREAD_MUTEX_HAVE_M_COUNT 1
12800 echo "$as_me: failed program was:" >&5
12801 sed 's/^/| /' conftest.
$ac_ext >&5
12804 cat >conftest.
$ac_ext <<_ACEOF
12807 cat confdefs.h
>>conftest.
$ac_ext
12808 cat >>conftest.
$ac_ext <<_ACEOF
12809 /* end confdefs.h. */
12810 #include <pthread.h>
12815 extern pthread_mutex_t *mutex; int q = mutex->__m_count;
12821 rm -f conftest.
$ac_objext
12822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12823 (eval $ac_compile) 2>conftest.er1
12825 grep -v '^ *+' conftest.er1
>conftest.err
12827 cat conftest.err
>&5
12828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12829 (exit $ac_status); } &&
12830 { ac_try
='test -z "$ac_c_werror_flag"
12831 || test ! -s conftest.err'
12832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12833 (eval $ac_try) 2>&5
12835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12836 (exit $ac_status); }; } &&
12837 { ac_try
='test -s conftest.$ac_objext'
12838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12839 (eval $ac_try) 2>&5
12841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842 (exit $ac_status); }; }; then
12844 cat >>confdefs.h
<<\_ACEOF
12845 #define PTHREAD_MUTEX_HAVE___M_COUNT 1
12849 echo "$as_me: failed program was:" >&5
12850 sed 's/^/| /' conftest.
$ac_ext >&5
12853 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12858 # We require a way to get the time.
12863 for ac_func
in gettimeofday
time ftime
12865 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12866 echo "$as_me:$LINENO: checking for $ac_func" >&5
12867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12868 if eval "test \"\${$as_ac_var+set}\" = set"; then
12869 echo $ECHO_N "(cached) $ECHO_C" >&6
12871 if test x
$gcc_no_link = xyes
; then
12872 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12874 { (exit 1); exit 1; }; }
12876 cat >conftest.
$ac_ext <<_ACEOF
12879 cat confdefs.h
>>conftest.
$ac_ext
12880 cat >>conftest.
$ac_ext <<_ACEOF
12881 /* end confdefs.h. */
12882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12884 #define $ac_func innocuous_$ac_func
12886 /* System header to define __stub macros and hopefully few prototypes,
12887 which can conflict with char $ac_func (); below.
12888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12889 <limits.h> exists even on freestanding compilers. */
12892 # include <limits.h>
12894 # include <assert.h>
12899 /* Override any gcc2 internal prototype to avoid an error. */
12904 /* We use char because int might match the return type of a gcc2
12905 builtin and then its argument prototype would still apply. */
12907 /* The GNU C library defines this for functions which it implements
12908 to always fail with ENOSYS. Some functions are actually named
12909 something starting with __ and the normal name is an alias. */
12910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12913 char (*f) () = $ac_func;
12922 return f != $ac_func;
12927 rm -f conftest.
$ac_objext conftest
$ac_exeext
12928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12929 (eval $ac_link) 2>conftest.er1
12931 grep -v '^ *+' conftest.er1
>conftest.err
12933 cat conftest.err
>&5
12934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12935 (exit $ac_status); } &&
12936 { ac_try
='test -z "$ac_c_werror_flag"
12937 || test ! -s conftest.err'
12938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12939 (eval $ac_try) 2>&5
12941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12942 (exit $ac_status); }; } &&
12943 { ac_try
='test -s conftest$ac_exeext'
12944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12945 (eval $ac_try) 2>&5
12947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12948 (exit $ac_status); }; }; then
12949 eval "$as_ac_var=yes"
12951 echo "$as_me: failed program was:" >&5
12952 sed 's/^/| /' conftest.
$ac_ext >&5
12954 eval "$as_ac_var=no"
12956 rm -f conftest.err conftest.
$ac_objext \
12957 conftest
$ac_exeext conftest.
$ac_ext
12959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12961 if test `eval echo '${'$as_ac_var'}'` = yes; then
12962 cat >>confdefs.h
<<_ACEOF
12963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12969 if test "$time_found" = no
; then
12970 { { echo "$as_me:$LINENO: error: no function found to get the time" >&5
12971 echo "$as_me: error: no function found to get the time" >&2;}
12972 { (exit 1); exit 1; }; }
12976 for ac_func
in memmove
12978 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12979 echo "$as_me:$LINENO: checking for $ac_func" >&5
12980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12981 if eval "test \"\${$as_ac_var+set}\" = set"; then
12982 echo $ECHO_N "(cached) $ECHO_C" >&6
12984 if test x
$gcc_no_link = xyes
; then
12985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12987 { (exit 1); exit 1; }; }
12989 cat >conftest.
$ac_ext <<_ACEOF
12992 cat confdefs.h
>>conftest.
$ac_ext
12993 cat >>conftest.
$ac_ext <<_ACEOF
12994 /* end confdefs.h. */
12995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12997 #define $ac_func innocuous_$ac_func
12999 /* System header to define __stub macros and hopefully few prototypes,
13000 which can conflict with char $ac_func (); below.
13001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13002 <limits.h> exists even on freestanding compilers. */
13005 # include <limits.h>
13007 # include <assert.h>
13012 /* Override any gcc2 internal prototype to avoid an error. */
13017 /* We use char because int might match the return type of a gcc2
13018 builtin and then its argument prototype would still apply. */
13020 /* The GNU C library defines this for functions which it implements
13021 to always fail with ENOSYS. Some functions are actually named
13022 something starting with __ and the normal name is an alias. */
13023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13026 char (*f) () = $ac_func;
13035 return f != $ac_func;
13040 rm -f conftest.
$ac_objext conftest
$ac_exeext
13041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13042 (eval $ac_link) 2>conftest.er1
13044 grep -v '^ *+' conftest.er1
>conftest.err
13046 cat conftest.err
>&5
13047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13048 (exit $ac_status); } &&
13049 { ac_try
='test -z "$ac_c_werror_flag"
13050 || test ! -s conftest.err'
13051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13052 (eval $ac_try) 2>&5
13054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13055 (exit $ac_status); }; } &&
13056 { ac_try
='test -s conftest$ac_exeext'
13057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13058 (eval $ac_try) 2>&5
13060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061 (exit $ac_status); }; }; then
13062 eval "$as_ac_var=yes"
13064 echo "$as_me: failed program was:" >&5
13065 sed 's/^/| /' conftest.
$ac_ext >&5
13067 eval "$as_ac_var=no"
13069 rm -f conftest.err conftest.
$ac_objext \
13070 conftest
$ac_exeext conftest.
$ac_ext
13072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13074 if test `eval echo '${'$as_ac_var'}'` = yes; then
13075 cat >>confdefs.h
<<_ACEOF
13076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13083 # We require memcpy.
13086 for ac_func
in memcpy
13088 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13089 echo "$as_me:$LINENO: checking for $ac_func" >&5
13090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13091 if eval "test \"\${$as_ac_var+set}\" = set"; then
13092 echo $ECHO_N "(cached) $ECHO_C" >&6
13094 if test x
$gcc_no_link = xyes
; then
13095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13097 { (exit 1); exit 1; }; }
13099 cat >conftest.
$ac_ext <<_ACEOF
13102 cat confdefs.h
>>conftest.
$ac_ext
13103 cat >>conftest.
$ac_ext <<_ACEOF
13104 /* end confdefs.h. */
13105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13107 #define $ac_func innocuous_$ac_func
13109 /* System header to define __stub macros and hopefully few prototypes,
13110 which can conflict with char $ac_func (); below.
13111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13112 <limits.h> exists even on freestanding compilers. */
13115 # include <limits.h>
13117 # include <assert.h>
13122 /* Override any gcc2 internal prototype to avoid an error. */
13127 /* We use char because int might match the return type of a gcc2
13128 builtin and then its argument prototype would still apply. */
13130 /* The GNU C library defines this for functions which it implements
13131 to always fail with ENOSYS. Some functions are actually named
13132 something starting with __ and the normal name is an alias. */
13133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13136 char (*f) () = $ac_func;
13145 return f != $ac_func;
13150 rm -f conftest.
$ac_objext conftest
$ac_exeext
13151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13152 (eval $ac_link) 2>conftest.er1
13154 grep -v '^ *+' conftest.er1
>conftest.err
13156 cat conftest.err
>&5
13157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13158 (exit $ac_status); } &&
13159 { ac_try
='test -z "$ac_c_werror_flag"
13160 || test ! -s conftest.err'
13161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13162 (eval $ac_try) 2>&5
13164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13165 (exit $ac_status); }; } &&
13166 { ac_try
='test -s conftest$ac_exeext'
13167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13168 (eval $ac_try) 2>&5
13170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13171 (exit $ac_status); }; }; then
13172 eval "$as_ac_var=yes"
13174 echo "$as_me: failed program was:" >&5
13175 sed 's/^/| /' conftest.
$ac_ext >&5
13177 eval "$as_ac_var=no"
13179 rm -f conftest.err conftest.
$ac_objext \
13180 conftest
$ac_exeext conftest.
$ac_ext
13182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13184 if test `eval echo '${'$as_ac_var'}'` = yes; then
13185 cat >>confdefs.h
<<_ACEOF
13186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13192 if test "$memcpy_found" = no
; then
13193 { { echo "$as_me:$LINENO: error: memcpy is required" >&5
13194 echo "$as_me: error: memcpy is required" >&2;}
13195 { (exit 1); exit 1; }; }
13197 # Do an additional check on dld, HP-UX for example has dlopen in libdld.sl
13198 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13199 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13200 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13201 echo $ECHO_N "(cached) $ECHO_C" >&6
13203 ac_check_lib_save_LIBS
=$LIBS
13205 if test x
$gcc_no_link = xyes
; then
13206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13208 { (exit 1); exit 1; }; }
13210 cat >conftest.
$ac_ext <<_ACEOF
13213 cat confdefs.h
>>conftest.
$ac_ext
13214 cat >>conftest.
$ac_ext <<_ACEOF
13215 /* end confdefs.h. */
13217 /* Override any gcc2 internal prototype to avoid an error. */
13221 /* We use char because int might match the return type of a gcc2
13222 builtin and then its argument prototype would still apply. */
13232 rm -f conftest.
$ac_objext conftest
$ac_exeext
13233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13234 (eval $ac_link) 2>conftest.er1
13236 grep -v '^ *+' conftest.er1
>conftest.err
13238 cat conftest.err
>&5
13239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13240 (exit $ac_status); } &&
13241 { ac_try
='test -z "$ac_c_werror_flag"
13242 || test ! -s conftest.err'
13243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13244 (eval $ac_try) 2>&5
13246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13247 (exit $ac_status); }; } &&
13248 { ac_try
='test -s conftest$ac_exeext'
13249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13250 (eval $ac_try) 2>&5
13252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13253 (exit $ac_status); }; }; then
13254 ac_cv_lib_dl_dlopen
=yes
13256 echo "$as_me: failed program was:" >&5
13257 sed 's/^/| /' conftest.
$ac_ext >&5
13259 ac_cv_lib_dl_dlopen
=no
13261 rm -f conftest.err conftest.
$ac_objext \
13262 conftest
$ac_exeext conftest.
$ac_ext
13263 LIBS
=$ac_check_lib_save_LIBS
13265 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13266 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13267 if test $ac_cv_lib_dl_dlopen = yes; then
13270 cat >>confdefs.h
<<\_ACEOF
13271 #define HAVE_DLOPEN 1
13276 echo "$as_me:$LINENO: checking for dlopen in -ldld" >&5
13277 echo $ECHO_N "checking for dlopen in -ldld... $ECHO_C" >&6
13278 if test "${ac_cv_lib_dld_dlopen+set}" = set; then
13279 echo $ECHO_N "(cached) $ECHO_C" >&6
13281 ac_check_lib_save_LIBS
=$LIBS
13283 if test x
$gcc_no_link = xyes
; then
13284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13286 { (exit 1); exit 1; }; }
13288 cat >conftest.
$ac_ext <<_ACEOF
13291 cat confdefs.h
>>conftest.
$ac_ext
13292 cat >>conftest.
$ac_ext <<_ACEOF
13293 /* end confdefs.h. */
13295 /* Override any gcc2 internal prototype to avoid an error. */
13299 /* We use char because int might match the return type of a gcc2
13300 builtin and then its argument prototype would still apply. */
13310 rm -f conftest.
$ac_objext conftest
$ac_exeext
13311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13312 (eval $ac_link) 2>conftest.er1
13314 grep -v '^ *+' conftest.er1
>conftest.err
13316 cat conftest.err
>&5
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); } &&
13319 { ac_try
='test -z "$ac_c_werror_flag"
13320 || test ! -s conftest.err'
13321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13322 (eval $ac_try) 2>&5
13324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13325 (exit $ac_status); }; } &&
13326 { ac_try
='test -s conftest$ac_exeext'
13327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13328 (eval $ac_try) 2>&5
13330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13331 (exit $ac_status); }; }; then
13332 ac_cv_lib_dld_dlopen
=yes
13334 echo "$as_me: failed program was:" >&5
13335 sed 's/^/| /' conftest.
$ac_ext >&5
13337 ac_cv_lib_dld_dlopen
=no
13339 rm -f conftest.err conftest.
$ac_objext \
13340 conftest
$ac_exeext conftest.
$ac_ext
13341 LIBS
=$ac_check_lib_save_LIBS
13343 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dlopen" >&5
13344 echo "${ECHO_T}$ac_cv_lib_dld_dlopen" >&6
13345 if test $ac_cv_lib_dld_dlopen = yes; then
13348 cat >>confdefs.h
<<\_ACEOF
13349 #define HAVE_DLOPEN 1
13357 # Some library-finding code we stole from Tcl.
13358 #--------------------------------------------------------------------
13359 # Check for the existence of the -lsocket and -lnsl libraries.
13360 # The order here is important, so that they end up in the right
13361 # order in the command line generated by make. Here are some
13362 # special considerations:
13363 # 1. Use "connect" and "accept" to check for -lsocket, and
13364 # "gethostbyname" to check for -lnsl.
13365 # 2. Use each function name only once: can't redo a check because
13366 # autoconf caches the results of the last check and won't redo it.
13367 # 3. Use -lnsl and -lsocket only if they supply procedures that
13368 # aren't already present in the normal libraries. This is because
13369 # IRIX 5.2 has libraries, but they aren't needed and they're
13370 # bogus: they goof up name resolution if used.
13371 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
13372 # To get around this problem, check for both libraries together
13373 # if -lsocket doesn't work by itself.
13374 #--------------------------------------------------------------------
13376 echo "$as_me:$LINENO: checking for socket libraries" >&5
13377 echo $ECHO_N "checking for socket libraries... $ECHO_C" >&6
13378 if test "${gcj_cv_lib_sockets+set}" = set; then
13379 echo $ECHO_N "(cached) $ECHO_C" >&6
13381 gcj_cv_lib_sockets
=
13383 unset ac_cv_func_connect
13384 echo "$as_me:$LINENO: checking for connect" >&5
13385 echo $ECHO_N "checking for connect... $ECHO_C" >&6
13386 if test "${ac_cv_func_connect+set}" = set; then
13387 echo $ECHO_N "(cached) $ECHO_C" >&6
13389 if test x
$gcc_no_link = xyes
; then
13390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13392 { (exit 1); exit 1; }; }
13394 cat >conftest.
$ac_ext <<_ACEOF
13397 cat confdefs.h
>>conftest.
$ac_ext
13398 cat >>conftest.
$ac_ext <<_ACEOF
13399 /* end confdefs.h. */
13400 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
13401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13402 #define connect innocuous_connect
13404 /* System header to define __stub macros and hopefully few prototypes,
13405 which can conflict with char connect (); below.
13406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13407 <limits.h> exists even on freestanding compilers. */
13410 # include <limits.h>
13412 # include <assert.h>
13417 /* Override any gcc2 internal prototype to avoid an error. */
13422 /* We use char because int might match the return type of a gcc2
13423 builtin and then its argument prototype would still apply. */
13425 /* The GNU C library defines this for functions which it implements
13426 to always fail with ENOSYS. Some functions are actually named
13427 something starting with __ and the normal name is an alias. */
13428 #if defined (__stub_connect) || defined (__stub___connect)
13431 char (*f) () = connect;
13440 return f != connect;
13445 rm -f conftest.
$ac_objext conftest
$ac_exeext
13446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13447 (eval $ac_link) 2>conftest.er1
13449 grep -v '^ *+' conftest.er1
>conftest.err
13451 cat conftest.err
>&5
13452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13453 (exit $ac_status); } &&
13454 { ac_try
='test -z "$ac_c_werror_flag"
13455 || test ! -s conftest.err'
13456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13457 (eval $ac_try) 2>&5
13459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13460 (exit $ac_status); }; } &&
13461 { ac_try
='test -s conftest$ac_exeext'
13462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13463 (eval $ac_try) 2>&5
13465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13466 (exit $ac_status); }; }; then
13467 ac_cv_func_connect
=yes
13469 echo "$as_me: failed program was:" >&5
13470 sed 's/^/| /' conftest.
$ac_ext >&5
13472 ac_cv_func_connect
=no
13474 rm -f conftest.err conftest.
$ac_objext \
13475 conftest
$ac_exeext conftest.
$ac_ext
13477 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
13478 echo "${ECHO_T}$ac_cv_func_connect" >&6
13479 if test $ac_cv_func_connect = yes; then
13485 if test "$gcj_checkSocket" = 1; then
13486 unset ac_cv_func_connect
13487 echo "$as_me:$LINENO: checking for main in -lsocket" >&5
13488 echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
13489 if test "${ac_cv_lib_socket_main+set}" = set; then
13490 echo $ECHO_N "(cached) $ECHO_C" >&6
13492 ac_check_lib_save_LIBS
=$LIBS
13493 LIBS
="-lsocket $LIBS"
13494 if test x
$gcc_no_link = xyes
; then
13495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13497 { (exit 1); exit 1; }; }
13499 cat >conftest.
$ac_ext <<_ACEOF
13502 cat confdefs.h
>>conftest.
$ac_ext
13503 cat >>conftest.
$ac_ext <<_ACEOF
13504 /* end confdefs.h. */
13515 rm -f conftest.
$ac_objext conftest
$ac_exeext
13516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13517 (eval $ac_link) 2>conftest.er1
13519 grep -v '^ *+' conftest.er1
>conftest.err
13521 cat conftest.err
>&5
13522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13523 (exit $ac_status); } &&
13524 { ac_try
='test -z "$ac_c_werror_flag"
13525 || test ! -s conftest.err'
13526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13527 (eval $ac_try) 2>&5
13529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13530 (exit $ac_status); }; } &&
13531 { ac_try
='test -s conftest$ac_exeext'
13532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13533 (eval $ac_try) 2>&5
13535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13536 (exit $ac_status); }; }; then
13537 ac_cv_lib_socket_main
=yes
13539 echo "$as_me: failed program was:" >&5
13540 sed 's/^/| /' conftest.
$ac_ext >&5
13542 ac_cv_lib_socket_main
=no
13544 rm -f conftest.err conftest.
$ac_objext \
13545 conftest
$ac_exeext conftest.
$ac_ext
13546 LIBS
=$ac_check_lib_save_LIBS
13548 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
13549 echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
13550 if test $ac_cv_lib_socket_main = yes; then
13551 gcj_cv_lib_sockets
="-lsocket"
13557 if test "$gcj_checkBoth" = 1; then
13559 LIBS
="$LIBS -lsocket -lnsl"
13560 unset ac_cv_func_accept
13561 echo "$as_me:$LINENO: checking for accept" >&5
13562 echo $ECHO_N "checking for accept... $ECHO_C" >&6
13563 if test "${ac_cv_func_accept+set}" = set; then
13564 echo $ECHO_N "(cached) $ECHO_C" >&6
13566 if test x
$gcc_no_link = xyes
; then
13567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13569 { (exit 1); exit 1; }; }
13571 cat >conftest.
$ac_ext <<_ACEOF
13574 cat confdefs.h
>>conftest.
$ac_ext
13575 cat >>conftest.
$ac_ext <<_ACEOF
13576 /* end confdefs.h. */
13577 /* Define accept to an innocuous variant, in case <limits.h> declares accept.
13578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13579 #define accept innocuous_accept
13581 /* System header to define __stub macros and hopefully few prototypes,
13582 which can conflict with char accept (); below.
13583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13584 <limits.h> exists even on freestanding compilers. */
13587 # include <limits.h>
13589 # include <assert.h>
13594 /* Override any gcc2 internal prototype to avoid an error. */
13599 /* We use char because int might match the return type of a gcc2
13600 builtin and then its argument prototype would still apply. */
13602 /* The GNU C library defines this for functions which it implements
13603 to always fail with ENOSYS. Some functions are actually named
13604 something starting with __ and the normal name is an alias. */
13605 #if defined (__stub_accept) || defined (__stub___accept)
13608 char (*f) () = accept;
13617 return f != accept;
13622 rm -f conftest.
$ac_objext conftest
$ac_exeext
13623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13624 (eval $ac_link) 2>conftest.er1
13626 grep -v '^ *+' conftest.er1
>conftest.err
13628 cat conftest.err
>&5
13629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13630 (exit $ac_status); } &&
13631 { ac_try
='test -z "$ac_c_werror_flag"
13632 || test ! -s conftest.err'
13633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13634 (eval $ac_try) 2>&5
13636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13637 (exit $ac_status); }; } &&
13638 { ac_try
='test -s conftest$ac_exeext'
13639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13640 (eval $ac_try) 2>&5
13642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13643 (exit $ac_status); }; }; then
13644 ac_cv_func_accept
=yes
13646 echo "$as_me: failed program was:" >&5
13647 sed 's/^/| /' conftest.
$ac_ext >&5
13649 ac_cv_func_accept
=no
13651 rm -f conftest.err conftest.
$ac_objext \
13652 conftest
$ac_exeext conftest.
$ac_ext
13654 echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5
13655 echo "${ECHO_T}$ac_cv_func_accept" >&6
13656 if test $ac_cv_func_accept = yes; then
13658 gcj_cv_lib_sockets
="-lsocket -lnsl"
13661 unset ac_cv_func_accept
13664 unset ac_cv_func_gethostbyname
13666 LIBS
="$LIBS $gcj_cv_lib_sockets"
13667 echo "$as_me:$LINENO: checking for gethostbyname" >&5
13668 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
13669 if test "${ac_cv_func_gethostbyname+set}" = set; then
13670 echo $ECHO_N "(cached) $ECHO_C" >&6
13672 if test x
$gcc_no_link = xyes
; then
13673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13675 { (exit 1); exit 1; }; }
13677 cat >conftest.
$ac_ext <<_ACEOF
13680 cat confdefs.h
>>conftest.
$ac_ext
13681 cat >>conftest.
$ac_ext <<_ACEOF
13682 /* end confdefs.h. */
13683 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
13684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13685 #define gethostbyname innocuous_gethostbyname
13687 /* System header to define __stub macros and hopefully few prototypes,
13688 which can conflict with char gethostbyname (); below.
13689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13690 <limits.h> exists even on freestanding compilers. */
13693 # include <limits.h>
13695 # include <assert.h>
13698 #undef gethostbyname
13700 /* Override any gcc2 internal prototype to avoid an error. */
13705 /* We use char because int might match the return type of a gcc2
13706 builtin and then its argument prototype would still apply. */
13707 char gethostbyname ();
13708 /* The GNU C library defines this for functions which it implements
13709 to always fail with ENOSYS. Some functions are actually named
13710 something starting with __ and the normal name is an alias. */
13711 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13714 char (*f) () = gethostbyname;
13723 return f != gethostbyname;
13728 rm -f conftest.
$ac_objext conftest
$ac_exeext
13729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13730 (eval $ac_link) 2>conftest.er1
13732 grep -v '^ *+' conftest.er1
>conftest.err
13734 cat conftest.err
>&5
13735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13736 (exit $ac_status); } &&
13737 { ac_try
='test -z "$ac_c_werror_flag"
13738 || test ! -s conftest.err'
13739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13740 (eval $ac_try) 2>&5
13742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743 (exit $ac_status); }; } &&
13744 { ac_try
='test -s conftest$ac_exeext'
13745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13746 (eval $ac_try) 2>&5
13748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13749 (exit $ac_status); }; }; then
13750 ac_cv_func_gethostbyname
=yes
13752 echo "$as_me: failed program was:" >&5
13753 sed 's/^/| /' conftest.
$ac_ext >&5
13755 ac_cv_func_gethostbyname
=no
13757 rm -f conftest.err conftest.
$ac_objext \
13758 conftest
$ac_exeext conftest.
$ac_ext
13760 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
13761 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
13762 if test $ac_cv_func_gethostbyname = yes; then
13765 echo "$as_me:$LINENO: checking for main in -lnsl" >&5
13766 echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
13767 if test "${ac_cv_lib_nsl_main+set}" = set; then
13768 echo $ECHO_N "(cached) $ECHO_C" >&6
13770 ac_check_lib_save_LIBS
=$LIBS
13772 if test x
$gcc_no_link = xyes
; then
13773 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13775 { (exit 1); exit 1; }; }
13777 cat >conftest.
$ac_ext <<_ACEOF
13780 cat confdefs.h
>>conftest.
$ac_ext
13781 cat >>conftest.
$ac_ext <<_ACEOF
13782 /* end confdefs.h. */
13793 rm -f conftest.
$ac_objext conftest
$ac_exeext
13794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13795 (eval $ac_link) 2>conftest.er1
13797 grep -v '^ *+' conftest.er1
>conftest.err
13799 cat conftest.err
>&5
13800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13801 (exit $ac_status); } &&
13802 { ac_try
='test -z "$ac_c_werror_flag"
13803 || test ! -s conftest.err'
13804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13805 (eval $ac_try) 2>&5
13807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13808 (exit $ac_status); }; } &&
13809 { ac_try
='test -s conftest$ac_exeext'
13810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13811 (eval $ac_try) 2>&5
13813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13814 (exit $ac_status); }; }; then
13815 ac_cv_lib_nsl_main
=yes
13817 echo "$as_me: failed program was:" >&5
13818 sed 's/^/| /' conftest.
$ac_ext >&5
13820 ac_cv_lib_nsl_main
=no
13822 rm -f conftest.err conftest.
$ac_objext \
13823 conftest
$ac_exeext conftest.
$ac_ext
13824 LIBS
=$ac_check_lib_save_LIBS
13826 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
13827 echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
13828 if test $ac_cv_lib_nsl_main = yes; then
13829 gcj_cv_lib_sockets
="$gcj_cv_lib_sockets -lnsl"
13834 unset ac_cv_func_gethostbyname
13838 echo "$as_me:$LINENO: result: $gcj_cv_lib_sockets" >&5
13839 echo "${ECHO_T}$gcj_cv_lib_sockets" >&6
13840 SYSTEMSPEC
="$SYSTEMSPEC $gcj_cv_lib_sockets"
13842 if test "$with_system_zlib" = yes; then
13843 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
13844 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
13845 if test "${ac_cv_lib_z_deflate+set}" = set; then
13846 echo $ECHO_N "(cached) $ECHO_C" >&6
13848 ac_check_lib_save_LIBS
=$LIBS
13850 if test x
$gcc_no_link = xyes
; then
13851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13853 { (exit 1); exit 1; }; }
13855 cat >conftest.
$ac_ext <<_ACEOF
13858 cat confdefs.h
>>conftest.
$ac_ext
13859 cat >>conftest.
$ac_ext <<_ACEOF
13860 /* end confdefs.h. */
13862 /* Override any gcc2 internal prototype to avoid an error. */
13866 /* We use char because int might match the return type of a gcc2
13867 builtin and then its argument prototype would still apply. */
13877 rm -f conftest.
$ac_objext conftest
$ac_exeext
13878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13879 (eval $ac_link) 2>conftest.er1
13881 grep -v '^ *+' conftest.er1
>conftest.err
13883 cat conftest.err
>&5
13884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13885 (exit $ac_status); } &&
13886 { ac_try
='test -z "$ac_c_werror_flag"
13887 || test ! -s conftest.err'
13888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13889 (eval $ac_try) 2>&5
13891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13892 (exit $ac_status); }; } &&
13893 { ac_try
='test -s conftest$ac_exeext'
13894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13895 (eval $ac_try) 2>&5
13897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13898 (exit $ac_status); }; }; then
13899 ac_cv_lib_z_deflate
=yes
13901 echo "$as_me: failed program was:" >&5
13902 sed 's/^/| /' conftest.
$ac_ext >&5
13904 ac_cv_lib_z_deflate
=no
13906 rm -f conftest.err conftest.
$ac_objext \
13907 conftest
$ac_exeext conftest.
$ac_ext
13908 LIBS
=$ac_check_lib_save_LIBS
13910 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
13911 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
13912 if test $ac_cv_lib_z_deflate = yes; then
13921 echo "$as_me:$LINENO: checking for magic_open in -lmagic" >&5
13922 echo $ECHO_N "checking for magic_open in -lmagic... $ECHO_C" >&6
13923 if test "${ac_cv_lib_magic_magic_open+set}" = set; then
13924 echo $ECHO_N "(cached) $ECHO_C" >&6
13926 ac_check_lib_save_LIBS
=$LIBS
13927 LIBS
="-lmagic $LIBS"
13928 if test x
$gcc_no_link = xyes
; then
13929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13931 { (exit 1); exit 1; }; }
13933 cat >conftest.
$ac_ext <<_ACEOF
13936 cat confdefs.h
>>conftest.
$ac_ext
13937 cat >>conftest.
$ac_ext <<_ACEOF
13938 /* end confdefs.h. */
13940 /* Override any gcc2 internal prototype to avoid an error. */
13944 /* We use char because int might match the return type of a gcc2
13945 builtin and then its argument prototype would still apply. */
13946 char magic_open ();
13955 rm -f conftest.
$ac_objext conftest
$ac_exeext
13956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13957 (eval $ac_link) 2>conftest.er1
13959 grep -v '^ *+' conftest.er1
>conftest.err
13961 cat conftest.err
>&5
13962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13963 (exit $ac_status); } &&
13964 { ac_try
='test -z "$ac_c_werror_flag"
13965 || test ! -s conftest.err'
13966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13967 (eval $ac_try) 2>&5
13969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13970 (exit $ac_status); }; } &&
13971 { ac_try
='test -s conftest$ac_exeext'
13972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13973 (eval $ac_try) 2>&5
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); }; }; then
13977 ac_cv_lib_magic_magic_open
=yes
13979 echo "$as_me: failed program was:" >&5
13980 sed 's/^/| /' conftest.
$ac_ext >&5
13982 ac_cv_lib_magic_magic_open
=no
13984 rm -f conftest.err conftest.
$ac_objext \
13985 conftest
$ac_exeext conftest.
$ac_ext
13986 LIBS
=$ac_check_lib_save_LIBS
13988 echo "$as_me:$LINENO: result: $ac_cv_lib_magic_magic_open" >&5
13989 echo "${ECHO_T}$ac_cv_lib_magic_magic_open" >&6
13990 if test $ac_cv_lib_magic_magic_open = yes; then
13993 cat >>confdefs.h
<<\_ACEOF
13994 #define HAVE_MAGIC_OPEN 1
14002 # Test for Gtk stuff, if asked for.
14003 if test "$use_gtk_awt" = yes; then
14007 if test -z "$PKG_CONFIG"; then
14008 # Extract the first word of "pkg-config", so it can be a program name with args.
14009 set dummy pkg-config
; ac_word
=$2
14010 echo "$as_me:$LINENO: checking for $ac_word" >&5
14011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14012 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
14013 echo $ECHO_N "(cached) $ECHO_C" >&6
14015 case $PKG_CONFIG in
14017 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14021 for as_dir
in $PATH
14024 test -z "$as_dir" && as_dir
=.
14025 for ac_exec_ext
in '' $ac_executable_extensions; do
14026 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14027 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14034 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14038 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
14040 if test -n "$PKG_CONFIG"; then
14041 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
14042 echo "${ECHO_T}$PKG_CONFIG" >&6
14044 echo "$as_me:$LINENO: result: no" >&5
14045 echo "${ECHO_T}no" >&6
14050 if test "$PKG_CONFIG" = "no" ; then
14051 echo "*** The pkg-config script could not be found. Make sure it is"
14052 echo "*** in your path, or set the PKG_CONFIG environment variable"
14053 echo "*** to the full path to pkg-config."
14054 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14056 PKG_CONFIG_MIN_VERSION
=0.9.0
14057 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14058 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4" >&5
14059 echo $ECHO_N "checking for gtk+-2.0 >= 2.4... $ECHO_C" >&6
14061 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4" ; then
14062 echo "$as_me:$LINENO: result: yes" >&5
14063 echo "${ECHO_T}yes" >&6
14066 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
14067 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
14068 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4"`
14069 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
14070 echo "${ECHO_T}$GTK_CFLAGS" >&6
14072 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
14073 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
14074 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4"`
14075 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
14076 echo "${ECHO_T}$GTK_LIBS" >&6
14080 ## If we have a custom action on failure, don't print errors, but
14081 ## do set a variable so people can do so.
14082 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4"`
14083 echo $GTK_PKG_ERRORS
14089 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14090 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14094 if test $succeeded = yes; then
14097 { { 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
14098 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;}
14099 { (exit 1); exit 1; }; }
14108 if test -z "$PKG_CONFIG"; then
14109 # Extract the first word of "pkg-config", so it can be a program name with args.
14110 set dummy pkg-config
; ac_word
=$2
14111 echo "$as_me:$LINENO: checking for $ac_word" >&5
14112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14113 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
14114 echo $ECHO_N "(cached) $ECHO_C" >&6
14116 case $PKG_CONFIG in
14118 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14122 for as_dir
in $PATH
14125 test -z "$as_dir" && as_dir
=.
14126 for ac_exec_ext
in '' $ac_executable_extensions; do
14127 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14128 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14135 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14139 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
14141 if test -n "$PKG_CONFIG"; then
14142 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
14143 echo "${ECHO_T}$PKG_CONFIG" >&6
14145 echo "$as_me:$LINENO: result: no" >&5
14146 echo "${ECHO_T}no" >&6
14151 if test "$PKG_CONFIG" = "no" ; then
14152 echo "*** The pkg-config script could not be found. Make sure it is"
14153 echo "*** in your path, or set the PKG_CONFIG environment variable"
14154 echo "*** to the full path to pkg-config."
14155 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14157 PKG_CONFIG_MIN_VERSION
=0.9.0
14158 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14159 echo "$as_me:$LINENO: checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4" >&5
14160 echo $ECHO_N "checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... $ECHO_C" >&6
14162 if $PKG_CONFIG --exists "glib-2.0 >= 2.4 gthread-2.0 >= 2.4" ; then
14163 echo "$as_me:$LINENO: result: yes" >&5
14164 echo "${ECHO_T}yes" >&6
14167 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
14168 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
14169 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
14170 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
14171 echo "${ECHO_T}$GLIB_CFLAGS" >&6
14173 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
14174 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
14175 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
14176 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
14177 echo "${ECHO_T}$GLIB_LIBS" >&6
14181 ## If we have a custom action on failure, don't print errors, but
14182 ## do set a variable so people can do so.
14183 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
14184 echo $GLIB_PKG_ERRORS
14190 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14191 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14195 if test $succeeded = yes; then
14198 { { 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
14199 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;}
14200 { (exit 1); exit 1; }; }
14209 if test -z "$PKG_CONFIG"; then
14210 # Extract the first word of "pkg-config", so it can be a program name with args.
14211 set dummy pkg-config
; ac_word
=$2
14212 echo "$as_me:$LINENO: checking for $ac_word" >&5
14213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14214 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
14215 echo $ECHO_N "(cached) $ECHO_C" >&6
14217 case $PKG_CONFIG in
14219 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14223 for as_dir
in $PATH
14226 test -z "$as_dir" && as_dir
=.
14227 for ac_exec_ext
in '' $ac_executable_extensions; do
14228 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14229 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14236 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14240 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
14242 if test -n "$PKG_CONFIG"; then
14243 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
14244 echo "${ECHO_T}$PKG_CONFIG" >&6
14246 echo "$as_me:$LINENO: result: no" >&5
14247 echo "${ECHO_T}no" >&6
14252 if test "$PKG_CONFIG" = "no" ; then
14253 echo "*** The pkg-config script could not be found. Make sure it is"
14254 echo "*** in your path, or set the PKG_CONFIG environment variable"
14255 echo "*** to the full path to pkg-config."
14256 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14258 PKG_CONFIG_MIN_VERSION
=0.9.0
14259 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14260 echo "$as_me:$LINENO: checking for libart-2.0 >= 2.1" >&5
14261 echo $ECHO_N "checking for libart-2.0 >= 2.1... $ECHO_C" >&6
14263 if $PKG_CONFIG --exists "libart-2.0 >= 2.1" ; then
14264 echo "$as_me:$LINENO: result: yes" >&5
14265 echo "${ECHO_T}yes" >&6
14268 echo "$as_me:$LINENO: checking LIBART_CFLAGS" >&5
14269 echo $ECHO_N "checking LIBART_CFLAGS... $ECHO_C" >&6
14270 LIBART_CFLAGS
=`$PKG_CONFIG --cflags "libart-2.0 >= 2.1"`
14271 echo "$as_me:$LINENO: result: $LIBART_CFLAGS" >&5
14272 echo "${ECHO_T}$LIBART_CFLAGS" >&6
14274 echo "$as_me:$LINENO: checking LIBART_LIBS" >&5
14275 echo $ECHO_N "checking LIBART_LIBS... $ECHO_C" >&6
14276 LIBART_LIBS
=`$PKG_CONFIG --libs "libart-2.0 >= 2.1"`
14277 echo "$as_me:$LINENO: result: $LIBART_LIBS" >&5
14278 echo "${ECHO_T}$LIBART_LIBS" >&6
14282 ## If we have a custom action on failure, don't print errors, but
14283 ## do set a variable so people can do so.
14284 LIBART_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libart-2.0 >= 2.1"`
14285 echo $LIBART_PKG_ERRORS
14291 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14292 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14296 if test $succeeded = yes; then
14299 { { 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
14300 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;}
14301 { (exit 1); exit 1; }; }
14307 # We require the XTest Extension to support java.awt.Robot.
14308 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
14309 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
14310 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
14311 echo $ECHO_N "(cached) $ECHO_C" >&6
14313 ac_check_lib_save_LIBS
=$LIBS
14314 LIBS
="-lXtst ${X_LIBS} $LIBS"
14315 if test x
$gcc_no_link = xyes
; then
14316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14318 { (exit 1); exit 1; }; }
14320 cat >conftest.
$ac_ext <<_ACEOF
14323 cat confdefs.h
>>conftest.
$ac_ext
14324 cat >>conftest.
$ac_ext <<_ACEOF
14325 /* end confdefs.h. */
14327 /* Override any gcc2 internal prototype to avoid an error. */
14331 /* We use char because int might match the return type of a gcc2
14332 builtin and then its argument prototype would still apply. */
14333 char XTestQueryExtension ();
14337 XTestQueryExtension ();
14342 rm -f conftest.
$ac_objext conftest
$ac_exeext
14343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14344 (eval $ac_link) 2>conftest.er1
14346 grep -v '^ *+' conftest.er1
>conftest.err
14348 cat conftest.err
>&5
14349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14350 (exit $ac_status); } &&
14351 { ac_try
='test -z "$ac_c_werror_flag"
14352 || test ! -s conftest.err'
14353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14354 (eval $ac_try) 2>&5
14356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14357 (exit $ac_status); }; } &&
14358 { ac_try
='test -s conftest$ac_exeext'
14359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14360 (eval $ac_try) 2>&5
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); }; }; then
14364 ac_cv_lib_Xtst_XTestQueryExtension
=yes
14366 echo "$as_me: failed program was:" >&5
14367 sed 's/^/| /' conftest.
$ac_ext >&5
14369 ac_cv_lib_Xtst_XTestQueryExtension
=no
14371 rm -f conftest.err conftest.
$ac_objext \
14372 conftest
$ac_exeext conftest.
$ac_ext
14373 LIBS
=$ac_check_lib_save_LIBS
14375 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
14376 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
14377 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
14380 { { echo "$as_me:$LINENO: error: libXtst not found, required by java.awt.Robot" >&5
14381 echo "$as_me: error: libXtst not found, required by java.awt.Robot" >&2;}
14382 { (exit 1); exit 1; }; }
14387 # On Solaris, and maybe other architectures, the Boehm collector
14389 if test "$GC" = boehm
; then
14390 echo "$as_me:$LINENO: checking for main in -ldl" >&5
14391 echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6
14392 if test "${ac_cv_lib_dl_main+set}" = set; then
14393 echo $ECHO_N "(cached) $ECHO_C" >&6
14395 ac_check_lib_save_LIBS
=$LIBS
14397 if test x
$gcc_no_link = xyes
; then
14398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14400 { (exit 1); exit 1; }; }
14402 cat >conftest.
$ac_ext <<_ACEOF
14405 cat confdefs.h
>>conftest.
$ac_ext
14406 cat >>conftest.
$ac_ext <<_ACEOF
14407 /* end confdefs.h. */
14418 rm -f conftest.
$ac_objext conftest
$ac_exeext
14419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14420 (eval $ac_link) 2>conftest.er1
14422 grep -v '^ *+' conftest.er1
>conftest.err
14424 cat conftest.err
>&5
14425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14426 (exit $ac_status); } &&
14427 { ac_try
='test -z "$ac_c_werror_flag"
14428 || test ! -s conftest.err'
14429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14430 (eval $ac_try) 2>&5
14432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14433 (exit $ac_status); }; } &&
14434 { ac_try
='test -s conftest$ac_exeext'
14435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14436 (eval $ac_try) 2>&5
14438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14439 (exit $ac_status); }; }; then
14440 ac_cv_lib_dl_main
=yes
14442 echo "$as_me: failed program was:" >&5
14443 sed 's/^/| /' conftest.
$ac_ext >&5
14445 ac_cv_lib_dl_main
=no
14447 rm -f conftest.err conftest.
$ac_objext \
14448 conftest
$ac_exeext conftest.
$ac_ext
14449 LIBS
=$ac_check_lib_save_LIBS
14451 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5
14452 echo "${ECHO_T}$ac_cv_lib_dl_main" >&6
14453 if test $ac_cv_lib_dl_main = yes; then
14454 SYSTEMSPEC
="$SYSTEMSPEC -ldl"
14460 # Use a semicolon as CLASSPATH separator for MinGW, otherwise a colon.
14462 *-mingw32) CLASSPATH_SEPARATOR
=';' ;;
14463 *) CLASSPATH_SEPARATOR
=':' ;;
14467 # We must search the source tree for java.lang, since we still don't
14468 # have libgcj.jar nor java/lang/*.class
14469 GCJ_SAVE_CPPFLAGS
=$CPPFLAGS
14470 CPPFLAGS
="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`"
14472 # Since some classes depend on this one, we need its source available
14473 # before we can do any GCJ compilation test :-(
14474 if test ! -f gnu
/classpath
/Configuration.java
; then
14475 test -d gnu || mkdir gnu
14476 test -d gnu
/classpath || mkdir gnu
/classpath
14477 # Note that it is not crucial that all the values here be correct.
14478 sed -e "s,@prefix@,$prefix," \
14479 -e "s,@VERSION@,$VERSION," \
14480 -e "s,@LIBDEBUG@,false," \
14481 -e "s,@INIT_LOAD_LIBRARY@,false," \
14482 -e "s,@@,$LIBGCJDEBUG," \
14483 -e "s,@default_toolkit@,$TOOLKIT," \
14484 -e "s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,false," \
14485 -e "s,@GTK_CAIRO_ENABLED@,false," \
14486 < $srcdir/classpath
/gnu
/classpath
/Configuration.java.
in \
14487 > gnu
/classpath
/Configuration.java
14488 # We do not want to redirect the output of the grep below to /dev/null,
14489 # but we add /dev/null to the input list so that grep will print the
14490 # filename of Configuration.java in case it finds any matches.
14491 if grep '@.*@' gnu
/classpath
/Configuration.java
/dev
/null
; then
14492 { { echo "$as_me:$LINENO: error: configure.ac is missing the substitutions above" >&5
14493 echo "$as_me: error: configure.ac is missing the substitutions above" >&2;}
14494 { (exit 1); exit 1; }; }
14498 if test -n "$ac_tool_prefix"; then
14499 # Extract the first word of "${ac_tool_prefix}gcj", so it can be a program name with args.
14500 set dummy
${ac_tool_prefix}gcj
; ac_word
=$2
14501 echo "$as_me:$LINENO: checking for $ac_word" >&5
14502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14503 if test "${ac_cv_prog_GCJ+set}" = set; then
14504 echo $ECHO_N "(cached) $ECHO_C" >&6
14506 if test -n "$GCJ"; then
14507 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
14509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14510 for as_dir
in $PATH
14513 test -z "$as_dir" && as_dir
=.
14514 for ac_exec_ext
in '' $ac_executable_extensions; do
14515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14516 ac_cv_prog_GCJ
="${ac_tool_prefix}gcj"
14517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14525 GCJ
=$ac_cv_prog_GCJ
14526 if test -n "$GCJ"; then
14527 echo "$as_me:$LINENO: result: $GCJ" >&5
14528 echo "${ECHO_T}$GCJ" >&6
14530 echo "$as_me:$LINENO: result: no" >&5
14531 echo "${ECHO_T}no" >&6
14535 if test -z "$ac_cv_prog_GCJ"; then
14537 # Extract the first word of "gcj", so it can be a program name with args.
14538 set dummy gcj
; ac_word
=$2
14539 echo "$as_me:$LINENO: checking for $ac_word" >&5
14540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14541 if test "${ac_cv_prog_ac_ct_GCJ+set}" = set; then
14542 echo $ECHO_N "(cached) $ECHO_C" >&6
14544 if test -n "$ac_ct_GCJ"; then
14545 ac_cv_prog_ac_ct_GCJ
="$ac_ct_GCJ" # Let the user override the test.
14547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14548 for as_dir
in $PATH
14551 test -z "$as_dir" && as_dir
=.
14552 for ac_exec_ext
in '' $ac_executable_extensions; do
14553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14554 ac_cv_prog_ac_ct_GCJ
="gcj"
14555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14561 test -z "$ac_cv_prog_ac_ct_GCJ" && ac_cv_prog_ac_ct_GCJ
="no"
14564 ac_ct_GCJ
=$ac_cv_prog_ac_ct_GCJ
14565 if test -n "$ac_ct_GCJ"; then
14566 echo "$as_me:$LINENO: result: $ac_ct_GCJ" >&5
14567 echo "${ECHO_T}$ac_ct_GCJ" >&6
14569 echo "$as_me:$LINENO: result: no" >&5
14570 echo "${ECHO_T}no" >&6
14575 GCJ
="$ac_cv_prog_GCJ"
14578 test "x${GCJFLAGS+set}" = xset || GCJFLAGS
="-g -O2"
14584 rm -f gnu
/classpath
/Configuration.java
14586 CPPFLAGS
=$GCJ_SAVE_CPPFLAGS
14588 echo "$as_me:$LINENO: checking for void *" >&5
14589 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14590 if test "${ac_cv_type_void_p+set}" = set; then
14591 echo $ECHO_N "(cached) $ECHO_C" >&6
14593 cat >conftest.
$ac_ext <<_ACEOF
14596 cat confdefs.h
>>conftest.
$ac_ext
14597 cat >>conftest.
$ac_ext <<_ACEOF
14598 /* end confdefs.h. */
14599 $ac_includes_default
14605 if (sizeof (void *))
14611 rm -f conftest.
$ac_objext
14612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14613 (eval $ac_compile) 2>conftest.er1
14615 grep -v '^ *+' conftest.er1
>conftest.err
14617 cat conftest.err
>&5
14618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14619 (exit $ac_status); } &&
14620 { ac_try
='test -z "$ac_c_werror_flag"
14621 || test ! -s conftest.err'
14622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14623 (eval $ac_try) 2>&5
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 (exit $ac_status); }; } &&
14627 { ac_try
='test -s conftest.$ac_objext'
14628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14629 (eval $ac_try) 2>&5
14631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14632 (exit $ac_status); }; }; then
14633 ac_cv_type_void_p
=yes
14635 echo "$as_me: failed program was:" >&5
14636 sed 's/^/| /' conftest.
$ac_ext >&5
14638 ac_cv_type_void_p
=no
14640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14642 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14643 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14645 echo "$as_me:$LINENO: checking size of void *" >&5
14646 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14647 if test "${ac_cv_sizeof_void_p+set}" = set; then
14648 echo $ECHO_N "(cached) $ECHO_C" >&6
14650 if test "$ac_cv_type_void_p" = yes; then
14651 # The cast to unsigned long works around a bug in the HP C Compiler
14652 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14653 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14654 # This bug is HP SR number 8606223364.
14655 if test "$cross_compiling" = yes; then
14656 # Depending upon the size, compute the lo and hi bounds.
14657 cat >conftest.
$ac_ext <<_ACEOF
14660 cat confdefs.h
>>conftest.
$ac_ext
14661 cat >>conftest.
$ac_ext <<_ACEOF
14662 /* end confdefs.h. */
14663 $ac_includes_default
14667 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14674 rm -f conftest.
$ac_objext
14675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14676 (eval $ac_compile) 2>conftest.er1
14678 grep -v '^ *+' conftest.er1
>conftest.err
14680 cat conftest.err
>&5
14681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14682 (exit $ac_status); } &&
14683 { ac_try
='test -z "$ac_c_werror_flag"
14684 || test ! -s conftest.err'
14685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14686 (eval $ac_try) 2>&5
14688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14689 (exit $ac_status); }; } &&
14690 { ac_try
='test -s conftest.$ac_objext'
14691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14692 (eval $ac_try) 2>&5
14694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14695 (exit $ac_status); }; }; then
14698 cat >conftest.
$ac_ext <<_ACEOF
14701 cat confdefs.h
>>conftest.
$ac_ext
14702 cat >>conftest.
$ac_ext <<_ACEOF
14703 /* end confdefs.h. */
14704 $ac_includes_default
14708 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14715 rm -f conftest.
$ac_objext
14716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14717 (eval $ac_compile) 2>conftest.er1
14719 grep -v '^ *+' conftest.er1
>conftest.err
14721 cat conftest.err
>&5
14722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14723 (exit $ac_status); } &&
14724 { ac_try
='test -z "$ac_c_werror_flag"
14725 || test ! -s conftest.err'
14726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14727 (eval $ac_try) 2>&5
14729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14730 (exit $ac_status); }; } &&
14731 { ac_try
='test -s conftest.$ac_objext'
14732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14733 (eval $ac_try) 2>&5
14735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); }; }; then
14737 ac_hi
=$ac_mid; break
14739 echo "$as_me: failed program was:" >&5
14740 sed 's/^/| /' conftest.
$ac_ext >&5
14742 ac_lo
=`expr $ac_mid + 1`
14743 if test $ac_lo -le $ac_mid; then
14747 ac_mid
=`expr 2 '*' $ac_mid + 1`
14749 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14752 echo "$as_me: failed program was:" >&5
14753 sed 's/^/| /' conftest.
$ac_ext >&5
14755 cat >conftest.
$ac_ext <<_ACEOF
14758 cat confdefs.h
>>conftest.
$ac_ext
14759 cat >>conftest.
$ac_ext <<_ACEOF
14760 /* end confdefs.h. */
14761 $ac_includes_default
14765 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14772 rm -f conftest.
$ac_objext
14773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14774 (eval $ac_compile) 2>conftest.er1
14776 grep -v '^ *+' conftest.er1
>conftest.err
14778 cat conftest.err
>&5
14779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780 (exit $ac_status); } &&
14781 { ac_try
='test -z "$ac_c_werror_flag"
14782 || test ! -s conftest.err'
14783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14784 (eval $ac_try) 2>&5
14786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14787 (exit $ac_status); }; } &&
14788 { ac_try
='test -s conftest.$ac_objext'
14789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14790 (eval $ac_try) 2>&5
14792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14793 (exit $ac_status); }; }; then
14796 cat >conftest.
$ac_ext <<_ACEOF
14799 cat confdefs.h
>>conftest.
$ac_ext
14800 cat >>conftest.
$ac_ext <<_ACEOF
14801 /* end confdefs.h. */
14802 $ac_includes_default
14806 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14813 rm -f conftest.
$ac_objext
14814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14815 (eval $ac_compile) 2>conftest.er1
14817 grep -v '^ *+' conftest.er1
>conftest.err
14819 cat conftest.err
>&5
14820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14821 (exit $ac_status); } &&
14822 { ac_try
='test -z "$ac_c_werror_flag"
14823 || test ! -s conftest.err'
14824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14825 (eval $ac_try) 2>&5
14827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14828 (exit $ac_status); }; } &&
14829 { ac_try
='test -s conftest.$ac_objext'
14830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14831 (eval $ac_try) 2>&5
14833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14834 (exit $ac_status); }; }; then
14835 ac_lo
=$ac_mid; break
14837 echo "$as_me: failed program was:" >&5
14838 sed 's/^/| /' conftest.
$ac_ext >&5
14840 ac_hi
=`expr '(' $ac_mid ')' - 1`
14841 if test $ac_mid -le $ac_hi; then
14845 ac_mid
=`expr 2 '*' $ac_mid`
14847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14850 echo "$as_me: failed program was:" >&5
14851 sed 's/^/| /' conftest.
$ac_ext >&5
14855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14858 # Binary search between lo and hi bounds.
14859 while test "x$ac_lo" != "x$ac_hi"; do
14860 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14861 cat >conftest.
$ac_ext <<_ACEOF
14864 cat confdefs.h
>>conftest.
$ac_ext
14865 cat >>conftest.
$ac_ext <<_ACEOF
14866 /* end confdefs.h. */
14867 $ac_includes_default
14871 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14878 rm -f conftest.
$ac_objext
14879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14880 (eval $ac_compile) 2>conftest.er1
14882 grep -v '^ *+' conftest.er1
>conftest.err
14884 cat conftest.err
>&5
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); } &&
14887 { ac_try
='test -z "$ac_c_werror_flag"
14888 || test ! -s conftest.err'
14889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14890 (eval $ac_try) 2>&5
14892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14893 (exit $ac_status); }; } &&
14894 { ac_try
='test -s conftest.$ac_objext'
14895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14896 (eval $ac_try) 2>&5
14898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14899 (exit $ac_status); }; }; then
14902 echo "$as_me: failed program was:" >&5
14903 sed 's/^/| /' conftest.
$ac_ext >&5
14905 ac_lo
=`expr '(' $ac_mid ')' + 1`
14907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14910 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14911 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14912 See \`config.log' for more details." >&5
14913 echo "$as_me: error: cannot compute sizeof (void *), 77
14914 See \`config.log' for more details." >&2;}
14915 { (exit 1); exit 1; }; } ;;
14918 if test "$cross_compiling" = yes; then
14919 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14920 See \`config.log' for more details." >&5
14921 echo "$as_me: error: cannot run test program while cross compiling
14922 See \`config.log' for more details." >&2;}
14923 { (exit 1); exit 1; }; }
14925 cat >conftest.
$ac_ext <<_ACEOF
14928 cat confdefs.h
>>conftest.
$ac_ext
14929 cat >>conftest.
$ac_ext <<_ACEOF
14930 /* end confdefs.h. */
14931 $ac_includes_default
14932 long longval () { return (long) (sizeof (void *)); }
14933 unsigned long ulongval () { return (long) (sizeof (void *)); }
14935 #include <stdlib.h>
14940 FILE *f = fopen ("conftest.val", "w");
14943 if (((long) (sizeof (void *))) < 0)
14945 long i = longval ();
14946 if (i != ((long) (sizeof (void *))))
14948 fprintf (f, "%ld\n", i);
14952 unsigned long i = ulongval ();
14953 if (i != ((long) (sizeof (void *))))
14955 fprintf (f, "%lu\n", i);
14957 exit (ferror (f) || fclose (f) != 0);
14963 rm -f conftest
$ac_exeext
14964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14965 (eval $ac_link) 2>&5
14967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14968 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14970 (eval $ac_try) 2>&5
14972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14973 (exit $ac_status); }; }; then
14974 ac_cv_sizeof_void_p
=`cat conftest.val`
14976 echo "$as_me: program exited with status $ac_status" >&5
14977 echo "$as_me: failed program was:" >&5
14978 sed 's/^/| /' conftest.
$ac_ext >&5
14980 ( exit $ac_status )
14981 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14982 See \`config.log' for more details." >&5
14983 echo "$as_me: error: cannot compute sizeof (void *), 77
14984 See \`config.log' for more details." >&2;}
14985 { (exit 1); exit 1; }; }
14987 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14992 ac_cv_sizeof_void_p
=0
14995 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14996 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14997 cat >>confdefs.h
<<_ACEOF
14998 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15003 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
15004 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
15005 if test "${ac_cv_c_bigendian+set}" = set; then
15006 echo $ECHO_N "(cached) $ECHO_C" >&6
15008 # See if sys/param.h defines the BYTE_ORDER macro.
15009 cat >conftest.
$ac_ext <<_ACEOF
15012 cat confdefs.h
>>conftest.
$ac_ext
15013 cat >>conftest.
$ac_ext <<_ACEOF
15014 /* end confdefs.h. */
15015 #include <sys/types.h>
15016 #include <sys/param.h>
15021 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
15022 bogus endian macros
15029 rm -f conftest.
$ac_objext
15030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15031 (eval $ac_compile) 2>conftest.er1
15033 grep -v '^ *+' conftest.er1
>conftest.err
15035 cat conftest.err
>&5
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); } &&
15038 { ac_try
='test -z "$ac_c_werror_flag"
15039 || test ! -s conftest.err'
15040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15041 (eval $ac_try) 2>&5
15043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15044 (exit $ac_status); }; } &&
15045 { ac_try
='test -s conftest.$ac_objext'
15046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15047 (eval $ac_try) 2>&5
15049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 (exit $ac_status); }; }; then
15051 # It does; now see whether it defined to BIG_ENDIAN or not.
15052 cat >conftest.
$ac_ext <<_ACEOF
15055 cat confdefs.h
>>conftest.
$ac_ext
15056 cat >>conftest.
$ac_ext <<_ACEOF
15057 /* end confdefs.h. */
15058 #include <sys/types.h>
15059 #include <sys/param.h>
15064 #if BYTE_ORDER != BIG_ENDIAN
15072 rm -f conftest.
$ac_objext
15073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15074 (eval $ac_compile) 2>conftest.er1
15076 grep -v '^ *+' conftest.er1
>conftest.err
15078 cat conftest.err
>&5
15079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15080 (exit $ac_status); } &&
15081 { ac_try
='test -z "$ac_c_werror_flag"
15082 || test ! -s conftest.err'
15083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15084 (eval $ac_try) 2>&5
15086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15087 (exit $ac_status); }; } &&
15088 { ac_try
='test -s conftest.$ac_objext'
15089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15090 (eval $ac_try) 2>&5
15092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15093 (exit $ac_status); }; }; then
15094 ac_cv_c_bigendian
=yes
15096 echo "$as_me: failed program was:" >&5
15097 sed 's/^/| /' conftest.
$ac_ext >&5
15099 ac_cv_c_bigendian
=no
15101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15103 echo "$as_me: failed program was:" >&5
15104 sed 's/^/| /' conftest.
$ac_ext >&5
15106 # It does not; compile a test program.
15107 if test "$cross_compiling" = yes; then
15108 # try to guess the endianness by grepping values into an object file
15109 ac_cv_c_bigendian
=unknown
15110 cat >conftest.
$ac_ext <<_ACEOF
15113 cat confdefs.h
>>conftest.
$ac_ext
15114 cat >>conftest.
$ac_ext <<_ACEOF
15115 /* end confdefs.h. */
15116 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15117 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15118 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
15119 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
15120 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
15121 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
15125 _ascii (); _ebcdic ();
15130 rm -f conftest.
$ac_objext
15131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15132 (eval $ac_compile) 2>conftest.er1
15134 grep -v '^ *+' conftest.er1
>conftest.err
15136 cat conftest.err
>&5
15137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15138 (exit $ac_status); } &&
15139 { ac_try
='test -z "$ac_c_werror_flag"
15140 || test ! -s conftest.err'
15141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15142 (eval $ac_try) 2>&5
15144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15145 (exit $ac_status); }; } &&
15146 { ac_try
='test -s conftest.$ac_objext'
15147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15148 (eval $ac_try) 2>&5
15150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15151 (exit $ac_status); }; }; then
15152 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
15153 ac_cv_c_bigendian
=yes
15155 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
15156 if test "$ac_cv_c_bigendian" = unknown
; then
15157 ac_cv_c_bigendian
=no
15159 # finding both strings is unlikely to happen, but who knows?
15160 ac_cv_c_bigendian
=unknown
15164 echo "$as_me: failed program was:" >&5
15165 sed 's/^/| /' conftest.
$ac_ext >&5
15168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15170 cat >conftest.
$ac_ext <<_ACEOF
15173 cat confdefs.h
>>conftest.
$ac_ext
15174 cat >>conftest.
$ac_ext <<_ACEOF
15175 /* end confdefs.h. */
15179 /* Are we little or big endian? From Harbison&Steele. */
15183 char c[sizeof (long)];
15186 exit (u.c[sizeof (long) - 1] == 1);
15189 rm -f conftest
$ac_exeext
15190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15191 (eval $ac_link) 2>&5
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15196 (eval $ac_try) 2>&5
15198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15199 (exit $ac_status); }; }; then
15200 ac_cv_c_bigendian
=no
15202 echo "$as_me: program exited with status $ac_status" >&5
15203 echo "$as_me: failed program was:" >&5
15204 sed 's/^/| /' conftest.
$ac_ext >&5
15206 ( exit $ac_status )
15207 ac_cv_c_bigendian
=yes
15209 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15214 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
15215 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
15216 case $ac_cv_c_bigendian in
15219 cat >>confdefs.h
<<\_ACEOF
15220 #define WORDS_BIGENDIAN 1
15226 { { echo "$as_me:$LINENO: error: unknown endianness
15227 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
15228 echo "$as_me: error: unknown endianness
15229 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
15230 { (exit 1); exit 1; }; } ;;
15238 if test -z "$ZLIBSPEC"; then
15239 # Use zlib from the GCC tree.
15240 ZINCS
='-I$(top_srcdir)/../zlib'
15241 ZLIBS
=..
/zlib
/libzgcj_convenience.la
15244 SYS_ZLIBS
="$ZLIBSPEC"
15257 if test "$NATIVE" = yes; then
15267 if test "$enable_shared" = yes; then
15268 ENABLE_SHARED_TRUE
=
15269 ENABLE_SHARED_FALSE
='#'
15271 ENABLE_SHARED_TRUE
='#'
15272 ENABLE_SHARED_FALSE
=
15277 if test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes; then
15278 NEEDS_DATA_START_TRUE
=
15279 NEEDS_DATA_START_FALSE
='#'
15281 NEEDS_DATA_START_TRUE
='#'
15282 NEEDS_DATA_START_FALSE
=
15287 # Process the option "--enable-version-specific-runtime-libs"
15288 # Calculate toolexeclibdir
15289 case ${version_specific_libs} in
15291 # Need the gcc compiler version to know where to install libraries
15292 # and header files if --enable-version-specific-runtime-libs option
15294 includedir
='$(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/include/'
15295 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
15296 toolexecmainlibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
15297 toolexeclibdir
=$toolexecmainlibdir
15300 if test -n "$with_cross_host" &&
15301 test x
"$with_cross_host" != x
"no"; then
15302 # Install a library built with a cross compiler in tooldir, not libdir.
15303 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
15304 toolexecmainlibdir
='$(toolexecdir)/lib'
15306 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
15307 toolexecmainlibdir
='$(libdir)'
15309 multi_os_directory
=`$CC -print-multi-os-directory`
15310 case $multi_os_directory in
15311 .
) toolexeclibdir
=$toolexecmainlibdir ;; # Avoid trailing /.
15312 *) toolexeclibdir
=$toolexecmainlibdir/$multi_os_directory ;;
15320 # Determine where the standard .db file and GNU Classpath JNI
15321 # libraries are found.
15322 multi_os_directory
=`$CC -print-multi-os-directory`
15323 case $multi_os_directory in
15325 dbexecdir
='$(libdir)/gcj-$(gcc_version)' # Avoid /.
15328 dbexecdir
='$(libdir)/'$multi_os_directory'/gcj-$(gcc_version)'
15333 # Determine gcj version number.
15334 gcjversion
=`$GCJ -v 2>&1 | sed -n 's/^.*version \([^ ]*\).*$/\1/p'`
15335 GCJVERSION
=$gcjversion
15338 cat >>confdefs.h
<<_ACEOF
15339 #define GCJVERSION "$GCJVERSION"
15344 cat >>confdefs.h
<<\_ACEOF
15345 #define JV_VERSION "1.5.0"
15349 cat >>confdefs.h
<<\_ACEOF
15350 #define JV_API_VERSION "1.5"
15355 case "${with_gxx_include_dir}" in
15357 { { echo "$as_me:$LINENO: error: --with-gxx-include-dir=[dir] requires a directory" >&5
15358 echo "$as_me: error: --with-gxx-include-dir=[dir] requires a directory" >&2;}
15359 { (exit 1); exit 1; }; }
15362 case "${enable_version_specific_runtime_libs}" in
15363 yes) gxx_include_dir
='$(libsubdir)/include/c++' ;;
15365 libstdcxx_incdir
='c++/$(gcc_version)'
15366 gxx_include_dir
='include/$(libstdcxx_incdir)'
15367 if test -n "$with_cross_host" &&
15368 test x
"$with_cross_host" != x
"no"; then
15369 gxx_include_dir
='${prefix}/${target_alias}/'"$gxx_include_dir"
15371 gxx_include_dir
='${prefix}/'"$gxx_include_dir"
15374 *) gxx_include_dir
=${with_gxx_include_dir} ;;
15380 # We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
15381 # On that system, sys/ioctl.h will not include sys/filio.h unless
15382 # BSD_COMP is defined; just including sys/filio.h is simpler.
15383 # We avoid AC_HEADER_DIRENT since we really only care about dirent.h
15384 # for now. If you change this, you also must update natFile.cc.
15408 for ac_header
in unistd.h bstring.h sys
/time.h sys
/types.h fcntl.h \
15409 sys
/ioctl.h sys
/filio.h sys
/stat.h sys
/select.h \
15410 sys
/socket.h netinet
/in.h arpa
/inet.h netdb.h net
/if.h \
15411 pwd.h sys
/config.h stdint.h langinfo.h locale.h \
15412 dirent.h sys
/rw_lock.h magic.h ifaddrs.h
15414 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15415 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15416 echo "$as_me:$LINENO: checking for $ac_header" >&5
15417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15419 echo $ECHO_N "(cached) $ECHO_C" >&6
15421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15422 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15424 # Is the header compilable?
15425 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15426 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15427 cat >conftest.
$ac_ext <<_ACEOF
15430 cat confdefs.h
>>conftest.
$ac_ext
15431 cat >>conftest.
$ac_ext <<_ACEOF
15432 /* end confdefs.h. */
15433 $ac_includes_default
15434 #include <$ac_header>
15436 rm -f conftest.
$ac_objext
15437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15438 (eval $ac_compile) 2>conftest.er1
15440 grep -v '^ *+' conftest.er1
>conftest.err
15442 cat conftest.err
>&5
15443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15444 (exit $ac_status); } &&
15445 { ac_try
='test -z "$ac_c_werror_flag"
15446 || test ! -s conftest.err'
15447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15448 (eval $ac_try) 2>&5
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); }; } &&
15452 { ac_try
='test -s conftest.$ac_objext'
15453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15454 (eval $ac_try) 2>&5
15456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15457 (exit $ac_status); }; }; then
15458 ac_header_compiler
=yes
15460 echo "$as_me: failed program was:" >&5
15461 sed 's/^/| /' conftest.
$ac_ext >&5
15463 ac_header_compiler
=no
15465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15466 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15467 echo "${ECHO_T}$ac_header_compiler" >&6
15469 # Is the header present?
15470 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15471 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15472 cat >conftest.
$ac_ext <<_ACEOF
15475 cat confdefs.h
>>conftest.
$ac_ext
15476 cat >>conftest.
$ac_ext <<_ACEOF
15477 /* end confdefs.h. */
15478 #include <$ac_header>
15480 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15481 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15483 grep -v '^ *+' conftest.er1
>conftest.err
15485 cat conftest.err
>&5
15486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15487 (exit $ac_status); } >/dev
/null
; then
15488 if test -s conftest.err
; then
15489 ac_cpp_err
=$ac_c_preproc_warn_flag
15490 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15497 if test -z "$ac_cpp_err"; then
15498 ac_header_preproc
=yes
15500 echo "$as_me: failed program was:" >&5
15501 sed 's/^/| /' conftest.
$ac_ext >&5
15503 ac_header_preproc
=no
15505 rm -f conftest.err conftest.
$ac_ext
15506 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15507 echo "${ECHO_T}$ac_header_preproc" >&6
15509 # So? What about this header?
15510 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15512 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15513 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15514 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15515 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15516 ac_header_preproc
=yes
15519 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15520 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15521 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15522 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15523 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15524 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15525 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15526 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15527 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15528 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15529 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15530 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15533 ## ---------------------------------- ##
15534 ## Report this to the libjava lists. ##
15535 ## ---------------------------------- ##
15538 sed "s/^/$as_me: WARNING: /" >&2
15541 echo "$as_me:$LINENO: checking for $ac_header" >&5
15542 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15544 echo $ECHO_N "(cached) $ECHO_C" >&6
15546 eval "$as_ac_Header=\$ac_header_preproc"
15548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15549 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15552 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15553 cat >>confdefs.h
<<_ACEOF
15554 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15562 for ac_header
in inttypes.h
15564 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15565 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15566 echo "$as_me:$LINENO: checking for $ac_header" >&5
15567 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15568 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15569 echo $ECHO_N "(cached) $ECHO_C" >&6
15571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15572 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15574 # Is the header compilable?
15575 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15576 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15577 cat >conftest.
$ac_ext <<_ACEOF
15580 cat confdefs.h
>>conftest.
$ac_ext
15581 cat >>conftest.
$ac_ext <<_ACEOF
15582 /* end confdefs.h. */
15583 $ac_includes_default
15584 #include <$ac_header>
15586 rm -f conftest.
$ac_objext
15587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15588 (eval $ac_compile) 2>conftest.er1
15590 grep -v '^ *+' conftest.er1
>conftest.err
15592 cat conftest.err
>&5
15593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15594 (exit $ac_status); } &&
15595 { ac_try
='test -z "$ac_c_werror_flag"
15596 || test ! -s conftest.err'
15597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15598 (eval $ac_try) 2>&5
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); }; } &&
15602 { ac_try
='test -s conftest.$ac_objext'
15603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15604 (eval $ac_try) 2>&5
15606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15607 (exit $ac_status); }; }; then
15608 ac_header_compiler
=yes
15610 echo "$as_me: failed program was:" >&5
15611 sed 's/^/| /' conftest.
$ac_ext >&5
15613 ac_header_compiler
=no
15615 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15616 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15617 echo "${ECHO_T}$ac_header_compiler" >&6
15619 # Is the header present?
15620 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15621 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15622 cat >conftest.
$ac_ext <<_ACEOF
15625 cat confdefs.h
>>conftest.
$ac_ext
15626 cat >>conftest.
$ac_ext <<_ACEOF
15627 /* end confdefs.h. */
15628 #include <$ac_header>
15630 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15631 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15633 grep -v '^ *+' conftest.er1
>conftest.err
15635 cat conftest.err
>&5
15636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15637 (exit $ac_status); } >/dev
/null
; then
15638 if test -s conftest.err
; then
15639 ac_cpp_err
=$ac_c_preproc_warn_flag
15640 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15647 if test -z "$ac_cpp_err"; then
15648 ac_header_preproc
=yes
15650 echo "$as_me: failed program was:" >&5
15651 sed 's/^/| /' conftest.
$ac_ext >&5
15653 ac_header_preproc
=no
15655 rm -f conftest.err conftest.
$ac_ext
15656 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15657 echo "${ECHO_T}$ac_header_preproc" >&6
15659 # So? What about this header?
15660 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15662 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15663 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15664 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15665 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15666 ac_header_preproc
=yes
15669 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15670 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15671 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15672 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15673 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15674 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15675 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15676 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15677 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15678 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15679 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15680 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15683 ## ---------------------------------- ##
15684 ## Report this to the libjava lists. ##
15685 ## ---------------------------------- ##
15688 sed "s/^/$as_me: WARNING: /" >&2
15691 echo "$as_me:$LINENO: checking for $ac_header" >&5
15692 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15694 echo $ECHO_N "(cached) $ECHO_C" >&6
15696 eval "$as_ac_Header=\$ac_header_preproc"
15698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15699 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15702 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15703 cat >>confdefs.h
<<_ACEOF
15704 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15708 cat >>confdefs.h
<<\_ACEOF
15709 #define HAVE_INTTYPES_H 1
15713 cat >>confdefs.h
<<\_ACEOF
15714 #define JV_HAVE_INTTYPES_H 1
15722 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
15723 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
15724 if test "${ac_cv_header_sys_wait_h+set}" = set; then
15725 echo $ECHO_N "(cached) $ECHO_C" >&6
15727 cat >conftest.
$ac_ext <<_ACEOF
15730 cat confdefs.h
>>conftest.
$ac_ext
15731 cat >>conftest.
$ac_ext <<_ACEOF
15732 /* end confdefs.h. */
15733 #include <sys/types.h>
15734 #include <sys/wait.h>
15735 #ifndef WEXITSTATUS
15736 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
15739 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
15747 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
15752 rm -f conftest.
$ac_objext
15753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15754 (eval $ac_compile) 2>conftest.er1
15756 grep -v '^ *+' conftest.er1
>conftest.err
15758 cat conftest.err
>&5
15759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15760 (exit $ac_status); } &&
15761 { ac_try
='test -z "$ac_c_werror_flag"
15762 || test ! -s conftest.err'
15763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15764 (eval $ac_try) 2>&5
15766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15767 (exit $ac_status); }; } &&
15768 { ac_try
='test -s conftest.$ac_objext'
15769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15770 (eval $ac_try) 2>&5
15772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15773 (exit $ac_status); }; }; then
15774 ac_cv_header_sys_wait_h
=yes
15776 echo "$as_me: failed program was:" >&5
15777 sed 's/^/| /' conftest.
$ac_ext >&5
15779 ac_cv_header_sys_wait_h
=no
15781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15783 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
15784 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
15785 if test $ac_cv_header_sys_wait_h = yes; then
15787 cat >>confdefs.h
<<\_ACEOF
15788 #define HAVE_SYS_WAIT_H 1
15794 echo "$as_me:$LINENO: checking for ssize_t" >&5
15795 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
15796 if test "${ac_cv_type_ssize_t+set}" = set; then
15797 echo $ECHO_N "(cached) $ECHO_C" >&6
15799 cat >conftest.
$ac_ext <<_ACEOF
15802 cat confdefs.h
>>conftest.
$ac_ext
15803 cat >>conftest.
$ac_ext <<_ACEOF
15804 /* end confdefs.h. */
15805 $ac_includes_default
15811 if (sizeof (ssize_t))
15817 rm -f conftest.
$ac_objext
15818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15819 (eval $ac_compile) 2>conftest.er1
15821 grep -v '^ *+' conftest.er1
>conftest.err
15823 cat conftest.err
>&5
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); } &&
15826 { ac_try
='test -z "$ac_c_werror_flag"
15827 || test ! -s conftest.err'
15828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15829 (eval $ac_try) 2>&5
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); }; } &&
15833 { ac_try
='test -s conftest.$ac_objext'
15834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15835 (eval $ac_try) 2>&5
15837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838 (exit $ac_status); }; }; then
15839 ac_cv_type_ssize_t
=yes
15841 echo "$as_me: failed program was:" >&5
15842 sed 's/^/| /' conftest.
$ac_ext >&5
15844 ac_cv_type_ssize_t
=no
15846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15848 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
15849 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
15850 if test $ac_cv_type_ssize_t = yes; then
15854 cat >>confdefs.h
<<_ACEOF
15855 #define ssize_t int
15861 echo "$as_me:$LINENO: checking for in_addr_t" >&5
15862 echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6
15863 cat >conftest.
$ac_ext <<_ACEOF
15866 cat confdefs.h
>>conftest.
$ac_ext
15867 cat >>conftest.
$ac_ext <<_ACEOF
15868 /* end confdefs.h. */
15869 #include <sys/types.h>
15871 #include <stdlib.h>
15872 #include <stddef.h>
15874 #if HAVE_NETINET_IN_H
15875 #include <netinet/in.h>
15885 rm -f conftest.
$ac_objext
15886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15887 (eval $ac_compile) 2>conftest.er1
15889 grep -v '^ *+' conftest.er1
>conftest.err
15891 cat conftest.err
>&5
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); } &&
15894 { ac_try
='test -z "$ac_c_werror_flag"
15895 || test ! -s conftest.err'
15896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15897 (eval $ac_try) 2>&5
15899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15900 (exit $ac_status); }; } &&
15901 { ac_try
='test -s conftest.$ac_objext'
15902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15903 (eval $ac_try) 2>&5
15905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15906 (exit $ac_status); }; }; then
15908 cat >>confdefs.h
<<\_ACEOF
15909 #define HAVE_IN_ADDR_T 1
15912 echo "$as_me:$LINENO: result: yes" >&5
15913 echo "${ECHO_T}yes" >&6
15915 echo "$as_me: failed program was:" >&5
15916 sed 's/^/| /' conftest.
$ac_ext >&5
15918 echo "$as_me:$LINENO: result: no" >&5
15919 echo "${ECHO_T}no" >&6
15921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15923 echo "$as_me:$LINENO: checking whether struct ip_mreq is in netinet/in.h" >&5
15924 echo $ECHO_N "checking whether struct ip_mreq is in netinet/in.h... $ECHO_C" >&6
15925 cat >conftest.
$ac_ext <<_ACEOF
15928 cat confdefs.h
>>conftest.
$ac_ext
15929 cat >>conftest.
$ac_ext <<_ACEOF
15930 /* end confdefs.h. */
15931 #include <netinet/in.h>
15935 struct ip_mreq mreq;
15940 rm -f conftest.
$ac_objext
15941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15942 (eval $ac_compile) 2>conftest.er1
15944 grep -v '^ *+' conftest.er1
>conftest.err
15946 cat conftest.err
>&5
15947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15948 (exit $ac_status); } &&
15949 { ac_try
='test -z "$ac_c_werror_flag"
15950 || test ! -s conftest.err'
15951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15952 (eval $ac_try) 2>&5
15954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15955 (exit $ac_status); }; } &&
15956 { ac_try
='test -s conftest.$ac_objext'
15957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15958 (eval $ac_try) 2>&5
15960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15961 (exit $ac_status); }; }; then
15963 cat >>confdefs.h
<<\_ACEOF
15964 #define HAVE_STRUCT_IP_MREQ 1
15967 echo "$as_me:$LINENO: result: yes" >&5
15968 echo "${ECHO_T}yes" >&6
15970 echo "$as_me: failed program was:" >&5
15971 sed 's/^/| /' conftest.
$ac_ext >&5
15973 echo "$as_me:$LINENO: result: no" >&5
15974 echo "${ECHO_T}no" >&6
15976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15978 echo "$as_me:$LINENO: checking whether struct ipv6_mreq is in netinet/in.h" >&5
15979 echo $ECHO_N "checking whether struct ipv6_mreq is in netinet/in.h... $ECHO_C" >&6
15980 cat >conftest.
$ac_ext <<_ACEOF
15983 cat confdefs.h
>>conftest.
$ac_ext
15984 cat >>conftest.
$ac_ext <<_ACEOF
15985 /* end confdefs.h. */
15986 #include <netinet/in.h>
15990 struct ipv6_mreq mreq6;
15995 rm -f conftest.
$ac_objext
15996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15997 (eval $ac_compile) 2>conftest.er1
15999 grep -v '^ *+' conftest.er1
>conftest.err
16001 cat conftest.err
>&5
16002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003 (exit $ac_status); } &&
16004 { ac_try
='test -z "$ac_c_werror_flag"
16005 || test ! -s conftest.err'
16006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16007 (eval $ac_try) 2>&5
16009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16010 (exit $ac_status); }; } &&
16011 { ac_try
='test -s conftest.$ac_objext'
16012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16013 (eval $ac_try) 2>&5
16015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16016 (exit $ac_status); }; }; then
16018 cat >>confdefs.h
<<\_ACEOF
16019 #define HAVE_STRUCT_IPV6_MREQ 1
16022 echo "$as_me:$LINENO: result: yes" >&5
16023 echo "${ECHO_T}yes" >&6
16025 echo "$as_me: failed program was:" >&5
16026 sed 's/^/| /' conftest.
$ac_ext >&5
16028 echo "$as_me:$LINENO: result: no" >&5
16029 echo "${ECHO_T}no" >&6
16031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16033 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
16034 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
16035 cat >conftest.
$ac_ext <<_ACEOF
16038 cat confdefs.h
>>conftest.
$ac_ext
16039 cat >>conftest.
$ac_ext <<_ACEOF
16040 /* end confdefs.h. */
16041 #include <netinet/in.h>
16045 struct sockaddr_in6 addr6;
16050 rm -f conftest.
$ac_objext
16051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16052 (eval $ac_compile) 2>conftest.er1
16054 grep -v '^ *+' conftest.er1
>conftest.err
16056 cat conftest.err
>&5
16057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16058 (exit $ac_status); } &&
16059 { ac_try
='test -z "$ac_c_werror_flag"
16060 || test ! -s conftest.err'
16061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16062 (eval $ac_try) 2>&5
16064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16065 (exit $ac_status); }; } &&
16066 { ac_try
='test -s conftest.$ac_objext'
16067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16068 (eval $ac_try) 2>&5
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); }; }; then
16073 cat >>confdefs.h
<<\_ACEOF
16074 #define HAVE_INET6 1
16077 echo "$as_me:$LINENO: result: yes" >&5
16078 echo "${ECHO_T}yes" >&6
16080 echo "$as_me: failed program was:" >&5
16081 sed 's/^/| /' conftest.
$ac_ext >&5
16083 echo "$as_me:$LINENO: result: no" >&5
16084 echo "${ECHO_T}no" >&6
16086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16088 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
16089 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
16090 cat >conftest.
$ac_ext <<_ACEOF
16093 cat confdefs.h
>>conftest.
$ac_ext
16094 cat >>conftest.
$ac_ext <<_ACEOF
16095 /* end confdefs.h. */
16096 #define _POSIX_PII_SOCKET
16097 #include <sys/types.h>
16098 #include <sys/socket.h>
16107 rm -f conftest.
$ac_objext
16108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16109 (eval $ac_compile) 2>conftest.er1
16111 grep -v '^ *+' conftest.er1
>conftest.err
16113 cat conftest.err
>&5
16114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16115 (exit $ac_status); } &&
16116 { ac_try
='test -z "$ac_c_werror_flag"
16117 || test ! -s conftest.err'
16118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16119 (eval $ac_try) 2>&5
16121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16122 (exit $ac_status); }; } &&
16123 { ac_try
='test -s conftest.$ac_objext'
16124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16125 (eval $ac_try) 2>&5
16127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16128 (exit $ac_status); }; }; then
16130 cat >>confdefs.h
<<\_ACEOF
16131 #define HAVE_SOCKLEN_T 1
16134 echo "$as_me:$LINENO: result: yes" >&5
16135 echo "${ECHO_T}yes" >&6
16137 echo "$as_me: failed program was:" >&5
16138 sed 's/^/| /' conftest.
$ac_ext >&5
16140 echo "$as_me:$LINENO: result: no" >&5
16141 echo "${ECHO_T}no" >&6
16143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16145 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
16146 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
16147 cat >conftest.
$ac_ext <<_ACEOF
16150 cat confdefs.h
>>conftest.
$ac_ext
16151 cat >>conftest.
$ac_ext <<_ACEOF
16152 /* end confdefs.h. */
16157 struct tm tim; tim.tm_gmtoff = 0;
16162 rm -f conftest.
$ac_objext
16163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16164 (eval $ac_compile) 2>conftest.er1
16166 grep -v '^ *+' conftest.er1
>conftest.err
16168 cat conftest.err
>&5
16169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170 (exit $ac_status); } &&
16171 { ac_try
='test -z "$ac_c_werror_flag"
16172 || test ! -s conftest.err'
16173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16174 (eval $ac_try) 2>&5
16176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16177 (exit $ac_status); }; } &&
16178 { ac_try
='test -s conftest.$ac_objext'
16179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16180 (eval $ac_try) 2>&5
16182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16183 (exit $ac_status); }; }; then
16185 cat >>confdefs.h
<<\_ACEOF
16186 #define STRUCT_TM_HAS_GMTOFF 1
16189 echo "$as_me:$LINENO: result: yes" >&5
16190 echo "${ECHO_T}yes" >&6
16192 echo "$as_me: failed program was:" >&5
16193 sed 's/^/| /' conftest.
$ac_ext >&5
16195 echo "$as_me:$LINENO: result: no" >&5
16196 echo "${ECHO_T}no" >&6
16197 echo "$as_me:$LINENO: checking for global timezone variable" >&5
16198 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
16199 cat >conftest.
$ac_ext <<_ACEOF
16202 cat confdefs.h
>>conftest.
$ac_ext
16203 cat >>conftest.
$ac_ext <<_ACEOF
16204 /* end confdefs.h. */
16209 void i(){long z2 = 2*timezone;}
16214 rm -f conftest.
$ac_objext
16215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16216 (eval $ac_compile) 2>conftest.er1
16218 grep -v '^ *+' conftest.er1
>conftest.err
16220 cat conftest.err
>&5
16221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); } &&
16223 { ac_try
='test -z "$ac_c_werror_flag"
16224 || test ! -s conftest.err'
16225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16226 (eval $ac_try) 2>&5
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229 (exit $ac_status); }; } &&
16230 { ac_try
='test -s conftest.$ac_objext'
16231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16232 (eval $ac_try) 2>&5
16234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16235 (exit $ac_status); }; }; then
16237 cat >>confdefs.h
<<\_ACEOF
16238 #define HAVE_TIMEZONE 1
16241 echo "$as_me:$LINENO: result: yes" >&5
16242 echo "${ECHO_T}yes" >&6
16244 echo "$as_me: failed program was:" >&5
16245 sed 's/^/| /' conftest.
$ac_ext >&5
16247 echo "$as_me:$LINENO: result: no" >&5
16248 echo "${ECHO_T}no" >&6
16249 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
16250 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
16251 cat >conftest.
$ac_ext <<_ACEOF
16254 cat confdefs.h
>>conftest.
$ac_ext
16255 cat >>conftest.
$ac_ext <<_ACEOF
16256 /* end confdefs.h. */
16261 long z2 = _timezone;
16266 rm -f conftest.
$ac_objext
16267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16268 (eval $ac_compile) 2>conftest.er1
16270 grep -v '^ *+' conftest.er1
>conftest.err
16272 cat conftest.err
>&5
16273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16274 (exit $ac_status); } &&
16275 { ac_try
='test -z "$ac_c_werror_flag"
16276 || test ! -s conftest.err'
16277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16278 (eval $ac_try) 2>&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); }; } &&
16282 { ac_try
='test -s conftest.$ac_objext'
16283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16284 (eval $ac_try) 2>&5
16286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16287 (exit $ac_status); }; }; then
16289 cat >>confdefs.h
<<\_ACEOF
16290 #define HAVE_UNDERSCORE_TIMEZONE 1
16293 echo "$as_me:$LINENO: result: yes" >&5
16294 echo "${ECHO_T}yes" >&6
16296 echo "$as_me: failed program was:" >&5
16297 sed 's/^/| /' conftest.
$ac_ext >&5
16299 echo "$as_me:$LINENO: result: no" >&5
16300 echo "${ECHO_T}no" >&6
16302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16308 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
16309 # for constant arguments. Useless!
16310 echo "$as_me:$LINENO: checking for working alloca.h" >&5
16311 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
16312 if test "${ac_cv_working_alloca_h+set}" = set; then
16313 echo $ECHO_N "(cached) $ECHO_C" >&6
16315 if test x
$gcc_no_link = xyes
; then
16316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16318 { (exit 1); exit 1; }; }
16320 cat >conftest.
$ac_ext <<_ACEOF
16323 cat confdefs.h
>>conftest.
$ac_ext
16324 cat >>conftest.
$ac_ext <<_ACEOF
16325 /* end confdefs.h. */
16326 #include <alloca.h>
16330 char *p = (char *) alloca (2 * sizeof (int));
16335 rm -f conftest.
$ac_objext conftest
$ac_exeext
16336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16337 (eval $ac_link) 2>conftest.er1
16339 grep -v '^ *+' conftest.er1
>conftest.err
16341 cat conftest.err
>&5
16342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16343 (exit $ac_status); } &&
16344 { ac_try
='test -z "$ac_c_werror_flag"
16345 || test ! -s conftest.err'
16346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16347 (eval $ac_try) 2>&5
16349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16350 (exit $ac_status); }; } &&
16351 { ac_try
='test -s conftest$ac_exeext'
16352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16353 (eval $ac_try) 2>&5
16355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356 (exit $ac_status); }; }; then
16357 ac_cv_working_alloca_h
=yes
16359 echo "$as_me: failed program was:" >&5
16360 sed 's/^/| /' conftest.
$ac_ext >&5
16362 ac_cv_working_alloca_h
=no
16364 rm -f conftest.err conftest.
$ac_objext \
16365 conftest
$ac_exeext conftest.
$ac_ext
16367 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
16368 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
16369 if test $ac_cv_working_alloca_h = yes; then
16371 cat >>confdefs.h
<<\_ACEOF
16372 #define HAVE_ALLOCA_H 1
16377 echo "$as_me:$LINENO: checking for alloca" >&5
16378 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
16379 if test "${ac_cv_func_alloca_works+set}" = set; then
16380 echo $ECHO_N "(cached) $ECHO_C" >&6
16382 if test x
$gcc_no_link = xyes
; then
16383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16385 { (exit 1); exit 1; }; }
16387 cat >conftest.
$ac_ext <<_ACEOF
16390 cat confdefs.h
>>conftest.
$ac_ext
16391 cat >>conftest.
$ac_ext <<_ACEOF
16392 /* end confdefs.h. */
16394 # define alloca __builtin_alloca
16397 # include <malloc.h>
16398 # define alloca _alloca
16401 # include <alloca.h>
16406 # ifndef alloca /* predefined by HP cc +Olibcalls */
16417 char *p = (char *) alloca (1);
16422 rm -f conftest.
$ac_objext conftest
$ac_exeext
16423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16424 (eval $ac_link) 2>conftest.er1
16426 grep -v '^ *+' conftest.er1
>conftest.err
16428 cat conftest.err
>&5
16429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430 (exit $ac_status); } &&
16431 { ac_try
='test -z "$ac_c_werror_flag"
16432 || test ! -s conftest.err'
16433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16434 (eval $ac_try) 2>&5
16436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16437 (exit $ac_status); }; } &&
16438 { ac_try
='test -s conftest$ac_exeext'
16439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16440 (eval $ac_try) 2>&5
16442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16443 (exit $ac_status); }; }; then
16444 ac_cv_func_alloca_works
=yes
16446 echo "$as_me: failed program was:" >&5
16447 sed 's/^/| /' conftest.
$ac_ext >&5
16449 ac_cv_func_alloca_works
=no
16451 rm -f conftest.err conftest.
$ac_objext \
16452 conftest
$ac_exeext conftest.
$ac_ext
16454 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
16455 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
16457 if test $ac_cv_func_alloca_works = yes; then
16459 cat >>confdefs.h
<<\_ACEOF
16460 #define HAVE_ALLOCA 1
16464 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
16465 # that cause trouble. Some versions do not even contain alloca or
16466 # contain a buggy version. If you still want to use their alloca,
16467 # use ar to extract alloca.o from them instead of compiling alloca.c.
16469 ALLOCA
=alloca.
$ac_objext
16471 cat >>confdefs.h
<<\_ACEOF
16476 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
16477 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
16478 if test "${ac_cv_os_cray+set}" = set; then
16479 echo $ECHO_N "(cached) $ECHO_C" >&6
16481 cat >conftest.
$ac_ext <<_ACEOF
16484 cat confdefs.h
>>conftest.
$ac_ext
16485 cat >>conftest.
$ac_ext <<_ACEOF
16486 /* end confdefs.h. */
16487 #if defined(CRAY) && ! defined(CRAY2)
16494 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16495 $EGREP "webecray" >/dev
/null
2>&1; then
16503 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
16504 echo "${ECHO_T}$ac_cv_os_cray" >&6
16505 if test $ac_cv_os_cray = yes; then
16506 for ac_func
in _getb67 GETB67 getb67
; do
16507 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16508 echo "$as_me:$LINENO: checking for $ac_func" >&5
16509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16510 if eval "test \"\${$as_ac_var+set}\" = set"; then
16511 echo $ECHO_N "(cached) $ECHO_C" >&6
16513 if test x
$gcc_no_link = xyes
; then
16514 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16516 { (exit 1); exit 1; }; }
16518 cat >conftest.
$ac_ext <<_ACEOF
16521 cat confdefs.h
>>conftest.
$ac_ext
16522 cat >>conftest.
$ac_ext <<_ACEOF
16523 /* end confdefs.h. */
16524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16526 #define $ac_func innocuous_$ac_func
16528 /* System header to define __stub macros and hopefully few prototypes,
16529 which can conflict with char $ac_func (); below.
16530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16531 <limits.h> exists even on freestanding compilers. */
16534 # include <limits.h>
16536 # include <assert.h>
16541 /* Override any gcc2 internal prototype to avoid an error. */
16546 /* We use char because int might match the return type of a gcc2
16547 builtin and then its argument prototype would still apply. */
16549 /* The GNU C library defines this for functions which it implements
16550 to always fail with ENOSYS. Some functions are actually named
16551 something starting with __ and the normal name is an alias. */
16552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16555 char (*f) () = $ac_func;
16564 return f != $ac_func;
16569 rm -f conftest.
$ac_objext conftest
$ac_exeext
16570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16571 (eval $ac_link) 2>conftest.er1
16573 grep -v '^ *+' conftest.er1
>conftest.err
16575 cat conftest.err
>&5
16576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16577 (exit $ac_status); } &&
16578 { ac_try
='test -z "$ac_c_werror_flag"
16579 || test ! -s conftest.err'
16580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16581 (eval $ac_try) 2>&5
16583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16584 (exit $ac_status); }; } &&
16585 { ac_try
='test -s conftest$ac_exeext'
16586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16587 (eval $ac_try) 2>&5
16589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16590 (exit $ac_status); }; }; then
16591 eval "$as_ac_var=yes"
16593 echo "$as_me: failed program was:" >&5
16594 sed 's/^/| /' conftest.
$ac_ext >&5
16596 eval "$as_ac_var=no"
16598 rm -f conftest.err conftest.
$ac_objext \
16599 conftest
$ac_exeext conftest.
$ac_ext
16601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16603 if test `eval echo '${'$as_ac_var'}'` = yes; then
16605 cat >>confdefs.h
<<_ACEOF
16606 #define CRAY_STACKSEG_END $ac_func
16615 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
16616 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
16617 if test "${ac_cv_c_stack_direction+set}" = set; then
16618 echo $ECHO_N "(cached) $ECHO_C" >&6
16620 if test "$cross_compiling" = yes; then
16621 ac_cv_c_stack_direction
=0
16623 cat >conftest.
$ac_ext <<_ACEOF
16626 cat confdefs.h
>>conftest.
$ac_ext
16627 cat >>conftest.
$ac_ext <<_ACEOF
16628 /* end confdefs.h. */
16630 find_stack_direction ()
16632 static char *addr = 0;
16637 return find_stack_direction ();
16640 return (&dummy > addr) ? 1 : -1;
16646 exit (find_stack_direction () < 0);
16649 rm -f conftest
$ac_exeext
16650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16651 (eval $ac_link) 2>&5
16653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16654 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16656 (eval $ac_try) 2>&5
16658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16659 (exit $ac_status); }; }; then
16660 ac_cv_c_stack_direction
=1
16662 echo "$as_me: program exited with status $ac_status" >&5
16663 echo "$as_me: failed program was:" >&5
16664 sed 's/^/| /' conftest.
$ac_ext >&5
16666 ( exit $ac_status )
16667 ac_cv_c_stack_direction
=-1
16669 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16672 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
16673 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
16675 cat >>confdefs.h
<<_ACEOF
16676 #define STACK_DIRECTION $ac_cv_c_stack_direction
16683 for ac_prog
in perl
16685 # Extract the first word of "$ac_prog", so it can be a program name with args.
16686 set dummy
$ac_prog; ac_word
=$2
16687 echo "$as_me:$LINENO: checking for $ac_word" >&5
16688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16689 if test "${ac_cv_prog_PERL+set}" = set; then
16690 echo $ECHO_N "(cached) $ECHO_C" >&6
16692 if test -n "$PERL"; then
16693 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
16695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16696 for as_dir
in $PATH
16699 test -z "$as_dir" && as_dir
=.
16700 for ac_exec_ext
in '' $ac_executable_extensions; do
16701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16702 ac_cv_prog_PERL
="$ac_prog"
16703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16711 PERL
=$ac_cv_prog_PERL
16712 if test -n "$PERL"; then
16713 echo "$as_me:$LINENO: result: $PERL" >&5
16714 echo "${ECHO_T}$PERL" >&6
16716 echo "$as_me:$LINENO: result: no" >&5
16717 echo "${ECHO_T}no" >&6
16720 test -n "$PERL" && break
16722 test -n "$PERL" || PERL
="false"
16726 SIGNAL_HANDLER_AUX
=
16730 SIGNAL_HANDLER
=include
/i386-signal.h
16732 sparc
*-sun-solaris*)
16733 SIGNAL_HANDLER
=include
/sparc-signal.h
16736 # SYSDEP_SOURCES=sysdep/ia64.c
16737 # test -d sysdep || mkdir sysdep
16740 SIGNAL_HANDLER
=include
/pa-signal.h
16743 SIGNAL_HANDLER
=include
/hppa-signal.h
16746 SIGNAL_HANDLER
=include
/dwarf2-signal.h
16749 SIGNAL_HANDLER
=include
/powerpc-signal.h
16752 SIGNAL_HANDLER
=include
/dwarf2-signal.h
16755 SIGNAL_HANDLER
=include
/s390-signal.h
16758 SIGNAL_HANDLER
=include
/x86_64-signal.h
16759 SIGNAL_HANDLER_AUX
=include
/i386-signal.h
16762 SIGNAL_HANDLER
=include
/dwarf2-signal.h
16765 SIGNAL_HANDLER
=include
/sh-signal.h
16768 SIGNAL_HANDLER
=include
/win32-signal.h
16771 SIGNAL_HANDLER
=include
/mips-signal.h
16773 powerpc
*-*-darwin*)
16774 SIGNAL_HANDLER
=include
/darwin-signal.h
16777 SIGNAL_HANDLER
=include
/default-signal.h
16781 # If we're using sjlj exceptions, forget what we just learned.
16782 if test "$enable_sjlj_exceptions" = yes; then
16783 SIGNAL_HANDLER
=include
/default-signal.h
16784 SIGNAL_HANDLER_AUX
=
16789 if test -z "$SIGNAL_HANDLER_AUX"; then
16790 SIGNAL_HANDLER_AUX
=$SIGNAL_HANDLER
16793 ac_config_links
="$ac_config_links include/java-signal.h:$SIGNAL_HANDLER include/java-signal-aux.h:$SIGNAL_HANDLER_AUX"
16796 if test "${multilib}" = "yes"; then
16797 multilib_arg
="--enable-multilib"
16802 # See if we support thread-local storage.
16804 # Check whether --enable-tls or --disable-tls was given.
16805 if test "${enable_tls+set}" = set; then
16806 enableval
="$enable_tls"
16808 case "$enableval" in
16810 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
16811 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
16812 { (exit 1); exit 1; }; } ;;
16819 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
16820 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
16821 if test "${have_tls+set}" = set; then
16822 echo $ECHO_N "(cached) $ECHO_C" >&6
16825 if test "$cross_compiling" = yes; then
16826 if test x
$gcc_no_link = xyes
; then
16827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16829 { (exit 1); exit 1; }; }
16831 cat >conftest.
$ac_ext <<_ACEOF
16832 __thread int a; int b; int main() { return a = b; }
16834 rm -f conftest.
$ac_objext conftest
$ac_exeext
16835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16836 (eval $ac_link) 2>conftest.er1
16838 grep -v '^ *+' conftest.er1
>conftest.err
16840 cat conftest.err
>&5
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); } &&
16843 { ac_try
='test -z "$ac_c_werror_flag"
16844 || test ! -s conftest.err'
16845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16846 (eval $ac_try) 2>&5
16848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849 (exit $ac_status); }; } &&
16850 { ac_try
='test -s conftest$ac_exeext'
16851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16852 (eval $ac_try) 2>&5
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); }; }; then
16858 echo "$as_me: failed program was:" >&5
16859 sed 's/^/| /' conftest.
$ac_ext >&5
16863 rm -f conftest.err conftest.
$ac_objext \
16864 conftest
$ac_exeext conftest.
$ac_ext
16867 cat >conftest.
$ac_ext <<_ACEOF
16868 __thread int a; int b; int main() { return a = b; }
16870 rm -f conftest
$ac_exeext
16871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16872 (eval $ac_link) 2>&5
16874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16875 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16877 (eval $ac_try) 2>&5
16879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16880 (exit $ac_status); }; }; then
16881 save_LDFLAGS
="$LDFLAGS"
16882 LDFLAGS
="-static $LDFLAGS"
16883 if test x
$gcc_no_link = xyes
; then
16884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16886 { (exit 1); exit 1; }; }
16888 cat >conftest.
$ac_ext <<_ACEOF
16889 int main() { return 0; }
16891 rm -f conftest.
$ac_objext conftest
$ac_exeext
16892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16893 (eval $ac_link) 2>conftest.er1
16895 grep -v '^ *+' conftest.er1
>conftest.err
16897 cat conftest.err
>&5
16898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899 (exit $ac_status); } &&
16900 { ac_try
='test -z "$ac_c_werror_flag"
16901 || test ! -s conftest.err'
16902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16903 (eval $ac_try) 2>&5
16905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16906 (exit $ac_status); }; } &&
16907 { ac_try
='test -s conftest$ac_exeext'
16908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16909 (eval $ac_try) 2>&5
16911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16912 (exit $ac_status); }; }; then
16913 if test "$cross_compiling" = yes; then
16914 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16915 See \`config.log' for more details." >&5
16916 echo "$as_me: error: cannot run test program while cross compiling
16917 See \`config.log' for more details." >&2;}
16918 { (exit 1); exit 1; }; }
16920 cat >conftest.
$ac_ext <<_ACEOF
16921 __thread int a; int b; int main() { return a = b; }
16923 rm -f conftest
$ac_exeext
16924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16925 (eval $ac_link) 2>&5
16927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16928 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16930 (eval $ac_try) 2>&5
16932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16933 (exit $ac_status); }; }; then
16936 echo "$as_me: program exited with status $ac_status" >&5
16937 echo "$as_me: failed program was:" >&5
16938 sed 's/^/| /' conftest.
$ac_ext >&5
16940 ( exit $ac_status )
16943 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16946 echo "$as_me: failed program was:" >&5
16947 sed 's/^/| /' conftest.
$ac_ext >&5
16951 rm -f conftest.err conftest.
$ac_objext \
16952 conftest
$ac_exeext conftest.
$ac_ext
16953 LDFLAGS
="$save_LDFLAGS"
16955 echo "$as_me: program exited with status $ac_status" >&5
16956 echo "$as_me: failed program was:" >&5
16957 sed 's/^/| /' conftest.
$ac_ext >&5
16959 ( exit $ac_status )
16962 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16965 echo "$as_me:$LINENO: result: $have_tls" >&5
16966 echo "${ECHO_T}$have_tls" >&6
16967 if test "$enable_tls $have_tls" = "yes yes"; then
16969 cat >>confdefs.h
<<\_ACEOF
16975 # For _Unwind_GetIPInfo.
16980 ac_cpp
='$CXXCPP $CPPFLAGS'
16981 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16982 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16983 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16985 ac_save_CXXFLAGS
="$CXXFLAGS"
16986 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
16987 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
16988 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
16989 if test "${gcc_cv_getipinfo+set}" = set; then
16990 echo $ECHO_N "(cached) $ECHO_C" >&6
16993 if test x
$gcc_no_link = xyes
; then
16994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16996 { (exit 1); exit 1; }; }
16998 cat >conftest.
$ac_ext <<_ACEOF
17001 cat confdefs.h
>>conftest.
$ac_ext
17002 cat >>conftest.
$ac_ext <<_ACEOF
17003 /* end confdefs.h. */
17004 extern "C" { extern void _Unwind_GetIPInfo(); }
17008 _Unwind_GetIPInfo();
17013 rm -f conftest.
$ac_objext conftest
$ac_exeext
17014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17015 (eval $ac_link) 2>conftest.er1
17017 grep -v '^ *+' conftest.er1
>conftest.err
17019 cat conftest.err
>&5
17020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021 (exit $ac_status); } &&
17022 { ac_try
='test -z "$ac_cxx_werror_flag"
17023 || test ! -s conftest.err'
17024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17025 (eval $ac_try) 2>&5
17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028 (exit $ac_status); }; } &&
17029 { ac_try
='test -s conftest$ac_exeext'
17030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17031 (eval $ac_try) 2>&5
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); }; }; then
17035 gcc_cv_getipinfo
=yes
17037 echo "$as_me: failed program was:" >&5
17038 sed 's/^/| /' conftest.
$ac_ext >&5
17040 gcc_cv_getipinfo
=no
17042 rm -f conftest.err conftest.
$ac_objext \
17043 conftest
$ac_exeext conftest.
$ac_ext
17047 if test $gcc_cv_getipinfo = yes; then
17049 cat >>confdefs.h
<<\_ACEOF
17050 #define HAVE_GETIPINFO 1
17054 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
17055 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
17056 CXXFLAGS
="$ac_save_CXXFLAGS"
17058 ac_cpp
='$CPP $CPPFLAGS'
17059 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17060 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17061 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17065 # Check if linker supports static linking on a per library basis
17066 LD_START_STATIC_SPEC
=
17067 LD_FINISH_STATIC_SPEC
=
17068 if $LD --help 2>&1 |
grep -q -e -call_shared ; then
17069 if $LD --help 2>&1 |
grep -q -e -non_shared ; then
17070 LD_START_STATIC_SPEC
='%{static-libgcj:-non_shared}'
17071 LD_FINISH_STATIC_SPEC
='%{static-libgcj:-call_shared}'
17077 here
=`${PWDCMD-pwd}`
17080 # We get this from the environment.
17083 ac_config_files
="$ac_config_files Makefile libgcj.pc libgcj.spec libgcj-test.spec gcj/Makefile include/Makefile testsuite/Makefile"
17086 ac_config_files
="$ac_config_files scripts/jar"
17089 ac_config_commands
="$ac_config_commands default"
17092 cat >confcache
<<\_ACEOF
17093 # This file is a shell script that caches the results of configure
17094 # tests run on this system so they can be shared between configure
17095 # scripts and configure runs, see configure's option --config-cache.
17096 # It is not useful on other systems. If it contains results you don't
17097 # want to keep, you may remove or edit it.
17099 # config.status only pays attention to the cache file if you give it
17100 # the --recheck option to rerun configure.
17102 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17103 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17104 # following values.
17108 # The following way of writing the cache mishandles newlines in values,
17109 # but we know of no workaround that is simple, portable, and efficient.
17110 # So, don't put newlines in cache variables' values.
17111 # Ultrix sh set writes to stderr and can't be redirected directly,
17112 # and sets the high bit in the cache file unless we assign to the vars.
17115 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17117 # `set' does not quote correctly, so add quotes (double-quote
17118 # substitution turns \\\\ into \\, and sed turns \\ into \).
17121 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17124 # `set' quotes correctly as required by POSIX, so do not add quotes.
17126 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17133 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17135 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17137 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
17138 if test -w $cache_file; then
17139 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17140 cat confcache
>$cache_file
17142 echo "not updating unwritable cache $cache_file"
17147 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17148 # Let make expand exec_prefix.
17149 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17151 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17152 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
17153 # trailing colons and then remove the whole line if VPATH becomes empty
17154 # (actually we leave an empty line to preserve line numbers).
17155 if test "x$srcdir" = x.
; then
17156 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
17157 s/:*\$(srcdir):*/:/;
17158 s/:*\${srcdir}:*/:/;
17160 s/^\([^=]*=[ ]*\):*/\1/;
17166 DEFS
=-DHAVE_CONFIG_H
17170 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17171 # 1. Remove the extension, and $U if already installed.
17172 ac_i
=`echo "$ac_i" |
17173 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
17175 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
17176 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
17178 LIBOBJS
=$ac_libobjs
17180 LTLIBOBJS
=$ac_ltlibobjs
17183 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
17184 { { echo "$as_me:$LINENO: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
17185 Usually this means the macro was only invoked conditionally." >&5
17186 echo "$as_me: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
17187 Usually this means the macro was only invoked conditionally." >&2;}
17188 { (exit 1); exit 1; }; }
17190 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17191 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
17192 Usually this means the macro was only invoked conditionally." >&5
17193 echo "$as_me: error: conditional \"AMDEP\" was never defined.
17194 Usually this means the macro was only invoked conditionally." >&2;}
17195 { (exit 1); exit 1; }; }
17197 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17198 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17199 Usually this means the macro was only invoked conditionally." >&5
17200 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17201 Usually this means the macro was only invoked conditionally." >&2;}
17202 { (exit 1); exit 1; }; }
17204 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17205 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
17206 Usually this means the macro was only invoked conditionally." >&5
17207 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
17208 Usually this means the macro was only invoked conditionally." >&2;}
17209 { (exit 1); exit 1; }; }
17211 if test -z "${BASH_JAR_TRUE}" && test -z "${BASH_JAR_FALSE}"; then
17212 { { echo "$as_me:$LINENO: error: conditional \"BASH_JAR\" was never defined.
17213 Usually this means the macro was only invoked conditionally." >&5
17214 echo "$as_me: error: conditional \"BASH_JAR\" was never defined.
17215 Usually this means the macro was only invoked conditionally." >&2;}
17216 { (exit 1); exit 1; }; }
17218 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17219 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
17220 Usually this means the macro was only invoked conditionally." >&5
17221 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
17222 Usually this means the macro was only invoked conditionally." >&2;}
17223 { (exit 1); exit 1; }; }
17225 if test -z "${XLIB_AWT_TRUE}" && test -z "${XLIB_AWT_FALSE}"; then
17226 { { echo "$as_me:$LINENO: error: conditional \"XLIB_AWT\" was never defined.
17227 Usually this means the macro was only invoked conditionally." >&5
17228 echo "$as_me: error: conditional \"XLIB_AWT\" was never defined.
17229 Usually this means the macro was only invoked conditionally." >&2;}
17230 { (exit 1); exit 1; }; }
17232 if test -z "${X_AWT_TRUE}" && test -z "${X_AWT_FALSE}"; then
17233 { { echo "$as_me:$LINENO: error: conditional \"X_AWT\" was never defined.
17234 Usually this means the macro was only invoked conditionally." >&5
17235 echo "$as_me: error: conditional \"X_AWT\" was never defined.
17236 Usually this means the macro was only invoked conditionally." >&2;}
17237 { (exit 1); exit 1; }; }
17239 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
17240 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
17241 Usually this means the macro was only invoked conditionally." >&5
17242 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
17243 Usually this means the macro was only invoked conditionally." >&2;}
17244 { (exit 1); exit 1; }; }
17246 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
17247 { { echo "$as_me:$LINENO: error: conditional \"TESTSUBDIR\" was never defined.
17248 Usually this means the macro was only invoked conditionally." >&5
17249 echo "$as_me: error: conditional \"TESTSUBDIR\" was never defined.
17250 Usually this means the macro was only invoked conditionally." >&2;}
17251 { (exit 1); exit 1; }; }
17253 if test -z "${BUILD_ECJ1_TRUE}" && test -z "${BUILD_ECJ1_FALSE}"; then
17254 { { echo "$as_me:$LINENO: error: conditional \"BUILD_ECJ1\" was never defined.
17255 Usually this means the macro was only invoked conditionally." >&5
17256 echo "$as_me: error: conditional \"BUILD_ECJ1\" was never defined.
17257 Usually this means the macro was only invoked conditionally." >&2;}
17258 { (exit 1); exit 1; }; }
17260 if test -z "${INSTALL_ECJ_JAR_TRUE}" && test -z "${INSTALL_ECJ_JAR_FALSE}"; then
17261 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_ECJ_JAR\" was never defined.
17262 Usually this means the macro was only invoked conditionally." >&5
17263 echo "$as_me: error: conditional \"INSTALL_ECJ_JAR\" was never defined.
17264 Usually this means the macro was only invoked conditionally." >&2;}
17265 { (exit 1); exit 1; }; }
17267 if test -z "${JAVA_HOME_SET_TRUE}" && test -z "${JAVA_HOME_SET_FALSE}"; then
17268 { { echo "$as_me:$LINENO: error: conditional \"JAVA_HOME_SET\" was never defined.
17269 Usually this means the macro was only invoked conditionally." >&5
17270 echo "$as_me: error: conditional \"JAVA_HOME_SET\" was never defined.
17271 Usually this means the macro was only invoked conditionally." >&2;}
17272 { (exit 1); exit 1; }; }
17274 if test -z "${USING_WIN32_PLATFORM_TRUE}" && test -z "${USING_WIN32_PLATFORM_FALSE}"; then
17275 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
17276 Usually this means the macro was only invoked conditionally." >&5
17277 echo "$as_me: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
17278 Usually this means the macro was only invoked conditionally." >&2;}
17279 { (exit 1); exit 1; }; }
17281 if test -z "${USING_POSIX_PLATFORM_TRUE}" && test -z "${USING_POSIX_PLATFORM_FALSE}"; then
17282 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
17283 Usually this means the macro was only invoked conditionally." >&5
17284 echo "$as_me: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
17285 Usually this means the macro was only invoked conditionally." >&2;}
17286 { (exit 1); exit 1; }; }
17288 if test -z "${USING_DARWIN_CRT_TRUE}" && test -z "${USING_DARWIN_CRT_FALSE}"; then
17289 { { echo "$as_me:$LINENO: error: conditional \"USING_DARWIN_CRT\" was never defined.
17290 Usually this means the macro was only invoked conditionally." >&5
17291 echo "$as_me: error: conditional \"USING_DARWIN_CRT\" was never defined.
17292 Usually this means the macro was only invoked conditionally." >&2;}
17293 { (exit 1); exit 1; }; }
17295 if test -z "${USING_BOEHMGC_TRUE}" && test -z "${USING_BOEHMGC_FALSE}"; then
17296 { { echo "$as_me:$LINENO: error: conditional \"USING_BOEHMGC\" was never defined.
17297 Usually this means the macro was only invoked conditionally." >&5
17298 echo "$as_me: error: conditional \"USING_BOEHMGC\" was never defined.
17299 Usually this means the macro was only invoked conditionally." >&2;}
17300 { (exit 1); exit 1; }; }
17302 if test -z "${USING_NOGC_TRUE}" && test -z "${USING_NOGC_FALSE}"; then
17303 { { echo "$as_me:$LINENO: error: conditional \"USING_NOGC\" was never defined.
17304 Usually this means the macro was only invoked conditionally." >&5
17305 echo "$as_me: error: conditional \"USING_NOGC\" was never defined.
17306 Usually this means the macro was only invoked conditionally." >&2;}
17307 { (exit 1); exit 1; }; }
17309 if test -z "${USING_POSIX_THREADS_TRUE}" && test -z "${USING_POSIX_THREADS_FALSE}"; then
17310 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_THREADS\" was never defined.
17311 Usually this means the macro was only invoked conditionally." >&5
17312 echo "$as_me: error: conditional \"USING_POSIX_THREADS\" was never defined.
17313 Usually this means the macro was only invoked conditionally." >&2;}
17314 { (exit 1); exit 1; }; }
17316 if test -z "${USING_WIN32_THREADS_TRUE}" && test -z "${USING_WIN32_THREADS_FALSE}"; then
17317 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_THREADS\" was never defined.
17318 Usually this means the macro was only invoked conditionally." >&5
17319 echo "$as_me: error: conditional \"USING_WIN32_THREADS\" was never defined.
17320 Usually this means the macro was only invoked conditionally." >&2;}
17321 { (exit 1); exit 1; }; }
17323 if test -z "${USING_NO_THREADS_TRUE}" && test -z "${USING_NO_THREADS_FALSE}"; then
17324 { { echo "$as_me:$LINENO: error: conditional \"USING_NO_THREADS\" was never defined.
17325 Usually this means the macro was only invoked conditionally." >&5
17326 echo "$as_me: error: conditional \"USING_NO_THREADS\" was never defined.
17327 Usually this means the macro was only invoked conditionally." >&2;}
17328 { (exit 1); exit 1; }; }
17330 if test -z "${USE_LIBGCJ_BC_TRUE}" && test -z "${USE_LIBGCJ_BC_FALSE}"; then
17331 { { echo "$as_me:$LINENO: error: conditional \"USE_LIBGCJ_BC\" was never defined.
17332 Usually this means the macro was only invoked conditionally." >&5
17333 echo "$as_me: error: conditional \"USE_LIBGCJ_BC\" was never defined.
17334 Usually this means the macro was only invoked conditionally." >&2;}
17335 { (exit 1); exit 1; }; }
17337 if test -z "${USING_GCC_TRUE}" && test -z "${USING_GCC_FALSE}"; then
17338 { { echo "$as_me:$LINENO: error: conditional \"USING_GCC\" was never defined.
17339 Usually this means the macro was only invoked conditionally." >&5
17340 echo "$as_me: error: conditional \"USING_GCC\" was never defined.
17341 Usually this means the macro was only invoked conditionally." >&2;}
17342 { (exit 1); exit 1; }; }
17344 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
17345 { { echo "$as_me:$LINENO: error: conditional \"NATIVE\" was never defined.
17346 Usually this means the macro was only invoked conditionally." >&5
17347 echo "$as_me: error: conditional \"NATIVE\" was never defined.
17348 Usually this means the macro was only invoked conditionally." >&2;}
17349 { (exit 1); exit 1; }; }
17351 if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
17352 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SHARED\" was never defined.
17353 Usually this means the macro was only invoked conditionally." >&5
17354 echo "$as_me: error: conditional \"ENABLE_SHARED\" was never defined.
17355 Usually this means the macro was only invoked conditionally." >&2;}
17356 { (exit 1); exit 1; }; }
17358 if test -z "${NEEDS_DATA_START_TRUE}" && test -z "${NEEDS_DATA_START_FALSE}"; then
17359 { { echo "$as_me:$LINENO: error: conditional \"NEEDS_DATA_START\" was never defined.
17360 Usually this means the macro was only invoked conditionally." >&5
17361 echo "$as_me: error: conditional \"NEEDS_DATA_START\" was never defined.
17362 Usually this means the macro was only invoked conditionally." >&2;}
17363 { (exit 1); exit 1; }; }
17366 : ${CONFIG_STATUS=./config.status}
17367 ac_clean_files_save
=$ac_clean_files
17368 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17369 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
17370 echo "$as_me: creating $CONFIG_STATUS" >&6;}
17371 cat >$CONFIG_STATUS <<_ACEOF
17373 # Generated by $as_me.
17374 # Run this file to recreate the current configuration.
17375 # Compiler output produced by configure, useful for debugging
17376 # configure, is in config.log if it exists.
17379 ac_cs_recheck=false
17381 SHELL=\${CONFIG_SHELL-$SHELL}
17384 cat >>$CONFIG_STATUS <<\_ACEOF
17385 ## --------------------- ##
17386 ## M4sh Initialization. ##
17387 ## --------------------- ##
17389 # Be Bourne compatible
17390 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17393 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17394 # is contrary to our usage. Disable this feature.
17395 alias -g '${1+"$@"}'='"$@"'
17396 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
17399 DUALCASE
=1; export DUALCASE
# for MKS sh
17401 # Support unset when possible.
17402 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
17409 # Work around bugs in pre-3.0 UWIN ksh.
17410 $as_unset ENV MAIL MAILPATH
17417 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
17418 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
17419 LC_TELEPHONE LC_TIME
17421 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
17422 eval $as_var=C
; export $as_var
17428 # Required to use basename.
17429 if expr a
: '\(a\)' >/dev
/null
2>&1; then
17435 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
17436 as_basename
=basename
17442 # Name of the executable.
17443 as_me
=`$as_basename "$0" ||
17444 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17445 X"$0" : 'X\(//\)$' \| \
17446 X"$0" : 'X\(/\)$' \| \
17447 . : '\(.\)' 2>/dev/null ||
17449 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
17450 /^X\/\(\/\/\)$/{ s//\1/; q; }
17451 /^X\/\(\/\).*/{ s//\1/; q; }
17455 # PATH needs CR, and LINENO needs CR and PATH.
17456 # Avoid depending upon Character Ranges.
17457 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17458 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17459 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17460 as_cr_digits
='0123456789'
17461 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17463 # The user is always right.
17464 if test "${PATH_SEPARATOR+set}" != set; then
17465 echo "#! /bin/sh" >conf$$.sh
17466 echo "exit 0" >>conf$$.sh
17468 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
17477 as_lineno_1
=$LINENO
17478 as_lineno_2
=$LINENO
17479 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
17480 test "x$as_lineno_1" != "x$as_lineno_2" &&
17481 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
17482 # Find who we are. Look in the path if we contain no path at all
17485 *[\\/]* ) as_myself
=$0 ;;
17486 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17487 for as_dir
in $PATH
17490 test -z "$as_dir" && as_dir
=.
17491 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
17496 # We did not find ourselves, most probably we were run as `sh COMMAND'
17497 # in which case we are not to be found in the path.
17498 if test "x$as_myself" = x
; then
17501 if test ! -f "$as_myself"; then
17502 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
17503 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
17504 { (exit 1); exit 1; }; }
17506 case $CONFIG_SHELL in
17508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17509 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
17512 test -z "$as_dir" && as_dir
=.
17513 for as_base
in sh bash ksh sh5
; do
17516 if ("$as_dir/$as_base" -c '
17517 as_lineno_1=$LINENO
17518 as_lineno_2=$LINENO
17519 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
17520 test "x$as_lineno_1" != "x$as_lineno_2" &&
17521 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
17522 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
17523 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
17524 CONFIG_SHELL
=$as_dir/$as_base
17525 export CONFIG_SHELL
17526 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
17534 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17535 # uniformly replaced by the line number. The first 'sed' inserts a
17536 # line-number line before each line; the second 'sed' does the real
17537 # work. The second script uses 'N' to pair each line-number line
17538 # with the numbered line, and appends trailing '-' during
17539 # substitution so that $LINENO is not a special case at line end.
17540 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17541 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
17542 sed '=' <$as_myself |
17547 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
17550 s,^['$as_cr_digits']*\n,,
17551 ' >$as_me.lineno
&&
17552 chmod +x
$as_me.lineno ||
17553 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
17554 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
17555 { (exit 1); exit 1; }; }
17557 # Don't try to exec as it changes $[0], causing all sort of problems
17558 # (the dirname of $[0] is not the place where we might find the
17559 # original and so on. Autoconf is especially sensible to this).
17561 # Exit status is that of the last command.
17566 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
17567 *c
*,-n*) ECHO_N
= ECHO_C
='
17569 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
17570 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
17573 if expr a
: '\(a\)' >/dev
/null
2>&1; then
17579 rm -f conf$$ conf$$.exe conf$$.
file
17581 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17582 # We could just check for DJGPP; but this test a) works b) is more generic
17583 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
17584 if test -f conf$$.exe
; then
17585 # Don't use ln at all; we don't have any links
17590 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17595 rm -f conf$$ conf$$.exe conf$$.
file
17597 if mkdir
-p .
2>/dev
/null
; then
17600 test -d .
/-p && rmdir .
/-p
17604 as_executable_p
="test -f"
17606 # Sed expression to map a string onto a valid CPP name.
17607 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17609 # Sed expression to map a string onto a valid variable name.
17610 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17614 # We need space, tab and new line, in precisely that order.
17624 # Open the log real soon, to keep \$[0] and so on meaningful, and to
17625 # report actual input values of CONFIG_FILES etc. instead of their
17626 # values after options handling. Logging --version etc. is OK.
17630 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17631 ## Running $as_me. ##
17636 This file was extended by libjava $as_me version-unused, which was
17637 generated by GNU Autoconf 2.59. Invocation command line was
17639 CONFIG_FILES = $CONFIG_FILES
17640 CONFIG_HEADERS = $CONFIG_HEADERS
17641 CONFIG_LINKS = $CONFIG_LINKS
17642 CONFIG_COMMANDS = $CONFIG_COMMANDS
17646 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
17650 # Files that config.status was made for.
17651 if test -n "$ac_config_files"; then
17652 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
17655 if test -n "$ac_config_headers"; then
17656 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
17659 if test -n "$ac_config_links"; then
17660 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
17663 if test -n "$ac_config_commands"; then
17664 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
17667 cat >>$CONFIG_STATUS <<\_ACEOF
17670 \`$as_me' instantiates files from templates according to the
17671 current configuration.
17673 Usage: $0 [OPTIONS] [FILE]...
17675 -h, --help print this help, then exit
17676 -V, --version print version number, then exit
17677 -q, --quiet do not print progress messages
17678 -d, --debug don't remove temporary files
17679 --recheck update $as_me by reconfiguring in the same conditions
17680 --file=FILE[:TEMPLATE]
17681 instantiate the configuration file FILE
17682 --header=FILE[:TEMPLATE]
17683 instantiate the configuration header FILE
17685 Configuration files:
17688 Configuration headers:
17691 Configuration links:
17694 Configuration commands:
17697 Report bugs to <bug-autoconf@gnu.org>."
17700 cat >>$CONFIG_STATUS <<_ACEOF
17702 libjava config.status version-unused
17703 configured by $0, generated by GNU Autoconf 2.59,
17704 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
17706 Copyright (C) 2003 Free Software Foundation, Inc.
17707 This config.status script is free software; the Free Software Foundation
17708 gives unlimited permission to copy, distribute and modify it."
17713 cat >>$CONFIG_STATUS <<\_ACEOF
17714 # If no file are specified by the user, then we need to provide default
17715 # value. By we need to know if files were specified by the user.
17721 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
17722 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
17730 *) # This is not an option, so the user has probably given explicit
17733 ac_need_defaults
=false
;;
17737 # Handling of the options.
17739 cat >>$CONFIG_STATUS <<\_ACEOF
17740 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17742 --version |
--vers* |
-V )
17743 echo "$ac_cs_version"; exit 0 ;;
17745 # Conflict between --help and --header
17746 { { echo "$as_me:$LINENO: error: ambiguous option: $1
17747 Try \`$0 --help' for more information." >&5
17748 echo "$as_me: error: ambiguous option: $1
17749 Try \`$0 --help' for more information." >&2;}
17750 { (exit 1); exit 1; }; };;
17751 --help |
--hel |
-h )
17752 echo "$ac_cs_usage"; exit 0 ;;
17753 --debug |
--d* |
-d )
17755 --file |
--fil |
--fi |
--f )
17757 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
17758 ac_need_defaults
=false
;;
17759 --header |
--heade |
--head |
--hea )
17761 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
17762 ac_need_defaults
=false
;;
17763 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17764 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17767 # This is an error.
17768 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
17769 Try \`$0 --help' for more information." >&5
17770 echo "$as_me: error: unrecognized option: $1
17771 Try \`$0 --help' for more information." >&2;}
17772 { (exit 1); exit 1; }; } ;;
17774 *) ac_config_targets
="$ac_config_targets $1" ;;
17780 ac_configure_extra_args
=
17782 if $ac_cs_silent; then
17784 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17788 cat >>$CONFIG_STATUS <<_ACEOF
17789 if \$ac_cs_recheck; then
17790 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
17791 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17796 cat >>$CONFIG_STATUS <<_ACEOF
17798 # INIT-COMMANDS section.
17805 with_multisubdir="$with_multisubdir"
17806 with_multisrctop="$with_multisrctop"
17807 with_target_subdir="$with_target_subdir"
17808 ac_configure_args="${multilib_arg} ${ac_configure_args}"
17809 multi_basedir="$multi_basedir"
17810 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17812 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17816 with_multisubdir=${with_multisubdir}
17817 ac_configure_args="${multilib_arg} ${ac_configure_args}"
17818 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17819 multi_basedir=${multi_basedir}
17822 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
17829 cat >>$CONFIG_STATUS <<\_ACEOF
17830 for ac_config_target
in $ac_config_targets
17832 case "$ac_config_target" in
17833 # Handling of arguments.
17834 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17835 "libgcj.pc" ) CONFIG_FILES
="$CONFIG_FILES libgcj.pc" ;;
17836 "libgcj.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj.spec" ;;
17837 "libgcj-test.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj-test.spec" ;;
17838 "gcj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gcj/Makefile" ;;
17839 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
17840 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
17841 "scripts/jar" ) CONFIG_FILES
="$CONFIG_FILES scripts/jar" ;;
17842 "include/platform.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/platform.h:include/$PLATFORMH" ;;
17843 "java/io/natFile.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc" ;;
17844 "java/lang/natConcreteProcess.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc" ;;
17845 "java/net/natVMInetAddress.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc" ;;
17846 "java/net/natVMNetworkInterface.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc" ;;
17847 "gnu/java/net/natPlainSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc" ;;
17848 "gnu/java/net/natPlainDatagramSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc" ;;
17849 "gnu/java/nio/natPipeImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natPipeImpl.cc:gnu/java/nio/natPipeImpl${PLATFORM}.cc" ;;
17850 "gnu/java/nio/natSelectorImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natSelectorImpl.cc:gnu/java/nio/natSelectorImpl${PLATFORM}.cc" ;;
17851 "gnu/java/nio/channels/natFileChannelImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc" ;;
17852 "include/java-gc.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-gc.h:include/$GCHDR" ;;
17853 "include/java-threads.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-threads.h:include/$THREADH" ;;
17854 "sysdep/locks.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/locks.h:sysdep/$sysdeps_dir/locks.h" ;;
17855 "sysdep/backtrace.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/backtrace.h:$fallback_backtrace_h" ;;
17856 "sysdep/descriptor.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/descriptor.h:$descriptor_h" ;;
17857 "include/java-signal.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal.h:$SIGNAL_HANDLER" ;;
17858 "include/java-signal-aux.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal-aux.h:$SIGNAL_HANDLER_AUX" ;;
17859 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
17860 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17861 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
17862 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
17863 "gcj/libgcj-config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS gcj/libgcj-config.h" ;;
17864 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
17865 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
17866 { (exit 1); exit 1; }; };;
17870 # If the user did not use the arguments to specify the items to instantiate,
17871 # then the envvar interface is used. Set only those that are not.
17872 # We use the long form for the default assignment because of an extremely
17873 # bizarre bug on SunOS 4.1.3.
17874 if $ac_need_defaults; then
17875 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17876 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17877 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
17878 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17881 # Have a temporary directory for convenience. Make it in the build tree
17882 # simply because there is no reason to put it here, and in addition,
17883 # creating and moving files from /tmp can sometimes cause problems.
17884 # Create a temporary directory, and hook for its removal unless debugging.
17887 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
17888 trap '{ (exit 1); exit 1; }' 1 2 13 15
17891 # Create a (secure) tmp directory for tmp files.
17894 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
17895 test -n "$tmp" && test -d "$tmp"
17898 tmp
=.
/confstat$$
-$RANDOM
17899 (umask 077 && mkdir
$tmp)
17902 echo "$me: cannot create a temporary directory in ." >&2
17903 { (exit 1); exit 1; }
17908 cat >>$CONFIG_STATUS <<_ACEOF
17911 # CONFIG_FILES section.
17914 # No need to generate the scripts if there are no CONFIG_FILES.
17915 # This happens for instance when ./config.status config.h
17916 if test -n "\$CONFIG_FILES"; then
17917 # Protect against being on the right side of a sed subst in config.status.
17918 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
17919 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
17920 s,@SHELL@,$SHELL,;t t
17921 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
17922 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
17923 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
17924 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
17925 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
17926 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
17927 s,@exec_prefix@,$exec_prefix,;t t
17928 s,@prefix@,$prefix,;t t
17929 s,@program_transform_name@,$program_transform_name,;t t
17930 s,@bindir@,$bindir,;t t
17931 s,@sbindir@,$sbindir,;t t
17932 s,@libexecdir@,$libexecdir,;t t
17933 s,@datadir@,$datadir,;t t
17934 s,@sysconfdir@,$sysconfdir,;t t
17935 s,@sharedstatedir@,$sharedstatedir,;t t
17936 s,@localstatedir@,$localstatedir,;t t
17937 s,@libdir@,$libdir,;t t
17938 s,@includedir@,$includedir,;t t
17939 s,@oldincludedir@,$oldincludedir,;t t
17940 s,@infodir@,$infodir,;t t
17941 s,@mandir@,$mandir,;t t
17942 s,@build_alias@,$build_alias,;t t
17943 s,@host_alias@,$host_alias,;t t
17944 s,@target_alias@,$target_alias,;t t
17945 s,@DEFS@,$DEFS,;t t
17946 s,@ECHO_C@,$ECHO_C,;t t
17947 s,@ECHO_N@,$ECHO_N,;t t
17948 s,@ECHO_T@,$ECHO_T,;t t
17949 s,@LIBS@,$LIBS,;t t
17950 s,@build@,$build,;t t
17951 s,@build_cpu@,$build_cpu,;t t
17952 s,@build_vendor@,$build_vendor,;t t
17953 s,@build_os@,$build_os,;t t
17954 s,@build_libsubdir@,$build_libsubdir,;t t
17955 s,@build_subdir@,$build_subdir,;t t
17956 s,@host_subdir@,$host_subdir,;t t
17957 s,@target_subdir@,$target_subdir,;t t
17958 s,@multi_basedir@,$multi_basedir,;t t
17959 s,@host@,$host,;t t
17960 s,@host_cpu@,$host_cpu,;t t
17961 s,@host_vendor@,$host_vendor,;t t
17962 s,@host_os@,$host_os,;t t
17963 s,@target@,$target,;t t
17964 s,@target_cpu@,$target_cpu,;t t
17965 s,@target_vendor@,$target_vendor,;t t
17966 s,@target_os@,$target_os,;t t
17967 s,@target_noncanonical@,$target_noncanonical,;t t
17968 s,@LN_S@,$LN_S,;t t
17969 s,@mkinstalldirs@,$mkinstalldirs,;t t
17970 s,@JAVA_MAINTAINER_MODE_TRUE@,$JAVA_MAINTAINER_MODE_TRUE,;t t
17971 s,@JAVA_MAINTAINER_MODE_FALSE@,$JAVA_MAINTAINER_MODE_FALSE,;t t
17973 s,@ac_ct_CC@,$ac_ct_CC,;t t
17974 s,@EXEEXT@,$EXEEXT,;t t
17975 s,@OBJEXT@,$OBJEXT,;t t
17977 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
17978 s,@CFLAGS@,$CFLAGS,;t t
17979 s,@CXXFLAGS@,$CXXFLAGS,;t t
17980 s,@LDFLAGS@,$LDFLAGS,;t t
17981 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
17982 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
17983 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
17984 s,@CYGPATH_W@,$CYGPATH_W,;t t
17985 s,@PACKAGE@,$PACKAGE,;t t
17986 s,@VERSION@,$VERSION,;t t
17987 s,@ACLOCAL@,$ACLOCAL,;t t
17988 s,@AUTOCONF@,$AUTOCONF,;t t
17989 s,@AUTOMAKE@,$AUTOMAKE,;t t
17990 s,@AUTOHEADER@,$AUTOHEADER,;t t
17991 s,@MAKEINFO@,$MAKEINFO,;t t
17992 s,@install_sh@,$install_sh,;t t
17993 s,@STRIP@,$STRIP,;t t
17994 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
17995 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
17996 s,@mkdir_p@,$mkdir_p,;t t
17998 s,@SET_MAKE@,$SET_MAKE,;t t
17999 s,@am__leading_dot@,$am__leading_dot,;t t
18000 s,@AMTAR@,$AMTAR,;t t
18001 s,@am__tar@,$am__tar,;t t
18002 s,@am__untar@,$am__untar,;t t
18003 s,@DEPDIR@,$DEPDIR,;t t
18004 s,@am__include@,$am__include,;t t
18005 s,@am__quote@,$am__quote,;t t
18006 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
18007 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
18008 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
18009 s,@CCDEPMODE@,$CCDEPMODE,;t t
18010 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
18011 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
18012 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
18013 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
18014 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
18016 s,@ac_ct_AS@,$ac_ct_AS,;t t
18018 s,@ac_ct_LD@,$ac_ct_LD,;t t
18020 s,@ac_ct_AR@,$ac_ct_AR,;t t
18021 s,@RANLIB@,$RANLIB,;t t
18022 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
18025 s,@UNZIP@,$UNZIP,;t t
18026 s,@BASH_JAR_TRUE@,$BASH_JAR_TRUE,;t t
18027 s,@BASH_JAR_FALSE@,$BASH_JAR_FALSE,;t t
18028 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
18029 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
18030 s,@MAINT@,$MAINT,;t t
18031 s,@LIBGCJ_CFLAGS@,$LIBGCJ_CFLAGS,;t t
18032 s,@LIBGCJ_CXXFLAGS@,$LIBGCJ_CXXFLAGS,;t t
18033 s,@LIBGCJ_JAVAFLAGS@,$LIBGCJ_JAVAFLAGS,;t t
18034 s,@LIBGCJ_LD_SYMBOLIC@,$LIBGCJ_LD_SYMBOLIC,;t t
18035 s,@LIBGCJ_LD_SYMBOLIC_FUNCTIONS@,$LIBGCJ_LD_SYMBOLIC_FUNCTIONS,;t t
18036 s,@LIBGCJDEBUG@,$LIBGCJDEBUG,;t t
18037 s,@TOOLKIT@,$TOOLKIT,;t t
18038 s,@XLIB_AWT_TRUE@,$XLIB_AWT_TRUE,;t t
18039 s,@XLIB_AWT_FALSE@,$XLIB_AWT_FALSE,;t t
18040 s,@X_AWT_TRUE@,$X_AWT_TRUE,;t t
18041 s,@X_AWT_FALSE@,$X_AWT_FALSE,;t t
18042 s,@GCJ_FOR_ECJX@,$GCJ_FOR_ECJX,;t t
18043 s,@GCJH@,$GCJH,;t t
18044 s,@host_exeext@,$host_exeext,;t t
18045 s,@INCLTDL@,$INCLTDL,;t t
18046 s,@LIBLTDL@,$LIBLTDL,;t t
18047 s,@DIRLTDL@,$DIRLTDL,;t t
18048 s,@LIBTOOL@,$LIBTOOL,;t t
18049 s,@CXXCPP@,$CXXCPP,;t t
18050 s,@CPPFLAGS@,$CPPFLAGS,;t t
18052 s,@GCJFLAGS@,$GCJFLAGS,;t t
18053 s,@GCJDEPMODE@,$GCJDEPMODE,;t t
18054 s,@am__fastdepGCJ_TRUE@,$am__fastdepGCJ_TRUE,;t t
18055 s,@am__fastdepGCJ_FALSE@,$am__fastdepGCJ_FALSE,;t t
18056 s,@subdirs@,$subdirs,;t t
18057 s,@TESTSUBDIR_TRUE@,$TESTSUBDIR_TRUE,;t t
18058 s,@TESTSUBDIR_FALSE@,$TESTSUBDIR_FALSE,;t t
18059 s,@ECJ_BUILD_JAR@,$ECJ_BUILD_JAR,;t t
18060 s,@ECJ_JAR@,$ECJ_JAR,;t t
18061 s,@BUILD_ECJ1_TRUE@,$BUILD_ECJ1_TRUE,;t t
18062 s,@BUILD_ECJ1_FALSE@,$BUILD_ECJ1_FALSE,;t t
18063 s,@INSTALL_ECJ_JAR_TRUE@,$INSTALL_ECJ_JAR_TRUE,;t t
18064 s,@INSTALL_ECJ_JAR_FALSE@,$INSTALL_ECJ_JAR_FALSE,;t t
18065 s,@JAVA_HOME_SET_TRUE@,$JAVA_HOME_SET_TRUE,;t t
18066 s,@JAVA_HOME_SET_FALSE@,$JAVA_HOME_SET_FALSE,;t t
18067 s,@JAVA_HOME@,$JAVA_HOME,;t t
18068 s,@INTERPRETER@,$INTERPRETER,;t t
18069 s,@LIBFFI@,$LIBFFI,;t t
18070 s,@LIBFFIINCS@,$LIBFFIINCS,;t t
18071 s,@PLATFORM@,$PLATFORM,;t t
18073 s,@EGREP@,$EGREP,;t t
18074 s,@USING_WIN32_PLATFORM_TRUE@,$USING_WIN32_PLATFORM_TRUE,;t t
18075 s,@USING_WIN32_PLATFORM_FALSE@,$USING_WIN32_PLATFORM_FALSE,;t t
18076 s,@USING_POSIX_PLATFORM_TRUE@,$USING_POSIX_PLATFORM_TRUE,;t t
18077 s,@USING_POSIX_PLATFORM_FALSE@,$USING_POSIX_PLATFORM_FALSE,;t t
18078 s,@USING_DARWIN_CRT_TRUE@,$USING_DARWIN_CRT_TRUE,;t t
18079 s,@USING_DARWIN_CRT_FALSE@,$USING_DARWIN_CRT_FALSE,;t t
18080 s,@SYSTEMSPEC@,$SYSTEMSPEC,;t t
18081 s,@LIBGCJTESTSPEC@,$LIBGCJTESTSPEC,;t t
18082 s,@ZLIBSPEC@,$ZLIBSPEC,;t t
18083 s,@ZLIBTESTSPEC@,$ZLIBTESTSPEC,;t t
18084 s,@X_CFLAGS@,$X_CFLAGS,;t t
18085 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
18086 s,@X_LIBS@,$X_LIBS,;t t
18087 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
18088 s,@extra_ldflags_libjava@,$extra_ldflags_libjava,;t t
18089 s,@GCLIBS@,$GCLIBS,;t t
18090 s,@GCINCS@,$GCINCS,;t t
18091 s,@GCDEPS@,$GCDEPS,;t t
18092 s,@GCSPEC@,$GCSPEC,;t t
18093 s,@JC1GCSPEC@,$JC1GCSPEC,;t t
18094 s,@GCTESTSPEC@,$GCTESTSPEC,;t t
18095 s,@USING_BOEHMGC_TRUE@,$USING_BOEHMGC_TRUE,;t t
18096 s,@USING_BOEHMGC_FALSE@,$USING_BOEHMGC_FALSE,;t t
18097 s,@USING_NOGC_TRUE@,$USING_NOGC_TRUE,;t t
18098 s,@USING_NOGC_FALSE@,$USING_NOGC_FALSE,;t t
18099 s,@THREADLIBS@,$THREADLIBS,;t t
18100 s,@THREADINCS@,$THREADINCS,;t t
18101 s,@THREADDEPS@,$THREADDEPS,;t t
18102 s,@THREADSPEC@,$THREADSPEC,;t t
18103 s,@THREADSTARTFILESPEC@,$THREADSTARTFILESPEC,;t t
18104 s,@THREADLDFLAGS@,$THREADLDFLAGS,;t t
18105 s,@THREADCXXFLAGS@,$THREADCXXFLAGS,;t t
18106 s,@USING_POSIX_THREADS_TRUE@,$USING_POSIX_THREADS_TRUE,;t t
18107 s,@USING_POSIX_THREADS_FALSE@,$USING_POSIX_THREADS_FALSE,;t t
18108 s,@USING_WIN32_THREADS_TRUE@,$USING_WIN32_THREADS_TRUE,;t t
18109 s,@USING_WIN32_THREADS_FALSE@,$USING_WIN32_THREADS_FALSE,;t t
18110 s,@USING_NO_THREADS_TRUE@,$USING_NO_THREADS_TRUE,;t t
18111 s,@USING_NO_THREADS_FALSE@,$USING_NO_THREADS_FALSE,;t t
18112 s,@USE_LIBGCJ_BC_TRUE@,$USE_LIBGCJ_BC_TRUE,;t t
18113 s,@USE_LIBGCJ_BC_FALSE@,$USE_LIBGCJ_BC_FALSE,;t t
18114 s,@LIBGCJ_SPEC@,$LIBGCJ_SPEC,;t t
18115 s,@HASH_SYNC_SPEC@,$HASH_SYNC_SPEC,;t t
18116 s,@USING_GCC_TRUE@,$USING_GCC_TRUE,;t t
18117 s,@USING_GCC_FALSE@,$USING_GCC_FALSE,;t t
18118 s,@LIBICONV@,$LIBICONV,;t t
18119 s,@LTLIBICONV@,$LTLIBICONV,;t t
18120 s,@LIBMAGIC@,$LIBMAGIC,;t t
18121 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
18122 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
18123 s,@GTK_LIBS@,$GTK_LIBS,;t t
18124 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
18125 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
18126 s,@LIBART_CFLAGS@,$LIBART_CFLAGS,;t t
18127 s,@LIBART_LIBS@,$LIBART_LIBS,;t t
18128 s,@CLASSPATH_SEPARATOR@,$CLASSPATH_SEPARATOR,;t t
18129 s,@ac_ct_GCJ@,$ac_ct_GCJ,;t t
18130 s,@ZLIBS@,$ZLIBS,;t t
18131 s,@SYS_ZLIBS@,$SYS_ZLIBS,;t t
18132 s,@ZINCS@,$ZINCS,;t t
18133 s,@DIVIDESPEC@,$DIVIDESPEC,;t t
18134 s,@CHECKREFSPEC@,$CHECKREFSPEC,;t t
18135 s,@EXCEPTIONSPEC@,$EXCEPTIONSPEC,;t t
18136 s,@BACKTRACESPEC@,$BACKTRACESPEC,;t t
18137 s,@IEEESPEC@,$IEEESPEC,;t t
18138 s,@NATIVE_TRUE@,$NATIVE_TRUE,;t t
18139 s,@NATIVE_FALSE@,$NATIVE_FALSE,;t t
18140 s,@ENABLE_SHARED_TRUE@,$ENABLE_SHARED_TRUE,;t t
18141 s,@ENABLE_SHARED_FALSE@,$ENABLE_SHARED_FALSE,;t t
18142 s,@NEEDS_DATA_START_TRUE@,$NEEDS_DATA_START_TRUE,;t t
18143 s,@NEEDS_DATA_START_FALSE@,$NEEDS_DATA_START_FALSE,;t t
18144 s,@GCC_UNWIND_INCLUDE@,$GCC_UNWIND_INCLUDE,;t t
18145 s,@toolexecdir@,$toolexecdir,;t t
18146 s,@toolexecmainlibdir@,$toolexecmainlibdir,;t t
18147 s,@toolexeclibdir@,$toolexeclibdir,;t t
18148 s,@dbexecdir@,$dbexecdir,;t t
18149 s,@GCJVERSION@,$GCJVERSION,;t t
18150 s,@gxx_include_dir@,$gxx_include_dir,;t t
18151 s,@libstdcxx_incdir@,$libstdcxx_incdir,;t t
18152 s,@ALLOCA@,$ALLOCA,;t t
18153 s,@PERL@,$PERL,;t t
18154 s,@SYSDEP_SOURCES@,$SYSDEP_SOURCES,;t t
18155 s,@LD_START_STATIC_SPEC@,$LD_START_STATIC_SPEC,;t t
18156 s,@LD_FINISH_STATIC_SPEC@,$LD_FINISH_STATIC_SPEC,;t t
18157 s,@here@,$here,;t t
18158 s,@LIBOBJS@,$LIBOBJS,;t t
18159 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
18164 cat >>$CONFIG_STATUS <<\_ACEOF
18165 # Split the substitutions into bite-sized pieces for seds with
18166 # small command number limits, like on Digital OSF/1 and HP-UX.
18167 ac_max_sed_lines
=48
18168 ac_sed_frag
=1 # Number of current file.
18169 ac_beg
=1 # First line for current file.
18170 ac_end
=$ac_max_sed_lines # Line after last line for current file.
18173 while $ac_more_lines; do
18174 if test $ac_beg -gt 1; then
18175 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
18177 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
18179 if test ! -s $tmp/subs.frag
; then
18180 ac_more_lines
=false
18182 # The purpose of the label and of the branching condition is to
18183 # speed up the sed processing (if there are no `@' at all, there
18184 # is no need to browse any of the substitutions).
18185 # These are the two extra sed commands mentioned above.
18187 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
18188 if test -z "$ac_sed_cmds"; then
18189 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
18191 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
18193 ac_sed_frag
=`expr $ac_sed_frag + 1`
18195 ac_end
=`expr $ac_end + $ac_max_sed_lines`
18198 if test -z "$ac_sed_cmds"; then
18201 fi # test -n "$CONFIG_FILES"
18204 cat >>$CONFIG_STATUS <<\_ACEOF
18205 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
18206 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18208 - |
*:- |
*:-:* ) # input from stdin
18210 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18211 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18212 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18213 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18214 * ) ac_file_in
=$ac_file.
in ;;
18217 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
18218 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
18219 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18220 X"$ac_file" : 'X\(//\)[^/]' \| \
18221 X"$ac_file" : 'X\(//\)$' \| \
18222 X"$ac_file" : 'X\(/\)' \| \
18223 . : '\(.\)' 2>/dev/null ||
18225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18226 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18227 /^X\(\/\/\)$/{ s//\1/; q; }
18228 /^X\(\/\).*/{ s//\1/; q; }
18230 { if $as_mkdir_p; then
18235 while test ! -d "$as_dir"; do
18236 as_dirs
="$as_dir $as_dirs"
18237 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18238 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18239 X"$as_dir" : 'X\(//\)[^/]' \| \
18240 X"$as_dir" : 'X\(//\)$' \| \
18241 X"$as_dir" : 'X\(/\)' \| \
18242 . : '\(.\)' 2>/dev/null ||
18244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18245 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18246 /^X\(\/\/\)$/{ s//\1/; q; }
18247 /^X\(\/\).*/{ s//\1/; q; }
18250 test ! -n "$as_dirs" || mkdir
$as_dirs
18251 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18252 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18253 { (exit 1); exit 1; }; }; }
18257 if test "$ac_dir" != .
; then
18258 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18259 # A "../" for each directory in $ac_dir_suffix.
18260 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18262 ac_dir_suffix
= ac_top_builddir
=
18266 .
) # No --srcdir option. We are building in place.
18268 if test -z "$ac_top_builddir"; then
18271 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18273 [\\/]* | ?
:[\\/]* ) # Absolute path.
18274 ac_srcdir
=$srcdir$ac_dir_suffix;
18275 ac_top_srcdir
=$srcdir ;;
18276 *) # Relative path.
18277 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18278 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18281 # Do not use `cd foo && pwd` to compute absolute paths, because
18282 # the directories may not exist.
18284 .
) ac_abs_builddir
="$ac_dir";;
18287 .
) ac_abs_builddir
=`pwd`;;
18288 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
18289 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
18292 case $ac_abs_builddir in
18293 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18295 case ${ac_top_builddir}.
in
18296 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
18297 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18298 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
18301 case $ac_abs_builddir in
18302 .
) ac_abs_srcdir
=$ac_srcdir;;
18305 .
) ac_abs_srcdir
=$ac_abs_builddir;;
18306 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
18307 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
18310 case $ac_abs_builddir in
18311 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
18313 case $ac_top_srcdir in
18314 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
18315 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
18316 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
18322 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18323 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
18326 if test x
"$ac_file" != x-
; then
18327 { echo "$as_me:$LINENO: creating $ac_file" >&5
18328 echo "$as_me: creating $ac_file" >&6;}
18331 # Let's still pretend it is `configure' which instantiates (i.e., don't
18332 # use $as_me), people would be surprised to read:
18333 # /* config.h. Generated by config.status. */
18334 if test x
"$ac_file" = x-
; then
18337 configure_input
="$ac_file. "
18339 configure_input
=$configure_input"Generated from `echo $ac_file_in |
18340 sed 's,.*/,,'` by configure."
18342 # First look for the input files in the build tree, otherwise in the
18344 ac_file_inputs
=`IFS=:
18345 for f in $ac_file_in; do
18347 -) echo $tmp/stdin ;;
18349 # Absolute (can't be DOS-style, as IFS=:)
18350 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18351 echo "$as_me: error: cannot find input file: $f" >&2;}
18352 { (exit 1); exit 1; }; }
18355 if test -f "$f"; then
18358 elif test -f "$srcdir/$f"; then
18363 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18364 echo "$as_me: error: cannot find input file: $f" >&2;}
18365 { (exit 1); exit 1; }; }
18368 done` ||
{ (exit 1); exit 1; }
18370 cat >>$CONFIG_STATUS <<_ACEOF
18374 cat >>$CONFIG_STATUS <<\_ACEOF
18376 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18377 s
,@configure_input@
,$configure_input,;t t
18378 s
,@srcdir@
,$ac_srcdir,;t t
18379 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
18380 s
,@top_srcdir@
,$ac_top_srcdir,;t t
18381 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
18382 s
,@builddir@
,$ac_builddir,;t t
18383 s
,@abs_builddir@
,$ac_abs_builddir,;t t
18384 s
,@top_builddir@
,$ac_top_builddir,;t t
18385 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
18386 s
,@INSTALL@
,$ac_INSTALL,;t t
18387 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
18389 if test x"$ac_file" != x-; then
18390 mv $tmp/out $ac_file
18396 # Run the commands associated with the file.
18398 scripts/jar ) chmod +x scripts/jar ;;
18402 cat >>$CONFIG_STATUS <<\_ACEOF
18405 # CONFIG_HEADER section.
18408 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
18409 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18411 # ac_d sets the value in "#define NAME VALUE" lines.
18412 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18413 ac_dB
='[ ].*$,\1#\2'
18416 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18417 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18418 ac_uB
='$,\1#\2define\3'
18422 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
18423 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18425 - |
*:- |
*:-:* ) # input from stdin
18427 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18428 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18429 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18430 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18431 * ) ac_file_in
=$ac_file.
in ;;
18434 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
18435 echo "$as_me: creating $ac_file" >&6;}
18437 # First look for the input files in the build tree, otherwise in the
18439 ac_file_inputs
=`IFS=:
18440 for f in $ac_file_in; do
18442 -) echo $tmp/stdin ;;
18444 # Absolute (can't be DOS-style, as IFS=:)
18445 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18446 echo "$as_me: error: cannot find input file: $f" >&2;}
18447 { (exit 1); exit 1; }; }
18448 # Do quote $f, to prevent DOS paths from being IFS'd.
18451 if test -f "$f"; then
18454 elif test -f "$srcdir/$f"; then
18459 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18460 echo "$as_me: error: cannot find input file: $f" >&2;}
18461 { (exit 1); exit 1; }; }
18464 done` ||
{ (exit 1); exit 1; }
18465 # Remove the trailing spaces.
18466 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
18470 # Transform confdefs.h into two sed scripts, `conftest.defines' and
18471 # `conftest.undefs', that substitutes the proper values into
18472 # config.h.in to produce config.h. The first handles `#define'
18473 # templates, and the second `#undef' templates.
18474 # And first: Protect against being on the right side of a sed subst in
18475 # config.status. Protect against being in an unquoted here document
18476 # in config.status.
18477 rm -f conftest.defines conftest.undefs
18478 # Using a here document instead of a string reduces the quoting nightmare.
18479 # Putting comments in sed scripts is not portable.
18481 # `end' is used to avoid that the second main sed command (meant for
18482 # 0-ary CPP macros) applies to n-ary macro definitions.
18483 # See the Autoconf documentation for `clear'.
18484 cat >confdef2sed.
sed <<\_ACEOF
18489 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
18491 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
18494 # If some macros were called several times there might be several times
18495 # the same #defines, which is useless. Nevertheless, we may not want to
18496 # sort them, since we want the *last* AC-DEFINE to be honored.
18497 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
18498 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
18499 rm -f confdef2sed.sed
18501 # This sed command replaces #undef with comments. This is necessary, for
18502 # example, in the case of _POSIX_SOURCE, which is predefined and required
18503 # on some systems where configure will not decide to define it.
18504 cat >>conftest.undefs <<\_ACEOF
18505 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
18508 # Break up conftest.defines because some shells have a limit on the size
18509 # of here documents, and old seds have small limits too (100 cmds).
18510 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
18511 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
18512 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
18513 echo ' :' >>$CONFIG_STATUS
18514 rm -f conftest.tail
18515 while grep . conftest.defines >/dev/null
18517 # Write a limited-size here document to $tmp/defines.sed.
18518 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
18519 # Speed up: don't consider the non `#define' lines.
18520 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
18521 # Work around the forget-to-reset-the-flag bug.
18522 echo 't clr' >>$CONFIG_STATUS
18523 echo ': clr' >>$CONFIG_STATUS
18524 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
18526 sed -f $tmp/defines.sed $tmp/in >$tmp/out
18528 mv $tmp/out $tmp/in
18530 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
18531 rm -f conftest.defines
18532 mv conftest.
tail conftest.defines
18534 rm -f conftest.defines
18535 echo ' fi # grep' >>$CONFIG_STATUS
18536 echo >>$CONFIG_STATUS
18538 # Break up conftest.undefs because some shells have a limit on the size
18539 # of here documents, and old seds have small limits too (100 cmds).
18540 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
18541 rm -f conftest.
tail
18542 while grep . conftest.undefs
>/dev
/null
18544 # Write a limited-size here document to $tmp/undefs.sed.
18545 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
18546 # Speed up: don't consider the non
`#undef'
18547 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
18548 # Work around the forget-to-reset-the-flag bug.
18549 echo 't clr' >>$CONFIG_STATUS
18550 echo ': clr' >>$CONFIG_STATUS
18551 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
18553 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
18555 mv $tmp/out $tmp/in
18557 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
18558 rm -f conftest.undefs
18559 mv conftest.tail conftest.undefs
18561 rm -f conftest.undefs
18563 cat >>$CONFIG_STATUS <<\_ACEOF
18564 # Let's still pretend it is `configure
' which instantiates (i.e., don't
18565 # use $as_me), people would be surprised to read:
18566 # /* config.h. Generated by config.status. */
18567 if test x
"$ac_file" = x-
; then
18568 echo "/* Generated by configure. */" >$tmp/config.h
18570 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
18572 cat $tmp/in >>$tmp/config.h
18574 if test x
"$ac_file" != x-
; then
18575 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
18576 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
18577 echo "$as_me: $ac_file is unchanged" >&6;}
18579 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
18580 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18581 X"$ac_file" : 'X\(//\)[^/]' \| \
18582 X"$ac_file" : 'X\(//\)$' \| \
18583 X"$ac_file" : 'X\(/\)' \| \
18584 . : '\(.\)' 2>/dev/null ||
18586 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18587 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18588 /^X\(\/\/\)$/{ s//\1/; q; }
18589 /^X\(\/\).*/{ s//\1/; q; }
18591 { if $as_mkdir_p; then
18596 while test ! -d "$as_dir"; do
18597 as_dirs
="$as_dir $as_dirs"
18598 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18599 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18600 X"$as_dir" : 'X\(//\)[^/]' \| \
18601 X"$as_dir" : 'X\(//\)$' \| \
18602 X"$as_dir" : 'X\(/\)' \| \
18603 . : '\(.\)' 2>/dev/null ||
18605 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18606 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18607 /^X\(\/\/\)$/{ s//\1/; q; }
18608 /^X\(\/\).*/{ s//\1/; q; }
18611 test ! -n "$as_dirs" || mkdir
$as_dirs
18612 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18613 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18614 { (exit 1); exit 1; }; }; }
18617 mv $tmp/config.h
$ac_file
18621 rm -f $tmp/config.h
18623 # Compute $ac_file's index in $config_headers.
18625 for _am_header
in $config_headers :; do
18626 case $_am_header in
18627 $ac_file |
$ac_file:* )
18630 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18633 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
18634 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18635 X$ac_file : 'X\(//\)[^/]' \| \
18636 X$ac_file : 'X\(//\)$' \| \
18637 X$ac_file : 'X\(/\)' \| \
18638 . : '\(.\)' 2>/dev/null ||
18640 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18641 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18642 /^X\(\/\/\)$/{ s//\1/; q; }
18643 /^X\(\/\).*/{ s//\1/; q; }
18644 s/.*/./; q'`/stamp-h
$_am_stamp_count
18647 cat >>$CONFIG_STATUS <<\_ACEOF
18650 # CONFIG_LINKS section.
18653 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
18654 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
18655 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18657 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
18658 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
18660 if test ! -r $srcdir/$ac_source; then
18661 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
18662 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
18663 { (exit 1); exit 1; }; }
18667 # Make relative symlinks.
18668 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
18669 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18670 X"$ac_dest" : 'X\(//\)[^/]' \| \
18671 X"$ac_dest" : 'X\(//\)$' \| \
18672 X"$ac_dest" : 'X\(/\)' \| \
18673 . : '\(.\)' 2>/dev/null ||
18675 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18676 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18677 /^X\(\/\/\)$/{ s//\1/; q; }
18678 /^X\(\/\).*/{ s//\1/; q; }
18680 { if $as_mkdir_p; then
18681 mkdir
-p "$ac_dest_dir"
18683 as_dir
="$ac_dest_dir"
18685 while test ! -d "$as_dir"; do
18686 as_dirs
="$as_dir $as_dirs"
18687 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18688 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18689 X"$as_dir" : 'X\(//\)[^/]' \| \
18690 X"$as_dir" : 'X\(//\)$' \| \
18691 X"$as_dir" : 'X\(/\)' \| \
18692 . : '\(.\)' 2>/dev/null ||
18694 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18695 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18696 /^X\(\/\/\)$/{ s//\1/; q; }
18697 /^X\(\/\).*/{ s//\1/; q; }
18700 test ! -n "$as_dirs" || mkdir
$as_dirs
18701 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
18702 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
18703 { (exit 1); exit 1; }; }; }
18707 if test "$ac_dest_dir" != .
; then
18708 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
18709 # A "../" for each directory in $ac_dir_suffix.
18710 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18712 ac_dir_suffix
= ac_top_builddir
=
18716 .
) # No --srcdir option. We are building in place.
18718 if test -z "$ac_top_builddir"; then
18721 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18723 [\\/]* | ?
:[\\/]* ) # Absolute path.
18724 ac_srcdir
=$srcdir$ac_dir_suffix;
18725 ac_top_srcdir
=$srcdir ;;
18726 *) # Relative path.
18727 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18728 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18731 # Do not use `cd foo && pwd` to compute absolute paths, because
18732 # the directories may not exist.
18734 .
) ac_abs_builddir
="$ac_dest_dir";;
18736 case "$ac_dest_dir" in
18737 .
) ac_abs_builddir
=`pwd`;;
18738 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
18739 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
18742 case $ac_abs_builddir in
18743 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18745 case ${ac_top_builddir}.
in
18746 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
18747 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18748 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
18751 case $ac_abs_builddir in
18752 .
) ac_abs_srcdir
=$ac_srcdir;;
18755 .
) ac_abs_srcdir
=$ac_abs_builddir;;
18756 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
18757 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
18760 case $ac_abs_builddir in
18761 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
18763 case $ac_top_srcdir in
18764 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
18765 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
18766 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
18772 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
18773 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
18776 # Try a symlink, then a hard link, then a copy.
18777 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
18778 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
18779 cp -p $srcdir/$ac_source $ac_dest ||
18780 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
18781 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
18782 { (exit 1); exit 1; }; }
18785 cat >>$CONFIG_STATUS <<\_ACEOF
18788 # CONFIG_COMMANDS section.
18790 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
18791 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
18792 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18793 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
18794 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18795 X"$ac_dest" : 'X\(//\)[^/]' \| \
18796 X"$ac_dest" : 'X\(//\)$' \| \
18797 X"$ac_dest" : 'X\(/\)' \| \
18798 . : '\(.\)' 2>/dev/null ||
18800 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18801 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18802 /^X\(\/\/\)$/{ s//\1/; q; }
18803 /^X\(\/\).*/{ s//\1/; q; }
18805 { if $as_mkdir_p; then
18810 while test ! -d "$as_dir"; do
18811 as_dirs
="$as_dir $as_dirs"
18812 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18813 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18814 X"$as_dir" : 'X\(//\)[^/]' \| \
18815 X"$as_dir" : 'X\(//\)$' \| \
18816 X"$as_dir" : 'X\(/\)' \| \
18817 . : '\(.\)' 2>/dev/null ||
18819 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18820 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18821 /^X\(\/\/\)$/{ s//\1/; q; }
18822 /^X\(\/\).*/{ s//\1/; q; }
18825 test ! -n "$as_dirs" || mkdir
$as_dirs
18826 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18827 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18828 { (exit 1); exit 1; }; }; }
18832 if test "$ac_dir" != .
; then
18833 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18834 # A "../" for each directory in $ac_dir_suffix.
18835 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18837 ac_dir_suffix
= ac_top_builddir
=
18841 .
) # No --srcdir option. We are building in place.
18843 if test -z "$ac_top_builddir"; then
18846 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18848 [\\/]* | ?
:[\\/]* ) # Absolute path.
18849 ac_srcdir
=$srcdir$ac_dir_suffix;
18850 ac_top_srcdir
=$srcdir ;;
18851 *) # Relative path.
18852 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18853 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18856 # Do not use `cd foo && pwd` to compute absolute paths, because
18857 # the directories may not exist.
18859 .
) ac_abs_builddir
="$ac_dir";;
18862 .
) ac_abs_builddir
=`pwd`;;
18863 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
18864 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
18867 case $ac_abs_builddir in
18868 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18870 case ${ac_top_builddir}.
in
18871 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
18872 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18873 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
18876 case $ac_abs_builddir in
18877 .
) ac_abs_srcdir
=$ac_srcdir;;
18880 .
) ac_abs_srcdir
=$ac_abs_builddir;;
18881 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
18882 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
18885 case $ac_abs_builddir in
18886 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
18888 case $ac_top_srcdir in
18889 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
18890 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
18891 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
18896 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
18897 echo "$as_me: executing $ac_dest commands" >&6;}
18900 # Only add multilib support code if we just rebuilt the top-level
18902 case " $CONFIG_FILES " in
18904 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
18907 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
18908 # Strip MF so we end up with the name of the file.
18909 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18910 # Check whether this is an Automake generated Makefile or not.
18911 # We used to match only the files named `Makefile.in', but
18912 # some people rename them; so instead we look at the file content.
18913 # Grep'ing the first line is not enough: some people post-process
18914 # each Makefile.in and add a new line on top of each file to say so.
18915 # So let's grep whole file.
18916 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
18917 dirpart
=`(dirname "$mf") 2>/dev/null ||
18918 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18919 X"$mf" : 'X\(//\)[^/]' \| \
18920 X"$mf" : 'X\(//\)$' \| \
18921 X"$mf" : 'X\(/\)' \| \
18922 . : '\(.\)' 2>/dev/null ||
18924 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18925 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18926 /^X\(\/\/\)$/{ s//\1/; q; }
18927 /^X\(\/\).*/{ s//\1/; q; }
18932 # Extract the definition of DEPDIR, am__include, and am__quote
18933 # from the Makefile without running `make'.
18934 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18935 test -z "$DEPDIR" && continue
18936 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18937 test -z "am__include" && continue
18938 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18939 # When using ansi2knr, U may be empty or an underscore; expand it
18940 U
=`sed -n 's/^U = //p' < "$mf"`
18941 # Find all dependency output files, they are included files with
18942 # $(DEPDIR) in their names. We invoke sed twice because it is the
18943 # simplest approach to changing $(DEPDIR) to its actual value in the
18945 for file in `sed -n "
18946 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18947 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18948 # Make sure the directory exists.
18949 test -f "$dirpart/$file" && continue
18950 fdir
=`(dirname "$file") 2>/dev/null ||
18951 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18952 X"$file" : 'X\(//\)[^/]' \| \
18953 X"$file" : 'X\(//\)$' \| \
18954 X"$file" : 'X\(/\)' \| \
18955 . : '\(.\)' 2>/dev/null ||
18957 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18958 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18959 /^X\(\/\/\)$/{ s//\1/; q; }
18960 /^X\(\/\).*/{ s//\1/; q; }
18962 { if $as_mkdir_p; then
18963 mkdir
-p $dirpart/$fdir
18965 as_dir
=$dirpart/$fdir
18967 while test ! -d "$as_dir"; do
18968 as_dirs
="$as_dir $as_dirs"
18969 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18970 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18971 X"$as_dir" : 'X\(//\)[^/]' \| \
18972 X"$as_dir" : 'X\(//\)$' \| \
18973 X"$as_dir" : 'X\(/\)' \| \
18974 . : '\(.\)' 2>/dev/null ||
18976 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18977 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18978 /^X\(\/\/\)$/{ s//\1/; q; }
18979 /^X\(\/\).*/{ s//\1/; q; }
18982 test ! -n "$as_dirs" || mkdir
$as_dirs
18983 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
18984 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
18985 { (exit 1); exit 1; }; }; }
18987 # echo "creating $dirpart/$file"
18988 echo '# dummy' > "$dirpart/$file"
18992 default
) # Only add multilib support code if we just rebuilt top-level Makefile.
18993 case " $CONFIG_FILES " in
18995 LD
="${ORIGINAL_LD_FOR_MULTILIBS}"
18996 ac_file
=Makefile .
${multi_basedir}/.
/libjava
/..
/config-ml.
in
18999 for ac_multi_file
in $CONFIG_FILES; do
19000 case $ac_multi_file in
19002 grep "^MULTI[^ ]* =" Makefile
>> "$ac_multi_file" ;;
19010 cat >>$CONFIG_STATUS <<\_ACEOF
19012 { (exit 0); exit 0; }
19014 chmod +x
$CONFIG_STATUS
19015 ac_clean_files
=$ac_clean_files_save
19018 # configure is writing to config.log, and then calls config.status.
19019 # config.status does its own redirection, appending to config.log.
19020 # Unfortunately, on DOS this fails, as config.log is still kept open
19021 # by configure, so config.status won't be able to write to it; its
19022 # output is simply discarded. So we exec the FD to /dev/null,
19023 # effectively closing config.log, so it can be properly (re)opened and
19024 # appended to by config.status. When coming back to configure, we
19025 # need to make the FD available again.
19026 if test "$no_create" != yes; then
19028 ac_config_status_args
=
19029 test "$silent" = yes &&
19030 ac_config_status_args
="$ac_config_status_args --quiet"
19032 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19034 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19035 # would make configure fail if this is the last instruction.
19036 $ac_cs_success ||
{ (exit 1); exit 1; }
19040 # CONFIG_SUBDIRS section.
19042 if test "$no_recursion" != yes; then
19044 # Remove --cache-file and --srcdir arguments so they do not pile up.
19045 ac_sub_configure_args
=
19047 for ac_arg
in $ac_configure_args; do
19048 if test -n "$ac_prev"; then
19053 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
19054 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
19055 ac_prev
=cache_file
;;
19056 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
19057 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
19060 --config-cache |
-C)
19062 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
19064 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
19066 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
19068 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
19070 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
19074 # Always prepend --prefix to ensure using the same prefix
19075 # in subdir configurations.
19076 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
19079 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
19081 # Do not complain, so a configure script can configure whichever
19082 # parts of a large source tree are present.
19083 test -d $srcdir/$ac_dir ||
continue
19085 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
19086 echo "$as_me: configuring in $ac_dir" >&6;}
19087 { if $as_mkdir_p; then
19092 while test ! -d "$as_dir"; do
19093 as_dirs
="$as_dir $as_dirs"
19094 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
19095 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19096 X"$as_dir" : 'X\(//\)[^/]' \| \
19097 X"$as_dir" : 'X\(//\)$' \| \
19098 X"$as_dir" : 'X\(/\)' \| \
19099 . : '\(.\)' 2>/dev/null ||
19101 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19102 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19103 /^X\(\/\/\)$/{ s//\1/; q; }
19104 /^X\(\/\).*/{ s//\1/; q; }
19107 test ! -n "$as_dirs" || mkdir
$as_dirs
19108 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19109 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19110 { (exit 1); exit 1; }; }; }
19114 if test "$ac_dir" != .
; then
19115 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
19116 # A "../" for each directory in $ac_dir_suffix.
19117 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
19119 ac_dir_suffix
= ac_top_builddir
=
19123 .
) # No --srcdir option. We are building in place.
19125 if test -z "$ac_top_builddir"; then
19128 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
19130 [\\/]* | ?
:[\\/]* ) # Absolute path.
19131 ac_srcdir
=$srcdir$ac_dir_suffix;
19132 ac_top_srcdir
=$srcdir ;;
19133 *) # Relative path.
19134 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
19135 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
19138 # Do not use `cd foo && pwd` to compute absolute paths, because
19139 # the directories may not exist.
19141 .
) ac_abs_builddir
="$ac_dir";;
19144 .
) ac_abs_builddir
=`pwd`;;
19145 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
19146 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
19149 case $ac_abs_builddir in
19150 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
19152 case ${ac_top_builddir}.
in
19153 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
19154 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
19155 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
19158 case $ac_abs_builddir in
19159 .
) ac_abs_srcdir
=$ac_srcdir;;
19162 .
) ac_abs_srcdir
=$ac_abs_builddir;;
19163 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
19164 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
19167 case $ac_abs_builddir in
19168 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
19170 case $ac_top_srcdir in
19171 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
19172 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
19173 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
19180 # Check for guested configure; otherwise get Cygnus style configure.
19181 if test -f $ac_srcdir/configure.gnu
; then
19182 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
19183 elif test -f $ac_srcdir/configure
; then
19184 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
19185 elif test -f $ac_srcdir/configure.
in; then
19186 ac_sub_configure
=$ac_configure
19188 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
19189 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
19193 # The recursion is here.
19194 if test -n "$ac_sub_configure"; then
19195 # Make the cache file name correct relative to the subdirectory.
19196 case $cache_file in
19197 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
19198 *) # Relative path.
19199 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
19202 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
19203 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
19204 # The eval makes quoting arguments work.
19205 eval $ac_sub_configure $ac_sub_configure_args \
19206 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
19207 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
19208 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
19209 { (exit 1); exit 1; }; }