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_subdir host_subdir target_subdir libgcj_basedir host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical LN_S mkinstalldirs CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LDFLAGS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBGCJ_CFLAGS LIBGCJ_CXXFLAGS LIBGCJ_JAVAFLAGS LIBGCJ_LD_SYMBOLIC LIBGCJDEBUG TOOLKIT XLIB_AWT_TRUE XLIB_AWT_FALSE GTK_AWT_TRUE GTK_AWT_FALSE QT_AWT_TRUE QT_AWT_FALSE GCJH ZIP INCLTDL LIBLTDL DIRLTDL LIBTOOL CXXCPP CPPFLAGS GCJ GCJFLAGS GCJDEPMODE am__fastdepGCJ_TRUE am__fastdepGCJ_FALSE subdirs TESTSUBDIR_TRUE TESTSUBDIR_FALSE JAVA_HOME_SET_TRUE JAVA_HOME_SET_FALSE JAVA_HOME INTERPRETER LIBFFI LIBFFIINCS PLATFORM_INNER_NAT_HDRS CPP EGREP USING_WIN32_PLATFORM_TRUE USING_WIN32_PLATFORM_FALSE USING_POSIX_PLATFORM_TRUE USING_POSIX_PLATFORM_FALSE USING_DARWIN_CRT_TRUE USING_DARWIN_CRT_FALSE SYSTEMSPEC LIBGCJTESTSPEC ZLIBSPEC ZLIBTESTSPEC X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS GTK_CAIRO_TRUE GTK_CAIRO_FALSE PKG_CONFIG CAIRO_CFLAGS CAIRO_LIBS PANGOFT2_CFLAGS PANGOFT2_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 THREADLDFLAGS THREADCXXFLAGS USING_POSIX_THREADS_TRUE USING_POSIX_THREADS_FALSE USING_WIN32_THREADS_TRUE USING_WIN32_THREADS_FALSE USING_NO_THREADS_TRUE USING_NO_THREADS_FALSE HASH_SYNC_SPEC USING_GCC_TRUE USING_GCC_FALSE LIBICONV LTLIBICONV GTK_CFLAGS GTK_LIBS GLIB_CFLAGS GLIB_LIBS LIBART_CFLAGS LIBART_LIBS CLASSPATH_SEPARATOR ac_ct_GCJ ZLIBS SYS_ZLIBS ZINCS DIVIDESPEC CHECKREFSPEC EXCEPTIONSPEC BACKTRACESPEC IEEESPEC NATIVE_TRUE NATIVE_FALSE NEEDS_DATA_START_TRUE NEEDS_DATA_START_FALSE GCC_UNWIND_INCLUDE toolexecdir toolexecmainlibdir toolexeclibdir dbexecdir GCJVERSION gxx_include_dir libstdcxx_incdir ALLOCA PERL SYSDEP_SOURCES here LIBOBJS LTLIBOBJS'
316 # Initialize some variables set by options.
318 ac_init_version
=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
328 program_transform_name
=s
,x
,x
,
336 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo"
338 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them.
341 bindir
='${exec_prefix}/bin'
342 sbindir
='${exec_prefix}/sbin'
343 libexecdir
='${exec_prefix}/libexec'
344 datadir
='${prefix}/share'
345 sysconfdir
='${prefix}/etc'
346 sharedstatedir
='${prefix}/com'
347 localstatedir
='${prefix}/var'
348 libdir
='${exec_prefix}/lib'
349 includedir
='${prefix}/include'
350 oldincludedir
='/usr/include'
351 infodir
='${prefix}/info'
352 mandir
='${prefix}/man'
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
364 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366 # Accept the important Cygnus configure options, so we can diagnose typos.
370 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
372 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
375 -build |
--build |
--buil |
--bui |
--bu)
376 ac_prev
=build_alias
;;
377 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
378 build_alias
=$ac_optarg ;;
380 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
381 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
382 ac_prev
=cache_file
;;
383 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
384 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
385 cache_file
=$ac_optarg ;;
388 cache_file
=config.cache
;;
390 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
392 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
394 datadir
=$ac_optarg ;;
396 -disable-* |
--disable-*)
397 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401 { (exit 1); exit 1; }; }
402 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;;
405 -enable-* |
--enable-*)
406 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410 { (exit 1); exit 1; }; }
411 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
413 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 eval "enable_$ac_feature='$ac_optarg'" ;;
418 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
419 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
420 |
--exec |
--exe |
--ex)
421 ac_prev
=exec_prefix
;;
422 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
423 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
424 |
--exec=* |
--exe=* |
--ex=*)
425 exec_prefix
=$ac_optarg ;;
427 -gas |
--gas |
--ga |
--g)
428 # Obsolete; use --with-gas.
431 -help |
--help |
--hel |
--he |
-h)
433 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
434 ac_init_help
=recursive
;;
435 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
436 ac_init_help
=short
;;
438 -host |
--host |
--hos |
--ho)
439 ac_prev
=host_alias
;;
440 -host=* |
--host=* |
--hos=* |
--ho=*)
441 host_alias
=$ac_optarg ;;
443 -includedir |
--includedir |
--includedi |
--included |
--include \
444 |
--includ |
--inclu |
--incl |
--inc)
445 ac_prev
=includedir
;;
446 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
447 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
448 includedir
=$ac_optarg ;;
450 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
452 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
453 infodir
=$ac_optarg ;;
455 -libdir |
--libdir |
--libdi |
--libd)
457 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
460 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
461 |
--libexe |
--libex |
--libe)
462 ac_prev
=libexecdir
;;
463 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
464 |
--libexe=* |
--libex=* |
--libe=*)
465 libexecdir
=$ac_optarg ;;
467 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
468 |
--localstate |
--localstat |
--localsta |
--localst \
469 |
--locals |
--local |
--loca |
--loc |
--lo)
470 ac_prev
=localstatedir
;;
471 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
472 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
473 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
474 localstatedir
=$ac_optarg ;;
476 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
478 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
482 # Obsolete; use --without-fp.
485 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
486 |
--no-cr |
--no-c |
-n)
489 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
490 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
493 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
494 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
495 |
--oldin |
--oldi |
--old |
--ol |
--o)
496 ac_prev
=oldincludedir
;;
497 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
498 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
499 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
500 oldincludedir
=$ac_optarg ;;
502 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
504 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
507 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
508 |
--program-pre |
--program-pr |
--program-p)
509 ac_prev
=program_prefix
;;
510 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
511 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
512 program_prefix
=$ac_optarg ;;
514 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
515 |
--program-suf |
--program-su |
--program-s)
516 ac_prev
=program_suffix
;;
517 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
518 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
519 program_suffix
=$ac_optarg ;;
521 -program-transform-name |
--program-transform-name \
522 |
--program-transform-nam |
--program-transform-na \
523 |
--program-transform-n |
--program-transform- \
524 |
--program-transform |
--program-transfor \
525 |
--program-transfo |
--program-transf \
526 |
--program-trans |
--program-tran \
527 |
--progr-tra |
--program-tr |
--program-t)
528 ac_prev
=program_transform_name
;;
529 -program-transform-name=* |
--program-transform-name=* \
530 |
--program-transform-nam=* |
--program-transform-na=* \
531 |
--program-transform-n=* |
--program-transform-=* \
532 |
--program-transform=* |
--program-transfor=* \
533 |
--program-transfo=* |
--program-transf=* \
534 |
--program-trans=* |
--program-tran=* \
535 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
536 program_transform_name
=$ac_optarg ;;
538 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
539 |
-silent |
--silent |
--silen |
--sile |
--sil)
542 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
544 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
546 sbindir
=$ac_optarg ;;
548 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
549 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
550 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
552 ac_prev
=sharedstatedir
;;
553 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
554 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
555 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
557 sharedstatedir
=$ac_optarg ;;
559 -site |
--site |
--sit)
561 -site=* |
--site=* |
--sit=*)
564 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
566 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
569 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
570 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
571 ac_prev
=sysconfdir
;;
572 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
573 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
574 sysconfdir
=$ac_optarg ;;
576 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
577 ac_prev
=target_alias
;;
578 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
579 target_alias
=$ac_optarg ;;
581 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
584 -version |
--version |
--versio |
--versi |
--vers |
-V)
588 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; }
593 ac_package
=`echo $ac_package| sed 's/-/_/g'`
595 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 eval "with_$ac_package='$ac_optarg'" ;;
600 -without-* |
--without-*)
601 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2
605 { (exit 1); exit 1; }; }
606 ac_package
=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;;
610 # Obsolete; use --with-x.
613 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
614 |
--x-incl |
--x-inc |
--x-in |
--x-i)
615 ac_prev
=x_includes
;;
616 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
617 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
618 x_includes
=$ac_optarg ;;
620 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
621 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
622 ac_prev
=x_libraries
;;
623 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
624 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
625 x_libraries
=$ac_optarg ;;
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629 { (exit 1); exit 1; }; }
633 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
634 # Reject names that are not valid shell variable names.
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637 { (exit 1); exit 1; }; }
638 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639 eval "$ac_envvar='$ac_optarg'"
643 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653 if test -n "$ac_prev"; then
654 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2
656 { (exit 1); exit 1; }; }
659 # Be sure to have absolute paths.
660 for ac_var
in exec_prefix prefix
662 eval ac_val
=$
`echo $ac_var`
664 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
670 # Be sure to have absolute paths.
671 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
674 eval ac_val
=$
`echo $ac_var`
676 [\\/$
]* | ?
:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
682 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc.
684 # FIXME: To remove some day.
689 # FIXME: To remove some day.
690 if test "x$host_alias" != x
; then
691 if test "x$build_alias" = x
; then
692 cross_compiling
=maybe
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694 If a cross compiler is detected then cross compile mode will be used." >&2
695 elif test "x$build_alias" != "x$host_alias"; then
701 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
703 test "$silent" = yes && exec 6>/dev
/null
706 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then
708 ac_srcdir_defaulted
=yes
709 # Try the directory containing this script, then its parent.
710 ac_confdir
=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \
715 . : '\(.\)' 2>/dev/null ||
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
723 if test ! -r $srcdir/$ac_unique_file; then
727 ac_srcdir_defaulted
=no
729 if test ! -r $srcdir/$ac_unique_file; then
730 if test "$ac_srcdir_defaulted" = yes; then
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732 { (exit 1); exit 1; }; }
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735 { (exit 1); exit 1; }; }
738 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740 { (exit 1); exit 1; }; }
741 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set
=${build_alias+set}
743 ac_env_build_alias_value
=$build_alias
744 ac_cv_env_build_alias_set
=${build_alias+set}
745 ac_cv_env_build_alias_value
=$build_alias
746 ac_env_host_alias_set
=${host_alias+set}
747 ac_env_host_alias_value
=$host_alias
748 ac_cv_env_host_alias_set
=${host_alias+set}
749 ac_cv_env_host_alias_value
=$host_alias
750 ac_env_target_alias_set
=${target_alias+set}
751 ac_env_target_alias_value
=$target_alias
752 ac_cv_env_target_alias_set
=${target_alias+set}
753 ac_cv_env_target_alias_value
=$target_alias
754 ac_env_CXXCPP_set
=${CXXCPP+set}
755 ac_env_CXXCPP_value
=$CXXCPP
756 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
757 ac_cv_env_CXXCPP_value
=$CXXCPP
758 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
759 ac_env_CPPFLAGS_value
=$CPPFLAGS
760 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
761 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
762 ac_env_CPP_set
=${CPP+set}
763 ac_env_CPP_value
=$CPP
764 ac_cv_env_CPP_set
=${CPP+set}
765 ac_cv_env_CPP_value
=$CPP
768 # Report the --help message.
770 if test "$ac_init_help" = "long"; then
771 # Omit some internal or obsolete options to make the list less imposing.
772 # This message is too long to be a string in the A/UX 3.1 sh.
774 \`configure' configures libjava version-unused to adapt to many kinds of systems.
776 Usage: $0 [OPTION]... [VAR=VALUE]...
778 To assign environment variables (e.g., CC, CFLAGS...), specify them as
779 VAR=VALUE. See below for descriptions of some of the useful variables.
781 Defaults for the options are specified in brackets.
784 -h, --help display this help and exit
785 --help=short display options specific to this package
786 --help=recursive display the short help of all the included packages
787 -V, --version display version information and exit
788 -q, --quiet, --silent do not print \`checking...' messages
789 --cache-file=FILE cache test results in FILE [disabled]
790 -C, --config-cache alias for \`--cache-file=config.cache'
791 -n, --no-create do not create output files
792 --srcdir=DIR find the sources in DIR [configure dir or \`..']
797 Installation directories:
798 --prefix=PREFIX install architecture-independent files in PREFIX
800 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
803 By default, \`make install' will install all the files in
804 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
805 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
806 for instance \`--prefix=\$HOME'.
808 For better control, use the options below.
810 Fine tuning of the installation directories:
811 --bindir=DIR user executables [EPREFIX/bin]
812 --sbindir=DIR system admin executables [EPREFIX/sbin]
813 --libexecdir=DIR program executables [EPREFIX/libexec]
814 --datadir=DIR read-only architecture-independent data [PREFIX/share]
815 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
816 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
817 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
818 --libdir=DIR object code libraries [EPREFIX/lib]
819 --includedir=DIR C header files [PREFIX/include]
820 --oldincludedir=DIR C header files for non-gcc [/usr/include]
821 --infodir=DIR info documentation [PREFIX/info]
822 --mandir=DIR man documentation [PREFIX/man]
828 --program-prefix=PREFIX prepend PREFIX to installed program names
829 --program-suffix=SUFFIX append SUFFIX to installed program names
830 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
833 --x-includes=DIR X include files are
in DIR
834 --x-libraries=DIR X library files are
in DIR
837 --build=BUILD configure
for building on BUILD
[guessed
]
838 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
839 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
843 if test -n "$ac_init_help"; then
844 case $ac_init_help in
845 short | recursive
) echo "Configuration of libjava version-unused:";;
850 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
851 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
852 --enable-version-specific-runtime-libs
853 specify that runtime libraries should be installed
854 in a compiler-specific directory
855 --enable-multilib build many library versions
(default
)
856 --disable-dependency-tracking speeds up one-time build
857 --enable-dependency-tracking do not reject slow dependency extractors
858 --enable-maintainer-mode enable make rules and dependencies not useful
859 (and sometimes confusing
) to the casual installer
860 --enable-libgcj-debug enable runtime debugging code
861 --enable-java-awt list of AWT peer implementations to be built
862 --enable-shared=PKGS build shared libraries default
=yes
863 --enable-static=PKGS build static libraries default
=yes
864 --enable-fast-install=PKGS optimize
for fast installation default
=yes
865 --disable-libtool-lock avoid locking
(might
break parallel builds
)
866 --disable-getenv-properties
867 don
't set system properties from GCJ_PROPERTIES
868 --enable-hash-synchronization
869 use global hash table for monitor locks
870 --enable-gc-debug include full support for pointer backtracing etc.
871 --enable-interpreter enable interpreter
872 --enable-sjlj-exceptions
873 force use of builtin_setjmp for exceptions
874 --disable-java-net disable java.net
875 --disable-jvmpi disable JVMPI support
876 --enable-gtk-cairo build the cairo Graphics2D implementation on GTK
877 --enable-java-gc=TYPE choose garbage collector (default is boehm)
878 --disable-rpath do not hardcode runtime library paths
879 _g_switchUse thread-local storage
883 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
884 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
885 --with-target-subdir=SUBDIR
886 configure in a subdirectory
887 --with-cross-host=HOST configure with a cross compiler from HOST
888 --with-newlib configure with newlib
889 --with-gnu-ld assume the C compiler uses GNU ld default=no
890 --with-pic try to use only PIC/non-PIC objects default=use both
891 --with-java-home=DIRECTORY
892 value of java.home system property
893 --with-win32-nlsapi=ansi or unicows or unicode
894 native MinGW libgcj Win32 OS API (default is ansi)
895 --without-libffi don't use libffi
896 --with-ecos enable runtime eCos target support
897 --with-system-zlib use installed libz
898 --with-x use the X Window System
899 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
900 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
902 Some influential environment variables:
903 CC C compiler command
904 CFLAGS C compiler flags
905 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
906 nonstandard directory <lib dir>
907 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
908 headers in a nonstandard directory <include dir>
909 CXX C++ compiler command
910 CXXFLAGS C++ compiler flags
911 CXXCPP C++ preprocessor
914 Use these variables to override the choices made by `configure' or to
help
915 it to
find libraries and programs with nonstandard names
/locations.
920 if test "$ac_init_help" = "recursive"; then
921 # If there are subdirs, report their specific --help.
923 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
924 test -d $ac_dir ||
continue
927 if test "$ac_dir" != .
; then
928 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
929 # A "../" for each directory in $ac_dir_suffix.
930 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
932 ac_dir_suffix
= ac_top_builddir
=
936 .
) # No --srcdir option. We are building in place.
938 if test -z "$ac_top_builddir"; then
941 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
943 [\\/]* | ?
:[\\/]* ) # Absolute path.
944 ac_srcdir
=$srcdir$ac_dir_suffix;
945 ac_top_srcdir
=$srcdir ;;
947 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
948 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
951 # Do not use `cd foo && pwd` to compute absolute paths, because
952 # the directories may not exist.
954 .
) ac_abs_builddir
="$ac_dir";;
957 .
) ac_abs_builddir
=`pwd`;;
958 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
959 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
962 case $ac_abs_builddir in
963 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
965 case ${ac_top_builddir}.
in
966 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
967 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
968 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
971 case $ac_abs_builddir in
972 .
) ac_abs_srcdir
=$ac_srcdir;;
975 .
) ac_abs_srcdir
=$ac_abs_builddir;;
976 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
977 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
980 case $ac_abs_builddir in
981 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
983 case $ac_top_srcdir in
984 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
985 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
986 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
991 # Check for guested configure; otherwise get Cygnus style configure.
992 if test -f $ac_srcdir/configure.gnu
; then
994 $SHELL $ac_srcdir/configure.gnu
--help=recursive
995 elif test -f $ac_srcdir/configure
; then
997 $SHELL $ac_srcdir/configure
--help=recursive
998 elif test -f $ac_srcdir/configure.ac ||
999 test -f $ac_srcdir/configure.
in; then
1001 $ac_configure --help
1003 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1009 test -n "$ac_init_help" && exit 0
1010 if $ac_init_version; then
1012 libjava configure version-unused
1013 generated by GNU Autoconf
2.59
1015 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1016 This configure
script is free software
; the Free Software Foundation
1017 gives unlimited permission to copy
, distribute and modify it.
1023 This file contains any messages produced by compilers while
1024 running configure, to aid debugging if configure makes a mistake.
1026 It was created by libjava $as_me version-unused, which was
1027 generated by GNU Autoconf 2.59. Invocation command line was
1038 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1039 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1040 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1041 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1042 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1044 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1045 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1047 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1048 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1049 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1050 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1051 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1052 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1053 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1061 test -z "$as_dir" && as_dir
=.
1062 echo "PATH: $as_dir"
1077 # Keep a trace of the command line.
1078 # Strip out --no-create and --no-recursion so they do not pile up.
1079 # Strip out --silent because we don't want to record it for future runs.
1080 # Also quote any args containing shell meta-characters.
1081 # Make two passes to allow for proper duplicate-argument suppression.
1086 ac_must_keep_next
=false
1092 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1093 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1094 |
-silent |
--silent |
--silen |
--sile |
--sil)
1096 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1097 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1100 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1102 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1103 if test $ac_must_keep_next = true
; then
1104 ac_must_keep_next
=false
# Got value, back to normal.
1107 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1108 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1109 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1110 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1111 case "$ac_configure_args0 " in
1112 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1115 -* ) ac_must_keep_next
=true
;;
1118 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1119 # Get rid of the leading space.
1125 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1126 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1128 # When interrupted or exit'd, cleanup temporary files, and complete
1129 # config.log. We remove comments because anyway the quotes in there
1130 # would cause problems or look ugly.
1131 # WARNING: Be sure not to use single quotes in there, as some shells,
1132 # such as our DU 5.0 friend, will then `close' the trap.
1133 trap 'exit_status=$?
1134 # Save into config.log some information that might help in debugging.
1139 ## ---------------- ##
1140 ## Cache variables. ##
1141 ## ---------------- ##
1144 # The following way of writing the cache mishandles newlines in values,
1147 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1150 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1151 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1155 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1162 ## ----------------- ##
1163 ## Output variables. ##
1164 ## ----------------- ##
1167 for ac_var in $ac_subst_vars
1169 eval ac_val=$`echo $ac_var`
1170 echo "$ac_var='"'"'$ac_val'"'"'"
1174 if test -n "$ac_subst_files"; then
1181 for ac_var in $ac_subst_files
1183 eval ac_val=$`echo $ac_var`
1184 echo "$ac_var='"'"'$ac_val'"'"'"
1189 if test -s confdefs.h; then
1196 sed "/^$/d" confdefs.h | sort
1199 test "$ac_signal" != 0 &&
1200 echo "$as_me: caught signal $ac_signal"
1201 echo "$as_me: exit $exit_status"
1203 rm -f core *.core &&
1204 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1207 for ac_signal
in 1 2 13 15; do
1208 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1212 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1213 rm -rf conftest
* confdefs.h
1214 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1217 # Predefined preprocessor variables.
1219 cat >>confdefs.h
<<_ACEOF
1220 #define PACKAGE_NAME "$PACKAGE_NAME"
1224 cat >>confdefs.h
<<_ACEOF
1225 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1229 cat >>confdefs.h
<<_ACEOF
1230 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1234 cat >>confdefs.h
<<_ACEOF
1235 #define PACKAGE_STRING "$PACKAGE_STRING"
1239 cat >>confdefs.h
<<_ACEOF
1240 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1244 # Let the site file select an alternate cache file if it wants to.
1245 # Prefer explicitly selected file to automatically selected ones.
1246 if test -z "$CONFIG_SITE"; then
1247 if test "x$prefix" != xNONE
; then
1248 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1250 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1253 for ac_site_file
in $CONFIG_SITE; do
1254 if test -r "$ac_site_file"; then
1255 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1256 echo "$as_me: loading site script $ac_site_file" >&6;}
1257 sed 's/^/| /' "$ac_site_file" >&5
1262 if test -r "$cache_file"; then
1263 # Some versions of bash will fail to source /dev/null (special
1264 # files actually), so we avoid doing that.
1265 if test -f "$cache_file"; then
1266 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1267 echo "$as_me: loading cache $cache_file" >&6;}
1269 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1270 *) . .
/$cache_file;;
1274 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1275 echo "$as_me: creating cache $cache_file" >&6;}
1279 # Check that the precious variables saved in the cache have kept the same
1281 ac_cache_corrupted
=false
1282 for ac_var
in `(set) 2>&1 |
1283 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1284 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1285 eval ac_new_set
=\
$ac_env_${ac_var}_set
1286 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1287 eval ac_new_val
="\$ac_env_${ac_var}_value"
1288 case $ac_old_set,$ac_new_set in
1290 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1291 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1292 ac_cache_corrupted
=: ;;
1294 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1295 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1296 ac_cache_corrupted
=: ;;
1299 if test "x$ac_old_val" != "x$ac_new_val"; then
1300 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1301 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1302 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1303 echo "$as_me: former value: $ac_old_val" >&2;}
1304 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1305 echo "$as_me: current value: $ac_new_val" >&2;}
1306 ac_cache_corrupted
=:
1309 # Pass precious variables to config.status.
1310 if test "$ac_new_set" = set; then
1312 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1313 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1314 *) ac_arg
=$ac_var=$ac_new_val ;;
1316 case " $ac_configure_args " in
1317 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1318 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1322 if $ac_cache_corrupted; then
1323 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1324 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1325 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1326 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1327 { (exit 1); exit 1; }; }
1331 ac_cpp
='$CPP $CPPFLAGS'
1332 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1333 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1334 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1366 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1367 if test -f $ac_dir/install-sh
; then
1369 ac_install_sh
="$ac_aux_dir/install-sh -c"
1371 elif test -f $ac_dir/install.sh
; then
1373 ac_install_sh
="$ac_aux_dir/install.sh -c"
1375 elif test -f $ac_dir/shtool
; then
1377 ac_install_sh
="$ac_aux_dir/shtool install -c"
1381 if test -z "$ac_aux_dir"; then
1382 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1383 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1384 { (exit 1); exit 1; }; }
1386 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1387 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1388 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1390 # Make sure we can run config.sub.
1391 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1392 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1393 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1394 { (exit 1); exit 1; }; }
1396 echo "$as_me:$LINENO: checking build system type" >&5
1397 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1398 if test "${ac_cv_build+set}" = set; then
1399 echo $ECHO_N "(cached) $ECHO_C" >&6
1401 ac_cv_build_alias
=$build_alias
1402 test -z "$ac_cv_build_alias" &&
1403 ac_cv_build_alias
=`$ac_config_guess`
1404 test -z "$ac_cv_build_alias" &&
1405 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1406 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1407 { (exit 1); exit 1; }; }
1408 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1409 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1410 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1411 { (exit 1); exit 1; }; }
1414 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1415 echo "${ECHO_T}$ac_cv_build" >&6
1417 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1418 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1419 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1422 case ${build_alias} in
1423 "") build_noncanonical
=${build} ;;
1424 *) build_noncanonical
=${build_alias} ;;
1427 case ${host_alias} in
1428 "") host_noncanonical
=${build_noncanonical} ;;
1429 *) host_noncanonical
=${host_alias} ;;
1432 case ${target_alias} in
1433 "") target_noncanonical
=${host_noncanonical} ;;
1434 *) target_noncanonical
=${target_alias} ;;
1437 # Prefix 'build-' so this never conflicts with target_subdir.
1438 build_subdir
="build-${build_noncanonical}"
1439 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1440 if ( test $srcdir = .
&& test -d gcc
) \
1441 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1442 host_subdir
="host-${host_noncanonical}"
1447 target_subdir
=${target_noncanonical}
1450 # We use these options to decide which functions to include.
1452 # Check whether --with-target-subdir or --without-target-subdir was given.
1453 if test "${with_target_subdir+set}" = set; then
1454 withval
="$with_target_subdir"
1458 # We may get other options which we don't document:
1459 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1461 # When building with srcdir == objdir, links to the source files will
1462 # be created in directories within the target_subdir. We have to
1463 # adjust toplevel_srcdir accordingly, so that configure finds
1464 # install-sh and other auxiliary files that live in the top-level
1466 if test "${srcdir}" = "."; then
1467 if test -z "${with_target_subdir}"; then
1470 if test "${with_target_subdir}" != "."; then
1471 toprel
="${with_multisrctop}../.."
1473 toprel
="${with_multisrctop}.."
1480 libgcj_basedir
=$srcdir/$toprel/.
/libjava
1483 echo "$as_me:$LINENO: checking host system type" >&5
1484 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1485 if test "${ac_cv_host+set}" = set; then
1486 echo $ECHO_N "(cached) $ECHO_C" >&6
1488 ac_cv_host_alias
=$host_alias
1489 test -z "$ac_cv_host_alias" &&
1490 ac_cv_host_alias
=$ac_cv_build_alias
1491 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1492 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1493 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1494 { (exit 1); exit 1; }; }
1497 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1498 echo "${ECHO_T}$ac_cv_host" >&6
1500 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1501 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1502 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1505 echo "$as_me:$LINENO: checking target system type" >&5
1506 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1507 if test "${ac_cv_target+set}" = set; then
1508 echo $ECHO_N "(cached) $ECHO_C" >&6
1510 ac_cv_target_alias
=$target_alias
1511 test "x$ac_cv_target_alias" = "x" &&
1512 ac_cv_target_alias
=$ac_cv_host_alias
1513 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1514 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1515 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1516 { (exit 1); exit 1; }; }
1519 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1520 echo "${ECHO_T}$ac_cv_target" >&6
1521 target
=$ac_cv_target
1522 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1523 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1524 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1527 # The aliases save the names the user supplied, while $host etc.
1528 # will get canonicalized.
1529 test -n "$target_alias" &&
1530 test "$program_prefix$program_suffix$program_transform_name" = \
1532 program_prefix
=${target_alias}-
1533 case ${build_alias} in
1534 "") build_noncanonical
=${build} ;;
1535 *) build_noncanonical
=${build_alias} ;;
1538 case ${target_alias} in
1539 "") target_noncanonical
=${host_noncanonical} ;;
1540 *) target_noncanonical
=${target_alias} ;;
1546 # This works around the fact that libtool configuration may change LD
1547 # for this particular configuration, but some shells, instead of
1548 # keeping the changes in LD private, export them just because LD is
1550 ORIGINAL_LD_FOR_MULTILIBS
=$LD
1552 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1553 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1555 if test "$LN_S" = "ln -s"; then
1556 echo "$as_me:$LINENO: result: yes" >&5
1557 echo "${ECHO_T}yes" >&6
1559 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1560 echo "${ECHO_T}no, using $LN_S" >&6
1564 # This works around an automake problem.
1565 mkinstalldirs
="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
1569 # Check whether --with-cross-host or --without-cross-host was given.
1570 if test "${with_cross_host+set}" = set; then
1571 withval
="$with_cross_host"
1576 # Check whether --with-newlib or --without-newlib was given.
1577 if test "${with_newlib+set}" = set; then
1578 withval
="$with_newlib"
1582 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1583 if test "${enable_version_specific_runtime_libs+set}" = set; then
1584 enableval
="$enable_version_specific_runtime_libs"
1585 case "$enableval" in
1586 yes) version_specific_libs
=yes ;;
1587 no
) version_specific_libs
=no
;;
1588 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1589 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1590 { (exit 1); exit 1; }; };;
1593 version_specific_libs
=no
1597 # Default to --enable-multilib
1598 # Check whether --enable-multilib or --disable-multilib was given.
1599 if test "${enable_multilib+set}" = set; then
1600 enableval
="$enable_multilib"
1601 case "${enableval}" in
1602 yes) multilib
=yes ;;
1604 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
1605 echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
1606 { (exit 1); exit 1; }; } ;;
1611 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
1614 # (1) We use an abnormal CXX (without library references), so we
1615 # must cache it under a different name.
1616 # (2) CC, CFLAGS, CXX, CXXFLAGS, LDFLAGS must not be 'precious', or
1617 # the non-multilib-adjusted value will be used in multilibs.
1618 # (3) As a side effect, we must SUBST CXXFLAGS, CFLAGS, and LDFLAGS ourselves.
1619 # (4) As another side effect, automake doesn't automatically include them
1621 # (5) For libstdc++-v3, -fno-builtin must be present here so that a
1622 # non-conflicting form of std::exit can be guessed by AC_PROG_CXX, and
1623 # used in later tests. This may not be necessary in libjava; I don't know.
1627 save_CXXFLAGS
="$CXXFLAGS"
1628 CXXFLAGS
="$CXXFLAGS -fno-builtin"
1630 ac_cpp
='$CPP $CPPFLAGS'
1631 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1632 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1633 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1634 if test -n "$ac_tool_prefix"; then
1635 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1636 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1637 echo "$as_me:$LINENO: checking for $ac_word" >&5
1638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1639 if test "${ac_cv_prog_CC+set}" = set; then
1640 echo $ECHO_N "(cached) $ECHO_C" >&6
1642 if test -n "$CC"; then
1643 ac_cv_prog_CC
="$CC" # Let the user override the test.
1645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1649 test -z "$as_dir" && as_dir
=.
1650 for ac_exec_ext
in '' $ac_executable_extensions; do
1651 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1652 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1662 if test -n "$CC"; then
1663 echo "$as_me:$LINENO: result: $CC" >&5
1664 echo "${ECHO_T}$CC" >&6
1666 echo "$as_me:$LINENO: result: no" >&5
1667 echo "${ECHO_T}no" >&6
1671 if test -z "$ac_cv_prog_CC"; then
1673 # Extract the first word of "gcc", so it can be a program name with args.
1674 set dummy gcc
; ac_word
=$2
1675 echo "$as_me:$LINENO: checking for $ac_word" >&5
1676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1677 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1678 echo $ECHO_N "(cached) $ECHO_C" >&6
1680 if test -n "$ac_ct_CC"; then
1681 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1687 test -z "$as_dir" && as_dir
=.
1688 for ac_exec_ext
in '' $ac_executable_extensions; do
1689 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1690 ac_cv_prog_ac_ct_CC
="gcc"
1691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1699 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1700 if test -n "$ac_ct_CC"; then
1701 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1702 echo "${ECHO_T}$ac_ct_CC" >&6
1704 echo "$as_me:$LINENO: result: no" >&5
1705 echo "${ECHO_T}no" >&6
1713 if test -z "$CC"; then
1714 if test -n "$ac_tool_prefix"; then
1715 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1716 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1717 echo "$as_me:$LINENO: checking for $ac_word" >&5
1718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1719 if test "${ac_cv_prog_CC+set}" = set; then
1720 echo $ECHO_N "(cached) $ECHO_C" >&6
1722 if test -n "$CC"; then
1723 ac_cv_prog_CC
="$CC" # Let the user override the test.
1725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1729 test -z "$as_dir" && as_dir
=.
1730 for ac_exec_ext
in '' $ac_executable_extensions; do
1731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1732 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1742 if test -n "$CC"; then
1743 echo "$as_me:$LINENO: result: $CC" >&5
1744 echo "${ECHO_T}$CC" >&6
1746 echo "$as_me:$LINENO: result: no" >&5
1747 echo "${ECHO_T}no" >&6
1751 if test -z "$ac_cv_prog_CC"; then
1753 # Extract the first word of "cc", so it can be a program name with args.
1754 set dummy cc
; ac_word
=$2
1755 echo "$as_me:$LINENO: checking for $ac_word" >&5
1756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1757 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1758 echo $ECHO_N "(cached) $ECHO_C" >&6
1760 if test -n "$ac_ct_CC"; then
1761 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1767 test -z "$as_dir" && as_dir
=.
1768 for ac_exec_ext
in '' $ac_executable_extensions; do
1769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1770 ac_cv_prog_ac_ct_CC
="cc"
1771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1779 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1780 if test -n "$ac_ct_CC"; then
1781 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1782 echo "${ECHO_T}$ac_ct_CC" >&6
1784 echo "$as_me:$LINENO: result: no" >&5
1785 echo "${ECHO_T}no" >&6
1794 if test -z "$CC"; then
1795 # Extract the first word of "cc", so it can be a program name with args.
1796 set dummy cc
; ac_word
=$2
1797 echo "$as_me:$LINENO: checking for $ac_word" >&5
1798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1799 if test "${ac_cv_prog_CC+set}" = set; then
1800 echo $ECHO_N "(cached) $ECHO_C" >&6
1802 if test -n "$CC"; then
1803 ac_cv_prog_CC
="$CC" # Let the user override the test.
1806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1810 test -z "$as_dir" && as_dir
=.
1811 for ac_exec_ext
in '' $ac_executable_extensions; do
1812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1813 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1814 ac_prog_rejected
=yes
1818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1824 if test $ac_prog_rejected = yes; then
1825 # We found a bogon in the path, so make sure we never use it.
1826 set dummy
$ac_cv_prog_CC
1828 if test $# != 0; then
1829 # We chose a different compiler from the bogus one.
1830 # However, it has the same basename, so the bogon will be chosen
1831 # first if we set CC to just the basename; use the full file name.
1833 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1839 if test -n "$CC"; then
1840 echo "$as_me:$LINENO: result: $CC" >&5
1841 echo "${ECHO_T}$CC" >&6
1843 echo "$as_me:$LINENO: result: no" >&5
1844 echo "${ECHO_T}no" >&6
1848 if test -z "$CC"; then
1849 if test -n "$ac_tool_prefix"; then
1852 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1853 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1854 echo "$as_me:$LINENO: checking for $ac_word" >&5
1855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1856 if test "${ac_cv_prog_CC+set}" = set; then
1857 echo $ECHO_N "(cached) $ECHO_C" >&6
1859 if test -n "$CC"; then
1860 ac_cv_prog_CC
="$CC" # Let the user override the test.
1862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1866 test -z "$as_dir" && as_dir
=.
1867 for ac_exec_ext
in '' $ac_executable_extensions; do
1868 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1869 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1879 if test -n "$CC"; then
1880 echo "$as_me:$LINENO: result: $CC" >&5
1881 echo "${ECHO_T}$CC" >&6
1883 echo "$as_me:$LINENO: result: no" >&5
1884 echo "${ECHO_T}no" >&6
1887 test -n "$CC" && break
1890 if test -z "$CC"; then
1894 # Extract the first word of "$ac_prog", so it can be a program name with args.
1895 set dummy
$ac_prog; ac_word
=$2
1896 echo "$as_me:$LINENO: checking for $ac_word" >&5
1897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1898 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1899 echo $ECHO_N "(cached) $ECHO_C" >&6
1901 if test -n "$ac_ct_CC"; then
1902 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1908 test -z "$as_dir" && as_dir
=.
1909 for ac_exec_ext
in '' $ac_executable_extensions; do
1910 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1911 ac_cv_prog_ac_ct_CC
="$ac_prog"
1912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1920 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1921 if test -n "$ac_ct_CC"; then
1922 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1923 echo "${ECHO_T}$ac_ct_CC" >&6
1925 echo "$as_me:$LINENO: result: no" >&5
1926 echo "${ECHO_T}no" >&6
1929 test -n "$ac_ct_CC" && break
1938 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1939 See \`config.log' for more details." >&5
1940 echo "$as_me: error: no acceptable C compiler found in \$PATH
1941 See \`config.log' for more details." >&2;}
1942 { (exit 1); exit 1; }; }
1944 # Provide some information about the compiler.
1945 echo "$as_me:$LINENO:" \
1946 "checking for C compiler version" >&5
1947 ac_compiler
=`set X $ac_compile; echo $2`
1948 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1949 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1952 (exit $ac_status); }
1953 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1954 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1957 (exit $ac_status); }
1958 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1959 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1962 (exit $ac_status); }
1964 cat >conftest.
$ac_ext <<_ACEOF
1967 cat confdefs.h
>>conftest.
$ac_ext
1968 cat >>conftest.
$ac_ext <<_ACEOF
1969 /* end confdefs.h. */
1980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1981 (eval $ac_link) 2>&5
1983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1984 (exit $ac_status); }; then
1990 if test x
$gcc_no_link = xyes
; then
1991 # Setting cross_compile will disable run tests; it will
1992 # also disable AC_CHECK_FILE but that's generally
1993 # correct if we can't link.
1997 cat >conftest.
$ac_ext <<_ACEOF
2000 cat confdefs.h
>>conftest.
$ac_ext
2001 cat >>conftest.
$ac_ext <<_ACEOF
2002 /* end confdefs.h. */
2012 ac_clean_files_save
=$ac_clean_files
2013 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2014 # Try to create an executable without -o first, disregard a.out.
2015 # It will help us diagnose broken compilers, and finding out an intuition
2017 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2018 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2019 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2020 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2021 (eval $ac_link_default) 2>&5
2023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2024 (exit $ac_status); }; then
2025 # Find the output, starting from the most likely. This scheme is
2026 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2029 # Be careful to initialize this variable, since it used to be cached.
2030 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2032 # b.out is created by i960 compilers.
2033 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2035 test -f "$ac_file" ||
continue
2037 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2040 # This is the source file.
2043 # We found the default executable, but exeext='' is most
2047 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2048 # FIXME: I believe we export ac_cv_exeext for Libtool,
2049 # but it would be cool to find out if it's true. Does anybody
2050 # maintain Libtool? --akim.
2058 echo "$as_me: failed program was:" >&5
2059 sed 's/^/| /' conftest.
$ac_ext >&5
2061 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2062 See \`config.log' for more details." >&5
2063 echo "$as_me: error: C compiler cannot create executables
2064 See \`config.log' for more details." >&2;}
2065 { (exit 77); exit 77; }; }
2068 ac_exeext
=$ac_cv_exeext
2069 echo "$as_me:$LINENO: result: $ac_file" >&5
2070 echo "${ECHO_T}$ac_file" >&6
2072 # Check the compiler produces executables we can run. If not, either
2073 # the compiler is broken, or we cross compile.
2074 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2075 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2076 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2077 # If not cross compiling, check that we can run a simple program.
2078 if test "$cross_compiling" != yes; then
2079 if { ac_try
='./$ac_file'
2080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2084 (exit $ac_status); }; }; then
2087 if test "$cross_compiling" = maybe
; then
2090 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2091 If you meant to cross compile, use \`--host'.
2092 See \`config.log' for more details." >&5
2093 echo "$as_me: error: cannot run C compiled programs.
2094 If you meant to cross compile, use \`--host'.
2095 See \`config.log' for more details." >&2;}
2096 { (exit 1); exit 1; }; }
2100 echo "$as_me:$LINENO: result: yes" >&5
2101 echo "${ECHO_T}yes" >&6
2103 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2104 ac_clean_files
=$ac_clean_files_save
2105 # Check the compiler produces executables we can run. If not, either
2106 # the compiler is broken, or we cross compile.
2107 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2108 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2109 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2110 echo "${ECHO_T}$cross_compiling" >&6
2112 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2113 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2115 (eval $ac_link) 2>&5
2117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2118 (exit $ac_status); }; then
2119 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2120 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2121 # work properly (i.e., refer to `conftest.exe'), while it won't with
2123 for ac_file
in conftest.exe conftest conftest.
*; do
2124 test -f "$ac_file" ||
continue
2126 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2127 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2134 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2135 See \`config.log' for more details." >&5
2136 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2137 See \`config.log' for more details." >&2;}
2138 { (exit 1); exit 1; }; }
2141 rm -f conftest
$ac_cv_exeext
2142 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2143 echo "${ECHO_T}$ac_cv_exeext" >&6
2145 rm -f conftest.
$ac_ext
2146 EXEEXT
=$ac_cv_exeext
2149 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2150 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2151 if test "${ac_cv_objext+set}" = set; then
2152 echo $ECHO_N "(cached) $ECHO_C" >&6
2154 cat >conftest.
$ac_ext <<_ACEOF
2157 cat confdefs.h
>>conftest.
$ac_ext
2158 cat >>conftest.
$ac_ext <<_ACEOF
2159 /* end confdefs.h. */
2169 rm -f conftest.o conftest.obj
2170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2171 (eval $ac_compile) 2>&5
2173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2174 (exit $ac_status); }; then
2175 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2177 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2178 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2183 echo "$as_me: failed program was:" >&5
2184 sed 's/^/| /' conftest.
$ac_ext >&5
2186 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2187 See \`config.log' for more details." >&5
2188 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2189 See \`config.log' for more details." >&2;}
2190 { (exit 1); exit 1; }; }
2193 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2195 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2196 echo "${ECHO_T}$ac_cv_objext" >&6
2197 OBJEXT
=$ac_cv_objext
2199 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2200 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2201 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2202 echo $ECHO_N "(cached) $ECHO_C" >&6
2204 cat >conftest.
$ac_ext <<_ACEOF
2207 cat confdefs.h
>>conftest.
$ac_ext
2208 cat >>conftest.
$ac_ext <<_ACEOF
2209 /* end confdefs.h. */
2222 rm -f conftest.
$ac_objext
2223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2224 (eval $ac_compile) 2>conftest.er1
2226 grep -v '^ *+' conftest.er1
>conftest.err
2228 cat conftest.err
>&5
2229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2230 (exit $ac_status); } &&
2231 { ac_try
='test -z "$ac_c_werror_flag"
2232 || test ! -s conftest.err'
2233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2237 (exit $ac_status); }; } &&
2238 { ac_try
='test -s conftest.$ac_objext'
2239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2243 (exit $ac_status); }; }; then
2246 echo "$as_me: failed program was:" >&5
2247 sed 's/^/| /' conftest.
$ac_ext >&5
2251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2252 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2255 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2256 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2257 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2258 ac_test_CFLAGS
=${CFLAGS+set}
2259 ac_save_CFLAGS
=$CFLAGS
2261 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2262 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2263 if test "${ac_cv_prog_cc_g+set}" = set; then
2264 echo $ECHO_N "(cached) $ECHO_C" >&6
2266 cat >conftest.
$ac_ext <<_ACEOF
2269 cat confdefs.h
>>conftest.
$ac_ext
2270 cat >>conftest.
$ac_ext <<_ACEOF
2271 /* end confdefs.h. */
2281 rm -f conftest.
$ac_objext
2282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2283 (eval $ac_compile) 2>conftest.er1
2285 grep -v '^ *+' conftest.er1
>conftest.err
2287 cat conftest.err
>&5
2288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2289 (exit $ac_status); } &&
2290 { ac_try
='test -z "$ac_c_werror_flag"
2291 || test ! -s conftest.err'
2292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2296 (exit $ac_status); }; } &&
2297 { ac_try
='test -s conftest.$ac_objext'
2298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2302 (exit $ac_status); }; }; then
2305 echo "$as_me: failed program was:" >&5
2306 sed 's/^/| /' conftest.
$ac_ext >&5
2310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2312 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2313 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2314 if test "$ac_test_CFLAGS" = set; then
2315 CFLAGS
=$ac_save_CFLAGS
2316 elif test $ac_cv_prog_cc_g = yes; then
2317 if test "$GCC" = yes; then
2323 if test "$GCC" = yes; then
2329 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2330 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2331 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2332 echo $ECHO_N "(cached) $ECHO_C" >&6
2334 ac_cv_prog_cc_stdc
=no
2336 cat >conftest.
$ac_ext <<_ACEOF
2339 cat confdefs.h
>>conftest.
$ac_ext
2340 cat >>conftest.
$ac_ext <<_ACEOF
2341 /* end confdefs.h. */
2344 #include <sys/types.h>
2345 #include <sys/stat.h>
2346 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2347 struct buf { int x; };
2348 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2349 static char *e (p, i)
2355 static char *f (char * (*g) (char **, int), char **p, ...)
2360 s = g (p, va_arg (v,int));
2365 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2366 function prototypes and stuff, but not '\xHH' hex character constants.
2367 These don't provoke an error unfortunately, instead are silently treated
2368 as 'x'. The following induces an error, until -std1 is added to get
2369 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2370 array size at least. It's necessary to write '\x00'==0 to get something
2371 that's true only with -std1. */
2372 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2374 int test (int i, double x);
2375 struct s1 {int (*f) (int a);};
2376 struct s2 {int (*f) (double a);};
2377 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2383 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2388 # Don't try gcc -ansi; that turns off useful extensions and
2389 # breaks some systems' header files.
2390 # AIX -qlanglvl=ansi
2391 # Ultrix and OSF/1 -std1
2392 # HP-UX 10.20 and later -Ae
2393 # HP-UX older versions -Aa -D_HPUX_SOURCE
2394 # SVR4 -Xc -D__EXTENSIONS__
2395 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2397 CC
="$ac_save_CC $ac_arg"
2398 rm -f conftest.
$ac_objext
2399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2400 (eval $ac_compile) 2>conftest.er1
2402 grep -v '^ *+' conftest.er1
>conftest.err
2404 cat conftest.err
>&5
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); } &&
2407 { ac_try
='test -z "$ac_c_werror_flag"
2408 || test ! -s conftest.err'
2409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2413 (exit $ac_status); }; } &&
2414 { ac_try
='test -s conftest.$ac_objext'
2415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419 (exit $ac_status); }; }; then
2420 ac_cv_prog_cc_stdc
=$ac_arg
2423 echo "$as_me: failed program was:" >&5
2424 sed 's/^/| /' conftest.
$ac_ext >&5
2427 rm -f conftest.err conftest.
$ac_objext
2429 rm -f conftest.
$ac_ext conftest.
$ac_objext
2434 case "x$ac_cv_prog_cc_stdc" in
2436 echo "$as_me:$LINENO: result: none needed" >&5
2437 echo "${ECHO_T}none needed" >&6 ;;
2439 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2440 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2441 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2444 # Some people use a C++ compiler to compile C. Since we use `exit',
2445 # in C++ we need to declare it. In case someone uses the same compiler
2446 # for both compiling C and C++ we need to have the C++ compiler decide
2447 # the declaration of exit, since it's the most demanding environment.
2448 cat >conftest.
$ac_ext <<_ACEOF
2453 rm -f conftest.
$ac_objext
2454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2455 (eval $ac_compile) 2>conftest.er1
2457 grep -v '^ *+' conftest.er1
>conftest.err
2459 cat conftest.err
>&5
2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461 (exit $ac_status); } &&
2462 { ac_try
='test -z "$ac_c_werror_flag"
2463 || test ! -s conftest.err'
2464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); }; } &&
2469 { ac_try
='test -s conftest.$ac_objext'
2470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2474 (exit $ac_status); }; }; then
2475 for ac_declaration
in \
2477 'extern "C" void std::exit (int) throw (); using std::exit;' \
2478 'extern "C" void std::exit (int); using std::exit;' \
2479 'extern "C" void exit (int) throw ();' \
2480 'extern "C" void exit (int);' \
2483 cat >conftest.
$ac_ext <<_ACEOF
2486 cat confdefs.h
>>conftest.
$ac_ext
2487 cat >>conftest.
$ac_ext <<_ACEOF
2488 /* end confdefs.h. */
2499 rm -f conftest.
$ac_objext
2500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2501 (eval $ac_compile) 2>conftest.er1
2503 grep -v '^ *+' conftest.er1
>conftest.err
2505 cat conftest.err
>&5
2506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507 (exit $ac_status); } &&
2508 { ac_try
='test -z "$ac_c_werror_flag"
2509 || test ! -s conftest.err'
2510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); }; } &&
2515 { ac_try
='test -s conftest.$ac_objext'
2516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520 (exit $ac_status); }; }; then
2523 echo "$as_me: failed program was:" >&5
2524 sed 's/^/| /' conftest.
$ac_ext >&5
2528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2529 cat >conftest.
$ac_ext <<_ACEOF
2532 cat confdefs.h
>>conftest.
$ac_ext
2533 cat >>conftest.
$ac_ext <<_ACEOF
2534 /* end confdefs.h. */
2544 rm -f conftest.
$ac_objext
2545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2546 (eval $ac_compile) 2>conftest.er1
2548 grep -v '^ *+' conftest.er1
>conftest.err
2550 cat conftest.err
>&5
2551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552 (exit $ac_status); } &&
2553 { ac_try
='test -z "$ac_c_werror_flag"
2554 || test ! -s conftest.err'
2555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); }; } &&
2560 { ac_try
='test -s conftest.$ac_objext'
2561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565 (exit $ac_status); }; }; then
2568 echo "$as_me: failed program was:" >&5
2569 sed 's/^/| /' conftest.
$ac_ext >&5
2572 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2575 if test -n "$ac_declaration"; then
2576 echo '#ifdef __cplusplus' >>confdefs.h
2577 echo $ac_declaration >>confdefs.h
2578 echo '#endif' >>confdefs.h
2582 echo "$as_me: failed program was:" >&5
2583 sed 's/^/| /' conftest.
$ac_ext >&5
2586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2588 ac_cpp
='$CPP $CPPFLAGS'
2589 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2590 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2591 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2594 ac_cpp
='$CXXCPP $CPPFLAGS'
2595 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2596 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2597 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2598 if test -n "$ac_tool_prefix"; then
2599 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2601 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2602 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2603 echo "$as_me:$LINENO: checking for $ac_word" >&5
2604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2605 if test "${glibcxx_cv_prog_CXX+set}" = set; then
2606 echo $ECHO_N "(cached) $ECHO_C" >&6
2608 if test -n "$CXX"; then
2609 glibcxx_cv_prog_CXX
="$CXX" # Let the user override the test.
2611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2615 test -z "$as_dir" && as_dir
=.
2616 for ac_exec_ext
in '' $ac_executable_extensions; do
2617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2618 glibcxx_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2627 CXX
=$glibcxx_cv_prog_CXX
2628 if test -n "$CXX"; then
2629 echo "$as_me:$LINENO: result: $CXX" >&5
2630 echo "${ECHO_T}$CXX" >&6
2632 echo "$as_me:$LINENO: result: no" >&5
2633 echo "${ECHO_T}no" >&6
2636 test -n "$CXX" && break
2639 if test -z "$CXX"; then
2641 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2643 # Extract the first word of "$ac_prog", so it can be a program name with args.
2644 set dummy
$ac_prog; ac_word
=$2
2645 echo "$as_me:$LINENO: checking for $ac_word" >&5
2646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2647 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2648 echo $ECHO_N "(cached) $ECHO_C" >&6
2650 if test -n "$ac_ct_CXX"; then
2651 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2657 test -z "$as_dir" && as_dir
=.
2658 for ac_exec_ext
in '' $ac_executable_extensions; do
2659 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2660 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2669 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2670 if test -n "$ac_ct_CXX"; then
2671 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2672 echo "${ECHO_T}$ac_ct_CXX" >&6
2674 echo "$as_me:$LINENO: result: no" >&5
2675 echo "${ECHO_T}no" >&6
2678 test -n "$ac_ct_CXX" && break
2680 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2686 # Provide some information about the compiler.
2687 echo "$as_me:$LINENO:" \
2688 "checking for C++ compiler version" >&5
2689 ac_compiler
=`set X $ac_compile; echo $2`
2690 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2691 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2694 (exit $ac_status); }
2695 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2696 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699 (exit $ac_status); }
2700 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2701 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2704 (exit $ac_status); }
2706 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2707 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2708 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2709 echo $ECHO_N "(cached) $ECHO_C" >&6
2711 cat >conftest.
$ac_ext <<_ACEOF
2714 cat confdefs.h
>>conftest.
$ac_ext
2715 cat >>conftest.
$ac_ext <<_ACEOF
2716 /* end confdefs.h. */
2729 rm -f conftest.
$ac_objext
2730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2731 (eval $ac_compile) 2>conftest.er1
2733 grep -v '^ *+' conftest.er1
>conftest.err
2735 cat conftest.err
>&5
2736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2737 (exit $ac_status); } &&
2738 { ac_try
='test -z "$ac_cxx_werror_flag"
2739 || test ! -s conftest.err'
2740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744 (exit $ac_status); }; } &&
2745 { ac_try
='test -s conftest.$ac_objext'
2746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750 (exit $ac_status); }; }; then
2753 echo "$as_me: failed program was:" >&5
2754 sed 's/^/| /' conftest.
$ac_ext >&5
2758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2759 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2762 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2763 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2764 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2765 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2766 ac_save_CXXFLAGS
=$CXXFLAGS
2768 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2769 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2770 if test "${ac_cv_prog_cxx_g+set}" = set; then
2771 echo $ECHO_N "(cached) $ECHO_C" >&6
2773 cat >conftest.
$ac_ext <<_ACEOF
2776 cat confdefs.h
>>conftest.
$ac_ext
2777 cat >>conftest.
$ac_ext <<_ACEOF
2778 /* end confdefs.h. */
2788 rm -f conftest.
$ac_objext
2789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2790 (eval $ac_compile) 2>conftest.er1
2792 grep -v '^ *+' conftest.er1
>conftest.err
2794 cat conftest.err
>&5
2795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796 (exit $ac_status); } &&
2797 { ac_try
='test -z "$ac_cxx_werror_flag"
2798 || test ! -s conftest.err'
2799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803 (exit $ac_status); }; } &&
2804 { ac_try
='test -s conftest.$ac_objext'
2805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809 (exit $ac_status); }; }; then
2810 ac_cv_prog_cxx_g
=yes
2812 echo "$as_me: failed program was:" >&5
2813 sed 's/^/| /' conftest.
$ac_ext >&5
2817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2819 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2820 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2821 if test "$ac_test_CXXFLAGS" = set; then
2822 CXXFLAGS
=$ac_save_CXXFLAGS
2823 elif test $ac_cv_prog_cxx_g = yes; then
2824 if test "$GXX" = yes; then
2830 if test "$GXX" = yes; then
2836 for ac_declaration
in \
2838 'extern "C" void std::exit (int) throw (); using std::exit;' \
2839 'extern "C" void std::exit (int); using std::exit;' \
2840 'extern "C" void exit (int) throw ();' \
2841 'extern "C" void exit (int);' \
2844 cat >conftest.
$ac_ext <<_ACEOF
2847 cat confdefs.h
>>conftest.
$ac_ext
2848 cat >>conftest.
$ac_ext <<_ACEOF
2849 /* end confdefs.h. */
2860 rm -f conftest.
$ac_objext
2861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2862 (eval $ac_compile) 2>conftest.er1
2864 grep -v '^ *+' conftest.er1
>conftest.err
2866 cat conftest.err
>&5
2867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868 (exit $ac_status); } &&
2869 { ac_try
='test -z "$ac_cxx_werror_flag"
2870 || test ! -s conftest.err'
2871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 (exit $ac_status); }; } &&
2876 { ac_try
='test -s conftest.$ac_objext'
2877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 (exit $ac_status); }; }; then
2884 echo "$as_me: failed program was:" >&5
2885 sed 's/^/| /' conftest.
$ac_ext >&5
2889 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2890 cat >conftest.
$ac_ext <<_ACEOF
2893 cat confdefs.h
>>conftest.
$ac_ext
2894 cat >>conftest.
$ac_ext <<_ACEOF
2895 /* end confdefs.h. */
2905 rm -f conftest.
$ac_objext
2906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2907 (eval $ac_compile) 2>conftest.er1
2909 grep -v '^ *+' conftest.er1
>conftest.err
2911 cat conftest.err
>&5
2912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913 (exit $ac_status); } &&
2914 { ac_try
='test -z "$ac_cxx_werror_flag"
2915 || test ! -s conftest.err'
2916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920 (exit $ac_status); }; } &&
2921 { ac_try
='test -s conftest.$ac_objext'
2922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2926 (exit $ac_status); }; }; then
2929 echo "$as_me: failed program was:" >&5
2930 sed 's/^/| /' conftest.
$ac_ext >&5
2933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2936 if test -n "$ac_declaration"; then
2937 echo '#ifdef __cplusplus' >>confdefs.h
2938 echo $ac_declaration >>confdefs.h
2939 echo '#endif' >>confdefs.h
2943 ac_cpp
='$CPP $CPPFLAGS'
2944 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2945 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2946 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2948 CXXFLAGS
="$save_CXXFLAGS"
2954 am__api_version
="1.9"
2955 # Find a good install program. We prefer a C program (faster),
2956 # so one script is as good as another. But avoid the broken or
2957 # incompatible versions:
2958 # SysV /etc/install, /usr/sbin/install
2959 # SunOS /usr/etc/install
2960 # IRIX /sbin/install
2962 # AmigaOS /C/install, which installs bootblocks on floppy discs
2963 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2964 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2965 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2966 # OS/2's system install, which has a completely different semantic
2967 # ./install, which can be erroneously created by make from ./install.sh.
2968 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2969 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2970 if test -z "$INSTALL"; then
2971 if test "${ac_cv_path_install+set}" = set; then
2972 echo $ECHO_N "(cached) $ECHO_C" >&6
2974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2978 test -z "$as_dir" && as_dir
=.
2979 # Account for people who put trailing slashes in PATH elements.
2981 .
/ | .
// |
/cC
/* | \
2982 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2983 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2986 # OSF1 and SCO ODT 3.0 have their own names for install.
2987 # Don't use installbsd from OSF since it installs stuff as root
2989 for ac_prog
in ginstall scoinst
install; do
2990 for ac_exec_ext
in '' $ac_executable_extensions; do
2991 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2992 if test $ac_prog = install &&
2993 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2994 # AIX install. It has an incompatible calling convention.
2996 elif test $ac_prog = install &&
2997 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2998 # program-specific install script used by HP pwplus--don't use.
3001 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3013 if test "${ac_cv_path_install+set}" = set; then
3014 INSTALL
=$ac_cv_path_install
3016 # As a last resort, use the slow shell script. We don't cache a
3017 # path for INSTALL within a source directory, because that will
3018 # break other packages using the cache if that directory is
3019 # removed, or if the path is relative.
3020 INSTALL
=$ac_install_sh
3023 echo "$as_me:$LINENO: result: $INSTALL" >&5
3024 echo "${ECHO_T}$INSTALL" >&6
3026 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3027 # It thinks the first close brace ends the variable substitution.
3028 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3030 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3032 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3034 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3035 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
3038 echo timestamp
> conftest.
file
3039 # Do `set' in a subshell so we don't clobber the current shell's
3040 # arguments. Must try -L first in case configure is actually a
3041 # symlink; some systems play weird games with the mod time of symlinks
3042 # (eg FreeBSD returns the mod time of the symlink's containing
3045 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
3046 if test "$*" = "X"; then
3048 set X
`ls -t $srcdir/configure conftest.file`
3051 if test "$*" != "X $srcdir/configure conftest.file" \
3052 && test "$*" != "X conftest.file $srcdir/configure"; then
3054 # If neither matched, then we have a broken ls. This can happen
3055 # if, for instance, CONFIG_SHELL is bash and it inherits a
3056 # broken ls alias from the environment. This has actually
3057 # happened. Such a system could not be considered "sane".
3058 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
3059 alias in your environment" >&5
3060 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
3061 alias in your environment" >&2;}
3062 { (exit 1); exit 1; }; }
3065 test "$2" = conftest.
file
3071 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3072 Check your system clock" >&5
3073 echo "$as_me: error: newly created file is older than distributed files!
3074 Check your system clock" >&2;}
3075 { (exit 1); exit 1; }; }
3077 echo "$as_me:$LINENO: result: yes" >&5
3078 echo "${ECHO_T}yes" >&6
3079 test "$program_prefix" != NONE
&&
3080 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
3081 # Use a double $ so make ignores it.
3082 test "$program_suffix" != NONE
&&
3083 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
3084 # Double any \ or $. echo might interpret backslashes.
3085 # By default was `s,x,x', remove it if useless.
3086 cat <<\_ACEOF
>conftest.
sed
3087 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
3089 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
3092 # expand $ac_aux_dir to an absolute path
3093 am_aux_dir
=`cd $ac_aux_dir && pwd`
3095 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
3096 # Use eval to expand $SHELL
3097 if eval "$MISSING --run true"; then
3098 am_missing_run
="$MISSING --run "
3101 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3102 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3105 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
3106 # We used to keeping the `.' as first argument, in order to
3107 # allow $(mkdir_p) to be used without argument. As in
3108 # $(mkdir_p) $(somedir)
3109 # where $(somedir) is conditionally defined. However this is wrong
3111 # 1. if the package is installed by a user who cannot write `.'
3112 # make install will fail,
3113 # 2. the above comment should most certainly read
3114 # $(mkdir_p) $(DESTDIR)$(somedir)
3115 # so it does not work when $(somedir) is undefined and
3116 # $(DESTDIR) is not.
3117 # To support the latter case, we have to write
3118 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
3119 # so the `.' trick is pointless.
3120 mkdir_p
='mkdir -p --'
3122 # On NextStep and OpenStep, the `mkdir' command does not
3123 # recognize any option. It will interpret all options as
3124 # directories to create, and then abort because `.' already
3126 for d
in .
/-p .
/--version;
3128 test -d $d && rmdir $d
3130 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
3131 if test -f "$ac_aux_dir/mkinstalldirs"; then
3132 mkdir_p
='$(mkinstalldirs)'
3134 mkdir_p
='$(install_sh) -d'
3138 for ac_prog
in gawk mawk nawk
awk
3140 # Extract the first word of "$ac_prog", so it can be a program name with args.
3141 set dummy
$ac_prog; ac_word
=$2
3142 echo "$as_me:$LINENO: checking for $ac_word" >&5
3143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3144 if test "${ac_cv_prog_AWK+set}" = set; then
3145 echo $ECHO_N "(cached) $ECHO_C" >&6
3147 if test -n "$AWK"; then
3148 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3154 test -z "$as_dir" && as_dir
=.
3155 for ac_exec_ext
in '' $ac_executable_extensions; do
3156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3157 ac_cv_prog_AWK
="$ac_prog"
3158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3167 if test -n "$AWK"; then
3168 echo "$as_me:$LINENO: result: $AWK" >&5
3169 echo "${ECHO_T}$AWK" >&6
3171 echo "$as_me:$LINENO: result: no" >&5
3172 echo "${ECHO_T}no" >&6
3175 test -n "$AWK" && break
3178 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3179 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3180 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3181 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3182 echo $ECHO_N "(cached) $ECHO_C" >&6
3184 cat >conftest.
make <<\_ACEOF
3186 @
echo 'ac_maketemp="$(MAKE)"'
3188 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3189 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3190 if test -n "$ac_maketemp"; then
3191 eval ac_cv_prog_make_
${ac_make}_set
=yes
3193 eval ac_cv_prog_make_
${ac_make}_set
=no
3197 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3198 echo "$as_me:$LINENO: result: yes" >&5
3199 echo "${ECHO_T}yes" >&6
3202 echo "$as_me:$LINENO: result: no" >&5
3203 echo "${ECHO_T}no" >&6
3204 SET_MAKE
="MAKE=${MAKE-make}"
3207 rm -rf .tst
2>/dev
/null
3208 mkdir .tst
2>/dev
/null
3209 if test -d .tst
; then
3214 rmdir .tst
2>/dev
/null
3216 DEPDIR
="${am__leading_dot}deps"
3218 ac_config_commands
="$ac_config_commands depfiles"
3221 am_make
=${MAKE-make}
3222 cat > confinc
<< 'END'
3227 # If we don't find an include directive, just comment out the code.
3228 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3229 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3233 # First try GNU make style include.
3234 echo "include confinc" > confmf
3235 # We grep out `Entering directory' and `Leaving directory'
3236 # messages which can occur if `w' ends up in MAKEFLAGS.
3237 # In particular we don't look at `^make:' because GNU make might
3238 # be invoked under some other name (usually "gmake"), in which
3239 # case it prints its new name instead of `make'.
3240 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3245 # Now try BSD make style include.
3246 if test "$am__include" = "#"; then
3247 echo '.include "confinc"' > confmf
3248 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3249 am__include
=.include
3256 echo "$as_me:$LINENO: result: $_am_result" >&5
3257 echo "${ECHO_T}$_am_result" >&6
3258 rm -f confinc confmf
3260 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3261 if test "${enable_dependency_tracking+set}" = set; then
3262 enableval
="$enable_dependency_tracking"
3265 if test "x$enable_dependency_tracking" != xno
; then
3266 am_depcomp
="$ac_aux_dir/depcomp"
3271 if test "x$enable_dependency_tracking" != xno; then
3281 # test to see if srcdir already configured
3282 if test "`cd $srcdir && pwd`" != "`pwd`" &&
3283 test -f $srcdir/config.status
; then
3284 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3285 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3286 { (exit 1); exit 1; }; }
3289 # test whether we have cygpath
3290 if test -z "$CYGPATH_W"; then
3291 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3292 CYGPATH_W
='cygpath -w'
3299 # Define the identity of the package.
3301 VERSION
='version-unused'
3304 cat >>confdefs.h
<<_ACEOF
3305 #define PACKAGE "$PACKAGE"
3309 cat >>confdefs.h
<<_ACEOF
3310 #define VERSION "$VERSION"
3313 # Some tools Automake needs.
3315 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3318 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3321 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3324 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3327 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3329 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3331 # Installed binaries are usually stripped using `strip' when the user
3332 # run `make install-strip'. However `strip' might not be the right
3333 # tool to use in cross-compilation environments, therefore Automake
3334 # will honor the `STRIP' environment variable to overrule this program.
3335 if test "$cross_compiling" != no
; then
3336 if test -n "$ac_tool_prefix"; then
3337 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3338 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3339 echo "$as_me:$LINENO: checking for $ac_word" >&5
3340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3341 if test "${ac_cv_prog_STRIP+set}" = set; then
3342 echo $ECHO_N "(cached) $ECHO_C" >&6
3344 if test -n "$STRIP"; then
3345 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3351 test -z "$as_dir" && as_dir
=.
3352 for ac_exec_ext
in '' $ac_executable_extensions; do
3353 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3354 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3363 STRIP
=$ac_cv_prog_STRIP
3364 if test -n "$STRIP"; then
3365 echo "$as_me:$LINENO: result: $STRIP" >&5
3366 echo "${ECHO_T}$STRIP" >&6
3368 echo "$as_me:$LINENO: result: no" >&5
3369 echo "${ECHO_T}no" >&6
3373 if test -z "$ac_cv_prog_STRIP"; then
3375 # Extract the first word of "strip", so it can be a program name with args.
3376 set dummy strip
; ac_word
=$2
3377 echo "$as_me:$LINENO: checking for $ac_word" >&5
3378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3379 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3380 echo $ECHO_N "(cached) $ECHO_C" >&6
3382 if test -n "$ac_ct_STRIP"; then
3383 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3389 test -z "$as_dir" && as_dir
=.
3390 for ac_exec_ext
in '' $ac_executable_extensions; do
3391 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3392 ac_cv_prog_ac_ct_STRIP
="strip"
3393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3399 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3402 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3403 if test -n "$ac_ct_STRIP"; then
3404 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3405 echo "${ECHO_T}$ac_ct_STRIP" >&6
3407 echo "$as_me:$LINENO: result: no" >&5
3408 echo "${ECHO_T}no" >&6
3413 STRIP
="$ac_cv_prog_STRIP"
3417 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3419 # We need awk for the "check" target. The system "awk" is bad on
3421 # Always define AMTAR for backward compatibility.
3423 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3425 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3430 depcc
="$CC" am_compiler_list
=
3432 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3433 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3434 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3435 echo $ECHO_N "(cached) $ECHO_C" >&6
3437 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3438 # We make a subdir and do the tests there. Otherwise we can end up
3439 # making bogus files that we don't know about and never remove. For
3440 # instance it was reported that on HP-UX the gcc test will end up
3441 # making a dummy file named `D' -- because `-MD' means `put the output
3444 # Copy depcomp to subdir because otherwise we won't find it if we're
3445 # using a relative directory.
3446 cp "$am_depcomp" conftest.dir
3448 # We will build objects and dependencies in a subdirectory because
3449 # it helps to detect inapplicable dependency modes. For instance
3450 # both Tru64's cc and ICC support -MD to output dependencies as a
3451 # side effect of compilation, but ICC will put the dependencies in
3452 # the current directory while Tru64 will put them in the object
3456 am_cv_CC_dependencies_compiler_type
=none
3457 if test "$am_compiler_list" = ""; then
3458 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3460 for depmode
in $am_compiler_list; do
3461 # Setup a source with many dependencies, because some compilers
3462 # like to wrap large dependency lists on column 80 (with \), and
3463 # we should not choose a depcomp mode which is confused by this.
3465 # We need to recreate these files for each test, as the compiler may
3466 # overwrite some of them when testing with obscure command lines.
3467 # This happens at least with the AIX C compiler.
3469 for i
in 1 2 3 4 5 6; do
3470 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3471 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3472 # Solaris 8's {/usr,}/bin/sh.
3473 touch sub
/conftst
$i.h
3475 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3479 # after this tag, mechanisms are not by side-effect, so they'll
3480 # only be used when explicitly requested
3481 if test "x$enable_dependency_tracking" = xyes
; then
3489 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3490 # mode. It turns out that the SunPro C++ compiler does not properly
3491 # handle `-M -o', and we need to detect this.
3492 if depmode
=$depmode \
3493 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3494 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3495 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3496 >/dev
/null
2>conftest.err
&&
3497 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3498 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3499 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3500 # icc doesn't choke on unknown options, it will just issue warnings
3501 # or remarks (even with -Werror). So we grep stderr for any message
3502 # that says an option was ignored or not supported.
3503 # When given -MP, icc 7.0 and 7.1 complain thusly:
3504 # icc: Command line warning: ignoring option '-M'; no argument required
3505 # The diagnosis changed in icc 8.0:
3506 # icc: Command line remark: option '-MP' not supported
3507 if (grep 'ignoring option' conftest.err ||
3508 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3509 am_cv_CC_dependencies_compiler_type
=$depmode
3518 am_cv_CC_dependencies_compiler_type
=none
3522 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3523 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3524 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3529 test "x$enable_dependency_tracking" != xno \
3530 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3532 am__fastdepCC_FALSE
='#'
3534 am__fastdepCC_TRUE
='#'
3535 am__fastdepCC_FALSE
=
3539 depcc
="$CXX" am_compiler_list
=
3541 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3542 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3543 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3544 echo $ECHO_N "(cached) $ECHO_C" >&6
3546 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3547 # We make a subdir and do the tests there. Otherwise we can end up
3548 # making bogus files that we don't know about and never remove. For
3549 # instance it was reported that on HP-UX the gcc test will end up
3550 # making a dummy file named `D' -- because `-MD' means `put the output
3553 # Copy depcomp to subdir because otherwise we won't find it if we're
3554 # using a relative directory.
3555 cp "$am_depcomp" conftest.dir
3557 # We will build objects and dependencies in a subdirectory because
3558 # it helps to detect inapplicable dependency modes. For instance
3559 # both Tru64's cc and ICC support -MD to output dependencies as a
3560 # side effect of compilation, but ICC will put the dependencies in
3561 # the current directory while Tru64 will put them in the object
3565 am_cv_CXX_dependencies_compiler_type
=none
3566 if test "$am_compiler_list" = ""; then
3567 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3569 for depmode
in $am_compiler_list; do
3570 # Setup a source with many dependencies, because some compilers
3571 # like to wrap large dependency lists on column 80 (with \), and
3572 # we should not choose a depcomp mode which is confused by this.
3574 # We need to recreate these files for each test, as the compiler may
3575 # overwrite some of them when testing with obscure command lines.
3576 # This happens at least with the AIX C compiler.
3578 for i
in 1 2 3 4 5 6; do
3579 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3580 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3581 # Solaris 8's {/usr,}/bin/sh.
3582 touch sub
/conftst
$i.h
3584 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3588 # after this tag, mechanisms are not by side-effect, so they'll
3589 # only be used when explicitly requested
3590 if test "x$enable_dependency_tracking" = xyes
; then
3598 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3599 # mode. It turns out that the SunPro C++ compiler does not properly
3600 # handle `-M -o', and we need to detect this.
3601 if depmode
=$depmode \
3602 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3603 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3604 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3605 >/dev
/null
2>conftest.err
&&
3606 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3607 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3608 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3609 # icc doesn't choke on unknown options, it will just issue warnings
3610 # or remarks (even with -Werror). So we grep stderr for any message
3611 # that says an option was ignored or not supported.
3612 # When given -MP, icc 7.0 and 7.1 complain thusly:
3613 # icc: Command line warning: ignoring option '-M'; no argument required
3614 # The diagnosis changed in icc 8.0:
3615 # icc: Command line remark: option '-MP' not supported
3616 if (grep 'ignoring option' conftest.err ||
3617 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3618 am_cv_CXX_dependencies_compiler_type
=$depmode
3627 am_cv_CXX_dependencies_compiler_type
=none
3631 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3632 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3633 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3638 test "x$enable_dependency_tracking" != xno \
3639 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3640 am__fastdepCXX_TRUE
=
3641 am__fastdepCXX_FALSE
='#'
3643 am__fastdepCXX_TRUE
='#'
3644 am__fastdepCXX_FALSE
=
3650 if test -n "$ac_tool_prefix"; then
3651 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3652 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3653 echo "$as_me:$LINENO: checking for $ac_word" >&5
3654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3655 if test "${ac_cv_prog_AS+set}" = set; then
3656 echo $ECHO_N "(cached) $ECHO_C" >&6
3658 if test -n "$AS"; then
3659 ac_cv_prog_AS
="$AS" # Let the user override the test.
3661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3665 test -z "$as_dir" && as_dir
=.
3666 for ac_exec_ext
in '' $ac_executable_extensions; do
3667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3668 ac_cv_prog_AS
="${ac_tool_prefix}as"
3669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3678 if test -n "$AS"; then
3679 echo "$as_me:$LINENO: result: $AS" >&5
3680 echo "${ECHO_T}$AS" >&6
3682 echo "$as_me:$LINENO: result: no" >&5
3683 echo "${ECHO_T}no" >&6
3687 if test -z "$ac_cv_prog_AS"; then
3689 # Extract the first word of "as", so it can be a program name with args.
3690 set dummy as
; ac_word
=$2
3691 echo "$as_me:$LINENO: checking for $ac_word" >&5
3692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3693 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3694 echo $ECHO_N "(cached) $ECHO_C" >&6
3696 if test -n "$ac_ct_AS"; then
3697 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3703 test -z "$as_dir" && as_dir
=.
3704 for ac_exec_ext
in '' $ac_executable_extensions; do
3705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3706 ac_cv_prog_ac_ct_AS
="as"
3707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3715 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3716 if test -n "$ac_ct_AS"; then
3717 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3718 echo "${ECHO_T}$ac_ct_AS" >&6
3720 echo "$as_me:$LINENO: result: no" >&5
3721 echo "${ECHO_T}no" >&6
3729 if test -n "$ac_tool_prefix"; then
3730 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3731 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3732 echo "$as_me:$LINENO: checking for $ac_word" >&5
3733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3734 if test "${ac_cv_prog_AR+set}" = set; then
3735 echo $ECHO_N "(cached) $ECHO_C" >&6
3737 if test -n "$AR"; then
3738 ac_cv_prog_AR
="$AR" # Let the user override the test.
3740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3744 test -z "$as_dir" && as_dir
=.
3745 for ac_exec_ext
in '' $ac_executable_extensions; do
3746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3747 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3757 if test -n "$AR"; then
3758 echo "$as_me:$LINENO: result: $AR" >&5
3759 echo "${ECHO_T}$AR" >&6
3761 echo "$as_me:$LINENO: result: no" >&5
3762 echo "${ECHO_T}no" >&6
3766 if test -z "$ac_cv_prog_AR"; then
3768 # Extract the first word of "ar", so it can be a program name with args.
3769 set dummy
ar; ac_word
=$2
3770 echo "$as_me:$LINENO: checking for $ac_word" >&5
3771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3772 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3773 echo $ECHO_N "(cached) $ECHO_C" >&6
3775 if test -n "$ac_ct_AR"; then
3776 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3782 test -z "$as_dir" && as_dir
=.
3783 for ac_exec_ext
in '' $ac_executable_extensions; do
3784 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3785 ac_cv_prog_ac_ct_AR
="ar"
3786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3794 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3795 if test -n "$ac_ct_AR"; then
3796 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3797 echo "${ECHO_T}$ac_ct_AR" >&6
3799 echo "$as_me:$LINENO: result: no" >&5
3800 echo "${ECHO_T}no" >&6
3808 if test -n "$ac_tool_prefix"; then
3809 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3810 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3811 echo "$as_me:$LINENO: checking for $ac_word" >&5
3812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3813 if test "${ac_cv_prog_RANLIB+set}" = set; then
3814 echo $ECHO_N "(cached) $ECHO_C" >&6
3816 if test -n "$RANLIB"; then
3817 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3823 test -z "$as_dir" && as_dir
=.
3824 for ac_exec_ext
in '' $ac_executable_extensions; do
3825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3826 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3835 RANLIB
=$ac_cv_prog_RANLIB
3836 if test -n "$RANLIB"; then
3837 echo "$as_me:$LINENO: result: $RANLIB" >&5
3838 echo "${ECHO_T}$RANLIB" >&6
3840 echo "$as_me:$LINENO: result: no" >&5
3841 echo "${ECHO_T}no" >&6
3845 if test -z "$ac_cv_prog_RANLIB"; then
3846 ac_ct_RANLIB
=$RANLIB
3847 # Extract the first word of "ranlib", so it can be a program name with args.
3848 set dummy ranlib
; ac_word
=$2
3849 echo "$as_me:$LINENO: checking for $ac_word" >&5
3850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3851 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3852 echo $ECHO_N "(cached) $ECHO_C" >&6
3854 if test -n "$ac_ct_RANLIB"; then
3855 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3861 test -z "$as_dir" && as_dir
=.
3862 for ac_exec_ext
in '' $ac_executable_extensions; do
3863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3864 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3871 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3874 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3875 if test -n "$ac_ct_RANLIB"; then
3876 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3877 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3879 echo "$as_me:$LINENO: result: no" >&5
3880 echo "${ECHO_T}no" >&6
3883 RANLIB
=$ac_ct_RANLIB
3885 RANLIB
="$ac_cv_prog_RANLIB"
3889 # Find a good install program. We prefer a C program (faster),
3890 # so one script is as good as another. But avoid the broken or
3891 # incompatible versions:
3892 # SysV /etc/install, /usr/sbin/install
3893 # SunOS /usr/etc/install
3894 # IRIX /sbin/install
3896 # AmigaOS /C/install, which installs bootblocks on floppy discs
3897 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3898 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3899 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3900 # OS/2's system install, which has a completely different semantic
3901 # ./install, which can be erroneously created by make from ./install.sh.
3902 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3903 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3904 if test -z "$INSTALL"; then
3905 if test "${ac_cv_path_install+set}" = set; then
3906 echo $ECHO_N "(cached) $ECHO_C" >&6
3908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3912 test -z "$as_dir" && as_dir
=.
3913 # Account for people who put trailing slashes in PATH elements.
3915 .
/ | .
// |
/cC
/* | \
3916 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3917 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3920 # OSF1 and SCO ODT 3.0 have their own names for install.
3921 # Don't use installbsd from OSF since it installs stuff as root
3923 for ac_prog
in ginstall scoinst
install; do
3924 for ac_exec_ext
in '' $ac_executable_extensions; do
3925 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3926 if test $ac_prog = install &&
3927 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3928 # AIX install. It has an incompatible calling convention.
3930 elif test $ac_prog = install &&
3931 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3932 # program-specific install script used by HP pwplus--don't use.
3935 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3947 if test "${ac_cv_path_install+set}" = set; then
3948 INSTALL
=$ac_cv_path_install
3950 # As a last resort, use the slow shell script. We don't cache a
3951 # path for INSTALL within a source directory, because that will
3952 # break other packages using the cache if that directory is
3953 # removed, or if the path is relative.
3954 INSTALL
=$ac_install_sh
3957 echo "$as_me:$LINENO: result: $INSTALL" >&5
3958 echo "${ECHO_T}$INSTALL" >&6
3960 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3961 # It thinks the first close brace ends the variable substitution.
3962 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3964 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3966 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3969 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3970 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3971 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3972 if test "${enable_maintainer_mode+set}" = set; then
3973 enableval
="$enable_maintainer_mode"
3974 USE_MAINTAINER_MODE
=$enableval
3976 USE_MAINTAINER_MODE
=no
3978 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3979 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3982 if test $USE_MAINTAINER_MODE = yes; then
3983 MAINTAINER_MODE_TRUE
=
3984 MAINTAINER_MODE_FALSE
='#'
3986 MAINTAINER_MODE_TRUE
='#'
3987 MAINTAINER_MODE_FALSE
=
3990 MAINT
=$MAINTAINER_MODE_TRUE
3996 # configure.host sets the following important variables
3997 # libgcj_cflags - host specific C compiler flags
3998 # libgcj_cxxflags - host specific C++ compiler flags
3999 # libgcj_javaflags - host specific Java compiler flags
4005 .
${srcdir}/configure.
host
4007 LIBGCJ_CFLAGS
="${libgcj_cflags}"
4008 LIBGCJ_CXXFLAGS
="${libgcj_cxxflags}"
4009 LIBGCJ_JAVAFLAGS
="${libgcj_javaflags}"
4010 LIBGCJ_LD_SYMBOLIC
="${libgcj_ld_symbolic}"
4016 # Only use libltdl for non-newlib builds.
4017 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
4018 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
4019 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
4021 libname_spec
='lib$name'
4029 shlibpath_overrides_runpath
=unknown
4031 dynamic_linker
="$host_os ld.so"
4032 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
4033 if test "$GCC" = yes; then
4034 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
4035 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
4036 # if the path contains ";" then we assume it to be the separator
4037 # otherwise default to the standard path separator (i.e. ":") - it is
4038 # assumed that no part of a normal pathname contains ";" but that should
4039 # okay in the real world where ";" in dirpaths is itself problematic.
4040 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
4042 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
4045 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
4047 need_lib_prefix
=unknown
4048 hardcode_into_libs
=no
4050 # when you set need_version to no, make sure it does not cause -set_version
4051 # flags to be left without arguments
4052 need_version
=unknown
4057 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
4058 shlibpath_var
=LIBPATH
4060 # AIX 3 has no versioning support, so we append a major version to the name.
4061 soname_spec
='${libname}${release}${shared_ext}$major'
4068 hardcode_into_libs
=yes
4069 if test "$host_cpu" = ia64
; then
4070 # AIX 5 supports IA64
4071 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
4072 shlibpath_var
=LD_LIBRARY_PATH
4074 # With GCC up to 2.95.x, collect2 would create an import file
4075 # for dependence libraries. The import file would start with
4076 # the line `#! .'. This would cause the generated library to
4077 # depend on `.', always an invalid library. This was fixed in
4078 # development snapshots of GCC prior to 3.0.
4080 aix4 | aix4.
[01] | aix4.
[01].
*)
4081 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
4083 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
4090 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
4091 # soname into executable. Probably we can add versioning support to
4092 # collect2, so additional links can be useful in future.
4093 if test "$aix_use_runtimelinking" = yes; then
4094 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
4095 # instead of lib<name>.a to let people know that these are not
4096 # typical AIX shared libraries.
4097 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4099 # We preserve .a as extension for shared libraries through AIX4.2
4100 # and later when we are not doing run time linking.
4101 library_names_spec
='${libname}${release}.a $libname.a'
4102 soname_spec
='${libname}${release}${shared_ext}$major'
4104 shlibpath_var
=LIBPATH
4109 library_names_spec
='$libname.ixlibrary $libname.a'
4110 # Create ${libname}_ixlibrary.a entries in /sys/libs.
4111 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'
4115 library_names_spec
='${libname}${shared_ext}'
4116 dynamic_linker
="$host_os ld.so"
4117 shlibpath_var
=LIBRARY_PATH
4123 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4124 soname_spec
='${libname}${release}${shared_ext}$major'
4125 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
4126 shlibpath_var
=LD_LIBRARY_PATH
4127 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
4128 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
4129 # the default ld.so.conf also contains /usr/contrib/lib and
4130 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
4131 # libtool to hard-code these into programs
4134 cygwin
* | mingw
* | pw32
*)
4135 version_type
=windows
4140 case $GCC,$host_os in
4141 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
4142 library_names_spec
='$libname.dll.a'
4143 # DLL is installed to $(libdir)/../bin by postinstall_cmds
4144 postinstall_cmds
='base_file=`basename \${file}`~
4145 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
4146 dldir=$destdir/`dirname \$dlpath`~
4147 test -d \$dldir || mkdir -p \$dldir~
4148 $install_prog $dir/$dlname \$dldir/$dlname'
4149 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
4150 dlpath=$dir/\$dldll~
4152 shlibpath_overrides_runpath
=yes
4156 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
4157 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
4158 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
4161 # MinGW DLLs use traditional 'lib' prefix
4162 soname_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
4163 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
4164 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
4165 # It is most probably a Windows format PATH printed by
4166 # mingw gcc, but we are running on Cygwin. Gcc prints its search
4167 # path with ; separators, and with drive letters. We can handle the
4168 # drive letters (cygwin fileutils understands them), so leave them,
4169 # especially as we might pass files found there to a mingw objdump,
4170 # which wouldn't understand a cygwinified path. Ahh.
4171 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
4173 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
4177 # pw32 DLLs use 'pw' prefix rather than 'lib'
4178 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}${shared_ext}'
4184 library_names_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
4187 dynamic_linker
='Win32 ld.exe'
4188 # FIXME: first we should search . and the directory the executable is in
4192 darwin
* | rhapsody
*)
4193 dynamic_linker
="$host_os dyld"
4197 # FIXME: Relying on posixy $() will cause problems for
4198 # cross-compilation, but unfortunately the echo tests do not
4199 # yet detect zsh echo's removal of \ escapes.
4200 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
4201 soname_spec
='${libname}${release}${major}$shared_ext'
4202 shlibpath_overrides_runpath
=yes
4203 shlibpath_var
=DYLD_LIBRARY_PATH
4204 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
4205 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
4206 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
4207 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"`
4209 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
4216 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
4217 soname_spec
='${libname}${release}${shared_ext}$major'
4218 shlibpath_var
=LD_LIBRARY_PATH
4226 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
4227 version_type
=freebsd-
$objformat
4228 case $version_type in
4230 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
4235 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
4239 shlibpath_var
=LD_LIBRARY_PATH
4242 shlibpath_overrides_runpath
=yes
4244 freebsd3.01
* | freebsdelf3.01
*)
4245 shlibpath_overrides_runpath
=yes
4246 hardcode_into_libs
=yes
4249 shlibpath_overrides_runpath
=no
4250 hardcode_into_libs
=yes
4259 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
4260 soname_spec
='${libname}${release}${shared_ext}$major'
4261 shlibpath_var
=LD_LIBRARY_PATH
4262 hardcode_into_libs
=yes
4265 hpux9
* | hpux10
* | hpux11
*)
4266 # Give a soname corresponding to the major version so that dld.sl refuses to
4267 # link against other versions.
4274 hardcode_into_libs
=yes
4275 dynamic_linker
="$host_os dld.so"
4276 shlibpath_var
=LD_LIBRARY_PATH
4277 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
4278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4279 soname_spec
='${libname}${release}${shared_ext}$major'
4280 if test "X$HPUX_IA64_MODE" = X32
; then
4281 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
4283 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
4285 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
4289 hardcode_into_libs
=yes
4290 dynamic_linker
="$host_os dld.sl"
4291 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
4292 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
4293 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4294 soname_spec
='${libname}${release}${shared_ext}$major'
4295 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
4296 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
4300 dynamic_linker
="$host_os dld.sl"
4301 shlibpath_var
=SHLIB_PATH
4302 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
4303 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4304 soname_spec
='${libname}${release}${shared_ext}$major'
4307 # HP-UX runs *really* slowly unless shared libraries are mode 555.
4308 postinstall_cmds
='chmod 555 $lib'
4311 irix5
* | irix6
* | nonstopux
*)
4313 nonstopux
*) version_type
=nonstopux
;;
4315 if test "$lt_cv_prog_gnu_ld" = yes; then
4323 soname_spec
='${libname}${release}${shared_ext}$major'
4324 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
4326 irix5
* | nonstopux
*)
4330 case $LD in # libtool.m4 will add one of these switches to LD
4331 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
4332 libsuff
= shlibsuff
= libmagic
=32-bit;;
4333 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
4334 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
4335 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
4336 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
4337 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
4341 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
4342 shlibpath_overrides_runpath
=no
4343 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
4344 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
4345 hardcode_into_libs
=yes
4348 # No shared lib support for Linux oldld, aout, or coff.
4349 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
4353 # This must be Linux ELF.
4358 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4359 soname_spec
='${libname}${release}${shared_ext}$major'
4360 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
4361 shlibpath_var
=LD_LIBRARY_PATH
4362 shlibpath_overrides_runpath
=no
4363 # This implies no fast_install, which is unacceptable.
4364 # Some rework will be needed to allow for fast_install
4365 # before this can be enabled.
4366 hardcode_into_libs
=yes
4368 # We used to test for /lib/ld.so.1 and disable shared libraries on
4369 # powerpc, because MkLinux only supported shared libraries with the
4370 # GNU dynamic linker. Since this was broken with cross compilers,
4371 # most powerpc-linux boxes support dynamic linking these days and
4372 # people can always --disable-shared, the test was removed, and we
4373 # assume the GNU/Linux dynamic linker is in use.
4374 dynamic_linker
='GNU/Linux ld.so'
4381 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
4382 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4383 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4384 dynamic_linker
='NetBSD (a.out) ld.so'
4386 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
4387 soname_spec
='${libname}${release}${shared_ext}$major'
4388 dynamic_linker
='NetBSD ld.elf_so'
4390 shlibpath_var
=LD_LIBRARY_PATH
4391 shlibpath_overrides_runpath
=yes
4392 hardcode_into_libs
=yes
4397 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4398 shlibpath_var
=LD_LIBRARY_PATH
4399 shlibpath_overrides_runpath
=yes
4406 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4407 soname_spec
='${libname}${release}${shared_ext}$major'
4408 shlibpath_var
=LD_LIBRARY_PATH
4409 shlibpath_overrides_runpath
=yes
4416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4417 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4418 shlibpath_var
=LD_LIBRARY_PATH
4419 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4421 openbsd2.
[89] | openbsd2.
[89].
*)
4422 shlibpath_overrides_runpath
=no
4425 shlibpath_overrides_runpath
=yes
4429 shlibpath_overrides_runpath
=yes
4434 libname_spec
='$name'
4437 library_names_spec
='$libname${shared_ext} $libname.a'
4438 dynamic_linker
='OS/2 ld.exe'
4439 shlibpath_var
=LIBPATH
4442 osf3
* | osf4
* | osf5
*)
4446 soname_spec
='${libname}${release}${shared_ext}$major'
4447 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4448 shlibpath_var
=LD_LIBRARY_PATH
4449 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
4450 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
4455 soname_spec
='${libname}${release}${shared_ext}$major'
4456 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4457 shlibpath_var
=LD_LIBRARY_PATH
4464 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4465 soname_spec
='${libname}${release}${shared_ext}$major'
4466 shlibpath_var
=LD_LIBRARY_PATH
4467 shlibpath_overrides_runpath
=yes
4468 hardcode_into_libs
=yes
4469 # ldd complains unless libraries are executable
4470 postinstall_cmds
='chmod +x $lib'
4475 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4476 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
4477 shlibpath_var
=LD_LIBRARY_PATH
4478 shlibpath_overrides_runpath
=yes
4479 if test "$with_gnu_ld" = yes; then
4485 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
4487 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4488 soname_spec
='${libname}${release}${shared_ext}$major'
4489 shlibpath_var
=LD_LIBRARY_PATH
4490 case $host_vendor in
4492 shlibpath_overrides_runpath
=no
4494 export_dynamic_flag_spec
='${wl}-Blargedynsym'
4495 runpath_var
=LD_RUN_PATH
4503 shlibpath_overrides_runpath
=no
4504 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
4510 if test -d /usr
/nec
;then
4512 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
4513 soname_spec
='$libname${shared_ext}.$major'
4514 shlibpath_var
=LD_LIBRARY_PATH
4520 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4521 soname_spec
='${libname}${release}${shared_ext}$major'
4522 shlibpath_var
=LD_LIBRARY_PATH
4529 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
4530 echo "${ECHO_T}$dynamic_linker" >&6
4531 test "$dynamic_linker" = no
&& can_build_shared
=no
4534 echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
4535 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6
4536 if test "${libltdl_cv_shlibpath_var+set}" = set; then
4537 echo $ECHO_N "(cached) $ECHO_C" >&6
4539 libltdl_cv_shlibpath_var
="$shlibpath_var"
4541 echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
4542 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6
4543 if test -n "$libltdl_cv_shlibpath_var"; then
4545 cat >>confdefs.h
<<_ACEOF
4546 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
4553 ac_config_headers
="$ac_config_headers include/config.h gcj/libgcj-config.h"
4556 # See if the user has requested runtime debugging.
4557 LIBGCJDEBUG
="disable"
4559 # Check whether --enable-libgcj-debug or --disable-libgcj-debug was given.
4560 if test "${enable_libgcj_debug+set}" = set; then
4561 enableval
="$enable_libgcj_debug"
4562 if test "$enable_libgcj_debug" = yes; then
4564 cat >>confdefs.h
<<\_ACEOF
4568 LIBGCJDEBUG
="enable"
4572 # Determine which AWT peer libraries to build
4573 # Check whether --enable-java-awt or --disable-java-awt was given.
4574 if test "${enable_java_awt+set}" = set; then
4575 enableval
="$enable_java_awt"
4579 peerlibs
="`echo ${enable_java_awt} | tr ',' ' '`"
4583 # The default toolkit to use is the first one specified.
4587 for peer
in $peerlibs ; do
4590 if test "$no_x" = yes; then
4591 echo "*** xlib peers requested but no X library available" 1>&2
4595 if test -z "$TOOLKIT"; then
4596 TOOLKIT
=gnu.awt.xlib.XToolkit
4601 if test "$no_x" = yes; then
4602 echo "*** gtk peers requested but no X library available" 1>&2
4606 if test -z "$TOOLKIT"; then
4607 TOOLKIT
=gnu.java.awt.peer.gtk.GtkToolkit
4612 if test "$no_x" = yes; then
4613 # Perhaps we should admit the possibility of embedded Qt.
4614 echo "*** Qt peers requested but no X library available" 1>&2
4618 if test -z "$TOOLKIT"; then
4619 TOOLKIT
=gnu.java.awt.peer.qt.QtToolkit
4630 echo "*** unrecognised argument \"${peer}\" for --enable-java-awt" 1>&2
4637 if test "$use_xlib_awt" = yes; then
4647 if test "$use_gtk_awt" = yes; then
4657 if test "$use_qt_awt" = yes; then
4666 # Create standard.omit based on decisions we just made.
4667 cp $srcdir/standard.omit.
in standard.omit
4668 if test "$use_xlib_awt" != yes; then
4669 echo gnu
/awt
/xlib
>> standard.omit
4670 echo gnu
/gcj
/xlib
>> standard.omit
4672 if test "$use_gtk_awt" != yes; then
4673 echo gnu
/java
/awt
/peer
/gtk
>> standard.omit
4675 if test "$use_qt_awt" != yes; then
4676 echo gnu
/java
/awt
/peer
/qt
>> standard.omit
4679 if test -z "${with_multisubdir}"; then
4682 builddotdot
=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`
4687 # Which gcj do we use?
4689 built_gcc_dir
="`cd ${builddotdot}/../../${host_subdir}/gcc && ${PWDCMD-pwd}`"
4690 if test -n "${with_cross_host}"; then
4691 # We are being configured with a cross compiler. We can't
4692 # use ac_exeext, because that is for the target platform.
4695 case "${with_cross_host}" in
4697 cross_host_exeext
=.exe
4700 if test -x "${built_gcc_dir}/gcj${cross_host_exeext}"; then
4701 if test x
"$build_noncanonical" = x
"$with_cross_host"; then
4702 # Ordinary cross (host!=target and host=build)
4705 # Canadian cross (host!=target and host!=build)
4712 # We are being configured with a native or crossed-native compiler
4713 if test -x "${built_gcc_dir}/gcj${ac_exeext}"; then
4714 if test x
"$build" = x
"$host"; then
4715 # True native build (host=target and host=build)
4718 # Crossed-native build (host=target and host!=build)
4725 case "${which_gcj}" in
4727 GCJ
="$built_gcc_dir/gcj -B`${PWDCMD-pwd}`/ -B$built_gcc_dir/"
4728 GCJH
='$(top_builddir)/$(MULTIBUILDTOP)../../$(host_subdir)/gcc/gcjh'
4729 ZIP
='$(top_builddir)/$(MULTIBUILDTOP)../../$(host_subdir)/fastjar/fastjar'
4732 if test "x${with_newlib}" = "xyes"; then
4733 # FIXME (comment): Why is this needed?
4735 GCJ
="${target_noncanonical}-gcj"
4737 GCJ
="${target_noncanonical}-gcj -B`${PWDCMD-pwd}`/"
4739 ZIP
='$(target_noncanonical)-fastjar'
4740 GCJH
='$(target_noncanonical)-gcjh'
4743 GCJ
="gcj -B`${PWDCMD-pwd}`/"
4744 ## In this case, gcj is found outside the build tree. However, zip is
4745 ## found in the build tree.
4746 ZIP
='$(top_builddir)/$(MULTIBUILDTOP)../$(COMPPATH)/fastjar/fastjar'
4754 # Create it, so that compile/link tests don't fail
4755 test -f libgcj.spec ||
touch libgcj.spec
4759 # Set up to configure Classpath.
4760 # FIXME: no supported way to pass args in autoconf.
4761 ac_configure_args
="$ac_configure_args --disable-load-library"
4762 ac_configure_args
="$ac_configure_args --${LIBGCJDEBUG}-debug"
4763 ac_configure_args
="$ac_configure_args --enable-default-toolkit=$TOOLKIT"
4764 dir1
=`cd $srcdir && pwd`
4766 ac_configure_args
="$ac_configure_args --with-vm-classes=$dir1:$dir2"
4767 ac_configure_args
="$ac_configure_args --disable-core-jni"
4768 ac_configure_args
="$ac_configure_args --disable-examples"
4769 ac_configure_args
="$ac_configure_args --with-glibj=build"
4770 if test "$use_gtk_awt" != yes; then
4771 ac_configure_args
="$ac_configure_args --disable-gtk-peer"
4773 if test "$use_qt_awt" != yes; then
4774 ac_configure_args
="$ac_configure_args --disable-qt-peer"
4776 # We need this as qt is disabled by default in classpath.
4777 ac_configure_args
="$ac_configure_args --enable-qt-peer"
4780 # Only use libltdl for non-newlib builds.
4781 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
4782 case $enable_ltdl_convenience in
4783 no
) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
4784 echo "$as_me: error: this package needs a convenience libltdl" >&2;}
4785 { (exit 1); exit 1; }; } ;;
4786 "") enable_ltdl_convenience
=yes
4787 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
4789 LIBLTDL
='${top_builddir}/''libltdl'/libltdlc.la
4790 INCLTDL
='-I${top_srcdir}/''libltdl'
4795 cat >>confdefs.h
<<\_ACEOF
4799 # Sigh. Libtool's macro doesn't do the right thing.
4800 INCLTDL
="-I\$(top_srcdir)/libltdl $INCLTDL"
4801 # FIXME: this is a hack.
4802 sub_auxdir
="`cd $ac_aux_dir && ${PWDCMD-pwd}`"
4803 ac_configure_args
="$ac_configure_args --with-auxdir=$sub_auxdir"
4808 # Check whether --enable-shared or --disable-shared was given.
4809 if test "${enable_shared+set}" = set; then
4810 enableval
="$enable_shared"
4811 p
=${PACKAGE-default}
4813 yes) enable_shared
=yes ;;
4814 no
) enable_shared
=no
;;
4817 # Look at the argument we got. We use all the common list separators.
4818 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4819 for pkg
in $enableval; do
4820 if test "X$pkg" = "X$p"; then
4830 # Check whether --enable-static or --disable-static was given.
4831 if test "${enable_static+set}" = set; then
4832 enableval
="$enable_static"
4833 p
=${PACKAGE-default}
4835 yes) enable_static
=yes ;;
4836 no
) enable_static
=no
;;
4839 # Look at the argument we got. We use all the common list separators.
4840 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4841 for pkg
in $enableval; do
4842 if test "X$pkg" = "X$p"; then
4852 # Check whether --enable-fast-install or --disable-fast-install was given.
4853 if test "${enable_fast_install+set}" = set; then
4854 enableval
="$enable_fast_install"
4855 p
=${PACKAGE-default}
4857 yes) enable_fast_install
=yes ;;
4858 no
) enable_fast_install
=no
;;
4860 enable_fast_install
=no
4861 # Look at the argument we got. We use all the common list separators.
4862 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4863 for pkg
in $enableval; do
4864 if test "X$pkg" = "X$p"; then
4865 enable_fast_install
=yes
4872 enable_fast_install
=yes
4875 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4876 if test "${with_gnu_ld+set}" = set; then
4877 withval
="$with_gnu_ld"
4878 test "$withval" = no || with_gnu_ld
=yes
4883 if test "$GCC" = yes; then
4884 # Check if gcc -print-prog-name=ld gives a path.
4885 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4886 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4889 # gcc leaves a trailing carriage return which upsets mingw
4890 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4892 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4895 # Accept absolute paths.
4896 [\\/]* |
[A-Za-z
]:[\\/]*)
4897 re_direlt
='/[^/][^/]*/\.\./'
4898 # Canonicalize the path of ld
4899 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
4900 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4901 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
4903 test -z "$LD" && LD
="$ac_prog"
4906 # If it fails, then pretend we aren't using GCC.
4910 # If it is relative, then search for the first ld in PATH.
4914 elif test "$with_gnu_ld" = yes; then
4915 echo "$as_me:$LINENO: checking for GNU ld" >&5
4916 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4918 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4919 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4921 if test "${lt_cv_path_LD+set}" = set; then
4922 echo $ECHO_N "(cached) $ECHO_C" >&6
4924 if test -z "$LD"; then
4925 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4926 for ac_dir
in $PATH; do
4927 test -z "$ac_dir" && ac_dir
=.
4928 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4929 lt_cv_path_LD
="$ac_dir/$ac_prog"
4930 # Check to see if the program is GNU ld. I'd rather use --version,
4931 # but apparently some GNU ld's only accept -v.
4932 # Break only if it was the GNU/non-GNU ld that we prefer.
4933 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
4934 test "$with_gnu_ld" != no
&& break
4936 test "$with_gnu_ld" != yes && break
4942 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4947 if test -n "$LD"; then
4948 echo "$as_me:$LINENO: result: $LD" >&5
4949 echo "${ECHO_T}$LD" >&6
4951 echo "$as_me:$LINENO: result: no" >&5
4952 echo "${ECHO_T}no" >&6
4954 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4955 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4956 { (exit 1); exit 1; }; }
4957 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4958 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4959 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4960 echo $ECHO_N "(cached) $ECHO_C" >&6
4962 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4963 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4964 lt_cv_prog_gnu_ld
=yes
4966 lt_cv_prog_gnu_ld
=no
4969 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4970 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4971 with_gnu_ld
=$lt_cv_prog_gnu_ld
4974 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4975 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4976 if test "${lt_cv_ld_reload_flag+set}" = set; then
4977 echo $ECHO_N "(cached) $ECHO_C" >&6
4979 lt_cv_ld_reload_flag
='-r'
4981 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4982 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4983 reload_flag
=$lt_cv_ld_reload_flag
4984 test -n "$reload_flag" && reload_flag
=" $reload_flag"
4986 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4987 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4988 if test "${lt_cv_path_NM+set}" = set; then
4989 echo $ECHO_N "(cached) $ECHO_C" >&6
4991 if test -n "$NM"; then
4992 # Let the user override the test.
4995 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4996 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
4997 test -z "$ac_dir" && ac_dir
=.
4998 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
4999 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
5000 # Check to see if the nm accepts a BSD-compat flag.
5001 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5002 # nm: unknown option "B" ignored
5003 # Tru64's nm complains that /dev/null is an invalid object file
5004 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
5005 lt_cv_path_NM
="$tmp_nm -B"
5007 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
5008 lt_cv_path_NM
="$tmp_nm -p"
5011 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5012 continue # so that we can try to find one that supports BSD flags
5017 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
5022 echo "$as_me:$LINENO: result: $NM" >&5
5023 echo "${ECHO_T}$NM" >&6
5025 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
5026 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
5027 if test "${lt_cv_deplibs_check_method+set}" = set; then
5028 echo $ECHO_N "(cached) $ECHO_C" >&6
5030 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5031 lt_cv_file_magic_test_file
=
5032 lt_cv_deplibs_check_method
='unknown'
5033 # Need to set the preceding variable on all platforms that support
5034 # interlibrary dependencies.
5035 # 'none' -- dependencies not supported.
5036 # `unknown' -- same as none, but documents that we really don't know.
5037 # 'pass_all' -- all dependencies passed with no checks.
5038 # 'test_compile' -- check by making test program.
5039 # 'file_magic [regex]' -- check by looking for files in library path
5040 # which responds to the $file_magic_cmd with a given egrep regex.
5041 # If you have `file' or equivalent on your system and you're not sure
5042 # whether `pass_all' will *always* work, you probably want this one.
5046 lt_cv_deplibs_check_method
=pass_all
5050 lt_cv_deplibs_check_method
=pass_all
5054 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5055 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5056 lt_cv_file_magic_test_file
=/shlib
/libc.so
5059 cygwin
* | mingw
* |pw32
*)
5060 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5061 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5064 darwin
* | rhapsody
*)
5065 # this will be overwritten by pass_all, but leave it in just in case
5066 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
5067 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5069 rhapsody
* | darwin1.012
)
5070 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
5073 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
5076 lt_cv_deplibs_check_method
=pass_all
5079 freebsd
* | kfreebsd
*-gnu)
5080 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5083 # Not sure whether the presence of OpenBSD here was a mistake.
5084 # Let's accept both of them until this is cleared up.
5085 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5086 lt_cv_file_magic_cmd
=/usr
/bin
/file
5087 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5091 lt_cv_deplibs_check_method
=pass_all
5096 lt_cv_deplibs_check_method
=pass_all
5102 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5103 lt_cv_file_magic_cmd
=/usr
/bin
/file
5104 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5107 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5108 lt_cv_file_magic_cmd
=/usr
/bin
/file
5109 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5117 # this will be overridden with pass_all, but let us keep it just in case
5118 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5122 *-32|
*"-32 ") libmagic
=32-bit;;
5123 *-n32|
*"-n32 ") libmagic
=N32
;;
5124 *-64|
*"-64 ") libmagic
=64-bit;;
5125 *) libmagic
=never-match
;;
5127 # this will be overridden with pass_all, but let us keep it just in case
5128 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5131 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
5132 lt_cv_deplibs_check_method
=pass_all
5135 # This must be Linux ELF.
5137 lt_cv_deplibs_check_method
=pass_all
5140 netbsd
* | knetbsd
*-gnu)
5141 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5142 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
5144 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
5149 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5150 lt_cv_file_magic_cmd
=/usr
/bin
/file
5151 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5154 osf3
* | osf4
* | osf5
*)
5155 # this will be overridden with pass_all, but let us keep it just in case
5156 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
5157 lt_cv_file_magic_test_file
=/shlib
/libc.so
5158 lt_cv_deplibs_check_method
=pass_all
5162 lt_cv_deplibs_check_method
=pass_all
5166 lt_cv_deplibs_check_method
=pass_all
5167 lt_cv_file_magic_test_file
=/lib
/libc.so
5170 sysv5uw
[78]* | sysv4
*uw2
*)
5171 lt_cv_deplibs_check_method
=pass_all
5174 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
5175 case $host_vendor in
5177 lt_cv_deplibs_check_method
=pass_all
5180 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]'
5181 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5188 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5189 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5190 file_magic_cmd
=$lt_cv_file_magic_cmd
5191 deplibs_check_method
=$lt_cv_deplibs_check_method
5196 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5198 # find the maximum length of command line arguments
5199 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5200 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5201 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5202 echo $ECHO_N "(cached) $ECHO_C" >&6
5209 # On DJGPP, this test can blow up pretty badly due to problems in libc
5210 # (any single argument exceeding 2000 bytes causes a buffer overrun
5211 # during glob expansion). Even if it were fixed, the result of this
5212 # check would be larger than it should be.
5213 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5217 # On Win9x/ME, this test blows up -- it succeeds, but takes
5218 # about 5 minutes as the teststring grows exponentially.
5219 # Worse, since 9x/ME are not pre-emptively multitasking,
5220 # you end up with a "frozen" computer, even though with patience
5221 # the test eventually succeeds (with a max line length of 256k).
5222 # Instead, let's just punt: use the minimum linelength reported by
5223 # all of the supported platforms: 8192 (on NT/2K/XP).
5224 lt_cv_sys_max_cmd_len
=8192;
5228 # On AmigaOS with pdksh, this test takes hours, literally.
5229 # So we just punt and use a minimum line length of 8192.
5230 lt_cv_sys_max_cmd_len
=8192;
5233 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5234 # This has been around since 386BSD, at least. Likely further.
5235 if test -x /sbin
/sysctl
; then
5236 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5237 elif test -x /usr
/sbin
/sysctl
; then
5238 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5240 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
5242 # And add a safety zone
5243 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5244 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5250 if test -n "$lt_cv_sys_max_cmd_len" ; then
5251 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5252 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5254 echo "$as_me:$LINENO: result: none" >&5
5255 echo "${ECHO_T}none" >&6
5259 # Only perform the check for file, if the check method requires it
5260 case $deplibs_check_method in
5262 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5263 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5264 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5265 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5266 echo $ECHO_N "(cached) $ECHO_C" >&6
5270 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5273 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5276 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5277 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5278 ac_dummy
="/usr/bin:$PATH"
5279 for ac_dir
in $ac_dummy; do
5280 test -z "$ac_dir" && ac_dir
=.
5281 if test -f $ac_dir/${ac_tool_prefix}file; then
5282 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
5283 if test -n "$file_magic_test_file"; then
5284 case $deplibs_check_method in
5286 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5287 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5288 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5289 egrep "$file_magic_regex" > /dev
/null
; then
5294 *** Warning: the command libtool uses to detect shared libraries,
5295 *** $file_magic_cmd, produces output that libtool cannot recognize.
5296 *** The result is that libtool may fail to recognize shared libraries
5297 *** as such. This will affect the creation of libtool libraries that
5298 *** depend on shared libraries, but programs linked with such libtool
5299 *** libraries will work regardless of this problem. Nevertheless, you
5300 *** may want to report the problem to your system manager and/or to
5301 *** bug-libtool@gnu.org
5311 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5316 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5317 if test -n "$MAGIC_CMD"; then
5318 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5319 echo "${ECHO_T}$MAGIC_CMD" >&6
5321 echo "$as_me:$LINENO: result: no" >&5
5322 echo "${ECHO_T}no" >&6
5325 if test -z "$lt_cv_path_MAGIC_CMD"; then
5326 if test -n "$ac_tool_prefix"; then
5327 echo "$as_me:$LINENO: checking for file" >&5
5328 echo $ECHO_N "checking for file... $ECHO_C" >&6
5329 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5330 echo $ECHO_N "(cached) $ECHO_C" >&6
5334 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5337 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
5340 ac_save_MAGIC_CMD
="$MAGIC_CMD"
5341 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5342 ac_dummy
="/usr/bin:$PATH"
5343 for ac_dir
in $ac_dummy; do
5344 test -z "$ac_dir" && ac_dir
=.
5345 if test -f $ac_dir/file; then
5346 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
5347 if test -n "$file_magic_test_file"; then
5348 case $deplibs_check_method in
5350 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5351 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5352 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5353 egrep "$file_magic_regex" > /dev
/null
; then
5358 *** Warning: the command libtool uses to detect shared libraries,
5359 *** $file_magic_cmd, produces output that libtool cannot recognize.
5360 *** The result is that libtool may fail to recognize shared libraries
5361 *** as such. This will affect the creation of libtool libraries that
5362 *** depend on shared libraries, but programs linked with such libtool
5363 *** libraries will work regardless of this problem. Nevertheless, you
5364 *** may want to report the problem to your system manager and/or to
5365 *** bug-libtool@gnu.org
5375 MAGIC_CMD
="$ac_save_MAGIC_CMD"
5380 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5381 if test -n "$MAGIC_CMD"; then
5382 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5383 echo "${ECHO_T}$MAGIC_CMD" >&6
5385 echo "$as_me:$LINENO: result: no" >&5
5386 echo "${ECHO_T}no" >&6
5398 if test -n "$ac_tool_prefix"; then
5399 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5400 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5401 echo "$as_me:$LINENO: checking for $ac_word" >&5
5402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5403 if test "${ac_cv_prog_RANLIB+set}" = set; then
5404 echo $ECHO_N "(cached) $ECHO_C" >&6
5406 if test -n "$RANLIB"; then
5407 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5413 test -z "$as_dir" && as_dir
=.
5414 for ac_exec_ext
in '' $ac_executable_extensions; do
5415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5416 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5425 RANLIB
=$ac_cv_prog_RANLIB
5426 if test -n "$RANLIB"; then
5427 echo "$as_me:$LINENO: result: $RANLIB" >&5
5428 echo "${ECHO_T}$RANLIB" >&6
5430 echo "$as_me:$LINENO: result: no" >&5
5431 echo "${ECHO_T}no" >&6
5435 if test -z "$ac_cv_prog_RANLIB"; then
5436 ac_ct_RANLIB
=$RANLIB
5437 # Extract the first word of "ranlib", so it can be a program name with args.
5438 set dummy ranlib
; ac_word
=$2
5439 echo "$as_me:$LINENO: checking for $ac_word" >&5
5440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5441 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5442 echo $ECHO_N "(cached) $ECHO_C" >&6
5444 if test -n "$ac_ct_RANLIB"; then
5445 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5451 test -z "$as_dir" && as_dir
=.
5452 for ac_exec_ext
in '' $ac_executable_extensions; do
5453 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5454 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5461 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5464 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5465 if test -n "$ac_ct_RANLIB"; then
5466 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5467 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5469 echo "$as_me:$LINENO: result: no" >&5
5470 echo "${ECHO_T}no" >&6
5473 RANLIB
=$ac_ct_RANLIB
5475 RANLIB
="$ac_cv_prog_RANLIB"
5478 if test -n "$ac_tool_prefix"; then
5479 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5480 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5481 echo "$as_me:$LINENO: checking for $ac_word" >&5
5482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5483 if test "${ac_cv_prog_STRIP+set}" = set; then
5484 echo $ECHO_N "(cached) $ECHO_C" >&6
5486 if test -n "$STRIP"; then
5487 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5493 test -z "$as_dir" && as_dir
=.
5494 for ac_exec_ext
in '' $ac_executable_extensions; do
5495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5496 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5505 STRIP
=$ac_cv_prog_STRIP
5506 if test -n "$STRIP"; then
5507 echo "$as_me:$LINENO: result: $STRIP" >&5
5508 echo "${ECHO_T}$STRIP" >&6
5510 echo "$as_me:$LINENO: result: no" >&5
5511 echo "${ECHO_T}no" >&6
5515 if test -z "$ac_cv_prog_STRIP"; then
5517 # Extract the first word of "strip", so it can be a program name with args.
5518 set dummy strip
; ac_word
=$2
5519 echo "$as_me:$LINENO: checking for $ac_word" >&5
5520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5521 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5522 echo $ECHO_N "(cached) $ECHO_C" >&6
5524 if test -n "$ac_ct_STRIP"; then
5525 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5531 test -z "$as_dir" && as_dir
=.
5532 for ac_exec_ext
in '' $ac_executable_extensions; do
5533 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5534 ac_cv_prog_ac_ct_STRIP
="strip"
5535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5541 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
5544 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5545 if test -n "$ac_ct_STRIP"; then
5546 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5547 echo "${ECHO_T}$ac_ct_STRIP" >&6
5549 echo "$as_me:$LINENO: result: no" >&5
5550 echo "${ECHO_T}no" >&6
5555 STRIP
="$ac_cv_prog_STRIP"
5559 # Check for any special flags to pass to ltconfig.
5560 libtool_flags
="--cache-file=$cache_file"
5561 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
5562 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
5563 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
5564 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
5565 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
5568 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5569 if test "${enable_libtool_lock+set}" = set; then
5570 enableval
="$enable_libtool_lock"
5573 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
5574 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
5577 # Check whether --with-pic or --without-pic was given.
5578 if test "${with_pic+set}" = set; then
5584 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
5585 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
5587 # Some flags need to be propagated to the compiler or linker for good
5591 # Find out which ABI we are using.
5592 echo '#line 5592 "configure"' > conftest.
$ac_ext
5593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5594 (eval $ac_compile) 2>&5
5596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5597 (exit $ac_status); }; then
5598 if test "$lt_cv_prog_gnu_ld" = yes; then
5599 case `/usr/bin/file conftest.$ac_objext` in
5601 LD
="${LD-ld} -melf32bsmip"
5604 LD
="${LD-ld} -melf32bmipn32"
5607 LD
="${LD-ld} -melf64bmip"
5611 case `/usr/bin/file conftest.$ac_objext` in
5628 # Find out which ABI we are using.
5629 echo 'int i;' > conftest.
$ac_ext
5630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5631 (eval $ac_compile) 2>&5
5633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5634 (exit $ac_status); }; then
5635 case "`/usr/bin/file conftest.o`" in
5647 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
5648 # Find out which ABI we are using.
5649 echo 'int i;' > conftest.
$ac_ext
5650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5651 (eval $ac_compile) 2>&5
5653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5654 (exit $ac_status); }; then
5655 case "`/usr/bin/file conftest.o`" in
5659 LD
="${LD-ld} -m elf_i386"
5661 ppc64-
*linux
*|powerpc64-
*linux
*)
5662 LD
="${LD-ld} -m elf32ppclinux"
5665 LD
="${LD-ld} -m elf_s390"
5668 LD
="${LD-ld} -m elf32_sparc"
5675 LD
="${LD-ld} -m elf_x86_64"
5677 ppc
*-*linux
*|powerpc
*-*linux
*)
5678 LD
="${LD-ld} -m elf64ppc"
5681 LD
="${LD-ld} -m elf64_s390"
5684 LD
="${LD-ld} -m elf64_sparc"
5694 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5695 SAVE_CFLAGS
="$CFLAGS"
5696 CFLAGS
="$CFLAGS -belf"
5697 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5698 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5699 if test "${lt_cv_cc_needs_belf+set}" = set; then
5700 echo $ECHO_N "(cached) $ECHO_C" >&6
5705 ac_cpp
='$CPP $CPPFLAGS'
5706 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5707 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5708 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5710 if test x
$gcc_no_link = xyes
; then
5711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5713 { (exit 1); exit 1; }; }
5715 cat >conftest.
$ac_ext <<_ACEOF
5718 cat confdefs.h
>>conftest.
$ac_ext
5719 cat >>conftest.
$ac_ext <<_ACEOF
5720 /* end confdefs.h. */
5730 rm -f conftest.
$ac_objext conftest
$ac_exeext
5731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5732 (eval $ac_link) 2>conftest.er1
5734 grep -v '^ *+' conftest.er1
>conftest.err
5736 cat conftest.err
>&5
5737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5738 (exit $ac_status); } &&
5739 { ac_try
='test -z "$ac_c_werror_flag"
5740 || test ! -s conftest.err'
5741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5745 (exit $ac_status); }; } &&
5746 { ac_try
='test -s conftest$ac_exeext'
5747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5751 (exit $ac_status); }; }; then
5752 lt_cv_cc_needs_belf
=yes
5754 echo "$as_me: failed program was:" >&5
5755 sed 's/^/| /' conftest.
$ac_ext >&5
5757 lt_cv_cc_needs_belf
=no
5759 rm -f conftest.err conftest.
$ac_objext \
5760 conftest
$ac_exeext conftest.
$ac_ext
5762 ac_cpp
='$CPP $CPPFLAGS'
5763 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5764 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5765 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5768 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5769 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5770 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5771 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5772 CFLAGS
="$SAVE_CFLAGS"
5780 # Save cache, so that ltconfig can load it
5781 cat >confcache
<<\_ACEOF
5782 # This file is a shell script that caches the results of configure
5783 # tests run on this system so they can be shared between configure
5784 # scripts and configure runs, see configure's option --config-cache.
5785 # It is not useful on other systems. If it contains results you don't
5786 # want to keep, you may remove or edit it.
5788 # config.status only pays attention to the cache file if you give it
5789 # the --recheck option to rerun configure.
5791 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5792 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5797 # The following way of writing the cache mishandles newlines in values,
5798 # but we know of no workaround that is simple, portable, and efficient.
5799 # So, don't put newlines in cache variables' values.
5800 # Ultrix sh set writes to stderr and can't be redirected directly,
5801 # and sets the high bit in the cache file unless we assign to the vars.
5804 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5806 # `set' does not quote correctly, so add quotes (double-quote
5807 # substitution turns \\\\ into \\, and sed turns \\ into \).
5810 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5813 # `set' quotes correctly as required by POSIX, so do not add quotes.
5815 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5822 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5824 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5826 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5827 if test -w $cache_file; then
5828 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5829 cat confcache
>$cache_file
5831 echo "not updating unwritable cache $cache_file"
5836 # Actually configure libtool. ac_aux_dir is where install-sh is found.
5837 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
5838 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
5839 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
5840 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
5841 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
5842 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
5843 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
5844 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
5845 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
5846 echo "$as_me: error: libtool configure failed" >&2;}
5847 { (exit 1); exit 1; }; }
5849 # Reload cache, that may have been modified by ltconfig
5850 if test -r "$cache_file"; then
5851 # Some versions of bash will fail to source /dev/null (special
5852 # files actually), so we avoid doing that.
5853 if test -f "$cache_file"; then
5854 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5855 echo "$as_me: loading cache $cache_file" >&6;}
5857 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
5858 *) . .
/$cache_file;;
5862 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5863 echo "$as_me: creating cache $cache_file" >&6;}
5868 # This can be used to rebuild libtool when needed
5869 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5871 # Always use our own libtool.
5872 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
5874 # Redirect the config.log output again, so that the ltconfig log is not
5875 # clobbered by the next message.
5876 exec 5>>.
/config.log
5879 ac_cpp
='$CXXCPP $CPPFLAGS'
5880 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5881 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5882 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5883 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5884 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5885 if test -z "$CXXCPP"; then
5886 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5887 echo $ECHO_N "(cached) $ECHO_C" >&6
5889 # Double quotes because CXXCPP needs to be expanded
5890 for CXXCPP
in "$CXX -E" "/lib/cpp"
5893 for ac_cxx_preproc_warn_flag
in '' yes
5895 # Use a header file that comes with gcc, so configuring glibc
5896 # with a fresh cross-compiler works.
5897 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5898 # <limits.h> exists even on freestanding compilers.
5899 # On the NeXT, cc -E runs the code through the compiler's parser,
5900 # not just through cpp. "Syntax error" is here to catch this case.
5901 cat >conftest.
$ac_ext <<_ACEOF
5904 cat confdefs.h
>>conftest.
$ac_ext
5905 cat >>conftest.
$ac_ext <<_ACEOF
5906 /* end confdefs.h. */
5908 # include <limits.h>
5910 # include <assert.h>
5914 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5915 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5917 grep -v '^ *+' conftest.er1
>conftest.err
5919 cat conftest.err
>&5
5920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5921 (exit $ac_status); } >/dev
/null
; then
5922 if test -s conftest.err
; then
5923 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5924 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5931 if test -z "$ac_cpp_err"; then
5934 echo "$as_me: failed program was:" >&5
5935 sed 's/^/| /' conftest.
$ac_ext >&5
5937 # Broken: fails on valid input.
5940 rm -f conftest.err conftest.
$ac_ext
5942 # OK, works on sane cases. Now check whether non-existent headers
5943 # can be detected and how.
5944 cat >conftest.
$ac_ext <<_ACEOF
5947 cat confdefs.h
>>conftest.
$ac_ext
5948 cat >>conftest.
$ac_ext <<_ACEOF
5949 /* end confdefs.h. */
5950 #include <ac_nonexistent.h>
5952 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5953 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5955 grep -v '^ *+' conftest.er1
>conftest.err
5957 cat conftest.err
>&5
5958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5959 (exit $ac_status); } >/dev
/null
; then
5960 if test -s conftest.err
; then
5961 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5962 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5969 if test -z "$ac_cpp_err"; then
5970 # Broken: success on invalid input.
5973 echo "$as_me: failed program was:" >&5
5974 sed 's/^/| /' conftest.
$ac_ext >&5
5976 # Passes both tests.
5980 rm -f conftest.err conftest.
$ac_ext
5983 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5984 rm -f conftest.err conftest.
$ac_ext
5985 if $ac_preproc_ok; then
5990 ac_cv_prog_CXXCPP
=$CXXCPP
5993 CXXCPP
=$ac_cv_prog_CXXCPP
5995 ac_cv_prog_CXXCPP
=$CXXCPP
5997 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5998 echo "${ECHO_T}$CXXCPP" >&6
6000 for ac_cxx_preproc_warn_flag
in '' yes
6002 # Use a header file that comes with gcc, so configuring glibc
6003 # with a fresh cross-compiler works.
6004 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6005 # <limits.h> exists even on freestanding compilers.
6006 # On the NeXT, cc -E runs the code through the compiler's parser,
6007 # not just through cpp. "Syntax error" is here to catch this case.
6008 cat >conftest.
$ac_ext <<_ACEOF
6011 cat confdefs.h
>>conftest.
$ac_ext
6012 cat >>conftest.
$ac_ext <<_ACEOF
6013 /* end confdefs.h. */
6015 # include <limits.h>
6017 # include <assert.h>
6021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6022 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6024 grep -v '^ *+' conftest.er1
>conftest.err
6026 cat conftest.err
>&5
6027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6028 (exit $ac_status); } >/dev
/null
; then
6029 if test -s conftest.err
; then
6030 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6031 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6038 if test -z "$ac_cpp_err"; then
6041 echo "$as_me: failed program was:" >&5
6042 sed 's/^/| /' conftest.
$ac_ext >&5
6044 # Broken: fails on valid input.
6047 rm -f conftest.err conftest.
$ac_ext
6049 # OK, works on sane cases. Now check whether non-existent headers
6050 # can be detected and how.
6051 cat >conftest.
$ac_ext <<_ACEOF
6054 cat confdefs.h
>>conftest.
$ac_ext
6055 cat >>conftest.
$ac_ext <<_ACEOF
6056 /* end confdefs.h. */
6057 #include <ac_nonexistent.h>
6059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6060 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6062 grep -v '^ *+' conftest.er1
>conftest.err
6064 cat conftest.err
>&5
6065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6066 (exit $ac_status); } >/dev
/null
; then
6067 if test -s conftest.err
; then
6068 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6069 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6076 if test -z "$ac_cpp_err"; then
6077 # Broken: success on invalid input.
6080 echo "$as_me: failed program was:" >&5
6081 sed 's/^/| /' conftest.
$ac_ext >&5
6083 # Passes both tests.
6087 rm -f conftest.err conftest.
$ac_ext
6090 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6091 rm -f conftest.err conftest.
$ac_ext
6092 if $ac_preproc_ok; then
6095 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6096 See \`config.log' for more details." >&5
6097 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6098 See \`config.log' for more details." >&2;}
6099 { (exit 1); exit 1; }; }
6103 ac_cpp
='$CPP $CPPFLAGS'
6104 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6105 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6106 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6110 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
6112 lt_save_CFLAGS
="$CFLAGS"
6113 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
6114 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
6115 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
6116 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
6117 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
6118 deplibs_check_method
="$deplibs_check_method" \
6119 file_magic_cmd
="$file_magic_cmd" \
6120 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
6121 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
6122 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
6123 echo "$as_me: error: libtool tag configuration failed" >&2;}
6124 { (exit 1); exit 1; }; }
6126 CFLAGS
="$lt_save_CFLAGS"
6128 # Redirect the config.log output again, so that the ltconfig log is not
6129 # clobbered by the next message.
6130 exec 5>>.
/config.log
6140 # Extract the first word of "$ac_prog", so it can be a program name with args.
6141 set dummy
$ac_prog; ac_word
=$2
6142 echo "$as_me:$LINENO: checking for $ac_word" >&5
6143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6144 if test "${ac_cv_prog_GCJ+set}" = set; then
6145 echo $ECHO_N "(cached) $ECHO_C" >&6
6147 if test -n "$GCJ"; then
6148 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
6150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6154 test -z "$as_dir" && as_dir
=.
6155 for ac_exec_ext
in '' $ac_executable_extensions; do
6156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6157 ac_cv_prog_GCJ
="$ac_prog"
6158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6167 if test -n "$GCJ"; then
6168 echo "$as_me:$LINENO: result: $GCJ" >&5
6169 echo "${ECHO_T}$GCJ" >&6
6171 echo "$as_me:$LINENO: result: no" >&5
6172 echo "${ECHO_T}no" >&6
6175 test -n "$GCJ" && break
6177 test -n "$GCJ" || GCJ
="gcj"
6179 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
6180 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
6181 { (exit 1); exit 1; }; }
6182 if test "x${GCJFLAGS-unset}" = xunset
; then
6187 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
6189 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6190 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6191 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
6192 echo $ECHO_N "(cached) $ECHO_C" >&6
6194 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6195 # We make a subdir and do the tests there. Otherwise we can end up
6196 # making bogus files that we don't know about and never remove. For
6197 # instance it was reported that on HP-UX the gcc test will end up
6198 # making a dummy file named `D' -- because `-MD' means `put the output
6201 # Copy depcomp to subdir because otherwise we won't find it if we're
6202 # using a relative directory.
6203 cp "$am_depcomp" conftest.dir
6205 # We will build objects and dependencies in a subdirectory because
6206 # it helps to detect inapplicable dependency modes. For instance
6207 # both Tru64's cc and ICC support -MD to output dependencies as a
6208 # side effect of compilation, but ICC will put the dependencies in
6209 # the current directory while Tru64 will put them in the object
6213 am_cv_GCJ_dependencies_compiler_type
=none
6214 if test "$am_compiler_list" = ""; then
6215 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6217 for depmode
in $am_compiler_list; do
6218 # Setup a source with many dependencies, because some compilers
6219 # like to wrap large dependency lists on column 80 (with \), and
6220 # we should not choose a depcomp mode which is confused by this.
6222 # We need to recreate these files for each test, as the compiler may
6223 # overwrite some of them when testing with obscure command lines.
6224 # This happens at least with the AIX C compiler.
6226 for i
in 1 2 3 4 5 6; do
6227 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6228 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6229 # Solaris 8's {/usr,}/bin/sh.
6230 touch sub
/conftst
$i.h
6232 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6236 # after this tag, mechanisms are not by side-effect, so they'll
6237 # only be used when explicitly requested
6238 if test "x$enable_dependency_tracking" = xyes
; then
6246 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6247 # mode. It turns out that the SunPro C++ compiler does not properly
6248 # handle `-M -o', and we need to detect this.
6249 if depmode
=$depmode \
6250 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6251 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6252 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6253 >/dev
/null
2>conftest.err
&&
6254 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6255 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6256 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6257 # icc doesn't choke on unknown options, it will just issue warnings
6258 # or remarks (even with -Werror). So we grep stderr for any message
6259 # that says an option was ignored or not supported.
6260 # When given -MP, icc 7.0 and 7.1 complain thusly:
6261 # icc: Command line warning: ignoring option '-M'; no argument required
6262 # The diagnosis changed in icc 8.0:
6263 # icc: Command line remark: option '-MP' not supported
6264 if (grep 'ignoring option' conftest.err ||
6265 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6266 am_cv_GCJ_dependencies_compiler_type
=$depmode
6275 am_cv_GCJ_dependencies_compiler_type
=none
6279 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
6280 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
6281 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
6286 test "x$enable_dependency_tracking" != xno \
6287 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
6288 am__fastdepGCJ_TRUE
=
6289 am__fastdepGCJ_FALSE
='#'
6291 am__fastdepGCJ_TRUE
='#'
6292 am__fastdepGCJ_FALSE
=
6298 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-gcj.sh"
6300 lt_save_CFLAGS
="$CFLAGS"
6301 AR
="$AR" LTCC
="$CC" CC
="$GCJ" CFLAGS
="$GCJFLAGS" CPPFLAGS
="$CPPFLAGS" \
6302 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
6303 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
6304 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
6305 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
6306 deplibs_check_method
="$deplibs_check_method" \
6307 file_magic_cmd
="$file_magic_cmd" \
6308 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
6309 --build="$build" --add-tag=GCJ
$ac_aux_dir/ltcf-gcj.sh
$host \
6310 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
6311 echo "$as_me: error: libtool tag configuration failed" >&2;}
6312 { (exit 1); exit 1; }; }
6314 CFLAGS
="$lt_save_CFLAGS"
6316 # Redirect the config.log output again, so that the ltconfig log is not
6317 # clobbered by the next message.
6318 exec 5>>.
/config.log
6322 if test "x$CC" != xcc
; then
6323 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
6324 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
6326 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
6327 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
6329 set dummy
$CC; ac_cc
=`echo $2 |
6330 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6331 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
6332 echo $ECHO_N "(cached) $ECHO_C" >&6
6334 cat >conftest.
$ac_ext <<_ACEOF
6337 cat confdefs.h
>>conftest.
$ac_ext
6338 cat >>conftest.
$ac_ext <<_ACEOF
6339 /* end confdefs.h. */
6349 # Make sure it works both with $CC and with simple cc.
6350 # We do the test twice because some compilers refuse to overwrite an
6351 # existing .o file with -o, though they will create one.
6352 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
6353 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6357 (exit $ac_status); } &&
6358 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362 (exit $ac_status); };
6364 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
6365 if test "x$CC" != xcc
; then
6366 # Test first that cc exists at all.
6367 if { ac_try
='cc -c conftest.$ac_ext >&5'
6368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6372 (exit $ac_status); }; }; then
6373 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
6374 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6378 (exit $ac_status); } &&
6379 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6383 (exit $ac_status); };
6388 # cc exists but doesn't like -o.
6389 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
6394 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
6399 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
6400 echo "$as_me:$LINENO: result: yes" >&5
6401 echo "${ECHO_T}yes" >&6
6403 echo "$as_me:$LINENO: result: no" >&5
6404 echo "${ECHO_T}no" >&6
6406 cat >>confdefs.h
<<\_ACEOF
6407 #define NO_MINUS_C_MINUS_O 1
6412 # FIXME: we rely on the cache variable name because
6413 # there is no other way.
6415 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6416 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
6417 # Losing compiler, so override with the script.
6418 # FIXME: It is wrong to rewrite CC.
6419 # But if we don't then we get into trouble of one sort or another.
6420 # A longer-term fix would be to have automake use am__CC in this case,
6421 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6422 CC
="$am_aux_dir/compile $CC"
6428 subdirs
="$subdirs classpath libltdl"
6431 # The -no-testsuite modules omit the test subdir.
6434 if test -d $srcdir/testsuite
; then
6436 TESTSUBDIR_FALSE
='#'
6443 # Should the runtime set system properties by examining the
6444 # environment variable GCJ_PROPERTIES?
6445 # Check whether --enable-getenv-properties or --disable-getenv-properties was given.
6446 if test "${enable_getenv_properties+set}" = set; then
6447 enableval
="$enable_getenv_properties"
6451 # Whether GCJ_PROPERTIES is used depends on the target.
6452 if test -z "$enable_getenv_properties"; then
6453 enable_getenv_properties
=${enable_getenv_properties_default-yes}
6455 if test "$enable_getenv_properties" = no
; then
6457 cat >>confdefs.h
<<\_ACEOF
6458 #define DISABLE_GETENV_PROPERTIES 1
6463 # Whether we should use arguments to main()
6464 if test -z "$enable_main_args"; then
6465 enable_main_args
=${enable_main_args_default-yes}
6467 if test "$enable_main_args" = no
; then
6469 cat >>confdefs.h
<<\_ACEOF
6470 #define DISABLE_MAIN_ARGS 1
6476 # Should we use hashtable-based synchronization?
6477 # Currently works only for Linux X86/ia64
6478 # Typically faster and more space-efficient
6479 # Check whether --enable-hash-synchronization or --disable-hash-synchronization was given.
6480 if test "${enable_hash_synchronization+set}" = set; then
6481 enableval
="$enable_hash_synchronization"
6485 if test -z "$enable_hash_synchronization"; then
6486 enable_hash_synchronization
=$enable_hash_synchronization_default
6490 # Check whether --with-java-home or --without-java-home was given.
6491 if test "${with_java_home+set}" = set; then
6492 withval
="$with_java_home"
6493 JAVA_HOME
="${withval}"
6499 if test ! -z "$JAVA_HOME"; then
6501 JAVA_HOME_SET_FALSE
='#'
6503 JAVA_HOME_SET_TRUE
='#'
6504 JAVA_HOME_SET_FALSE
=
6509 # What is the native OS API for MinGW?
6511 # Check whether --with-win32-nlsapi or --without-win32-nlsapi was given.
6512 if test "${with_win32_nlsapi+set}" = set; then
6513 withval
="$with_win32_nlsapi"
6514 case "${withval}" in
6515 ansi
) with_win32_nlsapi
=ansi
;;
6516 unicows
) with_win32_nlsapi
=unicows
;;
6517 unicode
) with_win32_nlsapi
=unicode
;;
6518 *) { { echo "$as_me:$LINENO: error: Bad value ${withval} for --with-win32-nlsapi." >&5
6519 echo "$as_me: error: Bad value ${withval} for --with-win32-nlsapi." >&2;}
6520 { (exit 1); exit 1; }; } ;;
6523 with_win32_nlsapi
=ansi
6526 case "${with_win32_nlsapi}" in
6529 cat >>confdefs.h
<<\_ACEOF
6530 #define MINGW_LIBGCJ_UNICODE 1
6536 # configure.host sets slow_pthread_self if the synchronization code should
6537 # try to avoid pthread_self calls by caching thread IDs in a hashtable.
6538 if test "${slow_pthread_self}" = "yes"; then
6540 cat >>confdefs.h
<<\_ACEOF
6541 #define SLOW_PTHREAD_SELF 1
6546 # Check for gc debugging. This option is handled both here and in the GC.
6547 # Check whether --enable-gc-debug or --disable-gc-debug was given.
6548 if test "${enable_gc_debug+set}" = set; then
6549 enableval
="$enable_gc_debug"
6550 if test "$enable_gc_debug" = "yes"; then
6552 cat >>confdefs.h
<<\_ACEOF
6553 #define LIBGCJ_GC_DEBUG 1
6559 # See if the user has the interpreter included.
6560 # Check whether --enable-interpreter or --disable-interpreter was given.
6561 if test "${enable_interpreter+set}" = set; then
6562 enableval
="$enable_interpreter"
6563 if test "$enable_interpreter" = yes; then
6564 # This can also be set in configure.host.
6565 libgcj_interpreter
=yes
6566 elif test "$enable_interpreter" = no
; then
6567 libgcj_interpreter
=no
6571 if test "$libgcj_interpreter" = yes; then
6573 cat >>confdefs.h
<<\_ACEOF
6574 #define INTERPRETER 1
6578 INTERPRETER
="$libgcj_interpreter"
6581 echo "$as_me:$LINENO: checking for exception model to use" >&5
6582 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
6584 ac_cpp
='$CXXCPP $CPPFLAGS'
6585 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6586 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6587 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6589 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
6590 if test "${enable_sjlj_exceptions+set}" = set; then
6591 enableval
="$enable_sjlj_exceptions"
6594 cat > conftest.
$ac_ext << EOF
6595 #line 6595 "configure"
6604 old_CXXFLAGS
="$CXXFLAGS"
6606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6607 (eval $ac_compile) 2>&5
6609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6610 (exit $ac_status); }; then
6611 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1 ; then
6612 enable_sjlj_exceptions
=yes
6613 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1 ; then
6614 enable_sjlj_exceptions
=no
6617 CXXFLAGS
="$old_CXXFLAGS"
6620 if test x
$enable_sjlj_exceptions = xyes
; then
6622 cat >>confdefs.h
<<\_ACEOF
6623 #define SJLJ_EXCEPTIONS 1
6626 ac_exception_model_name
=sjlj
6627 elif test x
$enable_sjlj_exceptions = xno
; then
6628 ac_exception_model_name
="call frame"
6630 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
6631 echo "$as_me: error: unable to detect exception model" >&2;}
6632 { (exit 1); exit 1; }; }
6635 ac_cpp
='$CPP $CPPFLAGS'
6636 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6637 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6638 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6640 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
6641 echo "${ECHO_T}$ac_exception_model_name" >&6
6643 # If we are non using SJLJ exceptions, and this host does not have support
6644 # for unwinding from a signal handler, enable checked dereferences and divides.
6645 if test $can_unwind_signal = no
&& test $enable_sjlj_exceptions = no
; then
6646 CHECKREFSPEC
=-fcheck-references
6647 DIVIDESPEC
=-fuse-divide-subroutine
6651 # See if the user wants to disable java.net. This is the mildly
6652 # ugly way that we admit that target-side configuration sucks.
6653 # Check whether --enable-java-net or --disable-java-net was given.
6654 if test "${enable_java_net+set}" = set; then
6655 enableval
="$enable_java_net"
6659 # Whether java.net is built by default can depend on the target.
6660 if test -z "$enable_java_net"; then
6661 enable_java_net
=${enable_java_net_default-yes}
6663 if test "$enable_java_net" = no
; then
6665 cat >>confdefs.h
<<\_ACEOF
6666 #define DISABLE_JAVA_NET 1
6671 # See if the user wants to configure without libffi. Some
6672 # architectures don't support it, and default values are set in
6675 # Check whether --with-libffi or --without-libffi was given.
6676 if test "${with_libffi+set}" = set; then
6677 withval
="$with_libffi"
6680 with_libffi
=${with_libffi_default-yes}
6685 if test "$with_libffi" != no
; then
6687 cat >>confdefs.h
<<\_ACEOF
6688 #define USE_LIBFFI 1
6691 LIBFFI
=..
/libffi
/libffi_convenience.la
6692 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
6697 # See if the user wants to disable JVMPI support.
6698 # Check whether --enable-jvmpi or --disable-jvmpi was given.
6699 if test "${enable_jvmpi+set}" = set; then
6700 enableval
="$enable_jvmpi"
6704 if test "$enable_jvmpi" != no
; then
6706 cat >>confdefs.h
<<\_ACEOF
6707 #define ENABLE_JVMPI 1
6712 # If the target is an eCos system, use the appropriate eCos
6714 # FIXME: this should not be a local option but a global target
6715 # system; at present there is no eCos target.
6716 TARGET_ECOS
=${PROCESS-"no"}
6718 # Check whether --with-ecos or --without-ecos was given.
6719 if test "${with_ecos+set}" = set; then
6720 withval
="$with_ecos"
6721 TARGET_ECOS
="$with_ecos"
6725 PLATFORM_INNER_NAT_HDRS
=
6726 case "$TARGET_ECOS" in
6733 echo "$as_me:$LINENO: checking whether 'ld' is at least 2.13" >&5
6734 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6
6735 LD_PROG
=`$CC --print-prog-name=ld`
6736 LD_VERSION
=`$LD_PROG --version`
6737 LD_VERSION_MAJOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
6738 LD_VERSION_MINOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
6739 if expr "$LD_VERSION_MAJOR" \
> 2 > /dev
/null
; then
6742 if expr "$LD_VERSION_MAJOR" = 2 && expr "$LD_VERSION_MINOR" \
>= 13 > /dev
/null
; then
6746 if test "x$LD_OK" != x
; then
6747 echo "$as_me:$LINENO: result: yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
6748 echo "${ECHO_T}yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
6750 echo "$as_me:$LINENO: result: no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
6751 echo "${ECHO_T}no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
6752 { echo "$as_me:$LINENO: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&5
6753 echo "$as_me: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&2;}
6755 cat >>confdefs.h
<<\_ACEOF
6756 #define JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS 1
6765 PLATFORM_INNER_NAT_HDRS
='java/lang/ConcreteProcess$$ProcessManager.h'
6773 cat >>confdefs.h
<<\_ACEOF
6781 ac_config_links
="$ac_config_links include/platform.h:include/$PLATFORMH"
6785 ac_cpp
='$CPP $CPPFLAGS'
6786 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6787 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6788 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6789 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6790 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6791 # On Suns, sometimes $CPP names a directory.
6792 if test -n "$CPP" && test -d "$CPP"; then
6795 if test -z "$CPP"; then
6796 if test "${ac_cv_prog_CPP+set}" = set; then
6797 echo $ECHO_N "(cached) $ECHO_C" >&6
6799 # Double quotes because CPP needs to be expanded
6800 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6803 for ac_c_preproc_warn_flag
in '' yes
6805 # Use a header file that comes with gcc, so configuring glibc
6806 # with a fresh cross-compiler works.
6807 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6808 # <limits.h> exists even on freestanding compilers.
6809 # On the NeXT, cc -E runs the code through the compiler's parser,
6810 # not just through cpp. "Syntax error" is here to catch this case.
6811 cat >conftest.
$ac_ext <<_ACEOF
6814 cat confdefs.h
>>conftest.
$ac_ext
6815 cat >>conftest.
$ac_ext <<_ACEOF
6816 /* end confdefs.h. */
6818 # include <limits.h>
6820 # include <assert.h>
6824 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6825 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6827 grep -v '^ *+' conftest.er1
>conftest.err
6829 cat conftest.err
>&5
6830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6831 (exit $ac_status); } >/dev
/null
; then
6832 if test -s conftest.err
; then
6833 ac_cpp_err
=$ac_c_preproc_warn_flag
6834 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6841 if test -z "$ac_cpp_err"; then
6844 echo "$as_me: failed program was:" >&5
6845 sed 's/^/| /' conftest.
$ac_ext >&5
6847 # Broken: fails on valid input.
6850 rm -f conftest.err conftest.
$ac_ext
6852 # OK, works on sane cases. Now check whether non-existent headers
6853 # can be detected and how.
6854 cat >conftest.
$ac_ext <<_ACEOF
6857 cat confdefs.h
>>conftest.
$ac_ext
6858 cat >>conftest.
$ac_ext <<_ACEOF
6859 /* end confdefs.h. */
6860 #include <ac_nonexistent.h>
6862 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6863 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6865 grep -v '^ *+' conftest.er1
>conftest.err
6867 cat conftest.err
>&5
6868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6869 (exit $ac_status); } >/dev
/null
; then
6870 if test -s conftest.err
; then
6871 ac_cpp_err
=$ac_c_preproc_warn_flag
6872 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6879 if test -z "$ac_cpp_err"; then
6880 # Broken: success on invalid input.
6883 echo "$as_me: failed program was:" >&5
6884 sed 's/^/| /' conftest.
$ac_ext >&5
6886 # Passes both tests.
6890 rm -f conftest.err conftest.
$ac_ext
6893 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6894 rm -f conftest.err conftest.
$ac_ext
6895 if $ac_preproc_ok; then
6907 echo "$as_me:$LINENO: result: $CPP" >&5
6908 echo "${ECHO_T}$CPP" >&6
6910 for ac_c_preproc_warn_flag
in '' yes
6912 # Use a header file that comes with gcc, so configuring glibc
6913 # with a fresh cross-compiler works.
6914 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6915 # <limits.h> exists even on freestanding compilers.
6916 # On the NeXT, cc -E runs the code through the compiler's parser,
6917 # not just through cpp. "Syntax error" is here to catch this case.
6918 cat >conftest.
$ac_ext <<_ACEOF
6921 cat confdefs.h
>>conftest.
$ac_ext
6922 cat >>conftest.
$ac_ext <<_ACEOF
6923 /* end confdefs.h. */
6925 # include <limits.h>
6927 # include <assert.h>
6931 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6932 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6934 grep -v '^ *+' conftest.er1
>conftest.err
6936 cat conftest.err
>&5
6937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6938 (exit $ac_status); } >/dev
/null
; then
6939 if test -s conftest.err
; then
6940 ac_cpp_err
=$ac_c_preproc_warn_flag
6941 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6948 if test -z "$ac_cpp_err"; then
6951 echo "$as_me: failed program was:" >&5
6952 sed 's/^/| /' conftest.
$ac_ext >&5
6954 # Broken: fails on valid input.
6957 rm -f conftest.err conftest.
$ac_ext
6959 # OK, works on sane cases. Now check whether non-existent headers
6960 # can be detected and how.
6961 cat >conftest.
$ac_ext <<_ACEOF
6964 cat confdefs.h
>>conftest.
$ac_ext
6965 cat >>conftest.
$ac_ext <<_ACEOF
6966 /* end confdefs.h. */
6967 #include <ac_nonexistent.h>
6969 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6970 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6972 grep -v '^ *+' conftest.er1
>conftest.err
6974 cat conftest.err
>&5
6975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6976 (exit $ac_status); } >/dev
/null
; then
6977 if test -s conftest.err
; then
6978 ac_cpp_err
=$ac_c_preproc_warn_flag
6979 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6986 if test -z "$ac_cpp_err"; then
6987 # Broken: success on invalid input.
6990 echo "$as_me: failed program was:" >&5
6991 sed 's/^/| /' conftest.
$ac_ext >&5
6993 # Passes both tests.
6997 rm -f conftest.err conftest.
$ac_ext
7000 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7001 rm -f conftest.err conftest.
$ac_ext
7002 if $ac_preproc_ok; then
7005 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7006 See \`config.log' for more details." >&5
7007 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7008 See \`config.log' for more details." >&2;}
7009 { (exit 1); exit 1; }; }
7013 ac_cpp
='$CPP $CPPFLAGS'
7014 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7015 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7016 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7019 echo "$as_me:$LINENO: checking for egrep" >&5
7020 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
7021 if test "${ac_cv_prog_egrep+set}" = set; then
7022 echo $ECHO_N "(cached) $ECHO_C" >&6
7024 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
7025 then ac_cv_prog_egrep
='grep -E'
7026 else ac_cv_prog_egrep
='egrep'
7029 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
7030 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
7031 EGREP
=$ac_cv_prog_egrep
7034 cat >conftest.
$ac_ext <<_ACEOF
7037 cat confdefs.h
>>conftest.
$ac_ext
7038 cat >>conftest.
$ac_ext <<_ACEOF
7039 /* end confdefs.h. */
7043 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7044 $EGREP "uint32_t" >/dev
/null
2>&1; then
7046 cat >>confdefs.h
<<\_ACEOF
7047 #define HAVE_INT32_DEFINED 1
7053 cat >conftest.
$ac_ext <<_ACEOF
7056 cat confdefs.h
>>conftest.
$ac_ext
7057 cat >>conftest.
$ac_ext <<_ACEOF
7058 /* end confdefs.h. */
7059 #include <inttypes.h>
7062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7063 $EGREP "uint32_t" >/dev
/null
2>&1; then
7065 cat >>confdefs.h
<<\_ACEOF
7066 #define HAVE_INT32_DEFINED 1
7072 cat >conftest.
$ac_ext <<_ACEOF
7075 cat confdefs.h
>>conftest.
$ac_ext
7076 cat >>conftest.
$ac_ext <<_ACEOF
7077 /* end confdefs.h. */
7078 #include <sys/types.h>
7081 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7082 $EGREP "u_int32_t" >/dev
/null
2>&1; then
7084 cat >>confdefs.h
<<\_ACEOF
7085 #define HAVE_BSD_INT32_DEFINED 1
7091 cat >conftest.
$ac_ext <<_ACEOF
7094 cat confdefs.h
>>conftest.
$ac_ext
7095 cat >>conftest.
$ac_ext <<_ACEOF
7096 /* end confdefs.h. */
7097 #include <sys/config.h>
7100 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7101 $EGREP "u_int32_t" >/dev
/null
2>&1; then
7103 cat >>confdefs.h
<<\_ACEOF
7104 #define HAVE_BSD_INT32_DEFINED 1
7113 if test "$PLATFORM" = Win32
; then
7114 USING_WIN32_PLATFORM_TRUE
=
7115 USING_WIN32_PLATFORM_FALSE
='#'
7117 USING_WIN32_PLATFORM_TRUE
='#'
7118 USING_WIN32_PLATFORM_FALSE
=
7123 if test "$PLATFORM" = Posix ||
test "$PLATFORM" = Ecos
; then
7124 USING_POSIX_PLATFORM_TRUE
=
7125 USING_POSIX_PLATFORM_FALSE
='#'
7127 USING_POSIX_PLATFORM_TRUE
='#'
7128 USING_POSIX_PLATFORM_FALSE
=
7133 *-darwin*) DARWIN_CRT
=true
;;
7134 *) DARWIN_CRT
=false
;;
7138 if $DARWIN_CRT; then
7139 USING_DARWIN_CRT_TRUE
=
7140 USING_DARWIN_CRT_FALSE
='#'
7142 USING_DARWIN_CRT_TRUE
='#'
7143 USING_DARWIN_CRT_FALSE
=
7147 # These may not be defined in a non-ANS conformant embedded system.
7148 # FIXME: Should these case a runtime exception in that case?
7149 cat >conftest.
$ac_ext <<_ACEOF
7152 cat confdefs.h
>>conftest.
$ac_ext
7153 cat >>conftest.
$ac_ext <<_ACEOF
7154 /* end confdefs.h. */
7158 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7159 $EGREP "mktime" >/dev
/null
2>&1; then
7161 cat >>confdefs.h
<<\_ACEOF
7162 #define HAVE_MKTIME 1
7168 cat >conftest.
$ac_ext <<_ACEOF
7171 cat confdefs.h
>>conftest.
$ac_ext
7172 cat >>conftest.
$ac_ext <<_ACEOF
7173 /* end confdefs.h. */
7177 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7178 $EGREP "localtime" >/dev
/null
2>&1; then
7180 cat >>confdefs.h
<<\_ACEOF
7181 #define HAVE_LOCALTIME 1
7188 # Create the subdirectory for natFile.cc, or the attempt
7189 # to create the link will fail.
7190 test -d java || mkdir java
7191 test -d java
/io || mkdir java
/io
7192 test -d gnu || mkdir gnu
7193 ac_config_links
="$ac_config_links java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc"
7196 # Likewise for ConcreteProcess.java and natConcreteProcess.cc.
7197 test -d java
/lang || mkdir java
/lang
7198 ac_config_links
="$ac_config_links java/lang/ConcreteProcess.java:java/lang/${PLATFORM}Process.java"
7200 ac_config_links
="$ac_config_links java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc"
7203 # Likewise for natInetAddress.cc and natVMNetworkInterface.cc.
7204 test -d java
/net || mkdir java
/net
7205 ac_config_links
="$ac_config_links java/net/natInetAddress.cc:java/net/natInetAddress${PLATFORMNET}.cc"
7207 ac_config_links
="$ac_config_links java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc"
7210 # Likewise for natPlainSocketImpl.cc and natPlainDatagramSocketImpl.cc.
7211 test -d gnu
/java || mkdir gnu
/java
7212 test -d gnu
/java
/net || mkdir gnu
/java
/net
7213 ac_config_links
="$ac_config_links gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc"
7215 ac_config_links
="$ac_config_links gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc"
7218 # Likewise for natPipeImpl.cc and natSelectorImpl.cc.
7219 test -d gnu
/java
/nio || mkdir gnu
/java
/nio
7220 ac_config_links
="$ac_config_links gnu/java/nio/natPipeImpl.cc:gnu/java/nio/natPipeImpl${PLATFORM}.cc"
7222 ac_config_links
="$ac_config_links gnu/java/nio/natSelectorImpl.cc:gnu/java/nio/natSelectorImpl${PLATFORM}.cc"
7224 test -d gnu
/java
/nio
/channels || mkdir gnu
/java
/nio
/channels
7225 ac_config_links
="$ac_config_links gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc"
7230 SYSTEMSPEC
="-lgdi32 -lws2_32"
7231 if test "${with_win32_nlsapi}" = "unicows"; then
7232 SYSTEMSPEC
="-lunicows $SYSTEMSPEC"
7241 LIBGCJTESTSPEC
="-L`${PWDCMD-pwd}`/.libs -rpath `${PWDCMD-pwd}`/.libs"
7245 # Check whether --with-system-zlib or --without-system-zlib was given.
7246 if test "${with_system_zlib+set}" = set; then
7247 withval
="$with_system_zlib"
7255 echo "$as_me:$LINENO: checking for X" >&5
7256 echo $ECHO_N "checking for X... $ECHO_C" >&6
7259 # Check whether --with-x or --without-x was given.
7260 if test "${with_x+set}" = set; then
7264 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7265 if test "x$with_x" = xno
; then
7266 # The user explicitly disabled X.
7269 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7270 # Both variables are already set.
7273 if test "${ac_cv_have_x+set}" = set; then
7274 echo $ECHO_N "(cached) $ECHO_C" >&6
7276 # One or both of the vars are not set, and there is no cached value.
7277 ac_x_includes
=no ac_x_libraries
=no
7279 if mkdir conftest.dir
; then
7281 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7282 cat >Imakefile
<<'_ACEOF'
7284 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7286 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7287 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7288 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7289 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7290 for ac_extension
in a so sl
; do
7291 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7292 test -f $ac_im_libdir/libX11.
$ac_extension; then
7293 ac_im_usrlibdir
=$ac_im_libdir; break
7296 # Screen out bogus values from the imake configuration. They are
7297 # bogus both because they are the default anyway, and because
7298 # using them would break gcc on systems where it needs fixed includes.
7299 case $ac_im_incroot in
7301 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7303 case $ac_im_usrlibdir in
7305 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7312 # Standard set of common directories for X headers.
7313 # Check X11 before X11Rn because it is often a symlink to the current release.
7325 /usr/local/X11/include
7326 /usr/local/X11R6/include
7327 /usr/local/X11R5/include
7328 /usr/local/X11R4/include
7330 /usr/local/include/X11
7331 /usr/local/include/X11R6
7332 /usr/local/include/X11R5
7333 /usr/local/include/X11R4
7337 /usr/XFree86/include/X11
7341 /usr/unsupported/include
7343 /usr/local/x11r5/include
7344 /usr/lpp/Xamples/include
7346 /usr/openwin/include
7347 /usr/openwin/share/include'
7349 if test "$ac_x_includes" = no
; then
7350 # Guess where to find include files, by looking for Intrinsic.h.
7351 # First, try using that file with no special directory specified.
7352 cat >conftest.
$ac_ext <<_ACEOF
7355 cat confdefs.h
>>conftest.
$ac_ext
7356 cat >>conftest.
$ac_ext <<_ACEOF
7357 /* end confdefs.h. */
7358 #include <X11/Intrinsic.h>
7360 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7361 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7363 grep -v '^ *+' conftest.er1
>conftest.err
7365 cat conftest.err
>&5
7366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7367 (exit $ac_status); } >/dev
/null
; then
7368 if test -s conftest.err
; then
7369 ac_cpp_err
=$ac_c_preproc_warn_flag
7370 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7377 if test -z "$ac_cpp_err"; then
7378 # We can compile using X headers with no special include directory.
7381 echo "$as_me: failed program was:" >&5
7382 sed 's/^/| /' conftest.
$ac_ext >&5
7384 for ac_dir
in $ac_x_header_dirs; do
7385 if test -r "$ac_dir/X11/Intrinsic.h"; then
7386 ac_x_includes
=$ac_dir
7391 rm -f conftest.err conftest.
$ac_ext
7392 fi # $ac_x_includes = no
7394 if test "$ac_x_libraries" = no
; then
7395 # Check for the libraries.
7396 # See if we find them without any special options.
7397 # Don't add to $LIBS permanently.
7400 if test x
$gcc_no_link = xyes
; then
7401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7403 { (exit 1); exit 1; }; }
7405 cat >conftest.
$ac_ext <<_ACEOF
7408 cat confdefs.h
>>conftest.
$ac_ext
7409 cat >>conftest.
$ac_ext <<_ACEOF
7410 /* end confdefs.h. */
7411 #include <X11/Intrinsic.h>
7420 rm -f conftest.
$ac_objext conftest
$ac_exeext
7421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7422 (eval $ac_link) 2>conftest.er1
7424 grep -v '^ *+' conftest.er1
>conftest.err
7426 cat conftest.err
>&5
7427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7428 (exit $ac_status); } &&
7429 { ac_try
='test -z "$ac_c_werror_flag"
7430 || test ! -s conftest.err'
7431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7435 (exit $ac_status); }; } &&
7436 { ac_try
='test -s conftest$ac_exeext'
7437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7441 (exit $ac_status); }; }; then
7443 # We can link X programs with no special library path.
7446 echo "$as_me: failed program was:" >&5
7447 sed 's/^/| /' conftest.
$ac_ext >&5
7450 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7452 # Don't even attempt the hair of trying to link an X program!
7453 for ac_extension
in a so sl
; do
7454 if test -r $ac_dir/libXt.
$ac_extension; then
7455 ac_x_libraries
=$ac_dir
7461 rm -f conftest.err conftest.
$ac_objext \
7462 conftest
$ac_exeext conftest.
$ac_ext
7463 fi # $ac_x_libraries = no
7465 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
7466 # Didn't find X anywhere. Cache the known absence of X.
7467 ac_cv_have_x
="have_x=no"
7469 # Record where we found X for the cache.
7470 ac_cv_have_x
="have_x=yes \
7471 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7476 eval "$ac_cv_have_x"
7479 if test "$have_x" != yes; then
7480 echo "$as_me:$LINENO: result: $have_x" >&5
7481 echo "${ECHO_T}$have_x" >&6
7484 # If each of the values was on the command line, it overrides each guess.
7485 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7486 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7487 # Update the cache value to reflect the command line values.
7488 ac_cv_have_x
="have_x=yes \
7489 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7490 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
7491 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
7494 if test "$no_x" = yes; then
7495 # Not all programs may use this symbol, but it does not hurt to define it.
7497 cat >>confdefs.h
<<\_ACEOF
7498 #define X_DISPLAY_MISSING 1
7501 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7503 if test -n "$x_includes"; then
7504 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7507 # It would also be nice to do this for all -L options, not just this one.
7508 if test -n "$x_libraries"; then
7509 X_LIBS
="$X_LIBS -L$x_libraries"
7510 # For Solaris; some versions of Sun CC require a space after -R and
7511 # others require no space. Words are not sufficient . . . .
7512 case `(uname -sr) 2>/dev/null` in
7514 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
7515 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
7516 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7517 if test x
$gcc_no_link = xyes
; then
7518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7520 { (exit 1); exit 1; }; }
7522 cat >conftest.
$ac_ext <<_ACEOF
7525 cat confdefs.h
>>conftest.
$ac_ext
7526 cat >>conftest.
$ac_ext <<_ACEOF
7527 /* end confdefs.h. */
7537 rm -f conftest.
$ac_objext conftest
$ac_exeext
7538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7539 (eval $ac_link) 2>conftest.er1
7541 grep -v '^ *+' conftest.er1
>conftest.err
7543 cat conftest.err
>&5
7544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7545 (exit $ac_status); } &&
7546 { ac_try
='test -z "$ac_c_werror_flag"
7547 || test ! -s conftest.err'
7548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7552 (exit $ac_status); }; } &&
7553 { ac_try
='test -s conftest$ac_exeext'
7554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7558 (exit $ac_status); }; }; then
7561 echo "$as_me: failed program was:" >&5
7562 sed 's/^/| /' conftest.
$ac_ext >&5
7566 rm -f conftest.err conftest.
$ac_objext \
7567 conftest
$ac_exeext conftest.
$ac_ext
7568 if test $ac_R_nospace = yes; then
7569 echo "$as_me:$LINENO: result: no" >&5
7570 echo "${ECHO_T}no" >&6
7571 X_LIBS
="$X_LIBS -R$x_libraries"
7573 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7574 if test x
$gcc_no_link = xyes
; then
7575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7577 { (exit 1); exit 1; }; }
7579 cat >conftest.
$ac_ext <<_ACEOF
7582 cat confdefs.h
>>conftest.
$ac_ext
7583 cat >>conftest.
$ac_ext <<_ACEOF
7584 /* end confdefs.h. */
7594 rm -f conftest.
$ac_objext conftest
$ac_exeext
7595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7596 (eval $ac_link) 2>conftest.er1
7598 grep -v '^ *+' conftest.er1
>conftest.err
7600 cat conftest.err
>&5
7601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7602 (exit $ac_status); } &&
7603 { ac_try
='test -z "$ac_c_werror_flag"
7604 || test ! -s conftest.err'
7605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7609 (exit $ac_status); }; } &&
7610 { ac_try
='test -s conftest$ac_exeext'
7611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7615 (exit $ac_status); }; }; then
7618 echo "$as_me: failed program was:" >&5
7619 sed 's/^/| /' conftest.
$ac_ext >&5
7623 rm -f conftest.err conftest.
$ac_objext \
7624 conftest
$ac_exeext conftest.
$ac_ext
7625 if test $ac_R_space = yes; then
7626 echo "$as_me:$LINENO: result: yes" >&5
7627 echo "${ECHO_T}yes" >&6
7628 X_LIBS
="$X_LIBS -R $x_libraries"
7630 echo "$as_me:$LINENO: result: neither works" >&5
7631 echo "${ECHO_T}neither works" >&6
7638 # Check for system-dependent libraries X programs must link with.
7639 # Do this before checking for the system-independent R6 libraries
7640 # (-lICE), since we may need -lsocket or whatever for X linking.
7642 if test "$ISC" = yes; then
7643 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7645 # Martyn Johnson says this is needed for Ultrix, if the X
7646 # libraries were built with DECnet support. And Karl Berry says
7647 # the Alpha needs dnet_stub (dnet does not exist).
7648 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
7649 if test x
$gcc_no_link = xyes
; then
7650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7652 { (exit 1); exit 1; }; }
7654 cat >conftest.
$ac_ext <<_ACEOF
7657 cat confdefs.h
>>conftest.
$ac_ext
7658 cat >>conftest.
$ac_ext <<_ACEOF
7659 /* end confdefs.h. */
7661 /* Override any gcc2 internal prototype to avoid an error. */
7665 /* We use char because int might match the return type of a gcc2
7666 builtin and then its argument prototype would still apply. */
7667 char XOpenDisplay ();
7676 rm -f conftest.
$ac_objext conftest
$ac_exeext
7677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7678 (eval $ac_link) 2>conftest.er1
7680 grep -v '^ *+' conftest.er1
>conftest.err
7682 cat conftest.err
>&5
7683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7684 (exit $ac_status); } &&
7685 { ac_try
='test -z "$ac_c_werror_flag"
7686 || test ! -s conftest.err'
7687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7691 (exit $ac_status); }; } &&
7692 { ac_try
='test -s conftest$ac_exeext'
7693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7697 (exit $ac_status); }; }; then
7700 echo "$as_me: failed program was:" >&5
7701 sed 's/^/| /' conftest.
$ac_ext >&5
7703 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
7704 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
7705 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
7706 echo $ECHO_N "(cached) $ECHO_C" >&6
7708 ac_check_lib_save_LIBS
=$LIBS
7710 if test x
$gcc_no_link = xyes
; then
7711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7713 { (exit 1); exit 1; }; }
7715 cat >conftest.
$ac_ext <<_ACEOF
7718 cat confdefs.h
>>conftest.
$ac_ext
7719 cat >>conftest.
$ac_ext <<_ACEOF
7720 /* end confdefs.h. */
7722 /* Override any gcc2 internal prototype to avoid an error. */
7726 /* We use char because int might match the return type of a gcc2
7727 builtin and then its argument prototype would still apply. */
7737 rm -f conftest.
$ac_objext conftest
$ac_exeext
7738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7739 (eval $ac_link) 2>conftest.er1
7741 grep -v '^ *+' conftest.er1
>conftest.err
7743 cat conftest.err
>&5
7744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7745 (exit $ac_status); } &&
7746 { ac_try
='test -z "$ac_c_werror_flag"
7747 || test ! -s conftest.err'
7748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7752 (exit $ac_status); }; } &&
7753 { ac_try
='test -s conftest$ac_exeext'
7754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7758 (exit $ac_status); }; }; then
7759 ac_cv_lib_dnet_dnet_ntoa
=yes
7761 echo "$as_me: failed program was:" >&5
7762 sed 's/^/| /' conftest.
$ac_ext >&5
7764 ac_cv_lib_dnet_dnet_ntoa
=no
7766 rm -f conftest.err conftest.
$ac_objext \
7767 conftest
$ac_exeext conftest.
$ac_ext
7768 LIBS
=$ac_check_lib_save_LIBS
7770 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7771 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
7772 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
7773 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7776 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7777 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
7778 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
7779 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
7780 echo $ECHO_N "(cached) $ECHO_C" >&6
7782 ac_check_lib_save_LIBS
=$LIBS
7783 LIBS
="-ldnet_stub $LIBS"
7784 if test x
$gcc_no_link = xyes
; then
7785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7787 { (exit 1); exit 1; }; }
7789 cat >conftest.
$ac_ext <<_ACEOF
7792 cat confdefs.h
>>conftest.
$ac_ext
7793 cat >>conftest.
$ac_ext <<_ACEOF
7794 /* end confdefs.h. */
7796 /* Override any gcc2 internal prototype to avoid an error. */
7800 /* We use char because int might match the return type of a gcc2
7801 builtin and then its argument prototype would still apply. */
7811 rm -f conftest.
$ac_objext conftest
$ac_exeext
7812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7813 (eval $ac_link) 2>conftest.er1
7815 grep -v '^ *+' conftest.er1
>conftest.err
7817 cat conftest.err
>&5
7818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7819 (exit $ac_status); } &&
7820 { ac_try
='test -z "$ac_c_werror_flag"
7821 || test ! -s conftest.err'
7822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7826 (exit $ac_status); }; } &&
7827 { ac_try
='test -s conftest$ac_exeext'
7828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7832 (exit $ac_status); }; }; then
7833 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
7835 echo "$as_me: failed program was:" >&5
7836 sed 's/^/| /' conftest.
$ac_ext >&5
7838 ac_cv_lib_dnet_stub_dnet_ntoa
=no
7840 rm -f conftest.err conftest.
$ac_objext \
7841 conftest
$ac_exeext conftest.
$ac_ext
7842 LIBS
=$ac_check_lib_save_LIBS
7844 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7845 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
7846 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
7847 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7852 rm -f conftest.err conftest.
$ac_objext \
7853 conftest
$ac_exeext conftest.
$ac_ext
7854 LIBS
="$ac_xsave_LIBS"
7856 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7857 # to get the SysV transport functions.
7858 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7860 # The nsl library prevents programs from opening the X display
7861 # on Irix 5.2, according to T.E. Dickey.
7862 # The functions gethostbyname, getservbyname, and inet_addr are
7863 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7864 echo "$as_me:$LINENO: checking for gethostbyname" >&5
7865 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
7866 if test "${ac_cv_func_gethostbyname+set}" = set; then
7867 echo $ECHO_N "(cached) $ECHO_C" >&6
7869 if test x
$gcc_no_link = xyes
; then
7870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7872 { (exit 1); exit 1; }; }
7874 cat >conftest.
$ac_ext <<_ACEOF
7877 cat confdefs.h
>>conftest.
$ac_ext
7878 cat >>conftest.
$ac_ext <<_ACEOF
7879 /* end confdefs.h. */
7880 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
7881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7882 #define gethostbyname innocuous_gethostbyname
7884 /* System header to define __stub macros and hopefully few prototypes,
7885 which can conflict with char gethostbyname (); below.
7886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7887 <limits.h> exists even on freestanding compilers. */
7890 # include <limits.h>
7892 # include <assert.h>
7895 #undef gethostbyname
7897 /* Override any gcc2 internal prototype to avoid an error. */
7902 /* We use char because int might match the return type of a gcc2
7903 builtin and then its argument prototype would still apply. */
7904 char gethostbyname ();
7905 /* The GNU C library defines this for functions which it implements
7906 to always fail with ENOSYS. Some functions are actually named
7907 something starting with __ and the normal name is an alias. */
7908 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7911 char (*f) () = gethostbyname;
7920 return f != gethostbyname;
7925 rm -f conftest.
$ac_objext conftest
$ac_exeext
7926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7927 (eval $ac_link) 2>conftest.er1
7929 grep -v '^ *+' conftest.er1
>conftest.err
7931 cat conftest.err
>&5
7932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7933 (exit $ac_status); } &&
7934 { ac_try
='test -z "$ac_c_werror_flag"
7935 || test ! -s conftest.err'
7936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7940 (exit $ac_status); }; } &&
7941 { ac_try
='test -s conftest$ac_exeext'
7942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7946 (exit $ac_status); }; }; then
7947 ac_cv_func_gethostbyname
=yes
7949 echo "$as_me: failed program was:" >&5
7950 sed 's/^/| /' conftest.
$ac_ext >&5
7952 ac_cv_func_gethostbyname
=no
7954 rm -f conftest.err conftest.
$ac_objext \
7955 conftest
$ac_exeext conftest.
$ac_ext
7957 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
7958 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
7960 if test $ac_cv_func_gethostbyname = no
; then
7961 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
7962 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
7963 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
7964 echo $ECHO_N "(cached) $ECHO_C" >&6
7966 ac_check_lib_save_LIBS
=$LIBS
7968 if test x
$gcc_no_link = xyes
; then
7969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7971 { (exit 1); exit 1; }; }
7973 cat >conftest.
$ac_ext <<_ACEOF
7976 cat confdefs.h
>>conftest.
$ac_ext
7977 cat >>conftest.
$ac_ext <<_ACEOF
7978 /* end confdefs.h. */
7980 /* Override any gcc2 internal prototype to avoid an error. */
7984 /* We use char because int might match the return type of a gcc2
7985 builtin and then its argument prototype would still apply. */
7986 char gethostbyname ();
7995 rm -f conftest.
$ac_objext conftest
$ac_exeext
7996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7997 (eval $ac_link) 2>conftest.er1
7999 grep -v '^ *+' conftest.er1
>conftest.err
8001 cat conftest.err
>&5
8002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8003 (exit $ac_status); } &&
8004 { ac_try
='test -z "$ac_c_werror_flag"
8005 || test ! -s conftest.err'
8006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8010 (exit $ac_status); }; } &&
8011 { ac_try
='test -s conftest$ac_exeext'
8012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8016 (exit $ac_status); }; }; then
8017 ac_cv_lib_nsl_gethostbyname
=yes
8019 echo "$as_me: failed program was:" >&5
8020 sed 's/^/| /' conftest.
$ac_ext >&5
8022 ac_cv_lib_nsl_gethostbyname
=no
8024 rm -f conftest.err conftest.
$ac_objext \
8025 conftest
$ac_exeext conftest.
$ac_ext
8026 LIBS
=$ac_check_lib_save_LIBS
8028 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
8029 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
8030 if test $ac_cv_lib_nsl_gethostbyname = yes; then
8031 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8034 if test $ac_cv_lib_nsl_gethostbyname = no
; then
8035 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
8036 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
8037 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
8038 echo $ECHO_N "(cached) $ECHO_C" >&6
8040 ac_check_lib_save_LIBS
=$LIBS
8042 if test x
$gcc_no_link = xyes
; then
8043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8045 { (exit 1); exit 1; }; }
8047 cat >conftest.
$ac_ext <<_ACEOF
8050 cat confdefs.h
>>conftest.
$ac_ext
8051 cat >>conftest.
$ac_ext <<_ACEOF
8052 /* end confdefs.h. */
8054 /* Override any gcc2 internal prototype to avoid an error. */
8058 /* We use char because int might match the return type of a gcc2
8059 builtin and then its argument prototype would still apply. */
8060 char gethostbyname ();
8069 rm -f conftest.
$ac_objext conftest
$ac_exeext
8070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8071 (eval $ac_link) 2>conftest.er1
8073 grep -v '^ *+' conftest.er1
>conftest.err
8075 cat conftest.err
>&5
8076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8077 (exit $ac_status); } &&
8078 { ac_try
='test -z "$ac_c_werror_flag"
8079 || test ! -s conftest.err'
8080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8084 (exit $ac_status); }; } &&
8085 { ac_try
='test -s conftest$ac_exeext'
8086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8090 (exit $ac_status); }; }; then
8091 ac_cv_lib_bsd_gethostbyname
=yes
8093 echo "$as_me: failed program was:" >&5
8094 sed 's/^/| /' conftest.
$ac_ext >&5
8096 ac_cv_lib_bsd_gethostbyname
=no
8098 rm -f conftest.err conftest.
$ac_objext \
8099 conftest
$ac_exeext conftest.
$ac_ext
8100 LIBS
=$ac_check_lib_save_LIBS
8102 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
8103 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
8104 if test $ac_cv_lib_bsd_gethostbyname = yes; then
8105 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
8111 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8112 # socket/setsockopt and other routines are undefined under SCO ODT
8113 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8114 # on later versions), says Simon Leinen: it contains gethostby*
8115 # variants that don't use the name server (or something). -lsocket
8116 # must be given before -lnsl if both are needed. We assume that
8117 # if connect needs -lnsl, so does gethostbyname.
8118 echo "$as_me:$LINENO: checking for connect" >&5
8119 echo $ECHO_N "checking for connect... $ECHO_C" >&6
8120 if test "${ac_cv_func_connect+set}" = set; then
8121 echo $ECHO_N "(cached) $ECHO_C" >&6
8123 if test x
$gcc_no_link = xyes
; then
8124 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8126 { (exit 1); exit 1; }; }
8128 cat >conftest.
$ac_ext <<_ACEOF
8131 cat confdefs.h
>>conftest.
$ac_ext
8132 cat >>conftest.
$ac_ext <<_ACEOF
8133 /* end confdefs.h. */
8134 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
8135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8136 #define connect innocuous_connect
8138 /* System header to define __stub macros and hopefully few prototypes,
8139 which can conflict with char connect (); below.
8140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8141 <limits.h> exists even on freestanding compilers. */
8144 # include <limits.h>
8146 # include <assert.h>
8151 /* Override any gcc2 internal prototype to avoid an error. */
8156 /* We use char because int might match the return type of a gcc2
8157 builtin and then its argument prototype would still apply. */
8159 /* The GNU C library defines this for functions which it implements
8160 to always fail with ENOSYS. Some functions are actually named
8161 something starting with __ and the normal name is an alias. */
8162 #if defined (__stub_connect) || defined (__stub___connect)
8165 char (*f) () = connect;
8174 return f != connect;
8179 rm -f conftest.
$ac_objext conftest
$ac_exeext
8180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8181 (eval $ac_link) 2>conftest.er1
8183 grep -v '^ *+' conftest.er1
>conftest.err
8185 cat conftest.err
>&5
8186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8187 (exit $ac_status); } &&
8188 { ac_try
='test -z "$ac_c_werror_flag"
8189 || test ! -s conftest.err'
8190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8194 (exit $ac_status); }; } &&
8195 { ac_try
='test -s conftest$ac_exeext'
8196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8200 (exit $ac_status); }; }; then
8201 ac_cv_func_connect
=yes
8203 echo "$as_me: failed program was:" >&5
8204 sed 's/^/| /' conftest.
$ac_ext >&5
8206 ac_cv_func_connect
=no
8208 rm -f conftest.err conftest.
$ac_objext \
8209 conftest
$ac_exeext conftest.
$ac_ext
8211 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
8212 echo "${ECHO_T}$ac_cv_func_connect" >&6
8214 if test $ac_cv_func_connect = no
; then
8215 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
8216 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
8217 if test "${ac_cv_lib_socket_connect+set}" = set; then
8218 echo $ECHO_N "(cached) $ECHO_C" >&6
8220 ac_check_lib_save_LIBS
=$LIBS
8221 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8222 if test x
$gcc_no_link = xyes
; then
8223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8225 { (exit 1); exit 1; }; }
8227 cat >conftest.
$ac_ext <<_ACEOF
8230 cat confdefs.h
>>conftest.
$ac_ext
8231 cat >>conftest.
$ac_ext <<_ACEOF
8232 /* end confdefs.h. */
8234 /* Override any gcc2 internal prototype to avoid an error. */
8238 /* We use char because int might match the return type of a gcc2
8239 builtin and then its argument prototype would still apply. */
8249 rm -f conftest.
$ac_objext conftest
$ac_exeext
8250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8251 (eval $ac_link) 2>conftest.er1
8253 grep -v '^ *+' conftest.er1
>conftest.err
8255 cat conftest.err
>&5
8256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8257 (exit $ac_status); } &&
8258 { ac_try
='test -z "$ac_c_werror_flag"
8259 || test ! -s conftest.err'
8260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8264 (exit $ac_status); }; } &&
8265 { ac_try
='test -s conftest$ac_exeext'
8266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8270 (exit $ac_status); }; }; then
8271 ac_cv_lib_socket_connect
=yes
8273 echo "$as_me: failed program was:" >&5
8274 sed 's/^/| /' conftest.
$ac_ext >&5
8276 ac_cv_lib_socket_connect
=no
8278 rm -f conftest.err conftest.
$ac_objext \
8279 conftest
$ac_exeext conftest.
$ac_ext
8280 LIBS
=$ac_check_lib_save_LIBS
8282 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
8283 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
8284 if test $ac_cv_lib_socket_connect = yes; then
8285 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8290 # Guillermo Gomez says -lposix is necessary on A/UX.
8291 echo "$as_me:$LINENO: checking for remove" >&5
8292 echo $ECHO_N "checking for remove... $ECHO_C" >&6
8293 if test "${ac_cv_func_remove+set}" = set; then
8294 echo $ECHO_N "(cached) $ECHO_C" >&6
8296 if test x
$gcc_no_link = xyes
; then
8297 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8299 { (exit 1); exit 1; }; }
8301 cat >conftest.
$ac_ext <<_ACEOF
8304 cat confdefs.h
>>conftest.
$ac_ext
8305 cat >>conftest.
$ac_ext <<_ACEOF
8306 /* end confdefs.h. */
8307 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
8308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8309 #define remove innocuous_remove
8311 /* System header to define __stub macros and hopefully few prototypes,
8312 which can conflict with char remove (); below.
8313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8314 <limits.h> exists even on freestanding compilers. */
8317 # include <limits.h>
8319 # include <assert.h>
8324 /* Override any gcc2 internal prototype to avoid an error. */
8329 /* We use char because int might match the return type of a gcc2
8330 builtin and then its argument prototype would still apply. */
8332 /* The GNU C library defines this for functions which it implements
8333 to always fail with ENOSYS. Some functions are actually named
8334 something starting with __ and the normal name is an alias. */
8335 #if defined (__stub_remove) || defined (__stub___remove)
8338 char (*f) () = remove;
8352 rm -f conftest.
$ac_objext conftest
$ac_exeext
8353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8354 (eval $ac_link) 2>conftest.er1
8356 grep -v '^ *+' conftest.er1
>conftest.err
8358 cat conftest.err
>&5
8359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8360 (exit $ac_status); } &&
8361 { ac_try
='test -z "$ac_c_werror_flag"
8362 || test ! -s conftest.err'
8363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8367 (exit $ac_status); }; } &&
8368 { ac_try
='test -s conftest$ac_exeext'
8369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8373 (exit $ac_status); }; }; then
8374 ac_cv_func_remove
=yes
8376 echo "$as_me: failed program was:" >&5
8377 sed 's/^/| /' conftest.
$ac_ext >&5
8379 ac_cv_func_remove
=no
8381 rm -f conftest.err conftest.
$ac_objext \
8382 conftest
$ac_exeext conftest.
$ac_ext
8384 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
8385 echo "${ECHO_T}$ac_cv_func_remove" >&6
8387 if test $ac_cv_func_remove = no
; then
8388 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
8389 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
8390 if test "${ac_cv_lib_posix_remove+set}" = set; then
8391 echo $ECHO_N "(cached) $ECHO_C" >&6
8393 ac_check_lib_save_LIBS
=$LIBS
8394 LIBS
="-lposix $LIBS"
8395 if test x
$gcc_no_link = xyes
; then
8396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8398 { (exit 1); exit 1; }; }
8400 cat >conftest.
$ac_ext <<_ACEOF
8403 cat confdefs.h
>>conftest.
$ac_ext
8404 cat >>conftest.
$ac_ext <<_ACEOF
8405 /* end confdefs.h. */
8407 /* Override any gcc2 internal prototype to avoid an error. */
8411 /* We use char because int might match the return type of a gcc2
8412 builtin and then its argument prototype would still apply. */
8422 rm -f conftest.
$ac_objext conftest
$ac_exeext
8423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8424 (eval $ac_link) 2>conftest.er1
8426 grep -v '^ *+' conftest.er1
>conftest.err
8428 cat conftest.err
>&5
8429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8430 (exit $ac_status); } &&
8431 { ac_try
='test -z "$ac_c_werror_flag"
8432 || test ! -s conftest.err'
8433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8437 (exit $ac_status); }; } &&
8438 { ac_try
='test -s conftest$ac_exeext'
8439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8443 (exit $ac_status); }; }; then
8444 ac_cv_lib_posix_remove
=yes
8446 echo "$as_me: failed program was:" >&5
8447 sed 's/^/| /' conftest.
$ac_ext >&5
8449 ac_cv_lib_posix_remove
=no
8451 rm -f conftest.err conftest.
$ac_objext \
8452 conftest
$ac_exeext conftest.
$ac_ext
8453 LIBS
=$ac_check_lib_save_LIBS
8455 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
8456 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
8457 if test $ac_cv_lib_posix_remove = yes; then
8458 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8463 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8464 echo "$as_me:$LINENO: checking for shmat" >&5
8465 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
8466 if test "${ac_cv_func_shmat+set}" = set; then
8467 echo $ECHO_N "(cached) $ECHO_C" >&6
8469 if test x
$gcc_no_link = xyes
; then
8470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8472 { (exit 1); exit 1; }; }
8474 cat >conftest.
$ac_ext <<_ACEOF
8477 cat confdefs.h
>>conftest.
$ac_ext
8478 cat >>conftest.
$ac_ext <<_ACEOF
8479 /* end confdefs.h. */
8480 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
8481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8482 #define shmat innocuous_shmat
8484 /* System header to define __stub macros and hopefully few prototypes,
8485 which can conflict with char shmat (); below.
8486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8487 <limits.h> exists even on freestanding compilers. */
8490 # include <limits.h>
8492 # include <assert.h>
8497 /* Override any gcc2 internal prototype to avoid an error. */
8502 /* We use char because int might match the return type of a gcc2
8503 builtin and then its argument prototype would still apply. */
8505 /* The GNU C library defines this for functions which it implements
8506 to always fail with ENOSYS. Some functions are actually named
8507 something starting with __ and the normal name is an alias. */
8508 #if defined (__stub_shmat) || defined (__stub___shmat)
8511 char (*f) () = shmat;
8525 rm -f conftest.
$ac_objext conftest
$ac_exeext
8526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8527 (eval $ac_link) 2>conftest.er1
8529 grep -v '^ *+' conftest.er1
>conftest.err
8531 cat conftest.err
>&5
8532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8533 (exit $ac_status); } &&
8534 { ac_try
='test -z "$ac_c_werror_flag"
8535 || test ! -s conftest.err'
8536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8540 (exit $ac_status); }; } &&
8541 { ac_try
='test -s conftest$ac_exeext'
8542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8546 (exit $ac_status); }; }; then
8547 ac_cv_func_shmat
=yes
8549 echo "$as_me: failed program was:" >&5
8550 sed 's/^/| /' conftest.
$ac_ext >&5
8554 rm -f conftest.err conftest.
$ac_objext \
8555 conftest
$ac_exeext conftest.
$ac_ext
8557 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
8558 echo "${ECHO_T}$ac_cv_func_shmat" >&6
8560 if test $ac_cv_func_shmat = no
; then
8561 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
8562 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
8563 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
8564 echo $ECHO_N "(cached) $ECHO_C" >&6
8566 ac_check_lib_save_LIBS
=$LIBS
8568 if test x
$gcc_no_link = xyes
; then
8569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8571 { (exit 1); exit 1; }; }
8573 cat >conftest.
$ac_ext <<_ACEOF
8576 cat confdefs.h
>>conftest.
$ac_ext
8577 cat >>conftest.
$ac_ext <<_ACEOF
8578 /* end confdefs.h. */
8580 /* Override any gcc2 internal prototype to avoid an error. */
8584 /* We use char because int might match the return type of a gcc2
8585 builtin and then its argument prototype would still apply. */
8595 rm -f conftest.
$ac_objext conftest
$ac_exeext
8596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8597 (eval $ac_link) 2>conftest.er1
8599 grep -v '^ *+' conftest.er1
>conftest.err
8601 cat conftest.err
>&5
8602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8603 (exit $ac_status); } &&
8604 { ac_try
='test -z "$ac_c_werror_flag"
8605 || test ! -s conftest.err'
8606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8610 (exit $ac_status); }; } &&
8611 { ac_try
='test -s conftest$ac_exeext'
8612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8616 (exit $ac_status); }; }; then
8617 ac_cv_lib_ipc_shmat
=yes
8619 echo "$as_me: failed program was:" >&5
8620 sed 's/^/| /' conftest.
$ac_ext >&5
8622 ac_cv_lib_ipc_shmat
=no
8624 rm -f conftest.err conftest.
$ac_objext \
8625 conftest
$ac_exeext conftest.
$ac_ext
8626 LIBS
=$ac_check_lib_save_LIBS
8628 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
8629 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
8630 if test $ac_cv_lib_ipc_shmat = yes; then
8631 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8637 # Check for libraries that X11R6 Xt/Xaw programs need.
8638 ac_save_LDFLAGS
=$LDFLAGS
8639 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8640 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8641 # check for ICE first), but we must link in the order -lSM -lICE or
8642 # we get undefined symbols. So assume we have SM if we have ICE.
8643 # These have to be linked with before -lX11, unlike the other
8644 # libraries we check for below, so use a different variable.
8645 # John Interrante, Karl Berry
8646 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
8647 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
8648 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
8649 echo $ECHO_N "(cached) $ECHO_C" >&6
8651 ac_check_lib_save_LIBS
=$LIBS
8652 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8653 if test x
$gcc_no_link = xyes
; then
8654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8656 { (exit 1); exit 1; }; }
8658 cat >conftest.
$ac_ext <<_ACEOF
8661 cat confdefs.h
>>conftest.
$ac_ext
8662 cat >>conftest.
$ac_ext <<_ACEOF
8663 /* end confdefs.h. */
8665 /* Override any gcc2 internal prototype to avoid an error. */
8669 /* We use char because int might match the return type of a gcc2
8670 builtin and then its argument prototype would still apply. */
8671 char IceConnectionNumber ();
8675 IceConnectionNumber ();
8680 rm -f conftest.
$ac_objext conftest
$ac_exeext
8681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8682 (eval $ac_link) 2>conftest.er1
8684 grep -v '^ *+' conftest.er1
>conftest.err
8686 cat conftest.err
>&5
8687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8688 (exit $ac_status); } &&
8689 { ac_try
='test -z "$ac_c_werror_flag"
8690 || test ! -s conftest.err'
8691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8695 (exit $ac_status); }; } &&
8696 { ac_try
='test -s conftest$ac_exeext'
8697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8701 (exit $ac_status); }; }; then
8702 ac_cv_lib_ICE_IceConnectionNumber
=yes
8704 echo "$as_me: failed program was:" >&5
8705 sed 's/^/| /' conftest.
$ac_ext >&5
8707 ac_cv_lib_ICE_IceConnectionNumber
=no
8709 rm -f conftest.err conftest.
$ac_objext \
8710 conftest
$ac_exeext conftest.
$ac_ext
8711 LIBS
=$ac_check_lib_save_LIBS
8713 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8714 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
8715 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
8716 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8719 LDFLAGS
=$ac_save_LDFLAGS
8724 # determine whether to enable the cairo GTK Graphics2D backend
8725 # Check whether --enable-gtk-cairo or --disable-gtk-cairo was given.
8726 if test "${enable_gtk_cairo+set}" = set; then
8727 enableval
="$enable_gtk_cairo"
8732 if test "x${enable_gtk_cairo}" = xyes
; then
8740 if test "x${enable_gtk_cairo}" = xyes
8745 if test -z "$PKG_CONFIG"; then
8746 # Extract the first word of "pkg-config", so it can be a program name with args.
8747 set dummy pkg-config
; ac_word
=$2
8748 echo "$as_me:$LINENO: checking for $ac_word" >&5
8749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8750 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
8751 echo $ECHO_N "(cached) $ECHO_C" >&6
8755 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
8758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8762 test -z "$as_dir" && as_dir
=.
8763 for ac_exec_ext
in '' $ac_executable_extensions; do
8764 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8765 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
8766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8772 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
8776 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
8778 if test -n "$PKG_CONFIG"; then
8779 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8780 echo "${ECHO_T}$PKG_CONFIG" >&6
8782 echo "$as_me:$LINENO: result: no" >&5
8783 echo "${ECHO_T}no" >&6
8788 if test "$PKG_CONFIG" = "no" ; then
8789 echo "*** The pkg-config script could not be found. Make sure it is"
8790 echo "*** in your path, or set the PKG_CONFIG environment variable"
8791 echo "*** to the full path to pkg-config."
8792 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
8794 PKG_CONFIG_MIN_VERSION
=0.9.0
8795 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
8796 echo "$as_me:$LINENO: checking for cairo" >&5
8797 echo $ECHO_N "checking for cairo... $ECHO_C" >&6
8799 if $PKG_CONFIG --exists "cairo" ; then
8800 echo "$as_me:$LINENO: result: yes" >&5
8801 echo "${ECHO_T}yes" >&6
8804 echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5
8805 echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6
8806 CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo"`
8807 echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5
8808 echo "${ECHO_T}$CAIRO_CFLAGS" >&6
8810 echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5
8811 echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6
8812 CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo"`
8813 echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5
8814 echo "${ECHO_T}$CAIRO_LIBS" >&6
8818 ## If we have a custom action on failure, don't print errors, but
8819 ## do set a variable so people can do so.
8820 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
8821 echo $CAIRO_PKG_ERRORS
8827 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
8828 echo "*** See http://www.freedesktop.org/software/pkgconfig"
8832 if test $succeeded = yes; then
8835 { { echo "$as_me:$LINENO: error: Library requirements (cairo) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
8836 echo "$as_me: error: Library requirements (cairo) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
8837 { (exit 1); exit 1; }; }
8843 if test -z "$PKG_CONFIG"; then
8844 # Extract the first word of "pkg-config", so it can be a program name with args.
8845 set dummy pkg-config
; ac_word
=$2
8846 echo "$as_me:$LINENO: checking for $ac_word" >&5
8847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8848 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
8849 echo $ECHO_N "(cached) $ECHO_C" >&6
8853 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
8856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8860 test -z "$as_dir" && as_dir
=.
8861 for ac_exec_ext
in '' $ac_executable_extensions; do
8862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8863 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
8864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8870 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
8874 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
8876 if test -n "$PKG_CONFIG"; then
8877 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8878 echo "${ECHO_T}$PKG_CONFIG" >&6
8880 echo "$as_me:$LINENO: result: no" >&5
8881 echo "${ECHO_T}no" >&6
8886 if test "$PKG_CONFIG" = "no" ; then
8887 echo "*** The pkg-config script could not be found. Make sure it is"
8888 echo "*** in your path, or set the PKG_CONFIG environment variable"
8889 echo "*** to the full path to pkg-config."
8890 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
8892 PKG_CONFIG_MIN_VERSION
=0.9.0
8893 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
8894 echo "$as_me:$LINENO: checking for pangoft2" >&5
8895 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
8897 if $PKG_CONFIG --exists "pangoft2" ; then
8898 echo "$as_me:$LINENO: result: yes" >&5
8899 echo "${ECHO_T}yes" >&6
8902 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
8903 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
8904 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
8905 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
8906 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
8908 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
8909 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
8910 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
8911 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
8912 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
8916 ## If we have a custom action on failure, don't print errors, but
8917 ## do set a variable so people can do so.
8918 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
8919 echo $PANGOFT2_PKG_ERRORS
8925 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
8926 echo "*** See http://www.freedesktop.org/software/pkgconfig"
8930 if test $succeeded = yes; then
8933 { { echo "$as_me:$LINENO: error: Library requirements (pangoft2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
8934 echo "$as_me: error: Library requirements (pangoft2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
8935 { (exit 1); exit 1; }; }
8944 # FIXME: this should be _libs on some hosts.
8947 # extra LD Flags which are required for targets
8950 # For now we have to disable it on darwin[8-9] because it slows down
8951 # the linking phase. A possible bug in ld?
8952 # on Darwin -single_module speeds up loading of the dynamic libraries.
8953 extra_ldflags_libjava
=-Wl,-single_module
8958 # Allow the GC to be disabled. Can be useful when debugging.
8959 echo "$as_me:$LINENO: checking for garbage collector to use" >&5
8960 echo $ECHO_N "checking for garbage collector to use... $ECHO_C" >&6
8961 # Check whether --enable-java-gc or --disable-java-gc was given.
8962 if test "${enable_java_gc+set}" = set; then
8963 enableval
="$enable_java_gc"
8976 echo "$as_me:$LINENO: result: boehm" >&5
8977 echo "${ECHO_T}boehm" >&6
8978 GCLIBS
=..
/boehm-gc
/libgcjgc_convenience.la
8979 JC1GCSPEC
='-fuse-boehm-gc'
8980 GCTESTSPEC
="-L`${PWDCMD-pwd}`/../boehm-gc/.libs -rpath `${PWDCMD-pwd}`/../boehm-gc/.libs"
8981 GCINCS
='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include'
8984 # The POSIX thread support needs to know this.
8986 cat >>confdefs.h
<<\_ACEOF
8987 #define HAVE_BOEHM_GC 1
8992 echo "$as_me:$LINENO: result: none" >&5
8993 echo "${ECHO_T}none" >&6
8997 { { echo "$as_me:$LINENO: error: unrecognized collector \"$GC\"" >&5
8998 echo "$as_me: error: unrecognized collector \"$GC\"" >&2;}
8999 { (exit 1); exit 1; }; }
9008 ac_config_links
="$ac_config_links include/java-gc.h:include/$GCHDR"
9012 if test "$GC" = boehm
; then
9014 USING_BOEHMGC_FALSE
='#'
9016 USING_BOEHMGC_TRUE
='#'
9017 USING_BOEHMGC_FALSE
=
9022 if test "$GC" = no
; then
9024 USING_NOGC_FALSE
='#'
9032 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
9033 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
9034 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
9035 echo "$as_me:$LINENO: result: $THREADS" >&5
9036 echo "${ECHO_T}$THREADS" >&6
9042 posix | posix95 | pthreads
)
9047 cat >>confdefs.h
<<\_ACEOF
9048 #define LINUX_THREADS 1
9056 decosf1 | irix | mach | os2 | solaris | dce | vxworks
)
9057 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
9058 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
9059 { (exit 1); exit 1; }; }
9062 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
9063 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
9064 { (exit 1); exit 1; }; }
9079 # Don't set THREADLIBS here. Cygwin doesn't have -lpthread.
9082 # Before FreeBSD 5, it didn't have -lpthread (or any library which
9083 # merely adds pthread_* functions) but it does have a -pthread switch
9084 # which is required at link-time to select -lc_r *instead* of -lc.
9085 THREADLDFLAGS
=-pthread
9086 # Don't set THREADSPEC here as might be expected since -pthread is
9087 # not processed when found within a spec file, it must come from
9088 # the command line. For now, the user must provide the -pthread
9089 # switch to link code compiled with gcj. In future, consider adding
9090 # support for weak references to pthread_* functions ala gthr.h API.
9091 THREADSPEC
='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
9094 # FreeBSD 5 implements a model much closer to other modern UNIX
9095 # which support threads. However, it still does not support
9097 THREADLDFLAGS
=-pthread
9101 THREADCXXFLAGS
=-pthread
9102 # boehm-gc needs some functions from librt, so link that too.
9103 THREADLIBS
='-lpthread -lrt'
9104 THREADSPEC
='-lpthread -lrt'
9107 THREADLIBS
=-lpthread
9108 THREADSPEC
=-lpthread
9111 THREADH
=posix-threads.h
9112 # MIT pthreads doesn't seem to have the mutexattr functions.
9113 # But for now we don't check for it. We just assume you aren't
9114 # using MIT pthreads.
9116 cat >>confdefs.h
<<\_ACEOF
9117 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
9121 # If we're using the Boehm GC, then we happen to know that it
9122 # defines _REENTRANT, so we don't bother. Eww.
9123 if test "$GC" != boehm
; then
9125 cat >>confdefs.h
<<\_ACEOF
9126 #define _REENTRANT 1
9131 cat >>confdefs.h
<<\_ACEOF
9132 #define _POSIX_PTHREAD_SEMANTICS 1
9138 THREADH
=win32-threads.h
9142 THREADH
=no-threads.h
9145 ac_config_links
="$ac_config_links include/java-threads.h:include/$THREADH"
9155 if test "$THREADS" = posix
; then
9156 USING_POSIX_THREADS_TRUE
=
9157 USING_POSIX_THREADS_FALSE
='#'
9159 USING_POSIX_THREADS_TRUE
='#'
9160 USING_POSIX_THREADS_FALSE
=
9165 if test "$THREADS" = win32
; then
9166 USING_WIN32_THREADS_TRUE
=
9167 USING_WIN32_THREADS_FALSE
='#'
9169 USING_WIN32_THREADS_TRUE
='#'
9170 USING_WIN32_THREADS_FALSE
=
9175 if test "$THREADS" = none
; then
9176 USING_NO_THREADS_TRUE
=
9177 USING_NO_THREADS_FALSE
='#'
9179 USING_NO_THREADS_TRUE
='#'
9180 USING_NO_THREADS_FALSE
=
9184 if test -d sysdep
; then true
; else mkdir sysdep
; fi
9185 ac_config_links
="$ac_config_links sysdep/locks.h:sysdep/$sysdeps_dir/locks.h"
9187 ac_config_links
="$ac_config_links sysdep/backtrace.h:$fallback_backtrace_h"
9189 ac_config_links
="$ac_config_links sysdep/descriptor.h:$descriptor_h"
9193 # Hash synchronization is only useful with posix threads right now.
9194 if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then
9195 HASH_SYNC_SPEC
=-fhash-synchronization
9197 cat >>confdefs.h
<<\_ACEOF
9198 #define JV_HASH_SYNCHRONIZATION 1
9206 if test "$GCC" = yes; then
9215 # We're in the tree with gcc, and need to include some of its headers.
9216 GCC_UNWIND_INCLUDE
='-I$(libgcj_basedir)/../gcc'
9218 if test "x${with_newlib}" = "xyes"; then
9219 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
9220 # may not work correctly, because the compiler may not be able to
9223 # We assume newlib. This lets us hard-code the functions we know
9226 cat >>confdefs.h
<<\_ACEOF
9227 #define HAVE_MEMMOVE 1
9231 cat >>confdefs.h
<<\_ACEOF
9232 #define HAVE_MEMCPY 1
9236 cat >>confdefs.h
<<\_ACEOF
9237 #define HAVE_STRERROR 1
9241 cat >>confdefs.h
<<\_ACEOF
9246 cat >>confdefs.h
<<\_ACEOF
9247 #define HAVE_GMTIME_R 1
9251 cat >>confdefs.h
<<\_ACEOF
9252 #define HAVE_LOCALTIME_R 1
9256 cat >>confdefs.h
<<\_ACEOF
9257 #define HAVE_USLEEP_DECL 1
9260 # This is only for POSIX threads.
9262 cat >>confdefs.h
<<\_ACEOF
9263 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
9266 # We also assume we are using gcc, which provides alloca.
9267 cat >>confdefs.h
<<\_ACEOF
9268 #define HAVE_ALLOCA 1
9272 # Assume we do not have getuid and friends.
9274 cat >>confdefs.h
<<\_ACEOF
9312 for ac_func
in strerror ioctl
select fstat open fsync
sleep opendir \
9313 gmtime_r localtime_r readdir_r getpwuid_r getcwd \
9314 access stat mkdir rename
rmdir unlink realpath utime
chmod \
9315 nl_langinfo setlocale \
9316 inet_pton uname inet_ntoa \
9317 fork execvp pipe sigaction ftruncate
9319 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9320 echo "$as_me:$LINENO: checking for $ac_func" >&5
9321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9322 if eval "test \"\${$as_ac_var+set}\" = set"; then
9323 echo $ECHO_N "(cached) $ECHO_C" >&6
9325 if test x
$gcc_no_link = xyes
; then
9326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9328 { (exit 1); exit 1; }; }
9330 cat >conftest.
$ac_ext <<_ACEOF
9333 cat confdefs.h
>>conftest.
$ac_ext
9334 cat >>conftest.
$ac_ext <<_ACEOF
9335 /* end confdefs.h. */
9336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9338 #define $ac_func innocuous_$ac_func
9340 /* System header to define __stub macros and hopefully few prototypes,
9341 which can conflict with char $ac_func (); below.
9342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9343 <limits.h> exists even on freestanding compilers. */
9346 # include <limits.h>
9348 # include <assert.h>
9353 /* Override any gcc2 internal prototype to avoid an error. */
9358 /* We use char because int might match the return type of a gcc2
9359 builtin and then its argument prototype would still apply. */
9361 /* The GNU C library defines this for functions which it implements
9362 to always fail with ENOSYS. Some functions are actually named
9363 something starting with __ and the normal name is an alias. */
9364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9367 char (*f) () = $ac_func;
9376 return f != $ac_func;
9381 rm -f conftest.
$ac_objext conftest
$ac_exeext
9382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9383 (eval $ac_link) 2>conftest.er1
9385 grep -v '^ *+' conftest.er1
>conftest.err
9387 cat conftest.err
>&5
9388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9389 (exit $ac_status); } &&
9390 { ac_try
='test -z "$ac_c_werror_flag"
9391 || test ! -s conftest.err'
9392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9396 (exit $ac_status); }; } &&
9397 { ac_try
='test -s conftest$ac_exeext'
9398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9402 (exit $ac_status); }; }; then
9403 eval "$as_ac_var=yes"
9405 echo "$as_me: failed program was:" >&5
9406 sed 's/^/| /' conftest.
$ac_ext >&5
9408 eval "$as_ac_var=no"
9410 rm -f conftest.err conftest.
$ac_objext \
9411 conftest
$ac_exeext conftest.
$ac_ext
9413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9415 if test `eval echo '${'$as_ac_var'}'` = yes; then
9416 cat >>confdefs.h
<<_ACEOF
9417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9425 for ac_func
in inet_aton inet_addr
9427 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9428 echo "$as_me:$LINENO: checking for $ac_func" >&5
9429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9430 if eval "test \"\${$as_ac_var+set}\" = set"; then
9431 echo $ECHO_N "(cached) $ECHO_C" >&6
9433 if test x
$gcc_no_link = xyes
; then
9434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9436 { (exit 1); exit 1; }; }
9438 cat >conftest.
$ac_ext <<_ACEOF
9441 cat confdefs.h
>>conftest.
$ac_ext
9442 cat >>conftest.
$ac_ext <<_ACEOF
9443 /* end confdefs.h. */
9444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9446 #define $ac_func innocuous_$ac_func
9448 /* System header to define __stub macros and hopefully few prototypes,
9449 which can conflict with char $ac_func (); below.
9450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9451 <limits.h> exists even on freestanding compilers. */
9454 # include <limits.h>
9456 # include <assert.h>
9461 /* Override any gcc2 internal prototype to avoid an error. */
9466 /* We use char because int might match the return type of a gcc2
9467 builtin and then its argument prototype would still apply. */
9469 /* The GNU C library defines this for functions which it implements
9470 to always fail with ENOSYS. Some functions are actually named
9471 something starting with __ and the normal name is an alias. */
9472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9475 char (*f) () = $ac_func;
9484 return f != $ac_func;
9489 rm -f conftest.
$ac_objext conftest
$ac_exeext
9490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9491 (eval $ac_link) 2>conftest.er1
9493 grep -v '^ *+' conftest.er1
>conftest.err
9495 cat conftest.err
>&5
9496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9497 (exit $ac_status); } &&
9498 { ac_try
='test -z "$ac_c_werror_flag"
9499 || test ! -s conftest.err'
9500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9504 (exit $ac_status); }; } &&
9505 { ac_try
='test -s conftest$ac_exeext'
9506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9510 (exit $ac_status); }; }; then
9511 eval "$as_ac_var=yes"
9513 echo "$as_me: failed program was:" >&5
9514 sed 's/^/| /' conftest.
$ac_ext >&5
9516 eval "$as_ac_var=no"
9518 rm -f conftest.err conftest.
$ac_objext \
9519 conftest
$ac_exeext conftest.
$ac_ext
9521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9523 if test `eval echo '${'$as_ac_var'}'` = yes; then
9524 cat >>confdefs.h
<<_ACEOF
9525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9531 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
9532 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
9533 if test "${ac_cv_header_stdc+set}" = set; then
9534 echo $ECHO_N "(cached) $ECHO_C" >&6
9536 cat >conftest.
$ac_ext <<_ACEOF
9539 cat confdefs.h
>>conftest.
$ac_ext
9540 cat >>conftest.
$ac_ext <<_ACEOF
9541 /* end confdefs.h. */
9555 rm -f conftest.
$ac_objext
9556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9557 (eval $ac_compile) 2>conftest.er1
9559 grep -v '^ *+' conftest.er1
>conftest.err
9561 cat conftest.err
>&5
9562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9563 (exit $ac_status); } &&
9564 { ac_try
='test -z "$ac_c_werror_flag"
9565 || test ! -s conftest.err'
9566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9570 (exit $ac_status); }; } &&
9571 { ac_try
='test -s conftest.$ac_objext'
9572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9576 (exit $ac_status); }; }; then
9577 ac_cv_header_stdc
=yes
9579 echo "$as_me: failed program was:" >&5
9580 sed 's/^/| /' conftest.
$ac_ext >&5
9582 ac_cv_header_stdc
=no
9584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9586 if test $ac_cv_header_stdc = yes; then
9587 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9588 cat >conftest.
$ac_ext <<_ACEOF
9591 cat confdefs.h
>>conftest.
$ac_ext
9592 cat >>conftest.
$ac_ext <<_ACEOF
9593 /* end confdefs.h. */
9597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9598 $EGREP "memchr" >/dev
/null
2>&1; then
9601 ac_cv_header_stdc
=no
9607 if test $ac_cv_header_stdc = yes; then
9608 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9609 cat >conftest.
$ac_ext <<_ACEOF
9612 cat confdefs.h
>>conftest.
$ac_ext
9613 cat >>conftest.
$ac_ext <<_ACEOF
9614 /* end confdefs.h. */
9618 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9619 $EGREP "free" >/dev
/null
2>&1; then
9622 ac_cv_header_stdc
=no
9628 if test $ac_cv_header_stdc = yes; then
9629 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9630 if test "$cross_compiling" = yes; then
9633 cat >conftest.
$ac_ext <<_ACEOF
9636 cat confdefs.h
>>conftest.
$ac_ext
9637 cat >>conftest.
$ac_ext <<_ACEOF
9638 /* end confdefs.h. */
9640 #if ((' ' & 0x0FF) == 0x020)
9641 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9642 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9644 # define ISLOWER(c) \
9645 (('a' <= (c) && (c) <= 'i') \
9646 || ('j' <= (c) && (c) <= 'r') \
9647 || ('s' <= (c) && (c) <= 'z'))
9648 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9651 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9656 for (i = 0; i < 256; i++)
9657 if (XOR (islower (i), ISLOWER (i))
9658 || toupper (i) != TOUPPER (i))
9663 rm -f conftest
$ac_exeext
9664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9665 (eval $ac_link) 2>&5
9667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9668 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9673 (exit $ac_status); }; }; then
9676 echo "$as_me: program exited with status $ac_status" >&5
9677 echo "$as_me: failed program was:" >&5
9678 sed 's/^/| /' conftest.
$ac_ext >&5
9681 ac_cv_header_stdc
=no
9683 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9687 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
9688 echo "${ECHO_T}$ac_cv_header_stdc" >&6
9689 if test $ac_cv_header_stdc = yes; then
9691 cat >>confdefs.h
<<\_ACEOF
9692 #define STDC_HEADERS 1
9697 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9707 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
9708 inttypes.h stdint.h unistd.h
9710 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9711 echo "$as_me:$LINENO: checking for $ac_header" >&5
9712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9713 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9714 echo $ECHO_N "(cached) $ECHO_C" >&6
9716 cat >conftest.
$ac_ext <<_ACEOF
9719 cat confdefs.h
>>conftest.
$ac_ext
9720 cat >>conftest.
$ac_ext <<_ACEOF
9721 /* end confdefs.h. */
9722 $ac_includes_default
9724 #include <$ac_header>
9726 rm -f conftest.
$ac_objext
9727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9728 (eval $ac_compile) 2>conftest.er1
9730 grep -v '^ *+' conftest.er1
>conftest.err
9732 cat conftest.err
>&5
9733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9734 (exit $ac_status); } &&
9735 { ac_try
='test -z "$ac_c_werror_flag"
9736 || test ! -s conftest.err'
9737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9741 (exit $ac_status); }; } &&
9742 { ac_try
='test -s conftest.$ac_objext'
9743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9747 (exit $ac_status); }; }; then
9748 eval "$as_ac_Header=yes"
9750 echo "$as_me: failed program was:" >&5
9751 sed 's/^/| /' conftest.
$ac_ext >&5
9753 eval "$as_ac_Header=no"
9755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9758 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9759 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9760 cat >>confdefs.h
<<_ACEOF
9761 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9772 for ac_header
in execinfo.h unistd.h dlfcn.h
9774 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9776 echo "$as_me:$LINENO: checking for $ac_header" >&5
9777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9779 echo $ECHO_N "(cached) $ECHO_C" >&6
9781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9782 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9784 # Is the header compilable?
9785 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9786 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9787 cat >conftest.
$ac_ext <<_ACEOF
9790 cat confdefs.h
>>conftest.
$ac_ext
9791 cat >>conftest.
$ac_ext <<_ACEOF
9792 /* end confdefs.h. */
9793 $ac_includes_default
9794 #include <$ac_header>
9796 rm -f conftest.
$ac_objext
9797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9798 (eval $ac_compile) 2>conftest.er1
9800 grep -v '^ *+' conftest.er1
>conftest.err
9802 cat conftest.err
>&5
9803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9804 (exit $ac_status); } &&
9805 { ac_try
='test -z "$ac_c_werror_flag"
9806 || test ! -s conftest.err'
9807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9811 (exit $ac_status); }; } &&
9812 { ac_try
='test -s conftest.$ac_objext'
9813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9817 (exit $ac_status); }; }; then
9818 ac_header_compiler
=yes
9820 echo "$as_me: failed program was:" >&5
9821 sed 's/^/| /' conftest.
$ac_ext >&5
9823 ac_header_compiler
=no
9825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9826 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9827 echo "${ECHO_T}$ac_header_compiler" >&6
9829 # Is the header present?
9830 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9831 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9832 cat >conftest.
$ac_ext <<_ACEOF
9835 cat confdefs.h
>>conftest.
$ac_ext
9836 cat >>conftest.
$ac_ext <<_ACEOF
9837 /* end confdefs.h. */
9838 #include <$ac_header>
9840 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9841 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9843 grep -v '^ *+' conftest.er1
>conftest.err
9845 cat conftest.err
>&5
9846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9847 (exit $ac_status); } >/dev
/null
; then
9848 if test -s conftest.err
; then
9849 ac_cpp_err
=$ac_c_preproc_warn_flag
9850 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9857 if test -z "$ac_cpp_err"; then
9858 ac_header_preproc
=yes
9860 echo "$as_me: failed program was:" >&5
9861 sed 's/^/| /' conftest.
$ac_ext >&5
9863 ac_header_preproc
=no
9865 rm -f conftest.err conftest.
$ac_ext
9866 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9867 echo "${ECHO_T}$ac_header_preproc" >&6
9869 # So? What about this header?
9870 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9872 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9873 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9874 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9875 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9876 ac_header_preproc
=yes
9879 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9880 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9881 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9882 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9883 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9884 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9885 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9886 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9887 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9888 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9889 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9890 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9893 ## ---------------------------------- ##
9894 ## Report this to the libjava lists. ##
9895 ## ---------------------------------- ##
9898 sed "s/^/$as_me: WARNING: /" >&2
9901 echo "$as_me:$LINENO: checking for $ac_header" >&5
9902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9903 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9904 echo $ECHO_N "(cached) $ECHO_C" >&6
9906 eval "$as_ac_Header=\$ac_header_preproc"
9908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9909 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9912 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9913 cat >>confdefs.h
<<_ACEOF
9914 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9921 echo "$as_me:$LINENO: checking for dladdr in -ldl" >&5
9922 echo $ECHO_N "checking for dladdr in -ldl... $ECHO_C" >&6
9923 if test "${ac_cv_lib_dl_dladdr+set}" = set; then
9924 echo $ECHO_N "(cached) $ECHO_C" >&6
9926 ac_check_lib_save_LIBS
=$LIBS
9928 if test x
$gcc_no_link = xyes
; then
9929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9931 { (exit 1); exit 1; }; }
9933 cat >conftest.
$ac_ext <<_ACEOF
9936 cat confdefs.h
>>conftest.
$ac_ext
9937 cat >>conftest.
$ac_ext <<_ACEOF
9938 /* end confdefs.h. */
9940 /* Override any gcc2 internal prototype to avoid an error. */
9944 /* We use char because int might match the return type of a gcc2
9945 builtin and then its argument prototype would still apply. */
9955 rm -f conftest.
$ac_objext conftest
$ac_exeext
9956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9957 (eval $ac_link) 2>conftest.er1
9959 grep -v '^ *+' conftest.er1
>conftest.err
9961 cat conftest.err
>&5
9962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9963 (exit $ac_status); } &&
9964 { ac_try
='test -z "$ac_c_werror_flag"
9965 || test ! -s conftest.err'
9966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9970 (exit $ac_status); }; } &&
9971 { ac_try
='test -s conftest$ac_exeext'
9972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9976 (exit $ac_status); }; }; then
9977 ac_cv_lib_dl_dladdr
=yes
9979 echo "$as_me: failed program was:" >&5
9980 sed 's/^/| /' conftest.
$ac_ext >&5
9982 ac_cv_lib_dl_dladdr
=no
9984 rm -f conftest.err conftest.
$ac_objext \
9985 conftest
$ac_exeext conftest.
$ac_ext
9986 LIBS
=$ac_check_lib_save_LIBS
9988 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dladdr" >&5
9989 echo "${ECHO_T}$ac_cv_lib_dl_dladdr" >&6
9990 if test $ac_cv_lib_dl_dladdr = yes; then
9993 cat >>confdefs.h
<<\_ACEOF
9994 #define HAVE_DLADDR 1
10000 if test x
"$build" = x
"$host"; then
10001 echo "$as_me:$LINENO: checking for /proc/self/exe" >&5
10002 echo $ECHO_N "checking for /proc/self/exe... $ECHO_C" >&6
10003 if test "${ac_cv_file__proc_self_exe+set}" = set; then
10004 echo $ECHO_N "(cached) $ECHO_C" >&6
10006 test "$cross_compiling" = yes &&
10007 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
10008 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
10009 { (exit 1); exit 1; }; }
10010 if test -r "/proc/self/exe"; then
10011 ac_cv_file__proc_self_exe
=yes
10013 ac_cv_file__proc_self_exe
=no
10016 echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_exe" >&5
10017 echo "${ECHO_T}$ac_cv_file__proc_self_exe" >&6
10018 if test $ac_cv_file__proc_self_exe = yes; then
10020 cat >>confdefs.h
<<_ACEOF
10021 #define HAVE__PROC_SELF_EXE 1
10026 cat >>confdefs.h
<<\_ACEOF
10027 #define HAVE_PROC_SELF_EXE 1
10036 cat >>confdefs.h
<<\_ACEOF
10037 #define HAVE_PROC_SELF_EXE 1
10045 if test "X$prefix" = "XNONE"; then
10046 acl_final_prefix
="$ac_default_prefix"
10048 acl_final_prefix
="$prefix"
10050 if test "X$exec_prefix" = "XNONE"; then
10051 acl_final_exec_prefix
='${prefix}'
10053 acl_final_exec_prefix
="$exec_prefix"
10055 acl_save_prefix
="$prefix"
10056 prefix
="$acl_final_prefix"
10057 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
10058 prefix
="$acl_save_prefix"
10061 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10062 if test "${with_gnu_ld+set}" = set; then
10063 withval
="$with_gnu_ld"
10064 test "$withval" = no || with_gnu_ld
=yes
10068 # Prepare PATH_SEPARATOR.
10069 # The user is always right.
10070 if test "${PATH_SEPARATOR+set}" != set; then
10071 echo "#! /bin/sh" >conf$$.sh
10072 echo "exit 0" >>conf$$.sh
10074 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10082 if test "$GCC" = yes; then
10083 # Check if gcc -print-prog-name=ld gives a path.
10084 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
10085 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
10088 # gcc leaves a trailing carriage return which upsets mingw
10089 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10091 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10094 # Accept absolute paths.
10095 [\\/]* |
[A-Za-z
]:[\\/]*)
10096 re_direlt
='/[^/][^/]*/\.\./'
10097 # Canonicalize the path of ld
10098 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
10099 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10100 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
10102 test -z "$LD" && LD
="$ac_prog"
10105 # If it fails, then pretend we aren't using GCC.
10109 # If it is relative, then search for the first ld in PATH.
10110 with_gnu_ld
=unknown
10113 elif test "$with_gnu_ld" = yes; then
10114 echo "$as_me:$LINENO: checking for GNU ld" >&5
10115 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10117 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10118 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10120 if test "${acl_cv_path_LD+set}" = set; then
10121 echo $ECHO_N "(cached) $ECHO_C" >&6
10123 if test -z "$LD"; then
10124 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
10125 for ac_dir
in $PATH; do
10126 test -z "$ac_dir" && ac_dir
=.
10127 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10128 acl_cv_path_LD
="$ac_dir/$ac_prog"
10129 # Check to see if the program is GNU ld. I'd rather use --version,
10130 # but apparently some GNU ld's only accept -v.
10131 # Break only if it was the GNU/non-GNU ld that we prefer.
10132 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
10133 test "$with_gnu_ld" != no
&& break
10135 test "$with_gnu_ld" != yes && break
10141 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
10145 LD
="$acl_cv_path_LD"
10146 if test -n "$LD"; then
10147 echo "$as_me:$LINENO: result: $LD" >&5
10148 echo "${ECHO_T}$LD" >&6
10150 echo "$as_me:$LINENO: result: no" >&5
10151 echo "${ECHO_T}no" >&6
10153 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10154 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10155 { (exit 1); exit 1; }; }
10156 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10157 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10158 if test "${acl_cv_prog_gnu_ld+set}" = set; then
10159 echo $ECHO_N "(cached) $ECHO_C" >&6
10161 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10162 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
10163 acl_cv_prog_gnu_ld
=yes
10165 acl_cv_prog_gnu_ld
=no
10168 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
10169 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
10170 with_gnu_ld
=$acl_cv_prog_gnu_ld
10174 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
10175 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
10176 if test "${acl_cv_rpath+set}" = set; then
10177 echo $ECHO_N "(cached) $ECHO_C" >&6
10180 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
10181 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
10183 rm -f .
/conftest.sh
10187 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
10188 echo "${ECHO_T}$acl_cv_rpath" >&6
10190 libext
="$acl_cv_libext"
10191 shlibext
="$acl_cv_shlibext"
10192 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
10193 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
10194 hardcode_direct
="$acl_cv_hardcode_direct"
10195 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
10196 # Check whether --enable-rpath or --disable-rpath was given.
10197 if test "${enable_rpath+set}" = set; then
10198 enableval
="$enable_rpath"
10212 acl_save_prefix
="$prefix"
10213 prefix
="$acl_final_prefix"
10214 acl_save_exec_prefix
="$exec_prefix"
10215 exec_prefix
="$acl_final_exec_prefix"
10217 eval additional_includedir
=\"$includedir\"
10218 eval additional_libdir
=\"$libdir\"
10220 exec_prefix
="$acl_save_exec_prefix"
10221 prefix
="$acl_save_prefix"
10224 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
10225 if test "${with_libiconv_prefix+set}" = set; then
10226 withval
="$with_libiconv_prefix"
10228 if test "X$withval" = "Xno"; then
10231 if test "X$withval" = "X"; then
10233 acl_save_prefix
="$prefix"
10234 prefix
="$acl_final_prefix"
10235 acl_save_exec_prefix
="$exec_prefix"
10236 exec_prefix
="$acl_final_exec_prefix"
10238 eval additional_includedir
=\"$includedir\"
10239 eval additional_libdir
=\"$libdir\"
10241 exec_prefix
="$acl_save_exec_prefix"
10242 prefix
="$acl_save_prefix"
10245 additional_includedir
="$withval/include"
10246 additional_libdir
="$withval/lib"
10256 names_already_handled
=
10257 names_next_round
='iconv '
10258 while test -n "$names_next_round"; do
10259 names_this_round
="$names_next_round"
10261 for name
in $names_this_round; do
10263 for n
in $names_already_handled; do
10264 if test "$n" = "$name"; then
10265 already_handled
=yes
10269 if test -z "$already_handled"; then
10270 names_already_handled
="$names_already_handled $name"
10271 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
10272 eval value
=\"\
$HAVE_LIB$uppername\"
10273 if test -n "$value"; then
10274 if test "$value" = yes; then
10275 eval value
=\"\
$LIB$uppername\"
10276 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
10277 eval value
=\"\
$LTLIB$uppername\"
10278 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
10287 if test $use_additional = yes; then
10288 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
10289 found_dir
="$additional_libdir"
10290 found_so
="$additional_libdir/lib$name.$shlibext"
10291 if test -f "$additional_libdir/lib$name.la"; then
10292 found_la
="$additional_libdir/lib$name.la"
10295 if test -f "$additional_libdir/lib$name.$libext"; then
10296 found_dir
="$additional_libdir"
10297 found_a
="$additional_libdir/lib$name.$libext"
10298 if test -f "$additional_libdir/lib$name.la"; then
10299 found_la
="$additional_libdir/lib$name.la"
10304 if test "X$found_dir" = "X"; then
10305 for x
in $LDFLAGS $LTLIBICONV; do
10307 acl_save_prefix
="$prefix"
10308 prefix
="$acl_final_prefix"
10309 acl_save_exec_prefix
="$exec_prefix"
10310 exec_prefix
="$acl_final_exec_prefix"
10312 exec_prefix
="$acl_save_exec_prefix"
10313 prefix
="$acl_save_prefix"
10317 dir
=`echo "X$x" | sed -e 's/^X-L//'`
10318 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
10320 found_so
="$dir/lib$name.$shlibext"
10321 if test -f "$dir/lib$name.la"; then
10322 found_la
="$dir/lib$name.la"
10325 if test -f "$dir/lib$name.$libext"; then
10327 found_a
="$dir/lib$name.$libext"
10328 if test -f "$dir/lib$name.la"; then
10329 found_la
="$dir/lib$name.la"
10335 if test "X$found_dir" != "X"; then
10340 if test "X$found_dir" != "X"; then
10341 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
10342 if test "X$found_so" != "X"; then
10343 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
10344 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10347 for x
in $ltrpathdirs; do
10348 if test "X$x" = "X$found_dir"; then
10353 if test -z "$haveit"; then
10354 ltrpathdirs
="$ltrpathdirs $found_dir"
10356 if test "$hardcode_direct" = yes; then
10357 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10359 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
10360 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10362 for x
in $rpathdirs; do
10363 if test "X$x" = "X$found_dir"; then
10368 if test -z "$haveit"; then
10369 rpathdirs
="$rpathdirs $found_dir"
10373 for x
in $LDFLAGS $LIBICONV; do
10375 acl_save_prefix
="$prefix"
10376 prefix
="$acl_final_prefix"
10377 acl_save_exec_prefix
="$exec_prefix"
10378 exec_prefix
="$acl_final_exec_prefix"
10380 exec_prefix
="$acl_save_exec_prefix"
10381 prefix
="$acl_save_prefix"
10383 if test "X$x" = "X-L$found_dir"; then
10388 if test -z "$haveit"; then
10389 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
10391 if test "$hardcode_minus_L" != no
; then
10392 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10394 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
10400 if test "X$found_a" != "X"; then
10401 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
10403 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
10406 additional_includedir
=
10407 case "$found_dir" in
10409 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
10410 additional_includedir
="$basedir/include"
10413 if test "X$additional_includedir" != "X"; then
10414 if test "X$additional_includedir" != "X/usr/include"; then
10416 if test "X$additional_includedir" = "X/usr/local/include"; then
10417 if test -n "$GCC"; then
10419 linux
*) haveit
=yes;;
10423 if test -z "$haveit"; then
10424 for x
in $CPPFLAGS $INCICONV; do
10426 acl_save_prefix
="$prefix"
10427 prefix
="$acl_final_prefix"
10428 acl_save_exec_prefix
="$exec_prefix"
10429 exec_prefix
="$acl_final_exec_prefix"
10431 exec_prefix
="$acl_save_exec_prefix"
10432 prefix
="$acl_save_prefix"
10434 if test "X$x" = "X-I$additional_includedir"; then
10439 if test -z "$haveit"; then
10440 if test -d "$additional_includedir"; then
10441 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
10447 if test -n "$found_la"; then
10448 save_libdir
="$libdir"
10449 case "$found_la" in
10450 */* |
*\\*) .
"$found_la" ;;
10451 *) .
"./$found_la" ;;
10453 libdir
="$save_libdir"
10454 for dep
in $dependency_libs; do
10457 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
10458 if test "X$additional_libdir" != "X/usr/lib"; then
10460 if test "X$additional_libdir" = "X/usr/local/lib"; then
10461 if test -n "$GCC"; then
10463 linux
*) haveit
=yes;;
10467 if test -z "$haveit"; then
10469 for x
in $LDFLAGS $LIBICONV; do
10471 acl_save_prefix
="$prefix"
10472 prefix
="$acl_final_prefix"
10473 acl_save_exec_prefix
="$exec_prefix"
10474 exec_prefix
="$acl_final_exec_prefix"
10476 exec_prefix
="$acl_save_exec_prefix"
10477 prefix
="$acl_save_prefix"
10479 if test "X$x" = "X-L$additional_libdir"; then
10484 if test -z "$haveit"; then
10485 if test -d "$additional_libdir"; then
10486 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
10490 for x
in $LDFLAGS $LTLIBICONV; do
10492 acl_save_prefix
="$prefix"
10493 prefix
="$acl_final_prefix"
10494 acl_save_exec_prefix
="$exec_prefix"
10495 exec_prefix
="$acl_final_exec_prefix"
10497 exec_prefix
="$acl_save_exec_prefix"
10498 prefix
="$acl_save_prefix"
10500 if test "X$x" = "X-L$additional_libdir"; then
10505 if test -z "$haveit"; then
10506 if test -d "$additional_libdir"; then
10507 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
10514 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
10515 if test "$enable_rpath" != no
; then
10517 for x
in $rpathdirs; do
10518 if test "X$x" = "X$dir"; then
10523 if test -z "$haveit"; then
10524 rpathdirs
="$rpathdirs $dir"
10527 for x
in $ltrpathdirs; do
10528 if test "X$x" = "X$dir"; then
10533 if test -z "$haveit"; then
10534 ltrpathdirs
="$ltrpathdirs $dir"
10539 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10542 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10545 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
10546 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
10552 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
10553 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
10559 if test "X$rpathdirs" != "X"; then
10560 if test -n "$hardcode_libdir_separator"; then
10562 for found_dir
in $rpathdirs; do
10563 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10565 acl_save_libdir
="$libdir"
10567 eval flag
=\"$hardcode_libdir_flag_spec\"
10568 libdir
="$acl_save_libdir"
10569 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10571 for found_dir
in $rpathdirs; do
10572 acl_save_libdir
="$libdir"
10573 libdir
="$found_dir"
10574 eval flag
=\"$hardcode_libdir_flag_spec\"
10575 libdir
="$acl_save_libdir"
10576 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10580 if test "X$ltrpathdirs" != "X"; then
10581 for found_dir
in $ltrpathdirs; do
10582 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
10592 am_save_CPPFLAGS
="$CPPFLAGS"
10594 for element
in $INCICONV; do
10596 for x
in $CPPFLAGS; do
10598 acl_save_prefix
="$prefix"
10599 prefix
="$acl_final_prefix"
10600 acl_save_exec_prefix
="$exec_prefix"
10601 exec_prefix
="$acl_final_exec_prefix"
10603 exec_prefix
="$acl_save_exec_prefix"
10604 prefix
="$acl_save_prefix"
10606 if test "X$x" = "X$element"; then
10611 if test -z "$haveit"; then
10612 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
10617 echo "$as_me:$LINENO: checking for iconv" >&5
10618 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
10619 if test "${am_cv_func_iconv+set}" = set; then
10620 echo $ECHO_N "(cached) $ECHO_C" >&6
10623 am_cv_func_iconv
="no, consider installing GNU libiconv"
10625 if test x
$gcc_no_link = xyes
; then
10626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10628 { (exit 1); exit 1; }; }
10630 cat >conftest.
$ac_ext <<_ACEOF
10633 cat confdefs.h
>>conftest.
$ac_ext
10634 cat >>conftest.
$ac_ext <<_ACEOF
10635 /* end confdefs.h. */
10636 #include <stdlib.h>
10641 iconv_t cd = iconv_open("","");
10642 iconv(cd,NULL,NULL,NULL,NULL);
10648 rm -f conftest.
$ac_objext conftest
$ac_exeext
10649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10650 (eval $ac_link) 2>conftest.er1
10652 grep -v '^ *+' conftest.er1
>conftest.err
10654 cat conftest.err
>&5
10655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10656 (exit $ac_status); } &&
10657 { ac_try
='test -z "$ac_c_werror_flag"
10658 || test ! -s conftest.err'
10659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10660 (eval $ac_try) 2>&5
10662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10663 (exit $ac_status); }; } &&
10664 { ac_try
='test -s conftest$ac_exeext'
10665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10666 (eval $ac_try) 2>&5
10668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10669 (exit $ac_status); }; }; then
10670 am_cv_func_iconv
=yes
10672 echo "$as_me: failed program was:" >&5
10673 sed 's/^/| /' conftest.
$ac_ext >&5
10676 rm -f conftest.err conftest.
$ac_objext \
10677 conftest
$ac_exeext conftest.
$ac_ext
10678 if test "$am_cv_func_iconv" != yes; then
10679 am_save_LIBS
="$LIBS"
10680 LIBS
="$LIBS $LIBICONV"
10681 if test x
$gcc_no_link = xyes
; then
10682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10684 { (exit 1); exit 1; }; }
10686 cat >conftest.
$ac_ext <<_ACEOF
10689 cat confdefs.h
>>conftest.
$ac_ext
10690 cat >>conftest.
$ac_ext <<_ACEOF
10691 /* end confdefs.h. */
10692 #include <stdlib.h>
10697 iconv_t cd = iconv_open("","");
10698 iconv(cd,NULL,NULL,NULL,NULL);
10704 rm -f conftest.
$ac_objext conftest
$ac_exeext
10705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10706 (eval $ac_link) 2>conftest.er1
10708 grep -v '^ *+' conftest.er1
>conftest.err
10710 cat conftest.err
>&5
10711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10712 (exit $ac_status); } &&
10713 { ac_try
='test -z "$ac_c_werror_flag"
10714 || test ! -s conftest.err'
10715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10716 (eval $ac_try) 2>&5
10718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10719 (exit $ac_status); }; } &&
10720 { ac_try
='test -s conftest$ac_exeext'
10721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10722 (eval $ac_try) 2>&5
10724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10725 (exit $ac_status); }; }; then
10726 am_cv_lib_iconv
=yes
10727 am_cv_func_iconv
=yes
10729 echo "$as_me: failed program was:" >&5
10730 sed 's/^/| /' conftest.
$ac_ext >&5
10733 rm -f conftest.err conftest.
$ac_objext \
10734 conftest
$ac_exeext conftest.
$ac_ext
10735 LIBS
="$am_save_LIBS"
10739 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
10740 echo "${ECHO_T}$am_cv_func_iconv" >&6
10741 if test "$am_cv_func_iconv" = yes; then
10743 cat >>confdefs.h
<<\_ACEOF
10744 #define HAVE_ICONV 1
10748 if test "$am_cv_lib_iconv" = yes; then
10749 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
10750 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
10751 echo "$as_me:$LINENO: result: $LIBICONV" >&5
10752 echo "${ECHO_T}$LIBICONV" >&6
10754 CPPFLAGS
="$am_save_CPPFLAGS"
10761 if test "$am_cv_func_iconv" = yes; then
10762 echo "$as_me:$LINENO: checking for iconv declaration" >&5
10763 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
10764 if test "${am_cv_proto_iconv+set}" = set; then
10765 echo $ECHO_N "(cached) $ECHO_C" >&6
10768 cat >conftest.
$ac_ext <<_ACEOF
10771 cat confdefs.h
>>conftest.
$ac_ext
10772 cat >>conftest.
$ac_ext <<_ACEOF
10773 /* end confdefs.h. */
10775 #include <stdlib.h>
10781 #if defined(__STDC__) || defined(__cplusplus)
10782 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
10795 rm -f conftest.
$ac_objext
10796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10797 (eval $ac_compile) 2>conftest.er1
10799 grep -v '^ *+' conftest.er1
>conftest.err
10801 cat conftest.err
>&5
10802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10803 (exit $ac_status); } &&
10804 { ac_try
='test -z "$ac_c_werror_flag"
10805 || test ! -s conftest.err'
10806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10807 (eval $ac_try) 2>&5
10809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10810 (exit $ac_status); }; } &&
10811 { ac_try
='test -s conftest.$ac_objext'
10812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10813 (eval $ac_try) 2>&5
10815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10816 (exit $ac_status); }; }; then
10817 am_cv_proto_iconv_arg1
=""
10819 echo "$as_me: failed program was:" >&5
10820 sed 's/^/| /' conftest.
$ac_ext >&5
10822 am_cv_proto_iconv_arg1
="const"
10824 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10825 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);"
10828 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
10829 echo "$as_me:$LINENO: result: ${ac_t:-
10830 }$am_cv_proto_iconv" >&5
10831 echo "${ECHO_T}${ac_t:-
10832 }$am_cv_proto_iconv" >&6
10834 cat >>confdefs.h
<<_ACEOF
10835 #define ICONV_CONST $am_cv_proto_iconv_arg1
10841 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
10842 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
10843 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
10844 echo $ECHO_N "(cached) $ECHO_C" >&6
10846 if test x
$gcc_no_link = xyes
; then
10847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10849 { (exit 1); exit 1; }; }
10851 cat >conftest.
$ac_ext <<_ACEOF
10854 cat confdefs.h
>>conftest.
$ac_ext
10855 cat >>conftest.
$ac_ext <<_ACEOF
10856 /* end confdefs.h. */
10857 #include <locale.h>
10866 rm -f conftest.
$ac_objext conftest
$ac_exeext
10867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10868 (eval $ac_link) 2>conftest.er1
10870 grep -v '^ *+' conftest.er1
>conftest.err
10872 cat conftest.err
>&5
10873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10874 (exit $ac_status); } &&
10875 { ac_try
='test -z "$ac_c_werror_flag"
10876 || test ! -s conftest.err'
10877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10878 (eval $ac_try) 2>&5
10880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10881 (exit $ac_status); }; } &&
10882 { ac_try
='test -s conftest$ac_exeext'
10883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10884 (eval $ac_try) 2>&5
10886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10887 (exit $ac_status); }; }; then
10888 am_cv_val_LC_MESSAGES
=yes
10890 echo "$as_me: failed program was:" >&5
10891 sed 's/^/| /' conftest.
$ac_ext >&5
10893 am_cv_val_LC_MESSAGES
=no
10895 rm -f conftest.err conftest.
$ac_objext \
10896 conftest
$ac_exeext conftest.
$ac_ext
10898 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
10899 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
10900 if test $am_cv_val_LC_MESSAGES = yes; then
10902 cat >>confdefs.h
<<\_ACEOF
10903 #define HAVE_LC_MESSAGES 1
10908 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
10909 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
10910 if test "${ac_cv_struct_tm+set}" = set; then
10911 echo $ECHO_N "(cached) $ECHO_C" >&6
10913 cat >conftest.
$ac_ext <<_ACEOF
10916 cat confdefs.h
>>conftest.
$ac_ext
10917 cat >>conftest.
$ac_ext <<_ACEOF
10918 /* end confdefs.h. */
10919 #include <sys/types.h>
10925 struct tm *tp; tp->tm_sec;
10930 rm -f conftest.
$ac_objext
10931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10932 (eval $ac_compile) 2>conftest.er1
10934 grep -v '^ *+' conftest.er1
>conftest.err
10936 cat conftest.err
>&5
10937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10938 (exit $ac_status); } &&
10939 { ac_try
='test -z "$ac_c_werror_flag"
10940 || test ! -s conftest.err'
10941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10942 (eval $ac_try) 2>&5
10944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10945 (exit $ac_status); }; } &&
10946 { ac_try
='test -s conftest.$ac_objext'
10947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10948 (eval $ac_try) 2>&5
10950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10951 (exit $ac_status); }; }; then
10952 ac_cv_struct_tm
=time.h
10954 echo "$as_me: failed program was:" >&5
10955 sed 's/^/| /' conftest.
$ac_ext >&5
10957 ac_cv_struct_tm
=sys
/time.h
10959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10961 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
10962 echo "${ECHO_T}$ac_cv_struct_tm" >&6
10963 if test $ac_cv_struct_tm = sys
/time.h
; then
10965 cat >>confdefs.h
<<\_ACEOF
10966 #define TM_IN_SYS_TIME 1
10971 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
10972 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
10973 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
10974 echo $ECHO_N "(cached) $ECHO_C" >&6
10976 cat >conftest.
$ac_ext <<_ACEOF
10979 cat confdefs.h
>>conftest.
$ac_ext
10980 cat >>conftest.
$ac_ext <<_ACEOF
10981 /* end confdefs.h. */
10982 #include <sys/types.h>
10983 #include <$ac_cv_struct_tm>
10989 static struct tm ac_aggr;
10990 if (ac_aggr.tm_zone)
10996 rm -f conftest.
$ac_objext
10997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10998 (eval $ac_compile) 2>conftest.er1
11000 grep -v '^ *+' conftest.er1
>conftest.err
11002 cat conftest.err
>&5
11003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11004 (exit $ac_status); } &&
11005 { ac_try
='test -z "$ac_c_werror_flag"
11006 || test ! -s conftest.err'
11007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11008 (eval $ac_try) 2>&5
11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 (exit $ac_status); }; } &&
11012 { ac_try
='test -s conftest.$ac_objext'
11013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11014 (eval $ac_try) 2>&5
11016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11017 (exit $ac_status); }; }; then
11018 ac_cv_member_struct_tm_tm_zone
=yes
11020 echo "$as_me: failed program was:" >&5
11021 sed 's/^/| /' conftest.
$ac_ext >&5
11023 cat >conftest.
$ac_ext <<_ACEOF
11026 cat confdefs.h
>>conftest.
$ac_ext
11027 cat >>conftest.
$ac_ext <<_ACEOF
11028 /* end confdefs.h. */
11029 #include <sys/types.h>
11030 #include <$ac_cv_struct_tm>
11036 static struct tm ac_aggr;
11037 if (sizeof ac_aggr.tm_zone)
11043 rm -f conftest.
$ac_objext
11044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11045 (eval $ac_compile) 2>conftest.er1
11047 grep -v '^ *+' conftest.er1
>conftest.err
11049 cat conftest.err
>&5
11050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11051 (exit $ac_status); } &&
11052 { ac_try
='test -z "$ac_c_werror_flag"
11053 || test ! -s conftest.err'
11054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11055 (eval $ac_try) 2>&5
11057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11058 (exit $ac_status); }; } &&
11059 { ac_try
='test -s conftest.$ac_objext'
11060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11061 (eval $ac_try) 2>&5
11063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11064 (exit $ac_status); }; }; then
11065 ac_cv_member_struct_tm_tm_zone
=yes
11067 echo "$as_me: failed program was:" >&5
11068 sed 's/^/| /' conftest.
$ac_ext >&5
11070 ac_cv_member_struct_tm_tm_zone
=no
11072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11076 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
11077 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
11078 if test $ac_cv_member_struct_tm_tm_zone = yes; then
11080 cat >>confdefs.h
<<_ACEOF
11081 #define HAVE_STRUCT_TM_TM_ZONE 1
11087 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
11089 cat >>confdefs.h
<<\_ACEOF
11090 #define HAVE_TM_ZONE 1
11094 echo "$as_me:$LINENO: checking for tzname" >&5
11095 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
11096 if test "${ac_cv_var_tzname+set}" = set; then
11097 echo $ECHO_N "(cached) $ECHO_C" >&6
11099 if test x
$gcc_no_link = xyes
; then
11100 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11102 { (exit 1); exit 1; }; }
11104 cat >conftest.
$ac_ext <<_ACEOF
11107 cat confdefs.h
>>conftest.
$ac_ext
11108 cat >>conftest.
$ac_ext <<_ACEOF
11109 /* end confdefs.h. */
11111 #ifndef tzname /* For SGI. */
11112 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
11123 rm -f conftest.
$ac_objext conftest
$ac_exeext
11124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11125 (eval $ac_link) 2>conftest.er1
11127 grep -v '^ *+' conftest.er1
>conftest.err
11129 cat conftest.err
>&5
11130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11131 (exit $ac_status); } &&
11132 { ac_try
='test -z "$ac_c_werror_flag"
11133 || test ! -s conftest.err'
11134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11135 (eval $ac_try) 2>&5
11137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11138 (exit $ac_status); }; } &&
11139 { ac_try
='test -s conftest$ac_exeext'
11140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11141 (eval $ac_try) 2>&5
11143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11144 (exit $ac_status); }; }; then
11145 ac_cv_var_tzname
=yes
11147 echo "$as_me: failed program was:" >&5
11148 sed 's/^/| /' conftest.
$ac_ext >&5
11150 ac_cv_var_tzname
=no
11152 rm -f conftest.err conftest.
$ac_objext \
11153 conftest
$ac_exeext conftest.
$ac_ext
11155 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
11156 echo "${ECHO_T}$ac_cv_var_tzname" >&6
11157 if test $ac_cv_var_tzname = yes; then
11159 cat >>confdefs.h
<<\_ACEOF
11160 #define HAVE_TZNAME 1
11169 for ac_func
in gethostbyname_r
11171 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11172 echo "$as_me:$LINENO: checking for $ac_func" >&5
11173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11174 if eval "test \"\${$as_ac_var+set}\" = set"; then
11175 echo $ECHO_N "(cached) $ECHO_C" >&6
11177 if test x
$gcc_no_link = xyes
; then
11178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11180 { (exit 1); exit 1; }; }
11182 cat >conftest.
$ac_ext <<_ACEOF
11185 cat confdefs.h
>>conftest.
$ac_ext
11186 cat >>conftest.
$ac_ext <<_ACEOF
11187 /* end confdefs.h. */
11188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11190 #define $ac_func innocuous_$ac_func
11192 /* System header to define __stub macros and hopefully few prototypes,
11193 which can conflict with char $ac_func (); below.
11194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11195 <limits.h> exists even on freestanding compilers. */
11198 # include <limits.h>
11200 # include <assert.h>
11205 /* Override any gcc2 internal prototype to avoid an error. */
11210 /* We use char because int might match the return type of a gcc2
11211 builtin and then its argument prototype would still apply. */
11213 /* The GNU C library defines this for functions which it implements
11214 to always fail with ENOSYS. Some functions are actually named
11215 something starting with __ and the normal name is an alias. */
11216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11219 char (*f) () = $ac_func;
11228 return f != $ac_func;
11233 rm -f conftest.
$ac_objext conftest
$ac_exeext
11234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11235 (eval $ac_link) 2>conftest.er1
11237 grep -v '^ *+' conftest.er1
>conftest.err
11239 cat conftest.err
>&5
11240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11241 (exit $ac_status); } &&
11242 { ac_try
='test -z "$ac_c_werror_flag"
11243 || test ! -s conftest.err'
11244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11245 (eval $ac_try) 2>&5
11247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11248 (exit $ac_status); }; } &&
11249 { ac_try
='test -s conftest$ac_exeext'
11250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11251 (eval $ac_try) 2>&5
11253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11254 (exit $ac_status); }; }; then
11255 eval "$as_ac_var=yes"
11257 echo "$as_me: failed program was:" >&5
11258 sed 's/^/| /' conftest.
$ac_ext >&5
11260 eval "$as_ac_var=no"
11262 rm -f conftest.err conftest.
$ac_objext \
11263 conftest
$ac_exeext conftest.
$ac_ext
11265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11267 if test `eval echo '${'$as_ac_var'}'` = yes; then
11268 cat >>confdefs.h
<<_ACEOF
11269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11273 cat >>confdefs.h
<<\_ACEOF
11274 #define HAVE_GETHOSTBYNAME_R 1
11277 # There are two different kinds of gethostbyname_r.
11278 # We look for the one that returns `int'.
11279 # Hopefully this check is robust enough.
11280 cat >conftest.
$ac_ext <<_ACEOF
11283 cat confdefs.h
>>conftest.
$ac_ext
11284 cat >>conftest.
$ac_ext <<_ACEOF
11285 /* end confdefs.h. */
11289 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11290 $EGREP "int.*gethostbyname_r" >/dev
/null
2>&1; then
11293 cat >>confdefs.h
<<\_ACEOF
11294 #define GETHOSTBYNAME_R_RETURNS_INT 1
11301 case " $GCINCS " in
11302 *" -D_REENTRANT "*) ;;
11304 echo "$as_me:$LINENO: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5
11305 echo $ECHO_N "checking whether gethostbyname_r declaration requires -D_REENTRANT... $ECHO_C" >&6
11306 if test "${libjava_cv_gethostbyname_r_needs_reentrant+set}" = set; then
11307 echo $ECHO_N "(cached) $ECHO_C" >&6
11310 ac_cpp
='$CXXCPP $CPPFLAGS'
11311 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11312 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11313 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11315 cat >conftest.
$ac_ext <<_ACEOF
11318 cat confdefs.h
>>conftest.
$ac_ext
11319 cat >>conftest.
$ac_ext <<_ACEOF
11320 /* end confdefs.h. */
11325 gethostbyname_r("", 0, 0);
11330 rm -f conftest.
$ac_objext
11331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11332 (eval $ac_compile) 2>conftest.er1
11334 grep -v '^ *+' conftest.er1
>conftest.err
11336 cat conftest.err
>&5
11337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11338 (exit $ac_status); } &&
11339 { ac_try
='test -z "$ac_cxx_werror_flag"
11340 || test ! -s conftest.err'
11341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11342 (eval $ac_try) 2>&5
11344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11345 (exit $ac_status); }; } &&
11346 { ac_try
='test -s conftest.$ac_objext'
11347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11348 (eval $ac_try) 2>&5
11350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11351 (exit $ac_status); }; }; then
11352 libjava_cv_gethostbyname_r_needs_reentrant
=no
11354 echo "$as_me: failed program was:" >&5
11355 sed 's/^/| /' conftest.
$ac_ext >&5
11357 CPPFLAGS_SAVE
="$CPPFLAGS"
11358 CPPFLAGS
="$CPPFLAGS -D_REENTRANT"
11359 cat >conftest.
$ac_ext <<_ACEOF
11362 cat confdefs.h
>>conftest.
$ac_ext
11363 cat >>conftest.
$ac_ext <<_ACEOF
11364 /* end confdefs.h. */
11369 gethostbyname_r("", 0, 0);
11374 rm -f conftest.
$ac_objext
11375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11376 (eval $ac_compile) 2>conftest.er1
11378 grep -v '^ *+' conftest.er1
>conftest.err
11380 cat conftest.err
>&5
11381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11382 (exit $ac_status); } &&
11383 { ac_try
='test -z "$ac_cxx_werror_flag"
11384 || test ! -s conftest.err'
11385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11386 (eval $ac_try) 2>&5
11388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11389 (exit $ac_status); }; } &&
11390 { ac_try
='test -s conftest.$ac_objext'
11391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11392 (eval $ac_try) 2>&5
11394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11395 (exit $ac_status); }; }; then
11396 libjava_cv_gethostbyname_r_needs_reentrant
=yes
11398 echo "$as_me: failed program was:" >&5
11399 sed 's/^/| /' conftest.
$ac_ext >&5
11401 libjava_cv_gethostbyname_r_needs_reentrant
=fail
11403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11404 CPPFLAGS
="$CPPFLAGS_SAVE"
11407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11409 ac_cpp
='$CPP $CPPFLAGS'
11410 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11411 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11412 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11416 echo "$as_me:$LINENO: result: $libjava_cv_gethostbyname_r_needs_reentrant" >&5
11417 echo "${ECHO_T}$libjava_cv_gethostbyname_r_needs_reentrant" >&6
11418 if test "x$libjava_cv_gethostbyname_r_needs_reentrant" = xyes
; then
11420 cat >>confdefs.h
<<\_ACEOF
11421 #define _REENTRANT 1
11428 echo "$as_me:$LINENO: checking for struct hostent_data" >&5
11429 echo $ECHO_N "checking for struct hostent_data... $ECHO_C" >&6
11430 if test "${libjava_cv_struct_hostent_data+set}" = set; then
11431 echo $ECHO_N "(cached) $ECHO_C" >&6
11433 cat >conftest.
$ac_ext <<_ACEOF
11436 cat confdefs.h
>>conftest.
$ac_ext
11437 cat >>conftest.
$ac_ext <<_ACEOF
11438 /* end confdefs.h. */
11440 #if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
11441 # define _REENTRANT 1
11447 struct hostent_data data;
11452 rm -f conftest.
$ac_objext
11453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11454 (eval $ac_compile) 2>conftest.er1
11456 grep -v '^ *+' conftest.er1
>conftest.err
11458 cat conftest.err
>&5
11459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11460 (exit $ac_status); } &&
11461 { ac_try
='test -z "$ac_c_werror_flag"
11462 || test ! -s conftest.err'
11463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11464 (eval $ac_try) 2>&5
11466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11467 (exit $ac_status); }; } &&
11468 { ac_try
='test -s conftest.$ac_objext'
11469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11470 (eval $ac_try) 2>&5
11472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11473 (exit $ac_status); }; }; then
11474 libjava_cv_struct_hostent_data
=yes
11476 echo "$as_me: failed program was:" >&5
11477 sed 's/^/| /' conftest.
$ac_ext >&5
11479 libjava_cv_struct_hostent_data
=no
11481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11483 echo "$as_me:$LINENO: result: $libjava_cv_struct_hostent_data" >&5
11484 echo "${ECHO_T}$libjava_cv_struct_hostent_data" >&6
11485 if test "x$libjava_cv_struct_hostent_data" = xyes
; then
11487 cat >>confdefs.h
<<\_ACEOF
11488 #define HAVE_STRUCT_HOSTENT_DATA 1
11497 # FIXME: libjava source code expects to find a prototype for
11498 # gethostbyaddr_r in netdb.h. The outer check ensures that
11499 # HAVE_GETHOSTBYADDR_R will not be defined if the prototype fails
11500 # to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
11501 # linkage check is enough, yet C++ code requires proper prototypes.)
11502 cat >conftest.
$ac_ext <<_ACEOF
11505 cat confdefs.h
>>conftest.
$ac_ext
11506 cat >>conftest.
$ac_ext <<_ACEOF
11507 /* end confdefs.h. */
11511 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11512 $EGREP "gethostbyaddr_r" >/dev
/null
2>&1; then
11515 for ac_func
in gethostbyaddr_r
11517 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11518 echo "$as_me:$LINENO: checking for $ac_func" >&5
11519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11520 if eval "test \"\${$as_ac_var+set}\" = set"; then
11521 echo $ECHO_N "(cached) $ECHO_C" >&6
11523 if test x
$gcc_no_link = xyes
; then
11524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11526 { (exit 1); exit 1; }; }
11528 cat >conftest.
$ac_ext <<_ACEOF
11531 cat confdefs.h
>>conftest.
$ac_ext
11532 cat >>conftest.
$ac_ext <<_ACEOF
11533 /* end confdefs.h. */
11534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11536 #define $ac_func innocuous_$ac_func
11538 /* System header to define __stub macros and hopefully few prototypes,
11539 which can conflict with char $ac_func (); below.
11540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11541 <limits.h> exists even on freestanding compilers. */
11544 # include <limits.h>
11546 # include <assert.h>
11551 /* Override any gcc2 internal prototype to avoid an error. */
11556 /* We use char because int might match the return type of a gcc2
11557 builtin and then its argument prototype would still apply. */
11559 /* The GNU C library defines this for functions which it implements
11560 to always fail with ENOSYS. Some functions are actually named
11561 something starting with __ and the normal name is an alias. */
11562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11565 char (*f) () = $ac_func;
11574 return f != $ac_func;
11579 rm -f conftest.
$ac_objext conftest
$ac_exeext
11580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11581 (eval $ac_link) 2>conftest.er1
11583 grep -v '^ *+' conftest.er1
>conftest.err
11585 cat conftest.err
>&5
11586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11587 (exit $ac_status); } &&
11588 { ac_try
='test -z "$ac_c_werror_flag"
11589 || test ! -s conftest.err'
11590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11591 (eval $ac_try) 2>&5
11593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11594 (exit $ac_status); }; } &&
11595 { ac_try
='test -s conftest$ac_exeext'
11596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11597 (eval $ac_try) 2>&5
11599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11600 (exit $ac_status); }; }; then
11601 eval "$as_ac_var=yes"
11603 echo "$as_me: failed program was:" >&5
11604 sed 's/^/| /' conftest.
$ac_ext >&5
11606 eval "$as_ac_var=no"
11608 rm -f conftest.err conftest.
$ac_objext \
11609 conftest
$ac_exeext conftest.
$ac_ext
11611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11613 if test `eval echo '${'$as_ac_var'}'` = yes; then
11614 cat >>confdefs.h
<<_ACEOF
11615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11619 cat >>confdefs.h
<<\_ACEOF
11620 #define HAVE_GETHOSTBYADDR_R 1
11623 # There are two different kinds of gethostbyaddr_r.
11624 # We look for the one that returns `int'.
11625 # Hopefully this check is robust enough.
11626 cat >conftest.
$ac_ext <<_ACEOF
11629 cat confdefs.h
>>conftest.
$ac_ext
11630 cat >>conftest.
$ac_ext <<_ACEOF
11631 /* end confdefs.h. */
11635 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11636 $EGREP "int.*gethostbyaddr_r" >/dev
/null
2>&1; then
11639 cat >>confdefs.h
<<\_ACEOF
11640 #define GETHOSTBYADDR_R_RETURNS_INT 1
11654 for ac_func
in gethostname
11656 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11657 echo "$as_me:$LINENO: checking for $ac_func" >&5
11658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11659 if eval "test \"\${$as_ac_var+set}\" = set"; then
11660 echo $ECHO_N "(cached) $ECHO_C" >&6
11662 if test x
$gcc_no_link = xyes
; then
11663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11665 { (exit 1); exit 1; }; }
11667 cat >conftest.
$ac_ext <<_ACEOF
11670 cat confdefs.h
>>conftest.
$ac_ext
11671 cat >>conftest.
$ac_ext <<_ACEOF
11672 /* end confdefs.h. */
11673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11675 #define $ac_func innocuous_$ac_func
11677 /* System header to define __stub macros and hopefully few prototypes,
11678 which can conflict with char $ac_func (); below.
11679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11680 <limits.h> exists even on freestanding compilers. */
11683 # include <limits.h>
11685 # include <assert.h>
11690 /* Override any gcc2 internal prototype to avoid an error. */
11695 /* We use char because int might match the return type of a gcc2
11696 builtin and then its argument prototype would still apply. */
11698 /* The GNU C library defines this for functions which it implements
11699 to always fail with ENOSYS. Some functions are actually named
11700 something starting with __ and the normal name is an alias. */
11701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11704 char (*f) () = $ac_func;
11713 return f != $ac_func;
11718 rm -f conftest.
$ac_objext conftest
$ac_exeext
11719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11720 (eval $ac_link) 2>conftest.er1
11722 grep -v '^ *+' conftest.er1
>conftest.err
11724 cat conftest.err
>&5
11725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); } &&
11727 { ac_try
='test -z "$ac_c_werror_flag"
11728 || test ! -s conftest.err'
11729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11730 (eval $ac_try) 2>&5
11732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11733 (exit $ac_status); }; } &&
11734 { ac_try
='test -s conftest$ac_exeext'
11735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11736 (eval $ac_try) 2>&5
11738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11739 (exit $ac_status); }; }; then
11740 eval "$as_ac_var=yes"
11742 echo "$as_me: failed program was:" >&5
11743 sed 's/^/| /' conftest.
$ac_ext >&5
11745 eval "$as_ac_var=no"
11747 rm -f conftest.err conftest.
$ac_objext \
11748 conftest
$ac_exeext conftest.
$ac_ext
11750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11752 if test `eval echo '${'$as_ac_var'}'` = yes; then
11753 cat >>confdefs.h
<<_ACEOF
11754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11758 cat >>confdefs.h
<<\_ACEOF
11759 #define HAVE_GETHOSTNAME 1
11762 cat >conftest.
$ac_ext <<_ACEOF
11765 cat confdefs.h
>>conftest.
$ac_ext
11766 cat >>conftest.
$ac_ext <<_ACEOF
11767 /* end confdefs.h. */
11768 #include <unistd.h>
11771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11772 $EGREP "gethostname" >/dev
/null
2>&1; then
11775 cat >>confdefs.h
<<\_ACEOF
11776 #define HAVE_GETHOSTNAME_DECL 1
11787 for ac_func
in usleep
11789 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11790 echo "$as_me:$LINENO: checking for $ac_func" >&5
11791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11792 if eval "test \"\${$as_ac_var+set}\" = set"; then
11793 echo $ECHO_N "(cached) $ECHO_C" >&6
11795 if test x
$gcc_no_link = xyes
; then
11796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11798 { (exit 1); exit 1; }; }
11800 cat >conftest.
$ac_ext <<_ACEOF
11803 cat confdefs.h
>>conftest.
$ac_ext
11804 cat >>conftest.
$ac_ext <<_ACEOF
11805 /* end confdefs.h. */
11806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11808 #define $ac_func innocuous_$ac_func
11810 /* System header to define __stub macros and hopefully few prototypes,
11811 which can conflict with char $ac_func (); below.
11812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11813 <limits.h> exists even on freestanding compilers. */
11816 # include <limits.h>
11818 # include <assert.h>
11823 /* Override any gcc2 internal prototype to avoid an error. */
11828 /* We use char because int might match the return type of a gcc2
11829 builtin and then its argument prototype would still apply. */
11831 /* The GNU C library defines this for functions which it implements
11832 to always fail with ENOSYS. Some functions are actually named
11833 something starting with __ and the normal name is an alias. */
11834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11837 char (*f) () = $ac_func;
11846 return f != $ac_func;
11851 rm -f conftest.
$ac_objext conftest
$ac_exeext
11852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11853 (eval $ac_link) 2>conftest.er1
11855 grep -v '^ *+' conftest.er1
>conftest.err
11857 cat conftest.err
>&5
11858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11859 (exit $ac_status); } &&
11860 { ac_try
='test -z "$ac_c_werror_flag"
11861 || test ! -s conftest.err'
11862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11863 (eval $ac_try) 2>&5
11865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11866 (exit $ac_status); }; } &&
11867 { ac_try
='test -s conftest$ac_exeext'
11868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11869 (eval $ac_try) 2>&5
11871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11872 (exit $ac_status); }; }; then
11873 eval "$as_ac_var=yes"
11875 echo "$as_me: failed program was:" >&5
11876 sed 's/^/| /' conftest.
$ac_ext >&5
11878 eval "$as_ac_var=no"
11880 rm -f conftest.err conftest.
$ac_objext \
11881 conftest
$ac_exeext conftest.
$ac_ext
11883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11885 if test `eval echo '${'$as_ac_var'}'` = yes; then
11886 cat >>confdefs.h
<<_ACEOF
11887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11890 cat >conftest.
$ac_ext <<_ACEOF
11893 cat confdefs.h
>>conftest.
$ac_ext
11894 cat >>conftest.
$ac_ext <<_ACEOF
11895 /* end confdefs.h. */
11896 #include <unistd.h>
11899 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11900 $EGREP "usleep" >/dev
/null
2>&1; then
11903 cat >>confdefs.h
<<\_ACEOF
11904 #define HAVE_USLEEP_DECL 1
11914 # Look for these functions in the thread library, but only bother
11915 # if using POSIX threads.
11916 if test "$THREADS" = posix
; then
11918 LIBS
="$LIBS $THREADLIBS"
11919 # Some POSIX thread systems don't have pthread_mutexattr_settype.
11923 for ac_func
in pthread_mutexattr_settype pthread_mutexattr_setkind_np
11925 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11926 echo "$as_me:$LINENO: checking for $ac_func" >&5
11927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11928 if eval "test \"\${$as_ac_var+set}\" = set"; then
11929 echo $ECHO_N "(cached) $ECHO_C" >&6
11931 if test x
$gcc_no_link = xyes
; then
11932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11934 { (exit 1); exit 1; }; }
11936 cat >conftest.
$ac_ext <<_ACEOF
11939 cat confdefs.h
>>conftest.
$ac_ext
11940 cat >>conftest.
$ac_ext <<_ACEOF
11941 /* end confdefs.h. */
11942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11944 #define $ac_func innocuous_$ac_func
11946 /* System header to define __stub macros and hopefully few prototypes,
11947 which can conflict with char $ac_func (); below.
11948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11949 <limits.h> exists even on freestanding compilers. */
11952 # include <limits.h>
11954 # include <assert.h>
11959 /* Override any gcc2 internal prototype to avoid an error. */
11964 /* We use char because int might match the return type of a gcc2
11965 builtin and then its argument prototype would still apply. */
11967 /* The GNU C library defines this for functions which it implements
11968 to always fail with ENOSYS. Some functions are actually named
11969 something starting with __ and the normal name is an alias. */
11970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11973 char (*f) () = $ac_func;
11982 return f != $ac_func;
11987 rm -f conftest.
$ac_objext conftest
$ac_exeext
11988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11989 (eval $ac_link) 2>conftest.er1
11991 grep -v '^ *+' conftest.er1
>conftest.err
11993 cat conftest.err
>&5
11994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11995 (exit $ac_status); } &&
11996 { ac_try
='test -z "$ac_c_werror_flag"
11997 || test ! -s conftest.err'
11998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11999 (eval $ac_try) 2>&5
12001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12002 (exit $ac_status); }; } &&
12003 { ac_try
='test -s conftest$ac_exeext'
12004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12005 (eval $ac_try) 2>&5
12007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12008 (exit $ac_status); }; }; then
12009 eval "$as_ac_var=yes"
12011 echo "$as_me: failed program was:" >&5
12012 sed 's/^/| /' conftest.
$ac_ext >&5
12014 eval "$as_ac_var=no"
12016 rm -f conftest.err conftest.
$ac_objext \
12017 conftest
$ac_exeext conftest.
$ac_ext
12019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12021 if test `eval echo '${'$as_ac_var'}'` = yes; then
12022 cat >>confdefs.h
<<_ACEOF
12023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12030 # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since
12031 # Solaris 7 the name librt is preferred.
12033 for ac_func
in sched_yield
12035 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12036 echo "$as_me:$LINENO: checking for $ac_func" >&5
12037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12038 if eval "test \"\${$as_ac_var+set}\" = set"; then
12039 echo $ECHO_N "(cached) $ECHO_C" >&6
12041 if test x
$gcc_no_link = xyes
; then
12042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12044 { (exit 1); exit 1; }; }
12046 cat >conftest.
$ac_ext <<_ACEOF
12049 cat confdefs.h
>>conftest.
$ac_ext
12050 cat >>conftest.
$ac_ext <<_ACEOF
12051 /* end confdefs.h. */
12052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12054 #define $ac_func innocuous_$ac_func
12056 /* System header to define __stub macros and hopefully few prototypes,
12057 which can conflict with char $ac_func (); below.
12058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12059 <limits.h> exists even on freestanding compilers. */
12062 # include <limits.h>
12064 # include <assert.h>
12069 /* Override any gcc2 internal prototype to avoid an error. */
12074 /* We use char because int might match the return type of a gcc2
12075 builtin and then its argument prototype would still apply. */
12077 /* The GNU C library defines this for functions which it implements
12078 to always fail with ENOSYS. Some functions are actually named
12079 something starting with __ and the normal name is an alias. */
12080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12083 char (*f) () = $ac_func;
12092 return f != $ac_func;
12097 rm -f conftest.
$ac_objext conftest
$ac_exeext
12098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12099 (eval $ac_link) 2>conftest.er1
12101 grep -v '^ *+' conftest.er1
>conftest.err
12103 cat conftest.err
>&5
12104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12105 (exit $ac_status); } &&
12106 { ac_try
='test -z "$ac_c_werror_flag"
12107 || test ! -s conftest.err'
12108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12109 (eval $ac_try) 2>&5
12111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12112 (exit $ac_status); }; } &&
12113 { ac_try
='test -s conftest$ac_exeext'
12114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12115 (eval $ac_try) 2>&5
12117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); }; }; then
12119 eval "$as_ac_var=yes"
12121 echo "$as_me: failed program was:" >&5
12122 sed 's/^/| /' conftest.
$ac_ext >&5
12124 eval "$as_ac_var=no"
12126 rm -f conftest.err conftest.
$ac_objext \
12127 conftest
$ac_exeext conftest.
$ac_ext
12129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12131 if test `eval echo '${'$as_ac_var'}'` = yes; then
12132 cat >>confdefs.h
<<_ACEOF
12133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12138 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
12139 echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
12140 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
12141 echo $ECHO_N "(cached) $ECHO_C" >&6
12143 ac_check_lib_save_LIBS
=$LIBS
12145 if test x
$gcc_no_link = xyes
; then
12146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12148 { (exit 1); exit 1; }; }
12150 cat >conftest.
$ac_ext <<_ACEOF
12153 cat confdefs.h
>>conftest.
$ac_ext
12154 cat >>conftest.
$ac_ext <<_ACEOF
12155 /* end confdefs.h. */
12157 /* Override any gcc2 internal prototype to avoid an error. */
12161 /* We use char because int might match the return type of a gcc2
12162 builtin and then its argument prototype would still apply. */
12163 char sched_yield ();
12172 rm -f conftest.
$ac_objext conftest
$ac_exeext
12173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12174 (eval $ac_link) 2>conftest.er1
12176 grep -v '^ *+' conftest.er1
>conftest.err
12178 cat conftest.err
>&5
12179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12180 (exit $ac_status); } &&
12181 { ac_try
='test -z "$ac_c_werror_flag"
12182 || test ! -s conftest.err'
12183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12184 (eval $ac_try) 2>&5
12186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12187 (exit $ac_status); }; } &&
12188 { ac_try
='test -s conftest$ac_exeext'
12189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12190 (eval $ac_try) 2>&5
12192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12193 (exit $ac_status); }; }; then
12194 ac_cv_lib_rt_sched_yield
=yes
12196 echo "$as_me: failed program was:" >&5
12197 sed 's/^/| /' conftest.
$ac_ext >&5
12199 ac_cv_lib_rt_sched_yield
=no
12201 rm -f conftest.err conftest.
$ac_objext \
12202 conftest
$ac_exeext conftest.
$ac_ext
12203 LIBS
=$ac_check_lib_save_LIBS
12205 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
12206 echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
12207 if test $ac_cv_lib_rt_sched_yield = yes; then
12209 cat >>confdefs.h
<<\_ACEOF
12210 #define HAVE_SCHED_YIELD 1
12213 THREADLIBS
="$THREADLIBS -lrt"
12214 THREADSPEC
="$THREADSPEC -lrt"
12217 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
12218 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
12219 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
12220 echo $ECHO_N "(cached) $ECHO_C" >&6
12222 ac_check_lib_save_LIBS
=$LIBS
12223 LIBS
="-lposix4 $LIBS"
12224 if test x
$gcc_no_link = xyes
; then
12225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12227 { (exit 1); exit 1; }; }
12229 cat >conftest.
$ac_ext <<_ACEOF
12232 cat confdefs.h
>>conftest.
$ac_ext
12233 cat >>conftest.
$ac_ext <<_ACEOF
12234 /* end confdefs.h. */
12236 /* Override any gcc2 internal prototype to avoid an error. */
12240 /* We use char because int might match the return type of a gcc2
12241 builtin and then its argument prototype would still apply. */
12242 char sched_yield ();
12251 rm -f conftest.
$ac_objext conftest
$ac_exeext
12252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12253 (eval $ac_link) 2>conftest.er1
12255 grep -v '^ *+' conftest.er1
>conftest.err
12257 cat conftest.err
>&5
12258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12259 (exit $ac_status); } &&
12260 { ac_try
='test -z "$ac_c_werror_flag"
12261 || test ! -s conftest.err'
12262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12263 (eval $ac_try) 2>&5
12265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12266 (exit $ac_status); }; } &&
12267 { ac_try
='test -s conftest$ac_exeext'
12268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12269 (eval $ac_try) 2>&5
12271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272 (exit $ac_status); }; }; then
12273 ac_cv_lib_posix4_sched_yield
=yes
12275 echo "$as_me: failed program was:" >&5
12276 sed 's/^/| /' conftest.
$ac_ext >&5
12278 ac_cv_lib_posix4_sched_yield
=no
12280 rm -f conftest.err conftest.
$ac_objext \
12281 conftest
$ac_exeext conftest.
$ac_ext
12282 LIBS
=$ac_check_lib_save_LIBS
12284 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
12285 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
12286 if test $ac_cv_lib_posix4_sched_yield = yes; then
12288 cat >>confdefs.h
<<\_ACEOF
12289 #define HAVE_SCHED_YIELD 1
12292 THREADLIBS
="$THREADLIBS -lposix4"
12293 THREADSPEC
="$THREADSPEC -lposix4"
12303 # We can save a little space at runtime if the mutex has m_count
12304 # or __m_count. This is a nice hack for Linux.
12305 cat >conftest.
$ac_ext <<_ACEOF
12308 cat confdefs.h
>>conftest.
$ac_ext
12309 cat >>conftest.
$ac_ext <<_ACEOF
12310 /* end confdefs.h. */
12311 #include <pthread.h>
12316 extern pthread_mutex_t *mutex; int q = mutex->m_count;
12322 rm -f conftest.
$ac_objext
12323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12324 (eval $ac_compile) 2>conftest.er1
12326 grep -v '^ *+' conftest.er1
>conftest.err
12328 cat conftest.err
>&5
12329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12330 (exit $ac_status); } &&
12331 { ac_try
='test -z "$ac_c_werror_flag"
12332 || test ! -s conftest.err'
12333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12334 (eval $ac_try) 2>&5
12336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12337 (exit $ac_status); }; } &&
12338 { ac_try
='test -s conftest.$ac_objext'
12339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12340 (eval $ac_try) 2>&5
12342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12343 (exit $ac_status); }; }; then
12345 cat >>confdefs.h
<<\_ACEOF
12346 #define PTHREAD_MUTEX_HAVE_M_COUNT 1
12350 echo "$as_me: failed program was:" >&5
12351 sed 's/^/| /' conftest.
$ac_ext >&5
12354 cat >conftest.
$ac_ext <<_ACEOF
12357 cat confdefs.h
>>conftest.
$ac_ext
12358 cat >>conftest.
$ac_ext <<_ACEOF
12359 /* end confdefs.h. */
12360 #include <pthread.h>
12365 extern pthread_mutex_t *mutex; int q = mutex->__m_count;
12371 rm -f conftest.
$ac_objext
12372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12373 (eval $ac_compile) 2>conftest.er1
12375 grep -v '^ *+' conftest.er1
>conftest.err
12377 cat conftest.err
>&5
12378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12379 (exit $ac_status); } &&
12380 { ac_try
='test -z "$ac_c_werror_flag"
12381 || test ! -s conftest.err'
12382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12383 (eval $ac_try) 2>&5
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); }; } &&
12387 { ac_try
='test -s conftest.$ac_objext'
12388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12389 (eval $ac_try) 2>&5
12391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12392 (exit $ac_status); }; }; then
12394 cat >>confdefs.h
<<\_ACEOF
12395 #define PTHREAD_MUTEX_HAVE___M_COUNT 1
12399 echo "$as_me: failed program was:" >&5
12400 sed 's/^/| /' conftest.
$ac_ext >&5
12403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12408 # We require a way to get the time.
12413 for ac_func
in gettimeofday
time ftime
12415 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12416 echo "$as_me:$LINENO: checking for $ac_func" >&5
12417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12418 if eval "test \"\${$as_ac_var+set}\" = set"; then
12419 echo $ECHO_N "(cached) $ECHO_C" >&6
12421 if test x
$gcc_no_link = xyes
; then
12422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12424 { (exit 1); exit 1; }; }
12426 cat >conftest.
$ac_ext <<_ACEOF
12429 cat confdefs.h
>>conftest.
$ac_ext
12430 cat >>conftest.
$ac_ext <<_ACEOF
12431 /* end confdefs.h. */
12432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12434 #define $ac_func innocuous_$ac_func
12436 /* System header to define __stub macros and hopefully few prototypes,
12437 which can conflict with char $ac_func (); below.
12438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12439 <limits.h> exists even on freestanding compilers. */
12442 # include <limits.h>
12444 # include <assert.h>
12449 /* Override any gcc2 internal prototype to avoid an error. */
12454 /* We use char because int might match the return type of a gcc2
12455 builtin and then its argument prototype would still apply. */
12457 /* The GNU C library defines this for functions which it implements
12458 to always fail with ENOSYS. Some functions are actually named
12459 something starting with __ and the normal name is an alias. */
12460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12463 char (*f) () = $ac_func;
12472 return f != $ac_func;
12477 rm -f conftest.
$ac_objext conftest
$ac_exeext
12478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12479 (eval $ac_link) 2>conftest.er1
12481 grep -v '^ *+' conftest.er1
>conftest.err
12483 cat conftest.err
>&5
12484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12485 (exit $ac_status); } &&
12486 { ac_try
='test -z "$ac_c_werror_flag"
12487 || test ! -s conftest.err'
12488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12489 (eval $ac_try) 2>&5
12491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12492 (exit $ac_status); }; } &&
12493 { ac_try
='test -s conftest$ac_exeext'
12494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12495 (eval $ac_try) 2>&5
12497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12498 (exit $ac_status); }; }; then
12499 eval "$as_ac_var=yes"
12501 echo "$as_me: failed program was:" >&5
12502 sed 's/^/| /' conftest.
$ac_ext >&5
12504 eval "$as_ac_var=no"
12506 rm -f conftest.err conftest.
$ac_objext \
12507 conftest
$ac_exeext conftest.
$ac_ext
12509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12511 if test `eval echo '${'$as_ac_var'}'` = yes; then
12512 cat >>confdefs.h
<<_ACEOF
12513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12519 if test "$time_found" = no
; then
12520 { { echo "$as_me:$LINENO: error: no function found to get the time" >&5
12521 echo "$as_me: error: no function found to get the time" >&2;}
12522 { (exit 1); exit 1; }; }
12526 for ac_func
in memmove
12528 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12529 echo "$as_me:$LINENO: checking for $ac_func" >&5
12530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12531 if eval "test \"\${$as_ac_var+set}\" = set"; then
12532 echo $ECHO_N "(cached) $ECHO_C" >&6
12534 if test x
$gcc_no_link = xyes
; then
12535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12537 { (exit 1); exit 1; }; }
12539 cat >conftest.
$ac_ext <<_ACEOF
12542 cat confdefs.h
>>conftest.
$ac_ext
12543 cat >>conftest.
$ac_ext <<_ACEOF
12544 /* end confdefs.h. */
12545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12547 #define $ac_func innocuous_$ac_func
12549 /* System header to define __stub macros and hopefully few prototypes,
12550 which can conflict with char $ac_func (); below.
12551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12552 <limits.h> exists even on freestanding compilers. */
12555 # include <limits.h>
12557 # include <assert.h>
12562 /* Override any gcc2 internal prototype to avoid an error. */
12567 /* We use char because int might match the return type of a gcc2
12568 builtin and then its argument prototype would still apply. */
12570 /* The GNU C library defines this for functions which it implements
12571 to always fail with ENOSYS. Some functions are actually named
12572 something starting with __ and the normal name is an alias. */
12573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12576 char (*f) () = $ac_func;
12585 return f != $ac_func;
12590 rm -f conftest.
$ac_objext conftest
$ac_exeext
12591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12592 (eval $ac_link) 2>conftest.er1
12594 grep -v '^ *+' conftest.er1
>conftest.err
12596 cat conftest.err
>&5
12597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598 (exit $ac_status); } &&
12599 { ac_try
='test -z "$ac_c_werror_flag"
12600 || test ! -s conftest.err'
12601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12602 (eval $ac_try) 2>&5
12604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12605 (exit $ac_status); }; } &&
12606 { ac_try
='test -s conftest$ac_exeext'
12607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12608 (eval $ac_try) 2>&5
12610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12611 (exit $ac_status); }; }; then
12612 eval "$as_ac_var=yes"
12614 echo "$as_me: failed program was:" >&5
12615 sed 's/^/| /' conftest.
$ac_ext >&5
12617 eval "$as_ac_var=no"
12619 rm -f conftest.err conftest.
$ac_objext \
12620 conftest
$ac_exeext conftest.
$ac_ext
12622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12624 if test `eval echo '${'$as_ac_var'}'` = yes; then
12625 cat >>confdefs.h
<<_ACEOF
12626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12633 # We require memcpy.
12636 for ac_func
in memcpy
12638 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12639 echo "$as_me:$LINENO: checking for $ac_func" >&5
12640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12641 if eval "test \"\${$as_ac_var+set}\" = set"; then
12642 echo $ECHO_N "(cached) $ECHO_C" >&6
12644 if test x
$gcc_no_link = xyes
; then
12645 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12647 { (exit 1); exit 1; }; }
12649 cat >conftest.
$ac_ext <<_ACEOF
12652 cat confdefs.h
>>conftest.
$ac_ext
12653 cat >>conftest.
$ac_ext <<_ACEOF
12654 /* end confdefs.h. */
12655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12657 #define $ac_func innocuous_$ac_func
12659 /* System header to define __stub macros and hopefully few prototypes,
12660 which can conflict with char $ac_func (); below.
12661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12662 <limits.h> exists even on freestanding compilers. */
12665 # include <limits.h>
12667 # include <assert.h>
12672 /* Override any gcc2 internal prototype to avoid an error. */
12677 /* We use char because int might match the return type of a gcc2
12678 builtin and then its argument prototype would still apply. */
12680 /* The GNU C library defines this for functions which it implements
12681 to always fail with ENOSYS. Some functions are actually named
12682 something starting with __ and the normal name is an alias. */
12683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12686 char (*f) () = $ac_func;
12695 return f != $ac_func;
12700 rm -f conftest.
$ac_objext conftest
$ac_exeext
12701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12702 (eval $ac_link) 2>conftest.er1
12704 grep -v '^ *+' conftest.er1
>conftest.err
12706 cat conftest.err
>&5
12707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12708 (exit $ac_status); } &&
12709 { ac_try
='test -z "$ac_c_werror_flag"
12710 || test ! -s conftest.err'
12711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12712 (eval $ac_try) 2>&5
12714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12715 (exit $ac_status); }; } &&
12716 { ac_try
='test -s conftest$ac_exeext'
12717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12718 (eval $ac_try) 2>&5
12720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12721 (exit $ac_status); }; }; then
12722 eval "$as_ac_var=yes"
12724 echo "$as_me: failed program was:" >&5
12725 sed 's/^/| /' conftest.
$ac_ext >&5
12727 eval "$as_ac_var=no"
12729 rm -f conftest.err conftest.
$ac_objext \
12730 conftest
$ac_exeext conftest.
$ac_ext
12732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12734 if test `eval echo '${'$as_ac_var'}'` = yes; then
12735 cat >>confdefs.h
<<_ACEOF
12736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12742 if test "$memcpy_found" = no
; then
12743 { { echo "$as_me:$LINENO: error: memcpy is required" >&5
12744 echo "$as_me: error: memcpy is required" >&2;}
12745 { (exit 1); exit 1; }; }
12748 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12749 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12750 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12751 echo $ECHO_N "(cached) $ECHO_C" >&6
12753 ac_check_lib_save_LIBS
=$LIBS
12755 if test x
$gcc_no_link = xyes
; then
12756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12758 { (exit 1); exit 1; }; }
12760 cat >conftest.
$ac_ext <<_ACEOF
12763 cat confdefs.h
>>conftest.
$ac_ext
12764 cat >>conftest.
$ac_ext <<_ACEOF
12765 /* end confdefs.h. */
12767 /* Override any gcc2 internal prototype to avoid an error. */
12771 /* We use char because int might match the return type of a gcc2
12772 builtin and then its argument prototype would still apply. */
12782 rm -f conftest.
$ac_objext conftest
$ac_exeext
12783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12784 (eval $ac_link) 2>conftest.er1
12786 grep -v '^ *+' conftest.er1
>conftest.err
12788 cat conftest.err
>&5
12789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12790 (exit $ac_status); } &&
12791 { ac_try
='test -z "$ac_c_werror_flag"
12792 || test ! -s conftest.err'
12793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12794 (eval $ac_try) 2>&5
12796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12797 (exit $ac_status); }; } &&
12798 { ac_try
='test -s conftest$ac_exeext'
12799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12800 (eval $ac_try) 2>&5
12802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12803 (exit $ac_status); }; }; then
12804 ac_cv_lib_dl_dlopen
=yes
12806 echo "$as_me: failed program was:" >&5
12807 sed 's/^/| /' conftest.
$ac_ext >&5
12809 ac_cv_lib_dl_dlopen
=no
12811 rm -f conftest.err conftest.
$ac_objext \
12812 conftest
$ac_exeext conftest.
$ac_ext
12813 LIBS
=$ac_check_lib_save_LIBS
12815 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12816 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12817 if test $ac_cv_lib_dl_dlopen = yes; then
12820 cat >>confdefs.h
<<\_ACEOF
12821 #define HAVE_DLOPEN 1
12827 # Some library-finding code we stole from Tcl.
12828 #--------------------------------------------------------------------
12829 # Check for the existence of the -lsocket and -lnsl libraries.
12830 # The order here is important, so that they end up in the right
12831 # order in the command line generated by make. Here are some
12832 # special considerations:
12833 # 1. Use "connect" and "accept" to check for -lsocket, and
12834 # "gethostbyname" to check for -lnsl.
12835 # 2. Use each function name only once: can't redo a check because
12836 # autoconf caches the results of the last check and won't redo it.
12837 # 3. Use -lnsl and -lsocket only if they supply procedures that
12838 # aren't already present in the normal libraries. This is because
12839 # IRIX 5.2 has libraries, but they aren't needed and they're
12840 # bogus: they goof up name resolution if used.
12841 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
12842 # To get around this problem, check for both libraries together
12843 # if -lsocket doesn't work by itself.
12844 #--------------------------------------------------------------------
12846 echo "$as_me:$LINENO: checking for socket libraries" >&5
12847 echo $ECHO_N "checking for socket libraries... $ECHO_C" >&6
12848 if test "${gcj_cv_lib_sockets+set}" = set; then
12849 echo $ECHO_N "(cached) $ECHO_C" >&6
12851 gcj_cv_lib_sockets
=
12853 unset ac_cv_func_connect
12854 echo "$as_me:$LINENO: checking for connect" >&5
12855 echo $ECHO_N "checking for connect... $ECHO_C" >&6
12856 if test "${ac_cv_func_connect+set}" = set; then
12857 echo $ECHO_N "(cached) $ECHO_C" >&6
12859 if test x
$gcc_no_link = xyes
; then
12860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12862 { (exit 1); exit 1; }; }
12864 cat >conftest.
$ac_ext <<_ACEOF
12867 cat confdefs.h
>>conftest.
$ac_ext
12868 cat >>conftest.
$ac_ext <<_ACEOF
12869 /* end confdefs.h. */
12870 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
12871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12872 #define connect innocuous_connect
12874 /* System header to define __stub macros and hopefully few prototypes,
12875 which can conflict with char connect (); below.
12876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12877 <limits.h> exists even on freestanding compilers. */
12880 # include <limits.h>
12882 # include <assert.h>
12887 /* Override any gcc2 internal prototype to avoid an error. */
12892 /* We use char because int might match the return type of a gcc2
12893 builtin and then its argument prototype would still apply. */
12895 /* The GNU C library defines this for functions which it implements
12896 to always fail with ENOSYS. Some functions are actually named
12897 something starting with __ and the normal name is an alias. */
12898 #if defined (__stub_connect) || defined (__stub___connect)
12901 char (*f) () = connect;
12910 return f != connect;
12915 rm -f conftest.
$ac_objext conftest
$ac_exeext
12916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12917 (eval $ac_link) 2>conftest.er1
12919 grep -v '^ *+' conftest.er1
>conftest.err
12921 cat conftest.err
>&5
12922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12923 (exit $ac_status); } &&
12924 { ac_try
='test -z "$ac_c_werror_flag"
12925 || test ! -s conftest.err'
12926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12927 (eval $ac_try) 2>&5
12929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12930 (exit $ac_status); }; } &&
12931 { ac_try
='test -s conftest$ac_exeext'
12932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12933 (eval $ac_try) 2>&5
12935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12936 (exit $ac_status); }; }; then
12937 ac_cv_func_connect
=yes
12939 echo "$as_me: failed program was:" >&5
12940 sed 's/^/| /' conftest.
$ac_ext >&5
12942 ac_cv_func_connect
=no
12944 rm -f conftest.err conftest.
$ac_objext \
12945 conftest
$ac_exeext conftest.
$ac_ext
12947 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
12948 echo "${ECHO_T}$ac_cv_func_connect" >&6
12949 if test $ac_cv_func_connect = yes; then
12955 if test "$gcj_checkSocket" = 1; then
12956 unset ac_cv_func_connect
12957 echo "$as_me:$LINENO: checking for main in -lsocket" >&5
12958 echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
12959 if test "${ac_cv_lib_socket_main+set}" = set; then
12960 echo $ECHO_N "(cached) $ECHO_C" >&6
12962 ac_check_lib_save_LIBS
=$LIBS
12963 LIBS
="-lsocket $LIBS"
12964 if test x
$gcc_no_link = xyes
; then
12965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12967 { (exit 1); exit 1; }; }
12969 cat >conftest.
$ac_ext <<_ACEOF
12972 cat confdefs.h
>>conftest.
$ac_ext
12973 cat >>conftest.
$ac_ext <<_ACEOF
12974 /* end confdefs.h. */
12985 rm -f conftest.
$ac_objext conftest
$ac_exeext
12986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12987 (eval $ac_link) 2>conftest.er1
12989 grep -v '^ *+' conftest.er1
>conftest.err
12991 cat conftest.err
>&5
12992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993 (exit $ac_status); } &&
12994 { ac_try
='test -z "$ac_c_werror_flag"
12995 || test ! -s conftest.err'
12996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12997 (eval $ac_try) 2>&5
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); }; } &&
13001 { ac_try
='test -s conftest$ac_exeext'
13002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13003 (eval $ac_try) 2>&5
13005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13006 (exit $ac_status); }; }; then
13007 ac_cv_lib_socket_main
=yes
13009 echo "$as_me: failed program was:" >&5
13010 sed 's/^/| /' conftest.
$ac_ext >&5
13012 ac_cv_lib_socket_main
=no
13014 rm -f conftest.err conftest.
$ac_objext \
13015 conftest
$ac_exeext conftest.
$ac_ext
13016 LIBS
=$ac_check_lib_save_LIBS
13018 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
13019 echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
13020 if test $ac_cv_lib_socket_main = yes; then
13021 gcj_cv_lib_sockets
="-lsocket"
13027 if test "$gcj_checkBoth" = 1; then
13029 LIBS
="$LIBS -lsocket -lnsl"
13030 unset ac_cv_func_accept
13031 echo "$as_me:$LINENO: checking for accept" >&5
13032 echo $ECHO_N "checking for accept... $ECHO_C" >&6
13033 if test "${ac_cv_func_accept+set}" = set; then
13034 echo $ECHO_N "(cached) $ECHO_C" >&6
13036 if test x
$gcc_no_link = xyes
; then
13037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13039 { (exit 1); exit 1; }; }
13041 cat >conftest.
$ac_ext <<_ACEOF
13044 cat confdefs.h
>>conftest.
$ac_ext
13045 cat >>conftest.
$ac_ext <<_ACEOF
13046 /* end confdefs.h. */
13047 /* Define accept to an innocuous variant, in case <limits.h> declares accept.
13048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13049 #define accept innocuous_accept
13051 /* System header to define __stub macros and hopefully few prototypes,
13052 which can conflict with char accept (); below.
13053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13054 <limits.h> exists even on freestanding compilers. */
13057 # include <limits.h>
13059 # include <assert.h>
13064 /* Override any gcc2 internal prototype to avoid an error. */
13069 /* We use char because int might match the return type of a gcc2
13070 builtin and then its argument prototype would still apply. */
13072 /* The GNU C library defines this for functions which it implements
13073 to always fail with ENOSYS. Some functions are actually named
13074 something starting with __ and the normal name is an alias. */
13075 #if defined (__stub_accept) || defined (__stub___accept)
13078 char (*f) () = accept;
13087 return f != accept;
13092 rm -f conftest.
$ac_objext conftest
$ac_exeext
13093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13094 (eval $ac_link) 2>conftest.er1
13096 grep -v '^ *+' conftest.er1
>conftest.err
13098 cat conftest.err
>&5
13099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13100 (exit $ac_status); } &&
13101 { ac_try
='test -z "$ac_c_werror_flag"
13102 || test ! -s conftest.err'
13103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13104 (eval $ac_try) 2>&5
13106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13107 (exit $ac_status); }; } &&
13108 { ac_try
='test -s conftest$ac_exeext'
13109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13110 (eval $ac_try) 2>&5
13112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13113 (exit $ac_status); }; }; then
13114 ac_cv_func_accept
=yes
13116 echo "$as_me: failed program was:" >&5
13117 sed 's/^/| /' conftest.
$ac_ext >&5
13119 ac_cv_func_accept
=no
13121 rm -f conftest.err conftest.
$ac_objext \
13122 conftest
$ac_exeext conftest.
$ac_ext
13124 echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5
13125 echo "${ECHO_T}$ac_cv_func_accept" >&6
13126 if test $ac_cv_func_accept = yes; then
13128 gcj_cv_lib_sockets
="-lsocket -lnsl"
13131 unset ac_cv_func_accept
13134 unset ac_cv_func_gethostbyname
13136 LIBS
="$LIBS $gcj_cv_lib_sockets"
13137 echo "$as_me:$LINENO: checking for gethostbyname" >&5
13138 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
13139 if test "${ac_cv_func_gethostbyname+set}" = set; then
13140 echo $ECHO_N "(cached) $ECHO_C" >&6
13142 if test x
$gcc_no_link = xyes
; then
13143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13145 { (exit 1); exit 1; }; }
13147 cat >conftest.
$ac_ext <<_ACEOF
13150 cat confdefs.h
>>conftest.
$ac_ext
13151 cat >>conftest.
$ac_ext <<_ACEOF
13152 /* end confdefs.h. */
13153 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
13154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13155 #define gethostbyname innocuous_gethostbyname
13157 /* System header to define __stub macros and hopefully few prototypes,
13158 which can conflict with char gethostbyname (); below.
13159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13160 <limits.h> exists even on freestanding compilers. */
13163 # include <limits.h>
13165 # include <assert.h>
13168 #undef gethostbyname
13170 /* Override any gcc2 internal prototype to avoid an error. */
13175 /* We use char because int might match the return type of a gcc2
13176 builtin and then its argument prototype would still apply. */
13177 char gethostbyname ();
13178 /* The GNU C library defines this for functions which it implements
13179 to always fail with ENOSYS. Some functions are actually named
13180 something starting with __ and the normal name is an alias. */
13181 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13184 char (*f) () = gethostbyname;
13193 return f != gethostbyname;
13198 rm -f conftest.
$ac_objext conftest
$ac_exeext
13199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13200 (eval $ac_link) 2>conftest.er1
13202 grep -v '^ *+' conftest.er1
>conftest.err
13204 cat conftest.err
>&5
13205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13206 (exit $ac_status); } &&
13207 { ac_try
='test -z "$ac_c_werror_flag"
13208 || test ! -s conftest.err'
13209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13210 (eval $ac_try) 2>&5
13212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13213 (exit $ac_status); }; } &&
13214 { ac_try
='test -s conftest$ac_exeext'
13215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13216 (eval $ac_try) 2>&5
13218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13219 (exit $ac_status); }; }; then
13220 ac_cv_func_gethostbyname
=yes
13222 echo "$as_me: failed program was:" >&5
13223 sed 's/^/| /' conftest.
$ac_ext >&5
13225 ac_cv_func_gethostbyname
=no
13227 rm -f conftest.err conftest.
$ac_objext \
13228 conftest
$ac_exeext conftest.
$ac_ext
13230 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
13231 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
13232 if test $ac_cv_func_gethostbyname = yes; then
13235 echo "$as_me:$LINENO: checking for main in -lnsl" >&5
13236 echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
13237 if test "${ac_cv_lib_nsl_main+set}" = set; then
13238 echo $ECHO_N "(cached) $ECHO_C" >&6
13240 ac_check_lib_save_LIBS
=$LIBS
13242 if test x
$gcc_no_link = xyes
; then
13243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13245 { (exit 1); exit 1; }; }
13247 cat >conftest.
$ac_ext <<_ACEOF
13250 cat confdefs.h
>>conftest.
$ac_ext
13251 cat >>conftest.
$ac_ext <<_ACEOF
13252 /* end confdefs.h. */
13263 rm -f conftest.
$ac_objext conftest
$ac_exeext
13264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13265 (eval $ac_link) 2>conftest.er1
13267 grep -v '^ *+' conftest.er1
>conftest.err
13269 cat conftest.err
>&5
13270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13271 (exit $ac_status); } &&
13272 { ac_try
='test -z "$ac_c_werror_flag"
13273 || test ! -s conftest.err'
13274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13275 (eval $ac_try) 2>&5
13277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13278 (exit $ac_status); }; } &&
13279 { ac_try
='test -s conftest$ac_exeext'
13280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13281 (eval $ac_try) 2>&5
13283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13284 (exit $ac_status); }; }; then
13285 ac_cv_lib_nsl_main
=yes
13287 echo "$as_me: failed program was:" >&5
13288 sed 's/^/| /' conftest.
$ac_ext >&5
13290 ac_cv_lib_nsl_main
=no
13292 rm -f conftest.err conftest.
$ac_objext \
13293 conftest
$ac_exeext conftest.
$ac_ext
13294 LIBS
=$ac_check_lib_save_LIBS
13296 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
13297 echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
13298 if test $ac_cv_lib_nsl_main = yes; then
13299 gcj_cv_lib_sockets
="$gcj_cv_lib_sockets -lnsl"
13304 unset ac_cv_func_gethostbyname
13308 echo "$as_me:$LINENO: result: $gcj_cv_lib_sockets" >&5
13309 echo "${ECHO_T}$gcj_cv_lib_sockets" >&6
13310 SYSTEMSPEC
="$SYSTEMSPEC $gcj_cv_lib_sockets"
13312 if test "$with_system_zlib" = yes; then
13313 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
13314 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
13315 if test "${ac_cv_lib_z_deflate+set}" = set; then
13316 echo $ECHO_N "(cached) $ECHO_C" >&6
13318 ac_check_lib_save_LIBS
=$LIBS
13320 if test x
$gcc_no_link = xyes
; then
13321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13323 { (exit 1); exit 1; }; }
13325 cat >conftest.
$ac_ext <<_ACEOF
13328 cat confdefs.h
>>conftest.
$ac_ext
13329 cat >>conftest.
$ac_ext <<_ACEOF
13330 /* end confdefs.h. */
13332 /* Override any gcc2 internal prototype to avoid an error. */
13336 /* We use char because int might match the return type of a gcc2
13337 builtin and then its argument prototype would still apply. */
13347 rm -f conftest.
$ac_objext conftest
$ac_exeext
13348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13349 (eval $ac_link) 2>conftest.er1
13351 grep -v '^ *+' conftest.er1
>conftest.err
13353 cat conftest.err
>&5
13354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13355 (exit $ac_status); } &&
13356 { ac_try
='test -z "$ac_c_werror_flag"
13357 || test ! -s conftest.err'
13358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13359 (eval $ac_try) 2>&5
13361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13362 (exit $ac_status); }; } &&
13363 { ac_try
='test -s conftest$ac_exeext'
13364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13365 (eval $ac_try) 2>&5
13367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13368 (exit $ac_status); }; }; then
13369 ac_cv_lib_z_deflate
=yes
13371 echo "$as_me: failed program was:" >&5
13372 sed 's/^/| /' conftest.
$ac_ext >&5
13374 ac_cv_lib_z_deflate
=no
13376 rm -f conftest.err conftest.
$ac_objext \
13377 conftest
$ac_exeext conftest.
$ac_ext
13378 LIBS
=$ac_check_lib_save_LIBS
13380 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
13381 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
13382 if test $ac_cv_lib_z_deflate = yes; then
13390 # Test for Gtk stuff, if asked for.
13391 if test "$use_gtk_awt" = yes; then
13395 if test -z "$PKG_CONFIG"; then
13396 # Extract the first word of "pkg-config", so it can be a program name with args.
13397 set dummy pkg-config
; ac_word
=$2
13398 echo "$as_me:$LINENO: checking for $ac_word" >&5
13399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13400 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13401 echo $ECHO_N "(cached) $ECHO_C" >&6
13403 case $PKG_CONFIG in
13405 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13409 for as_dir
in $PATH
13412 test -z "$as_dir" && as_dir
=.
13413 for ac_exec_ext
in '' $ac_executable_extensions; do
13414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13415 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13422 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13426 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13428 if test -n "$PKG_CONFIG"; then
13429 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13430 echo "${ECHO_T}$PKG_CONFIG" >&6
13432 echo "$as_me:$LINENO: result: no" >&5
13433 echo "${ECHO_T}no" >&6
13438 if test "$PKG_CONFIG" = "no" ; then
13439 echo "*** The pkg-config script could not be found. Make sure it is"
13440 echo "*** in your path, or set the PKG_CONFIG environment variable"
13441 echo "*** to the full path to pkg-config."
13442 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13444 PKG_CONFIG_MIN_VERSION
=0.9.0
13445 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13446 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4" >&5
13447 echo $ECHO_N "checking for gtk+-2.0 >= 2.4... $ECHO_C" >&6
13449 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4" ; then
13450 echo "$as_me:$LINENO: result: yes" >&5
13451 echo "${ECHO_T}yes" >&6
13454 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
13455 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
13456 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4"`
13457 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
13458 echo "${ECHO_T}$GTK_CFLAGS" >&6
13460 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
13461 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
13462 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4"`
13463 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
13464 echo "${ECHO_T}$GTK_LIBS" >&6
13468 ## If we have a custom action on failure, don't print errors, but
13469 ## do set a variable so people can do so.
13470 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4"`
13471 echo $GTK_PKG_ERRORS
13477 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13478 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13482 if test $succeeded = yes; then
13485 { { 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
13486 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;}
13487 { (exit 1); exit 1; }; }
13496 if test -z "$PKG_CONFIG"; then
13497 # Extract the first word of "pkg-config", so it can be a program name with args.
13498 set dummy pkg-config
; ac_word
=$2
13499 echo "$as_me:$LINENO: checking for $ac_word" >&5
13500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13501 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13502 echo $ECHO_N "(cached) $ECHO_C" >&6
13504 case $PKG_CONFIG in
13506 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13510 for as_dir
in $PATH
13513 test -z "$as_dir" && as_dir
=.
13514 for ac_exec_ext
in '' $ac_executable_extensions; do
13515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13516 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13523 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13527 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13529 if test -n "$PKG_CONFIG"; then
13530 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13531 echo "${ECHO_T}$PKG_CONFIG" >&6
13533 echo "$as_me:$LINENO: result: no" >&5
13534 echo "${ECHO_T}no" >&6
13539 if test "$PKG_CONFIG" = "no" ; then
13540 echo "*** The pkg-config script could not be found. Make sure it is"
13541 echo "*** in your path, or set the PKG_CONFIG environment variable"
13542 echo "*** to the full path to pkg-config."
13543 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13545 PKG_CONFIG_MIN_VERSION
=0.9.0
13546 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13547 echo "$as_me:$LINENO: checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4" >&5
13548 echo $ECHO_N "checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... $ECHO_C" >&6
13550 if $PKG_CONFIG --exists "glib-2.0 >= 2.4 gthread-2.0 >= 2.4" ; then
13551 echo "$as_me:$LINENO: result: yes" >&5
13552 echo "${ECHO_T}yes" >&6
13555 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
13556 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
13557 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
13558 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
13559 echo "${ECHO_T}$GLIB_CFLAGS" >&6
13561 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
13562 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
13563 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
13564 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
13565 echo "${ECHO_T}$GLIB_LIBS" >&6
13569 ## If we have a custom action on failure, don't print errors, but
13570 ## do set a variable so people can do so.
13571 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
13572 echo $GLIB_PKG_ERRORS
13578 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13579 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13583 if test $succeeded = yes; then
13586 { { 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
13587 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;}
13588 { (exit 1); exit 1; }; }
13597 if test -z "$PKG_CONFIG"; then
13598 # Extract the first word of "pkg-config", so it can be a program name with args.
13599 set dummy pkg-config
; ac_word
=$2
13600 echo "$as_me:$LINENO: checking for $ac_word" >&5
13601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13602 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13603 echo $ECHO_N "(cached) $ECHO_C" >&6
13605 case $PKG_CONFIG in
13607 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13611 for as_dir
in $PATH
13614 test -z "$as_dir" && as_dir
=.
13615 for ac_exec_ext
in '' $ac_executable_extensions; do
13616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13617 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13624 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13628 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13630 if test -n "$PKG_CONFIG"; then
13631 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13632 echo "${ECHO_T}$PKG_CONFIG" >&6
13634 echo "$as_me:$LINENO: result: no" >&5
13635 echo "${ECHO_T}no" >&6
13640 if test "$PKG_CONFIG" = "no" ; then
13641 echo "*** The pkg-config script could not be found. Make sure it is"
13642 echo "*** in your path, or set the PKG_CONFIG environment variable"
13643 echo "*** to the full path to pkg-config."
13644 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13646 PKG_CONFIG_MIN_VERSION
=0.9.0
13647 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13648 echo "$as_me:$LINENO: checking for libart-2.0 >= 2.1" >&5
13649 echo $ECHO_N "checking for libart-2.0 >= 2.1... $ECHO_C" >&6
13651 if $PKG_CONFIG --exists "libart-2.0 >= 2.1" ; then
13652 echo "$as_me:$LINENO: result: yes" >&5
13653 echo "${ECHO_T}yes" >&6
13656 echo "$as_me:$LINENO: checking LIBART_CFLAGS" >&5
13657 echo $ECHO_N "checking LIBART_CFLAGS... $ECHO_C" >&6
13658 LIBART_CFLAGS
=`$PKG_CONFIG --cflags "libart-2.0 >= 2.1"`
13659 echo "$as_me:$LINENO: result: $LIBART_CFLAGS" >&5
13660 echo "${ECHO_T}$LIBART_CFLAGS" >&6
13662 echo "$as_me:$LINENO: checking LIBART_LIBS" >&5
13663 echo $ECHO_N "checking LIBART_LIBS... $ECHO_C" >&6
13664 LIBART_LIBS
=`$PKG_CONFIG --libs "libart-2.0 >= 2.1"`
13665 echo "$as_me:$LINENO: result: $LIBART_LIBS" >&5
13666 echo "${ECHO_T}$LIBART_LIBS" >&6
13670 ## If we have a custom action on failure, don't print errors, but
13671 ## do set a variable so people can do so.
13672 LIBART_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libart-2.0 >= 2.1"`
13673 echo $LIBART_PKG_ERRORS
13679 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13680 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13684 if test $succeeded = yes; then
13687 { { 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
13688 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;}
13689 { (exit 1); exit 1; }; }
13695 # We require the XTest Extension to support java.awt.Robot.
13696 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
13697 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
13698 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
13699 echo $ECHO_N "(cached) $ECHO_C" >&6
13701 ac_check_lib_save_LIBS
=$LIBS
13702 LIBS
="-lXtst ${X_LIBS} $LIBS"
13703 if test x
$gcc_no_link = xyes
; then
13704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13706 { (exit 1); exit 1; }; }
13708 cat >conftest.
$ac_ext <<_ACEOF
13711 cat confdefs.h
>>conftest.
$ac_ext
13712 cat >>conftest.
$ac_ext <<_ACEOF
13713 /* end confdefs.h. */
13715 /* Override any gcc2 internal prototype to avoid an error. */
13719 /* We use char because int might match the return type of a gcc2
13720 builtin and then its argument prototype would still apply. */
13721 char XTestQueryExtension ();
13725 XTestQueryExtension ();
13730 rm -f conftest.
$ac_objext conftest
$ac_exeext
13731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13732 (eval $ac_link) 2>conftest.er1
13734 grep -v '^ *+' conftest.er1
>conftest.err
13736 cat conftest.err
>&5
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738 (exit $ac_status); } &&
13739 { ac_try
='test -z "$ac_c_werror_flag"
13740 || test ! -s conftest.err'
13741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13742 (eval $ac_try) 2>&5
13744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13745 (exit $ac_status); }; } &&
13746 { ac_try
='test -s conftest$ac_exeext'
13747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13748 (eval $ac_try) 2>&5
13750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13751 (exit $ac_status); }; }; then
13752 ac_cv_lib_Xtst_XTestQueryExtension
=yes
13754 echo "$as_me: failed program was:" >&5
13755 sed 's/^/| /' conftest.
$ac_ext >&5
13757 ac_cv_lib_Xtst_XTestQueryExtension
=no
13759 rm -f conftest.err conftest.
$ac_objext \
13760 conftest
$ac_exeext conftest.
$ac_ext
13761 LIBS
=$ac_check_lib_save_LIBS
13763 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
13764 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
13765 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
13768 { { echo "$as_me:$LINENO: error: libXtst not found, required by java.awt.Robot" >&5
13769 echo "$as_me: error: libXtst not found, required by java.awt.Robot" >&2;}
13770 { (exit 1); exit 1; }; }
13775 # On Solaris, and maybe other architectures, the Boehm collector
13777 if test "$GC" = boehm
; then
13778 echo "$as_me:$LINENO: checking for main in -ldl" >&5
13779 echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6
13780 if test "${ac_cv_lib_dl_main+set}" = set; then
13781 echo $ECHO_N "(cached) $ECHO_C" >&6
13783 ac_check_lib_save_LIBS
=$LIBS
13785 if test x
$gcc_no_link = xyes
; then
13786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13788 { (exit 1); exit 1; }; }
13790 cat >conftest.
$ac_ext <<_ACEOF
13793 cat confdefs.h
>>conftest.
$ac_ext
13794 cat >>conftest.
$ac_ext <<_ACEOF
13795 /* end confdefs.h. */
13806 rm -f conftest.
$ac_objext conftest
$ac_exeext
13807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13808 (eval $ac_link) 2>conftest.er1
13810 grep -v '^ *+' conftest.er1
>conftest.err
13812 cat conftest.err
>&5
13813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13814 (exit $ac_status); } &&
13815 { ac_try
='test -z "$ac_c_werror_flag"
13816 || test ! -s conftest.err'
13817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13818 (eval $ac_try) 2>&5
13820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13821 (exit $ac_status); }; } &&
13822 { ac_try
='test -s conftest$ac_exeext'
13823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13824 (eval $ac_try) 2>&5
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); }; }; then
13828 ac_cv_lib_dl_main
=yes
13830 echo "$as_me: failed program was:" >&5
13831 sed 's/^/| /' conftest.
$ac_ext >&5
13833 ac_cv_lib_dl_main
=no
13835 rm -f conftest.err conftest.
$ac_objext \
13836 conftest
$ac_exeext conftest.
$ac_ext
13837 LIBS
=$ac_check_lib_save_LIBS
13839 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5
13840 echo "${ECHO_T}$ac_cv_lib_dl_main" >&6
13841 if test $ac_cv_lib_dl_main = yes; then
13842 SYSTEMSPEC
="$SYSTEMSPEC -ldl"
13848 # Use a semicolon as CLASSPATH separator for MinGW, otherwise a colon.
13850 *-mingw32) CLASSPATH_SEPARATOR
=';' ;;
13851 *) CLASSPATH_SEPARATOR
=':' ;;
13855 # We must search the source tree for java.lang, since we still don't
13856 # have libgcj.jar nor java/lang/*.class
13857 GCJ_SAVE_CPPFLAGS
=$CPPFLAGS
13858 CPPFLAGS
="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`"
13860 # Since some classes depend on this one, we need its source available
13861 # before we can do any GCJ compilation test :-(
13862 if test ! -f gnu
/classpath
/Configuration.java
; then
13863 test -d gnu || mkdir gnu
13864 test -d gnu
/classpath || mkdir gnu
/classpath
13865 # Note that it is not crucial that all the values here be correct.
13866 sed -e "s,@prefix@,$prefix," \
13867 -e "s,@VERSION@,$VERSION," \
13868 -e "s,@LIBDEBUG@,false," \
13869 -e "s,@INIT_LOAD_LIBRARY@,false," \
13870 -e "s,@@,$LIBGCJDEBUG," \
13871 -e "s,@default_toolkit@,$TOOLKIT," \
13872 -e "s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,false," \
13873 -e "s,@GTK_CAIRO_ENABLED@,false," \
13874 < $srcdir/classpath
/gnu
/classpath
/Configuration.java.
in \
13875 > gnu
/classpath
/Configuration.java
13876 # We do not want to redirect the output of the grep below to /dev/null,
13877 # but we add /dev/null to the input list so that grep will print the
13878 # filename of Configuration.java in case it finds any matches.
13879 if grep '@.*@' gnu
/classpath
/Configuration.java
/dev
/null
; then
13880 { { echo "$as_me:$LINENO: error: configure.ac is missing the substitutions above" >&5
13881 echo "$as_me: error: configure.ac is missing the substitutions above" >&2;}
13882 { (exit 1); exit 1; }; }
13886 if test -n "$ac_tool_prefix"; then
13887 # Extract the first word of "${ac_tool_prefix}gcj", so it can be a program name with args.
13888 set dummy
${ac_tool_prefix}gcj
; ac_word
=$2
13889 echo "$as_me:$LINENO: checking for $ac_word" >&5
13890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13891 if test "${ac_cv_prog_GCJ+set}" = set; then
13892 echo $ECHO_N "(cached) $ECHO_C" >&6
13894 if test -n "$GCJ"; then
13895 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
13897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13898 for as_dir
in $PATH
13901 test -z "$as_dir" && as_dir
=.
13902 for ac_exec_ext
in '' $ac_executable_extensions; do
13903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13904 ac_cv_prog_GCJ
="${ac_tool_prefix}gcj"
13905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13913 GCJ
=$ac_cv_prog_GCJ
13914 if test -n "$GCJ"; then
13915 echo "$as_me:$LINENO: result: $GCJ" >&5
13916 echo "${ECHO_T}$GCJ" >&6
13918 echo "$as_me:$LINENO: result: no" >&5
13919 echo "${ECHO_T}no" >&6
13923 if test -z "$ac_cv_prog_GCJ"; then
13925 # Extract the first word of "gcj", so it can be a program name with args.
13926 set dummy gcj
; ac_word
=$2
13927 echo "$as_me:$LINENO: checking for $ac_word" >&5
13928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13929 if test "${ac_cv_prog_ac_ct_GCJ+set}" = set; then
13930 echo $ECHO_N "(cached) $ECHO_C" >&6
13932 if test -n "$ac_ct_GCJ"; then
13933 ac_cv_prog_ac_ct_GCJ
="$ac_ct_GCJ" # Let the user override the test.
13935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13936 for as_dir
in $PATH
13939 test -z "$as_dir" && as_dir
=.
13940 for ac_exec_ext
in '' $ac_executable_extensions; do
13941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13942 ac_cv_prog_ac_ct_GCJ
="gcj"
13943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13949 test -z "$ac_cv_prog_ac_ct_GCJ" && ac_cv_prog_ac_ct_GCJ
="no"
13952 ac_ct_GCJ
=$ac_cv_prog_ac_ct_GCJ
13953 if test -n "$ac_ct_GCJ"; then
13954 echo "$as_me:$LINENO: result: $ac_ct_GCJ" >&5
13955 echo "${ECHO_T}$ac_ct_GCJ" >&6
13957 echo "$as_me:$LINENO: result: no" >&5
13958 echo "${ECHO_T}no" >&6
13963 GCJ
="$ac_cv_prog_GCJ"
13966 test "x${GCJFLAGS+set}" = xset || GCJFLAGS
="-g -O2"
13972 rm -f gnu
/classpath
/Configuration.java
13974 CPPFLAGS
=$GCJ_SAVE_CPPFLAGS
13976 echo "$as_me:$LINENO: checking for void *" >&5
13977 echo $ECHO_N "checking for void *... $ECHO_C" >&6
13978 if test "${ac_cv_type_void_p+set}" = set; then
13979 echo $ECHO_N "(cached) $ECHO_C" >&6
13981 cat >conftest.
$ac_ext <<_ACEOF
13984 cat confdefs.h
>>conftest.
$ac_ext
13985 cat >>conftest.
$ac_ext <<_ACEOF
13986 /* end confdefs.h. */
13987 $ac_includes_default
13993 if (sizeof (void *))
13999 rm -f conftest.
$ac_objext
14000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14001 (eval $ac_compile) 2>conftest.er1
14003 grep -v '^ *+' conftest.er1
>conftest.err
14005 cat conftest.err
>&5
14006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14007 (exit $ac_status); } &&
14008 { ac_try
='test -z "$ac_c_werror_flag"
14009 || test ! -s conftest.err'
14010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14011 (eval $ac_try) 2>&5
14013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14014 (exit $ac_status); }; } &&
14015 { ac_try
='test -s conftest.$ac_objext'
14016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14017 (eval $ac_try) 2>&5
14019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14020 (exit $ac_status); }; }; then
14021 ac_cv_type_void_p
=yes
14023 echo "$as_me: failed program was:" >&5
14024 sed 's/^/| /' conftest.
$ac_ext >&5
14026 ac_cv_type_void_p
=no
14028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14030 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14031 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14033 echo "$as_me:$LINENO: checking size of void *" >&5
14034 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14035 if test "${ac_cv_sizeof_void_p+set}" = set; then
14036 echo $ECHO_N "(cached) $ECHO_C" >&6
14038 if test "$ac_cv_type_void_p" = yes; then
14039 # The cast to unsigned long works around a bug in the HP C Compiler
14040 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14041 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14042 # This bug is HP SR number 8606223364.
14043 if test "$cross_compiling" = yes; then
14044 # Depending upon the size, compute the lo and hi bounds.
14045 cat >conftest.
$ac_ext <<_ACEOF
14048 cat confdefs.h
>>conftest.
$ac_ext
14049 cat >>conftest.
$ac_ext <<_ACEOF
14050 /* end confdefs.h. */
14051 $ac_includes_default
14055 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14062 rm -f conftest.
$ac_objext
14063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14064 (eval $ac_compile) 2>conftest.er1
14066 grep -v '^ *+' conftest.er1
>conftest.err
14068 cat conftest.err
>&5
14069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14070 (exit $ac_status); } &&
14071 { ac_try
='test -z "$ac_c_werror_flag"
14072 || test ! -s conftest.err'
14073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14074 (eval $ac_try) 2>&5
14076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14077 (exit $ac_status); }; } &&
14078 { ac_try
='test -s conftest.$ac_objext'
14079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14080 (eval $ac_try) 2>&5
14082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083 (exit $ac_status); }; }; then
14086 cat >conftest.
$ac_ext <<_ACEOF
14089 cat confdefs.h
>>conftest.
$ac_ext
14090 cat >>conftest.
$ac_ext <<_ACEOF
14091 /* end confdefs.h. */
14092 $ac_includes_default
14096 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14103 rm -f conftest.
$ac_objext
14104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14105 (eval $ac_compile) 2>conftest.er1
14107 grep -v '^ *+' conftest.er1
>conftest.err
14109 cat conftest.err
>&5
14110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14111 (exit $ac_status); } &&
14112 { ac_try
='test -z "$ac_c_werror_flag"
14113 || test ! -s conftest.err'
14114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14115 (eval $ac_try) 2>&5
14117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14118 (exit $ac_status); }; } &&
14119 { ac_try
='test -s conftest.$ac_objext'
14120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14121 (eval $ac_try) 2>&5
14123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14124 (exit $ac_status); }; }; then
14125 ac_hi
=$ac_mid; break
14127 echo "$as_me: failed program was:" >&5
14128 sed 's/^/| /' conftest.
$ac_ext >&5
14130 ac_lo
=`expr $ac_mid + 1`
14131 if test $ac_lo -le $ac_mid; then
14135 ac_mid
=`expr 2 '*' $ac_mid + 1`
14137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14140 echo "$as_me: failed program was:" >&5
14141 sed 's/^/| /' conftest.
$ac_ext >&5
14143 cat >conftest.
$ac_ext <<_ACEOF
14146 cat confdefs.h
>>conftest.
$ac_ext
14147 cat >>conftest.
$ac_ext <<_ACEOF
14148 /* end confdefs.h. */
14149 $ac_includes_default
14153 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14160 rm -f conftest.
$ac_objext
14161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14162 (eval $ac_compile) 2>conftest.er1
14164 grep -v '^ *+' conftest.er1
>conftest.err
14166 cat conftest.err
>&5
14167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14168 (exit $ac_status); } &&
14169 { ac_try
='test -z "$ac_c_werror_flag"
14170 || test ! -s conftest.err'
14171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14172 (eval $ac_try) 2>&5
14174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14175 (exit $ac_status); }; } &&
14176 { ac_try
='test -s conftest.$ac_objext'
14177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14178 (eval $ac_try) 2>&5
14180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14181 (exit $ac_status); }; }; then
14184 cat >conftest.
$ac_ext <<_ACEOF
14187 cat confdefs.h
>>conftest.
$ac_ext
14188 cat >>conftest.
$ac_ext <<_ACEOF
14189 /* end confdefs.h. */
14190 $ac_includes_default
14194 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14201 rm -f conftest.
$ac_objext
14202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14203 (eval $ac_compile) 2>conftest.er1
14205 grep -v '^ *+' conftest.er1
>conftest.err
14207 cat conftest.err
>&5
14208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14209 (exit $ac_status); } &&
14210 { ac_try
='test -z "$ac_c_werror_flag"
14211 || test ! -s conftest.err'
14212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14213 (eval $ac_try) 2>&5
14215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14216 (exit $ac_status); }; } &&
14217 { ac_try
='test -s conftest.$ac_objext'
14218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14219 (eval $ac_try) 2>&5
14221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14222 (exit $ac_status); }; }; then
14223 ac_lo
=$ac_mid; break
14225 echo "$as_me: failed program was:" >&5
14226 sed 's/^/| /' conftest.
$ac_ext >&5
14228 ac_hi
=`expr '(' $ac_mid ')' - 1`
14229 if test $ac_mid -le $ac_hi; then
14233 ac_mid
=`expr 2 '*' $ac_mid`
14235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14238 echo "$as_me: failed program was:" >&5
14239 sed 's/^/| /' conftest.
$ac_ext >&5
14243 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14246 # Binary search between lo and hi bounds.
14247 while test "x$ac_lo" != "x$ac_hi"; do
14248 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14249 cat >conftest.
$ac_ext <<_ACEOF
14252 cat confdefs.h
>>conftest.
$ac_ext
14253 cat >>conftest.
$ac_ext <<_ACEOF
14254 /* end confdefs.h. */
14255 $ac_includes_default
14259 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14266 rm -f conftest.
$ac_objext
14267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14268 (eval $ac_compile) 2>conftest.er1
14270 grep -v '^ *+' conftest.er1
>conftest.err
14272 cat conftest.err
>&5
14273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274 (exit $ac_status); } &&
14275 { ac_try
='test -z "$ac_c_werror_flag"
14276 || test ! -s conftest.err'
14277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14278 (eval $ac_try) 2>&5
14280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14281 (exit $ac_status); }; } &&
14282 { ac_try
='test -s conftest.$ac_objext'
14283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14284 (eval $ac_try) 2>&5
14286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14287 (exit $ac_status); }; }; then
14290 echo "$as_me: failed program was:" >&5
14291 sed 's/^/| /' conftest.
$ac_ext >&5
14293 ac_lo
=`expr '(' $ac_mid ')' + 1`
14295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14298 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14299 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14300 See \`config.log' for more details." >&5
14301 echo "$as_me: error: cannot compute sizeof (void *), 77
14302 See \`config.log' for more details." >&2;}
14303 { (exit 1); exit 1; }; } ;;
14306 if test "$cross_compiling" = yes; then
14307 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14308 See \`config.log' for more details." >&5
14309 echo "$as_me: error: cannot run test program while cross compiling
14310 See \`config.log' for more details." >&2;}
14311 { (exit 1); exit 1; }; }
14313 cat >conftest.
$ac_ext <<_ACEOF
14316 cat confdefs.h
>>conftest.
$ac_ext
14317 cat >>conftest.
$ac_ext <<_ACEOF
14318 /* end confdefs.h. */
14319 $ac_includes_default
14320 long longval () { return (long) (sizeof (void *)); }
14321 unsigned long ulongval () { return (long) (sizeof (void *)); }
14323 #include <stdlib.h>
14328 FILE *f = fopen ("conftest.val", "w");
14331 if (((long) (sizeof (void *))) < 0)
14333 long i = longval ();
14334 if (i != ((long) (sizeof (void *))))
14336 fprintf (f, "%ld\n", i);
14340 unsigned long i = ulongval ();
14341 if (i != ((long) (sizeof (void *))))
14343 fprintf (f, "%lu\n", i);
14345 exit (ferror (f) || fclose (f) != 0);
14351 rm -f conftest
$ac_exeext
14352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14353 (eval $ac_link) 2>&5
14355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14356 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14358 (eval $ac_try) 2>&5
14360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14361 (exit $ac_status); }; }; then
14362 ac_cv_sizeof_void_p
=`cat conftest.val`
14364 echo "$as_me: program exited with status $ac_status" >&5
14365 echo "$as_me: failed program was:" >&5
14366 sed 's/^/| /' conftest.
$ac_ext >&5
14368 ( exit $ac_status )
14369 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14370 See \`config.log' for more details." >&5
14371 echo "$as_me: error: cannot compute sizeof (void *), 77
14372 See \`config.log' for more details." >&2;}
14373 { (exit 1); exit 1; }; }
14375 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14380 ac_cv_sizeof_void_p
=0
14383 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14384 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14385 cat >>confdefs.h
<<_ACEOF
14386 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14391 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
14392 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
14393 if test "${ac_cv_c_bigendian+set}" = set; then
14394 echo $ECHO_N "(cached) $ECHO_C" >&6
14396 # See if sys/param.h defines the BYTE_ORDER macro.
14397 cat >conftest.
$ac_ext <<_ACEOF
14400 cat confdefs.h
>>conftest.
$ac_ext
14401 cat >>conftest.
$ac_ext <<_ACEOF
14402 /* end confdefs.h. */
14403 #include <sys/types.h>
14404 #include <sys/param.h>
14409 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
14410 bogus endian macros
14417 rm -f conftest.
$ac_objext
14418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14419 (eval $ac_compile) 2>conftest.er1
14421 grep -v '^ *+' conftest.er1
>conftest.err
14423 cat conftest.err
>&5
14424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14425 (exit $ac_status); } &&
14426 { ac_try
='test -z "$ac_c_werror_flag"
14427 || test ! -s conftest.err'
14428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14429 (eval $ac_try) 2>&5
14431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14432 (exit $ac_status); }; } &&
14433 { ac_try
='test -s conftest.$ac_objext'
14434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14435 (eval $ac_try) 2>&5
14437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14438 (exit $ac_status); }; }; then
14439 # It does; now see whether it defined to BIG_ENDIAN or not.
14440 cat >conftest.
$ac_ext <<_ACEOF
14443 cat confdefs.h
>>conftest.
$ac_ext
14444 cat >>conftest.
$ac_ext <<_ACEOF
14445 /* end confdefs.h. */
14446 #include <sys/types.h>
14447 #include <sys/param.h>
14452 #if BYTE_ORDER != BIG_ENDIAN
14460 rm -f conftest.
$ac_objext
14461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14462 (eval $ac_compile) 2>conftest.er1
14464 grep -v '^ *+' conftest.er1
>conftest.err
14466 cat conftest.err
>&5
14467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14468 (exit $ac_status); } &&
14469 { ac_try
='test -z "$ac_c_werror_flag"
14470 || test ! -s conftest.err'
14471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14472 (eval $ac_try) 2>&5
14474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); }; } &&
14476 { ac_try
='test -s conftest.$ac_objext'
14477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14478 (eval $ac_try) 2>&5
14480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14481 (exit $ac_status); }; }; then
14482 ac_cv_c_bigendian
=yes
14484 echo "$as_me: failed program was:" >&5
14485 sed 's/^/| /' conftest.
$ac_ext >&5
14487 ac_cv_c_bigendian
=no
14489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14491 echo "$as_me: failed program was:" >&5
14492 sed 's/^/| /' conftest.
$ac_ext >&5
14494 # It does not; compile a test program.
14495 if test "$cross_compiling" = yes; then
14496 # try to guess the endianness by grepping values into an object file
14497 ac_cv_c_bigendian
=unknown
14498 cat >conftest.
$ac_ext <<_ACEOF
14501 cat confdefs.h
>>conftest.
$ac_ext
14502 cat >>conftest.
$ac_ext <<_ACEOF
14503 /* end confdefs.h. */
14504 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14505 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14506 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
14507 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14508 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14509 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
14513 _ascii (); _ebcdic ();
14518 rm -f conftest.
$ac_objext
14519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14520 (eval $ac_compile) 2>conftest.er1
14522 grep -v '^ *+' conftest.er1
>conftest.err
14524 cat conftest.err
>&5
14525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14526 (exit $ac_status); } &&
14527 { ac_try
='test -z "$ac_c_werror_flag"
14528 || test ! -s conftest.err'
14529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14530 (eval $ac_try) 2>&5
14532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14533 (exit $ac_status); }; } &&
14534 { ac_try
='test -s conftest.$ac_objext'
14535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14536 (eval $ac_try) 2>&5
14538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14539 (exit $ac_status); }; }; then
14540 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
14541 ac_cv_c_bigendian
=yes
14543 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
14544 if test "$ac_cv_c_bigendian" = unknown
; then
14545 ac_cv_c_bigendian
=no
14547 # finding both strings is unlikely to happen, but who knows?
14548 ac_cv_c_bigendian
=unknown
14552 echo "$as_me: failed program was:" >&5
14553 sed 's/^/| /' conftest.
$ac_ext >&5
14556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14558 cat >conftest.
$ac_ext <<_ACEOF
14561 cat confdefs.h
>>conftest.
$ac_ext
14562 cat >>conftest.
$ac_ext <<_ACEOF
14563 /* end confdefs.h. */
14567 /* Are we little or big endian? From Harbison&Steele. */
14571 char c[sizeof (long)];
14574 exit (u.c[sizeof (long) - 1] == 1);
14577 rm -f conftest
$ac_exeext
14578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14579 (eval $ac_link) 2>&5
14581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14582 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14584 (eval $ac_try) 2>&5
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); }; }; then
14588 ac_cv_c_bigendian
=no
14590 echo "$as_me: program exited with status $ac_status" >&5
14591 echo "$as_me: failed program was:" >&5
14592 sed 's/^/| /' conftest.
$ac_ext >&5
14594 ( exit $ac_status )
14595 ac_cv_c_bigendian
=yes
14597 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14602 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
14603 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
14604 case $ac_cv_c_bigendian in
14607 cat >>confdefs.h
<<\_ACEOF
14608 #define WORDS_BIGENDIAN 1
14614 { { echo "$as_me:$LINENO: error: unknown endianness
14615 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
14616 echo "$as_me: error: unknown endianness
14617 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
14618 { (exit 1); exit 1; }; } ;;
14626 if test -z "$ZLIBSPEC"; then
14627 # Use zlib from the GCC tree.
14628 ZINCS
='-I$(top_srcdir)/../zlib'
14629 ZLIBS
=..
/zlib
/libzgcj_convenience.la
14632 SYS_ZLIBS
="$ZLIBSPEC"
14645 if test "$NATIVE" = yes; then
14655 if test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes; then
14656 NEEDS_DATA_START_TRUE
=
14657 NEEDS_DATA_START_FALSE
='#'
14659 NEEDS_DATA_START_TRUE
='#'
14660 NEEDS_DATA_START_FALSE
=
14665 # Process the option "--enable-version-specific-runtime-libs"
14666 # Calculate toolexeclibdir
14667 case ${version_specific_libs} in
14669 # Need the gcc compiler version to know where to install libraries
14670 # and header files if --enable-version-specific-runtime-libs option
14672 includedir
='$(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/include/'
14673 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
14674 toolexecmainlibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
14675 toolexeclibdir
=$toolexecmainlibdir
14678 if test -n "$with_cross_host" &&
14679 test x
"$with_cross_host" != x
"no"; then
14680 # Install a library built with a cross compiler in tooldir, not libdir.
14681 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
14682 toolexecmainlibdir
='$(toolexecdir)/lib'
14684 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
14685 toolexecmainlibdir
='$(libdir)'
14687 multi_os_directory
=`$CC -print-multi-os-directory`
14688 case $multi_os_directory in
14689 .
) toolexeclibdir
=$toolexecmainlibdir ;; # Avoid trailing /.
14690 *) toolexeclibdir
=$toolexecmainlibdir/$multi_os_directory ;;
14698 # Determine where the standard .db file is found.
14699 multi_os_directory
=`$CC -print-multi-os-directory`
14700 case $multi_os_directory in
14701 .
) dbexecdir
='$(libdir)/gcj-$(gcc_version)' ;; # Avoid /.
14702 *) dbexecdir
='$(libdir)/'$multi_os_directory'/gcj-$(gcc_version)' ;;
14706 # Determine gcj version number.
14707 gcjversion
=`$GCJ -v 2>&1 | sed -n 's/^.*version \([^ ]*\).*$/\1/p'`
14708 GCJVERSION
=$gcjversion
14711 cat >>confdefs.h
<<_ACEOF
14712 #define GCJVERSION "$GCJVERSION"
14717 cat >>confdefs.h
<<\_ACEOF
14718 #define JV_VERSION "1.4.2"
14722 cat >>confdefs.h
<<\_ACEOF
14723 #define JV_API_VERSION "1.4"
14728 case "${with_gxx_include_dir}" in
14730 { { echo "$as_me:$LINENO: error: --with-gxx-include-dir=[dir] requires a directory" >&5
14731 echo "$as_me: error: --with-gxx-include-dir=[dir] requires a directory" >&2;}
14732 { (exit 1); exit 1; }; }
14735 case "${enable_version_specific_runtime_libs}" in
14736 yes) gxx_include_dir
='$(libsubdir)/include/c++' ;;
14738 libstdcxx_incdir
='c++/$(gcc_version)'
14739 gxx_include_dir
='$(prefix)/include/$(libstdcxx_incdir)' ;;
14741 *) gxx_include_dir
=${with_gxx_include_dir} ;;
14747 # We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
14748 # On that system, sys/ioctl.h will not include sys/filio.h unless
14749 # BSD_COMP is defined; just including sys/filio.h is simpler.
14750 # We avoid AC_HEADER_DIRENT since we really only care about dirent.h
14751 # for now. If you change this, you also must update natFile.cc.
14772 for ac_header
in unistd.h bstring.h sys
/time.h sys
/types.h fcntl.h \
14773 sys
/ioctl.h sys
/filio.h sys
/stat.h sys
/select.h \
14774 sys
/socket.h netinet
/in.h arpa
/inet.h netdb.h net
/if.h \
14775 pwd.h sys
/config.h stdint.h langinfo.h locale.h \
14778 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14780 echo "$as_me:$LINENO: checking for $ac_header" >&5
14781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14783 echo $ECHO_N "(cached) $ECHO_C" >&6
14785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14786 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14788 # Is the header compilable?
14789 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14790 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14791 cat >conftest.
$ac_ext <<_ACEOF
14794 cat confdefs.h
>>conftest.
$ac_ext
14795 cat >>conftest.
$ac_ext <<_ACEOF
14796 /* end confdefs.h. */
14797 $ac_includes_default
14798 #include <$ac_header>
14800 rm -f conftest.
$ac_objext
14801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14802 (eval $ac_compile) 2>conftest.er1
14804 grep -v '^ *+' conftest.er1
>conftest.err
14806 cat conftest.err
>&5
14807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14808 (exit $ac_status); } &&
14809 { ac_try
='test -z "$ac_c_werror_flag"
14810 || test ! -s conftest.err'
14811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14812 (eval $ac_try) 2>&5
14814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14815 (exit $ac_status); }; } &&
14816 { ac_try
='test -s conftest.$ac_objext'
14817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14818 (eval $ac_try) 2>&5
14820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14821 (exit $ac_status); }; }; then
14822 ac_header_compiler
=yes
14824 echo "$as_me: failed program was:" >&5
14825 sed 's/^/| /' conftest.
$ac_ext >&5
14827 ac_header_compiler
=no
14829 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14830 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14831 echo "${ECHO_T}$ac_header_compiler" >&6
14833 # Is the header present?
14834 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14835 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14836 cat >conftest.
$ac_ext <<_ACEOF
14839 cat confdefs.h
>>conftest.
$ac_ext
14840 cat >>conftest.
$ac_ext <<_ACEOF
14841 /* end confdefs.h. */
14842 #include <$ac_header>
14844 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14845 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14847 grep -v '^ *+' conftest.er1
>conftest.err
14849 cat conftest.err
>&5
14850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851 (exit $ac_status); } >/dev
/null
; then
14852 if test -s conftest.err
; then
14853 ac_cpp_err
=$ac_c_preproc_warn_flag
14854 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14861 if test -z "$ac_cpp_err"; then
14862 ac_header_preproc
=yes
14864 echo "$as_me: failed program was:" >&5
14865 sed 's/^/| /' conftest.
$ac_ext >&5
14867 ac_header_preproc
=no
14869 rm -f conftest.err conftest.
$ac_ext
14870 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14871 echo "${ECHO_T}$ac_header_preproc" >&6
14873 # So? What about this header?
14874 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14876 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14877 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14879 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14880 ac_header_preproc
=yes
14883 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14884 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14885 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14886 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14887 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14888 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14889 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14890 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14891 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14892 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14893 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14894 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14897 ## ---------------------------------- ##
14898 ## Report this to the libjava lists. ##
14899 ## ---------------------------------- ##
14902 sed "s/^/$as_me: WARNING: /" >&2
14905 echo "$as_me:$LINENO: checking for $ac_header" >&5
14906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14908 echo $ECHO_N "(cached) $ECHO_C" >&6
14910 eval "$as_ac_Header=\$ac_header_preproc"
14912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14913 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14916 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14917 cat >>confdefs.h
<<_ACEOF
14918 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14926 for ac_header
in inttypes.h
14928 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14929 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14930 echo "$as_me:$LINENO: checking for $ac_header" >&5
14931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14933 echo $ECHO_N "(cached) $ECHO_C" >&6
14935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14936 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14938 # Is the header compilable?
14939 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14940 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14941 cat >conftest.
$ac_ext <<_ACEOF
14944 cat confdefs.h
>>conftest.
$ac_ext
14945 cat >>conftest.
$ac_ext <<_ACEOF
14946 /* end confdefs.h. */
14947 $ac_includes_default
14948 #include <$ac_header>
14950 rm -f conftest.
$ac_objext
14951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14952 (eval $ac_compile) 2>conftest.er1
14954 grep -v '^ *+' conftest.er1
>conftest.err
14956 cat conftest.err
>&5
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 (exit $ac_status); } &&
14959 { ac_try
='test -z "$ac_c_werror_flag"
14960 || test ! -s conftest.err'
14961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14962 (eval $ac_try) 2>&5
14964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14965 (exit $ac_status); }; } &&
14966 { ac_try
='test -s conftest.$ac_objext'
14967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14968 (eval $ac_try) 2>&5
14970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14971 (exit $ac_status); }; }; then
14972 ac_header_compiler
=yes
14974 echo "$as_me: failed program was:" >&5
14975 sed 's/^/| /' conftest.
$ac_ext >&5
14977 ac_header_compiler
=no
14979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14980 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14981 echo "${ECHO_T}$ac_header_compiler" >&6
14983 # Is the header present?
14984 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14985 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14986 cat >conftest.
$ac_ext <<_ACEOF
14989 cat confdefs.h
>>conftest.
$ac_ext
14990 cat >>conftest.
$ac_ext <<_ACEOF
14991 /* end confdefs.h. */
14992 #include <$ac_header>
14994 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14995 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14997 grep -v '^ *+' conftest.er1
>conftest.err
14999 cat conftest.err
>&5
15000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15001 (exit $ac_status); } >/dev
/null
; then
15002 if test -s conftest.err
; then
15003 ac_cpp_err
=$ac_c_preproc_warn_flag
15004 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15011 if test -z "$ac_cpp_err"; then
15012 ac_header_preproc
=yes
15014 echo "$as_me: failed program was:" >&5
15015 sed 's/^/| /' conftest.
$ac_ext >&5
15017 ac_header_preproc
=no
15019 rm -f conftest.err conftest.
$ac_ext
15020 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15021 echo "${ECHO_T}$ac_header_preproc" >&6
15023 # So? What about this header?
15024 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15026 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15027 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15028 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15029 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15030 ac_header_preproc
=yes
15033 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15034 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15035 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15036 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15037 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15038 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15039 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15040 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15041 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15042 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15043 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15044 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15047 ## ---------------------------------- ##
15048 ## Report this to the libjava lists. ##
15049 ## ---------------------------------- ##
15052 sed "s/^/$as_me: WARNING: /" >&2
15055 echo "$as_me:$LINENO: checking for $ac_header" >&5
15056 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15058 echo $ECHO_N "(cached) $ECHO_C" >&6
15060 eval "$as_ac_Header=\$ac_header_preproc"
15062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15063 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15066 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15067 cat >>confdefs.h
<<_ACEOF
15068 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15072 cat >>confdefs.h
<<\_ACEOF
15073 #define HAVE_INTTYPES_H 1
15077 cat >>confdefs.h
<<\_ACEOF
15078 #define JV_HAVE_INTTYPES_H 1
15086 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
15087 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
15088 if test "${ac_cv_header_sys_wait_h+set}" = set; then
15089 echo $ECHO_N "(cached) $ECHO_C" >&6
15091 cat >conftest.
$ac_ext <<_ACEOF
15094 cat confdefs.h
>>conftest.
$ac_ext
15095 cat >>conftest.
$ac_ext <<_ACEOF
15096 /* end confdefs.h. */
15097 #include <sys/types.h>
15098 #include <sys/wait.h>
15099 #ifndef WEXITSTATUS
15100 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
15103 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
15111 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
15116 rm -f conftest.
$ac_objext
15117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15118 (eval $ac_compile) 2>conftest.er1
15120 grep -v '^ *+' conftest.er1
>conftest.err
15122 cat conftest.err
>&5
15123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15124 (exit $ac_status); } &&
15125 { ac_try
='test -z "$ac_c_werror_flag"
15126 || test ! -s conftest.err'
15127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15128 (eval $ac_try) 2>&5
15130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131 (exit $ac_status); }; } &&
15132 { ac_try
='test -s conftest.$ac_objext'
15133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15134 (eval $ac_try) 2>&5
15136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15137 (exit $ac_status); }; }; then
15138 ac_cv_header_sys_wait_h
=yes
15140 echo "$as_me: failed program was:" >&5
15141 sed 's/^/| /' conftest.
$ac_ext >&5
15143 ac_cv_header_sys_wait_h
=no
15145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15147 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
15148 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
15149 if test $ac_cv_header_sys_wait_h = yes; then
15151 cat >>confdefs.h
<<\_ACEOF
15152 #define HAVE_SYS_WAIT_H 1
15158 echo "$as_me:$LINENO: checking for ssize_t" >&5
15159 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
15160 if test "${ac_cv_type_ssize_t+set}" = set; then
15161 echo $ECHO_N "(cached) $ECHO_C" >&6
15163 cat >conftest.
$ac_ext <<_ACEOF
15166 cat confdefs.h
>>conftest.
$ac_ext
15167 cat >>conftest.
$ac_ext <<_ACEOF
15168 /* end confdefs.h. */
15169 $ac_includes_default
15175 if (sizeof (ssize_t))
15181 rm -f conftest.
$ac_objext
15182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15183 (eval $ac_compile) 2>conftest.er1
15185 grep -v '^ *+' conftest.er1
>conftest.err
15187 cat conftest.err
>&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); } &&
15190 { ac_try
='test -z "$ac_c_werror_flag"
15191 || test ! -s conftest.err'
15192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15193 (eval $ac_try) 2>&5
15195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15196 (exit $ac_status); }; } &&
15197 { ac_try
='test -s conftest.$ac_objext'
15198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15199 (eval $ac_try) 2>&5
15201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15202 (exit $ac_status); }; }; then
15203 ac_cv_type_ssize_t
=yes
15205 echo "$as_me: failed program was:" >&5
15206 sed 's/^/| /' conftest.
$ac_ext >&5
15208 ac_cv_type_ssize_t
=no
15210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15212 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
15213 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
15214 if test $ac_cv_type_ssize_t = yes; then
15218 cat >>confdefs.h
<<_ACEOF
15219 #define ssize_t int
15225 echo "$as_me:$LINENO: checking for in_addr_t" >&5
15226 echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6
15227 cat >conftest.
$ac_ext <<_ACEOF
15230 cat confdefs.h
>>conftest.
$ac_ext
15231 cat >>conftest.
$ac_ext <<_ACEOF
15232 /* end confdefs.h. */
15233 #include <sys/types.h>
15235 #include <stdlib.h>
15236 #include <stddef.h>
15238 #if HAVE_NETINET_IN_H
15239 #include <netinet/in.h>
15249 rm -f conftest.
$ac_objext
15250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15251 (eval $ac_compile) 2>conftest.er1
15253 grep -v '^ *+' conftest.er1
>conftest.err
15255 cat conftest.err
>&5
15256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15257 (exit $ac_status); } &&
15258 { ac_try
='test -z "$ac_c_werror_flag"
15259 || test ! -s conftest.err'
15260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15261 (eval $ac_try) 2>&5
15263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15264 (exit $ac_status); }; } &&
15265 { ac_try
='test -s conftest.$ac_objext'
15266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15267 (eval $ac_try) 2>&5
15269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15270 (exit $ac_status); }; }; then
15272 cat >>confdefs.h
<<\_ACEOF
15273 #define HAVE_IN_ADDR_T 1
15276 echo "$as_me:$LINENO: result: yes" >&5
15277 echo "${ECHO_T}yes" >&6
15279 echo "$as_me: failed program was:" >&5
15280 sed 's/^/| /' conftest.
$ac_ext >&5
15282 echo "$as_me:$LINENO: result: no" >&5
15283 echo "${ECHO_T}no" >&6
15285 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15287 echo "$as_me:$LINENO: checking whether struct ip_mreq is in netinet/in.h" >&5
15288 echo $ECHO_N "checking whether struct ip_mreq is in netinet/in.h... $ECHO_C" >&6
15289 cat >conftest.
$ac_ext <<_ACEOF
15292 cat confdefs.h
>>conftest.
$ac_ext
15293 cat >>conftest.
$ac_ext <<_ACEOF
15294 /* end confdefs.h. */
15295 #include <netinet/in.h>
15299 struct ip_mreq mreq;
15304 rm -f conftest.
$ac_objext
15305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15306 (eval $ac_compile) 2>conftest.er1
15308 grep -v '^ *+' conftest.er1
>conftest.err
15310 cat conftest.err
>&5
15311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15312 (exit $ac_status); } &&
15313 { ac_try
='test -z "$ac_c_werror_flag"
15314 || test ! -s conftest.err'
15315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15316 (eval $ac_try) 2>&5
15318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15319 (exit $ac_status); }; } &&
15320 { ac_try
='test -s conftest.$ac_objext'
15321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15322 (eval $ac_try) 2>&5
15324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15325 (exit $ac_status); }; }; then
15327 cat >>confdefs.h
<<\_ACEOF
15328 #define HAVE_STRUCT_IP_MREQ 1
15331 echo "$as_me:$LINENO: result: yes" >&5
15332 echo "${ECHO_T}yes" >&6
15334 echo "$as_me: failed program was:" >&5
15335 sed 's/^/| /' conftest.
$ac_ext >&5
15337 echo "$as_me:$LINENO: result: no" >&5
15338 echo "${ECHO_T}no" >&6
15340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15342 echo "$as_me:$LINENO: checking whether struct ipv6_mreq is in netinet/in.h" >&5
15343 echo $ECHO_N "checking whether struct ipv6_mreq is in netinet/in.h... $ECHO_C" >&6
15344 cat >conftest.
$ac_ext <<_ACEOF
15347 cat confdefs.h
>>conftest.
$ac_ext
15348 cat >>conftest.
$ac_ext <<_ACEOF
15349 /* end confdefs.h. */
15350 #include <netinet/in.h>
15354 struct ipv6_mreq mreq6;
15359 rm -f conftest.
$ac_objext
15360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15361 (eval $ac_compile) 2>conftest.er1
15363 grep -v '^ *+' conftest.er1
>conftest.err
15365 cat conftest.err
>&5
15366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15367 (exit $ac_status); } &&
15368 { ac_try
='test -z "$ac_c_werror_flag"
15369 || test ! -s conftest.err'
15370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15371 (eval $ac_try) 2>&5
15373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15374 (exit $ac_status); }; } &&
15375 { ac_try
='test -s conftest.$ac_objext'
15376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15377 (eval $ac_try) 2>&5
15379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380 (exit $ac_status); }; }; then
15382 cat >>confdefs.h
<<\_ACEOF
15383 #define HAVE_STRUCT_IPV6_MREQ 1
15386 echo "$as_me:$LINENO: result: yes" >&5
15387 echo "${ECHO_T}yes" >&6
15389 echo "$as_me: failed program was:" >&5
15390 sed 's/^/| /' conftest.
$ac_ext >&5
15392 echo "$as_me:$LINENO: result: no" >&5
15393 echo "${ECHO_T}no" >&6
15395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15397 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
15398 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
15399 cat >conftest.
$ac_ext <<_ACEOF
15402 cat confdefs.h
>>conftest.
$ac_ext
15403 cat >>conftest.
$ac_ext <<_ACEOF
15404 /* end confdefs.h. */
15405 #include <netinet/in.h>
15409 struct sockaddr_in6 addr6;
15414 rm -f conftest.
$ac_objext
15415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15416 (eval $ac_compile) 2>conftest.er1
15418 grep -v '^ *+' conftest.er1
>conftest.err
15420 cat conftest.err
>&5
15421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15422 (exit $ac_status); } &&
15423 { ac_try
='test -z "$ac_c_werror_flag"
15424 || test ! -s conftest.err'
15425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15426 (eval $ac_try) 2>&5
15428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15429 (exit $ac_status); }; } &&
15430 { ac_try
='test -s conftest.$ac_objext'
15431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15432 (eval $ac_try) 2>&5
15434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); }; }; then
15437 cat >>confdefs.h
<<\_ACEOF
15438 #define HAVE_INET6 1
15441 echo "$as_me:$LINENO: result: yes" >&5
15442 echo "${ECHO_T}yes" >&6
15444 echo "$as_me: failed program was:" >&5
15445 sed 's/^/| /' conftest.
$ac_ext >&5
15447 echo "$as_me:$LINENO: result: no" >&5
15448 echo "${ECHO_T}no" >&6
15450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15452 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
15453 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
15454 cat >conftest.
$ac_ext <<_ACEOF
15457 cat confdefs.h
>>conftest.
$ac_ext
15458 cat >>conftest.
$ac_ext <<_ACEOF
15459 /* end confdefs.h. */
15460 #define _POSIX_PII_SOCKET
15461 #include <sys/types.h>
15462 #include <sys/socket.h>
15471 rm -f conftest.
$ac_objext
15472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15473 (eval $ac_compile) 2>conftest.er1
15475 grep -v '^ *+' conftest.er1
>conftest.err
15477 cat conftest.err
>&5
15478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15479 (exit $ac_status); } &&
15480 { ac_try
='test -z "$ac_c_werror_flag"
15481 || test ! -s conftest.err'
15482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15483 (eval $ac_try) 2>&5
15485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15486 (exit $ac_status); }; } &&
15487 { ac_try
='test -s conftest.$ac_objext'
15488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15489 (eval $ac_try) 2>&5
15491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15492 (exit $ac_status); }; }; then
15494 cat >>confdefs.h
<<\_ACEOF
15495 #define HAVE_SOCKLEN_T 1
15498 echo "$as_me:$LINENO: result: yes" >&5
15499 echo "${ECHO_T}yes" >&6
15501 echo "$as_me: failed program was:" >&5
15502 sed 's/^/| /' conftest.
$ac_ext >&5
15504 echo "$as_me:$LINENO: result: no" >&5
15505 echo "${ECHO_T}no" >&6
15507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15509 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
15510 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
15511 cat >conftest.
$ac_ext <<_ACEOF
15514 cat confdefs.h
>>conftest.
$ac_ext
15515 cat >>conftest.
$ac_ext <<_ACEOF
15516 /* end confdefs.h. */
15521 struct tm tim; tim.tm_gmtoff = 0;
15526 rm -f conftest.
$ac_objext
15527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15528 (eval $ac_compile) 2>conftest.er1
15530 grep -v '^ *+' conftest.er1
>conftest.err
15532 cat conftest.err
>&5
15533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15534 (exit $ac_status); } &&
15535 { ac_try
='test -z "$ac_c_werror_flag"
15536 || test ! -s conftest.err'
15537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15538 (eval $ac_try) 2>&5
15540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15541 (exit $ac_status); }; } &&
15542 { ac_try
='test -s conftest.$ac_objext'
15543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15544 (eval $ac_try) 2>&5
15546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15547 (exit $ac_status); }; }; then
15549 cat >>confdefs.h
<<\_ACEOF
15550 #define STRUCT_TM_HAS_GMTOFF 1
15553 echo "$as_me:$LINENO: result: yes" >&5
15554 echo "${ECHO_T}yes" >&6
15556 echo "$as_me: failed program was:" >&5
15557 sed 's/^/| /' conftest.
$ac_ext >&5
15559 echo "$as_me:$LINENO: result: no" >&5
15560 echo "${ECHO_T}no" >&6
15561 echo "$as_me:$LINENO: checking for global timezone variable" >&5
15562 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
15563 cat >conftest.
$ac_ext <<_ACEOF
15566 cat confdefs.h
>>conftest.
$ac_ext
15567 cat >>conftest.
$ac_ext <<_ACEOF
15568 /* end confdefs.h. */
15573 void i(){long z2 = 2*timezone;}
15578 rm -f conftest.
$ac_objext
15579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15580 (eval $ac_compile) 2>conftest.er1
15582 grep -v '^ *+' conftest.er1
>conftest.err
15584 cat conftest.err
>&5
15585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15586 (exit $ac_status); } &&
15587 { ac_try
='test -z "$ac_c_werror_flag"
15588 || test ! -s conftest.err'
15589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15590 (eval $ac_try) 2>&5
15592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593 (exit $ac_status); }; } &&
15594 { ac_try
='test -s conftest.$ac_objext'
15595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15596 (eval $ac_try) 2>&5
15598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15599 (exit $ac_status); }; }; then
15601 cat >>confdefs.h
<<\_ACEOF
15602 #define HAVE_TIMEZONE 1
15605 echo "$as_me:$LINENO: result: yes" >&5
15606 echo "${ECHO_T}yes" >&6
15608 echo "$as_me: failed program was:" >&5
15609 sed 's/^/| /' conftest.
$ac_ext >&5
15611 echo "$as_me:$LINENO: result: no" >&5
15612 echo "${ECHO_T}no" >&6
15613 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
15614 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
15615 cat >conftest.
$ac_ext <<_ACEOF
15618 cat confdefs.h
>>conftest.
$ac_ext
15619 cat >>conftest.
$ac_ext <<_ACEOF
15620 /* end confdefs.h. */
15625 long z2 = _timezone;
15630 rm -f conftest.
$ac_objext
15631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15632 (eval $ac_compile) 2>conftest.er1
15634 grep -v '^ *+' conftest.er1
>conftest.err
15636 cat conftest.err
>&5
15637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15638 (exit $ac_status); } &&
15639 { ac_try
='test -z "$ac_c_werror_flag"
15640 || test ! -s conftest.err'
15641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15642 (eval $ac_try) 2>&5
15644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15645 (exit $ac_status); }; } &&
15646 { ac_try
='test -s conftest.$ac_objext'
15647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15648 (eval $ac_try) 2>&5
15650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15651 (exit $ac_status); }; }; then
15653 cat >>confdefs.h
<<\_ACEOF
15654 #define HAVE_UNDERSCORE_TIMEZONE 1
15657 echo "$as_me:$LINENO: result: yes" >&5
15658 echo "${ECHO_T}yes" >&6
15660 echo "$as_me: failed program was:" >&5
15661 sed 's/^/| /' conftest.
$ac_ext >&5
15663 echo "$as_me:$LINENO: result: no" >&5
15664 echo "${ECHO_T}no" >&6
15666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15672 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15673 # for constant arguments. Useless!
15674 echo "$as_me:$LINENO: checking for working alloca.h" >&5
15675 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
15676 if test "${ac_cv_working_alloca_h+set}" = set; then
15677 echo $ECHO_N "(cached) $ECHO_C" >&6
15679 if test x
$gcc_no_link = xyes
; then
15680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15682 { (exit 1); exit 1; }; }
15684 cat >conftest.
$ac_ext <<_ACEOF
15687 cat confdefs.h
>>conftest.
$ac_ext
15688 cat >>conftest.
$ac_ext <<_ACEOF
15689 /* end confdefs.h. */
15690 #include <alloca.h>
15694 char *p = (char *) alloca (2 * sizeof (int));
15699 rm -f conftest.
$ac_objext conftest
$ac_exeext
15700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15701 (eval $ac_link) 2>conftest.er1
15703 grep -v '^ *+' conftest.er1
>conftest.err
15705 cat conftest.err
>&5
15706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15707 (exit $ac_status); } &&
15708 { ac_try
='test -z "$ac_c_werror_flag"
15709 || test ! -s conftest.err'
15710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15711 (eval $ac_try) 2>&5
15713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15714 (exit $ac_status); }; } &&
15715 { ac_try
='test -s conftest$ac_exeext'
15716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15717 (eval $ac_try) 2>&5
15719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15720 (exit $ac_status); }; }; then
15721 ac_cv_working_alloca_h
=yes
15723 echo "$as_me: failed program was:" >&5
15724 sed 's/^/| /' conftest.
$ac_ext >&5
15726 ac_cv_working_alloca_h
=no
15728 rm -f conftest.err conftest.
$ac_objext \
15729 conftest
$ac_exeext conftest.
$ac_ext
15731 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15732 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
15733 if test $ac_cv_working_alloca_h = yes; then
15735 cat >>confdefs.h
<<\_ACEOF
15736 #define HAVE_ALLOCA_H 1
15741 echo "$as_me:$LINENO: checking for alloca" >&5
15742 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
15743 if test "${ac_cv_func_alloca_works+set}" = set; then
15744 echo $ECHO_N "(cached) $ECHO_C" >&6
15746 if test x
$gcc_no_link = xyes
; then
15747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15749 { (exit 1); exit 1; }; }
15751 cat >conftest.
$ac_ext <<_ACEOF
15754 cat confdefs.h
>>conftest.
$ac_ext
15755 cat >>conftest.
$ac_ext <<_ACEOF
15756 /* end confdefs.h. */
15758 # define alloca __builtin_alloca
15761 # include <malloc.h>
15762 # define alloca _alloca
15765 # include <alloca.h>
15770 # ifndef alloca /* predefined by HP cc +Olibcalls */
15781 char *p = (char *) alloca (1);
15786 rm -f conftest.
$ac_objext conftest
$ac_exeext
15787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15788 (eval $ac_link) 2>conftest.er1
15790 grep -v '^ *+' conftest.er1
>conftest.err
15792 cat conftest.err
>&5
15793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794 (exit $ac_status); } &&
15795 { ac_try
='test -z "$ac_c_werror_flag"
15796 || test ! -s conftest.err'
15797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15798 (eval $ac_try) 2>&5
15800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15801 (exit $ac_status); }; } &&
15802 { ac_try
='test -s conftest$ac_exeext'
15803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15804 (eval $ac_try) 2>&5
15806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15807 (exit $ac_status); }; }; then
15808 ac_cv_func_alloca_works
=yes
15810 echo "$as_me: failed program was:" >&5
15811 sed 's/^/| /' conftest.
$ac_ext >&5
15813 ac_cv_func_alloca_works
=no
15815 rm -f conftest.err conftest.
$ac_objext \
15816 conftest
$ac_exeext conftest.
$ac_ext
15818 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15819 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
15821 if test $ac_cv_func_alloca_works = yes; then
15823 cat >>confdefs.h
<<\_ACEOF
15824 #define HAVE_ALLOCA 1
15828 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15829 # that cause trouble. Some versions do not even contain alloca or
15830 # contain a buggy version. If you still want to use their alloca,
15831 # use ar to extract alloca.o from them instead of compiling alloca.c.
15833 ALLOCA
=alloca.
$ac_objext
15835 cat >>confdefs.h
<<\_ACEOF
15840 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15841 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
15842 if test "${ac_cv_os_cray+set}" = set; then
15843 echo $ECHO_N "(cached) $ECHO_C" >&6
15845 cat >conftest.
$ac_ext <<_ACEOF
15848 cat confdefs.h
>>conftest.
$ac_ext
15849 cat >>conftest.
$ac_ext <<_ACEOF
15850 /* end confdefs.h. */
15851 #if defined(CRAY) && ! defined(CRAY2)
15858 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15859 $EGREP "webecray" >/dev
/null
2>&1; then
15867 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15868 echo "${ECHO_T}$ac_cv_os_cray" >&6
15869 if test $ac_cv_os_cray = yes; then
15870 for ac_func
in _getb67 GETB67 getb67
; do
15871 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15872 echo "$as_me:$LINENO: checking for $ac_func" >&5
15873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15874 if eval "test \"\${$as_ac_var+set}\" = set"; then
15875 echo $ECHO_N "(cached) $ECHO_C" >&6
15877 if test x
$gcc_no_link = xyes
; then
15878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15880 { (exit 1); exit 1; }; }
15882 cat >conftest.
$ac_ext <<_ACEOF
15885 cat confdefs.h
>>conftest.
$ac_ext
15886 cat >>conftest.
$ac_ext <<_ACEOF
15887 /* end confdefs.h. */
15888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15890 #define $ac_func innocuous_$ac_func
15892 /* System header to define __stub macros and hopefully few prototypes,
15893 which can conflict with char $ac_func (); below.
15894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15895 <limits.h> exists even on freestanding compilers. */
15898 # include <limits.h>
15900 # include <assert.h>
15905 /* Override any gcc2 internal prototype to avoid an error. */
15910 /* We use char because int might match the return type of a gcc2
15911 builtin and then its argument prototype would still apply. */
15913 /* The GNU C library defines this for functions which it implements
15914 to always fail with ENOSYS. Some functions are actually named
15915 something starting with __ and the normal name is an alias. */
15916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15919 char (*f) () = $ac_func;
15928 return f != $ac_func;
15933 rm -f conftest.
$ac_objext conftest
$ac_exeext
15934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15935 (eval $ac_link) 2>conftest.er1
15937 grep -v '^ *+' conftest.er1
>conftest.err
15939 cat conftest.err
>&5
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); } &&
15942 { ac_try
='test -z "$ac_c_werror_flag"
15943 || test ! -s conftest.err'
15944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15945 (eval $ac_try) 2>&5
15947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15948 (exit $ac_status); }; } &&
15949 { ac_try
='test -s conftest$ac_exeext'
15950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15951 (eval $ac_try) 2>&5
15953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15954 (exit $ac_status); }; }; then
15955 eval "$as_ac_var=yes"
15957 echo "$as_me: failed program was:" >&5
15958 sed 's/^/| /' conftest.
$ac_ext >&5
15960 eval "$as_ac_var=no"
15962 rm -f conftest.err conftest.
$ac_objext \
15963 conftest
$ac_exeext conftest.
$ac_ext
15965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15967 if test `eval echo '${'$as_ac_var'}'` = yes; then
15969 cat >>confdefs.h
<<_ACEOF
15970 #define CRAY_STACKSEG_END $ac_func
15979 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
15980 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
15981 if test "${ac_cv_c_stack_direction+set}" = set; then
15982 echo $ECHO_N "(cached) $ECHO_C" >&6
15984 if test "$cross_compiling" = yes; then
15985 ac_cv_c_stack_direction
=0
15987 cat >conftest.
$ac_ext <<_ACEOF
15990 cat confdefs.h
>>conftest.
$ac_ext
15991 cat >>conftest.
$ac_ext <<_ACEOF
15992 /* end confdefs.h. */
15994 find_stack_direction ()
15996 static char *addr = 0;
16001 return find_stack_direction ();
16004 return (&dummy > addr) ? 1 : -1;
16010 exit (find_stack_direction () < 0);
16013 rm -f conftest
$ac_exeext
16014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16015 (eval $ac_link) 2>&5
16017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16018 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16020 (eval $ac_try) 2>&5
16022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16023 (exit $ac_status); }; }; then
16024 ac_cv_c_stack_direction
=1
16026 echo "$as_me: program exited with status $ac_status" >&5
16027 echo "$as_me: failed program was:" >&5
16028 sed 's/^/| /' conftest.
$ac_ext >&5
16030 ( exit $ac_status )
16031 ac_cv_c_stack_direction
=-1
16033 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16036 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
16037 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
16039 cat >>confdefs.h
<<_ACEOF
16040 #define STACK_DIRECTION $ac_cv_c_stack_direction
16046 if test x
$gcc_no_link = xyes
; then
16047 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset
; then
16048 ac_cv_func_mmap_fixed_mapped
=no
16051 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno
; then
16054 for ac_header
in stdlib.h unistd.h
16056 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16058 echo "$as_me:$LINENO: checking for $ac_header" >&5
16059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16060 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16061 echo $ECHO_N "(cached) $ECHO_C" >&6
16063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16064 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16066 # Is the header compilable?
16067 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16068 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16069 cat >conftest.
$ac_ext <<_ACEOF
16072 cat confdefs.h
>>conftest.
$ac_ext
16073 cat >>conftest.
$ac_ext <<_ACEOF
16074 /* end confdefs.h. */
16075 $ac_includes_default
16076 #include <$ac_header>
16078 rm -f conftest.
$ac_objext
16079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16080 (eval $ac_compile) 2>conftest.er1
16082 grep -v '^ *+' conftest.er1
>conftest.err
16084 cat conftest.err
>&5
16085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16086 (exit $ac_status); } &&
16087 { ac_try
='test -z "$ac_c_werror_flag"
16088 || test ! -s conftest.err'
16089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16090 (eval $ac_try) 2>&5
16092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093 (exit $ac_status); }; } &&
16094 { ac_try
='test -s conftest.$ac_objext'
16095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16096 (eval $ac_try) 2>&5
16098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16099 (exit $ac_status); }; }; then
16100 ac_header_compiler
=yes
16102 echo "$as_me: failed program was:" >&5
16103 sed 's/^/| /' conftest.
$ac_ext >&5
16105 ac_header_compiler
=no
16107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16108 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16109 echo "${ECHO_T}$ac_header_compiler" >&6
16111 # Is the header present?
16112 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16113 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16114 cat >conftest.
$ac_ext <<_ACEOF
16117 cat confdefs.h
>>conftest.
$ac_ext
16118 cat >>conftest.
$ac_ext <<_ACEOF
16119 /* end confdefs.h. */
16120 #include <$ac_header>
16122 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16123 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16125 grep -v '^ *+' conftest.er1
>conftest.err
16127 cat conftest.err
>&5
16128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16129 (exit $ac_status); } >/dev
/null
; then
16130 if test -s conftest.err
; then
16131 ac_cpp_err
=$ac_c_preproc_warn_flag
16132 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16139 if test -z "$ac_cpp_err"; then
16140 ac_header_preproc
=yes
16142 echo "$as_me: failed program was:" >&5
16143 sed 's/^/| /' conftest.
$ac_ext >&5
16145 ac_header_preproc
=no
16147 rm -f conftest.err conftest.
$ac_ext
16148 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16149 echo "${ECHO_T}$ac_header_preproc" >&6
16151 # So? What about this header?
16152 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16154 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16155 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16156 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16157 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16158 ac_header_preproc
=yes
16161 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16162 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16163 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16164 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16165 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16166 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16167 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16168 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16169 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16170 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16171 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16172 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16175 ## ---------------------------------- ##
16176 ## Report this to the libjava lists. ##
16177 ## ---------------------------------- ##
16180 sed "s/^/$as_me: WARNING: /" >&2
16183 echo "$as_me:$LINENO: checking for $ac_header" >&5
16184 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16186 echo $ECHO_N "(cached) $ECHO_C" >&6
16188 eval "$as_ac_Header=\$ac_header_preproc"
16190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16191 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16194 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16195 cat >>confdefs.h
<<_ACEOF
16196 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16204 for ac_func
in getpagesize
16206 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16207 echo "$as_me:$LINENO: checking for $ac_func" >&5
16208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16209 if eval "test \"\${$as_ac_var+set}\" = set"; then
16210 echo $ECHO_N "(cached) $ECHO_C" >&6
16212 if test x
$gcc_no_link = xyes
; then
16213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16215 { (exit 1); exit 1; }; }
16217 cat >conftest.
$ac_ext <<_ACEOF
16220 cat confdefs.h
>>conftest.
$ac_ext
16221 cat >>conftest.
$ac_ext <<_ACEOF
16222 /* end confdefs.h. */
16223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16225 #define $ac_func innocuous_$ac_func
16227 /* System header to define __stub macros and hopefully few prototypes,
16228 which can conflict with char $ac_func (); below.
16229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16230 <limits.h> exists even on freestanding compilers. */
16233 # include <limits.h>
16235 # include <assert.h>
16240 /* Override any gcc2 internal prototype to avoid an error. */
16245 /* We use char because int might match the return type of a gcc2
16246 builtin and then its argument prototype would still apply. */
16248 /* The GNU C library defines this for functions which it implements
16249 to always fail with ENOSYS. Some functions are actually named
16250 something starting with __ and the normal name is an alias. */
16251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16254 char (*f) () = $ac_func;
16263 return f != $ac_func;
16268 rm -f conftest.
$ac_objext conftest
$ac_exeext
16269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16270 (eval $ac_link) 2>conftest.er1
16272 grep -v '^ *+' conftest.er1
>conftest.err
16274 cat conftest.err
>&5
16275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16276 (exit $ac_status); } &&
16277 { ac_try
='test -z "$ac_c_werror_flag"
16278 || test ! -s conftest.err'
16279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16280 (eval $ac_try) 2>&5
16282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16283 (exit $ac_status); }; } &&
16284 { ac_try
='test -s conftest$ac_exeext'
16285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16286 (eval $ac_try) 2>&5
16288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16289 (exit $ac_status); }; }; then
16290 eval "$as_ac_var=yes"
16292 echo "$as_me: failed program was:" >&5
16293 sed 's/^/| /' conftest.
$ac_ext >&5
16295 eval "$as_ac_var=no"
16297 rm -f conftest.err conftest.
$ac_objext \
16298 conftest
$ac_exeext conftest.
$ac_ext
16300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16302 if test `eval echo '${'$as_ac_var'}'` = yes; then
16303 cat >>confdefs.h
<<_ACEOF
16304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16310 echo "$as_me:$LINENO: checking for working mmap" >&5
16311 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
16312 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
16313 echo $ECHO_N "(cached) $ECHO_C" >&6
16315 if test "$cross_compiling" = yes; then
16316 ac_cv_func_mmap_fixed_mapped
=no
16318 cat >conftest.
$ac_ext <<_ACEOF
16321 cat confdefs.h
>>conftest.
$ac_ext
16322 cat >>conftest.
$ac_ext <<_ACEOF
16323 /* end confdefs.h. */
16324 $ac_includes_default
16325 /* malloc might have been renamed as rpl_malloc. */
16328 /* Thanks to Mike Haertel and Jim Avera for this test.
16329 Here is a matrix of mmap possibilities:
16330 mmap private not fixed
16331 mmap private fixed at somewhere currently unmapped
16332 mmap private fixed at somewhere already mapped
16333 mmap shared not fixed
16334 mmap shared fixed at somewhere currently unmapped
16335 mmap shared fixed at somewhere already mapped
16336 For private mappings, we should verify that changes cannot be read()
16337 back from the file, nor mmap's back from the file at a different
16338 address. (There have been systems where private was not correctly
16339 implemented like the infamous i386 svr4.0, and systems where the
16340 VM page cache was not coherent with the file system buffer cache
16341 like early versions of FreeBSD and possibly contemporary NetBSD.)
16342 For shared mappings, we should conversely verify that changes get
16343 propagated back to all the places they're supposed to be.
16345 Grep wants private fixed already mapped.
16346 The main things grep needs to know about mmap are:
16347 * does it exist and is it safe to write into the mmap'd area
16348 * how to use it (BSD variants) */
16351 #include <sys/mman.h>
16353 #if !STDC_HEADERS && !HAVE_STDLIB_H
16357 /* This mess was copied from the GNU getpagesize.h. */
16358 #if !HAVE_GETPAGESIZE
16359 /* Assume that all systems that can run configure have sys/param.h. */
16360 # if !HAVE_SYS_PARAM_H
16361 # define HAVE_SYS_PARAM_H 1
16364 # ifdef _SC_PAGESIZE
16365 # define getpagesize() sysconf(_SC_PAGESIZE)
16366 # else /* no _SC_PAGESIZE */
16367 # if HAVE_SYS_PARAM_H
16368 # include <sys/param.h>
16369 # ifdef EXEC_PAGESIZE
16370 # define getpagesize() EXEC_PAGESIZE
16371 # else /* no EXEC_PAGESIZE */
16373 # define getpagesize() NBPG * CLSIZE
16376 # endif /* no CLSIZE */
16377 # else /* no NBPG */
16379 # define getpagesize() NBPC
16380 # else /* no NBPC */
16382 # define getpagesize() PAGESIZE
16383 # endif /* PAGESIZE */
16384 # endif /* no NBPC */
16385 # endif /* no NBPG */
16386 # endif /* no EXEC_PAGESIZE */
16387 # else /* no HAVE_SYS_PARAM_H */
16388 # define getpagesize() 8192 /* punt totally */
16389 # endif /* no HAVE_SYS_PARAM_H */
16390 # endif /* no _SC_PAGESIZE */
16392 #endif /* no HAVE_GETPAGESIZE */
16397 char *data, *data2, *data3;
16401 pagesize = getpagesize ();
16403 /* First, make a file with some known garbage in it. */
16404 data = (char *) malloc (pagesize);
16407 for (i = 0; i < pagesize; ++i)
16408 *(data + i) = rand ();
16410 fd = creat ("conftest.mmap", 0600);
16413 if (write (fd, data, pagesize) != pagesize)
16417 /* Next, try to mmap the file at a fixed address which already has
16418 something else allocated at it. If we can, also make sure that
16419 we see the same garbage. */
16420 fd = open ("conftest.mmap", O_RDWR);
16423 data2 = (char *) malloc (2 * pagesize);
16426 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
16427 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
16428 MAP_PRIVATE | MAP_FIXED, fd, 0L))
16430 for (i = 0; i < pagesize; ++i)
16431 if (*(data + i) != *(data2 + i))
16434 /* Finally, make sure that changes to the mapped area do not
16435 percolate back to the file as seen by read(). (This is a bug on
16436 some variants of i386 svr4.0.) */
16437 for (i = 0; i < pagesize; ++i)
16438 *(data2 + i) = *(data2 + i) + 1;
16439 data3 = (char *) malloc (pagesize);
16442 if (read (fd, data3, pagesize) != pagesize)
16444 for (i = 0; i < pagesize; ++i)
16445 if (*(data + i) != *(data3 + i))
16451 rm -f conftest
$ac_exeext
16452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16453 (eval $ac_link) 2>&5
16455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16456 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16458 (eval $ac_try) 2>&5
16460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16461 (exit $ac_status); }; }; then
16462 ac_cv_func_mmap_fixed_mapped
=yes
16464 echo "$as_me: program exited with status $ac_status" >&5
16465 echo "$as_me: failed program was:" >&5
16466 sed 's/^/| /' conftest.
$ac_ext >&5
16468 ( exit $ac_status )
16469 ac_cv_func_mmap_fixed_mapped
=no
16471 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16474 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
16475 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
16476 if test $ac_cv_func_mmap_fixed_mapped = yes; then
16478 cat >>confdefs.h
<<\_ACEOF
16479 #define HAVE_MMAP 1
16483 rm -f conftest.mmap
16487 for ac_prog
in perl
16489 # Extract the first word of "$ac_prog", so it can be a program name with args.
16490 set dummy
$ac_prog; ac_word
=$2
16491 echo "$as_me:$LINENO: checking for $ac_word" >&5
16492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16493 if test "${ac_cv_prog_PERL+set}" = set; then
16494 echo $ECHO_N "(cached) $ECHO_C" >&6
16496 if test -n "$PERL"; then
16497 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
16499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16500 for as_dir
in $PATH
16503 test -z "$as_dir" && as_dir
=.
16504 for ac_exec_ext
in '' $ac_executable_extensions; do
16505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16506 ac_cv_prog_PERL
="$ac_prog"
16507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16515 PERL
=$ac_cv_prog_PERL
16516 if test -n "$PERL"; then
16517 echo "$as_me:$LINENO: result: $PERL" >&5
16518 echo "${ECHO_T}$PERL" >&6
16520 echo "$as_me:$LINENO: result: no" >&5
16521 echo "${ECHO_T}no" >&6
16524 test -n "$PERL" && break
16526 test -n "$PERL" || PERL
="false"
16530 SIGNAL_HANDLER_AUX
=
16534 SIGNAL_HANDLER
=include
/i386-signal.h
16536 sparc
*-sun-solaris*)
16537 SIGNAL_HANDLER
=include
/sparc-signal.h
16540 # SYSDEP_SOURCES=sysdep/ia64.c
16541 # test -d sysdep || mkdir sysdep
16544 SIGNAL_HANDLER
=include
/pa-signal.h
16547 SIGNAL_HANDLER
=include
/dwarf2-signal.h
16550 SIGNAL_HANDLER
=include
/powerpc-signal.h
16553 SIGNAL_HANDLER
=include
/dwarf2-signal.h
16556 SIGNAL_HANDLER
=include
/s390-signal.h
16559 SIGNAL_HANDLER
=include
/x86_64-signal.h
16560 SIGNAL_HANDLER_AUX
=include
/i386-signal.h
16563 SIGNAL_HANDLER
=include
/dwarf2-signal.h
16566 SIGNAL_HANDLER
=include
/sh-signal.h
16569 SIGNAL_HANDLER
=include
/win32-signal.h
16572 SIGNAL_HANDLER
=include
/mips-signal.h
16575 SIGNAL_HANDLER
=include
/darwin-signal.h
16578 SIGNAL_HANDLER
=include
/default-signal.h
16582 # If we're using sjlj exceptions, forget what we just learned.
16583 if test "$enable_sjlj_exceptions" = yes; then
16584 SIGNAL_HANDLER
=include
/default-signal.h
16585 SIGNAL_HANDLER_AUX
=
16590 if test -z "$SIGNAL_HANDLER_AUX"; then
16591 SIGNAL_HANDLER_AUX
=$SIGNAL_HANDLER
16594 ac_config_links
="$ac_config_links include/java-signal.h:$SIGNAL_HANDLER include/java-signal-aux.h:$SIGNAL_HANDLER_AUX"
16597 if test "${multilib}" = "yes"; then
16598 multilib_arg
="--enable-multilib"
16603 # See if we support thread-local storage.
16605 # Check whether --enable-tls or --disable-tls was given.
16606 if test "${enable_tls+set}" = set; then
16607 enableval
="$enable_tls"
16609 case "$enableval" in
16611 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
16612 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
16613 { (exit 1); exit 1; }; } ;;
16620 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
16621 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
16622 if test "${have_tls+set}" = set; then
16623 echo $ECHO_N "(cached) $ECHO_C" >&6
16626 if test "$cross_compiling" = yes; then
16627 cat >conftest.
$ac_ext <<_ACEOF
16630 rm -f conftest.
$ac_objext
16631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16632 (eval $ac_compile) 2>conftest.er1
16634 grep -v '^ *+' conftest.er1
>conftest.err
16636 cat conftest.err
>&5
16637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16638 (exit $ac_status); } &&
16639 { ac_try
='test -z "$ac_c_werror_flag"
16640 || test ! -s conftest.err'
16641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16642 (eval $ac_try) 2>&5
16644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16645 (exit $ac_status); }; } &&
16646 { ac_try
='test -s conftest.$ac_objext'
16647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16648 (eval $ac_try) 2>&5
16650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16651 (exit $ac_status); }; }; then
16654 echo "$as_me: failed program was:" >&5
16655 sed 's/^/| /' conftest.
$ac_ext >&5
16659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16662 cat >conftest.
$ac_ext <<_ACEOF
16663 __thread int a; int b; int main() { return a = b; }
16665 rm -f conftest
$ac_exeext
16666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16667 (eval $ac_link) 2>&5
16669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16670 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16672 (eval $ac_try) 2>&5
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); }; }; then
16676 save_LDFLAGS
="$LDFLAGS"
16677 LDFLAGS
="-static $LDFLAGS"
16678 if test "$cross_compiling" = yes; then
16679 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16680 See \`config.log' for more details." >&5
16681 echo "$as_me: error: cannot run test program while cross compiling
16682 See \`config.log' for more details." >&2;}
16683 { (exit 1); exit 1; }; }
16685 cat >conftest.
$ac_ext <<_ACEOF
16686 __thread int a; int b; int main() { return a = b; }
16688 rm -f conftest
$ac_exeext
16689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16690 (eval $ac_link) 2>&5
16692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16693 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16695 (eval $ac_try) 2>&5
16697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698 (exit $ac_status); }; }; then
16701 echo "$as_me: program exited with status $ac_status" >&5
16702 echo "$as_me: failed program was:" >&5
16703 sed 's/^/| /' conftest.
$ac_ext >&5
16705 ( exit $ac_status )
16708 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16710 LDFLAGS
="$save_LDFLAGS"
16712 echo "$as_me: program exited with status $ac_status" >&5
16713 echo "$as_me: failed program was:" >&5
16714 sed 's/^/| /' conftest.
$ac_ext >&5
16716 ( exit $ac_status )
16719 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16722 echo "$as_me:$LINENO: result: $have_tls" >&5
16723 echo "${ECHO_T}$have_tls" >&6
16724 if test "$enable_tls $have_tls" = "yes yes"; then
16726 cat >>confdefs.h
<<\_ACEOF
16733 here
=`${PWDCMD-pwd}`
16736 # We get this from the environment.
16739 ac_config_files
="$ac_config_files Makefile libgcj.pc libgcj.spec libgcj-test.spec gcj/Makefile include/Makefile testsuite/Makefile"
16742 ac_config_commands
="$ac_config_commands default"
16745 cat >confcache
<<\_ACEOF
16746 # This file is a shell script that caches the results of configure
16747 # tests run on this system so they can be shared between configure
16748 # scripts and configure runs, see configure's option --config-cache.
16749 # It is not useful on other systems. If it contains results you don't
16750 # want to keep, you may remove or edit it.
16752 # config.status only pays attention to the cache file if you give it
16753 # the --recheck option to rerun configure.
16755 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16756 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16757 # following values.
16761 # The following way of writing the cache mishandles newlines in values,
16762 # but we know of no workaround that is simple, portable, and efficient.
16763 # So, don't put newlines in cache variables' values.
16764 # Ultrix sh set writes to stderr and can't be redirected directly,
16765 # and sets the high bit in the cache file unless we assign to the vars.
16768 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16770 # `set' does not quote correctly, so add quotes (double-quote
16771 # substitution turns \\\\ into \\, and sed turns \\ into \).
16774 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16777 # `set' quotes correctly as required by POSIX, so do not add quotes.
16779 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
16786 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16788 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16790 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
16791 if test -w $cache_file; then
16792 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
16793 cat confcache
>$cache_file
16795 echo "not updating unwritable cache $cache_file"
16800 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16801 # Let make expand exec_prefix.
16802 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16804 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16805 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16806 # trailing colons and then remove the whole line if VPATH becomes empty
16807 # (actually we leave an empty line to preserve line numbers).
16808 if test "x$srcdir" = x.
; then
16809 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
16810 s/:*\$(srcdir):*/:/;
16811 s/:*\${srcdir}:*/:/;
16813 s/^\([^=]*=[ ]*\):*/\1/;
16819 DEFS
=-DHAVE_CONFIG_H
16823 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16824 # 1. Remove the extension, and $U if already installed.
16825 ac_i
=`echo "$ac_i" |
16826 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
16828 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
16829 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
16831 LIBOBJS
=$ac_libobjs
16833 LTLIBOBJS
=$ac_ltlibobjs
16836 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16837 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
16838 Usually this means the macro was only invoked conditionally." >&5
16839 echo "$as_me: error: conditional \"AMDEP\" was never defined.
16840 Usually this means the macro was only invoked conditionally." >&2;}
16841 { (exit 1); exit 1; }; }
16843 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16844 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16845 Usually this means the macro was only invoked conditionally." >&5
16846 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16847 Usually this means the macro was only invoked conditionally." >&2;}
16848 { (exit 1); exit 1; }; }
16850 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16851 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
16852 Usually this means the macro was only invoked conditionally." >&5
16853 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
16854 Usually this means the macro was only invoked conditionally." >&2;}
16855 { (exit 1); exit 1; }; }
16857 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16858 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
16859 Usually this means the macro was only invoked conditionally." >&5
16860 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
16861 Usually this means the macro was only invoked conditionally." >&2;}
16862 { (exit 1); exit 1; }; }
16864 if test -z "${XLIB_AWT_TRUE}" && test -z "${XLIB_AWT_FALSE}"; then
16865 { { echo "$as_me:$LINENO: error: conditional \"XLIB_AWT\" was never defined.
16866 Usually this means the macro was only invoked conditionally." >&5
16867 echo "$as_me: error: conditional \"XLIB_AWT\" was never defined.
16868 Usually this means the macro was only invoked conditionally." >&2;}
16869 { (exit 1); exit 1; }; }
16871 if test -z "${GTK_AWT_TRUE}" && test -z "${GTK_AWT_FALSE}"; then
16872 { { echo "$as_me:$LINENO: error: conditional \"GTK_AWT\" was never defined.
16873 Usually this means the macro was only invoked conditionally." >&5
16874 echo "$as_me: error: conditional \"GTK_AWT\" was never defined.
16875 Usually this means the macro was only invoked conditionally." >&2;}
16876 { (exit 1); exit 1; }; }
16878 if test -z "${QT_AWT_TRUE}" && test -z "${QT_AWT_FALSE}"; then
16879 { { echo "$as_me:$LINENO: error: conditional \"QT_AWT\" was never defined.
16880 Usually this means the macro was only invoked conditionally." >&5
16881 echo "$as_me: error: conditional \"QT_AWT\" was never defined.
16882 Usually this means the macro was only invoked conditionally." >&2;}
16883 { (exit 1); exit 1; }; }
16885 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
16886 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
16887 Usually this means the macro was only invoked conditionally." >&5
16888 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
16889 Usually this means the macro was only invoked conditionally." >&2;}
16890 { (exit 1); exit 1; }; }
16892 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
16893 { { echo "$as_me:$LINENO: error: conditional \"TESTSUBDIR\" was never defined.
16894 Usually this means the macro was only invoked conditionally." >&5
16895 echo "$as_me: error: conditional \"TESTSUBDIR\" was never defined.
16896 Usually this means the macro was only invoked conditionally." >&2;}
16897 { (exit 1); exit 1; }; }
16899 if test -z "${JAVA_HOME_SET_TRUE}" && test -z "${JAVA_HOME_SET_FALSE}"; then
16900 { { echo "$as_me:$LINENO: error: conditional \"JAVA_HOME_SET\" was never defined.
16901 Usually this means the macro was only invoked conditionally." >&5
16902 echo "$as_me: error: conditional \"JAVA_HOME_SET\" was never defined.
16903 Usually this means the macro was only invoked conditionally." >&2;}
16904 { (exit 1); exit 1; }; }
16906 if test -z "${USING_WIN32_PLATFORM_TRUE}" && test -z "${USING_WIN32_PLATFORM_FALSE}"; then
16907 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
16908 Usually this means the macro was only invoked conditionally." >&5
16909 echo "$as_me: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
16910 Usually this means the macro was only invoked conditionally." >&2;}
16911 { (exit 1); exit 1; }; }
16913 if test -z "${USING_POSIX_PLATFORM_TRUE}" && test -z "${USING_POSIX_PLATFORM_FALSE}"; then
16914 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
16915 Usually this means the macro was only invoked conditionally." >&5
16916 echo "$as_me: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
16917 Usually this means the macro was only invoked conditionally." >&2;}
16918 { (exit 1); exit 1; }; }
16920 if test -z "${USING_DARWIN_CRT_TRUE}" && test -z "${USING_DARWIN_CRT_FALSE}"; then
16921 { { echo "$as_me:$LINENO: error: conditional \"USING_DARWIN_CRT\" was never defined.
16922 Usually this means the macro was only invoked conditionally." >&5
16923 echo "$as_me: error: conditional \"USING_DARWIN_CRT\" was never defined.
16924 Usually this means the macro was only invoked conditionally." >&2;}
16925 { (exit 1); exit 1; }; }
16927 if test -z "${GTK_CAIRO_TRUE}" && test -z "${GTK_CAIRO_FALSE}"; then
16928 { { echo "$as_me:$LINENO: error: conditional \"GTK_CAIRO\" was never defined.
16929 Usually this means the macro was only invoked conditionally." >&5
16930 echo "$as_me: error: conditional \"GTK_CAIRO\" was never defined.
16931 Usually this means the macro was only invoked conditionally." >&2;}
16932 { (exit 1); exit 1; }; }
16934 if test -z "${USING_BOEHMGC_TRUE}" && test -z "${USING_BOEHMGC_FALSE}"; then
16935 { { echo "$as_me:$LINENO: error: conditional \"USING_BOEHMGC\" was never defined.
16936 Usually this means the macro was only invoked conditionally." >&5
16937 echo "$as_me: error: conditional \"USING_BOEHMGC\" was never defined.
16938 Usually this means the macro was only invoked conditionally." >&2;}
16939 { (exit 1); exit 1; }; }
16941 if test -z "${USING_NOGC_TRUE}" && test -z "${USING_NOGC_FALSE}"; then
16942 { { echo "$as_me:$LINENO: error: conditional \"USING_NOGC\" was never defined.
16943 Usually this means the macro was only invoked conditionally." >&5
16944 echo "$as_me: error: conditional \"USING_NOGC\" was never defined.
16945 Usually this means the macro was only invoked conditionally." >&2;}
16946 { (exit 1); exit 1; }; }
16948 if test -z "${USING_POSIX_THREADS_TRUE}" && test -z "${USING_POSIX_THREADS_FALSE}"; then
16949 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_THREADS\" was never defined.
16950 Usually this means the macro was only invoked conditionally." >&5
16951 echo "$as_me: error: conditional \"USING_POSIX_THREADS\" was never defined.
16952 Usually this means the macro was only invoked conditionally." >&2;}
16953 { (exit 1); exit 1; }; }
16955 if test -z "${USING_WIN32_THREADS_TRUE}" && test -z "${USING_WIN32_THREADS_FALSE}"; then
16956 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_THREADS\" was never defined.
16957 Usually this means the macro was only invoked conditionally." >&5
16958 echo "$as_me: error: conditional \"USING_WIN32_THREADS\" was never defined.
16959 Usually this means the macro was only invoked conditionally." >&2;}
16960 { (exit 1); exit 1; }; }
16962 if test -z "${USING_NO_THREADS_TRUE}" && test -z "${USING_NO_THREADS_FALSE}"; then
16963 { { echo "$as_me:$LINENO: error: conditional \"USING_NO_THREADS\" was never defined.
16964 Usually this means the macro was only invoked conditionally." >&5
16965 echo "$as_me: error: conditional \"USING_NO_THREADS\" was never defined.
16966 Usually this means the macro was only invoked conditionally." >&2;}
16967 { (exit 1); exit 1; }; }
16969 if test -z "${USING_GCC_TRUE}" && test -z "${USING_GCC_FALSE}"; then
16970 { { echo "$as_me:$LINENO: error: conditional \"USING_GCC\" was never defined.
16971 Usually this means the macro was only invoked conditionally." >&5
16972 echo "$as_me: error: conditional \"USING_GCC\" was never defined.
16973 Usually this means the macro was only invoked conditionally." >&2;}
16974 { (exit 1); exit 1; }; }
16976 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
16977 { { echo "$as_me:$LINENO: error: conditional \"NATIVE\" was never defined.
16978 Usually this means the macro was only invoked conditionally." >&5
16979 echo "$as_me: error: conditional \"NATIVE\" was never defined.
16980 Usually this means the macro was only invoked conditionally." >&2;}
16981 { (exit 1); exit 1; }; }
16983 if test -z "${NEEDS_DATA_START_TRUE}" && test -z "${NEEDS_DATA_START_FALSE}"; then
16984 { { echo "$as_me:$LINENO: error: conditional \"NEEDS_DATA_START\" was never defined.
16985 Usually this means the macro was only invoked conditionally." >&5
16986 echo "$as_me: error: conditional \"NEEDS_DATA_START\" was never defined.
16987 Usually this means the macro was only invoked conditionally." >&2;}
16988 { (exit 1); exit 1; }; }
16991 : ${CONFIG_STATUS=./config.status}
16992 ac_clean_files_save
=$ac_clean_files
16993 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16994 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
16995 echo "$as_me: creating $CONFIG_STATUS" >&6;}
16996 cat >$CONFIG_STATUS <<_ACEOF
16998 # Generated by $as_me.
16999 # Run this file to recreate the current configuration.
17000 # Compiler output produced by configure, useful for debugging
17001 # configure, is in config.log if it exists.
17004 ac_cs_recheck=false
17006 SHELL=\${CONFIG_SHELL-$SHELL}
17009 cat >>$CONFIG_STATUS <<\_ACEOF
17010 ## --------------------- ##
17011 ## M4sh Initialization. ##
17012 ## --------------------- ##
17014 # Be Bourne compatible
17015 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17018 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17019 # is contrary to our usage. Disable this feature.
17020 alias -g '${1+"$@"}'='"$@"'
17021 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
17024 DUALCASE
=1; export DUALCASE
# for MKS sh
17026 # Support unset when possible.
17027 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
17034 # Work around bugs in pre-3.0 UWIN ksh.
17035 $as_unset ENV MAIL MAILPATH
17042 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
17043 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
17044 LC_TELEPHONE LC_TIME
17046 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
17047 eval $as_var=C
; export $as_var
17053 # Required to use basename.
17054 if expr a
: '\(a\)' >/dev
/null
2>&1; then
17060 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
17061 as_basename
=basename
17067 # Name of the executable.
17068 as_me
=`$as_basename "$0" ||
17069 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17070 X"$0" : 'X\(//\)$' \| \
17071 X"$0" : 'X\(/\)$' \| \
17072 . : '\(.\)' 2>/dev/null ||
17074 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
17075 /^X\/\(\/\/\)$/{ s//\1/; q; }
17076 /^X\/\(\/\).*/{ s//\1/; q; }
17080 # PATH needs CR, and LINENO needs CR and PATH.
17081 # Avoid depending upon Character Ranges.
17082 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17083 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17084 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17085 as_cr_digits
='0123456789'
17086 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17088 # The user is always right.
17089 if test "${PATH_SEPARATOR+set}" != set; then
17090 echo "#! /bin/sh" >conf$$.sh
17091 echo "exit 0" >>conf$$.sh
17093 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
17102 as_lineno_1
=$LINENO
17103 as_lineno_2
=$LINENO
17104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
17105 test "x$as_lineno_1" != "x$as_lineno_2" &&
17106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
17107 # Find who we are. Look in the path if we contain no path at all
17110 *[\\/]* ) as_myself
=$0 ;;
17111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17112 for as_dir
in $PATH
17115 test -z "$as_dir" && as_dir
=.
17116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
17121 # We did not find ourselves, most probably we were run as `sh COMMAND'
17122 # in which case we are not to be found in the path.
17123 if test "x$as_myself" = x
; then
17126 if test ! -f "$as_myself"; then
17127 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
17128 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
17129 { (exit 1); exit 1; }; }
17131 case $CONFIG_SHELL in
17133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
17137 test -z "$as_dir" && as_dir
=.
17138 for as_base
in sh bash ksh sh5
; do
17141 if ("$as_dir/$as_base" -c '
17142 as_lineno_1=$LINENO
17143 as_lineno_2=$LINENO
17144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
17145 test "x$as_lineno_1" != "x$as_lineno_2" &&
17146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
17147 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
17148 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
17149 CONFIG_SHELL
=$as_dir/$as_base
17150 export CONFIG_SHELL
17151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
17159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17160 # uniformly replaced by the line number. The first 'sed' inserts a
17161 # line-number line before each line; the second 'sed' does the real
17162 # work. The second script uses 'N' to pair each line-number line
17163 # with the numbered line, and appends trailing '-' during
17164 # substitution so that $LINENO is not a special case at line end.
17165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
17167 sed '=' <$as_myself |
17172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
17175 s,^['$as_cr_digits']*\n,,
17176 ' >$as_me.lineno
&&
17177 chmod +x
$as_me.lineno ||
17178 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
17179 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
17180 { (exit 1); exit 1; }; }
17182 # Don't try to exec as it changes $[0], causing all sort of problems
17183 # (the dirname of $[0] is not the place where we might find the
17184 # original and so on. Autoconf is especially sensible to this).
17186 # Exit status is that of the last command.
17191 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
17192 *c
*,-n*) ECHO_N
= ECHO_C
='
17194 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
17195 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
17198 if expr a
: '\(a\)' >/dev
/null
2>&1; then
17204 rm -f conf$$ conf$$.exe conf$$.
file
17206 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17207 # We could just check for DJGPP; but this test a) works b) is more generic
17208 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
17209 if test -f conf$$.exe
; then
17210 # Don't use ln at all; we don't have any links
17215 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17220 rm -f conf$$ conf$$.exe conf$$.
file
17222 if mkdir
-p .
2>/dev
/null
; then
17225 test -d .
/-p && rmdir .
/-p
17229 as_executable_p
="test -f"
17231 # Sed expression to map a string onto a valid CPP name.
17232 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17234 # Sed expression to map a string onto a valid variable name.
17235 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17239 # We need space, tab and new line, in precisely that order.
17249 # Open the log real soon, to keep \$[0] and so on meaningful, and to
17250 # report actual input values of CONFIG_FILES etc. instead of their
17251 # values after options handling. Logging --version etc. is OK.
17255 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17256 ## Running $as_me. ##
17261 This file was extended by libjava $as_me version-unused, which was
17262 generated by GNU Autoconf 2.59. Invocation command line was
17264 CONFIG_FILES = $CONFIG_FILES
17265 CONFIG_HEADERS = $CONFIG_HEADERS
17266 CONFIG_LINKS = $CONFIG_LINKS
17267 CONFIG_COMMANDS = $CONFIG_COMMANDS
17271 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
17275 # Files that config.status was made for.
17276 if test -n "$ac_config_files"; then
17277 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
17280 if test -n "$ac_config_headers"; then
17281 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
17284 if test -n "$ac_config_links"; then
17285 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
17288 if test -n "$ac_config_commands"; then
17289 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
17292 cat >>$CONFIG_STATUS <<\_ACEOF
17295 \`$as_me' instantiates files from templates according to the
17296 current configuration.
17298 Usage: $0 [OPTIONS] [FILE]...
17300 -h, --help print this help, then exit
17301 -V, --version print version number, then exit
17302 -q, --quiet do not print progress messages
17303 -d, --debug don't remove temporary files
17304 --recheck update $as_me by reconfiguring in the same conditions
17305 --file=FILE[:TEMPLATE]
17306 instantiate the configuration file FILE
17307 --header=FILE[:TEMPLATE]
17308 instantiate the configuration header FILE
17310 Configuration files:
17313 Configuration headers:
17316 Configuration links:
17319 Configuration commands:
17322 Report bugs to <bug-autoconf@gnu.org>."
17325 cat >>$CONFIG_STATUS <<_ACEOF
17327 libjava config.status version-unused
17328 configured by $0, generated by GNU Autoconf 2.59,
17329 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
17331 Copyright (C) 2003 Free Software Foundation, Inc.
17332 This config.status script is free software; the Free Software Foundation
17333 gives unlimited permission to copy, distribute and modify it."
17338 cat >>$CONFIG_STATUS <<\_ACEOF
17339 # If no file are specified by the user, then we need to provide default
17340 # value. By we need to know if files were specified by the user.
17346 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
17347 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
17355 *) # This is not an option, so the user has probably given explicit
17358 ac_need_defaults
=false
;;
17362 # Handling of the options.
17364 cat >>$CONFIG_STATUS <<\_ACEOF
17365 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17367 --version |
--vers* |
-V )
17368 echo "$ac_cs_version"; exit 0 ;;
17370 # Conflict between --help and --header
17371 { { echo "$as_me:$LINENO: error: ambiguous option: $1
17372 Try \`$0 --help' for more information." >&5
17373 echo "$as_me: error: ambiguous option: $1
17374 Try \`$0 --help' for more information." >&2;}
17375 { (exit 1); exit 1; }; };;
17376 --help |
--hel |
-h )
17377 echo "$ac_cs_usage"; exit 0 ;;
17378 --debug |
--d* |
-d )
17380 --file |
--fil |
--fi |
--f )
17382 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
17383 ac_need_defaults
=false
;;
17384 --header |
--heade |
--head |
--hea )
17386 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
17387 ac_need_defaults
=false
;;
17388 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17389 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17392 # This is an error.
17393 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
17394 Try \`$0 --help' for more information." >&5
17395 echo "$as_me: error: unrecognized option: $1
17396 Try \`$0 --help' for more information." >&2;}
17397 { (exit 1); exit 1; }; } ;;
17399 *) ac_config_targets
="$ac_config_targets $1" ;;
17405 ac_configure_extra_args
=
17407 if $ac_cs_silent; then
17409 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17413 cat >>$CONFIG_STATUS <<_ACEOF
17414 if \$ac_cs_recheck; then
17415 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
17416 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17421 cat >>$CONFIG_STATUS <<_ACEOF
17423 # INIT-COMMANDS section.
17426 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17430 with_multisubdir=${with_multisubdir}
17431 ac_configure_args="${multilib_arg} ${ac_configure_args}"
17432 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17433 libgcj_basedir=${libgcj_basedir}
17436 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
17443 cat >>$CONFIG_STATUS <<\_ACEOF
17444 for ac_config_target
in $ac_config_targets
17446 case "$ac_config_target" in
17447 # Handling of arguments.
17448 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17449 "libgcj.pc" ) CONFIG_FILES
="$CONFIG_FILES libgcj.pc" ;;
17450 "libgcj.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj.spec" ;;
17451 "libgcj-test.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj-test.spec" ;;
17452 "gcj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gcj/Makefile" ;;
17453 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
17454 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
17455 "include/platform.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/platform.h:include/$PLATFORMH" ;;
17456 "java/io/natFile.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc" ;;
17457 "java/lang/ConcreteProcess.java" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/ConcreteProcess.java:java/lang/${PLATFORM}Process.java" ;;
17458 "java/lang/natConcreteProcess.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc" ;;
17459 "java/net/natInetAddress.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natInetAddress.cc:java/net/natInetAddress${PLATFORMNET}.cc" ;;
17460 "java/net/natVMNetworkInterface.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc" ;;
17461 "gnu/java/net/natPlainSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc" ;;
17462 "gnu/java/net/natPlainDatagramSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc" ;;
17463 "gnu/java/nio/natPipeImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natPipeImpl.cc:gnu/java/nio/natPipeImpl${PLATFORM}.cc" ;;
17464 "gnu/java/nio/natSelectorImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natSelectorImpl.cc:gnu/java/nio/natSelectorImpl${PLATFORM}.cc" ;;
17465 "gnu/java/nio/channels/natFileChannelImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc" ;;
17466 "include/java-gc.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-gc.h:include/$GCHDR" ;;
17467 "include/java-threads.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-threads.h:include/$THREADH" ;;
17468 "sysdep/locks.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/locks.h:sysdep/$sysdeps_dir/locks.h" ;;
17469 "sysdep/backtrace.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/backtrace.h:$fallback_backtrace_h" ;;
17470 "sysdep/descriptor.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/descriptor.h:$descriptor_h" ;;
17471 "include/java-signal.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal.h:$SIGNAL_HANDLER" ;;
17472 "include/java-signal-aux.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal-aux.h:$SIGNAL_HANDLER_AUX" ;;
17473 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17474 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
17475 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
17476 "gcj/libgcj-config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS gcj/libgcj-config.h" ;;
17477 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
17478 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
17479 { (exit 1); exit 1; }; };;
17483 # If the user did not use the arguments to specify the items to instantiate,
17484 # then the envvar interface is used. Set only those that are not.
17485 # We use the long form for the default assignment because of an extremely
17486 # bizarre bug on SunOS 4.1.3.
17487 if $ac_need_defaults; then
17488 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17489 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17490 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
17491 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17494 # Have a temporary directory for convenience. Make it in the build tree
17495 # simply because there is no reason to put it here, and in addition,
17496 # creating and moving files from /tmp can sometimes cause problems.
17497 # Create a temporary directory, and hook for its removal unless debugging.
17500 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
17501 trap '{ (exit 1); exit 1; }' 1 2 13 15
17504 # Create a (secure) tmp directory for tmp files.
17507 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
17508 test -n "$tmp" && test -d "$tmp"
17511 tmp
=.
/confstat$$
-$RANDOM
17512 (umask 077 && mkdir
$tmp)
17515 echo "$me: cannot create a temporary directory in ." >&2
17516 { (exit 1); exit 1; }
17521 cat >>$CONFIG_STATUS <<_ACEOF
17524 # CONFIG_FILES section.
17527 # No need to generate the scripts if there are no CONFIG_FILES.
17528 # This happens for instance when ./config.status config.h
17529 if test -n "\$CONFIG_FILES"; then
17530 # Protect against being on the right side of a sed subst in config.status.
17531 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
17532 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
17533 s,@SHELL@,$SHELL,;t t
17534 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
17535 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
17536 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
17537 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
17538 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
17539 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
17540 s,@exec_prefix@,$exec_prefix,;t t
17541 s,@prefix@,$prefix,;t t
17542 s,@program_transform_name@,$program_transform_name,;t t
17543 s,@bindir@,$bindir,;t t
17544 s,@sbindir@,$sbindir,;t t
17545 s,@libexecdir@,$libexecdir,;t t
17546 s,@datadir@,$datadir,;t t
17547 s,@sysconfdir@,$sysconfdir,;t t
17548 s,@sharedstatedir@,$sharedstatedir,;t t
17549 s,@localstatedir@,$localstatedir,;t t
17550 s,@libdir@,$libdir,;t t
17551 s,@includedir@,$includedir,;t t
17552 s,@oldincludedir@,$oldincludedir,;t t
17553 s,@infodir@,$infodir,;t t
17554 s,@mandir@,$mandir,;t t
17555 s,@build_alias@,$build_alias,;t t
17556 s,@host_alias@,$host_alias,;t t
17557 s,@target_alias@,$target_alias,;t t
17558 s,@DEFS@,$DEFS,;t t
17559 s,@ECHO_C@,$ECHO_C,;t t
17560 s,@ECHO_N@,$ECHO_N,;t t
17561 s,@ECHO_T@,$ECHO_T,;t t
17562 s,@LIBS@,$LIBS,;t t
17563 s,@build@,$build,;t t
17564 s,@build_cpu@,$build_cpu,;t t
17565 s,@build_vendor@,$build_vendor,;t t
17566 s,@build_os@,$build_os,;t t
17567 s,@build_subdir@,$build_subdir,;t t
17568 s,@host_subdir@,$host_subdir,;t t
17569 s,@target_subdir@,$target_subdir,;t t
17570 s,@libgcj_basedir@,$libgcj_basedir,;t t
17571 s,@host@,$host,;t t
17572 s,@host_cpu@,$host_cpu,;t t
17573 s,@host_vendor@,$host_vendor,;t t
17574 s,@host_os@,$host_os,;t t
17575 s,@target@,$target,;t t
17576 s,@target_cpu@,$target_cpu,;t t
17577 s,@target_vendor@,$target_vendor,;t t
17578 s,@target_os@,$target_os,;t t
17579 s,@target_noncanonical@,$target_noncanonical,;t t
17580 s,@LN_S@,$LN_S,;t t
17581 s,@mkinstalldirs@,$mkinstalldirs,;t t
17583 s,@ac_ct_CC@,$ac_ct_CC,;t t
17584 s,@EXEEXT@,$EXEEXT,;t t
17585 s,@OBJEXT@,$OBJEXT,;t t
17587 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
17588 s,@CFLAGS@,$CFLAGS,;t t
17589 s,@CXXFLAGS@,$CXXFLAGS,;t t
17590 s,@LDFLAGS@,$LDFLAGS,;t t
17591 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
17592 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
17593 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
17594 s,@CYGPATH_W@,$CYGPATH_W,;t t
17595 s,@PACKAGE@,$PACKAGE,;t t
17596 s,@VERSION@,$VERSION,;t t
17597 s,@ACLOCAL@,$ACLOCAL,;t t
17598 s,@AUTOCONF@,$AUTOCONF,;t t
17599 s,@AUTOMAKE@,$AUTOMAKE,;t t
17600 s,@AUTOHEADER@,$AUTOHEADER,;t t
17601 s,@MAKEINFO@,$MAKEINFO,;t t
17602 s,@install_sh@,$install_sh,;t t
17603 s,@STRIP@,$STRIP,;t t
17604 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
17605 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
17606 s,@mkdir_p@,$mkdir_p,;t t
17608 s,@SET_MAKE@,$SET_MAKE,;t t
17609 s,@am__leading_dot@,$am__leading_dot,;t t
17610 s,@AMTAR@,$AMTAR,;t t
17611 s,@am__tar@,$am__tar,;t t
17612 s,@am__untar@,$am__untar,;t t
17613 s,@DEPDIR@,$DEPDIR,;t t
17614 s,@am__include@,$am__include,;t t
17615 s,@am__quote@,$am__quote,;t t
17616 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
17617 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
17618 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
17619 s,@CCDEPMODE@,$CCDEPMODE,;t t
17620 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
17621 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
17622 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
17623 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
17624 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
17626 s,@ac_ct_AS@,$ac_ct_AS,;t t
17628 s,@ac_ct_AR@,$ac_ct_AR,;t t
17629 s,@RANLIB@,$RANLIB,;t t
17630 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
17631 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
17632 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
17633 s,@MAINT@,$MAINT,;t t
17634 s,@LIBGCJ_CFLAGS@,$LIBGCJ_CFLAGS,;t t
17635 s,@LIBGCJ_CXXFLAGS@,$LIBGCJ_CXXFLAGS,;t t
17636 s,@LIBGCJ_JAVAFLAGS@,$LIBGCJ_JAVAFLAGS,;t t
17637 s,@LIBGCJ_LD_SYMBOLIC@,$LIBGCJ_LD_SYMBOLIC,;t t
17638 s,@LIBGCJDEBUG@,$LIBGCJDEBUG,;t t
17639 s,@TOOLKIT@,$TOOLKIT,;t t
17640 s,@XLIB_AWT_TRUE@,$XLIB_AWT_TRUE,;t t
17641 s,@XLIB_AWT_FALSE@,$XLIB_AWT_FALSE,;t t
17642 s,@GTK_AWT_TRUE@,$GTK_AWT_TRUE,;t t
17643 s,@GTK_AWT_FALSE@,$GTK_AWT_FALSE,;t t
17644 s,@QT_AWT_TRUE@,$QT_AWT_TRUE,;t t
17645 s,@QT_AWT_FALSE@,$QT_AWT_FALSE,;t t
17646 s,@GCJH@,$GCJH,;t t
17648 s,@INCLTDL@,$INCLTDL,;t t
17649 s,@LIBLTDL@,$LIBLTDL,;t t
17650 s,@DIRLTDL@,$DIRLTDL,;t t
17651 s,@LIBTOOL@,$LIBTOOL,;t t
17652 s,@CXXCPP@,$CXXCPP,;t t
17653 s,@CPPFLAGS@,$CPPFLAGS,;t t
17655 s,@GCJFLAGS@,$GCJFLAGS,;t t
17656 s,@GCJDEPMODE@,$GCJDEPMODE,;t t
17657 s,@am__fastdepGCJ_TRUE@,$am__fastdepGCJ_TRUE,;t t
17658 s,@am__fastdepGCJ_FALSE@,$am__fastdepGCJ_FALSE,;t t
17659 s,@subdirs@,$subdirs,;t t
17660 s,@TESTSUBDIR_TRUE@,$TESTSUBDIR_TRUE,;t t
17661 s,@TESTSUBDIR_FALSE@,$TESTSUBDIR_FALSE,;t t
17662 s,@JAVA_HOME_SET_TRUE@,$JAVA_HOME_SET_TRUE,;t t
17663 s,@JAVA_HOME_SET_FALSE@,$JAVA_HOME_SET_FALSE,;t t
17664 s,@JAVA_HOME@,$JAVA_HOME,;t t
17665 s,@INTERPRETER@,$INTERPRETER,;t t
17666 s,@LIBFFI@,$LIBFFI,;t t
17667 s,@LIBFFIINCS@,$LIBFFIINCS,;t t
17668 s,@PLATFORM_INNER_NAT_HDRS@,$PLATFORM_INNER_NAT_HDRS,;t t
17670 s,@EGREP@,$EGREP,;t t
17671 s,@USING_WIN32_PLATFORM_TRUE@,$USING_WIN32_PLATFORM_TRUE,;t t
17672 s,@USING_WIN32_PLATFORM_FALSE@,$USING_WIN32_PLATFORM_FALSE,;t t
17673 s,@USING_POSIX_PLATFORM_TRUE@,$USING_POSIX_PLATFORM_TRUE,;t t
17674 s,@USING_POSIX_PLATFORM_FALSE@,$USING_POSIX_PLATFORM_FALSE,;t t
17675 s,@USING_DARWIN_CRT_TRUE@,$USING_DARWIN_CRT_TRUE,;t t
17676 s,@USING_DARWIN_CRT_FALSE@,$USING_DARWIN_CRT_FALSE,;t t
17677 s,@SYSTEMSPEC@,$SYSTEMSPEC,;t t
17678 s,@LIBGCJTESTSPEC@,$LIBGCJTESTSPEC,;t t
17679 s,@ZLIBSPEC@,$ZLIBSPEC,;t t
17680 s,@ZLIBTESTSPEC@,$ZLIBTESTSPEC,;t t
17681 s,@X_CFLAGS@,$X_CFLAGS,;t t
17682 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
17683 s,@X_LIBS@,$X_LIBS,;t t
17684 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
17685 s,@GTK_CAIRO_TRUE@,$GTK_CAIRO_TRUE,;t t
17686 s,@GTK_CAIRO_FALSE@,$GTK_CAIRO_FALSE,;t t
17687 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
17688 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
17689 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
17690 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
17691 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
17692 s,@extra_ldflags_libjava@,$extra_ldflags_libjava,;t t
17693 s,@GCLIBS@,$GCLIBS,;t t
17694 s,@GCINCS@,$GCINCS,;t t
17695 s,@GCDEPS@,$GCDEPS,;t t
17696 s,@GCSPEC@,$GCSPEC,;t t
17697 s,@JC1GCSPEC@,$JC1GCSPEC,;t t
17698 s,@GCTESTSPEC@,$GCTESTSPEC,;t t
17699 s,@USING_BOEHMGC_TRUE@,$USING_BOEHMGC_TRUE,;t t
17700 s,@USING_BOEHMGC_FALSE@,$USING_BOEHMGC_FALSE,;t t
17701 s,@USING_NOGC_TRUE@,$USING_NOGC_TRUE,;t t
17702 s,@USING_NOGC_FALSE@,$USING_NOGC_FALSE,;t t
17703 s,@THREADLIBS@,$THREADLIBS,;t t
17704 s,@THREADINCS@,$THREADINCS,;t t
17705 s,@THREADDEPS@,$THREADDEPS,;t t
17706 s,@THREADSPEC@,$THREADSPEC,;t t
17707 s,@THREADLDFLAGS@,$THREADLDFLAGS,;t t
17708 s,@THREADCXXFLAGS@,$THREADCXXFLAGS,;t t
17709 s,@USING_POSIX_THREADS_TRUE@,$USING_POSIX_THREADS_TRUE,;t t
17710 s,@USING_POSIX_THREADS_FALSE@,$USING_POSIX_THREADS_FALSE,;t t
17711 s,@USING_WIN32_THREADS_TRUE@,$USING_WIN32_THREADS_TRUE,;t t
17712 s,@USING_WIN32_THREADS_FALSE@,$USING_WIN32_THREADS_FALSE,;t t
17713 s,@USING_NO_THREADS_TRUE@,$USING_NO_THREADS_TRUE,;t t
17714 s,@USING_NO_THREADS_FALSE@,$USING_NO_THREADS_FALSE,;t t
17715 s,@HASH_SYNC_SPEC@,$HASH_SYNC_SPEC,;t t
17716 s,@USING_GCC_TRUE@,$USING_GCC_TRUE,;t t
17717 s,@USING_GCC_FALSE@,$USING_GCC_FALSE,;t t
17718 s,@LIBICONV@,$LIBICONV,;t t
17719 s,@LTLIBICONV@,$LTLIBICONV,;t t
17720 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
17721 s,@GTK_LIBS@,$GTK_LIBS,;t t
17722 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
17723 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
17724 s,@LIBART_CFLAGS@,$LIBART_CFLAGS,;t t
17725 s,@LIBART_LIBS@,$LIBART_LIBS,;t t
17726 s,@CLASSPATH_SEPARATOR@,$CLASSPATH_SEPARATOR,;t t
17727 s,@ac_ct_GCJ@,$ac_ct_GCJ,;t t
17728 s,@ZLIBS@,$ZLIBS,;t t
17729 s,@SYS_ZLIBS@,$SYS_ZLIBS,;t t
17730 s,@ZINCS@,$ZINCS,;t t
17731 s,@DIVIDESPEC@,$DIVIDESPEC,;t t
17732 s,@CHECKREFSPEC@,$CHECKREFSPEC,;t t
17733 s,@EXCEPTIONSPEC@,$EXCEPTIONSPEC,;t t
17734 s,@BACKTRACESPEC@,$BACKTRACESPEC,;t t
17735 s,@IEEESPEC@,$IEEESPEC,;t t
17736 s,@NATIVE_TRUE@,$NATIVE_TRUE,;t t
17737 s,@NATIVE_FALSE@,$NATIVE_FALSE,;t t
17738 s,@NEEDS_DATA_START_TRUE@,$NEEDS_DATA_START_TRUE,;t t
17739 s,@NEEDS_DATA_START_FALSE@,$NEEDS_DATA_START_FALSE,;t t
17740 s,@GCC_UNWIND_INCLUDE@,$GCC_UNWIND_INCLUDE,;t t
17741 s,@toolexecdir@,$toolexecdir,;t t
17742 s,@toolexecmainlibdir@,$toolexecmainlibdir,;t t
17743 s,@toolexeclibdir@,$toolexeclibdir,;t t
17744 s,@dbexecdir@,$dbexecdir,;t t
17745 s,@GCJVERSION@,$GCJVERSION,;t t
17746 s,@gxx_include_dir@,$gxx_include_dir,;t t
17747 s,@libstdcxx_incdir@,$libstdcxx_incdir,;t t
17748 s,@ALLOCA@,$ALLOCA,;t t
17749 s,@PERL@,$PERL,;t t
17750 s,@SYSDEP_SOURCES@,$SYSDEP_SOURCES,;t t
17751 s,@here@,$here,;t t
17752 s,@LIBOBJS@,$LIBOBJS,;t t
17753 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
17758 cat >>$CONFIG_STATUS <<\_ACEOF
17759 # Split the substitutions into bite-sized pieces for seds with
17760 # small command number limits, like on Digital OSF/1 and HP-UX.
17761 ac_max_sed_lines
=48
17762 ac_sed_frag
=1 # Number of current file.
17763 ac_beg
=1 # First line for current file.
17764 ac_end
=$ac_max_sed_lines # Line after last line for current file.
17767 while $ac_more_lines; do
17768 if test $ac_beg -gt 1; then
17769 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
17771 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
17773 if test ! -s $tmp/subs.frag
; then
17774 ac_more_lines
=false
17776 # The purpose of the label and of the branching condition is to
17777 # speed up the sed processing (if there are no `@' at all, there
17778 # is no need to browse any of the substitutions).
17779 # These are the two extra sed commands mentioned above.
17781 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
17782 if test -z "$ac_sed_cmds"; then
17783 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
17785 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
17787 ac_sed_frag
=`expr $ac_sed_frag + 1`
17789 ac_end
=`expr $ac_end + $ac_max_sed_lines`
17792 if test -z "$ac_sed_cmds"; then
17795 fi # test -n "$CONFIG_FILES"
17798 cat >>$CONFIG_STATUS <<\_ACEOF
17799 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
17800 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17802 - |
*:- |
*:-:* ) # input from stdin
17804 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17805 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17806 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17807 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17808 * ) ac_file_in
=$ac_file.
in ;;
17811 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
17812 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
17813 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17814 X"$ac_file" : 'X\(//\)[^/]' \| \
17815 X"$ac_file" : 'X\(//\)$' \| \
17816 X"$ac_file" : 'X\(/\)' \| \
17817 . : '\(.\)' 2>/dev/null ||
17819 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17820 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17821 /^X\(\/\/\)$/{ s//\1/; q; }
17822 /^X\(\/\).*/{ s//\1/; q; }
17824 { if $as_mkdir_p; then
17829 while test ! -d "$as_dir"; do
17830 as_dirs
="$as_dir $as_dirs"
17831 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17832 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17833 X"$as_dir" : 'X\(//\)[^/]' \| \
17834 X"$as_dir" : 'X\(//\)$' \| \
17835 X"$as_dir" : 'X\(/\)' \| \
17836 . : '\(.\)' 2>/dev/null ||
17838 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17839 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17840 /^X\(\/\/\)$/{ s//\1/; q; }
17841 /^X\(\/\).*/{ s//\1/; q; }
17844 test ! -n "$as_dirs" || mkdir
$as_dirs
17845 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17846 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17847 { (exit 1); exit 1; }; }; }
17851 if test "$ac_dir" != .
; then
17852 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17853 # A "../" for each directory in $ac_dir_suffix.
17854 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17856 ac_dir_suffix
= ac_top_builddir
=
17860 .
) # No --srcdir option. We are building in place.
17862 if test -z "$ac_top_builddir"; then
17865 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
17867 [\\/]* | ?
:[\\/]* ) # Absolute path.
17868 ac_srcdir
=$srcdir$ac_dir_suffix;
17869 ac_top_srcdir
=$srcdir ;;
17870 *) # Relative path.
17871 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
17872 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
17875 # Do not use `cd foo && pwd` to compute absolute paths, because
17876 # the directories may not exist.
17878 .
) ac_abs_builddir
="$ac_dir";;
17881 .
) ac_abs_builddir
=`pwd`;;
17882 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
17883 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
17886 case $ac_abs_builddir in
17887 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17889 case ${ac_top_builddir}.
in
17890 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
17891 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17892 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
17895 case $ac_abs_builddir in
17896 .
) ac_abs_srcdir
=$ac_srcdir;;
17899 .
) ac_abs_srcdir
=$ac_abs_builddir;;
17900 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
17901 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
17904 case $ac_abs_builddir in
17905 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
17907 case $ac_top_srcdir in
17908 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
17909 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
17910 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
17916 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17917 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
17920 if test x
"$ac_file" != x-
; then
17921 { echo "$as_me:$LINENO: creating $ac_file" >&5
17922 echo "$as_me: creating $ac_file" >&6;}
17925 # Let's still pretend it is `configure' which instantiates (i.e., don't
17926 # use $as_me), people would be surprised to read:
17927 # /* config.h. Generated by config.status. */
17928 if test x
"$ac_file" = x-
; then
17931 configure_input
="$ac_file. "
17933 configure_input
=$configure_input"Generated from `echo $ac_file_in |
17934 sed 's,.*/,,'` by configure."
17936 # First look for the input files in the build tree, otherwise in the
17938 ac_file_inputs
=`IFS=:
17939 for f in $ac_file_in; do
17941 -) echo $tmp/stdin ;;
17943 # Absolute (can't be DOS-style, as IFS=:)
17944 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17945 echo "$as_me: error: cannot find input file: $f" >&2;}
17946 { (exit 1); exit 1; }; }
17949 if test -f "$f"; then
17952 elif test -f "$srcdir/$f"; then
17957 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17958 echo "$as_me: error: cannot find input file: $f" >&2;}
17959 { (exit 1); exit 1; }; }
17962 done` ||
{ (exit 1); exit 1; }
17964 cat >>$CONFIG_STATUS <<_ACEOF
17968 cat >>$CONFIG_STATUS <<\_ACEOF
17970 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17971 s
,@configure_input@
,$configure_input,;t t
17972 s
,@srcdir@
,$ac_srcdir,;t t
17973 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
17974 s
,@top_srcdir@
,$ac_top_srcdir,;t t
17975 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
17976 s
,@builddir@
,$ac_builddir,;t t
17977 s
,@abs_builddir@
,$ac_abs_builddir,;t t
17978 s
,@top_builddir@
,$ac_top_builddir,;t t
17979 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
17980 s
,@INSTALL@
,$ac_INSTALL,;t t
17981 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
17983 if test x"$ac_file" != x-; then
17984 mv $tmp/out $ac_file
17992 cat >>$CONFIG_STATUS <<\_ACEOF
17995 # CONFIG_HEADER section.
17998 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
17999 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18001 # ac_d sets the value in "#define NAME VALUE" lines.
18002 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18003 ac_dB
='[ ].*$,\1#\2'
18006 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18007 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18008 ac_uB
='$,\1#\2define\3'
18012 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
18013 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18015 - |
*:- |
*:-:* ) # input from stdin
18017 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18018 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18019 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18020 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18021 * ) ac_file_in
=$ac_file.
in ;;
18024 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
18025 echo "$as_me: creating $ac_file" >&6;}
18027 # First look for the input files in the build tree, otherwise in the
18029 ac_file_inputs
=`IFS=:
18030 for f in $ac_file_in; do
18032 -) echo $tmp/stdin ;;
18034 # Absolute (can't be DOS-style, as IFS=:)
18035 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18036 echo "$as_me: error: cannot find input file: $f" >&2;}
18037 { (exit 1); exit 1; }; }
18038 # Do quote $f, to prevent DOS paths from being IFS'd.
18041 if test -f "$f"; then
18044 elif test -f "$srcdir/$f"; then
18049 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18050 echo "$as_me: error: cannot find input file: $f" >&2;}
18051 { (exit 1); exit 1; }; }
18054 done` ||
{ (exit 1); exit 1; }
18055 # Remove the trailing spaces.
18056 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
18060 # Transform confdefs.h into two sed scripts, `conftest.defines' and
18061 # `conftest.undefs', that substitutes the proper values into
18062 # config.h.in to produce config.h. The first handles `#define'
18063 # templates, and the second `#undef' templates.
18064 # And first: Protect against being on the right side of a sed subst in
18065 # config.status. Protect against being in an unquoted here document
18066 # in config.status.
18067 rm -f conftest.defines conftest.undefs
18068 # Using a here document instead of a string reduces the quoting nightmare.
18069 # Putting comments in sed scripts is not portable.
18071 # `end' is used to avoid that the second main sed command (meant for
18072 # 0-ary CPP macros) applies to n-ary macro definitions.
18073 # See the Autoconf documentation for `clear'.
18074 cat >confdef2sed.
sed <<\_ACEOF
18079 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
18081 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
18084 # If some macros were called several times there might be several times
18085 # the same #defines, which is useless. Nevertheless, we may not want to
18086 # sort them, since we want the *last* AC-DEFINE to be honored.
18087 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
18088 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
18089 rm -f confdef2sed.sed
18091 # This sed command replaces #undef with comments. This is necessary, for
18092 # example, in the case of _POSIX_SOURCE, which is predefined and required
18093 # on some systems where configure will not decide to define it.
18094 cat >>conftest.undefs <<\_ACEOF
18095 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
18098 # Break up conftest.defines because some shells have a limit on the size
18099 # of here documents, and old seds have small limits too (100 cmds).
18100 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
18101 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
18102 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
18103 echo ' :' >>$CONFIG_STATUS
18104 rm -f conftest.tail
18105 while grep . conftest.defines >/dev/null
18107 # Write a limited-size here document to $tmp/defines.sed.
18108 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
18109 # Speed up: don't consider the non `#define' lines.
18110 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
18111 # Work around the forget-to-reset-the-flag bug.
18112 echo 't clr' >>$CONFIG_STATUS
18113 echo ': clr' >>$CONFIG_STATUS
18114 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
18116 sed -f $tmp/defines.sed $tmp/in >$tmp/out
18118 mv $tmp/out $tmp/in
18120 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
18121 rm -f conftest.defines
18122 mv conftest.
tail conftest.defines
18124 rm -f conftest.defines
18125 echo ' fi # grep' >>$CONFIG_STATUS
18126 echo >>$CONFIG_STATUS
18128 # Break up conftest.undefs because some shells have a limit on the size
18129 # of here documents, and old seds have small limits too (100 cmds).
18130 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
18131 rm -f conftest.
tail
18132 while grep . conftest.undefs
>/dev
/null
18134 # Write a limited-size here document to $tmp/undefs.sed.
18135 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
18136 # Speed up: don't consider the non
`#undef'
18137 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
18138 # Work around the forget-to-reset-the-flag bug.
18139 echo 't clr' >>$CONFIG_STATUS
18140 echo ': clr' >>$CONFIG_STATUS
18141 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
18143 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
18145 mv $tmp/out $tmp/in
18147 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
18148 rm -f conftest.undefs
18149 mv conftest.tail conftest.undefs
18151 rm -f conftest.undefs
18153 cat >>$CONFIG_STATUS <<\_ACEOF
18154 # Let's still pretend it is `configure
' which instantiates (i.e., don't
18155 # use $as_me), people would be surprised to read:
18156 # /* config.h. Generated by config.status. */
18157 if test x
"$ac_file" = x-
; then
18158 echo "/* Generated by configure. */" >$tmp/config.h
18160 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
18162 cat $tmp/in >>$tmp/config.h
18164 if test x
"$ac_file" != x-
; then
18165 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
18166 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
18167 echo "$as_me: $ac_file is unchanged" >&6;}
18169 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
18170 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18171 X"$ac_file" : 'X\(//\)[^/]' \| \
18172 X"$ac_file" : 'X\(//\)$' \| \
18173 X"$ac_file" : 'X\(/\)' \| \
18174 . : '\(.\)' 2>/dev/null ||
18176 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18177 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18178 /^X\(\/\/\)$/{ s//\1/; q; }
18179 /^X\(\/\).*/{ s//\1/; q; }
18181 { if $as_mkdir_p; then
18186 while test ! -d "$as_dir"; do
18187 as_dirs
="$as_dir $as_dirs"
18188 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18189 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18190 X"$as_dir" : 'X\(//\)[^/]' \| \
18191 X"$as_dir" : 'X\(//\)$' \| \
18192 X"$as_dir" : 'X\(/\)' \| \
18193 . : '\(.\)' 2>/dev/null ||
18195 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18196 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18197 /^X\(\/\/\)$/{ s//\1/; q; }
18198 /^X\(\/\).*/{ s//\1/; q; }
18201 test ! -n "$as_dirs" || mkdir
$as_dirs
18202 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18203 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18204 { (exit 1); exit 1; }; }; }
18207 mv $tmp/config.h
$ac_file
18211 rm -f $tmp/config.h
18213 # Compute $ac_file's index in $config_headers.
18215 for _am_header
in $config_headers :; do
18216 case $_am_header in
18217 $ac_file |
$ac_file:* )
18220 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18223 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
18224 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18225 X$ac_file : 'X\(//\)[^/]' \| \
18226 X$ac_file : 'X\(//\)$' \| \
18227 X$ac_file : 'X\(/\)' \| \
18228 . : '\(.\)' 2>/dev/null ||
18230 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18231 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18232 /^X\(\/\/\)$/{ s//\1/; q; }
18233 /^X\(\/\).*/{ s//\1/; q; }
18234 s/.*/./; q'`/stamp-h
$_am_stamp_count
18237 cat >>$CONFIG_STATUS <<\_ACEOF
18240 # CONFIG_LINKS section.
18243 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
18244 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
18245 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18247 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
18248 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
18250 if test ! -r $srcdir/$ac_source; then
18251 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
18252 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
18253 { (exit 1); exit 1; }; }
18257 # Make relative symlinks.
18258 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
18259 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18260 X"$ac_dest" : 'X\(//\)[^/]' \| \
18261 X"$ac_dest" : 'X\(//\)$' \| \
18262 X"$ac_dest" : 'X\(/\)' \| \
18263 . : '\(.\)' 2>/dev/null ||
18265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18266 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18267 /^X\(\/\/\)$/{ s//\1/; q; }
18268 /^X\(\/\).*/{ s//\1/; q; }
18270 { if $as_mkdir_p; then
18271 mkdir
-p "$ac_dest_dir"
18273 as_dir
="$ac_dest_dir"
18275 while test ! -d "$as_dir"; do
18276 as_dirs
="$as_dir $as_dirs"
18277 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18278 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18279 X"$as_dir" : 'X\(//\)[^/]' \| \
18280 X"$as_dir" : 'X\(//\)$' \| \
18281 X"$as_dir" : 'X\(/\)' \| \
18282 . : '\(.\)' 2>/dev/null ||
18284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18285 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18286 /^X\(\/\/\)$/{ s//\1/; q; }
18287 /^X\(\/\).*/{ s//\1/; q; }
18290 test ! -n "$as_dirs" || mkdir
$as_dirs
18291 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
18292 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
18293 { (exit 1); exit 1; }; }; }
18297 if test "$ac_dest_dir" != .
; then
18298 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
18299 # A "../" for each directory in $ac_dir_suffix.
18300 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18302 ac_dir_suffix
= ac_top_builddir
=
18306 .
) # No --srcdir option. We are building in place.
18308 if test -z "$ac_top_builddir"; then
18311 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18313 [\\/]* | ?
:[\\/]* ) # Absolute path.
18314 ac_srcdir
=$srcdir$ac_dir_suffix;
18315 ac_top_srcdir
=$srcdir ;;
18316 *) # Relative path.
18317 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18318 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18321 # Do not use `cd foo && pwd` to compute absolute paths, because
18322 # the directories may not exist.
18324 .
) ac_abs_builddir
="$ac_dest_dir";;
18326 case "$ac_dest_dir" in
18327 .
) ac_abs_builddir
=`pwd`;;
18328 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
18329 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
18332 case $ac_abs_builddir in
18333 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18335 case ${ac_top_builddir}.
in
18336 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
18337 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18338 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
18341 case $ac_abs_builddir in
18342 .
) ac_abs_srcdir
=$ac_srcdir;;
18345 .
) ac_abs_srcdir
=$ac_abs_builddir;;
18346 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
18347 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
18350 case $ac_abs_builddir in
18351 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
18353 case $ac_top_srcdir in
18354 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
18355 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
18356 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
18362 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
18363 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
18366 # Try a symlink, then a hard link, then a copy.
18367 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
18368 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
18369 cp -p $srcdir/$ac_source $ac_dest ||
18370 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
18371 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
18372 { (exit 1); exit 1; }; }
18375 cat >>$CONFIG_STATUS <<\_ACEOF
18378 # CONFIG_COMMANDS section.
18380 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
18381 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
18382 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18383 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
18384 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18385 X"$ac_dest" : 'X\(//\)[^/]' \| \
18386 X"$ac_dest" : 'X\(//\)$' \| \
18387 X"$ac_dest" : 'X\(/\)' \| \
18388 . : '\(.\)' 2>/dev/null ||
18390 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18391 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18392 /^X\(\/\/\)$/{ s//\1/; q; }
18393 /^X\(\/\).*/{ s//\1/; q; }
18395 { if $as_mkdir_p; then
18400 while test ! -d "$as_dir"; do
18401 as_dirs
="$as_dir $as_dirs"
18402 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18403 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18404 X"$as_dir" : 'X\(//\)[^/]' \| \
18405 X"$as_dir" : 'X\(//\)$' \| \
18406 X"$as_dir" : 'X\(/\)' \| \
18407 . : '\(.\)' 2>/dev/null ||
18409 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18410 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18411 /^X\(\/\/\)$/{ s//\1/; q; }
18412 /^X\(\/\).*/{ s//\1/; q; }
18415 test ! -n "$as_dirs" || mkdir
$as_dirs
18416 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18417 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18418 { (exit 1); exit 1; }; }; }
18422 if test "$ac_dir" != .
; then
18423 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18424 # A "../" for each directory in $ac_dir_suffix.
18425 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18427 ac_dir_suffix
= ac_top_builddir
=
18431 .
) # No --srcdir option. We are building in place.
18433 if test -z "$ac_top_builddir"; then
18436 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18438 [\\/]* | ?
:[\\/]* ) # Absolute path.
18439 ac_srcdir
=$srcdir$ac_dir_suffix;
18440 ac_top_srcdir
=$srcdir ;;
18441 *) # Relative path.
18442 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18443 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18446 # Do not use `cd foo && pwd` to compute absolute paths, because
18447 # the directories may not exist.
18449 .
) ac_abs_builddir
="$ac_dir";;
18452 .
) ac_abs_builddir
=`pwd`;;
18453 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
18454 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
18457 case $ac_abs_builddir in
18458 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18460 case ${ac_top_builddir}.
in
18461 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
18462 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18463 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
18466 case $ac_abs_builddir in
18467 .
) ac_abs_srcdir
=$ac_srcdir;;
18470 .
) ac_abs_srcdir
=$ac_abs_builddir;;
18471 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
18472 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
18475 case $ac_abs_builddir in
18476 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
18478 case $ac_top_srcdir in
18479 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
18480 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
18481 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
18486 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
18487 echo "$as_me: executing $ac_dest commands" >&6;}
18489 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
18490 # Strip MF so we end up with the name of the file.
18491 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18492 # Check whether this is an Automake generated Makefile or not.
18493 # We used to match only the files named `Makefile.in', but
18494 # some people rename them; so instead we look at the file content.
18495 # Grep'ing the first line is not enough: some people post-process
18496 # each Makefile.in and add a new line on top of each file to say so.
18497 # So let's grep whole file.
18498 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
18499 dirpart
=`(dirname "$mf") 2>/dev/null ||
18500 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18501 X"$mf" : 'X\(//\)[^/]' \| \
18502 X"$mf" : 'X\(//\)$' \| \
18503 X"$mf" : 'X\(/\)' \| \
18504 . : '\(.\)' 2>/dev/null ||
18506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18507 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18508 /^X\(\/\/\)$/{ s//\1/; q; }
18509 /^X\(\/\).*/{ s//\1/; q; }
18514 # Extract the definition of DEPDIR, am__include, and am__quote
18515 # from the Makefile without running `make'.
18516 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18517 test -z "$DEPDIR" && continue
18518 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18519 test -z "am__include" && continue
18520 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18521 # When using ansi2knr, U may be empty or an underscore; expand it
18522 U
=`sed -n 's/^U = //p' < "$mf"`
18523 # Find all dependency output files, they are included files with
18524 # $(DEPDIR) in their names. We invoke sed twice because it is the
18525 # simplest approach to changing $(DEPDIR) to its actual value in the
18527 for file in `sed -n "
18528 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18529 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18530 # Make sure the directory exists.
18531 test -f "$dirpart/$file" && continue
18532 fdir
=`(dirname "$file") 2>/dev/null ||
18533 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18534 X"$file" : 'X\(//\)[^/]' \| \
18535 X"$file" : 'X\(//\)$' \| \
18536 X"$file" : 'X\(/\)' \| \
18537 . : '\(.\)' 2>/dev/null ||
18539 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18540 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18541 /^X\(\/\/\)$/{ s//\1/; q; }
18542 /^X\(\/\).*/{ s//\1/; q; }
18544 { if $as_mkdir_p; then
18545 mkdir
-p $dirpart/$fdir
18547 as_dir
=$dirpart/$fdir
18549 while test ! -d "$as_dir"; do
18550 as_dirs
="$as_dir $as_dirs"
18551 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18552 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18553 X"$as_dir" : 'X\(//\)[^/]' \| \
18554 X"$as_dir" : 'X\(//\)$' \| \
18555 X"$as_dir" : 'X\(/\)' \| \
18556 . : '\(.\)' 2>/dev/null ||
18558 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18559 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18560 /^X\(\/\/\)$/{ s//\1/; q; }
18561 /^X\(\/\).*/{ s//\1/; q; }
18564 test ! -n "$as_dirs" || mkdir
$as_dirs
18565 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
18566 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
18567 { (exit 1); exit 1; }; }; }
18569 # echo "creating $dirpart/$file"
18570 echo '# dummy' > "$dirpart/$file"
18574 default
) # Only add multilib support code if we just rebuilt top-level Makefile.
18575 case " $CONFIG_FILES " in
18577 LD
="${ORIGINAL_LD_FOR_MULTILIBS}"
18578 ac_file
=Makefile .
${libgcj_basedir}/..
/config-ml.
in
18581 for ac_multi_file
in $CONFIG_FILES; do
18582 case $ac_multi_file in
18584 grep "^MULTI[^ ]* =" Makefile
>> "$ac_multi_file" ;;
18592 cat >>$CONFIG_STATUS <<\_ACEOF
18594 { (exit 0); exit 0; }
18596 chmod +x
$CONFIG_STATUS
18597 ac_clean_files
=$ac_clean_files_save
18600 # configure is writing to config.log, and then calls config.status.
18601 # config.status does its own redirection, appending to config.log.
18602 # Unfortunately, on DOS this fails, as config.log is still kept open
18603 # by configure, so config.status won't be able to write to it; its
18604 # output is simply discarded. So we exec the FD to /dev/null,
18605 # effectively closing config.log, so it can be properly (re)opened and
18606 # appended to by config.status. When coming back to configure, we
18607 # need to make the FD available again.
18608 if test "$no_create" != yes; then
18610 ac_config_status_args
=
18611 test "$silent" = yes &&
18612 ac_config_status_args
="$ac_config_status_args --quiet"
18614 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18616 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18617 # would make configure fail if this is the last instruction.
18618 $ac_cs_success ||
{ (exit 1); exit 1; }
18622 # CONFIG_SUBDIRS section.
18624 if test "$no_recursion" != yes; then
18626 # Remove --cache-file and --srcdir arguments so they do not pile up.
18627 ac_sub_configure_args
=
18629 for ac_arg
in $ac_configure_args; do
18630 if test -n "$ac_prev"; then
18635 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
18636 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
18637 ac_prev
=cache_file
;;
18638 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
18639 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
18642 --config-cache |
-C)
18644 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
18646 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
18648 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
18650 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
18652 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
18656 # Always prepend --prefix to ensure using the same prefix
18657 # in subdir configurations.
18658 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
18661 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
18663 # Do not complain, so a configure script can configure whichever
18664 # parts of a large source tree are present.
18665 test -d $srcdir/$ac_dir ||
continue
18667 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
18668 echo "$as_me: configuring in $ac_dir" >&6;}
18669 { if $as_mkdir_p; then
18674 while test ! -d "$as_dir"; do
18675 as_dirs
="$as_dir $as_dirs"
18676 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18677 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18678 X"$as_dir" : 'X\(//\)[^/]' \| \
18679 X"$as_dir" : 'X\(//\)$' \| \
18680 X"$as_dir" : 'X\(/\)' \| \
18681 . : '\(.\)' 2>/dev/null ||
18683 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18684 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18685 /^X\(\/\/\)$/{ s//\1/; q; }
18686 /^X\(\/\).*/{ s//\1/; q; }
18689 test ! -n "$as_dirs" || mkdir
$as_dirs
18690 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18691 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18692 { (exit 1); exit 1; }; }; }
18696 if test "$ac_dir" != .
; then
18697 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18698 # A "../" for each directory in $ac_dir_suffix.
18699 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18701 ac_dir_suffix
= ac_top_builddir
=
18705 .
) # No --srcdir option. We are building in place.
18707 if test -z "$ac_top_builddir"; then
18710 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18712 [\\/]* | ?
:[\\/]* ) # Absolute path.
18713 ac_srcdir
=$srcdir$ac_dir_suffix;
18714 ac_top_srcdir
=$srcdir ;;
18715 *) # Relative path.
18716 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18717 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18720 # Do not use `cd foo && pwd` to compute absolute paths, because
18721 # the directories may not exist.
18723 .
) ac_abs_builddir
="$ac_dir";;
18726 .
) ac_abs_builddir
=`pwd`;;
18727 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
18728 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
18731 case $ac_abs_builddir in
18732 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18734 case ${ac_top_builddir}.
in
18735 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
18736 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18737 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
18740 case $ac_abs_builddir in
18741 .
) ac_abs_srcdir
=$ac_srcdir;;
18744 .
) ac_abs_srcdir
=$ac_abs_builddir;;
18745 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
18746 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
18749 case $ac_abs_builddir in
18750 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
18752 case $ac_top_srcdir in
18753 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
18754 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
18755 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
18762 # Check for guested configure; otherwise get Cygnus style configure.
18763 if test -f $ac_srcdir/configure.gnu
; then
18764 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
18765 elif test -f $ac_srcdir/configure
; then
18766 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
18767 elif test -f $ac_srcdir/configure.
in; then
18768 ac_sub_configure
=$ac_configure
18770 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
18771 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
18775 # The recursion is here.
18776 if test -n "$ac_sub_configure"; then
18777 # Make the cache file name correct relative to the subdirectory.
18778 case $cache_file in
18779 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
18780 *) # Relative path.
18781 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
18784 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
18785 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
18786 # The eval makes quoting arguments work.
18787 eval $ac_sub_configure $ac_sub_configure_args \
18788 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
18789 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
18790 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
18791 { (exit 1); exit 1; }; }