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 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
9992 if test "x${disable_dladdr}" = "xyes"; then
9997 cat >>confdefs.h
<<\_ACEOF
9998 #define HAVE_DLADDR 1
10005 if test x
"$build" = x
"$host"; then
10006 echo "$as_me:$LINENO: checking for /proc/self/exe" >&5
10007 echo $ECHO_N "checking for /proc/self/exe... $ECHO_C" >&6
10008 if test "${ac_cv_file__proc_self_exe+set}" = set; then
10009 echo $ECHO_N "(cached) $ECHO_C" >&6
10011 test "$cross_compiling" = yes &&
10012 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
10013 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
10014 { (exit 1); exit 1; }; }
10015 if test -r "/proc/self/exe"; then
10016 ac_cv_file__proc_self_exe
=yes
10018 ac_cv_file__proc_self_exe
=no
10021 echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_exe" >&5
10022 echo "${ECHO_T}$ac_cv_file__proc_self_exe" >&6
10023 if test $ac_cv_file__proc_self_exe = yes; then
10025 cat >>confdefs.h
<<_ACEOF
10026 #define HAVE__PROC_SELF_EXE 1
10031 cat >>confdefs.h
<<\_ACEOF
10032 #define HAVE_PROC_SELF_EXE 1
10041 cat >>confdefs.h
<<\_ACEOF
10042 #define HAVE_PROC_SELF_EXE 1
10050 if test "X$prefix" = "XNONE"; then
10051 acl_final_prefix
="$ac_default_prefix"
10053 acl_final_prefix
="$prefix"
10055 if test "X$exec_prefix" = "XNONE"; then
10056 acl_final_exec_prefix
='${prefix}'
10058 acl_final_exec_prefix
="$exec_prefix"
10060 acl_save_prefix
="$prefix"
10061 prefix
="$acl_final_prefix"
10062 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
10063 prefix
="$acl_save_prefix"
10066 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10067 if test "${with_gnu_ld+set}" = set; then
10068 withval
="$with_gnu_ld"
10069 test "$withval" = no || with_gnu_ld
=yes
10073 # Prepare PATH_SEPARATOR.
10074 # The user is always right.
10075 if test "${PATH_SEPARATOR+set}" != set; then
10076 echo "#! /bin/sh" >conf$$.sh
10077 echo "exit 0" >>conf$$.sh
10079 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10087 if test "$GCC" = yes; then
10088 # Check if gcc -print-prog-name=ld gives a path.
10089 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
10090 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
10093 # gcc leaves a trailing carriage return which upsets mingw
10094 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10096 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10099 # Accept absolute paths.
10100 [\\/]* |
[A-Za-z
]:[\\/]*)
10101 re_direlt
='/[^/][^/]*/\.\./'
10102 # Canonicalize the path of ld
10103 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
10104 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10105 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
10107 test -z "$LD" && LD
="$ac_prog"
10110 # If it fails, then pretend we aren't using GCC.
10114 # If it is relative, then search for the first ld in PATH.
10115 with_gnu_ld
=unknown
10118 elif test "$with_gnu_ld" = yes; then
10119 echo "$as_me:$LINENO: checking for GNU ld" >&5
10120 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10122 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10123 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10125 if test "${acl_cv_path_LD+set}" = set; then
10126 echo $ECHO_N "(cached) $ECHO_C" >&6
10128 if test -z "$LD"; then
10129 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
10130 for ac_dir
in $PATH; do
10131 test -z "$ac_dir" && ac_dir
=.
10132 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10133 acl_cv_path_LD
="$ac_dir/$ac_prog"
10134 # Check to see if the program is GNU ld. I'd rather use --version,
10135 # but apparently some GNU ld's only accept -v.
10136 # Break only if it was the GNU/non-GNU ld that we prefer.
10137 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
10138 test "$with_gnu_ld" != no
&& break
10140 test "$with_gnu_ld" != yes && break
10146 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
10150 LD
="$acl_cv_path_LD"
10151 if test -n "$LD"; then
10152 echo "$as_me:$LINENO: result: $LD" >&5
10153 echo "${ECHO_T}$LD" >&6
10155 echo "$as_me:$LINENO: result: no" >&5
10156 echo "${ECHO_T}no" >&6
10158 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10159 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10160 { (exit 1); exit 1; }; }
10161 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10162 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10163 if test "${acl_cv_prog_gnu_ld+set}" = set; then
10164 echo $ECHO_N "(cached) $ECHO_C" >&6
10166 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10167 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
10168 acl_cv_prog_gnu_ld
=yes
10170 acl_cv_prog_gnu_ld
=no
10173 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
10174 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
10175 with_gnu_ld
=$acl_cv_prog_gnu_ld
10179 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
10180 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
10181 if test "${acl_cv_rpath+set}" = set; then
10182 echo $ECHO_N "(cached) $ECHO_C" >&6
10185 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
10186 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
10188 rm -f .
/conftest.sh
10192 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
10193 echo "${ECHO_T}$acl_cv_rpath" >&6
10195 libext
="$acl_cv_libext"
10196 shlibext
="$acl_cv_shlibext"
10197 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
10198 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
10199 hardcode_direct
="$acl_cv_hardcode_direct"
10200 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
10201 # Check whether --enable-rpath or --disable-rpath was given.
10202 if test "${enable_rpath+set}" = set; then
10203 enableval
="$enable_rpath"
10217 acl_save_prefix
="$prefix"
10218 prefix
="$acl_final_prefix"
10219 acl_save_exec_prefix
="$exec_prefix"
10220 exec_prefix
="$acl_final_exec_prefix"
10222 eval additional_includedir
=\"$includedir\"
10223 eval additional_libdir
=\"$libdir\"
10225 exec_prefix
="$acl_save_exec_prefix"
10226 prefix
="$acl_save_prefix"
10229 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
10230 if test "${with_libiconv_prefix+set}" = set; then
10231 withval
="$with_libiconv_prefix"
10233 if test "X$withval" = "Xno"; then
10236 if test "X$withval" = "X"; then
10238 acl_save_prefix
="$prefix"
10239 prefix
="$acl_final_prefix"
10240 acl_save_exec_prefix
="$exec_prefix"
10241 exec_prefix
="$acl_final_exec_prefix"
10243 eval additional_includedir
=\"$includedir\"
10244 eval additional_libdir
=\"$libdir\"
10246 exec_prefix
="$acl_save_exec_prefix"
10247 prefix
="$acl_save_prefix"
10250 additional_includedir
="$withval/include"
10251 additional_libdir
="$withval/lib"
10261 names_already_handled
=
10262 names_next_round
='iconv '
10263 while test -n "$names_next_round"; do
10264 names_this_round
="$names_next_round"
10266 for name
in $names_this_round; do
10268 for n
in $names_already_handled; do
10269 if test "$n" = "$name"; then
10270 already_handled
=yes
10274 if test -z "$already_handled"; then
10275 names_already_handled
="$names_already_handled $name"
10276 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
10277 eval value
=\"\
$HAVE_LIB$uppername\"
10278 if test -n "$value"; then
10279 if test "$value" = yes; then
10280 eval value
=\"\
$LIB$uppername\"
10281 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
10282 eval value
=\"\
$LTLIB$uppername\"
10283 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
10292 if test $use_additional = yes; then
10293 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
10294 found_dir
="$additional_libdir"
10295 found_so
="$additional_libdir/lib$name.$shlibext"
10296 if test -f "$additional_libdir/lib$name.la"; then
10297 found_la
="$additional_libdir/lib$name.la"
10300 if test -f "$additional_libdir/lib$name.$libext"; then
10301 found_dir
="$additional_libdir"
10302 found_a
="$additional_libdir/lib$name.$libext"
10303 if test -f "$additional_libdir/lib$name.la"; then
10304 found_la
="$additional_libdir/lib$name.la"
10309 if test "X$found_dir" = "X"; then
10310 for x
in $LDFLAGS $LTLIBICONV; do
10312 acl_save_prefix
="$prefix"
10313 prefix
="$acl_final_prefix"
10314 acl_save_exec_prefix
="$exec_prefix"
10315 exec_prefix
="$acl_final_exec_prefix"
10317 exec_prefix
="$acl_save_exec_prefix"
10318 prefix
="$acl_save_prefix"
10322 dir
=`echo "X$x" | sed -e 's/^X-L//'`
10323 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
10325 found_so
="$dir/lib$name.$shlibext"
10326 if test -f "$dir/lib$name.la"; then
10327 found_la
="$dir/lib$name.la"
10330 if test -f "$dir/lib$name.$libext"; then
10332 found_a
="$dir/lib$name.$libext"
10333 if test -f "$dir/lib$name.la"; then
10334 found_la
="$dir/lib$name.la"
10340 if test "X$found_dir" != "X"; then
10345 if test "X$found_dir" != "X"; then
10346 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
10347 if test "X$found_so" != "X"; then
10348 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
10349 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10352 for x
in $ltrpathdirs; do
10353 if test "X$x" = "X$found_dir"; then
10358 if test -z "$haveit"; then
10359 ltrpathdirs
="$ltrpathdirs $found_dir"
10361 if test "$hardcode_direct" = yes; then
10362 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10364 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
10365 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10367 for x
in $rpathdirs; do
10368 if test "X$x" = "X$found_dir"; then
10373 if test -z "$haveit"; then
10374 rpathdirs
="$rpathdirs $found_dir"
10378 for x
in $LDFLAGS $LIBICONV; do
10380 acl_save_prefix
="$prefix"
10381 prefix
="$acl_final_prefix"
10382 acl_save_exec_prefix
="$exec_prefix"
10383 exec_prefix
="$acl_final_exec_prefix"
10385 exec_prefix
="$acl_save_exec_prefix"
10386 prefix
="$acl_save_prefix"
10388 if test "X$x" = "X-L$found_dir"; then
10393 if test -z "$haveit"; then
10394 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
10396 if test "$hardcode_minus_L" != no
; then
10397 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10399 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
10405 if test "X$found_a" != "X"; then
10406 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
10408 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
10411 additional_includedir
=
10412 case "$found_dir" in
10414 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
10415 additional_includedir
="$basedir/include"
10418 if test "X$additional_includedir" != "X"; then
10419 if test "X$additional_includedir" != "X/usr/include"; then
10421 if test "X$additional_includedir" = "X/usr/local/include"; then
10422 if test -n "$GCC"; then
10424 linux
*) haveit
=yes;;
10428 if test -z "$haveit"; then
10429 for x
in $CPPFLAGS $INCICONV; do
10431 acl_save_prefix
="$prefix"
10432 prefix
="$acl_final_prefix"
10433 acl_save_exec_prefix
="$exec_prefix"
10434 exec_prefix
="$acl_final_exec_prefix"
10436 exec_prefix
="$acl_save_exec_prefix"
10437 prefix
="$acl_save_prefix"
10439 if test "X$x" = "X-I$additional_includedir"; then
10444 if test -z "$haveit"; then
10445 if test -d "$additional_includedir"; then
10446 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
10452 if test -n "$found_la"; then
10453 save_libdir
="$libdir"
10454 case "$found_la" in
10455 */* |
*\\*) .
"$found_la" ;;
10456 *) .
"./$found_la" ;;
10458 libdir
="$save_libdir"
10459 for dep
in $dependency_libs; do
10462 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
10463 if test "X$additional_libdir" != "X/usr/lib"; then
10465 if test "X$additional_libdir" = "X/usr/local/lib"; then
10466 if test -n "$GCC"; then
10468 linux
*) haveit
=yes;;
10472 if test -z "$haveit"; then
10474 for x
in $LDFLAGS $LIBICONV; do
10476 acl_save_prefix
="$prefix"
10477 prefix
="$acl_final_prefix"
10478 acl_save_exec_prefix
="$exec_prefix"
10479 exec_prefix
="$acl_final_exec_prefix"
10481 exec_prefix
="$acl_save_exec_prefix"
10482 prefix
="$acl_save_prefix"
10484 if test "X$x" = "X-L$additional_libdir"; then
10489 if test -z "$haveit"; then
10490 if test -d "$additional_libdir"; then
10491 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
10495 for x
in $LDFLAGS $LTLIBICONV; do
10497 acl_save_prefix
="$prefix"
10498 prefix
="$acl_final_prefix"
10499 acl_save_exec_prefix
="$exec_prefix"
10500 exec_prefix
="$acl_final_exec_prefix"
10502 exec_prefix
="$acl_save_exec_prefix"
10503 prefix
="$acl_save_prefix"
10505 if test "X$x" = "X-L$additional_libdir"; then
10510 if test -z "$haveit"; then
10511 if test -d "$additional_libdir"; then
10512 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
10519 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
10520 if test "$enable_rpath" != no
; then
10522 for x
in $rpathdirs; do
10523 if test "X$x" = "X$dir"; then
10528 if test -z "$haveit"; then
10529 rpathdirs
="$rpathdirs $dir"
10532 for x
in $ltrpathdirs; do
10533 if test "X$x" = "X$dir"; then
10538 if test -z "$haveit"; then
10539 ltrpathdirs
="$ltrpathdirs $dir"
10544 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10547 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10550 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
10551 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
10557 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
10558 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
10564 if test "X$rpathdirs" != "X"; then
10565 if test -n "$hardcode_libdir_separator"; then
10567 for found_dir
in $rpathdirs; do
10568 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10570 acl_save_libdir
="$libdir"
10572 eval flag
=\"$hardcode_libdir_flag_spec\"
10573 libdir
="$acl_save_libdir"
10574 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10576 for found_dir
in $rpathdirs; do
10577 acl_save_libdir
="$libdir"
10578 libdir
="$found_dir"
10579 eval flag
=\"$hardcode_libdir_flag_spec\"
10580 libdir
="$acl_save_libdir"
10581 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10585 if test "X$ltrpathdirs" != "X"; then
10586 for found_dir
in $ltrpathdirs; do
10587 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
10597 am_save_CPPFLAGS
="$CPPFLAGS"
10599 for element
in $INCICONV; do
10601 for x
in $CPPFLAGS; do
10603 acl_save_prefix
="$prefix"
10604 prefix
="$acl_final_prefix"
10605 acl_save_exec_prefix
="$exec_prefix"
10606 exec_prefix
="$acl_final_exec_prefix"
10608 exec_prefix
="$acl_save_exec_prefix"
10609 prefix
="$acl_save_prefix"
10611 if test "X$x" = "X$element"; then
10616 if test -z "$haveit"; then
10617 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
10622 echo "$as_me:$LINENO: checking for iconv" >&5
10623 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
10624 if test "${am_cv_func_iconv+set}" = set; then
10625 echo $ECHO_N "(cached) $ECHO_C" >&6
10628 am_cv_func_iconv
="no, consider installing GNU libiconv"
10630 if test x
$gcc_no_link = xyes
; then
10631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10633 { (exit 1); exit 1; }; }
10635 cat >conftest.
$ac_ext <<_ACEOF
10638 cat confdefs.h
>>conftest.
$ac_ext
10639 cat >>conftest.
$ac_ext <<_ACEOF
10640 /* end confdefs.h. */
10641 #include <stdlib.h>
10646 iconv_t cd = iconv_open("","");
10647 iconv(cd,NULL,NULL,NULL,NULL);
10653 rm -f conftest.
$ac_objext conftest
$ac_exeext
10654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10655 (eval $ac_link) 2>conftest.er1
10657 grep -v '^ *+' conftest.er1
>conftest.err
10659 cat conftest.err
>&5
10660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10661 (exit $ac_status); } &&
10662 { ac_try
='test -z "$ac_c_werror_flag"
10663 || test ! -s conftest.err'
10664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10665 (eval $ac_try) 2>&5
10667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10668 (exit $ac_status); }; } &&
10669 { ac_try
='test -s conftest$ac_exeext'
10670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10671 (eval $ac_try) 2>&5
10673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10674 (exit $ac_status); }; }; then
10675 am_cv_func_iconv
=yes
10677 echo "$as_me: failed program was:" >&5
10678 sed 's/^/| /' conftest.
$ac_ext >&5
10681 rm -f conftest.err conftest.
$ac_objext \
10682 conftest
$ac_exeext conftest.
$ac_ext
10683 if test "$am_cv_func_iconv" != yes; then
10684 am_save_LIBS
="$LIBS"
10685 LIBS
="$LIBS $LIBICONV"
10686 if test x
$gcc_no_link = xyes
; then
10687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10689 { (exit 1); exit 1; }; }
10691 cat >conftest.
$ac_ext <<_ACEOF
10694 cat confdefs.h
>>conftest.
$ac_ext
10695 cat >>conftest.
$ac_ext <<_ACEOF
10696 /* end confdefs.h. */
10697 #include <stdlib.h>
10702 iconv_t cd = iconv_open("","");
10703 iconv(cd,NULL,NULL,NULL,NULL);
10709 rm -f conftest.
$ac_objext conftest
$ac_exeext
10710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10711 (eval $ac_link) 2>conftest.er1
10713 grep -v '^ *+' conftest.er1
>conftest.err
10715 cat conftest.err
>&5
10716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10717 (exit $ac_status); } &&
10718 { ac_try
='test -z "$ac_c_werror_flag"
10719 || test ! -s conftest.err'
10720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10721 (eval $ac_try) 2>&5
10723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10724 (exit $ac_status); }; } &&
10725 { ac_try
='test -s conftest$ac_exeext'
10726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10727 (eval $ac_try) 2>&5
10729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10730 (exit $ac_status); }; }; then
10731 am_cv_lib_iconv
=yes
10732 am_cv_func_iconv
=yes
10734 echo "$as_me: failed program was:" >&5
10735 sed 's/^/| /' conftest.
$ac_ext >&5
10738 rm -f conftest.err conftest.
$ac_objext \
10739 conftest
$ac_exeext conftest.
$ac_ext
10740 LIBS
="$am_save_LIBS"
10744 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
10745 echo "${ECHO_T}$am_cv_func_iconv" >&6
10746 if test "$am_cv_func_iconv" = yes; then
10748 cat >>confdefs.h
<<\_ACEOF
10749 #define HAVE_ICONV 1
10753 if test "$am_cv_lib_iconv" = yes; then
10754 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
10755 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
10756 echo "$as_me:$LINENO: result: $LIBICONV" >&5
10757 echo "${ECHO_T}$LIBICONV" >&6
10759 CPPFLAGS
="$am_save_CPPFLAGS"
10766 if test "$am_cv_func_iconv" = yes; then
10767 echo "$as_me:$LINENO: checking for iconv declaration" >&5
10768 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
10769 if test "${am_cv_proto_iconv+set}" = set; then
10770 echo $ECHO_N "(cached) $ECHO_C" >&6
10773 cat >conftest.
$ac_ext <<_ACEOF
10776 cat confdefs.h
>>conftest.
$ac_ext
10777 cat >>conftest.
$ac_ext <<_ACEOF
10778 /* end confdefs.h. */
10780 #include <stdlib.h>
10786 #if defined(__STDC__) || defined(__cplusplus)
10787 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
10800 rm -f conftest.
$ac_objext
10801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10802 (eval $ac_compile) 2>conftest.er1
10804 grep -v '^ *+' conftest.er1
>conftest.err
10806 cat conftest.err
>&5
10807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10808 (exit $ac_status); } &&
10809 { ac_try
='test -z "$ac_c_werror_flag"
10810 || test ! -s conftest.err'
10811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10812 (eval $ac_try) 2>&5
10814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10815 (exit $ac_status); }; } &&
10816 { ac_try
='test -s conftest.$ac_objext'
10817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10818 (eval $ac_try) 2>&5
10820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10821 (exit $ac_status); }; }; then
10822 am_cv_proto_iconv_arg1
=""
10824 echo "$as_me: failed program was:" >&5
10825 sed 's/^/| /' conftest.
$ac_ext >&5
10827 am_cv_proto_iconv_arg1
="const"
10829 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10830 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);"
10833 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
10834 echo "$as_me:$LINENO: result: ${ac_t:-
10835 }$am_cv_proto_iconv" >&5
10836 echo "${ECHO_T}${ac_t:-
10837 }$am_cv_proto_iconv" >&6
10839 cat >>confdefs.h
<<_ACEOF
10840 #define ICONV_CONST $am_cv_proto_iconv_arg1
10846 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
10847 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
10848 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
10849 echo $ECHO_N "(cached) $ECHO_C" >&6
10851 if test x
$gcc_no_link = xyes
; then
10852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10854 { (exit 1); exit 1; }; }
10856 cat >conftest.
$ac_ext <<_ACEOF
10859 cat confdefs.h
>>conftest.
$ac_ext
10860 cat >>conftest.
$ac_ext <<_ACEOF
10861 /* end confdefs.h. */
10862 #include <locale.h>
10871 rm -f conftest.
$ac_objext conftest
$ac_exeext
10872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10873 (eval $ac_link) 2>conftest.er1
10875 grep -v '^ *+' conftest.er1
>conftest.err
10877 cat conftest.err
>&5
10878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10879 (exit $ac_status); } &&
10880 { ac_try
='test -z "$ac_c_werror_flag"
10881 || test ! -s conftest.err'
10882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10883 (eval $ac_try) 2>&5
10885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10886 (exit $ac_status); }; } &&
10887 { ac_try
='test -s conftest$ac_exeext'
10888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10889 (eval $ac_try) 2>&5
10891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10892 (exit $ac_status); }; }; then
10893 am_cv_val_LC_MESSAGES
=yes
10895 echo "$as_me: failed program was:" >&5
10896 sed 's/^/| /' conftest.
$ac_ext >&5
10898 am_cv_val_LC_MESSAGES
=no
10900 rm -f conftest.err conftest.
$ac_objext \
10901 conftest
$ac_exeext conftest.
$ac_ext
10903 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
10904 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
10905 if test $am_cv_val_LC_MESSAGES = yes; then
10907 cat >>confdefs.h
<<\_ACEOF
10908 #define HAVE_LC_MESSAGES 1
10913 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
10914 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
10915 if test "${ac_cv_struct_tm+set}" = set; then
10916 echo $ECHO_N "(cached) $ECHO_C" >&6
10918 cat >conftest.
$ac_ext <<_ACEOF
10921 cat confdefs.h
>>conftest.
$ac_ext
10922 cat >>conftest.
$ac_ext <<_ACEOF
10923 /* end confdefs.h. */
10924 #include <sys/types.h>
10930 struct tm *tp; tp->tm_sec;
10935 rm -f conftest.
$ac_objext
10936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10937 (eval $ac_compile) 2>conftest.er1
10939 grep -v '^ *+' conftest.er1
>conftest.err
10941 cat conftest.err
>&5
10942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10943 (exit $ac_status); } &&
10944 { ac_try
='test -z "$ac_c_werror_flag"
10945 || test ! -s conftest.err'
10946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10947 (eval $ac_try) 2>&5
10949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10950 (exit $ac_status); }; } &&
10951 { ac_try
='test -s conftest.$ac_objext'
10952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10953 (eval $ac_try) 2>&5
10955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10956 (exit $ac_status); }; }; then
10957 ac_cv_struct_tm
=time.h
10959 echo "$as_me: failed program was:" >&5
10960 sed 's/^/| /' conftest.
$ac_ext >&5
10962 ac_cv_struct_tm
=sys
/time.h
10964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10966 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
10967 echo "${ECHO_T}$ac_cv_struct_tm" >&6
10968 if test $ac_cv_struct_tm = sys
/time.h
; then
10970 cat >>confdefs.h
<<\_ACEOF
10971 #define TM_IN_SYS_TIME 1
10976 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
10977 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
10978 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
10979 echo $ECHO_N "(cached) $ECHO_C" >&6
10981 cat >conftest.
$ac_ext <<_ACEOF
10984 cat confdefs.h
>>conftest.
$ac_ext
10985 cat >>conftest.
$ac_ext <<_ACEOF
10986 /* end confdefs.h. */
10987 #include <sys/types.h>
10988 #include <$ac_cv_struct_tm>
10994 static struct tm ac_aggr;
10995 if (ac_aggr.tm_zone)
11001 rm -f conftest.
$ac_objext
11002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11003 (eval $ac_compile) 2>conftest.er1
11005 grep -v '^ *+' conftest.er1
>conftest.err
11007 cat conftest.err
>&5
11008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11009 (exit $ac_status); } &&
11010 { ac_try
='test -z "$ac_c_werror_flag"
11011 || test ! -s conftest.err'
11012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11013 (eval $ac_try) 2>&5
11015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016 (exit $ac_status); }; } &&
11017 { ac_try
='test -s conftest.$ac_objext'
11018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11019 (eval $ac_try) 2>&5
11021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11022 (exit $ac_status); }; }; then
11023 ac_cv_member_struct_tm_tm_zone
=yes
11025 echo "$as_me: failed program was:" >&5
11026 sed 's/^/| /' conftest.
$ac_ext >&5
11028 cat >conftest.
$ac_ext <<_ACEOF
11031 cat confdefs.h
>>conftest.
$ac_ext
11032 cat >>conftest.
$ac_ext <<_ACEOF
11033 /* end confdefs.h. */
11034 #include <sys/types.h>
11035 #include <$ac_cv_struct_tm>
11041 static struct tm ac_aggr;
11042 if (sizeof ac_aggr.tm_zone)
11048 rm -f conftest.
$ac_objext
11049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11050 (eval $ac_compile) 2>conftest.er1
11052 grep -v '^ *+' conftest.er1
>conftest.err
11054 cat conftest.err
>&5
11055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11056 (exit $ac_status); } &&
11057 { ac_try
='test -z "$ac_c_werror_flag"
11058 || test ! -s conftest.err'
11059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11060 (eval $ac_try) 2>&5
11062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11063 (exit $ac_status); }; } &&
11064 { ac_try
='test -s conftest.$ac_objext'
11065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11066 (eval $ac_try) 2>&5
11068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11069 (exit $ac_status); }; }; then
11070 ac_cv_member_struct_tm_tm_zone
=yes
11072 echo "$as_me: failed program was:" >&5
11073 sed 's/^/| /' conftest.
$ac_ext >&5
11075 ac_cv_member_struct_tm_tm_zone
=no
11077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11081 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
11082 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
11083 if test $ac_cv_member_struct_tm_tm_zone = yes; then
11085 cat >>confdefs.h
<<_ACEOF
11086 #define HAVE_STRUCT_TM_TM_ZONE 1
11092 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
11094 cat >>confdefs.h
<<\_ACEOF
11095 #define HAVE_TM_ZONE 1
11099 echo "$as_me:$LINENO: checking for tzname" >&5
11100 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
11101 if test "${ac_cv_var_tzname+set}" = set; then
11102 echo $ECHO_N "(cached) $ECHO_C" >&6
11104 if test x
$gcc_no_link = xyes
; then
11105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11107 { (exit 1); exit 1; }; }
11109 cat >conftest.
$ac_ext <<_ACEOF
11112 cat confdefs.h
>>conftest.
$ac_ext
11113 cat >>conftest.
$ac_ext <<_ACEOF
11114 /* end confdefs.h. */
11116 #ifndef tzname /* For SGI. */
11117 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
11128 rm -f conftest.
$ac_objext conftest
$ac_exeext
11129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11130 (eval $ac_link) 2>conftest.er1
11132 grep -v '^ *+' conftest.er1
>conftest.err
11134 cat conftest.err
>&5
11135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11136 (exit $ac_status); } &&
11137 { ac_try
='test -z "$ac_c_werror_flag"
11138 || test ! -s conftest.err'
11139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11140 (eval $ac_try) 2>&5
11142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11143 (exit $ac_status); }; } &&
11144 { ac_try
='test -s conftest$ac_exeext'
11145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11146 (eval $ac_try) 2>&5
11148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11149 (exit $ac_status); }; }; then
11150 ac_cv_var_tzname
=yes
11152 echo "$as_me: failed program was:" >&5
11153 sed 's/^/| /' conftest.
$ac_ext >&5
11155 ac_cv_var_tzname
=no
11157 rm -f conftest.err conftest.
$ac_objext \
11158 conftest
$ac_exeext conftest.
$ac_ext
11160 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
11161 echo "${ECHO_T}$ac_cv_var_tzname" >&6
11162 if test $ac_cv_var_tzname = yes; then
11164 cat >>confdefs.h
<<\_ACEOF
11165 #define HAVE_TZNAME 1
11174 for ac_func
in gethostbyname_r
11176 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11177 echo "$as_me:$LINENO: checking for $ac_func" >&5
11178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11179 if eval "test \"\${$as_ac_var+set}\" = set"; then
11180 echo $ECHO_N "(cached) $ECHO_C" >&6
11182 if test x
$gcc_no_link = xyes
; then
11183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11185 { (exit 1); exit 1; }; }
11187 cat >conftest.
$ac_ext <<_ACEOF
11190 cat confdefs.h
>>conftest.
$ac_ext
11191 cat >>conftest.
$ac_ext <<_ACEOF
11192 /* end confdefs.h. */
11193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11195 #define $ac_func innocuous_$ac_func
11197 /* System header to define __stub macros and hopefully few prototypes,
11198 which can conflict with char $ac_func (); below.
11199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11200 <limits.h> exists even on freestanding compilers. */
11203 # include <limits.h>
11205 # include <assert.h>
11210 /* Override any gcc2 internal prototype to avoid an error. */
11215 /* We use char because int might match the return type of a gcc2
11216 builtin and then its argument prototype would still apply. */
11218 /* The GNU C library defines this for functions which it implements
11219 to always fail with ENOSYS. Some functions are actually named
11220 something starting with __ and the normal name is an alias. */
11221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11224 char (*f) () = $ac_func;
11233 return f != $ac_func;
11238 rm -f conftest.
$ac_objext conftest
$ac_exeext
11239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11240 (eval $ac_link) 2>conftest.er1
11242 grep -v '^ *+' conftest.er1
>conftest.err
11244 cat conftest.err
>&5
11245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11246 (exit $ac_status); } &&
11247 { ac_try
='test -z "$ac_c_werror_flag"
11248 || test ! -s conftest.err'
11249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11250 (eval $ac_try) 2>&5
11252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11253 (exit $ac_status); }; } &&
11254 { ac_try
='test -s conftest$ac_exeext'
11255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11256 (eval $ac_try) 2>&5
11258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11259 (exit $ac_status); }; }; then
11260 eval "$as_ac_var=yes"
11262 echo "$as_me: failed program was:" >&5
11263 sed 's/^/| /' conftest.
$ac_ext >&5
11265 eval "$as_ac_var=no"
11267 rm -f conftest.err conftest.
$ac_objext \
11268 conftest
$ac_exeext conftest.
$ac_ext
11270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11272 if test `eval echo '${'$as_ac_var'}'` = yes; then
11273 cat >>confdefs.h
<<_ACEOF
11274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11278 cat >>confdefs.h
<<\_ACEOF
11279 #define HAVE_GETHOSTBYNAME_R 1
11282 # There are two different kinds of gethostbyname_r.
11283 # We look for the one that returns `int'.
11284 # Hopefully this check is robust enough.
11285 cat >conftest.
$ac_ext <<_ACEOF
11288 cat confdefs.h
>>conftest.
$ac_ext
11289 cat >>conftest.
$ac_ext <<_ACEOF
11290 /* end confdefs.h. */
11294 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11295 $EGREP "int.*gethostbyname_r" >/dev
/null
2>&1; then
11298 cat >>confdefs.h
<<\_ACEOF
11299 #define GETHOSTBYNAME_R_RETURNS_INT 1
11306 case " $GCINCS " in
11307 *" -D_REENTRANT "*) ;;
11309 echo "$as_me:$LINENO: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5
11310 echo $ECHO_N "checking whether gethostbyname_r declaration requires -D_REENTRANT... $ECHO_C" >&6
11311 if test "${libjava_cv_gethostbyname_r_needs_reentrant+set}" = set; then
11312 echo $ECHO_N "(cached) $ECHO_C" >&6
11315 ac_cpp
='$CXXCPP $CPPFLAGS'
11316 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11317 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11318 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11320 cat >conftest.
$ac_ext <<_ACEOF
11323 cat confdefs.h
>>conftest.
$ac_ext
11324 cat >>conftest.
$ac_ext <<_ACEOF
11325 /* end confdefs.h. */
11330 gethostbyname_r("", 0, 0);
11335 rm -f conftest.
$ac_objext
11336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11337 (eval $ac_compile) 2>conftest.er1
11339 grep -v '^ *+' conftest.er1
>conftest.err
11341 cat conftest.err
>&5
11342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11343 (exit $ac_status); } &&
11344 { ac_try
='test -z "$ac_cxx_werror_flag"
11345 || test ! -s conftest.err'
11346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11347 (eval $ac_try) 2>&5
11349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11350 (exit $ac_status); }; } &&
11351 { ac_try
='test -s conftest.$ac_objext'
11352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11353 (eval $ac_try) 2>&5
11355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11356 (exit $ac_status); }; }; then
11357 libjava_cv_gethostbyname_r_needs_reentrant
=no
11359 echo "$as_me: failed program was:" >&5
11360 sed 's/^/| /' conftest.
$ac_ext >&5
11362 CPPFLAGS_SAVE
="$CPPFLAGS"
11363 CPPFLAGS
="$CPPFLAGS -D_REENTRANT"
11364 cat >conftest.
$ac_ext <<_ACEOF
11367 cat confdefs.h
>>conftest.
$ac_ext
11368 cat >>conftest.
$ac_ext <<_ACEOF
11369 /* end confdefs.h. */
11374 gethostbyname_r("", 0, 0);
11379 rm -f conftest.
$ac_objext
11380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11381 (eval $ac_compile) 2>conftest.er1
11383 grep -v '^ *+' conftest.er1
>conftest.err
11385 cat conftest.err
>&5
11386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11387 (exit $ac_status); } &&
11388 { ac_try
='test -z "$ac_cxx_werror_flag"
11389 || test ! -s conftest.err'
11390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11391 (eval $ac_try) 2>&5
11393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11394 (exit $ac_status); }; } &&
11395 { ac_try
='test -s conftest.$ac_objext'
11396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11397 (eval $ac_try) 2>&5
11399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11400 (exit $ac_status); }; }; then
11401 libjava_cv_gethostbyname_r_needs_reentrant
=yes
11403 echo "$as_me: failed program was:" >&5
11404 sed 's/^/| /' conftest.
$ac_ext >&5
11406 libjava_cv_gethostbyname_r_needs_reentrant
=fail
11408 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11409 CPPFLAGS
="$CPPFLAGS_SAVE"
11412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11414 ac_cpp
='$CPP $CPPFLAGS'
11415 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11416 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11417 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11421 echo "$as_me:$LINENO: result: $libjava_cv_gethostbyname_r_needs_reentrant" >&5
11422 echo "${ECHO_T}$libjava_cv_gethostbyname_r_needs_reentrant" >&6
11423 if test "x$libjava_cv_gethostbyname_r_needs_reentrant" = xyes
; then
11425 cat >>confdefs.h
<<\_ACEOF
11426 #define _REENTRANT 1
11433 echo "$as_me:$LINENO: checking for struct hostent_data" >&5
11434 echo $ECHO_N "checking for struct hostent_data... $ECHO_C" >&6
11435 if test "${libjava_cv_struct_hostent_data+set}" = set; then
11436 echo $ECHO_N "(cached) $ECHO_C" >&6
11438 cat >conftest.
$ac_ext <<_ACEOF
11441 cat confdefs.h
>>conftest.
$ac_ext
11442 cat >>conftest.
$ac_ext <<_ACEOF
11443 /* end confdefs.h. */
11445 #if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
11446 # define _REENTRANT 1
11452 struct hostent_data data;
11457 rm -f conftest.
$ac_objext
11458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11459 (eval $ac_compile) 2>conftest.er1
11461 grep -v '^ *+' conftest.er1
>conftest.err
11463 cat conftest.err
>&5
11464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11465 (exit $ac_status); } &&
11466 { ac_try
='test -z "$ac_c_werror_flag"
11467 || test ! -s conftest.err'
11468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11469 (eval $ac_try) 2>&5
11471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11472 (exit $ac_status); }; } &&
11473 { ac_try
='test -s conftest.$ac_objext'
11474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11475 (eval $ac_try) 2>&5
11477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11478 (exit $ac_status); }; }; then
11479 libjava_cv_struct_hostent_data
=yes
11481 echo "$as_me: failed program was:" >&5
11482 sed 's/^/| /' conftest.
$ac_ext >&5
11484 libjava_cv_struct_hostent_data
=no
11486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11488 echo "$as_me:$LINENO: result: $libjava_cv_struct_hostent_data" >&5
11489 echo "${ECHO_T}$libjava_cv_struct_hostent_data" >&6
11490 if test "x$libjava_cv_struct_hostent_data" = xyes
; then
11492 cat >>confdefs.h
<<\_ACEOF
11493 #define HAVE_STRUCT_HOSTENT_DATA 1
11502 # FIXME: libjava source code expects to find a prototype for
11503 # gethostbyaddr_r in netdb.h. The outer check ensures that
11504 # HAVE_GETHOSTBYADDR_R will not be defined if the prototype fails
11505 # to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
11506 # linkage check is enough, yet C++ code requires proper prototypes.)
11507 cat >conftest.
$ac_ext <<_ACEOF
11510 cat confdefs.h
>>conftest.
$ac_ext
11511 cat >>conftest.
$ac_ext <<_ACEOF
11512 /* end confdefs.h. */
11516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11517 $EGREP "gethostbyaddr_r" >/dev
/null
2>&1; then
11520 for ac_func
in gethostbyaddr_r
11522 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11523 echo "$as_me:$LINENO: checking for $ac_func" >&5
11524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11525 if eval "test \"\${$as_ac_var+set}\" = set"; then
11526 echo $ECHO_N "(cached) $ECHO_C" >&6
11528 if test x
$gcc_no_link = xyes
; then
11529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11531 { (exit 1); exit 1; }; }
11533 cat >conftest.
$ac_ext <<_ACEOF
11536 cat confdefs.h
>>conftest.
$ac_ext
11537 cat >>conftest.
$ac_ext <<_ACEOF
11538 /* end confdefs.h. */
11539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11541 #define $ac_func innocuous_$ac_func
11543 /* System header to define __stub macros and hopefully few prototypes,
11544 which can conflict with char $ac_func (); below.
11545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11546 <limits.h> exists even on freestanding compilers. */
11549 # include <limits.h>
11551 # include <assert.h>
11556 /* Override any gcc2 internal prototype to avoid an error. */
11561 /* We use char because int might match the return type of a gcc2
11562 builtin and then its argument prototype would still apply. */
11564 /* The GNU C library defines this for functions which it implements
11565 to always fail with ENOSYS. Some functions are actually named
11566 something starting with __ and the normal name is an alias. */
11567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11570 char (*f) () = $ac_func;
11579 return f != $ac_func;
11584 rm -f conftest.
$ac_objext conftest
$ac_exeext
11585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11586 (eval $ac_link) 2>conftest.er1
11588 grep -v '^ *+' conftest.er1
>conftest.err
11590 cat conftest.err
>&5
11591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11592 (exit $ac_status); } &&
11593 { ac_try
='test -z "$ac_c_werror_flag"
11594 || test ! -s conftest.err'
11595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11596 (eval $ac_try) 2>&5
11598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11599 (exit $ac_status); }; } &&
11600 { ac_try
='test -s conftest$ac_exeext'
11601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11602 (eval $ac_try) 2>&5
11604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11605 (exit $ac_status); }; }; then
11606 eval "$as_ac_var=yes"
11608 echo "$as_me: failed program was:" >&5
11609 sed 's/^/| /' conftest.
$ac_ext >&5
11611 eval "$as_ac_var=no"
11613 rm -f conftest.err conftest.
$ac_objext \
11614 conftest
$ac_exeext conftest.
$ac_ext
11616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11618 if test `eval echo '${'$as_ac_var'}'` = yes; then
11619 cat >>confdefs.h
<<_ACEOF
11620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11624 cat >>confdefs.h
<<\_ACEOF
11625 #define HAVE_GETHOSTBYADDR_R 1
11628 # There are two different kinds of gethostbyaddr_r.
11629 # We look for the one that returns `int'.
11630 # Hopefully this check is robust enough.
11631 cat >conftest.
$ac_ext <<_ACEOF
11634 cat confdefs.h
>>conftest.
$ac_ext
11635 cat >>conftest.
$ac_ext <<_ACEOF
11636 /* end confdefs.h. */
11640 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11641 $EGREP "int.*gethostbyaddr_r" >/dev
/null
2>&1; then
11644 cat >>confdefs.h
<<\_ACEOF
11645 #define GETHOSTBYADDR_R_RETURNS_INT 1
11659 for ac_func
in gethostname
11661 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11662 echo "$as_me:$LINENO: checking for $ac_func" >&5
11663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11664 if eval "test \"\${$as_ac_var+set}\" = set"; then
11665 echo $ECHO_N "(cached) $ECHO_C" >&6
11667 if test x
$gcc_no_link = xyes
; then
11668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11670 { (exit 1); exit 1; }; }
11672 cat >conftest.
$ac_ext <<_ACEOF
11675 cat confdefs.h
>>conftest.
$ac_ext
11676 cat >>conftest.
$ac_ext <<_ACEOF
11677 /* end confdefs.h. */
11678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11680 #define $ac_func innocuous_$ac_func
11682 /* System header to define __stub macros and hopefully few prototypes,
11683 which can conflict with char $ac_func (); below.
11684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11685 <limits.h> exists even on freestanding compilers. */
11688 # include <limits.h>
11690 # include <assert.h>
11695 /* Override any gcc2 internal prototype to avoid an error. */
11700 /* We use char because int might match the return type of a gcc2
11701 builtin and then its argument prototype would still apply. */
11703 /* The GNU C library defines this for functions which it implements
11704 to always fail with ENOSYS. Some functions are actually named
11705 something starting with __ and the normal name is an alias. */
11706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11709 char (*f) () = $ac_func;
11718 return f != $ac_func;
11723 rm -f conftest.
$ac_objext conftest
$ac_exeext
11724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11725 (eval $ac_link) 2>conftest.er1
11727 grep -v '^ *+' conftest.er1
>conftest.err
11729 cat conftest.err
>&5
11730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11731 (exit $ac_status); } &&
11732 { ac_try
='test -z "$ac_c_werror_flag"
11733 || test ! -s conftest.err'
11734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11735 (eval $ac_try) 2>&5
11737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11738 (exit $ac_status); }; } &&
11739 { ac_try
='test -s conftest$ac_exeext'
11740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11741 (eval $ac_try) 2>&5
11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 (exit $ac_status); }; }; then
11745 eval "$as_ac_var=yes"
11747 echo "$as_me: failed program was:" >&5
11748 sed 's/^/| /' conftest.
$ac_ext >&5
11750 eval "$as_ac_var=no"
11752 rm -f conftest.err conftest.
$ac_objext \
11753 conftest
$ac_exeext conftest.
$ac_ext
11755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11757 if test `eval echo '${'$as_ac_var'}'` = yes; then
11758 cat >>confdefs.h
<<_ACEOF
11759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11763 cat >>confdefs.h
<<\_ACEOF
11764 #define HAVE_GETHOSTNAME 1
11767 cat >conftest.
$ac_ext <<_ACEOF
11770 cat confdefs.h
>>conftest.
$ac_ext
11771 cat >>conftest.
$ac_ext <<_ACEOF
11772 /* end confdefs.h. */
11773 #include <unistd.h>
11776 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11777 $EGREP "gethostname" >/dev
/null
2>&1; then
11780 cat >>confdefs.h
<<\_ACEOF
11781 #define HAVE_GETHOSTNAME_DECL 1
11792 for ac_func
in usleep
11794 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11795 echo "$as_me:$LINENO: checking for $ac_func" >&5
11796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11797 if eval "test \"\${$as_ac_var+set}\" = set"; then
11798 echo $ECHO_N "(cached) $ECHO_C" >&6
11800 if test x
$gcc_no_link = xyes
; then
11801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11803 { (exit 1); exit 1; }; }
11805 cat >conftest.
$ac_ext <<_ACEOF
11808 cat confdefs.h
>>conftest.
$ac_ext
11809 cat >>conftest.
$ac_ext <<_ACEOF
11810 /* end confdefs.h. */
11811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11813 #define $ac_func innocuous_$ac_func
11815 /* System header to define __stub macros and hopefully few prototypes,
11816 which can conflict with char $ac_func (); below.
11817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11818 <limits.h> exists even on freestanding compilers. */
11821 # include <limits.h>
11823 # include <assert.h>
11828 /* Override any gcc2 internal prototype to avoid an error. */
11833 /* We use char because int might match the return type of a gcc2
11834 builtin and then its argument prototype would still apply. */
11836 /* The GNU C library defines this for functions which it implements
11837 to always fail with ENOSYS. Some functions are actually named
11838 something starting with __ and the normal name is an alias. */
11839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11842 char (*f) () = $ac_func;
11851 return f != $ac_func;
11856 rm -f conftest.
$ac_objext conftest
$ac_exeext
11857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11858 (eval $ac_link) 2>conftest.er1
11860 grep -v '^ *+' conftest.er1
>conftest.err
11862 cat conftest.err
>&5
11863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11864 (exit $ac_status); } &&
11865 { ac_try
='test -z "$ac_c_werror_flag"
11866 || test ! -s conftest.err'
11867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11868 (eval $ac_try) 2>&5
11870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11871 (exit $ac_status); }; } &&
11872 { ac_try
='test -s conftest$ac_exeext'
11873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11874 (eval $ac_try) 2>&5
11876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11877 (exit $ac_status); }; }; then
11878 eval "$as_ac_var=yes"
11880 echo "$as_me: failed program was:" >&5
11881 sed 's/^/| /' conftest.
$ac_ext >&5
11883 eval "$as_ac_var=no"
11885 rm -f conftest.err conftest.
$ac_objext \
11886 conftest
$ac_exeext conftest.
$ac_ext
11888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11890 if test `eval echo '${'$as_ac_var'}'` = yes; then
11891 cat >>confdefs.h
<<_ACEOF
11892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11895 cat >conftest.
$ac_ext <<_ACEOF
11898 cat confdefs.h
>>conftest.
$ac_ext
11899 cat >>conftest.
$ac_ext <<_ACEOF
11900 /* end confdefs.h. */
11901 #include <unistd.h>
11904 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11905 $EGREP "usleep" >/dev
/null
2>&1; then
11908 cat >>confdefs.h
<<\_ACEOF
11909 #define HAVE_USLEEP_DECL 1
11919 # Look for these functions in the thread library, but only bother
11920 # if using POSIX threads.
11921 if test "$THREADS" = posix
; then
11923 LIBS
="$LIBS $THREADLIBS"
11924 # Some POSIX thread systems don't have pthread_mutexattr_settype.
11928 for ac_func
in pthread_mutexattr_settype pthread_mutexattr_setkind_np
11930 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11931 echo "$as_me:$LINENO: checking for $ac_func" >&5
11932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11933 if eval "test \"\${$as_ac_var+set}\" = set"; then
11934 echo $ECHO_N "(cached) $ECHO_C" >&6
11936 if test x
$gcc_no_link = xyes
; then
11937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11939 { (exit 1); exit 1; }; }
11941 cat >conftest.
$ac_ext <<_ACEOF
11944 cat confdefs.h
>>conftest.
$ac_ext
11945 cat >>conftest.
$ac_ext <<_ACEOF
11946 /* end confdefs.h. */
11947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11949 #define $ac_func innocuous_$ac_func
11951 /* System header to define __stub macros and hopefully few prototypes,
11952 which can conflict with char $ac_func (); below.
11953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11954 <limits.h> exists even on freestanding compilers. */
11957 # include <limits.h>
11959 # include <assert.h>
11964 /* Override any gcc2 internal prototype to avoid an error. */
11969 /* We use char because int might match the return type of a gcc2
11970 builtin and then its argument prototype would still apply. */
11972 /* The GNU C library defines this for functions which it implements
11973 to always fail with ENOSYS. Some functions are actually named
11974 something starting with __ and the normal name is an alias. */
11975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11978 char (*f) () = $ac_func;
11987 return f != $ac_func;
11992 rm -f conftest.
$ac_objext conftest
$ac_exeext
11993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11994 (eval $ac_link) 2>conftest.er1
11996 grep -v '^ *+' conftest.er1
>conftest.err
11998 cat conftest.err
>&5
11999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12000 (exit $ac_status); } &&
12001 { ac_try
='test -z "$ac_c_werror_flag"
12002 || test ! -s conftest.err'
12003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12004 (eval $ac_try) 2>&5
12006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12007 (exit $ac_status); }; } &&
12008 { ac_try
='test -s conftest$ac_exeext'
12009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12010 (eval $ac_try) 2>&5
12012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12013 (exit $ac_status); }; }; then
12014 eval "$as_ac_var=yes"
12016 echo "$as_me: failed program was:" >&5
12017 sed 's/^/| /' conftest.
$ac_ext >&5
12019 eval "$as_ac_var=no"
12021 rm -f conftest.err conftest.
$ac_objext \
12022 conftest
$ac_exeext conftest.
$ac_ext
12024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12026 if test `eval echo '${'$as_ac_var'}'` = yes; then
12027 cat >>confdefs.h
<<_ACEOF
12028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12035 # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since
12036 # Solaris 7 the name librt is preferred.
12038 for ac_func
in sched_yield
12040 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12041 echo "$as_me:$LINENO: checking for $ac_func" >&5
12042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12043 if eval "test \"\${$as_ac_var+set}\" = set"; then
12044 echo $ECHO_N "(cached) $ECHO_C" >&6
12046 if test x
$gcc_no_link = xyes
; then
12047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12049 { (exit 1); exit 1; }; }
12051 cat >conftest.
$ac_ext <<_ACEOF
12054 cat confdefs.h
>>conftest.
$ac_ext
12055 cat >>conftest.
$ac_ext <<_ACEOF
12056 /* end confdefs.h. */
12057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12059 #define $ac_func innocuous_$ac_func
12061 /* System header to define __stub macros and hopefully few prototypes,
12062 which can conflict with char $ac_func (); below.
12063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12064 <limits.h> exists even on freestanding compilers. */
12067 # include <limits.h>
12069 # include <assert.h>
12074 /* Override any gcc2 internal prototype to avoid an error. */
12079 /* We use char because int might match the return type of a gcc2
12080 builtin and then its argument prototype would still apply. */
12082 /* The GNU C library defines this for functions which it implements
12083 to always fail with ENOSYS. Some functions are actually named
12084 something starting with __ and the normal name is an alias. */
12085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12088 char (*f) () = $ac_func;
12097 return f != $ac_func;
12102 rm -f conftest.
$ac_objext conftest
$ac_exeext
12103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12104 (eval $ac_link) 2>conftest.er1
12106 grep -v '^ *+' conftest.er1
>conftest.err
12108 cat conftest.err
>&5
12109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12110 (exit $ac_status); } &&
12111 { ac_try
='test -z "$ac_c_werror_flag"
12112 || test ! -s conftest.err'
12113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12114 (eval $ac_try) 2>&5
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); }; } &&
12118 { ac_try
='test -s conftest$ac_exeext'
12119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12120 (eval $ac_try) 2>&5
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); }; }; then
12124 eval "$as_ac_var=yes"
12126 echo "$as_me: failed program was:" >&5
12127 sed 's/^/| /' conftest.
$ac_ext >&5
12129 eval "$as_ac_var=no"
12131 rm -f conftest.err conftest.
$ac_objext \
12132 conftest
$ac_exeext conftest.
$ac_ext
12134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12136 if test `eval echo '${'$as_ac_var'}'` = yes; then
12137 cat >>confdefs.h
<<_ACEOF
12138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12143 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
12144 echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
12145 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
12146 echo $ECHO_N "(cached) $ECHO_C" >&6
12148 ac_check_lib_save_LIBS
=$LIBS
12150 if test x
$gcc_no_link = xyes
; then
12151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12153 { (exit 1); exit 1; }; }
12155 cat >conftest.
$ac_ext <<_ACEOF
12158 cat confdefs.h
>>conftest.
$ac_ext
12159 cat >>conftest.
$ac_ext <<_ACEOF
12160 /* end confdefs.h. */
12162 /* Override any gcc2 internal prototype to avoid an error. */
12166 /* We use char because int might match the return type of a gcc2
12167 builtin and then its argument prototype would still apply. */
12168 char sched_yield ();
12177 rm -f conftest.
$ac_objext conftest
$ac_exeext
12178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12179 (eval $ac_link) 2>conftest.er1
12181 grep -v '^ *+' conftest.er1
>conftest.err
12183 cat conftest.err
>&5
12184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12185 (exit $ac_status); } &&
12186 { ac_try
='test -z "$ac_c_werror_flag"
12187 || test ! -s conftest.err'
12188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12189 (eval $ac_try) 2>&5
12191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12192 (exit $ac_status); }; } &&
12193 { ac_try
='test -s conftest$ac_exeext'
12194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12195 (eval $ac_try) 2>&5
12197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12198 (exit $ac_status); }; }; then
12199 ac_cv_lib_rt_sched_yield
=yes
12201 echo "$as_me: failed program was:" >&5
12202 sed 's/^/| /' conftest.
$ac_ext >&5
12204 ac_cv_lib_rt_sched_yield
=no
12206 rm -f conftest.err conftest.
$ac_objext \
12207 conftest
$ac_exeext conftest.
$ac_ext
12208 LIBS
=$ac_check_lib_save_LIBS
12210 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
12211 echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
12212 if test $ac_cv_lib_rt_sched_yield = yes; then
12214 cat >>confdefs.h
<<\_ACEOF
12215 #define HAVE_SCHED_YIELD 1
12218 THREADLIBS
="$THREADLIBS -lrt"
12219 THREADSPEC
="$THREADSPEC -lrt"
12222 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
12223 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
12224 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
12225 echo $ECHO_N "(cached) $ECHO_C" >&6
12227 ac_check_lib_save_LIBS
=$LIBS
12228 LIBS
="-lposix4 $LIBS"
12229 if test x
$gcc_no_link = xyes
; then
12230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12232 { (exit 1); exit 1; }; }
12234 cat >conftest.
$ac_ext <<_ACEOF
12237 cat confdefs.h
>>conftest.
$ac_ext
12238 cat >>conftest.
$ac_ext <<_ACEOF
12239 /* end confdefs.h. */
12241 /* Override any gcc2 internal prototype to avoid an error. */
12245 /* We use char because int might match the return type of a gcc2
12246 builtin and then its argument prototype would still apply. */
12247 char sched_yield ();
12256 rm -f conftest.
$ac_objext conftest
$ac_exeext
12257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12258 (eval $ac_link) 2>conftest.er1
12260 grep -v '^ *+' conftest.er1
>conftest.err
12262 cat conftest.err
>&5
12263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12264 (exit $ac_status); } &&
12265 { ac_try
='test -z "$ac_c_werror_flag"
12266 || test ! -s conftest.err'
12267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12268 (eval $ac_try) 2>&5
12270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271 (exit $ac_status); }; } &&
12272 { ac_try
='test -s conftest$ac_exeext'
12273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12274 (eval $ac_try) 2>&5
12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277 (exit $ac_status); }; }; then
12278 ac_cv_lib_posix4_sched_yield
=yes
12280 echo "$as_me: failed program was:" >&5
12281 sed 's/^/| /' conftest.
$ac_ext >&5
12283 ac_cv_lib_posix4_sched_yield
=no
12285 rm -f conftest.err conftest.
$ac_objext \
12286 conftest
$ac_exeext conftest.
$ac_ext
12287 LIBS
=$ac_check_lib_save_LIBS
12289 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
12290 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
12291 if test $ac_cv_lib_posix4_sched_yield = yes; then
12293 cat >>confdefs.h
<<\_ACEOF
12294 #define HAVE_SCHED_YIELD 1
12297 THREADLIBS
="$THREADLIBS -lposix4"
12298 THREADSPEC
="$THREADSPEC -lposix4"
12308 # We can save a little space at runtime if the mutex has m_count
12309 # or __m_count. This is a nice hack for Linux.
12310 cat >conftest.
$ac_ext <<_ACEOF
12313 cat confdefs.h
>>conftest.
$ac_ext
12314 cat >>conftest.
$ac_ext <<_ACEOF
12315 /* end confdefs.h. */
12316 #include <pthread.h>
12321 extern pthread_mutex_t *mutex; int q = mutex->m_count;
12327 rm -f conftest.
$ac_objext
12328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12329 (eval $ac_compile) 2>conftest.er1
12331 grep -v '^ *+' conftest.er1
>conftest.err
12333 cat conftest.err
>&5
12334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12335 (exit $ac_status); } &&
12336 { ac_try
='test -z "$ac_c_werror_flag"
12337 || test ! -s conftest.err'
12338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12339 (eval $ac_try) 2>&5
12341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12342 (exit $ac_status); }; } &&
12343 { ac_try
='test -s conftest.$ac_objext'
12344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12345 (eval $ac_try) 2>&5
12347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12348 (exit $ac_status); }; }; then
12350 cat >>confdefs.h
<<\_ACEOF
12351 #define PTHREAD_MUTEX_HAVE_M_COUNT 1
12355 echo "$as_me: failed program was:" >&5
12356 sed 's/^/| /' conftest.
$ac_ext >&5
12359 cat >conftest.
$ac_ext <<_ACEOF
12362 cat confdefs.h
>>conftest.
$ac_ext
12363 cat >>conftest.
$ac_ext <<_ACEOF
12364 /* end confdefs.h. */
12365 #include <pthread.h>
12370 extern pthread_mutex_t *mutex; int q = mutex->__m_count;
12376 rm -f conftest.
$ac_objext
12377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12378 (eval $ac_compile) 2>conftest.er1
12380 grep -v '^ *+' conftest.er1
>conftest.err
12382 cat conftest.err
>&5
12383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384 (exit $ac_status); } &&
12385 { ac_try
='test -z "$ac_c_werror_flag"
12386 || test ! -s conftest.err'
12387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12388 (eval $ac_try) 2>&5
12390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12391 (exit $ac_status); }; } &&
12392 { ac_try
='test -s conftest.$ac_objext'
12393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12394 (eval $ac_try) 2>&5
12396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12397 (exit $ac_status); }; }; then
12399 cat >>confdefs.h
<<\_ACEOF
12400 #define PTHREAD_MUTEX_HAVE___M_COUNT 1
12404 echo "$as_me: failed program was:" >&5
12405 sed 's/^/| /' conftest.
$ac_ext >&5
12408 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12413 # We require a way to get the time.
12418 for ac_func
in gettimeofday
time ftime
12420 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12421 echo "$as_me:$LINENO: checking for $ac_func" >&5
12422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12423 if eval "test \"\${$as_ac_var+set}\" = set"; then
12424 echo $ECHO_N "(cached) $ECHO_C" >&6
12426 if test x
$gcc_no_link = xyes
; then
12427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12429 { (exit 1); exit 1; }; }
12431 cat >conftest.
$ac_ext <<_ACEOF
12434 cat confdefs.h
>>conftest.
$ac_ext
12435 cat >>conftest.
$ac_ext <<_ACEOF
12436 /* end confdefs.h. */
12437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12439 #define $ac_func innocuous_$ac_func
12441 /* System header to define __stub macros and hopefully few prototypes,
12442 which can conflict with char $ac_func (); below.
12443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12444 <limits.h> exists even on freestanding compilers. */
12447 # include <limits.h>
12449 # include <assert.h>
12454 /* Override any gcc2 internal prototype to avoid an error. */
12459 /* We use char because int might match the return type of a gcc2
12460 builtin and then its argument prototype would still apply. */
12462 /* The GNU C library defines this for functions which it implements
12463 to always fail with ENOSYS. Some functions are actually named
12464 something starting with __ and the normal name is an alias. */
12465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12468 char (*f) () = $ac_func;
12477 return f != $ac_func;
12482 rm -f conftest.
$ac_objext conftest
$ac_exeext
12483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12484 (eval $ac_link) 2>conftest.er1
12486 grep -v '^ *+' conftest.er1
>conftest.err
12488 cat conftest.err
>&5
12489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12490 (exit $ac_status); } &&
12491 { ac_try
='test -z "$ac_c_werror_flag"
12492 || test ! -s conftest.err'
12493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12494 (eval $ac_try) 2>&5
12496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12497 (exit $ac_status); }; } &&
12498 { ac_try
='test -s conftest$ac_exeext'
12499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12500 (eval $ac_try) 2>&5
12502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12503 (exit $ac_status); }; }; then
12504 eval "$as_ac_var=yes"
12506 echo "$as_me: failed program was:" >&5
12507 sed 's/^/| /' conftest.
$ac_ext >&5
12509 eval "$as_ac_var=no"
12511 rm -f conftest.err conftest.
$ac_objext \
12512 conftest
$ac_exeext conftest.
$ac_ext
12514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12516 if test `eval echo '${'$as_ac_var'}'` = yes; then
12517 cat >>confdefs.h
<<_ACEOF
12518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12524 if test "$time_found" = no
; then
12525 { { echo "$as_me:$LINENO: error: no function found to get the time" >&5
12526 echo "$as_me: error: no function found to get the time" >&2;}
12527 { (exit 1); exit 1; }; }
12531 for ac_func
in memmove
12533 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12534 echo "$as_me:$LINENO: checking for $ac_func" >&5
12535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12536 if eval "test \"\${$as_ac_var+set}\" = set"; then
12537 echo $ECHO_N "(cached) $ECHO_C" >&6
12539 if test x
$gcc_no_link = xyes
; then
12540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12542 { (exit 1); exit 1; }; }
12544 cat >conftest.
$ac_ext <<_ACEOF
12547 cat confdefs.h
>>conftest.
$ac_ext
12548 cat >>conftest.
$ac_ext <<_ACEOF
12549 /* end confdefs.h. */
12550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12552 #define $ac_func innocuous_$ac_func
12554 /* System header to define __stub macros and hopefully few prototypes,
12555 which can conflict with char $ac_func (); below.
12556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12557 <limits.h> exists even on freestanding compilers. */
12560 # include <limits.h>
12562 # include <assert.h>
12567 /* Override any gcc2 internal prototype to avoid an error. */
12572 /* We use char because int might match the return type of a gcc2
12573 builtin and then its argument prototype would still apply. */
12575 /* The GNU C library defines this for functions which it implements
12576 to always fail with ENOSYS. Some functions are actually named
12577 something starting with __ and the normal name is an alias. */
12578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12581 char (*f) () = $ac_func;
12590 return f != $ac_func;
12595 rm -f conftest.
$ac_objext conftest
$ac_exeext
12596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12597 (eval $ac_link) 2>conftest.er1
12599 grep -v '^ *+' conftest.er1
>conftest.err
12601 cat conftest.err
>&5
12602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12603 (exit $ac_status); } &&
12604 { ac_try
='test -z "$ac_c_werror_flag"
12605 || test ! -s conftest.err'
12606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12607 (eval $ac_try) 2>&5
12609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12610 (exit $ac_status); }; } &&
12611 { ac_try
='test -s conftest$ac_exeext'
12612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12613 (eval $ac_try) 2>&5
12615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12616 (exit $ac_status); }; }; then
12617 eval "$as_ac_var=yes"
12619 echo "$as_me: failed program was:" >&5
12620 sed 's/^/| /' conftest.
$ac_ext >&5
12622 eval "$as_ac_var=no"
12624 rm -f conftest.err conftest.
$ac_objext \
12625 conftest
$ac_exeext conftest.
$ac_ext
12627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12629 if test `eval echo '${'$as_ac_var'}'` = yes; then
12630 cat >>confdefs.h
<<_ACEOF
12631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12638 # We require memcpy.
12641 for ac_func
in memcpy
12643 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12644 echo "$as_me:$LINENO: checking for $ac_func" >&5
12645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12646 if eval "test \"\${$as_ac_var+set}\" = set"; then
12647 echo $ECHO_N "(cached) $ECHO_C" >&6
12649 if test x
$gcc_no_link = xyes
; then
12650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12652 { (exit 1); exit 1; }; }
12654 cat >conftest.
$ac_ext <<_ACEOF
12657 cat confdefs.h
>>conftest.
$ac_ext
12658 cat >>conftest.
$ac_ext <<_ACEOF
12659 /* end confdefs.h. */
12660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12662 #define $ac_func innocuous_$ac_func
12664 /* System header to define __stub macros and hopefully few prototypes,
12665 which can conflict with char $ac_func (); below.
12666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12667 <limits.h> exists even on freestanding compilers. */
12670 # include <limits.h>
12672 # include <assert.h>
12677 /* Override any gcc2 internal prototype to avoid an error. */
12682 /* We use char because int might match the return type of a gcc2
12683 builtin and then its argument prototype would still apply. */
12685 /* The GNU C library defines this for functions which it implements
12686 to always fail with ENOSYS. Some functions are actually named
12687 something starting with __ and the normal name is an alias. */
12688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12691 char (*f) () = $ac_func;
12700 return f != $ac_func;
12705 rm -f conftest.
$ac_objext conftest
$ac_exeext
12706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12707 (eval $ac_link) 2>conftest.er1
12709 grep -v '^ *+' conftest.er1
>conftest.err
12711 cat conftest.err
>&5
12712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12713 (exit $ac_status); } &&
12714 { ac_try
='test -z "$ac_c_werror_flag"
12715 || test ! -s conftest.err'
12716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12717 (eval $ac_try) 2>&5
12719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720 (exit $ac_status); }; } &&
12721 { ac_try
='test -s conftest$ac_exeext'
12722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12723 (eval $ac_try) 2>&5
12725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12726 (exit $ac_status); }; }; then
12727 eval "$as_ac_var=yes"
12729 echo "$as_me: failed program was:" >&5
12730 sed 's/^/| /' conftest.
$ac_ext >&5
12732 eval "$as_ac_var=no"
12734 rm -f conftest.err conftest.
$ac_objext \
12735 conftest
$ac_exeext conftest.
$ac_ext
12737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12739 if test `eval echo '${'$as_ac_var'}'` = yes; then
12740 cat >>confdefs.h
<<_ACEOF
12741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12747 if test "$memcpy_found" = no
; then
12748 { { echo "$as_me:$LINENO: error: memcpy is required" >&5
12749 echo "$as_me: error: memcpy is required" >&2;}
12750 { (exit 1); exit 1; }; }
12753 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12754 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12755 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12756 echo $ECHO_N "(cached) $ECHO_C" >&6
12758 ac_check_lib_save_LIBS
=$LIBS
12760 if test x
$gcc_no_link = xyes
; then
12761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12763 { (exit 1); exit 1; }; }
12765 cat >conftest.
$ac_ext <<_ACEOF
12768 cat confdefs.h
>>conftest.
$ac_ext
12769 cat >>conftest.
$ac_ext <<_ACEOF
12770 /* end confdefs.h. */
12772 /* Override any gcc2 internal prototype to avoid an error. */
12776 /* We use char because int might match the return type of a gcc2
12777 builtin and then its argument prototype would still apply. */
12787 rm -f conftest.
$ac_objext conftest
$ac_exeext
12788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12789 (eval $ac_link) 2>conftest.er1
12791 grep -v '^ *+' conftest.er1
>conftest.err
12793 cat conftest.err
>&5
12794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12795 (exit $ac_status); } &&
12796 { ac_try
='test -z "$ac_c_werror_flag"
12797 || test ! -s conftest.err'
12798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12799 (eval $ac_try) 2>&5
12801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12802 (exit $ac_status); }; } &&
12803 { ac_try
='test -s conftest$ac_exeext'
12804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12805 (eval $ac_try) 2>&5
12807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12808 (exit $ac_status); }; }; then
12809 ac_cv_lib_dl_dlopen
=yes
12811 echo "$as_me: failed program was:" >&5
12812 sed 's/^/| /' conftest.
$ac_ext >&5
12814 ac_cv_lib_dl_dlopen
=no
12816 rm -f conftest.err conftest.
$ac_objext \
12817 conftest
$ac_exeext conftest.
$ac_ext
12818 LIBS
=$ac_check_lib_save_LIBS
12820 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12821 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12822 if test $ac_cv_lib_dl_dlopen = yes; then
12825 cat >>confdefs.h
<<\_ACEOF
12826 #define HAVE_DLOPEN 1
12832 # Some library-finding code we stole from Tcl.
12833 #--------------------------------------------------------------------
12834 # Check for the existence of the -lsocket and -lnsl libraries.
12835 # The order here is important, so that they end up in the right
12836 # order in the command line generated by make. Here are some
12837 # special considerations:
12838 # 1. Use "connect" and "accept" to check for -lsocket, and
12839 # "gethostbyname" to check for -lnsl.
12840 # 2. Use each function name only once: can't redo a check because
12841 # autoconf caches the results of the last check and won't redo it.
12842 # 3. Use -lnsl and -lsocket only if they supply procedures that
12843 # aren't already present in the normal libraries. This is because
12844 # IRIX 5.2 has libraries, but they aren't needed and they're
12845 # bogus: they goof up name resolution if used.
12846 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
12847 # To get around this problem, check for both libraries together
12848 # if -lsocket doesn't work by itself.
12849 #--------------------------------------------------------------------
12851 echo "$as_me:$LINENO: checking for socket libraries" >&5
12852 echo $ECHO_N "checking for socket libraries... $ECHO_C" >&6
12853 if test "${gcj_cv_lib_sockets+set}" = set; then
12854 echo $ECHO_N "(cached) $ECHO_C" >&6
12856 gcj_cv_lib_sockets
=
12858 unset ac_cv_func_connect
12859 echo "$as_me:$LINENO: checking for connect" >&5
12860 echo $ECHO_N "checking for connect... $ECHO_C" >&6
12861 if test "${ac_cv_func_connect+set}" = set; then
12862 echo $ECHO_N "(cached) $ECHO_C" >&6
12864 if test x
$gcc_no_link = xyes
; then
12865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12867 { (exit 1); exit 1; }; }
12869 cat >conftest.
$ac_ext <<_ACEOF
12872 cat confdefs.h
>>conftest.
$ac_ext
12873 cat >>conftest.
$ac_ext <<_ACEOF
12874 /* end confdefs.h. */
12875 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
12876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12877 #define connect innocuous_connect
12879 /* System header to define __stub macros and hopefully few prototypes,
12880 which can conflict with char connect (); below.
12881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12882 <limits.h> exists even on freestanding compilers. */
12885 # include <limits.h>
12887 # include <assert.h>
12892 /* Override any gcc2 internal prototype to avoid an error. */
12897 /* We use char because int might match the return type of a gcc2
12898 builtin and then its argument prototype would still apply. */
12900 /* The GNU C library defines this for functions which it implements
12901 to always fail with ENOSYS. Some functions are actually named
12902 something starting with __ and the normal name is an alias. */
12903 #if defined (__stub_connect) || defined (__stub___connect)
12906 char (*f) () = connect;
12915 return f != connect;
12920 rm -f conftest.
$ac_objext conftest
$ac_exeext
12921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12922 (eval $ac_link) 2>conftest.er1
12924 grep -v '^ *+' conftest.er1
>conftest.err
12926 cat conftest.err
>&5
12927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928 (exit $ac_status); } &&
12929 { ac_try
='test -z "$ac_c_werror_flag"
12930 || test ! -s conftest.err'
12931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12932 (eval $ac_try) 2>&5
12934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12935 (exit $ac_status); }; } &&
12936 { ac_try
='test -s conftest$ac_exeext'
12937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12938 (eval $ac_try) 2>&5
12940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12941 (exit $ac_status); }; }; then
12942 ac_cv_func_connect
=yes
12944 echo "$as_me: failed program was:" >&5
12945 sed 's/^/| /' conftest.
$ac_ext >&5
12947 ac_cv_func_connect
=no
12949 rm -f conftest.err conftest.
$ac_objext \
12950 conftest
$ac_exeext conftest.
$ac_ext
12952 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
12953 echo "${ECHO_T}$ac_cv_func_connect" >&6
12954 if test $ac_cv_func_connect = yes; then
12960 if test "$gcj_checkSocket" = 1; then
12961 unset ac_cv_func_connect
12962 echo "$as_me:$LINENO: checking for main in -lsocket" >&5
12963 echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
12964 if test "${ac_cv_lib_socket_main+set}" = set; then
12965 echo $ECHO_N "(cached) $ECHO_C" >&6
12967 ac_check_lib_save_LIBS
=$LIBS
12968 LIBS
="-lsocket $LIBS"
12969 if test x
$gcc_no_link = xyes
; then
12970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12972 { (exit 1); exit 1; }; }
12974 cat >conftest.
$ac_ext <<_ACEOF
12977 cat confdefs.h
>>conftest.
$ac_ext
12978 cat >>conftest.
$ac_ext <<_ACEOF
12979 /* end confdefs.h. */
12990 rm -f conftest.
$ac_objext conftest
$ac_exeext
12991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12992 (eval $ac_link) 2>conftest.er1
12994 grep -v '^ *+' conftest.er1
>conftest.err
12996 cat conftest.err
>&5
12997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998 (exit $ac_status); } &&
12999 { ac_try
='test -z "$ac_c_werror_flag"
13000 || test ! -s conftest.err'
13001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13002 (eval $ac_try) 2>&5
13004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13005 (exit $ac_status); }; } &&
13006 { ac_try
='test -s conftest$ac_exeext'
13007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13008 (eval $ac_try) 2>&5
13010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13011 (exit $ac_status); }; }; then
13012 ac_cv_lib_socket_main
=yes
13014 echo "$as_me: failed program was:" >&5
13015 sed 's/^/| /' conftest.
$ac_ext >&5
13017 ac_cv_lib_socket_main
=no
13019 rm -f conftest.err conftest.
$ac_objext \
13020 conftest
$ac_exeext conftest.
$ac_ext
13021 LIBS
=$ac_check_lib_save_LIBS
13023 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
13024 echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
13025 if test $ac_cv_lib_socket_main = yes; then
13026 gcj_cv_lib_sockets
="-lsocket"
13032 if test "$gcj_checkBoth" = 1; then
13034 LIBS
="$LIBS -lsocket -lnsl"
13035 unset ac_cv_func_accept
13036 echo "$as_me:$LINENO: checking for accept" >&5
13037 echo $ECHO_N "checking for accept... $ECHO_C" >&6
13038 if test "${ac_cv_func_accept+set}" = set; then
13039 echo $ECHO_N "(cached) $ECHO_C" >&6
13041 if test x
$gcc_no_link = xyes
; then
13042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13044 { (exit 1); exit 1; }; }
13046 cat >conftest.
$ac_ext <<_ACEOF
13049 cat confdefs.h
>>conftest.
$ac_ext
13050 cat >>conftest.
$ac_ext <<_ACEOF
13051 /* end confdefs.h. */
13052 /* Define accept to an innocuous variant, in case <limits.h> declares accept.
13053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13054 #define accept innocuous_accept
13056 /* System header to define __stub macros and hopefully few prototypes,
13057 which can conflict with char accept (); below.
13058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13059 <limits.h> exists even on freestanding compilers. */
13062 # include <limits.h>
13064 # include <assert.h>
13069 /* Override any gcc2 internal prototype to avoid an error. */
13074 /* We use char because int might match the return type of a gcc2
13075 builtin and then its argument prototype would still apply. */
13077 /* The GNU C library defines this for functions which it implements
13078 to always fail with ENOSYS. Some functions are actually named
13079 something starting with __ and the normal name is an alias. */
13080 #if defined (__stub_accept) || defined (__stub___accept)
13083 char (*f) () = accept;
13092 return f != accept;
13097 rm -f conftest.
$ac_objext conftest
$ac_exeext
13098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13099 (eval $ac_link) 2>conftest.er1
13101 grep -v '^ *+' conftest.er1
>conftest.err
13103 cat conftest.err
>&5
13104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13105 (exit $ac_status); } &&
13106 { ac_try
='test -z "$ac_c_werror_flag"
13107 || test ! -s conftest.err'
13108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13109 (eval $ac_try) 2>&5
13111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13112 (exit $ac_status); }; } &&
13113 { ac_try
='test -s conftest$ac_exeext'
13114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13115 (eval $ac_try) 2>&5
13117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13118 (exit $ac_status); }; }; then
13119 ac_cv_func_accept
=yes
13121 echo "$as_me: failed program was:" >&5
13122 sed 's/^/| /' conftest.
$ac_ext >&5
13124 ac_cv_func_accept
=no
13126 rm -f conftest.err conftest.
$ac_objext \
13127 conftest
$ac_exeext conftest.
$ac_ext
13129 echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5
13130 echo "${ECHO_T}$ac_cv_func_accept" >&6
13131 if test $ac_cv_func_accept = yes; then
13133 gcj_cv_lib_sockets
="-lsocket -lnsl"
13136 unset ac_cv_func_accept
13139 unset ac_cv_func_gethostbyname
13141 LIBS
="$LIBS $gcj_cv_lib_sockets"
13142 echo "$as_me:$LINENO: checking for gethostbyname" >&5
13143 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
13144 if test "${ac_cv_func_gethostbyname+set}" = set; then
13145 echo $ECHO_N "(cached) $ECHO_C" >&6
13147 if test x
$gcc_no_link = xyes
; then
13148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13150 { (exit 1); exit 1; }; }
13152 cat >conftest.
$ac_ext <<_ACEOF
13155 cat confdefs.h
>>conftest.
$ac_ext
13156 cat >>conftest.
$ac_ext <<_ACEOF
13157 /* end confdefs.h. */
13158 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
13159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13160 #define gethostbyname innocuous_gethostbyname
13162 /* System header to define __stub macros and hopefully few prototypes,
13163 which can conflict with char gethostbyname (); below.
13164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13165 <limits.h> exists even on freestanding compilers. */
13168 # include <limits.h>
13170 # include <assert.h>
13173 #undef gethostbyname
13175 /* Override any gcc2 internal prototype to avoid an error. */
13180 /* We use char because int might match the return type of a gcc2
13181 builtin and then its argument prototype would still apply. */
13182 char gethostbyname ();
13183 /* The GNU C library defines this for functions which it implements
13184 to always fail with ENOSYS. Some functions are actually named
13185 something starting with __ and the normal name is an alias. */
13186 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13189 char (*f) () = gethostbyname;
13198 return f != gethostbyname;
13203 rm -f conftest.
$ac_objext conftest
$ac_exeext
13204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13205 (eval $ac_link) 2>conftest.er1
13207 grep -v '^ *+' conftest.er1
>conftest.err
13209 cat conftest.err
>&5
13210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13211 (exit $ac_status); } &&
13212 { ac_try
='test -z "$ac_c_werror_flag"
13213 || test ! -s conftest.err'
13214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13215 (eval $ac_try) 2>&5
13217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13218 (exit $ac_status); }; } &&
13219 { ac_try
='test -s conftest$ac_exeext'
13220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13221 (eval $ac_try) 2>&5
13223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13224 (exit $ac_status); }; }; then
13225 ac_cv_func_gethostbyname
=yes
13227 echo "$as_me: failed program was:" >&5
13228 sed 's/^/| /' conftest.
$ac_ext >&5
13230 ac_cv_func_gethostbyname
=no
13232 rm -f conftest.err conftest.
$ac_objext \
13233 conftest
$ac_exeext conftest.
$ac_ext
13235 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
13236 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
13237 if test $ac_cv_func_gethostbyname = yes; then
13240 echo "$as_me:$LINENO: checking for main in -lnsl" >&5
13241 echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
13242 if test "${ac_cv_lib_nsl_main+set}" = set; then
13243 echo $ECHO_N "(cached) $ECHO_C" >&6
13245 ac_check_lib_save_LIBS
=$LIBS
13247 if test x
$gcc_no_link = xyes
; then
13248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13250 { (exit 1); exit 1; }; }
13252 cat >conftest.
$ac_ext <<_ACEOF
13255 cat confdefs.h
>>conftest.
$ac_ext
13256 cat >>conftest.
$ac_ext <<_ACEOF
13257 /* end confdefs.h. */
13268 rm -f conftest.
$ac_objext conftest
$ac_exeext
13269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13270 (eval $ac_link) 2>conftest.er1
13272 grep -v '^ *+' conftest.er1
>conftest.err
13274 cat conftest.err
>&5
13275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13276 (exit $ac_status); } &&
13277 { ac_try
='test -z "$ac_c_werror_flag"
13278 || test ! -s conftest.err'
13279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13280 (eval $ac_try) 2>&5
13282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13283 (exit $ac_status); }; } &&
13284 { ac_try
='test -s conftest$ac_exeext'
13285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13286 (eval $ac_try) 2>&5
13288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13289 (exit $ac_status); }; }; then
13290 ac_cv_lib_nsl_main
=yes
13292 echo "$as_me: failed program was:" >&5
13293 sed 's/^/| /' conftest.
$ac_ext >&5
13295 ac_cv_lib_nsl_main
=no
13297 rm -f conftest.err conftest.
$ac_objext \
13298 conftest
$ac_exeext conftest.
$ac_ext
13299 LIBS
=$ac_check_lib_save_LIBS
13301 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
13302 echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
13303 if test $ac_cv_lib_nsl_main = yes; then
13304 gcj_cv_lib_sockets
="$gcj_cv_lib_sockets -lnsl"
13309 unset ac_cv_func_gethostbyname
13313 echo "$as_me:$LINENO: result: $gcj_cv_lib_sockets" >&5
13314 echo "${ECHO_T}$gcj_cv_lib_sockets" >&6
13315 SYSTEMSPEC
="$SYSTEMSPEC $gcj_cv_lib_sockets"
13317 if test "$with_system_zlib" = yes; then
13318 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
13319 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
13320 if test "${ac_cv_lib_z_deflate+set}" = set; then
13321 echo $ECHO_N "(cached) $ECHO_C" >&6
13323 ac_check_lib_save_LIBS
=$LIBS
13325 if test x
$gcc_no_link = xyes
; then
13326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13328 { (exit 1); exit 1; }; }
13330 cat >conftest.
$ac_ext <<_ACEOF
13333 cat confdefs.h
>>conftest.
$ac_ext
13334 cat >>conftest.
$ac_ext <<_ACEOF
13335 /* end confdefs.h. */
13337 /* Override any gcc2 internal prototype to avoid an error. */
13341 /* We use char because int might match the return type of a gcc2
13342 builtin and then its argument prototype would still apply. */
13352 rm -f conftest.
$ac_objext conftest
$ac_exeext
13353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13354 (eval $ac_link) 2>conftest.er1
13356 grep -v '^ *+' conftest.er1
>conftest.err
13358 cat conftest.err
>&5
13359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13360 (exit $ac_status); } &&
13361 { ac_try
='test -z "$ac_c_werror_flag"
13362 || test ! -s conftest.err'
13363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13364 (eval $ac_try) 2>&5
13366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13367 (exit $ac_status); }; } &&
13368 { ac_try
='test -s conftest$ac_exeext'
13369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13370 (eval $ac_try) 2>&5
13372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13373 (exit $ac_status); }; }; then
13374 ac_cv_lib_z_deflate
=yes
13376 echo "$as_me: failed program was:" >&5
13377 sed 's/^/| /' conftest.
$ac_ext >&5
13379 ac_cv_lib_z_deflate
=no
13381 rm -f conftest.err conftest.
$ac_objext \
13382 conftest
$ac_exeext conftest.
$ac_ext
13383 LIBS
=$ac_check_lib_save_LIBS
13385 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
13386 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
13387 if test $ac_cv_lib_z_deflate = yes; then
13395 # Test for Gtk stuff, if asked for.
13396 if test "$use_gtk_awt" = yes; then
13400 if test -z "$PKG_CONFIG"; then
13401 # Extract the first word of "pkg-config", so it can be a program name with args.
13402 set dummy pkg-config
; ac_word
=$2
13403 echo "$as_me:$LINENO: checking for $ac_word" >&5
13404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13405 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13406 echo $ECHO_N "(cached) $ECHO_C" >&6
13408 case $PKG_CONFIG in
13410 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13414 for as_dir
in $PATH
13417 test -z "$as_dir" && as_dir
=.
13418 for ac_exec_ext
in '' $ac_executable_extensions; do
13419 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13420 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13427 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13431 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13433 if test -n "$PKG_CONFIG"; then
13434 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13435 echo "${ECHO_T}$PKG_CONFIG" >&6
13437 echo "$as_me:$LINENO: result: no" >&5
13438 echo "${ECHO_T}no" >&6
13443 if test "$PKG_CONFIG" = "no" ; then
13444 echo "*** The pkg-config script could not be found. Make sure it is"
13445 echo "*** in your path, or set the PKG_CONFIG environment variable"
13446 echo "*** to the full path to pkg-config."
13447 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13449 PKG_CONFIG_MIN_VERSION
=0.9.0
13450 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13451 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4" >&5
13452 echo $ECHO_N "checking for gtk+-2.0 >= 2.4... $ECHO_C" >&6
13454 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4" ; then
13455 echo "$as_me:$LINENO: result: yes" >&5
13456 echo "${ECHO_T}yes" >&6
13459 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
13460 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
13461 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4"`
13462 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
13463 echo "${ECHO_T}$GTK_CFLAGS" >&6
13465 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
13466 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
13467 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4"`
13468 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
13469 echo "${ECHO_T}$GTK_LIBS" >&6
13473 ## If we have a custom action on failure, don't print errors, but
13474 ## do set a variable so people can do so.
13475 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4"`
13476 echo $GTK_PKG_ERRORS
13482 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13483 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13487 if test $succeeded = yes; then
13490 { { 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
13491 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;}
13492 { (exit 1); exit 1; }; }
13501 if test -z "$PKG_CONFIG"; then
13502 # Extract the first word of "pkg-config", so it can be a program name with args.
13503 set dummy pkg-config
; ac_word
=$2
13504 echo "$as_me:$LINENO: checking for $ac_word" >&5
13505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13506 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13507 echo $ECHO_N "(cached) $ECHO_C" >&6
13509 case $PKG_CONFIG in
13511 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13515 for as_dir
in $PATH
13518 test -z "$as_dir" && as_dir
=.
13519 for ac_exec_ext
in '' $ac_executable_extensions; do
13520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13521 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13528 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13532 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13534 if test -n "$PKG_CONFIG"; then
13535 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13536 echo "${ECHO_T}$PKG_CONFIG" >&6
13538 echo "$as_me:$LINENO: result: no" >&5
13539 echo "${ECHO_T}no" >&6
13544 if test "$PKG_CONFIG" = "no" ; then
13545 echo "*** The pkg-config script could not be found. Make sure it is"
13546 echo "*** in your path, or set the PKG_CONFIG environment variable"
13547 echo "*** to the full path to pkg-config."
13548 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13550 PKG_CONFIG_MIN_VERSION
=0.9.0
13551 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13552 echo "$as_me:$LINENO: checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4" >&5
13553 echo $ECHO_N "checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... $ECHO_C" >&6
13555 if $PKG_CONFIG --exists "glib-2.0 >= 2.4 gthread-2.0 >= 2.4" ; then
13556 echo "$as_me:$LINENO: result: yes" >&5
13557 echo "${ECHO_T}yes" >&6
13560 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
13561 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
13562 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
13563 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
13564 echo "${ECHO_T}$GLIB_CFLAGS" >&6
13566 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
13567 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
13568 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
13569 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
13570 echo "${ECHO_T}$GLIB_LIBS" >&6
13574 ## If we have a custom action on failure, don't print errors, but
13575 ## do set a variable so people can do so.
13576 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
13577 echo $GLIB_PKG_ERRORS
13583 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13584 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13588 if test $succeeded = yes; then
13591 { { 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
13592 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;}
13593 { (exit 1); exit 1; }; }
13602 if test -z "$PKG_CONFIG"; then
13603 # Extract the first word of "pkg-config", so it can be a program name with args.
13604 set dummy pkg-config
; ac_word
=$2
13605 echo "$as_me:$LINENO: checking for $ac_word" >&5
13606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13607 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13608 echo $ECHO_N "(cached) $ECHO_C" >&6
13610 case $PKG_CONFIG in
13612 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13616 for as_dir
in $PATH
13619 test -z "$as_dir" && as_dir
=.
13620 for ac_exec_ext
in '' $ac_executable_extensions; do
13621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13622 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13629 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13633 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13635 if test -n "$PKG_CONFIG"; then
13636 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13637 echo "${ECHO_T}$PKG_CONFIG" >&6
13639 echo "$as_me:$LINENO: result: no" >&5
13640 echo "${ECHO_T}no" >&6
13645 if test "$PKG_CONFIG" = "no" ; then
13646 echo "*** The pkg-config script could not be found. Make sure it is"
13647 echo "*** in your path, or set the PKG_CONFIG environment variable"
13648 echo "*** to the full path to pkg-config."
13649 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13651 PKG_CONFIG_MIN_VERSION
=0.9.0
13652 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13653 echo "$as_me:$LINENO: checking for libart-2.0 >= 2.1" >&5
13654 echo $ECHO_N "checking for libart-2.0 >= 2.1... $ECHO_C" >&6
13656 if $PKG_CONFIG --exists "libart-2.0 >= 2.1" ; then
13657 echo "$as_me:$LINENO: result: yes" >&5
13658 echo "${ECHO_T}yes" >&6
13661 echo "$as_me:$LINENO: checking LIBART_CFLAGS" >&5
13662 echo $ECHO_N "checking LIBART_CFLAGS... $ECHO_C" >&6
13663 LIBART_CFLAGS
=`$PKG_CONFIG --cflags "libart-2.0 >= 2.1"`
13664 echo "$as_me:$LINENO: result: $LIBART_CFLAGS" >&5
13665 echo "${ECHO_T}$LIBART_CFLAGS" >&6
13667 echo "$as_me:$LINENO: checking LIBART_LIBS" >&5
13668 echo $ECHO_N "checking LIBART_LIBS... $ECHO_C" >&6
13669 LIBART_LIBS
=`$PKG_CONFIG --libs "libart-2.0 >= 2.1"`
13670 echo "$as_me:$LINENO: result: $LIBART_LIBS" >&5
13671 echo "${ECHO_T}$LIBART_LIBS" >&6
13675 ## If we have a custom action on failure, don't print errors, but
13676 ## do set a variable so people can do so.
13677 LIBART_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libart-2.0 >= 2.1"`
13678 echo $LIBART_PKG_ERRORS
13684 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13685 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13689 if test $succeeded = yes; then
13692 { { 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
13693 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;}
13694 { (exit 1); exit 1; }; }
13700 # We require the XTest Extension to support java.awt.Robot.
13701 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
13702 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
13703 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
13704 echo $ECHO_N "(cached) $ECHO_C" >&6
13706 ac_check_lib_save_LIBS
=$LIBS
13707 LIBS
="-lXtst ${X_LIBS} $LIBS"
13708 if test x
$gcc_no_link = xyes
; then
13709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13711 { (exit 1); exit 1; }; }
13713 cat >conftest.
$ac_ext <<_ACEOF
13716 cat confdefs.h
>>conftest.
$ac_ext
13717 cat >>conftest.
$ac_ext <<_ACEOF
13718 /* end confdefs.h. */
13720 /* Override any gcc2 internal prototype to avoid an error. */
13724 /* We use char because int might match the return type of a gcc2
13725 builtin and then its argument prototype would still apply. */
13726 char XTestQueryExtension ();
13730 XTestQueryExtension ();
13735 rm -f conftest.
$ac_objext conftest
$ac_exeext
13736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13737 (eval $ac_link) 2>conftest.er1
13739 grep -v '^ *+' conftest.er1
>conftest.err
13741 cat conftest.err
>&5
13742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743 (exit $ac_status); } &&
13744 { ac_try
='test -z "$ac_c_werror_flag"
13745 || test ! -s conftest.err'
13746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13747 (eval $ac_try) 2>&5
13749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13750 (exit $ac_status); }; } &&
13751 { ac_try
='test -s conftest$ac_exeext'
13752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13753 (eval $ac_try) 2>&5
13755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13756 (exit $ac_status); }; }; then
13757 ac_cv_lib_Xtst_XTestQueryExtension
=yes
13759 echo "$as_me: failed program was:" >&5
13760 sed 's/^/| /' conftest.
$ac_ext >&5
13762 ac_cv_lib_Xtst_XTestQueryExtension
=no
13764 rm -f conftest.err conftest.
$ac_objext \
13765 conftest
$ac_exeext conftest.
$ac_ext
13766 LIBS
=$ac_check_lib_save_LIBS
13768 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
13769 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
13770 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
13773 { { echo "$as_me:$LINENO: error: libXtst not found, required by java.awt.Robot" >&5
13774 echo "$as_me: error: libXtst not found, required by java.awt.Robot" >&2;}
13775 { (exit 1); exit 1; }; }
13780 # On Solaris, and maybe other architectures, the Boehm collector
13782 if test "$GC" = boehm
; then
13783 echo "$as_me:$LINENO: checking for main in -ldl" >&5
13784 echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6
13785 if test "${ac_cv_lib_dl_main+set}" = set; then
13786 echo $ECHO_N "(cached) $ECHO_C" >&6
13788 ac_check_lib_save_LIBS
=$LIBS
13790 if test x
$gcc_no_link = xyes
; then
13791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13793 { (exit 1); exit 1; }; }
13795 cat >conftest.
$ac_ext <<_ACEOF
13798 cat confdefs.h
>>conftest.
$ac_ext
13799 cat >>conftest.
$ac_ext <<_ACEOF
13800 /* end confdefs.h. */
13811 rm -f conftest.
$ac_objext conftest
$ac_exeext
13812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13813 (eval $ac_link) 2>conftest.er1
13815 grep -v '^ *+' conftest.er1
>conftest.err
13817 cat conftest.err
>&5
13818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 (exit $ac_status); } &&
13820 { ac_try
='test -z "$ac_c_werror_flag"
13821 || test ! -s conftest.err'
13822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13823 (eval $ac_try) 2>&5
13825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13826 (exit $ac_status); }; } &&
13827 { ac_try
='test -s conftest$ac_exeext'
13828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13829 (eval $ac_try) 2>&5
13831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13832 (exit $ac_status); }; }; then
13833 ac_cv_lib_dl_main
=yes
13835 echo "$as_me: failed program was:" >&5
13836 sed 's/^/| /' conftest.
$ac_ext >&5
13838 ac_cv_lib_dl_main
=no
13840 rm -f conftest.err conftest.
$ac_objext \
13841 conftest
$ac_exeext conftest.
$ac_ext
13842 LIBS
=$ac_check_lib_save_LIBS
13844 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5
13845 echo "${ECHO_T}$ac_cv_lib_dl_main" >&6
13846 if test $ac_cv_lib_dl_main = yes; then
13847 SYSTEMSPEC
="$SYSTEMSPEC -ldl"
13853 # Use a semicolon as CLASSPATH separator for MinGW, otherwise a colon.
13855 *-mingw32) CLASSPATH_SEPARATOR
=';' ;;
13856 *) CLASSPATH_SEPARATOR
=':' ;;
13860 # We must search the source tree for java.lang, since we still don't
13861 # have libgcj.jar nor java/lang/*.class
13862 GCJ_SAVE_CPPFLAGS
=$CPPFLAGS
13863 CPPFLAGS
="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`"
13865 # Since some classes depend on this one, we need its source available
13866 # before we can do any GCJ compilation test :-(
13867 if test ! -f gnu
/classpath
/Configuration.java
; then
13868 test -d gnu || mkdir gnu
13869 test -d gnu
/classpath || mkdir gnu
/classpath
13870 # Note that it is not crucial that all the values here be correct.
13871 sed -e "s,@prefix@,$prefix," \
13872 -e "s,@VERSION@,$VERSION," \
13873 -e "s,@LIBDEBUG@,false," \
13874 -e "s,@INIT_LOAD_LIBRARY@,false," \
13875 -e "s,@@,$LIBGCJDEBUG," \
13876 -e "s,@default_toolkit@,$TOOLKIT," \
13877 -e "s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,false," \
13878 -e "s,@GTK_CAIRO_ENABLED@,false," \
13879 < $srcdir/classpath
/gnu
/classpath
/Configuration.java.
in \
13880 > gnu
/classpath
/Configuration.java
13881 # We do not want to redirect the output of the grep below to /dev/null,
13882 # but we add /dev/null to the input list so that grep will print the
13883 # filename of Configuration.java in case it finds any matches.
13884 if grep '@.*@' gnu
/classpath
/Configuration.java
/dev
/null
; then
13885 { { echo "$as_me:$LINENO: error: configure.ac is missing the substitutions above" >&5
13886 echo "$as_me: error: configure.ac is missing the substitutions above" >&2;}
13887 { (exit 1); exit 1; }; }
13891 if test -n "$ac_tool_prefix"; then
13892 # Extract the first word of "${ac_tool_prefix}gcj", so it can be a program name with args.
13893 set dummy
${ac_tool_prefix}gcj
; ac_word
=$2
13894 echo "$as_me:$LINENO: checking for $ac_word" >&5
13895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13896 if test "${ac_cv_prog_GCJ+set}" = set; then
13897 echo $ECHO_N "(cached) $ECHO_C" >&6
13899 if test -n "$GCJ"; then
13900 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
13902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13903 for as_dir
in $PATH
13906 test -z "$as_dir" && as_dir
=.
13907 for ac_exec_ext
in '' $ac_executable_extensions; do
13908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13909 ac_cv_prog_GCJ
="${ac_tool_prefix}gcj"
13910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13918 GCJ
=$ac_cv_prog_GCJ
13919 if test -n "$GCJ"; then
13920 echo "$as_me:$LINENO: result: $GCJ" >&5
13921 echo "${ECHO_T}$GCJ" >&6
13923 echo "$as_me:$LINENO: result: no" >&5
13924 echo "${ECHO_T}no" >&6
13928 if test -z "$ac_cv_prog_GCJ"; then
13930 # Extract the first word of "gcj", so it can be a program name with args.
13931 set dummy gcj
; ac_word
=$2
13932 echo "$as_me:$LINENO: checking for $ac_word" >&5
13933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13934 if test "${ac_cv_prog_ac_ct_GCJ+set}" = set; then
13935 echo $ECHO_N "(cached) $ECHO_C" >&6
13937 if test -n "$ac_ct_GCJ"; then
13938 ac_cv_prog_ac_ct_GCJ
="$ac_ct_GCJ" # Let the user override the test.
13940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13941 for as_dir
in $PATH
13944 test -z "$as_dir" && as_dir
=.
13945 for ac_exec_ext
in '' $ac_executable_extensions; do
13946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13947 ac_cv_prog_ac_ct_GCJ
="gcj"
13948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13954 test -z "$ac_cv_prog_ac_ct_GCJ" && ac_cv_prog_ac_ct_GCJ
="no"
13957 ac_ct_GCJ
=$ac_cv_prog_ac_ct_GCJ
13958 if test -n "$ac_ct_GCJ"; then
13959 echo "$as_me:$LINENO: result: $ac_ct_GCJ" >&5
13960 echo "${ECHO_T}$ac_ct_GCJ" >&6
13962 echo "$as_me:$LINENO: result: no" >&5
13963 echo "${ECHO_T}no" >&6
13968 GCJ
="$ac_cv_prog_GCJ"
13971 test "x${GCJFLAGS+set}" = xset || GCJFLAGS
="-g -O2"
13977 rm -f gnu
/classpath
/Configuration.java
13979 CPPFLAGS
=$GCJ_SAVE_CPPFLAGS
13981 echo "$as_me:$LINENO: checking for void *" >&5
13982 echo $ECHO_N "checking for void *... $ECHO_C" >&6
13983 if test "${ac_cv_type_void_p+set}" = set; then
13984 echo $ECHO_N "(cached) $ECHO_C" >&6
13986 cat >conftest.
$ac_ext <<_ACEOF
13989 cat confdefs.h
>>conftest.
$ac_ext
13990 cat >>conftest.
$ac_ext <<_ACEOF
13991 /* end confdefs.h. */
13992 $ac_includes_default
13998 if (sizeof (void *))
14004 rm -f conftest.
$ac_objext
14005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14006 (eval $ac_compile) 2>conftest.er1
14008 grep -v '^ *+' conftest.er1
>conftest.err
14010 cat conftest.err
>&5
14011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14012 (exit $ac_status); } &&
14013 { ac_try
='test -z "$ac_c_werror_flag"
14014 || test ! -s conftest.err'
14015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14016 (eval $ac_try) 2>&5
14018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14019 (exit $ac_status); }; } &&
14020 { ac_try
='test -s conftest.$ac_objext'
14021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14022 (eval $ac_try) 2>&5
14024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14025 (exit $ac_status); }; }; then
14026 ac_cv_type_void_p
=yes
14028 echo "$as_me: failed program was:" >&5
14029 sed 's/^/| /' conftest.
$ac_ext >&5
14031 ac_cv_type_void_p
=no
14033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14035 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14036 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14038 echo "$as_me:$LINENO: checking size of void *" >&5
14039 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14040 if test "${ac_cv_sizeof_void_p+set}" = set; then
14041 echo $ECHO_N "(cached) $ECHO_C" >&6
14043 if test "$ac_cv_type_void_p" = yes; then
14044 # The cast to unsigned long works around a bug in the HP C Compiler
14045 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14046 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14047 # This bug is HP SR number 8606223364.
14048 if test "$cross_compiling" = yes; then
14049 # Depending upon the size, compute the lo and hi bounds.
14050 cat >conftest.
$ac_ext <<_ACEOF
14053 cat confdefs.h
>>conftest.
$ac_ext
14054 cat >>conftest.
$ac_ext <<_ACEOF
14055 /* end confdefs.h. */
14056 $ac_includes_default
14060 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14067 rm -f conftest.
$ac_objext
14068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14069 (eval $ac_compile) 2>conftest.er1
14071 grep -v '^ *+' conftest.er1
>conftest.err
14073 cat conftest.err
>&5
14074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14075 (exit $ac_status); } &&
14076 { ac_try
='test -z "$ac_c_werror_flag"
14077 || test ! -s conftest.err'
14078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14079 (eval $ac_try) 2>&5
14081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14082 (exit $ac_status); }; } &&
14083 { ac_try
='test -s conftest.$ac_objext'
14084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14085 (eval $ac_try) 2>&5
14087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14088 (exit $ac_status); }; }; then
14091 cat >conftest.
$ac_ext <<_ACEOF
14094 cat confdefs.h
>>conftest.
$ac_ext
14095 cat >>conftest.
$ac_ext <<_ACEOF
14096 /* end confdefs.h. */
14097 $ac_includes_default
14101 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14108 rm -f conftest.
$ac_objext
14109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14110 (eval $ac_compile) 2>conftest.er1
14112 grep -v '^ *+' conftest.er1
>conftest.err
14114 cat conftest.err
>&5
14115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116 (exit $ac_status); } &&
14117 { ac_try
='test -z "$ac_c_werror_flag"
14118 || test ! -s conftest.err'
14119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14120 (eval $ac_try) 2>&5
14122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14123 (exit $ac_status); }; } &&
14124 { ac_try
='test -s conftest.$ac_objext'
14125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14126 (eval $ac_try) 2>&5
14128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14129 (exit $ac_status); }; }; then
14130 ac_hi
=$ac_mid; break
14132 echo "$as_me: failed program was:" >&5
14133 sed 's/^/| /' conftest.
$ac_ext >&5
14135 ac_lo
=`expr $ac_mid + 1`
14136 if test $ac_lo -le $ac_mid; then
14140 ac_mid
=`expr 2 '*' $ac_mid + 1`
14142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14145 echo "$as_me: failed program was:" >&5
14146 sed 's/^/| /' conftest.
$ac_ext >&5
14148 cat >conftest.
$ac_ext <<_ACEOF
14151 cat confdefs.h
>>conftest.
$ac_ext
14152 cat >>conftest.
$ac_ext <<_ACEOF
14153 /* end confdefs.h. */
14154 $ac_includes_default
14158 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14165 rm -f conftest.
$ac_objext
14166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14167 (eval $ac_compile) 2>conftest.er1
14169 grep -v '^ *+' conftest.er1
>conftest.err
14171 cat conftest.err
>&5
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); } &&
14174 { ac_try
='test -z "$ac_c_werror_flag"
14175 || test ! -s conftest.err'
14176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14177 (eval $ac_try) 2>&5
14179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14180 (exit $ac_status); }; } &&
14181 { ac_try
='test -s conftest.$ac_objext'
14182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14183 (eval $ac_try) 2>&5
14185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14186 (exit $ac_status); }; }; then
14189 cat >conftest.
$ac_ext <<_ACEOF
14192 cat confdefs.h
>>conftest.
$ac_ext
14193 cat >>conftest.
$ac_ext <<_ACEOF
14194 /* end confdefs.h. */
14195 $ac_includes_default
14199 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14206 rm -f conftest.
$ac_objext
14207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14208 (eval $ac_compile) 2>conftest.er1
14210 grep -v '^ *+' conftest.er1
>conftest.err
14212 cat conftest.err
>&5
14213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14214 (exit $ac_status); } &&
14215 { ac_try
='test -z "$ac_c_werror_flag"
14216 || test ! -s conftest.err'
14217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14218 (eval $ac_try) 2>&5
14220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14221 (exit $ac_status); }; } &&
14222 { ac_try
='test -s conftest.$ac_objext'
14223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14224 (eval $ac_try) 2>&5
14226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14227 (exit $ac_status); }; }; then
14228 ac_lo
=$ac_mid; break
14230 echo "$as_me: failed program was:" >&5
14231 sed 's/^/| /' conftest.
$ac_ext >&5
14233 ac_hi
=`expr '(' $ac_mid ')' - 1`
14234 if test $ac_mid -le $ac_hi; then
14238 ac_mid
=`expr 2 '*' $ac_mid`
14240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14243 echo "$as_me: failed program was:" >&5
14244 sed 's/^/| /' conftest.
$ac_ext >&5
14248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14251 # Binary search between lo and hi bounds.
14252 while test "x$ac_lo" != "x$ac_hi"; do
14253 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14254 cat >conftest.
$ac_ext <<_ACEOF
14257 cat confdefs.h
>>conftest.
$ac_ext
14258 cat >>conftest.
$ac_ext <<_ACEOF
14259 /* end confdefs.h. */
14260 $ac_includes_default
14264 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14271 rm -f conftest.
$ac_objext
14272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14273 (eval $ac_compile) 2>conftest.er1
14275 grep -v '^ *+' conftest.er1
>conftest.err
14277 cat conftest.err
>&5
14278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279 (exit $ac_status); } &&
14280 { ac_try
='test -z "$ac_c_werror_flag"
14281 || test ! -s conftest.err'
14282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14283 (eval $ac_try) 2>&5
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); }; } &&
14287 { ac_try
='test -s conftest.$ac_objext'
14288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14289 (eval $ac_try) 2>&5
14291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14292 (exit $ac_status); }; }; then
14295 echo "$as_me: failed program was:" >&5
14296 sed 's/^/| /' conftest.
$ac_ext >&5
14298 ac_lo
=`expr '(' $ac_mid ')' + 1`
14300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14303 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14304 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14305 See \`config.log' for more details." >&5
14306 echo "$as_me: error: cannot compute sizeof (void *), 77
14307 See \`config.log' for more details." >&2;}
14308 { (exit 1); exit 1; }; } ;;
14311 if test "$cross_compiling" = yes; then
14312 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14313 See \`config.log' for more details." >&5
14314 echo "$as_me: error: cannot run test program while cross compiling
14315 See \`config.log' for more details." >&2;}
14316 { (exit 1); exit 1; }; }
14318 cat >conftest.
$ac_ext <<_ACEOF
14321 cat confdefs.h
>>conftest.
$ac_ext
14322 cat >>conftest.
$ac_ext <<_ACEOF
14323 /* end confdefs.h. */
14324 $ac_includes_default
14325 long longval () { return (long) (sizeof (void *)); }
14326 unsigned long ulongval () { return (long) (sizeof (void *)); }
14328 #include <stdlib.h>
14333 FILE *f = fopen ("conftest.val", "w");
14336 if (((long) (sizeof (void *))) < 0)
14338 long i = longval ();
14339 if (i != ((long) (sizeof (void *))))
14341 fprintf (f, "%ld\n", i);
14345 unsigned long i = ulongval ();
14346 if (i != ((long) (sizeof (void *))))
14348 fprintf (f, "%lu\n", i);
14350 exit (ferror (f) || fclose (f) != 0);
14356 rm -f conftest
$ac_exeext
14357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14358 (eval $ac_link) 2>&5
14360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14361 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14363 (eval $ac_try) 2>&5
14365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14366 (exit $ac_status); }; }; then
14367 ac_cv_sizeof_void_p
=`cat conftest.val`
14369 echo "$as_me: program exited with status $ac_status" >&5
14370 echo "$as_me: failed program was:" >&5
14371 sed 's/^/| /' conftest.
$ac_ext >&5
14373 ( exit $ac_status )
14374 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14375 See \`config.log' for more details." >&5
14376 echo "$as_me: error: cannot compute sizeof (void *), 77
14377 See \`config.log' for more details." >&2;}
14378 { (exit 1); exit 1; }; }
14380 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14385 ac_cv_sizeof_void_p
=0
14388 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14389 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14390 cat >>confdefs.h
<<_ACEOF
14391 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14396 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
14397 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
14398 if test "${ac_cv_c_bigendian+set}" = set; then
14399 echo $ECHO_N "(cached) $ECHO_C" >&6
14401 # See if sys/param.h defines the BYTE_ORDER macro.
14402 cat >conftest.
$ac_ext <<_ACEOF
14405 cat confdefs.h
>>conftest.
$ac_ext
14406 cat >>conftest.
$ac_ext <<_ACEOF
14407 /* end confdefs.h. */
14408 #include <sys/types.h>
14409 #include <sys/param.h>
14414 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
14415 bogus endian macros
14422 rm -f conftest.
$ac_objext
14423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14424 (eval $ac_compile) 2>conftest.er1
14426 grep -v '^ *+' conftest.er1
>conftest.err
14428 cat conftest.err
>&5
14429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14430 (exit $ac_status); } &&
14431 { ac_try
='test -z "$ac_c_werror_flag"
14432 || test ! -s conftest.err'
14433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14434 (eval $ac_try) 2>&5
14436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14437 (exit $ac_status); }; } &&
14438 { ac_try
='test -s conftest.$ac_objext'
14439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14440 (eval $ac_try) 2>&5
14442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14443 (exit $ac_status); }; }; then
14444 # It does; now see whether it defined to BIG_ENDIAN or not.
14445 cat >conftest.
$ac_ext <<_ACEOF
14448 cat confdefs.h
>>conftest.
$ac_ext
14449 cat >>conftest.
$ac_ext <<_ACEOF
14450 /* end confdefs.h. */
14451 #include <sys/types.h>
14452 #include <sys/param.h>
14457 #if BYTE_ORDER != BIG_ENDIAN
14465 rm -f conftest.
$ac_objext
14466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14467 (eval $ac_compile) 2>conftest.er1
14469 grep -v '^ *+' conftest.er1
>conftest.err
14471 cat conftest.err
>&5
14472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473 (exit $ac_status); } &&
14474 { ac_try
='test -z "$ac_c_werror_flag"
14475 || test ! -s conftest.err'
14476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14477 (eval $ac_try) 2>&5
14479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14480 (exit $ac_status); }; } &&
14481 { ac_try
='test -s conftest.$ac_objext'
14482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14483 (eval $ac_try) 2>&5
14485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486 (exit $ac_status); }; }; then
14487 ac_cv_c_bigendian
=yes
14489 echo "$as_me: failed program was:" >&5
14490 sed 's/^/| /' conftest.
$ac_ext >&5
14492 ac_cv_c_bigendian
=no
14494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14496 echo "$as_me: failed program was:" >&5
14497 sed 's/^/| /' conftest.
$ac_ext >&5
14499 # It does not; compile a test program.
14500 if test "$cross_compiling" = yes; then
14501 # try to guess the endianness by grepping values into an object file
14502 ac_cv_c_bigendian
=unknown
14503 cat >conftest.
$ac_ext <<_ACEOF
14506 cat confdefs.h
>>conftest.
$ac_ext
14507 cat >>conftest.
$ac_ext <<_ACEOF
14508 /* end confdefs.h. */
14509 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14510 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14511 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
14512 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14513 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14514 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
14518 _ascii (); _ebcdic ();
14523 rm -f conftest.
$ac_objext
14524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14525 (eval $ac_compile) 2>conftest.er1
14527 grep -v '^ *+' conftest.er1
>conftest.err
14529 cat conftest.err
>&5
14530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14531 (exit $ac_status); } &&
14532 { ac_try
='test -z "$ac_c_werror_flag"
14533 || test ! -s conftest.err'
14534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14535 (eval $ac_try) 2>&5
14537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14538 (exit $ac_status); }; } &&
14539 { ac_try
='test -s conftest.$ac_objext'
14540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14541 (eval $ac_try) 2>&5
14543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14544 (exit $ac_status); }; }; then
14545 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
14546 ac_cv_c_bigendian
=yes
14548 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
14549 if test "$ac_cv_c_bigendian" = unknown
; then
14550 ac_cv_c_bigendian
=no
14552 # finding both strings is unlikely to happen, but who knows?
14553 ac_cv_c_bigendian
=unknown
14557 echo "$as_me: failed program was:" >&5
14558 sed 's/^/| /' conftest.
$ac_ext >&5
14561 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14563 cat >conftest.
$ac_ext <<_ACEOF
14566 cat confdefs.h
>>conftest.
$ac_ext
14567 cat >>conftest.
$ac_ext <<_ACEOF
14568 /* end confdefs.h. */
14572 /* Are we little or big endian? From Harbison&Steele. */
14576 char c[sizeof (long)];
14579 exit (u.c[sizeof (long) - 1] == 1);
14582 rm -f conftest
$ac_exeext
14583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14584 (eval $ac_link) 2>&5
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14589 (eval $ac_try) 2>&5
14591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14592 (exit $ac_status); }; }; then
14593 ac_cv_c_bigendian
=no
14595 echo "$as_me: program exited with status $ac_status" >&5
14596 echo "$as_me: failed program was:" >&5
14597 sed 's/^/| /' conftest.
$ac_ext >&5
14599 ( exit $ac_status )
14600 ac_cv_c_bigendian
=yes
14602 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14607 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
14608 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
14609 case $ac_cv_c_bigendian in
14612 cat >>confdefs.h
<<\_ACEOF
14613 #define WORDS_BIGENDIAN 1
14619 { { echo "$as_me:$LINENO: error: unknown endianness
14620 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
14621 echo "$as_me: error: unknown endianness
14622 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
14623 { (exit 1); exit 1; }; } ;;
14631 if test -z "$ZLIBSPEC"; then
14632 # Use zlib from the GCC tree.
14633 ZINCS
='-I$(top_srcdir)/../zlib'
14634 ZLIBS
=..
/zlib
/libzgcj_convenience.la
14637 SYS_ZLIBS
="$ZLIBSPEC"
14650 if test "$NATIVE" = yes; then
14660 if test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes; then
14661 NEEDS_DATA_START_TRUE
=
14662 NEEDS_DATA_START_FALSE
='#'
14664 NEEDS_DATA_START_TRUE
='#'
14665 NEEDS_DATA_START_FALSE
=
14670 # Process the option "--enable-version-specific-runtime-libs"
14671 # Calculate toolexeclibdir
14672 case ${version_specific_libs} in
14674 # Need the gcc compiler version to know where to install libraries
14675 # and header files if --enable-version-specific-runtime-libs option
14677 includedir
='$(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/include/'
14678 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
14679 toolexecmainlibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
14680 toolexeclibdir
=$toolexecmainlibdir
14683 if test -n "$with_cross_host" &&
14684 test x
"$with_cross_host" != x
"no"; then
14685 # Install a library built with a cross compiler in tooldir, not libdir.
14686 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
14687 toolexecmainlibdir
='$(toolexecdir)/lib'
14689 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
14690 toolexecmainlibdir
='$(libdir)'
14692 multi_os_directory
=`$CC -print-multi-os-directory`
14693 case $multi_os_directory in
14694 .
) toolexeclibdir
=$toolexecmainlibdir ;; # Avoid trailing /.
14695 *) toolexeclibdir
=$toolexecmainlibdir/$multi_os_directory ;;
14703 # Determine gcj version number.
14704 gcjversion
=`$GCJ -v 2>&1 | sed -n 's/^.*version \([^ ]*\).*$/\1/p'`
14705 GCJVERSION
=$gcjversion
14708 cat >>confdefs.h
<<_ACEOF
14709 #define GCJVERSION "$GCJVERSION"
14714 cat >>confdefs.h
<<\_ACEOF
14715 #define JV_VERSION "1.4.2"
14719 cat >>confdefs.h
<<\_ACEOF
14720 #define JV_API_VERSION "1.4"
14725 case "${with_gxx_include_dir}" in
14727 { { echo "$as_me:$LINENO: error: --with-gxx-include-dir=[dir] requires a directory" >&5
14728 echo "$as_me: error: --with-gxx-include-dir=[dir] requires a directory" >&2;}
14729 { (exit 1); exit 1; }; }
14732 case "${enable_version_specific_runtime_libs}" in
14733 yes) gxx_include_dir
='$(libsubdir)/include/c++' ;;
14735 libstdcxx_incdir
='c++/$(gcc_version)'
14736 gxx_include_dir
='$(prefix)/include/$(libstdcxx_incdir)' ;;
14738 *) gxx_include_dir
=${with_gxx_include_dir} ;;
14744 # We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
14745 # On that system, sys/ioctl.h will not include sys/filio.h unless
14746 # BSD_COMP is defined; just including sys/filio.h is simpler.
14747 # We avoid AC_HEADER_DIRENT since we really only care about dirent.h
14748 # for now. If you change this, you also must update natFile.cc.
14769 for ac_header
in unistd.h bstring.h sys
/time.h sys
/types.h fcntl.h \
14770 sys
/ioctl.h sys
/filio.h sys
/stat.h sys
/select.h \
14771 sys
/socket.h netinet
/in.h arpa
/inet.h netdb.h net
/if.h \
14772 pwd.h sys
/config.h stdint.h langinfo.h locale.h \
14775 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14776 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14777 echo "$as_me:$LINENO: checking for $ac_header" >&5
14778 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14780 echo $ECHO_N "(cached) $ECHO_C" >&6
14782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14783 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14785 # Is the header compilable?
14786 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14787 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14788 cat >conftest.
$ac_ext <<_ACEOF
14791 cat confdefs.h
>>conftest.
$ac_ext
14792 cat >>conftest.
$ac_ext <<_ACEOF
14793 /* end confdefs.h. */
14794 $ac_includes_default
14795 #include <$ac_header>
14797 rm -f conftest.
$ac_objext
14798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14799 (eval $ac_compile) 2>conftest.er1
14801 grep -v '^ *+' conftest.er1
>conftest.err
14803 cat conftest.err
>&5
14804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14805 (exit $ac_status); } &&
14806 { ac_try
='test -z "$ac_c_werror_flag"
14807 || test ! -s conftest.err'
14808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14809 (eval $ac_try) 2>&5
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); }; } &&
14813 { ac_try
='test -s conftest.$ac_objext'
14814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14815 (eval $ac_try) 2>&5
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); }; }; then
14819 ac_header_compiler
=yes
14821 echo "$as_me: failed program was:" >&5
14822 sed 's/^/| /' conftest.
$ac_ext >&5
14824 ac_header_compiler
=no
14826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14827 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14828 echo "${ECHO_T}$ac_header_compiler" >&6
14830 # Is the header present?
14831 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14832 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14833 cat >conftest.
$ac_ext <<_ACEOF
14836 cat confdefs.h
>>conftest.
$ac_ext
14837 cat >>conftest.
$ac_ext <<_ACEOF
14838 /* end confdefs.h. */
14839 #include <$ac_header>
14841 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14842 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14844 grep -v '^ *+' conftest.er1
>conftest.err
14846 cat conftest.err
>&5
14847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14848 (exit $ac_status); } >/dev
/null
; then
14849 if test -s conftest.err
; then
14850 ac_cpp_err
=$ac_c_preproc_warn_flag
14851 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14858 if test -z "$ac_cpp_err"; then
14859 ac_header_preproc
=yes
14861 echo "$as_me: failed program was:" >&5
14862 sed 's/^/| /' conftest.
$ac_ext >&5
14864 ac_header_preproc
=no
14866 rm -f conftest.err conftest.
$ac_ext
14867 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14868 echo "${ECHO_T}$ac_header_preproc" >&6
14870 # So? What about this header?
14871 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14873 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14874 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14875 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14876 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14877 ac_header_preproc
=yes
14880 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14881 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14882 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14883 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14884 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14885 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14886 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14887 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14888 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14889 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14890 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14891 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14894 ## ---------------------------------- ##
14895 ## Report this to the libjava lists. ##
14896 ## ---------------------------------- ##
14899 sed "s/^/$as_me: WARNING: /" >&2
14902 echo "$as_me:$LINENO: checking for $ac_header" >&5
14903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14905 echo $ECHO_N "(cached) $ECHO_C" >&6
14907 eval "$as_ac_Header=\$ac_header_preproc"
14909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14910 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14913 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14914 cat >>confdefs.h
<<_ACEOF
14915 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14923 for ac_header
in inttypes.h
14925 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14927 echo "$as_me:$LINENO: checking for $ac_header" >&5
14928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14929 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14930 echo $ECHO_N "(cached) $ECHO_C" >&6
14932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14933 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14935 # Is the header compilable?
14936 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14937 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14938 cat >conftest.
$ac_ext <<_ACEOF
14941 cat confdefs.h
>>conftest.
$ac_ext
14942 cat >>conftest.
$ac_ext <<_ACEOF
14943 /* end confdefs.h. */
14944 $ac_includes_default
14945 #include <$ac_header>
14947 rm -f conftest.
$ac_objext
14948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14949 (eval $ac_compile) 2>conftest.er1
14951 grep -v '^ *+' conftest.er1
>conftest.err
14953 cat conftest.err
>&5
14954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14955 (exit $ac_status); } &&
14956 { ac_try
='test -z "$ac_c_werror_flag"
14957 || test ! -s conftest.err'
14958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14959 (eval $ac_try) 2>&5
14961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14962 (exit $ac_status); }; } &&
14963 { ac_try
='test -s conftest.$ac_objext'
14964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14965 (eval $ac_try) 2>&5
14967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14968 (exit $ac_status); }; }; then
14969 ac_header_compiler
=yes
14971 echo "$as_me: failed program was:" >&5
14972 sed 's/^/| /' conftest.
$ac_ext >&5
14974 ac_header_compiler
=no
14976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14977 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14978 echo "${ECHO_T}$ac_header_compiler" >&6
14980 # Is the header present?
14981 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14982 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14983 cat >conftest.
$ac_ext <<_ACEOF
14986 cat confdefs.h
>>conftest.
$ac_ext
14987 cat >>conftest.
$ac_ext <<_ACEOF
14988 /* end confdefs.h. */
14989 #include <$ac_header>
14991 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14992 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14994 grep -v '^ *+' conftest.er1
>conftest.err
14996 cat conftest.err
>&5
14997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14998 (exit $ac_status); } >/dev
/null
; then
14999 if test -s conftest.err
; then
15000 ac_cpp_err
=$ac_c_preproc_warn_flag
15001 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15008 if test -z "$ac_cpp_err"; then
15009 ac_header_preproc
=yes
15011 echo "$as_me: failed program was:" >&5
15012 sed 's/^/| /' conftest.
$ac_ext >&5
15014 ac_header_preproc
=no
15016 rm -f conftest.err conftest.
$ac_ext
15017 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15018 echo "${ECHO_T}$ac_header_preproc" >&6
15020 # So? What about this header?
15021 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15023 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15024 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15025 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15026 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15027 ac_header_preproc
=yes
15030 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15031 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15032 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15033 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15034 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15035 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15036 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15037 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15039 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15040 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15041 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15044 ## ---------------------------------- ##
15045 ## Report this to the libjava lists. ##
15046 ## ---------------------------------- ##
15049 sed "s/^/$as_me: WARNING: /" >&2
15052 echo "$as_me:$LINENO: checking for $ac_header" >&5
15053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15054 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15055 echo $ECHO_N "(cached) $ECHO_C" >&6
15057 eval "$as_ac_Header=\$ac_header_preproc"
15059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15060 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15063 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15064 cat >>confdefs.h
<<_ACEOF
15065 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15069 cat >>confdefs.h
<<\_ACEOF
15070 #define HAVE_INTTYPES_H 1
15074 cat >>confdefs.h
<<\_ACEOF
15075 #define JV_HAVE_INTTYPES_H 1
15083 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
15084 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
15085 if test "${ac_cv_header_sys_wait_h+set}" = set; then
15086 echo $ECHO_N "(cached) $ECHO_C" >&6
15088 cat >conftest.
$ac_ext <<_ACEOF
15091 cat confdefs.h
>>conftest.
$ac_ext
15092 cat >>conftest.
$ac_ext <<_ACEOF
15093 /* end confdefs.h. */
15094 #include <sys/types.h>
15095 #include <sys/wait.h>
15096 #ifndef WEXITSTATUS
15097 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
15100 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
15108 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
15113 rm -f conftest.
$ac_objext
15114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15115 (eval $ac_compile) 2>conftest.er1
15117 grep -v '^ *+' conftest.er1
>conftest.err
15119 cat conftest.err
>&5
15120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121 (exit $ac_status); } &&
15122 { ac_try
='test -z "$ac_c_werror_flag"
15123 || test ! -s conftest.err'
15124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15125 (eval $ac_try) 2>&5
15127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15128 (exit $ac_status); }; } &&
15129 { ac_try
='test -s conftest.$ac_objext'
15130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15131 (eval $ac_try) 2>&5
15133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15134 (exit $ac_status); }; }; then
15135 ac_cv_header_sys_wait_h
=yes
15137 echo "$as_me: failed program was:" >&5
15138 sed 's/^/| /' conftest.
$ac_ext >&5
15140 ac_cv_header_sys_wait_h
=no
15142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15144 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
15145 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
15146 if test $ac_cv_header_sys_wait_h = yes; then
15148 cat >>confdefs.h
<<\_ACEOF
15149 #define HAVE_SYS_WAIT_H 1
15155 echo "$as_me:$LINENO: checking for ssize_t" >&5
15156 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
15157 if test "${ac_cv_type_ssize_t+set}" = set; then
15158 echo $ECHO_N "(cached) $ECHO_C" >&6
15160 cat >conftest.
$ac_ext <<_ACEOF
15163 cat confdefs.h
>>conftest.
$ac_ext
15164 cat >>conftest.
$ac_ext <<_ACEOF
15165 /* end confdefs.h. */
15166 $ac_includes_default
15172 if (sizeof (ssize_t))
15178 rm -f conftest.
$ac_objext
15179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15180 (eval $ac_compile) 2>conftest.er1
15182 grep -v '^ *+' conftest.er1
>conftest.err
15184 cat conftest.err
>&5
15185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186 (exit $ac_status); } &&
15187 { ac_try
='test -z "$ac_c_werror_flag"
15188 || test ! -s conftest.err'
15189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15190 (eval $ac_try) 2>&5
15192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15193 (exit $ac_status); }; } &&
15194 { ac_try
='test -s conftest.$ac_objext'
15195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15196 (eval $ac_try) 2>&5
15198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15199 (exit $ac_status); }; }; then
15200 ac_cv_type_ssize_t
=yes
15202 echo "$as_me: failed program was:" >&5
15203 sed 's/^/| /' conftest.
$ac_ext >&5
15205 ac_cv_type_ssize_t
=no
15207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15209 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
15210 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
15211 if test $ac_cv_type_ssize_t = yes; then
15215 cat >>confdefs.h
<<_ACEOF
15216 #define ssize_t int
15222 echo "$as_me:$LINENO: checking for in_addr_t" >&5
15223 echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6
15224 cat >conftest.
$ac_ext <<_ACEOF
15227 cat confdefs.h
>>conftest.
$ac_ext
15228 cat >>conftest.
$ac_ext <<_ACEOF
15229 /* end confdefs.h. */
15230 #include <sys/types.h>
15232 #include <stdlib.h>
15233 #include <stddef.h>
15235 #if HAVE_NETINET_IN_H
15236 #include <netinet/in.h>
15246 rm -f conftest.
$ac_objext
15247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15248 (eval $ac_compile) 2>conftest.er1
15250 grep -v '^ *+' conftest.er1
>conftest.err
15252 cat conftest.err
>&5
15253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15254 (exit $ac_status); } &&
15255 { ac_try
='test -z "$ac_c_werror_flag"
15256 || test ! -s conftest.err'
15257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15258 (eval $ac_try) 2>&5
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 (exit $ac_status); }; } &&
15262 { ac_try
='test -s conftest.$ac_objext'
15263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15264 (eval $ac_try) 2>&5
15266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15267 (exit $ac_status); }; }; then
15269 cat >>confdefs.h
<<\_ACEOF
15270 #define HAVE_IN_ADDR_T 1
15273 echo "$as_me:$LINENO: result: yes" >&5
15274 echo "${ECHO_T}yes" >&6
15276 echo "$as_me: failed program was:" >&5
15277 sed 's/^/| /' conftest.
$ac_ext >&5
15279 echo "$as_me:$LINENO: result: no" >&5
15280 echo "${ECHO_T}no" >&6
15282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15284 echo "$as_me:$LINENO: checking whether struct ip_mreq is in netinet/in.h" >&5
15285 echo $ECHO_N "checking whether struct ip_mreq is in netinet/in.h... $ECHO_C" >&6
15286 cat >conftest.
$ac_ext <<_ACEOF
15289 cat confdefs.h
>>conftest.
$ac_ext
15290 cat >>conftest.
$ac_ext <<_ACEOF
15291 /* end confdefs.h. */
15292 #include <netinet/in.h>
15296 struct ip_mreq mreq;
15301 rm -f conftest.
$ac_objext
15302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15303 (eval $ac_compile) 2>conftest.er1
15305 grep -v '^ *+' conftest.er1
>conftest.err
15307 cat conftest.err
>&5
15308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15309 (exit $ac_status); } &&
15310 { ac_try
='test -z "$ac_c_werror_flag"
15311 || test ! -s conftest.err'
15312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15313 (eval $ac_try) 2>&5
15315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15316 (exit $ac_status); }; } &&
15317 { ac_try
='test -s conftest.$ac_objext'
15318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15319 (eval $ac_try) 2>&5
15321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15322 (exit $ac_status); }; }; then
15324 cat >>confdefs.h
<<\_ACEOF
15325 #define HAVE_STRUCT_IP_MREQ 1
15328 echo "$as_me:$LINENO: result: yes" >&5
15329 echo "${ECHO_T}yes" >&6
15331 echo "$as_me: failed program was:" >&5
15332 sed 's/^/| /' conftest.
$ac_ext >&5
15334 echo "$as_me:$LINENO: result: no" >&5
15335 echo "${ECHO_T}no" >&6
15337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15339 echo "$as_me:$LINENO: checking whether struct ipv6_mreq is in netinet/in.h" >&5
15340 echo $ECHO_N "checking whether struct ipv6_mreq is in netinet/in.h... $ECHO_C" >&6
15341 cat >conftest.
$ac_ext <<_ACEOF
15344 cat confdefs.h
>>conftest.
$ac_ext
15345 cat >>conftest.
$ac_ext <<_ACEOF
15346 /* end confdefs.h. */
15347 #include <netinet/in.h>
15351 struct ipv6_mreq mreq6;
15356 rm -f conftest.
$ac_objext
15357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15358 (eval $ac_compile) 2>conftest.er1
15360 grep -v '^ *+' conftest.er1
>conftest.err
15362 cat conftest.err
>&5
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); } &&
15365 { ac_try
='test -z "$ac_c_werror_flag"
15366 || test ! -s conftest.err'
15367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15368 (eval $ac_try) 2>&5
15370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15371 (exit $ac_status); }; } &&
15372 { ac_try
='test -s conftest.$ac_objext'
15373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15374 (eval $ac_try) 2>&5
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); }; }; then
15379 cat >>confdefs.h
<<\_ACEOF
15380 #define HAVE_STRUCT_IPV6_MREQ 1
15383 echo "$as_me:$LINENO: result: yes" >&5
15384 echo "${ECHO_T}yes" >&6
15386 echo "$as_me: failed program was:" >&5
15387 sed 's/^/| /' conftest.
$ac_ext >&5
15389 echo "$as_me:$LINENO: result: no" >&5
15390 echo "${ECHO_T}no" >&6
15392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15394 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
15395 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
15396 cat >conftest.
$ac_ext <<_ACEOF
15399 cat confdefs.h
>>conftest.
$ac_ext
15400 cat >>conftest.
$ac_ext <<_ACEOF
15401 /* end confdefs.h. */
15402 #include <netinet/in.h>
15406 struct sockaddr_in6 addr6;
15411 rm -f conftest.
$ac_objext
15412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15413 (eval $ac_compile) 2>conftest.er1
15415 grep -v '^ *+' conftest.er1
>conftest.err
15417 cat conftest.err
>&5
15418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15419 (exit $ac_status); } &&
15420 { ac_try
='test -z "$ac_c_werror_flag"
15421 || test ! -s conftest.err'
15422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15423 (eval $ac_try) 2>&5
15425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15426 (exit $ac_status); }; } &&
15427 { ac_try
='test -s conftest.$ac_objext'
15428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15429 (eval $ac_try) 2>&5
15431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15432 (exit $ac_status); }; }; then
15434 cat >>confdefs.h
<<\_ACEOF
15435 #define HAVE_INET6 1
15438 echo "$as_me:$LINENO: result: yes" >&5
15439 echo "${ECHO_T}yes" >&6
15441 echo "$as_me: failed program was:" >&5
15442 sed 's/^/| /' conftest.
$ac_ext >&5
15444 echo "$as_me:$LINENO: result: no" >&5
15445 echo "${ECHO_T}no" >&6
15447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15449 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
15450 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
15451 cat >conftest.
$ac_ext <<_ACEOF
15454 cat confdefs.h
>>conftest.
$ac_ext
15455 cat >>conftest.
$ac_ext <<_ACEOF
15456 /* end confdefs.h. */
15457 #define _POSIX_PII_SOCKET
15458 #include <sys/types.h>
15459 #include <sys/socket.h>
15468 rm -f conftest.
$ac_objext
15469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15470 (eval $ac_compile) 2>conftest.er1
15472 grep -v '^ *+' conftest.er1
>conftest.err
15474 cat conftest.err
>&5
15475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15476 (exit $ac_status); } &&
15477 { ac_try
='test -z "$ac_c_werror_flag"
15478 || test ! -s conftest.err'
15479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15480 (eval $ac_try) 2>&5
15482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15483 (exit $ac_status); }; } &&
15484 { ac_try
='test -s conftest.$ac_objext'
15485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15486 (eval $ac_try) 2>&5
15488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15489 (exit $ac_status); }; }; then
15491 cat >>confdefs.h
<<\_ACEOF
15492 #define HAVE_SOCKLEN_T 1
15495 echo "$as_me:$LINENO: result: yes" >&5
15496 echo "${ECHO_T}yes" >&6
15498 echo "$as_me: failed program was:" >&5
15499 sed 's/^/| /' conftest.
$ac_ext >&5
15501 echo "$as_me:$LINENO: result: no" >&5
15502 echo "${ECHO_T}no" >&6
15504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15506 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
15507 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
15508 cat >conftest.
$ac_ext <<_ACEOF
15511 cat confdefs.h
>>conftest.
$ac_ext
15512 cat >>conftest.
$ac_ext <<_ACEOF
15513 /* end confdefs.h. */
15518 struct tm tim; tim.tm_gmtoff = 0;
15523 rm -f conftest.
$ac_objext
15524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15525 (eval $ac_compile) 2>conftest.er1
15527 grep -v '^ *+' conftest.er1
>conftest.err
15529 cat conftest.err
>&5
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); } &&
15532 { ac_try
='test -z "$ac_c_werror_flag"
15533 || test ! -s conftest.err'
15534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15535 (eval $ac_try) 2>&5
15537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15538 (exit $ac_status); }; } &&
15539 { ac_try
='test -s conftest.$ac_objext'
15540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15541 (eval $ac_try) 2>&5
15543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15544 (exit $ac_status); }; }; then
15546 cat >>confdefs.h
<<\_ACEOF
15547 #define STRUCT_TM_HAS_GMTOFF 1
15550 echo "$as_me:$LINENO: result: yes" >&5
15551 echo "${ECHO_T}yes" >&6
15553 echo "$as_me: failed program was:" >&5
15554 sed 's/^/| /' conftest.
$ac_ext >&5
15556 echo "$as_me:$LINENO: result: no" >&5
15557 echo "${ECHO_T}no" >&6
15558 echo "$as_me:$LINENO: checking for global timezone variable" >&5
15559 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
15560 cat >conftest.
$ac_ext <<_ACEOF
15563 cat confdefs.h
>>conftest.
$ac_ext
15564 cat >>conftest.
$ac_ext <<_ACEOF
15565 /* end confdefs.h. */
15570 void i(){long z2 = 2*timezone;}
15575 rm -f conftest.
$ac_objext
15576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15577 (eval $ac_compile) 2>conftest.er1
15579 grep -v '^ *+' conftest.er1
>conftest.err
15581 cat conftest.err
>&5
15582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15583 (exit $ac_status); } &&
15584 { ac_try
='test -z "$ac_c_werror_flag"
15585 || test ! -s conftest.err'
15586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15587 (eval $ac_try) 2>&5
15589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590 (exit $ac_status); }; } &&
15591 { ac_try
='test -s conftest.$ac_objext'
15592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15593 (eval $ac_try) 2>&5
15595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15596 (exit $ac_status); }; }; then
15598 cat >>confdefs.h
<<\_ACEOF
15599 #define HAVE_TIMEZONE 1
15602 echo "$as_me:$LINENO: result: yes" >&5
15603 echo "${ECHO_T}yes" >&6
15605 echo "$as_me: failed program was:" >&5
15606 sed 's/^/| /' conftest.
$ac_ext >&5
15608 echo "$as_me:$LINENO: result: no" >&5
15609 echo "${ECHO_T}no" >&6
15610 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
15611 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
15612 cat >conftest.
$ac_ext <<_ACEOF
15615 cat confdefs.h
>>conftest.
$ac_ext
15616 cat >>conftest.
$ac_ext <<_ACEOF
15617 /* end confdefs.h. */
15622 long z2 = _timezone;
15627 rm -f conftest.
$ac_objext
15628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15629 (eval $ac_compile) 2>conftest.er1
15631 grep -v '^ *+' conftest.er1
>conftest.err
15633 cat conftest.err
>&5
15634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15635 (exit $ac_status); } &&
15636 { ac_try
='test -z "$ac_c_werror_flag"
15637 || test ! -s conftest.err'
15638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15639 (eval $ac_try) 2>&5
15641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15642 (exit $ac_status); }; } &&
15643 { ac_try
='test -s conftest.$ac_objext'
15644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15645 (eval $ac_try) 2>&5
15647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15648 (exit $ac_status); }; }; then
15650 cat >>confdefs.h
<<\_ACEOF
15651 #define HAVE_UNDERSCORE_TIMEZONE 1
15654 echo "$as_me:$LINENO: result: yes" >&5
15655 echo "${ECHO_T}yes" >&6
15657 echo "$as_me: failed program was:" >&5
15658 sed 's/^/| /' conftest.
$ac_ext >&5
15660 echo "$as_me:$LINENO: result: no" >&5
15661 echo "${ECHO_T}no" >&6
15663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15669 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15670 # for constant arguments. Useless!
15671 echo "$as_me:$LINENO: checking for working alloca.h" >&5
15672 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
15673 if test "${ac_cv_working_alloca_h+set}" = set; then
15674 echo $ECHO_N "(cached) $ECHO_C" >&6
15676 if test x
$gcc_no_link = xyes
; then
15677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15679 { (exit 1); exit 1; }; }
15681 cat >conftest.
$ac_ext <<_ACEOF
15684 cat confdefs.h
>>conftest.
$ac_ext
15685 cat >>conftest.
$ac_ext <<_ACEOF
15686 /* end confdefs.h. */
15687 #include <alloca.h>
15691 char *p = (char *) alloca (2 * sizeof (int));
15696 rm -f conftest.
$ac_objext conftest
$ac_exeext
15697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15698 (eval $ac_link) 2>conftest.er1
15700 grep -v '^ *+' conftest.er1
>conftest.err
15702 cat conftest.err
>&5
15703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15704 (exit $ac_status); } &&
15705 { ac_try
='test -z "$ac_c_werror_flag"
15706 || test ! -s conftest.err'
15707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15708 (eval $ac_try) 2>&5
15710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15711 (exit $ac_status); }; } &&
15712 { ac_try
='test -s conftest$ac_exeext'
15713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15714 (eval $ac_try) 2>&5
15716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15717 (exit $ac_status); }; }; then
15718 ac_cv_working_alloca_h
=yes
15720 echo "$as_me: failed program was:" >&5
15721 sed 's/^/| /' conftest.
$ac_ext >&5
15723 ac_cv_working_alloca_h
=no
15725 rm -f conftest.err conftest.
$ac_objext \
15726 conftest
$ac_exeext conftest.
$ac_ext
15728 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15729 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
15730 if test $ac_cv_working_alloca_h = yes; then
15732 cat >>confdefs.h
<<\_ACEOF
15733 #define HAVE_ALLOCA_H 1
15738 echo "$as_me:$LINENO: checking for alloca" >&5
15739 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
15740 if test "${ac_cv_func_alloca_works+set}" = set; then
15741 echo $ECHO_N "(cached) $ECHO_C" >&6
15743 if test x
$gcc_no_link = xyes
; then
15744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15746 { (exit 1); exit 1; }; }
15748 cat >conftest.
$ac_ext <<_ACEOF
15751 cat confdefs.h
>>conftest.
$ac_ext
15752 cat >>conftest.
$ac_ext <<_ACEOF
15753 /* end confdefs.h. */
15755 # define alloca __builtin_alloca
15758 # include <malloc.h>
15759 # define alloca _alloca
15762 # include <alloca.h>
15767 # ifndef alloca /* predefined by HP cc +Olibcalls */
15778 char *p = (char *) alloca (1);
15783 rm -f conftest.
$ac_objext conftest
$ac_exeext
15784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15785 (eval $ac_link) 2>conftest.er1
15787 grep -v '^ *+' conftest.er1
>conftest.err
15789 cat conftest.err
>&5
15790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15791 (exit $ac_status); } &&
15792 { ac_try
='test -z "$ac_c_werror_flag"
15793 || test ! -s conftest.err'
15794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15795 (eval $ac_try) 2>&5
15797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15798 (exit $ac_status); }; } &&
15799 { ac_try
='test -s conftest$ac_exeext'
15800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15801 (eval $ac_try) 2>&5
15803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15804 (exit $ac_status); }; }; then
15805 ac_cv_func_alloca_works
=yes
15807 echo "$as_me: failed program was:" >&5
15808 sed 's/^/| /' conftest.
$ac_ext >&5
15810 ac_cv_func_alloca_works
=no
15812 rm -f conftest.err conftest.
$ac_objext \
15813 conftest
$ac_exeext conftest.
$ac_ext
15815 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15816 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
15818 if test $ac_cv_func_alloca_works = yes; then
15820 cat >>confdefs.h
<<\_ACEOF
15821 #define HAVE_ALLOCA 1
15825 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15826 # that cause trouble. Some versions do not even contain alloca or
15827 # contain a buggy version. If you still want to use their alloca,
15828 # use ar to extract alloca.o from them instead of compiling alloca.c.
15830 ALLOCA
=alloca.
$ac_objext
15832 cat >>confdefs.h
<<\_ACEOF
15837 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15838 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
15839 if test "${ac_cv_os_cray+set}" = set; then
15840 echo $ECHO_N "(cached) $ECHO_C" >&6
15842 cat >conftest.
$ac_ext <<_ACEOF
15845 cat confdefs.h
>>conftest.
$ac_ext
15846 cat >>conftest.
$ac_ext <<_ACEOF
15847 /* end confdefs.h. */
15848 #if defined(CRAY) && ! defined(CRAY2)
15855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15856 $EGREP "webecray" >/dev
/null
2>&1; then
15864 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15865 echo "${ECHO_T}$ac_cv_os_cray" >&6
15866 if test $ac_cv_os_cray = yes; then
15867 for ac_func
in _getb67 GETB67 getb67
; do
15868 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15869 echo "$as_me:$LINENO: checking for $ac_func" >&5
15870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15871 if eval "test \"\${$as_ac_var+set}\" = set"; then
15872 echo $ECHO_N "(cached) $ECHO_C" >&6
15874 if test x
$gcc_no_link = xyes
; then
15875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15877 { (exit 1); exit 1; }; }
15879 cat >conftest.
$ac_ext <<_ACEOF
15882 cat confdefs.h
>>conftest.
$ac_ext
15883 cat >>conftest.
$ac_ext <<_ACEOF
15884 /* end confdefs.h. */
15885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15887 #define $ac_func innocuous_$ac_func
15889 /* System header to define __stub macros and hopefully few prototypes,
15890 which can conflict with char $ac_func (); below.
15891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15892 <limits.h> exists even on freestanding compilers. */
15895 # include <limits.h>
15897 # include <assert.h>
15902 /* Override any gcc2 internal prototype to avoid an error. */
15907 /* We use char because int might match the return type of a gcc2
15908 builtin and then its argument prototype would still apply. */
15910 /* The GNU C library defines this for functions which it implements
15911 to always fail with ENOSYS. Some functions are actually named
15912 something starting with __ and the normal name is an alias. */
15913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15916 char (*f) () = $ac_func;
15925 return f != $ac_func;
15930 rm -f conftest.
$ac_objext conftest
$ac_exeext
15931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15932 (eval $ac_link) 2>conftest.er1
15934 grep -v '^ *+' conftest.er1
>conftest.err
15936 cat conftest.err
>&5
15937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15938 (exit $ac_status); } &&
15939 { ac_try
='test -z "$ac_c_werror_flag"
15940 || test ! -s conftest.err'
15941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15942 (eval $ac_try) 2>&5
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); }; } &&
15946 { ac_try
='test -s conftest$ac_exeext'
15947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15948 (eval $ac_try) 2>&5
15950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15951 (exit $ac_status); }; }; then
15952 eval "$as_ac_var=yes"
15954 echo "$as_me: failed program was:" >&5
15955 sed 's/^/| /' conftest.
$ac_ext >&5
15957 eval "$as_ac_var=no"
15959 rm -f conftest.err conftest.
$ac_objext \
15960 conftest
$ac_exeext conftest.
$ac_ext
15962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15964 if test `eval echo '${'$as_ac_var'}'` = yes; then
15966 cat >>confdefs.h
<<_ACEOF
15967 #define CRAY_STACKSEG_END $ac_func
15976 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
15977 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
15978 if test "${ac_cv_c_stack_direction+set}" = set; then
15979 echo $ECHO_N "(cached) $ECHO_C" >&6
15981 if test "$cross_compiling" = yes; then
15982 ac_cv_c_stack_direction
=0
15984 cat >conftest.
$ac_ext <<_ACEOF
15987 cat confdefs.h
>>conftest.
$ac_ext
15988 cat >>conftest.
$ac_ext <<_ACEOF
15989 /* end confdefs.h. */
15991 find_stack_direction ()
15993 static char *addr = 0;
15998 return find_stack_direction ();
16001 return (&dummy > addr) ? 1 : -1;
16007 exit (find_stack_direction () < 0);
16010 rm -f conftest
$ac_exeext
16011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16012 (eval $ac_link) 2>&5
16014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16015 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16017 (eval $ac_try) 2>&5
16019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16020 (exit $ac_status); }; }; then
16021 ac_cv_c_stack_direction
=1
16023 echo "$as_me: program exited with status $ac_status" >&5
16024 echo "$as_me: failed program was:" >&5
16025 sed 's/^/| /' conftest.
$ac_ext >&5
16027 ( exit $ac_status )
16028 ac_cv_c_stack_direction
=-1
16030 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16033 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
16034 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
16036 cat >>confdefs.h
<<_ACEOF
16037 #define STACK_DIRECTION $ac_cv_c_stack_direction
16043 if test x
$gcc_no_link = xyes
; then
16044 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset
; then
16045 ac_cv_func_mmap_fixed_mapped
=no
16048 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno
; then
16051 for ac_header
in stdlib.h unistd.h
16053 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16054 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16055 echo "$as_me:$LINENO: checking for $ac_header" >&5
16056 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16058 echo $ECHO_N "(cached) $ECHO_C" >&6
16060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16061 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16063 # Is the header compilable?
16064 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16065 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16066 cat >conftest.
$ac_ext <<_ACEOF
16069 cat confdefs.h
>>conftest.
$ac_ext
16070 cat >>conftest.
$ac_ext <<_ACEOF
16071 /* end confdefs.h. */
16072 $ac_includes_default
16073 #include <$ac_header>
16075 rm -f conftest.
$ac_objext
16076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16077 (eval $ac_compile) 2>conftest.er1
16079 grep -v '^ *+' conftest.er1
>conftest.err
16081 cat conftest.err
>&5
16082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083 (exit $ac_status); } &&
16084 { ac_try
='test -z "$ac_c_werror_flag"
16085 || test ! -s conftest.err'
16086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16087 (eval $ac_try) 2>&5
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); }; } &&
16091 { ac_try
='test -s conftest.$ac_objext'
16092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16093 (eval $ac_try) 2>&5
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); }; }; then
16097 ac_header_compiler
=yes
16099 echo "$as_me: failed program was:" >&5
16100 sed 's/^/| /' conftest.
$ac_ext >&5
16102 ac_header_compiler
=no
16104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16105 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16106 echo "${ECHO_T}$ac_header_compiler" >&6
16108 # Is the header present?
16109 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16110 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16111 cat >conftest.
$ac_ext <<_ACEOF
16114 cat confdefs.h
>>conftest.
$ac_ext
16115 cat >>conftest.
$ac_ext <<_ACEOF
16116 /* end confdefs.h. */
16117 #include <$ac_header>
16119 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16120 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16122 grep -v '^ *+' conftest.er1
>conftest.err
16124 cat conftest.err
>&5
16125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126 (exit $ac_status); } >/dev
/null
; then
16127 if test -s conftest.err
; then
16128 ac_cpp_err
=$ac_c_preproc_warn_flag
16129 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16136 if test -z "$ac_cpp_err"; then
16137 ac_header_preproc
=yes
16139 echo "$as_me: failed program was:" >&5
16140 sed 's/^/| /' conftest.
$ac_ext >&5
16142 ac_header_preproc
=no
16144 rm -f conftest.err conftest.
$ac_ext
16145 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16146 echo "${ECHO_T}$ac_header_preproc" >&6
16148 # So? What about this header?
16149 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16151 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16152 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16153 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16154 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16155 ac_header_preproc
=yes
16158 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16159 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16160 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16161 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16162 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16163 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16164 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16165 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16166 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16167 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16168 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16169 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16172 ## ---------------------------------- ##
16173 ## Report this to the libjava lists. ##
16174 ## ---------------------------------- ##
16177 sed "s/^/$as_me: WARNING: /" >&2
16180 echo "$as_me:$LINENO: checking for $ac_header" >&5
16181 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16182 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16183 echo $ECHO_N "(cached) $ECHO_C" >&6
16185 eval "$as_ac_Header=\$ac_header_preproc"
16187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16188 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16191 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16192 cat >>confdefs.h
<<_ACEOF
16193 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16201 for ac_func
in getpagesize
16203 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16204 echo "$as_me:$LINENO: checking for $ac_func" >&5
16205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16206 if eval "test \"\${$as_ac_var+set}\" = set"; then
16207 echo $ECHO_N "(cached) $ECHO_C" >&6
16209 if test x
$gcc_no_link = xyes
; then
16210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16212 { (exit 1); exit 1; }; }
16214 cat >conftest.
$ac_ext <<_ACEOF
16217 cat confdefs.h
>>conftest.
$ac_ext
16218 cat >>conftest.
$ac_ext <<_ACEOF
16219 /* end confdefs.h. */
16220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16222 #define $ac_func innocuous_$ac_func
16224 /* System header to define __stub macros and hopefully few prototypes,
16225 which can conflict with char $ac_func (); below.
16226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16227 <limits.h> exists even on freestanding compilers. */
16230 # include <limits.h>
16232 # include <assert.h>
16237 /* Override any gcc2 internal prototype to avoid an error. */
16242 /* We use char because int might match the return type of a gcc2
16243 builtin and then its argument prototype would still apply. */
16245 /* The GNU C library defines this for functions which it implements
16246 to always fail with ENOSYS. Some functions are actually named
16247 something starting with __ and the normal name is an alias. */
16248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16251 char (*f) () = $ac_func;
16260 return f != $ac_func;
16265 rm -f conftest.
$ac_objext conftest
$ac_exeext
16266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16267 (eval $ac_link) 2>conftest.er1
16269 grep -v '^ *+' conftest.er1
>conftest.err
16271 cat conftest.err
>&5
16272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16273 (exit $ac_status); } &&
16274 { ac_try
='test -z "$ac_c_werror_flag"
16275 || test ! -s conftest.err'
16276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16277 (eval $ac_try) 2>&5
16279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16280 (exit $ac_status); }; } &&
16281 { ac_try
='test -s conftest$ac_exeext'
16282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16283 (eval $ac_try) 2>&5
16285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16286 (exit $ac_status); }; }; then
16287 eval "$as_ac_var=yes"
16289 echo "$as_me: failed program was:" >&5
16290 sed 's/^/| /' conftest.
$ac_ext >&5
16292 eval "$as_ac_var=no"
16294 rm -f conftest.err conftest.
$ac_objext \
16295 conftest
$ac_exeext conftest.
$ac_ext
16297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16299 if test `eval echo '${'$as_ac_var'}'` = yes; then
16300 cat >>confdefs.h
<<_ACEOF
16301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16307 echo "$as_me:$LINENO: checking for working mmap" >&5
16308 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
16309 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
16310 echo $ECHO_N "(cached) $ECHO_C" >&6
16312 if test "$cross_compiling" = yes; then
16313 ac_cv_func_mmap_fixed_mapped
=no
16315 cat >conftest.
$ac_ext <<_ACEOF
16318 cat confdefs.h
>>conftest.
$ac_ext
16319 cat >>conftest.
$ac_ext <<_ACEOF
16320 /* end confdefs.h. */
16321 $ac_includes_default
16322 /* malloc might have been renamed as rpl_malloc. */
16325 /* Thanks to Mike Haertel and Jim Avera for this test.
16326 Here is a matrix of mmap possibilities:
16327 mmap private not fixed
16328 mmap private fixed at somewhere currently unmapped
16329 mmap private fixed at somewhere already mapped
16330 mmap shared not fixed
16331 mmap shared fixed at somewhere currently unmapped
16332 mmap shared fixed at somewhere already mapped
16333 For private mappings, we should verify that changes cannot be read()
16334 back from the file, nor mmap's back from the file at a different
16335 address. (There have been systems where private was not correctly
16336 implemented like the infamous i386 svr4.0, and systems where the
16337 VM page cache was not coherent with the file system buffer cache
16338 like early versions of FreeBSD and possibly contemporary NetBSD.)
16339 For shared mappings, we should conversely verify that changes get
16340 propagated back to all the places they're supposed to be.
16342 Grep wants private fixed already mapped.
16343 The main things grep needs to know about mmap are:
16344 * does it exist and is it safe to write into the mmap'd area
16345 * how to use it (BSD variants) */
16348 #include <sys/mman.h>
16350 #if !STDC_HEADERS && !HAVE_STDLIB_H
16354 /* This mess was copied from the GNU getpagesize.h. */
16355 #if !HAVE_GETPAGESIZE
16356 /* Assume that all systems that can run configure have sys/param.h. */
16357 # if !HAVE_SYS_PARAM_H
16358 # define HAVE_SYS_PARAM_H 1
16361 # ifdef _SC_PAGESIZE
16362 # define getpagesize() sysconf(_SC_PAGESIZE)
16363 # else /* no _SC_PAGESIZE */
16364 # if HAVE_SYS_PARAM_H
16365 # include <sys/param.h>
16366 # ifdef EXEC_PAGESIZE
16367 # define getpagesize() EXEC_PAGESIZE
16368 # else /* no EXEC_PAGESIZE */
16370 # define getpagesize() NBPG * CLSIZE
16373 # endif /* no CLSIZE */
16374 # else /* no NBPG */
16376 # define getpagesize() NBPC
16377 # else /* no NBPC */
16379 # define getpagesize() PAGESIZE
16380 # endif /* PAGESIZE */
16381 # endif /* no NBPC */
16382 # endif /* no NBPG */
16383 # endif /* no EXEC_PAGESIZE */
16384 # else /* no HAVE_SYS_PARAM_H */
16385 # define getpagesize() 8192 /* punt totally */
16386 # endif /* no HAVE_SYS_PARAM_H */
16387 # endif /* no _SC_PAGESIZE */
16389 #endif /* no HAVE_GETPAGESIZE */
16394 char *data, *data2, *data3;
16398 pagesize = getpagesize ();
16400 /* First, make a file with some known garbage in it. */
16401 data = (char *) malloc (pagesize);
16404 for (i = 0; i < pagesize; ++i)
16405 *(data + i) = rand ();
16407 fd = creat ("conftest.mmap", 0600);
16410 if (write (fd, data, pagesize) != pagesize)
16414 /* Next, try to mmap the file at a fixed address which already has
16415 something else allocated at it. If we can, also make sure that
16416 we see the same garbage. */
16417 fd = open ("conftest.mmap", O_RDWR);
16420 data2 = (char *) malloc (2 * pagesize);
16423 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
16424 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
16425 MAP_PRIVATE | MAP_FIXED, fd, 0L))
16427 for (i = 0; i < pagesize; ++i)
16428 if (*(data + i) != *(data2 + i))
16431 /* Finally, make sure that changes to the mapped area do not
16432 percolate back to the file as seen by read(). (This is a bug on
16433 some variants of i386 svr4.0.) */
16434 for (i = 0; i < pagesize; ++i)
16435 *(data2 + i) = *(data2 + i) + 1;
16436 data3 = (char *) malloc (pagesize);
16439 if (read (fd, data3, pagesize) != pagesize)
16441 for (i = 0; i < pagesize; ++i)
16442 if (*(data + i) != *(data3 + i))
16448 rm -f conftest
$ac_exeext
16449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16450 (eval $ac_link) 2>&5
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16455 (eval $ac_try) 2>&5
16457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16458 (exit $ac_status); }; }; then
16459 ac_cv_func_mmap_fixed_mapped
=yes
16461 echo "$as_me: program exited with status $ac_status" >&5
16462 echo "$as_me: failed program was:" >&5
16463 sed 's/^/| /' conftest.
$ac_ext >&5
16465 ( exit $ac_status )
16466 ac_cv_func_mmap_fixed_mapped
=no
16468 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16471 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
16472 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
16473 if test $ac_cv_func_mmap_fixed_mapped = yes; then
16475 cat >>confdefs.h
<<\_ACEOF
16476 #define HAVE_MMAP 1
16480 rm -f conftest.mmap
16484 for ac_prog
in perl
16486 # Extract the first word of "$ac_prog", so it can be a program name with args.
16487 set dummy
$ac_prog; ac_word
=$2
16488 echo "$as_me:$LINENO: checking for $ac_word" >&5
16489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16490 if test "${ac_cv_prog_PERL+set}" = set; then
16491 echo $ECHO_N "(cached) $ECHO_C" >&6
16493 if test -n "$PERL"; then
16494 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
16496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16497 for as_dir
in $PATH
16500 test -z "$as_dir" && as_dir
=.
16501 for ac_exec_ext
in '' $ac_executable_extensions; do
16502 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16503 ac_cv_prog_PERL
="$ac_prog"
16504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16512 PERL
=$ac_cv_prog_PERL
16513 if test -n "$PERL"; then
16514 echo "$as_me:$LINENO: result: $PERL" >&5
16515 echo "${ECHO_T}$PERL" >&6
16517 echo "$as_me:$LINENO: result: no" >&5
16518 echo "${ECHO_T}no" >&6
16521 test -n "$PERL" && break
16523 test -n "$PERL" || PERL
="false"
16527 SIGNAL_HANDLER_AUX
=
16531 SIGNAL_HANDLER
=include
/i386-signal.h
16533 sparc
*-sun-solaris*)
16534 SIGNAL_HANDLER
=include
/sparc-signal.h
16537 # SYSDEP_SOURCES=sysdep/ia64.c
16538 # test -d sysdep || mkdir sysdep
16541 SIGNAL_HANDLER
=include
/pa-signal.h
16544 SIGNAL_HANDLER
=include
/dwarf2-signal.h
16547 SIGNAL_HANDLER
=include
/powerpc-signal.h
16550 SIGNAL_HANDLER
=include
/dwarf2-signal.h
16553 SIGNAL_HANDLER
=include
/s390-signal.h
16556 SIGNAL_HANDLER
=include
/x86_64-signal.h
16557 SIGNAL_HANDLER_AUX
=include
/i386-signal.h
16560 SIGNAL_HANDLER
=include
/dwarf2-signal.h
16563 SIGNAL_HANDLER
=include
/sh-signal.h
16566 SIGNAL_HANDLER
=include
/win32-signal.h
16569 SIGNAL_HANDLER
=include
/mips-signal.h
16572 SIGNAL_HANDLER
=include
/darwin-signal.h
16575 SIGNAL_HANDLER
=include
/default-signal.h
16579 # If we're using sjlj exceptions, forget what we just learned.
16580 if test "$enable_sjlj_exceptions" = yes; then
16581 SIGNAL_HANDLER
=include
/default-signal.h
16582 SIGNAL_HANDLER_AUX
=
16587 if test -z "$SIGNAL_HANDLER_AUX"; then
16588 SIGNAL_HANDLER_AUX
=$SIGNAL_HANDLER
16591 ac_config_links
="$ac_config_links include/java-signal.h:$SIGNAL_HANDLER include/java-signal-aux.h:$SIGNAL_HANDLER_AUX"
16594 if test "${multilib}" = "yes"; then
16595 multilib_arg
="--enable-multilib"
16600 # See if we support thread-local storage.
16602 # Check whether --enable-tls or --disable-tls was given.
16603 if test "${enable_tls+set}" = set; then
16604 enableval
="$enable_tls"
16606 case "$enableval" in
16608 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
16609 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
16610 { (exit 1); exit 1; }; } ;;
16617 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
16618 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
16619 if test "${have_tls+set}" = set; then
16620 echo $ECHO_N "(cached) $ECHO_C" >&6
16623 if test "$cross_compiling" = yes; then
16624 cat >conftest.
$ac_ext <<_ACEOF
16627 rm -f conftest.
$ac_objext
16628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16629 (eval $ac_compile) 2>conftest.er1
16631 grep -v '^ *+' conftest.er1
>conftest.err
16633 cat conftest.err
>&5
16634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635 (exit $ac_status); } &&
16636 { ac_try
='test -z "$ac_c_werror_flag"
16637 || test ! -s conftest.err'
16638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16639 (eval $ac_try) 2>&5
16641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16642 (exit $ac_status); }; } &&
16643 { ac_try
='test -s conftest.$ac_objext'
16644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16645 (eval $ac_try) 2>&5
16647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16648 (exit $ac_status); }; }; then
16651 echo "$as_me: failed program was:" >&5
16652 sed 's/^/| /' conftest.
$ac_ext >&5
16656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16659 cat >conftest.
$ac_ext <<_ACEOF
16660 __thread int a; int b; int main() { return a = b; }
16662 rm -f conftest
$ac_exeext
16663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16664 (eval $ac_link) 2>&5
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16669 (eval $ac_try) 2>&5
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); }; }; then
16673 save_LDFLAGS
="$LDFLAGS"
16674 LDFLAGS
="-static $LDFLAGS"
16675 if test "$cross_compiling" = yes; then
16676 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16677 See \`config.log' for more details." >&5
16678 echo "$as_me: error: cannot run test program while cross compiling
16679 See \`config.log' for more details." >&2;}
16680 { (exit 1); exit 1; }; }
16682 cat >conftest.
$ac_ext <<_ACEOF
16683 __thread int a; int b; int main() { return a = b; }
16685 rm -f conftest
$ac_exeext
16686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16687 (eval $ac_link) 2>&5
16689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16692 (eval $ac_try) 2>&5
16694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16695 (exit $ac_status); }; }; then
16698 echo "$as_me: program exited with status $ac_status" >&5
16699 echo "$as_me: failed program was:" >&5
16700 sed 's/^/| /' conftest.
$ac_ext >&5
16702 ( exit $ac_status )
16705 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16707 LDFLAGS
="$save_LDFLAGS"
16709 echo "$as_me: program exited with status $ac_status" >&5
16710 echo "$as_me: failed program was:" >&5
16711 sed 's/^/| /' conftest.
$ac_ext >&5
16713 ( exit $ac_status )
16716 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16719 echo "$as_me:$LINENO: result: $have_tls" >&5
16720 echo "${ECHO_T}$have_tls" >&6
16721 if test "$enable_tls $have_tls" = "yes yes"; then
16723 cat >>confdefs.h
<<\_ACEOF
16730 here
=`${PWDCMD-pwd}`
16733 # We get this from the environment.
16736 ac_config_files
="$ac_config_files Makefile libgcj.pc libgcj.spec libgcj-test.spec gcj/Makefile include/Makefile testsuite/Makefile"
16739 ac_config_commands
="$ac_config_commands default"
16742 cat >confcache
<<\_ACEOF
16743 # This file is a shell script that caches the results of configure
16744 # tests run on this system so they can be shared between configure
16745 # scripts and configure runs, see configure's option --config-cache.
16746 # It is not useful on other systems. If it contains results you don't
16747 # want to keep, you may remove or edit it.
16749 # config.status only pays attention to the cache file if you give it
16750 # the --recheck option to rerun configure.
16752 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16753 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16754 # following values.
16758 # The following way of writing the cache mishandles newlines in values,
16759 # but we know of no workaround that is simple, portable, and efficient.
16760 # So, don't put newlines in cache variables' values.
16761 # Ultrix sh set writes to stderr and can't be redirected directly,
16762 # and sets the high bit in the cache file unless we assign to the vars.
16765 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16767 # `set' does not quote correctly, so add quotes (double-quote
16768 # substitution turns \\\\ into \\, and sed turns \\ into \).
16771 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16774 # `set' quotes correctly as required by POSIX, so do not add quotes.
16776 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
16783 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16785 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16787 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
16788 if test -w $cache_file; then
16789 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
16790 cat confcache
>$cache_file
16792 echo "not updating unwritable cache $cache_file"
16797 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16798 # Let make expand exec_prefix.
16799 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16801 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16802 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16803 # trailing colons and then remove the whole line if VPATH becomes empty
16804 # (actually we leave an empty line to preserve line numbers).
16805 if test "x$srcdir" = x.
; then
16806 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
16807 s/:*\$(srcdir):*/:/;
16808 s/:*\${srcdir}:*/:/;
16810 s/^\([^=]*=[ ]*\):*/\1/;
16816 DEFS
=-DHAVE_CONFIG_H
16820 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16821 # 1. Remove the extension, and $U if already installed.
16822 ac_i
=`echo "$ac_i" |
16823 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
16825 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
16826 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
16828 LIBOBJS
=$ac_libobjs
16830 LTLIBOBJS
=$ac_ltlibobjs
16833 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16834 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
16835 Usually this means the macro was only invoked conditionally." >&5
16836 echo "$as_me: error: conditional \"AMDEP\" was never defined.
16837 Usually this means the macro was only invoked conditionally." >&2;}
16838 { (exit 1); exit 1; }; }
16840 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16841 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16842 Usually this means the macro was only invoked conditionally." >&5
16843 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16844 Usually this means the macro was only invoked conditionally." >&2;}
16845 { (exit 1); exit 1; }; }
16847 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16848 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
16849 Usually this means the macro was only invoked conditionally." >&5
16850 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
16851 Usually this means the macro was only invoked conditionally." >&2;}
16852 { (exit 1); exit 1; }; }
16854 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16855 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
16856 Usually this means the macro was only invoked conditionally." >&5
16857 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
16858 Usually this means the macro was only invoked conditionally." >&2;}
16859 { (exit 1); exit 1; }; }
16861 if test -z "${XLIB_AWT_TRUE}" && test -z "${XLIB_AWT_FALSE}"; then
16862 { { echo "$as_me:$LINENO: error: conditional \"XLIB_AWT\" was never defined.
16863 Usually this means the macro was only invoked conditionally." >&5
16864 echo "$as_me: error: conditional \"XLIB_AWT\" was never defined.
16865 Usually this means the macro was only invoked conditionally." >&2;}
16866 { (exit 1); exit 1; }; }
16868 if test -z "${GTK_AWT_TRUE}" && test -z "${GTK_AWT_FALSE}"; then
16869 { { echo "$as_me:$LINENO: error: conditional \"GTK_AWT\" was never defined.
16870 Usually this means the macro was only invoked conditionally." >&5
16871 echo "$as_me: error: conditional \"GTK_AWT\" was never defined.
16872 Usually this means the macro was only invoked conditionally." >&2;}
16873 { (exit 1); exit 1; }; }
16875 if test -z "${QT_AWT_TRUE}" && test -z "${QT_AWT_FALSE}"; then
16876 { { echo "$as_me:$LINENO: error: conditional \"QT_AWT\" was never defined.
16877 Usually this means the macro was only invoked conditionally." >&5
16878 echo "$as_me: error: conditional \"QT_AWT\" was never defined.
16879 Usually this means the macro was only invoked conditionally." >&2;}
16880 { (exit 1); exit 1; }; }
16882 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
16883 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
16884 Usually this means the macro was only invoked conditionally." >&5
16885 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
16886 Usually this means the macro was only invoked conditionally." >&2;}
16887 { (exit 1); exit 1; }; }
16889 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
16890 { { echo "$as_me:$LINENO: error: conditional \"TESTSUBDIR\" was never defined.
16891 Usually this means the macro was only invoked conditionally." >&5
16892 echo "$as_me: error: conditional \"TESTSUBDIR\" was never defined.
16893 Usually this means the macro was only invoked conditionally." >&2;}
16894 { (exit 1); exit 1; }; }
16896 if test -z "${JAVA_HOME_SET_TRUE}" && test -z "${JAVA_HOME_SET_FALSE}"; then
16897 { { echo "$as_me:$LINENO: error: conditional \"JAVA_HOME_SET\" was never defined.
16898 Usually this means the macro was only invoked conditionally." >&5
16899 echo "$as_me: error: conditional \"JAVA_HOME_SET\" was never defined.
16900 Usually this means the macro was only invoked conditionally." >&2;}
16901 { (exit 1); exit 1; }; }
16903 if test -z "${USING_WIN32_PLATFORM_TRUE}" && test -z "${USING_WIN32_PLATFORM_FALSE}"; then
16904 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
16905 Usually this means the macro was only invoked conditionally." >&5
16906 echo "$as_me: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
16907 Usually this means the macro was only invoked conditionally." >&2;}
16908 { (exit 1); exit 1; }; }
16910 if test -z "${USING_POSIX_PLATFORM_TRUE}" && test -z "${USING_POSIX_PLATFORM_FALSE}"; then
16911 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
16912 Usually this means the macro was only invoked conditionally." >&5
16913 echo "$as_me: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
16914 Usually this means the macro was only invoked conditionally." >&2;}
16915 { (exit 1); exit 1; }; }
16917 if test -z "${USING_DARWIN_CRT_TRUE}" && test -z "${USING_DARWIN_CRT_FALSE}"; then
16918 { { echo "$as_me:$LINENO: error: conditional \"USING_DARWIN_CRT\" was never defined.
16919 Usually this means the macro was only invoked conditionally." >&5
16920 echo "$as_me: error: conditional \"USING_DARWIN_CRT\" was never defined.
16921 Usually this means the macro was only invoked conditionally." >&2;}
16922 { (exit 1); exit 1; }; }
16924 if test -z "${GTK_CAIRO_TRUE}" && test -z "${GTK_CAIRO_FALSE}"; then
16925 { { echo "$as_me:$LINENO: error: conditional \"GTK_CAIRO\" was never defined.
16926 Usually this means the macro was only invoked conditionally." >&5
16927 echo "$as_me: error: conditional \"GTK_CAIRO\" was never defined.
16928 Usually this means the macro was only invoked conditionally." >&2;}
16929 { (exit 1); exit 1; }; }
16931 if test -z "${USING_BOEHMGC_TRUE}" && test -z "${USING_BOEHMGC_FALSE}"; then
16932 { { echo "$as_me:$LINENO: error: conditional \"USING_BOEHMGC\" was never defined.
16933 Usually this means the macro was only invoked conditionally." >&5
16934 echo "$as_me: error: conditional \"USING_BOEHMGC\" was never defined.
16935 Usually this means the macro was only invoked conditionally." >&2;}
16936 { (exit 1); exit 1; }; }
16938 if test -z "${USING_NOGC_TRUE}" && test -z "${USING_NOGC_FALSE}"; then
16939 { { echo "$as_me:$LINENO: error: conditional \"USING_NOGC\" was never defined.
16940 Usually this means the macro was only invoked conditionally." >&5
16941 echo "$as_me: error: conditional \"USING_NOGC\" was never defined.
16942 Usually this means the macro was only invoked conditionally." >&2;}
16943 { (exit 1); exit 1; }; }
16945 if test -z "${USING_POSIX_THREADS_TRUE}" && test -z "${USING_POSIX_THREADS_FALSE}"; then
16946 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_THREADS\" was never defined.
16947 Usually this means the macro was only invoked conditionally." >&5
16948 echo "$as_me: error: conditional \"USING_POSIX_THREADS\" was never defined.
16949 Usually this means the macro was only invoked conditionally." >&2;}
16950 { (exit 1); exit 1; }; }
16952 if test -z "${USING_WIN32_THREADS_TRUE}" && test -z "${USING_WIN32_THREADS_FALSE}"; then
16953 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_THREADS\" was never defined.
16954 Usually this means the macro was only invoked conditionally." >&5
16955 echo "$as_me: error: conditional \"USING_WIN32_THREADS\" was never defined.
16956 Usually this means the macro was only invoked conditionally." >&2;}
16957 { (exit 1); exit 1; }; }
16959 if test -z "${USING_NO_THREADS_TRUE}" && test -z "${USING_NO_THREADS_FALSE}"; then
16960 { { echo "$as_me:$LINENO: error: conditional \"USING_NO_THREADS\" was never defined.
16961 Usually this means the macro was only invoked conditionally." >&5
16962 echo "$as_me: error: conditional \"USING_NO_THREADS\" was never defined.
16963 Usually this means the macro was only invoked conditionally." >&2;}
16964 { (exit 1); exit 1; }; }
16966 if test -z "${USING_GCC_TRUE}" && test -z "${USING_GCC_FALSE}"; then
16967 { { echo "$as_me:$LINENO: error: conditional \"USING_GCC\" was never defined.
16968 Usually this means the macro was only invoked conditionally." >&5
16969 echo "$as_me: error: conditional \"USING_GCC\" was never defined.
16970 Usually this means the macro was only invoked conditionally." >&2;}
16971 { (exit 1); exit 1; }; }
16973 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
16974 { { echo "$as_me:$LINENO: error: conditional \"NATIVE\" was never defined.
16975 Usually this means the macro was only invoked conditionally." >&5
16976 echo "$as_me: error: conditional \"NATIVE\" was never defined.
16977 Usually this means the macro was only invoked conditionally." >&2;}
16978 { (exit 1); exit 1; }; }
16980 if test -z "${NEEDS_DATA_START_TRUE}" && test -z "${NEEDS_DATA_START_FALSE}"; then
16981 { { echo "$as_me:$LINENO: error: conditional \"NEEDS_DATA_START\" was never defined.
16982 Usually this means the macro was only invoked conditionally." >&5
16983 echo "$as_me: error: conditional \"NEEDS_DATA_START\" was never defined.
16984 Usually this means the macro was only invoked conditionally." >&2;}
16985 { (exit 1); exit 1; }; }
16988 : ${CONFIG_STATUS=./config.status}
16989 ac_clean_files_save
=$ac_clean_files
16990 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16991 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
16992 echo "$as_me: creating $CONFIG_STATUS" >&6;}
16993 cat >$CONFIG_STATUS <<_ACEOF
16995 # Generated by $as_me.
16996 # Run this file to recreate the current configuration.
16997 # Compiler output produced by configure, useful for debugging
16998 # configure, is in config.log if it exists.
17001 ac_cs_recheck=false
17003 SHELL=\${CONFIG_SHELL-$SHELL}
17006 cat >>$CONFIG_STATUS <<\_ACEOF
17007 ## --------------------- ##
17008 ## M4sh Initialization. ##
17009 ## --------------------- ##
17011 # Be Bourne compatible
17012 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17015 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17016 # is contrary to our usage. Disable this feature.
17017 alias -g '${1+"$@"}'='"$@"'
17018 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
17021 DUALCASE
=1; export DUALCASE
# for MKS sh
17023 # Support unset when possible.
17024 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
17031 # Work around bugs in pre-3.0 UWIN ksh.
17032 $as_unset ENV MAIL MAILPATH
17039 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
17040 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
17041 LC_TELEPHONE LC_TIME
17043 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
17044 eval $as_var=C
; export $as_var
17050 # Required to use basename.
17051 if expr a
: '\(a\)' >/dev
/null
2>&1; then
17057 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
17058 as_basename
=basename
17064 # Name of the executable.
17065 as_me
=`$as_basename "$0" ||
17066 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17067 X"$0" : 'X\(//\)$' \| \
17068 X"$0" : 'X\(/\)$' \| \
17069 . : '\(.\)' 2>/dev/null ||
17071 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
17072 /^X\/\(\/\/\)$/{ s//\1/; q; }
17073 /^X\/\(\/\).*/{ s//\1/; q; }
17077 # PATH needs CR, and LINENO needs CR and PATH.
17078 # Avoid depending upon Character Ranges.
17079 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17080 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17081 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17082 as_cr_digits
='0123456789'
17083 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17085 # The user is always right.
17086 if test "${PATH_SEPARATOR+set}" != set; then
17087 echo "#! /bin/sh" >conf$$.sh
17088 echo "exit 0" >>conf$$.sh
17090 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
17099 as_lineno_1
=$LINENO
17100 as_lineno_2
=$LINENO
17101 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
17102 test "x$as_lineno_1" != "x$as_lineno_2" &&
17103 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
17104 # Find who we are. Look in the path if we contain no path at all
17107 *[\\/]* ) as_myself
=$0 ;;
17108 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17109 for as_dir
in $PATH
17112 test -z "$as_dir" && as_dir
=.
17113 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
17118 # We did not find ourselves, most probably we were run as `sh COMMAND'
17119 # in which case we are not to be found in the path.
17120 if test "x$as_myself" = x
; then
17123 if test ! -f "$as_myself"; then
17124 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
17125 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
17126 { (exit 1); exit 1; }; }
17128 case $CONFIG_SHELL in
17130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
17134 test -z "$as_dir" && as_dir
=.
17135 for as_base
in sh bash ksh sh5
; do
17138 if ("$as_dir/$as_base" -c '
17139 as_lineno_1=$LINENO
17140 as_lineno_2=$LINENO
17141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
17142 test "x$as_lineno_1" != "x$as_lineno_2" &&
17143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
17144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
17145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
17146 CONFIG_SHELL
=$as_dir/$as_base
17147 export CONFIG_SHELL
17148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
17156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17157 # uniformly replaced by the line number. The first 'sed' inserts a
17158 # line-number line before each line; the second 'sed' does the real
17159 # work. The second script uses 'N' to pair each line-number line
17160 # with the numbered line, and appends trailing '-' during
17161 # substitution so that $LINENO is not a special case at line end.
17162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
17164 sed '=' <$as_myself |
17169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
17172 s,^['$as_cr_digits']*\n,,
17173 ' >$as_me.lineno
&&
17174 chmod +x
$as_me.lineno ||
17175 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
17176 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
17177 { (exit 1); exit 1; }; }
17179 # Don't try to exec as it changes $[0], causing all sort of problems
17180 # (the dirname of $[0] is not the place where we might find the
17181 # original and so on. Autoconf is especially sensible to this).
17183 # Exit status is that of the last command.
17188 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
17189 *c
*,-n*) ECHO_N
= ECHO_C
='
17191 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
17192 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
17195 if expr a
: '\(a\)' >/dev
/null
2>&1; then
17201 rm -f conf$$ conf$$.exe conf$$.
file
17203 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17204 # We could just check for DJGPP; but this test a) works b) is more generic
17205 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
17206 if test -f conf$$.exe
; then
17207 # Don't use ln at all; we don't have any links
17212 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17217 rm -f conf$$ conf$$.exe conf$$.
file
17219 if mkdir
-p .
2>/dev
/null
; then
17222 test -d .
/-p && rmdir .
/-p
17226 as_executable_p
="test -f"
17228 # Sed expression to map a string onto a valid CPP name.
17229 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17231 # Sed expression to map a string onto a valid variable name.
17232 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17236 # We need space, tab and new line, in precisely that order.
17246 # Open the log real soon, to keep \$[0] and so on meaningful, and to
17247 # report actual input values of CONFIG_FILES etc. instead of their
17248 # values after options handling. Logging --version etc. is OK.
17252 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17253 ## Running $as_me. ##
17258 This file was extended by libjava $as_me version-unused, which was
17259 generated by GNU Autoconf 2.59. Invocation command line was
17261 CONFIG_FILES = $CONFIG_FILES
17262 CONFIG_HEADERS = $CONFIG_HEADERS
17263 CONFIG_LINKS = $CONFIG_LINKS
17264 CONFIG_COMMANDS = $CONFIG_COMMANDS
17268 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
17272 # Files that config.status was made for.
17273 if test -n "$ac_config_files"; then
17274 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
17277 if test -n "$ac_config_headers"; then
17278 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
17281 if test -n "$ac_config_links"; then
17282 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
17285 if test -n "$ac_config_commands"; then
17286 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
17289 cat >>$CONFIG_STATUS <<\_ACEOF
17292 \`$as_me' instantiates files from templates according to the
17293 current configuration.
17295 Usage: $0 [OPTIONS] [FILE]...
17297 -h, --help print this help, then exit
17298 -V, --version print version number, then exit
17299 -q, --quiet do not print progress messages
17300 -d, --debug don't remove temporary files
17301 --recheck update $as_me by reconfiguring in the same conditions
17302 --file=FILE[:TEMPLATE]
17303 instantiate the configuration file FILE
17304 --header=FILE[:TEMPLATE]
17305 instantiate the configuration header FILE
17307 Configuration files:
17310 Configuration headers:
17313 Configuration links:
17316 Configuration commands:
17319 Report bugs to <bug-autoconf@gnu.org>."
17322 cat >>$CONFIG_STATUS <<_ACEOF
17324 libjava config.status version-unused
17325 configured by $0, generated by GNU Autoconf 2.59,
17326 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
17328 Copyright (C) 2003 Free Software Foundation, Inc.
17329 This config.status script is free software; the Free Software Foundation
17330 gives unlimited permission to copy, distribute and modify it."
17335 cat >>$CONFIG_STATUS <<\_ACEOF
17336 # If no file are specified by the user, then we need to provide default
17337 # value. By we need to know if files were specified by the user.
17343 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
17344 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
17352 *) # This is not an option, so the user has probably given explicit
17355 ac_need_defaults
=false
;;
17359 # Handling of the options.
17361 cat >>$CONFIG_STATUS <<\_ACEOF
17362 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17364 --version |
--vers* |
-V )
17365 echo "$ac_cs_version"; exit 0 ;;
17367 # Conflict between --help and --header
17368 { { echo "$as_me:$LINENO: error: ambiguous option: $1
17369 Try \`$0 --help' for more information." >&5
17370 echo "$as_me: error: ambiguous option: $1
17371 Try \`$0 --help' for more information." >&2;}
17372 { (exit 1); exit 1; }; };;
17373 --help |
--hel |
-h )
17374 echo "$ac_cs_usage"; exit 0 ;;
17375 --debug |
--d* |
-d )
17377 --file |
--fil |
--fi |
--f )
17379 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
17380 ac_need_defaults
=false
;;
17381 --header |
--heade |
--head |
--hea )
17383 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
17384 ac_need_defaults
=false
;;
17385 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17386 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17389 # This is an error.
17390 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
17391 Try \`$0 --help' for more information." >&5
17392 echo "$as_me: error: unrecognized option: $1
17393 Try \`$0 --help' for more information." >&2;}
17394 { (exit 1); exit 1; }; } ;;
17396 *) ac_config_targets
="$ac_config_targets $1" ;;
17402 ac_configure_extra_args
=
17404 if $ac_cs_silent; then
17406 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17410 cat >>$CONFIG_STATUS <<_ACEOF
17411 if \$ac_cs_recheck; then
17412 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
17413 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17418 cat >>$CONFIG_STATUS <<_ACEOF
17420 # INIT-COMMANDS section.
17423 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17427 with_multisubdir=${with_multisubdir}
17428 ac_configure_args="${multilib_arg} ${ac_configure_args}"
17429 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
17430 libgcj_basedir=${libgcj_basedir}
17433 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
17440 cat >>$CONFIG_STATUS <<\_ACEOF
17441 for ac_config_target
in $ac_config_targets
17443 case "$ac_config_target" in
17444 # Handling of arguments.
17445 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17446 "libgcj.pc" ) CONFIG_FILES
="$CONFIG_FILES libgcj.pc" ;;
17447 "libgcj.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj.spec" ;;
17448 "libgcj-test.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj-test.spec" ;;
17449 "gcj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gcj/Makefile" ;;
17450 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
17451 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
17452 "include/platform.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/platform.h:include/$PLATFORMH" ;;
17453 "java/io/natFile.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc" ;;
17454 "java/lang/ConcreteProcess.java" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/ConcreteProcess.java:java/lang/${PLATFORM}Process.java" ;;
17455 "java/lang/natConcreteProcess.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc" ;;
17456 "java/net/natInetAddress.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natInetAddress.cc:java/net/natInetAddress${PLATFORMNET}.cc" ;;
17457 "java/net/natVMNetworkInterface.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc" ;;
17458 "gnu/java/net/natPlainSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc" ;;
17459 "gnu/java/net/natPlainDatagramSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc" ;;
17460 "gnu/java/nio/natPipeImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natPipeImpl.cc:gnu/java/nio/natPipeImpl${PLATFORM}.cc" ;;
17461 "gnu/java/nio/natSelectorImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natSelectorImpl.cc:gnu/java/nio/natSelectorImpl${PLATFORM}.cc" ;;
17462 "gnu/java/nio/channels/natFileChannelImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc" ;;
17463 "include/java-gc.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-gc.h:include/$GCHDR" ;;
17464 "include/java-threads.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-threads.h:include/$THREADH" ;;
17465 "sysdep/locks.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/locks.h:sysdep/$sysdeps_dir/locks.h" ;;
17466 "sysdep/backtrace.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/backtrace.h:$fallback_backtrace_h" ;;
17467 "sysdep/descriptor.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/descriptor.h:$descriptor_h" ;;
17468 "include/java-signal.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal.h:$SIGNAL_HANDLER" ;;
17469 "include/java-signal-aux.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal-aux.h:$SIGNAL_HANDLER_AUX" ;;
17470 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17471 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
17472 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
17473 "gcj/libgcj-config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS gcj/libgcj-config.h" ;;
17474 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
17475 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
17476 { (exit 1); exit 1; }; };;
17480 # If the user did not use the arguments to specify the items to instantiate,
17481 # then the envvar interface is used. Set only those that are not.
17482 # We use the long form for the default assignment because of an extremely
17483 # bizarre bug on SunOS 4.1.3.
17484 if $ac_need_defaults; then
17485 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17486 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17487 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
17488 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17491 # Have a temporary directory for convenience. Make it in the build tree
17492 # simply because there is no reason to put it here, and in addition,
17493 # creating and moving files from /tmp can sometimes cause problems.
17494 # Create a temporary directory, and hook for its removal unless debugging.
17497 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
17498 trap '{ (exit 1); exit 1; }' 1 2 13 15
17501 # Create a (secure) tmp directory for tmp files.
17504 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
17505 test -n "$tmp" && test -d "$tmp"
17508 tmp
=.
/confstat$$
-$RANDOM
17509 (umask 077 && mkdir
$tmp)
17512 echo "$me: cannot create a temporary directory in ." >&2
17513 { (exit 1); exit 1; }
17518 cat >>$CONFIG_STATUS <<_ACEOF
17521 # CONFIG_FILES section.
17524 # No need to generate the scripts if there are no CONFIG_FILES.
17525 # This happens for instance when ./config.status config.h
17526 if test -n "\$CONFIG_FILES"; then
17527 # Protect against being on the right side of a sed subst in config.status.
17528 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
17529 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
17530 s,@SHELL@,$SHELL,;t t
17531 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
17532 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
17533 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
17534 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
17535 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
17536 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
17537 s,@exec_prefix@,$exec_prefix,;t t
17538 s,@prefix@,$prefix,;t t
17539 s,@program_transform_name@,$program_transform_name,;t t
17540 s,@bindir@,$bindir,;t t
17541 s,@sbindir@,$sbindir,;t t
17542 s,@libexecdir@,$libexecdir,;t t
17543 s,@datadir@,$datadir,;t t
17544 s,@sysconfdir@,$sysconfdir,;t t
17545 s,@sharedstatedir@,$sharedstatedir,;t t
17546 s,@localstatedir@,$localstatedir,;t t
17547 s,@libdir@,$libdir,;t t
17548 s,@includedir@,$includedir,;t t
17549 s,@oldincludedir@,$oldincludedir,;t t
17550 s,@infodir@,$infodir,;t t
17551 s,@mandir@,$mandir,;t t
17552 s,@build_alias@,$build_alias,;t t
17553 s,@host_alias@,$host_alias,;t t
17554 s,@target_alias@,$target_alias,;t t
17555 s,@DEFS@,$DEFS,;t t
17556 s,@ECHO_C@,$ECHO_C,;t t
17557 s,@ECHO_N@,$ECHO_N,;t t
17558 s,@ECHO_T@,$ECHO_T,;t t
17559 s,@LIBS@,$LIBS,;t t
17560 s,@build@,$build,;t t
17561 s,@build_cpu@,$build_cpu,;t t
17562 s,@build_vendor@,$build_vendor,;t t
17563 s,@build_os@,$build_os,;t t
17564 s,@build_subdir@,$build_subdir,;t t
17565 s,@host_subdir@,$host_subdir,;t t
17566 s,@target_subdir@,$target_subdir,;t t
17567 s,@libgcj_basedir@,$libgcj_basedir,;t t
17568 s,@host@,$host,;t t
17569 s,@host_cpu@,$host_cpu,;t t
17570 s,@host_vendor@,$host_vendor,;t t
17571 s,@host_os@,$host_os,;t t
17572 s,@target@,$target,;t t
17573 s,@target_cpu@,$target_cpu,;t t
17574 s,@target_vendor@,$target_vendor,;t t
17575 s,@target_os@,$target_os,;t t
17576 s,@target_noncanonical@,$target_noncanonical,;t t
17577 s,@LN_S@,$LN_S,;t t
17578 s,@mkinstalldirs@,$mkinstalldirs,;t t
17580 s,@ac_ct_CC@,$ac_ct_CC,;t t
17581 s,@EXEEXT@,$EXEEXT,;t t
17582 s,@OBJEXT@,$OBJEXT,;t t
17584 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
17585 s,@CFLAGS@,$CFLAGS,;t t
17586 s,@CXXFLAGS@,$CXXFLAGS,;t t
17587 s,@LDFLAGS@,$LDFLAGS,;t t
17588 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
17589 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
17590 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
17591 s,@CYGPATH_W@,$CYGPATH_W,;t t
17592 s,@PACKAGE@,$PACKAGE,;t t
17593 s,@VERSION@,$VERSION,;t t
17594 s,@ACLOCAL@,$ACLOCAL,;t t
17595 s,@AUTOCONF@,$AUTOCONF,;t t
17596 s,@AUTOMAKE@,$AUTOMAKE,;t t
17597 s,@AUTOHEADER@,$AUTOHEADER,;t t
17598 s,@MAKEINFO@,$MAKEINFO,;t t
17599 s,@install_sh@,$install_sh,;t t
17600 s,@STRIP@,$STRIP,;t t
17601 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
17602 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
17603 s,@mkdir_p@,$mkdir_p,;t t
17605 s,@SET_MAKE@,$SET_MAKE,;t t
17606 s,@am__leading_dot@,$am__leading_dot,;t t
17607 s,@AMTAR@,$AMTAR,;t t
17608 s,@am__tar@,$am__tar,;t t
17609 s,@am__untar@,$am__untar,;t t
17610 s,@DEPDIR@,$DEPDIR,;t t
17611 s,@am__include@,$am__include,;t t
17612 s,@am__quote@,$am__quote,;t t
17613 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
17614 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
17615 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
17616 s,@CCDEPMODE@,$CCDEPMODE,;t t
17617 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
17618 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
17619 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
17620 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
17621 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
17623 s,@ac_ct_AS@,$ac_ct_AS,;t t
17625 s,@ac_ct_AR@,$ac_ct_AR,;t t
17626 s,@RANLIB@,$RANLIB,;t t
17627 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
17628 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
17629 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
17630 s,@MAINT@,$MAINT,;t t
17631 s,@LIBGCJ_CFLAGS@,$LIBGCJ_CFLAGS,;t t
17632 s,@LIBGCJ_CXXFLAGS@,$LIBGCJ_CXXFLAGS,;t t
17633 s,@LIBGCJ_JAVAFLAGS@,$LIBGCJ_JAVAFLAGS,;t t
17634 s,@LIBGCJ_LD_SYMBOLIC@,$LIBGCJ_LD_SYMBOLIC,;t t
17635 s,@LIBGCJDEBUG@,$LIBGCJDEBUG,;t t
17636 s,@TOOLKIT@,$TOOLKIT,;t t
17637 s,@XLIB_AWT_TRUE@,$XLIB_AWT_TRUE,;t t
17638 s,@XLIB_AWT_FALSE@,$XLIB_AWT_FALSE,;t t
17639 s,@GTK_AWT_TRUE@,$GTK_AWT_TRUE,;t t
17640 s,@GTK_AWT_FALSE@,$GTK_AWT_FALSE,;t t
17641 s,@QT_AWT_TRUE@,$QT_AWT_TRUE,;t t
17642 s,@QT_AWT_FALSE@,$QT_AWT_FALSE,;t t
17643 s,@GCJH@,$GCJH,;t t
17645 s,@INCLTDL@,$INCLTDL,;t t
17646 s,@LIBLTDL@,$LIBLTDL,;t t
17647 s,@DIRLTDL@,$DIRLTDL,;t t
17648 s,@LIBTOOL@,$LIBTOOL,;t t
17649 s,@CXXCPP@,$CXXCPP,;t t
17650 s,@CPPFLAGS@,$CPPFLAGS,;t t
17652 s,@GCJFLAGS@,$GCJFLAGS,;t t
17653 s,@GCJDEPMODE@,$GCJDEPMODE,;t t
17654 s,@am__fastdepGCJ_TRUE@,$am__fastdepGCJ_TRUE,;t t
17655 s,@am__fastdepGCJ_FALSE@,$am__fastdepGCJ_FALSE,;t t
17656 s,@subdirs@,$subdirs,;t t
17657 s,@TESTSUBDIR_TRUE@,$TESTSUBDIR_TRUE,;t t
17658 s,@TESTSUBDIR_FALSE@,$TESTSUBDIR_FALSE,;t t
17659 s,@JAVA_HOME_SET_TRUE@,$JAVA_HOME_SET_TRUE,;t t
17660 s,@JAVA_HOME_SET_FALSE@,$JAVA_HOME_SET_FALSE,;t t
17661 s,@JAVA_HOME@,$JAVA_HOME,;t t
17662 s,@INTERPRETER@,$INTERPRETER,;t t
17663 s,@LIBFFI@,$LIBFFI,;t t
17664 s,@LIBFFIINCS@,$LIBFFIINCS,;t t
17665 s,@PLATFORM_INNER_NAT_HDRS@,$PLATFORM_INNER_NAT_HDRS,;t t
17667 s,@EGREP@,$EGREP,;t t
17668 s,@USING_WIN32_PLATFORM_TRUE@,$USING_WIN32_PLATFORM_TRUE,;t t
17669 s,@USING_WIN32_PLATFORM_FALSE@,$USING_WIN32_PLATFORM_FALSE,;t t
17670 s,@USING_POSIX_PLATFORM_TRUE@,$USING_POSIX_PLATFORM_TRUE,;t t
17671 s,@USING_POSIX_PLATFORM_FALSE@,$USING_POSIX_PLATFORM_FALSE,;t t
17672 s,@USING_DARWIN_CRT_TRUE@,$USING_DARWIN_CRT_TRUE,;t t
17673 s,@USING_DARWIN_CRT_FALSE@,$USING_DARWIN_CRT_FALSE,;t t
17674 s,@SYSTEMSPEC@,$SYSTEMSPEC,;t t
17675 s,@LIBGCJTESTSPEC@,$LIBGCJTESTSPEC,;t t
17676 s,@ZLIBSPEC@,$ZLIBSPEC,;t t
17677 s,@ZLIBTESTSPEC@,$ZLIBTESTSPEC,;t t
17678 s,@X_CFLAGS@,$X_CFLAGS,;t t
17679 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
17680 s,@X_LIBS@,$X_LIBS,;t t
17681 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
17682 s,@GTK_CAIRO_TRUE@,$GTK_CAIRO_TRUE,;t t
17683 s,@GTK_CAIRO_FALSE@,$GTK_CAIRO_FALSE,;t t
17684 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
17685 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
17686 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
17687 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
17688 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
17689 s,@extra_ldflags_libjava@,$extra_ldflags_libjava,;t t
17690 s,@GCLIBS@,$GCLIBS,;t t
17691 s,@GCINCS@,$GCINCS,;t t
17692 s,@GCDEPS@,$GCDEPS,;t t
17693 s,@GCSPEC@,$GCSPEC,;t t
17694 s,@JC1GCSPEC@,$JC1GCSPEC,;t t
17695 s,@GCTESTSPEC@,$GCTESTSPEC,;t t
17696 s,@USING_BOEHMGC_TRUE@,$USING_BOEHMGC_TRUE,;t t
17697 s,@USING_BOEHMGC_FALSE@,$USING_BOEHMGC_FALSE,;t t
17698 s,@USING_NOGC_TRUE@,$USING_NOGC_TRUE,;t t
17699 s,@USING_NOGC_FALSE@,$USING_NOGC_FALSE,;t t
17700 s,@THREADLIBS@,$THREADLIBS,;t t
17701 s,@THREADINCS@,$THREADINCS,;t t
17702 s,@THREADDEPS@,$THREADDEPS,;t t
17703 s,@THREADSPEC@,$THREADSPEC,;t t
17704 s,@THREADLDFLAGS@,$THREADLDFLAGS,;t t
17705 s,@THREADCXXFLAGS@,$THREADCXXFLAGS,;t t
17706 s,@USING_POSIX_THREADS_TRUE@,$USING_POSIX_THREADS_TRUE,;t t
17707 s,@USING_POSIX_THREADS_FALSE@,$USING_POSIX_THREADS_FALSE,;t t
17708 s,@USING_WIN32_THREADS_TRUE@,$USING_WIN32_THREADS_TRUE,;t t
17709 s,@USING_WIN32_THREADS_FALSE@,$USING_WIN32_THREADS_FALSE,;t t
17710 s,@USING_NO_THREADS_TRUE@,$USING_NO_THREADS_TRUE,;t t
17711 s,@USING_NO_THREADS_FALSE@,$USING_NO_THREADS_FALSE,;t t
17712 s,@HASH_SYNC_SPEC@,$HASH_SYNC_SPEC,;t t
17713 s,@USING_GCC_TRUE@,$USING_GCC_TRUE,;t t
17714 s,@USING_GCC_FALSE@,$USING_GCC_FALSE,;t t
17715 s,@LIBICONV@,$LIBICONV,;t t
17716 s,@LTLIBICONV@,$LTLIBICONV,;t t
17717 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
17718 s,@GTK_LIBS@,$GTK_LIBS,;t t
17719 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
17720 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
17721 s,@LIBART_CFLAGS@,$LIBART_CFLAGS,;t t
17722 s,@LIBART_LIBS@,$LIBART_LIBS,;t t
17723 s,@CLASSPATH_SEPARATOR@,$CLASSPATH_SEPARATOR,;t t
17724 s,@ac_ct_GCJ@,$ac_ct_GCJ,;t t
17725 s,@ZLIBS@,$ZLIBS,;t t
17726 s,@SYS_ZLIBS@,$SYS_ZLIBS,;t t
17727 s,@ZINCS@,$ZINCS,;t t
17728 s,@DIVIDESPEC@,$DIVIDESPEC,;t t
17729 s,@CHECKREFSPEC@,$CHECKREFSPEC,;t t
17730 s,@EXCEPTIONSPEC@,$EXCEPTIONSPEC,;t t
17731 s,@BACKTRACESPEC@,$BACKTRACESPEC,;t t
17732 s,@IEEESPEC@,$IEEESPEC,;t t
17733 s,@NATIVE_TRUE@,$NATIVE_TRUE,;t t
17734 s,@NATIVE_FALSE@,$NATIVE_FALSE,;t t
17735 s,@NEEDS_DATA_START_TRUE@,$NEEDS_DATA_START_TRUE,;t t
17736 s,@NEEDS_DATA_START_FALSE@,$NEEDS_DATA_START_FALSE,;t t
17737 s,@GCC_UNWIND_INCLUDE@,$GCC_UNWIND_INCLUDE,;t t
17738 s,@toolexecdir@,$toolexecdir,;t t
17739 s,@toolexecmainlibdir@,$toolexecmainlibdir,;t t
17740 s,@toolexeclibdir@,$toolexeclibdir,;t t
17741 s,@GCJVERSION@,$GCJVERSION,;t t
17742 s,@gxx_include_dir@,$gxx_include_dir,;t t
17743 s,@libstdcxx_incdir@,$libstdcxx_incdir,;t t
17744 s,@ALLOCA@,$ALLOCA,;t t
17745 s,@PERL@,$PERL,;t t
17746 s,@SYSDEP_SOURCES@,$SYSDEP_SOURCES,;t t
17747 s,@here@,$here,;t t
17748 s,@LIBOBJS@,$LIBOBJS,;t t
17749 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
17754 cat >>$CONFIG_STATUS <<\_ACEOF
17755 # Split the substitutions into bite-sized pieces for seds with
17756 # small command number limits, like on Digital OSF/1 and HP-UX.
17757 ac_max_sed_lines
=48
17758 ac_sed_frag
=1 # Number of current file.
17759 ac_beg
=1 # First line for current file.
17760 ac_end
=$ac_max_sed_lines # Line after last line for current file.
17763 while $ac_more_lines; do
17764 if test $ac_beg -gt 1; then
17765 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
17767 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
17769 if test ! -s $tmp/subs.frag
; then
17770 ac_more_lines
=false
17772 # The purpose of the label and of the branching condition is to
17773 # speed up the sed processing (if there are no `@' at all, there
17774 # is no need to browse any of the substitutions).
17775 # These are the two extra sed commands mentioned above.
17777 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
17778 if test -z "$ac_sed_cmds"; then
17779 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
17781 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
17783 ac_sed_frag
=`expr $ac_sed_frag + 1`
17785 ac_end
=`expr $ac_end + $ac_max_sed_lines`
17788 if test -z "$ac_sed_cmds"; then
17791 fi # test -n "$CONFIG_FILES"
17794 cat >>$CONFIG_STATUS <<\_ACEOF
17795 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
17796 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17798 - |
*:- |
*:-:* ) # input from stdin
17800 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17801 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17802 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17803 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17804 * ) ac_file_in
=$ac_file.
in ;;
17807 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
17808 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
17809 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17810 X"$ac_file" : 'X\(//\)[^/]' \| \
17811 X"$ac_file" : 'X\(//\)$' \| \
17812 X"$ac_file" : 'X\(/\)' \| \
17813 . : '\(.\)' 2>/dev/null ||
17815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17816 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17817 /^X\(\/\/\)$/{ s//\1/; q; }
17818 /^X\(\/\).*/{ s//\1/; q; }
17820 { if $as_mkdir_p; then
17825 while test ! -d "$as_dir"; do
17826 as_dirs
="$as_dir $as_dirs"
17827 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17828 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17829 X"$as_dir" : 'X\(//\)[^/]' \| \
17830 X"$as_dir" : 'X\(//\)$' \| \
17831 X"$as_dir" : 'X\(/\)' \| \
17832 . : '\(.\)' 2>/dev/null ||
17834 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17835 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17836 /^X\(\/\/\)$/{ s//\1/; q; }
17837 /^X\(\/\).*/{ s//\1/; q; }
17840 test ! -n "$as_dirs" || mkdir
$as_dirs
17841 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17842 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17843 { (exit 1); exit 1; }; }; }
17847 if test "$ac_dir" != .
; then
17848 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17849 # A "../" for each directory in $ac_dir_suffix.
17850 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17852 ac_dir_suffix
= ac_top_builddir
=
17856 .
) # No --srcdir option. We are building in place.
17858 if test -z "$ac_top_builddir"; then
17861 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
17863 [\\/]* | ?
:[\\/]* ) # Absolute path.
17864 ac_srcdir
=$srcdir$ac_dir_suffix;
17865 ac_top_srcdir
=$srcdir ;;
17866 *) # Relative path.
17867 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
17868 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
17871 # Do not use `cd foo && pwd` to compute absolute paths, because
17872 # the directories may not exist.
17874 .
) ac_abs_builddir
="$ac_dir";;
17877 .
) ac_abs_builddir
=`pwd`;;
17878 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
17879 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
17882 case $ac_abs_builddir in
17883 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17885 case ${ac_top_builddir}.
in
17886 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
17887 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17888 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
17891 case $ac_abs_builddir in
17892 .
) ac_abs_srcdir
=$ac_srcdir;;
17895 .
) ac_abs_srcdir
=$ac_abs_builddir;;
17896 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
17897 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
17900 case $ac_abs_builddir in
17901 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
17903 case $ac_top_srcdir in
17904 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
17905 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
17906 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
17912 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17913 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
17916 if test x
"$ac_file" != x-
; then
17917 { echo "$as_me:$LINENO: creating $ac_file" >&5
17918 echo "$as_me: creating $ac_file" >&6;}
17921 # Let's still pretend it is `configure' which instantiates (i.e., don't
17922 # use $as_me), people would be surprised to read:
17923 # /* config.h. Generated by config.status. */
17924 if test x
"$ac_file" = x-
; then
17927 configure_input
="$ac_file. "
17929 configure_input
=$configure_input"Generated from `echo $ac_file_in |
17930 sed 's,.*/,,'` by configure."
17932 # First look for the input files in the build tree, otherwise in the
17934 ac_file_inputs
=`IFS=:
17935 for f in $ac_file_in; do
17937 -) echo $tmp/stdin ;;
17939 # Absolute (can't be DOS-style, as IFS=:)
17940 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17941 echo "$as_me: error: cannot find input file: $f" >&2;}
17942 { (exit 1); exit 1; }; }
17945 if test -f "$f"; then
17948 elif test -f "$srcdir/$f"; then
17953 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17954 echo "$as_me: error: cannot find input file: $f" >&2;}
17955 { (exit 1); exit 1; }; }
17958 done` ||
{ (exit 1); exit 1; }
17960 cat >>$CONFIG_STATUS <<_ACEOF
17964 cat >>$CONFIG_STATUS <<\_ACEOF
17966 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17967 s
,@configure_input@
,$configure_input,;t t
17968 s
,@srcdir@
,$ac_srcdir,;t t
17969 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
17970 s
,@top_srcdir@
,$ac_top_srcdir,;t t
17971 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
17972 s
,@builddir@
,$ac_builddir,;t t
17973 s
,@abs_builddir@
,$ac_abs_builddir,;t t
17974 s
,@top_builddir@
,$ac_top_builddir,;t t
17975 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
17976 s
,@INSTALL@
,$ac_INSTALL,;t t
17977 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
17979 if test x"$ac_file" != x-; then
17980 mv $tmp/out $ac_file
17988 cat >>$CONFIG_STATUS <<\_ACEOF
17991 # CONFIG_HEADER section.
17994 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
17995 # NAME is the cpp macro being defined and VALUE is the value it is being given.
17997 # ac_d sets the value in "#define NAME VALUE" lines.
17998 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
17999 ac_dB
='[ ].*$,\1#\2'
18002 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18003 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18004 ac_uB
='$,\1#\2define\3'
18008 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
18009 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18011 - |
*:- |
*:-:* ) # input from stdin
18013 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18014 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18015 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18016 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18017 * ) ac_file_in
=$ac_file.
in ;;
18020 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
18021 echo "$as_me: creating $ac_file" >&6;}
18023 # First look for the input files in the build tree, otherwise in the
18025 ac_file_inputs
=`IFS=:
18026 for f in $ac_file_in; do
18028 -) echo $tmp/stdin ;;
18030 # Absolute (can't be DOS-style, as IFS=:)
18031 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18032 echo "$as_me: error: cannot find input file: $f" >&2;}
18033 { (exit 1); exit 1; }; }
18034 # Do quote $f, to prevent DOS paths from being IFS'd.
18037 if test -f "$f"; then
18040 elif test -f "$srcdir/$f"; then
18045 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18046 echo "$as_me: error: cannot find input file: $f" >&2;}
18047 { (exit 1); exit 1; }; }
18050 done` ||
{ (exit 1); exit 1; }
18051 # Remove the trailing spaces.
18052 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
18056 # Transform confdefs.h into two sed scripts, `conftest.defines' and
18057 # `conftest.undefs', that substitutes the proper values into
18058 # config.h.in to produce config.h. The first handles `#define'
18059 # templates, and the second `#undef' templates.
18060 # And first: Protect against being on the right side of a sed subst in
18061 # config.status. Protect against being in an unquoted here document
18062 # in config.status.
18063 rm -f conftest.defines conftest.undefs
18064 # Using a here document instead of a string reduces the quoting nightmare.
18065 # Putting comments in sed scripts is not portable.
18067 # `end' is used to avoid that the second main sed command (meant for
18068 # 0-ary CPP macros) applies to n-ary macro definitions.
18069 # See the Autoconf documentation for `clear'.
18070 cat >confdef2sed.
sed <<\_ACEOF
18075 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
18077 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
18080 # If some macros were called several times there might be several times
18081 # the same #defines, which is useless. Nevertheless, we may not want to
18082 # sort them, since we want the *last* AC-DEFINE to be honored.
18083 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
18084 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
18085 rm -f confdef2sed.sed
18087 # This sed command replaces #undef with comments. This is necessary, for
18088 # example, in the case of _POSIX_SOURCE, which is predefined and required
18089 # on some systems where configure will not decide to define it.
18090 cat >>conftest.undefs <<\_ACEOF
18091 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
18094 # Break up conftest.defines because some shells have a limit on the size
18095 # of here documents, and old seds have small limits too (100 cmds).
18096 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
18097 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
18098 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
18099 echo ' :' >>$CONFIG_STATUS
18100 rm -f conftest.tail
18101 while grep . conftest.defines >/dev/null
18103 # Write a limited-size here document to $tmp/defines.sed.
18104 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
18105 # Speed up: don't consider the non `#define' lines.
18106 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
18107 # Work around the forget-to-reset-the-flag bug.
18108 echo 't clr' >>$CONFIG_STATUS
18109 echo ': clr' >>$CONFIG_STATUS
18110 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
18112 sed -f $tmp/defines.sed $tmp/in >$tmp/out
18114 mv $tmp/out $tmp/in
18116 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
18117 rm -f conftest.defines
18118 mv conftest.
tail conftest.defines
18120 rm -f conftest.defines
18121 echo ' fi # grep' >>$CONFIG_STATUS
18122 echo >>$CONFIG_STATUS
18124 # Break up conftest.undefs because some shells have a limit on the size
18125 # of here documents, and old seds have small limits too (100 cmds).
18126 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
18127 rm -f conftest.
tail
18128 while grep . conftest.undefs
>/dev
/null
18130 # Write a limited-size here document to $tmp/undefs.sed.
18131 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
18132 # Speed up: don't consider the non
`#undef'
18133 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
18134 # Work around the forget-to-reset-the-flag bug.
18135 echo 't clr' >>$CONFIG_STATUS
18136 echo ': clr' >>$CONFIG_STATUS
18137 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
18139 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
18141 mv $tmp/out $tmp/in
18143 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
18144 rm -f conftest.undefs
18145 mv conftest.tail conftest.undefs
18147 rm -f conftest.undefs
18149 cat >>$CONFIG_STATUS <<\_ACEOF
18150 # Let's still pretend it is `configure
' which instantiates (i.e., don't
18151 # use $as_me), people would be surprised to read:
18152 # /* config.h. Generated by config.status. */
18153 if test x
"$ac_file" = x-
; then
18154 echo "/* Generated by configure. */" >$tmp/config.h
18156 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
18158 cat $tmp/in >>$tmp/config.h
18160 if test x
"$ac_file" != x-
; then
18161 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
18162 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
18163 echo "$as_me: $ac_file is unchanged" >&6;}
18165 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
18166 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18167 X"$ac_file" : 'X\(//\)[^/]' \| \
18168 X"$ac_file" : 'X\(//\)$' \| \
18169 X"$ac_file" : 'X\(/\)' \| \
18170 . : '\(.\)' 2>/dev/null ||
18172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18173 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18174 /^X\(\/\/\)$/{ s//\1/; q; }
18175 /^X\(\/\).*/{ s//\1/; q; }
18177 { if $as_mkdir_p; then
18182 while test ! -d "$as_dir"; do
18183 as_dirs
="$as_dir $as_dirs"
18184 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18185 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18186 X"$as_dir" : 'X\(//\)[^/]' \| \
18187 X"$as_dir" : 'X\(//\)$' \| \
18188 X"$as_dir" : 'X\(/\)' \| \
18189 . : '\(.\)' 2>/dev/null ||
18191 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18192 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18193 /^X\(\/\/\)$/{ s//\1/; q; }
18194 /^X\(\/\).*/{ s//\1/; q; }
18197 test ! -n "$as_dirs" || mkdir
$as_dirs
18198 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18199 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18200 { (exit 1); exit 1; }; }; }
18203 mv $tmp/config.h
$ac_file
18207 rm -f $tmp/config.h
18209 # Compute $ac_file's index in $config_headers.
18211 for _am_header
in $config_headers :; do
18212 case $_am_header in
18213 $ac_file |
$ac_file:* )
18216 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18219 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
18220 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18221 X$ac_file : 'X\(//\)[^/]' \| \
18222 X$ac_file : 'X\(//\)$' \| \
18223 X$ac_file : 'X\(/\)' \| \
18224 . : '\(.\)' 2>/dev/null ||
18226 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18227 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18228 /^X\(\/\/\)$/{ s//\1/; q; }
18229 /^X\(\/\).*/{ s//\1/; q; }
18230 s/.*/./; q'`/stamp-h
$_am_stamp_count
18233 cat >>$CONFIG_STATUS <<\_ACEOF
18236 # CONFIG_LINKS section.
18239 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
18240 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
18241 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18243 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
18244 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
18246 if test ! -r $srcdir/$ac_source; then
18247 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
18248 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
18249 { (exit 1); exit 1; }; }
18253 # Make relative symlinks.
18254 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
18255 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18256 X"$ac_dest" : 'X\(//\)[^/]' \| \
18257 X"$ac_dest" : 'X\(//\)$' \| \
18258 X"$ac_dest" : 'X\(/\)' \| \
18259 . : '\(.\)' 2>/dev/null ||
18261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18262 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18263 /^X\(\/\/\)$/{ s//\1/; q; }
18264 /^X\(\/\).*/{ s//\1/; q; }
18266 { if $as_mkdir_p; then
18267 mkdir
-p "$ac_dest_dir"
18269 as_dir
="$ac_dest_dir"
18271 while test ! -d "$as_dir"; do
18272 as_dirs
="$as_dir $as_dirs"
18273 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18274 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18275 X"$as_dir" : 'X\(//\)[^/]' \| \
18276 X"$as_dir" : 'X\(//\)$' \| \
18277 X"$as_dir" : 'X\(/\)' \| \
18278 . : '\(.\)' 2>/dev/null ||
18280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18281 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18282 /^X\(\/\/\)$/{ s//\1/; q; }
18283 /^X\(\/\).*/{ s//\1/; q; }
18286 test ! -n "$as_dirs" || mkdir
$as_dirs
18287 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
18288 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
18289 { (exit 1); exit 1; }; }; }
18293 if test "$ac_dest_dir" != .
; then
18294 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
18295 # A "../" for each directory in $ac_dir_suffix.
18296 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18298 ac_dir_suffix
= ac_top_builddir
=
18302 .
) # No --srcdir option. We are building in place.
18304 if test -z "$ac_top_builddir"; then
18307 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18309 [\\/]* | ?
:[\\/]* ) # Absolute path.
18310 ac_srcdir
=$srcdir$ac_dir_suffix;
18311 ac_top_srcdir
=$srcdir ;;
18312 *) # Relative path.
18313 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18314 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18317 # Do not use `cd foo && pwd` to compute absolute paths, because
18318 # the directories may not exist.
18320 .
) ac_abs_builddir
="$ac_dest_dir";;
18322 case "$ac_dest_dir" in
18323 .
) ac_abs_builddir
=`pwd`;;
18324 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
18325 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
18328 case $ac_abs_builddir in
18329 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18331 case ${ac_top_builddir}.
in
18332 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
18333 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18334 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
18337 case $ac_abs_builddir in
18338 .
) ac_abs_srcdir
=$ac_srcdir;;
18341 .
) ac_abs_srcdir
=$ac_abs_builddir;;
18342 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
18343 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
18346 case $ac_abs_builddir in
18347 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
18349 case $ac_top_srcdir in
18350 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
18351 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
18352 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
18358 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
18359 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
18362 # Try a symlink, then a hard link, then a copy.
18363 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
18364 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
18365 cp -p $srcdir/$ac_source $ac_dest ||
18366 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
18367 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
18368 { (exit 1); exit 1; }; }
18371 cat >>$CONFIG_STATUS <<\_ACEOF
18374 # CONFIG_COMMANDS section.
18376 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
18377 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
18378 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18379 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
18380 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18381 X"$ac_dest" : 'X\(//\)[^/]' \| \
18382 X"$ac_dest" : 'X\(//\)$' \| \
18383 X"$ac_dest" : 'X\(/\)' \| \
18384 . : '\(.\)' 2>/dev/null ||
18386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18387 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18388 /^X\(\/\/\)$/{ s//\1/; q; }
18389 /^X\(\/\).*/{ s//\1/; q; }
18391 { if $as_mkdir_p; then
18396 while test ! -d "$as_dir"; do
18397 as_dirs
="$as_dir $as_dirs"
18398 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18399 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18400 X"$as_dir" : 'X\(//\)[^/]' \| \
18401 X"$as_dir" : 'X\(//\)$' \| \
18402 X"$as_dir" : 'X\(/\)' \| \
18403 . : '\(.\)' 2>/dev/null ||
18405 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18406 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18407 /^X\(\/\/\)$/{ s//\1/; q; }
18408 /^X\(\/\).*/{ s//\1/; q; }
18411 test ! -n "$as_dirs" || mkdir
$as_dirs
18412 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18413 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18414 { (exit 1); exit 1; }; }; }
18418 if test "$ac_dir" != .
; then
18419 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18420 # A "../" for each directory in $ac_dir_suffix.
18421 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18423 ac_dir_suffix
= ac_top_builddir
=
18427 .
) # No --srcdir option. We are building in place.
18429 if test -z "$ac_top_builddir"; then
18432 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18434 [\\/]* | ?
:[\\/]* ) # Absolute path.
18435 ac_srcdir
=$srcdir$ac_dir_suffix;
18436 ac_top_srcdir
=$srcdir ;;
18437 *) # Relative path.
18438 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18439 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18442 # Do not use `cd foo && pwd` to compute absolute paths, because
18443 # the directories may not exist.
18445 .
) ac_abs_builddir
="$ac_dir";;
18448 .
) ac_abs_builddir
=`pwd`;;
18449 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
18450 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
18453 case $ac_abs_builddir in
18454 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18456 case ${ac_top_builddir}.
in
18457 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
18458 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18459 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
18462 case $ac_abs_builddir in
18463 .
) ac_abs_srcdir
=$ac_srcdir;;
18466 .
) ac_abs_srcdir
=$ac_abs_builddir;;
18467 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
18468 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
18471 case $ac_abs_builddir in
18472 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
18474 case $ac_top_srcdir in
18475 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
18476 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
18477 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
18482 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
18483 echo "$as_me: executing $ac_dest commands" >&6;}
18485 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
18486 # Strip MF so we end up with the name of the file.
18487 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18488 # Check whether this is an Automake generated Makefile or not.
18489 # We used to match only the files named `Makefile.in', but
18490 # some people rename them; so instead we look at the file content.
18491 # Grep'ing the first line is not enough: some people post-process
18492 # each Makefile.in and add a new line on top of each file to say so.
18493 # So let's grep whole file.
18494 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
18495 dirpart
=`(dirname "$mf") 2>/dev/null ||
18496 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18497 X"$mf" : 'X\(//\)[^/]' \| \
18498 X"$mf" : 'X\(//\)$' \| \
18499 X"$mf" : 'X\(/\)' \| \
18500 . : '\(.\)' 2>/dev/null ||
18502 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18503 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18504 /^X\(\/\/\)$/{ s//\1/; q; }
18505 /^X\(\/\).*/{ s//\1/; q; }
18510 # Extract the definition of DEPDIR, am__include, and am__quote
18511 # from the Makefile without running `make'.
18512 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18513 test -z "$DEPDIR" && continue
18514 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18515 test -z "am__include" && continue
18516 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18517 # When using ansi2knr, U may be empty or an underscore; expand it
18518 U
=`sed -n 's/^U = //p' < "$mf"`
18519 # Find all dependency output files, they are included files with
18520 # $(DEPDIR) in their names. We invoke sed twice because it is the
18521 # simplest approach to changing $(DEPDIR) to its actual value in the
18523 for file in `sed -n "
18524 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18525 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18526 # Make sure the directory exists.
18527 test -f "$dirpart/$file" && continue
18528 fdir
=`(dirname "$file") 2>/dev/null ||
18529 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18530 X"$file" : 'X\(//\)[^/]' \| \
18531 X"$file" : 'X\(//\)$' \| \
18532 X"$file" : 'X\(/\)' \| \
18533 . : '\(.\)' 2>/dev/null ||
18535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18536 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18537 /^X\(\/\/\)$/{ s//\1/; q; }
18538 /^X\(\/\).*/{ s//\1/; q; }
18540 { if $as_mkdir_p; then
18541 mkdir
-p $dirpart/$fdir
18543 as_dir
=$dirpart/$fdir
18545 while test ! -d "$as_dir"; do
18546 as_dirs
="$as_dir $as_dirs"
18547 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18548 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18549 X"$as_dir" : 'X\(//\)[^/]' \| \
18550 X"$as_dir" : 'X\(//\)$' \| \
18551 X"$as_dir" : 'X\(/\)' \| \
18552 . : '\(.\)' 2>/dev/null ||
18554 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18555 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18556 /^X\(\/\/\)$/{ s//\1/; q; }
18557 /^X\(\/\).*/{ s//\1/; q; }
18560 test ! -n "$as_dirs" || mkdir
$as_dirs
18561 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
18562 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
18563 { (exit 1); exit 1; }; }; }
18565 # echo "creating $dirpart/$file"
18566 echo '# dummy' > "$dirpart/$file"
18570 default
) # Only add multilib support code if we just rebuilt top-level Makefile.
18571 case " $CONFIG_FILES " in
18573 LD
="${ORIGINAL_LD_FOR_MULTILIBS}"
18574 ac_file
=Makefile .
${libgcj_basedir}/..
/config-ml.
in
18577 for ac_multi_file
in $CONFIG_FILES; do
18578 case $ac_multi_file in
18580 grep "^MULTI[^ ]* =" Makefile
>> "$ac_multi_file" ;;
18588 cat >>$CONFIG_STATUS <<\_ACEOF
18590 { (exit 0); exit 0; }
18592 chmod +x
$CONFIG_STATUS
18593 ac_clean_files
=$ac_clean_files_save
18596 # configure is writing to config.log, and then calls config.status.
18597 # config.status does its own redirection, appending to config.log.
18598 # Unfortunately, on DOS this fails, as config.log is still kept open
18599 # by configure, so config.status won't be able to write to it; its
18600 # output is simply discarded. So we exec the FD to /dev/null,
18601 # effectively closing config.log, so it can be properly (re)opened and
18602 # appended to by config.status. When coming back to configure, we
18603 # need to make the FD available again.
18604 if test "$no_create" != yes; then
18606 ac_config_status_args
=
18607 test "$silent" = yes &&
18608 ac_config_status_args
="$ac_config_status_args --quiet"
18610 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18612 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18613 # would make configure fail if this is the last instruction.
18614 $ac_cs_success ||
{ (exit 1); exit 1; }
18618 # CONFIG_SUBDIRS section.
18620 if test "$no_recursion" != yes; then
18622 # Remove --cache-file and --srcdir arguments so they do not pile up.
18623 ac_sub_configure_args
=
18625 for ac_arg
in $ac_configure_args; do
18626 if test -n "$ac_prev"; then
18631 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
18632 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
18633 ac_prev
=cache_file
;;
18634 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
18635 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
18638 --config-cache |
-C)
18640 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
18642 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
18644 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
18646 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
18648 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
18652 # Always prepend --prefix to ensure using the same prefix
18653 # in subdir configurations.
18654 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
18657 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
18659 # Do not complain, so a configure script can configure whichever
18660 # parts of a large source tree are present.
18661 test -d $srcdir/$ac_dir ||
continue
18663 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
18664 echo "$as_me: configuring in $ac_dir" >&6;}
18665 { if $as_mkdir_p; then
18670 while test ! -d "$as_dir"; do
18671 as_dirs
="$as_dir $as_dirs"
18672 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18673 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18674 X"$as_dir" : 'X\(//\)[^/]' \| \
18675 X"$as_dir" : 'X\(//\)$' \| \
18676 X"$as_dir" : 'X\(/\)' \| \
18677 . : '\(.\)' 2>/dev/null ||
18679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18681 /^X\(\/\/\)$/{ s//\1/; q; }
18682 /^X\(\/\).*/{ s//\1/; q; }
18685 test ! -n "$as_dirs" || mkdir
$as_dirs
18686 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18687 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18688 { (exit 1); exit 1; }; }; }
18692 if test "$ac_dir" != .
; then
18693 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18694 # A "../" for each directory in $ac_dir_suffix.
18695 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18697 ac_dir_suffix
= ac_top_builddir
=
18701 .
) # No --srcdir option. We are building in place.
18703 if test -z "$ac_top_builddir"; then
18706 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18708 [\\/]* | ?
:[\\/]* ) # Absolute path.
18709 ac_srcdir
=$srcdir$ac_dir_suffix;
18710 ac_top_srcdir
=$srcdir ;;
18711 *) # Relative path.
18712 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18713 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18716 # Do not use `cd foo && pwd` to compute absolute paths, because
18717 # the directories may not exist.
18719 .
) ac_abs_builddir
="$ac_dir";;
18722 .
) ac_abs_builddir
=`pwd`;;
18723 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
18724 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
18727 case $ac_abs_builddir in
18728 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18730 case ${ac_top_builddir}.
in
18731 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
18732 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18733 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
18736 case $ac_abs_builddir in
18737 .
) ac_abs_srcdir
=$ac_srcdir;;
18740 .
) ac_abs_srcdir
=$ac_abs_builddir;;
18741 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
18742 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
18745 case $ac_abs_builddir in
18746 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
18748 case $ac_top_srcdir in
18749 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
18750 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
18751 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
18758 # Check for guested configure; otherwise get Cygnus style configure.
18759 if test -f $ac_srcdir/configure.gnu
; then
18760 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
18761 elif test -f $ac_srcdir/configure
; then
18762 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
18763 elif test -f $ac_srcdir/configure.
in; then
18764 ac_sub_configure
=$ac_configure
18766 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
18767 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
18771 # The recursion is here.
18772 if test -n "$ac_sub_configure"; then
18773 # Make the cache file name correct relative to the subdirectory.
18774 case $cache_file in
18775 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
18776 *) # Relative path.
18777 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
18780 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
18781 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
18782 # The eval makes quoting arguments work.
18783 eval $ac_sub_configure $ac_sub_configure_args \
18784 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
18785 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
18786 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
18787 { (exit 1); exit 1; }; }