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 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 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 SUPPLY_BACKTRACE_TRUE SUPPLY_BACKTRACE_FALSE 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
881 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
882 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
883 --with-target-subdir=SUBDIR
884 configure in a subdirectory
885 --with-cross-host=HOST configure with a cross compiler from HOST
886 --with-newlib configure with newlib
887 --with-gnu-ld assume the C compiler uses GNU ld default=no
888 --with-pic try to use only PIC/non-PIC objects default=use both
889 --with-java-home=DIRECTORY
890 value of java.home system property
891 --with-win32-nlsapi=ansi or unicows or unicode
892 native MinGW libgcj Win32 OS API (default is ansi)
893 --without-libffi don't use libffi
894 --with-ecos enable runtime eCos target support
895 --with-system-zlib use installed libz
896 --with-x use the X Window System
897 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
898 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
900 Some influential environment variables:
901 CC C compiler command
902 CFLAGS C compiler flags
903 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
904 nonstandard directory <lib dir>
905 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
906 headers in a nonstandard directory <include dir>
907 CXX C++ compiler command
908 CXXFLAGS C++ compiler flags
909 CXXCPP C++ preprocessor
912 Use these variables to override the choices made by `configure' or to
help
913 it to
find libraries and programs with nonstandard names
/locations.
918 if test "$ac_init_help" = "recursive"; then
919 # If there are subdirs, report their specific --help.
921 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
922 test -d $ac_dir ||
continue
925 if test "$ac_dir" != .
; then
926 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
927 # A "../" for each directory in $ac_dir_suffix.
928 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
930 ac_dir_suffix
= ac_top_builddir
=
934 .
) # No --srcdir option. We are building in place.
936 if test -z "$ac_top_builddir"; then
939 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
941 [\\/]* | ?
:[\\/]* ) # Absolute path.
942 ac_srcdir
=$srcdir$ac_dir_suffix;
943 ac_top_srcdir
=$srcdir ;;
945 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
946 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
949 # Do not use `cd foo && pwd` to compute absolute paths, because
950 # the directories may not exist.
952 .
) ac_abs_builddir
="$ac_dir";;
955 .
) ac_abs_builddir
=`pwd`;;
956 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
957 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
960 case $ac_abs_builddir in
961 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
963 case ${ac_top_builddir}.
in
964 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
965 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
966 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
969 case $ac_abs_builddir in
970 .
) ac_abs_srcdir
=$ac_srcdir;;
973 .
) ac_abs_srcdir
=$ac_abs_builddir;;
974 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
975 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
978 case $ac_abs_builddir in
979 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
981 case $ac_top_srcdir in
982 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
983 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
984 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
989 # Check for guested configure; otherwise get Cygnus style configure.
990 if test -f $ac_srcdir/configure.gnu
; then
992 $SHELL $ac_srcdir/configure.gnu
--help=recursive
993 elif test -f $ac_srcdir/configure
; then
995 $SHELL $ac_srcdir/configure
--help=recursive
996 elif test -f $ac_srcdir/configure.ac ||
997 test -f $ac_srcdir/configure.
in; then
1001 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1007 test -n "$ac_init_help" && exit 0
1008 if $ac_init_version; then
1010 libjava configure version-unused
1011 generated by GNU Autoconf
2.59
1013 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1014 This configure
script is free software
; the Free Software Foundation
1015 gives unlimited permission to copy
, distribute and modify it.
1021 This file contains any messages produced by compilers while
1022 running configure, to aid debugging if configure makes a mistake.
1024 It was created by libjava $as_me version-unused, which was
1025 generated by GNU Autoconf 2.59. Invocation command line was
1036 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1037 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1038 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1039 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1040 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1042 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1043 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1045 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1046 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1047 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1048 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1049 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1050 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1051 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1059 test -z "$as_dir" && as_dir
=.
1060 echo "PATH: $as_dir"
1075 # Keep a trace of the command line.
1076 # Strip out --no-create and --no-recursion so they do not pile up.
1077 # Strip out --silent because we don't want to record it for future runs.
1078 # Also quote any args containing shell meta-characters.
1079 # Make two passes to allow for proper duplicate-argument suppression.
1084 ac_must_keep_next
=false
1090 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1091 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1092 |
-silent |
--silent |
--silen |
--sile |
--sil)
1094 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1095 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1098 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1100 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1101 if test $ac_must_keep_next = true
; then
1102 ac_must_keep_next
=false
# Got value, back to normal.
1105 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1106 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1107 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1108 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1109 case "$ac_configure_args0 " in
1110 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1113 -* ) ac_must_keep_next
=true
;;
1116 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1117 # Get rid of the leading space.
1123 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1124 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1126 # When interrupted or exit'd, cleanup temporary files, and complete
1127 # config.log. We remove comments because anyway the quotes in there
1128 # would cause problems or look ugly.
1129 # WARNING: Be sure not to use single quotes in there, as some shells,
1130 # such as our DU 5.0 friend, will then `close' the trap.
1131 trap 'exit_status=$?
1132 # Save into config.log some information that might help in debugging.
1137 ## ---------------- ##
1138 ## Cache variables. ##
1139 ## ---------------- ##
1142 # The following way of writing the cache mishandles newlines in values,
1145 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1148 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1149 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1153 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1160 ## ----------------- ##
1161 ## Output variables. ##
1162 ## ----------------- ##
1165 for ac_var in $ac_subst_vars
1167 eval ac_val=$`echo $ac_var`
1168 echo "$ac_var='"'"'$ac_val'"'"'"
1172 if test -n "$ac_subst_files"; then
1179 for ac_var in $ac_subst_files
1181 eval ac_val=$`echo $ac_var`
1182 echo "$ac_var='"'"'$ac_val'"'"'"
1187 if test -s confdefs.h; then
1194 sed "/^$/d" confdefs.h | sort
1197 test "$ac_signal" != 0 &&
1198 echo "$as_me: caught signal $ac_signal"
1199 echo "$as_me: exit $exit_status"
1201 rm -f core *.core &&
1202 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1205 for ac_signal
in 1 2 13 15; do
1206 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1210 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1211 rm -rf conftest
* confdefs.h
1212 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1215 # Predefined preprocessor variables.
1217 cat >>confdefs.h
<<_ACEOF
1218 #define PACKAGE_NAME "$PACKAGE_NAME"
1222 cat >>confdefs.h
<<_ACEOF
1223 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1227 cat >>confdefs.h
<<_ACEOF
1228 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1232 cat >>confdefs.h
<<_ACEOF
1233 #define PACKAGE_STRING "$PACKAGE_STRING"
1237 cat >>confdefs.h
<<_ACEOF
1238 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1242 # Let the site file select an alternate cache file if it wants to.
1243 # Prefer explicitly selected file to automatically selected ones.
1244 if test -z "$CONFIG_SITE"; then
1245 if test "x$prefix" != xNONE
; then
1246 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1248 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1251 for ac_site_file
in $CONFIG_SITE; do
1252 if test -r "$ac_site_file"; then
1253 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1254 echo "$as_me: loading site script $ac_site_file" >&6;}
1255 sed 's/^/| /' "$ac_site_file" >&5
1260 if test -r "$cache_file"; then
1261 # Some versions of bash will fail to source /dev/null (special
1262 # files actually), so we avoid doing that.
1263 if test -f "$cache_file"; then
1264 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1265 echo "$as_me: loading cache $cache_file" >&6;}
1267 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1268 *) . .
/$cache_file;;
1272 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1273 echo "$as_me: creating cache $cache_file" >&6;}
1277 # Check that the precious variables saved in the cache have kept the same
1279 ac_cache_corrupted
=false
1280 for ac_var
in `(set) 2>&1 |
1281 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1282 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1283 eval ac_new_set
=\
$ac_env_${ac_var}_set
1284 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1285 eval ac_new_val
="\$ac_env_${ac_var}_value"
1286 case $ac_old_set,$ac_new_set in
1288 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1289 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1290 ac_cache_corrupted
=: ;;
1292 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1293 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1294 ac_cache_corrupted
=: ;;
1297 if test "x$ac_old_val" != "x$ac_new_val"; then
1298 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1299 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1300 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1301 echo "$as_me: former value: $ac_old_val" >&2;}
1302 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1303 echo "$as_me: current value: $ac_new_val" >&2;}
1304 ac_cache_corrupted
=:
1307 # Pass precious variables to config.status.
1308 if test "$ac_new_set" = set; then
1310 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1311 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1312 *) ac_arg
=$ac_var=$ac_new_val ;;
1314 case " $ac_configure_args " in
1315 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1316 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1320 if $ac_cache_corrupted; then
1321 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1322 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1323 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1324 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1325 { (exit 1); exit 1; }; }
1329 ac_cpp
='$CPP $CPPFLAGS'
1330 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1331 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1332 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1364 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1365 if test -f $ac_dir/install-sh
; then
1367 ac_install_sh
="$ac_aux_dir/install-sh -c"
1369 elif test -f $ac_dir/install.sh
; then
1371 ac_install_sh
="$ac_aux_dir/install.sh -c"
1373 elif test -f $ac_dir/shtool
; then
1375 ac_install_sh
="$ac_aux_dir/shtool install -c"
1379 if test -z "$ac_aux_dir"; then
1380 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1381 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1382 { (exit 1); exit 1; }; }
1384 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1385 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1386 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1388 # Make sure we can run config.sub.
1389 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1390 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1391 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1392 { (exit 1); exit 1; }; }
1394 echo "$as_me:$LINENO: checking build system type" >&5
1395 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1396 if test "${ac_cv_build+set}" = set; then
1397 echo $ECHO_N "(cached) $ECHO_C" >&6
1399 ac_cv_build_alias
=$build_alias
1400 test -z "$ac_cv_build_alias" &&
1401 ac_cv_build_alias
=`$ac_config_guess`
1402 test -z "$ac_cv_build_alias" &&
1403 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1404 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1405 { (exit 1); exit 1; }; }
1406 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1407 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1408 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1409 { (exit 1); exit 1; }; }
1412 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1413 echo "${ECHO_T}$ac_cv_build" >&6
1415 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1416 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1417 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1420 case ${build_alias} in
1421 "") build_noncanonical
=${build} ;;
1422 *) build_noncanonical
=${build_alias} ;;
1425 case ${host_alias} in
1426 "") host_noncanonical
=${build_noncanonical} ;;
1427 *) host_noncanonical
=${host_alias} ;;
1430 case ${target_alias} in
1431 "") target_noncanonical
=${host_noncanonical} ;;
1432 *) target_noncanonical
=${target_alias} ;;
1435 # Prefix 'build-' so this never conflicts with target_subdir.
1436 build_subdir
="build-${build_noncanonical}"
1437 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1438 if ( test $srcdir = .
&& test -d gcc
) \
1439 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1440 host_subdir
="host-${host_noncanonical}"
1445 target_subdir
=${target_noncanonical}
1448 # We use these options to decide which functions to include.
1450 # Check whether --with-target-subdir or --without-target-subdir was given.
1451 if test "${with_target_subdir+set}" = set; then
1452 withval
="$with_target_subdir"
1456 # We may get other options which we don't document:
1457 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1459 # When building with srcdir == objdir, links to the source files will
1460 # be created in directories within the target_subdir. We have to
1461 # adjust toplevel_srcdir accordingly, so that configure finds
1462 # install-sh and other auxiliary files that live in the top-level
1464 if test "${srcdir}" = "."; then
1465 if test -z "${with_target_subdir}"; then
1468 if test "${with_target_subdir}" != "."; then
1469 toprel
="${with_multisrctop}../.."
1471 toprel
="${with_multisrctop}.."
1478 libgcj_basedir
=$srcdir/$toprel/.
/libjava
1481 echo "$as_me:$LINENO: checking host system type" >&5
1482 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1483 if test "${ac_cv_host+set}" = set; then
1484 echo $ECHO_N "(cached) $ECHO_C" >&6
1486 ac_cv_host_alias
=$host_alias
1487 test -z "$ac_cv_host_alias" &&
1488 ac_cv_host_alias
=$ac_cv_build_alias
1489 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1490 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1491 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1492 { (exit 1); exit 1; }; }
1495 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1496 echo "${ECHO_T}$ac_cv_host" >&6
1498 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1499 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1500 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1503 echo "$as_me:$LINENO: checking target system type" >&5
1504 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1505 if test "${ac_cv_target+set}" = set; then
1506 echo $ECHO_N "(cached) $ECHO_C" >&6
1508 ac_cv_target_alias
=$target_alias
1509 test "x$ac_cv_target_alias" = "x" &&
1510 ac_cv_target_alias
=$ac_cv_host_alias
1511 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1512 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1513 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1514 { (exit 1); exit 1; }; }
1517 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1518 echo "${ECHO_T}$ac_cv_target" >&6
1519 target
=$ac_cv_target
1520 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1521 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1522 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1525 # The aliases save the names the user supplied, while $host etc.
1526 # will get canonicalized.
1527 test -n "$target_alias" &&
1528 test "$program_prefix$program_suffix$program_transform_name" = \
1530 program_prefix
=${target_alias}-
1531 case ${build_alias} in
1532 "") build_noncanonical
=${build} ;;
1533 *) build_noncanonical
=${build_alias} ;;
1536 case ${target_alias} in
1537 "") target_noncanonical
=${host_noncanonical} ;;
1538 *) target_noncanonical
=${target_alias} ;;
1544 # This works around the fact that libtool configuration may change LD
1545 # for this particular configuration, but some shells, instead of
1546 # keeping the changes in LD private, export them just because LD is
1548 ORIGINAL_LD_FOR_MULTILIBS
=$LD
1550 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1551 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1553 if test "$LN_S" = "ln -s"; then
1554 echo "$as_me:$LINENO: result: yes" >&5
1555 echo "${ECHO_T}yes" >&6
1557 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1558 echo "${ECHO_T}no, using $LN_S" >&6
1562 # This works around an automake problem.
1563 mkinstalldirs
="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
1567 # Check whether --with-cross-host or --without-cross-host was given.
1568 if test "${with_cross_host+set}" = set; then
1569 withval
="$with_cross_host"
1574 # Check whether --with-newlib or --without-newlib was given.
1575 if test "${with_newlib+set}" = set; then
1576 withval
="$with_newlib"
1580 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1581 if test "${enable_version_specific_runtime_libs+set}" = set; then
1582 enableval
="$enable_version_specific_runtime_libs"
1583 case "$enableval" in
1584 yes) version_specific_libs
=yes ;;
1585 no
) version_specific_libs
=no
;;
1586 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1587 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1588 { (exit 1); exit 1; }; };;
1591 version_specific_libs
=no
1595 # Default to --enable-multilib
1596 # Check whether --enable-multilib or --disable-multilib was given.
1597 if test "${enable_multilib+set}" = set; then
1598 enableval
="$enable_multilib"
1599 case "${enableval}" in
1600 yes) multilib
=yes ;;
1602 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
1603 echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
1604 { (exit 1); exit 1; }; } ;;
1609 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
1612 # (1) We use an abnormal CXX (without library references), so we
1613 # must cache it under a different name.
1614 # (2) CC, CFLAGS, CXX, CXXFLAGS, LDFLAGS must not be 'precious', or
1615 # the non-multilib-adjusted value will be used in multilibs.
1616 # (3) As a side effect, we must SUBST CXXFLAGS, CFLAGS, and LDFLAGS ourselves.
1617 # (4) As another side effect, automake doesn't automatically include them
1619 # (5) For libstdc++-v3, -fno-builtin must be present here so that a
1620 # non-conflicting form of std::exit can be guessed by AC_PROG_CXX, and
1621 # used in later tests. This may not be necessary in libjava; I don't know.
1625 save_CXXFLAGS
="$CXXFLAGS"
1626 CXXFLAGS
="$CXXFLAGS -fno-builtin"
1628 ac_cpp
='$CPP $CPPFLAGS'
1629 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1630 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1631 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1632 if test -n "$ac_tool_prefix"; then
1633 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1634 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1635 echo "$as_me:$LINENO: checking for $ac_word" >&5
1636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1637 if test "${ac_cv_prog_CC+set}" = set; then
1638 echo $ECHO_N "(cached) $ECHO_C" >&6
1640 if test -n "$CC"; then
1641 ac_cv_prog_CC
="$CC" # Let the user override the test.
1643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1647 test -z "$as_dir" && as_dir
=.
1648 for ac_exec_ext
in '' $ac_executable_extensions; do
1649 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1650 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1660 if test -n "$CC"; then
1661 echo "$as_me:$LINENO: result: $CC" >&5
1662 echo "${ECHO_T}$CC" >&6
1664 echo "$as_me:$LINENO: result: no" >&5
1665 echo "${ECHO_T}no" >&6
1669 if test -z "$ac_cv_prog_CC"; then
1671 # Extract the first word of "gcc", so it can be a program name with args.
1672 set dummy gcc
; ac_word
=$2
1673 echo "$as_me:$LINENO: checking for $ac_word" >&5
1674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1675 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1676 echo $ECHO_N "(cached) $ECHO_C" >&6
1678 if test -n "$ac_ct_CC"; then
1679 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1685 test -z "$as_dir" && as_dir
=.
1686 for ac_exec_ext
in '' $ac_executable_extensions; do
1687 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1688 ac_cv_prog_ac_ct_CC
="gcc"
1689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1697 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1698 if test -n "$ac_ct_CC"; then
1699 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1700 echo "${ECHO_T}$ac_ct_CC" >&6
1702 echo "$as_me:$LINENO: result: no" >&5
1703 echo "${ECHO_T}no" >&6
1711 if test -z "$CC"; then
1712 if test -n "$ac_tool_prefix"; then
1713 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1714 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1715 echo "$as_me:$LINENO: checking for $ac_word" >&5
1716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1717 if test "${ac_cv_prog_CC+set}" = set; then
1718 echo $ECHO_N "(cached) $ECHO_C" >&6
1720 if test -n "$CC"; then
1721 ac_cv_prog_CC
="$CC" # Let the user override the test.
1723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1727 test -z "$as_dir" && as_dir
=.
1728 for ac_exec_ext
in '' $ac_executable_extensions; do
1729 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1730 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1740 if test -n "$CC"; then
1741 echo "$as_me:$LINENO: result: $CC" >&5
1742 echo "${ECHO_T}$CC" >&6
1744 echo "$as_me:$LINENO: result: no" >&5
1745 echo "${ECHO_T}no" >&6
1749 if test -z "$ac_cv_prog_CC"; then
1751 # Extract the first word of "cc", so it can be a program name with args.
1752 set dummy cc
; ac_word
=$2
1753 echo "$as_me:$LINENO: checking for $ac_word" >&5
1754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1755 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1756 echo $ECHO_N "(cached) $ECHO_C" >&6
1758 if test -n "$ac_ct_CC"; then
1759 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1765 test -z "$as_dir" && as_dir
=.
1766 for ac_exec_ext
in '' $ac_executable_extensions; do
1767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1768 ac_cv_prog_ac_ct_CC
="cc"
1769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1777 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1778 if test -n "$ac_ct_CC"; then
1779 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1780 echo "${ECHO_T}$ac_ct_CC" >&6
1782 echo "$as_me:$LINENO: result: no" >&5
1783 echo "${ECHO_T}no" >&6
1792 if test -z "$CC"; then
1793 # Extract the first word of "cc", so it can be a program name with args.
1794 set dummy cc
; ac_word
=$2
1795 echo "$as_me:$LINENO: checking for $ac_word" >&5
1796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1797 if test "${ac_cv_prog_CC+set}" = set; then
1798 echo $ECHO_N "(cached) $ECHO_C" >&6
1800 if test -n "$CC"; then
1801 ac_cv_prog_CC
="$CC" # Let the user override the test.
1804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1808 test -z "$as_dir" && as_dir
=.
1809 for ac_exec_ext
in '' $ac_executable_extensions; do
1810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1811 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1812 ac_prog_rejected
=yes
1816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1822 if test $ac_prog_rejected = yes; then
1823 # We found a bogon in the path, so make sure we never use it.
1824 set dummy
$ac_cv_prog_CC
1826 if test $# != 0; then
1827 # We chose a different compiler from the bogus one.
1828 # However, it has the same basename, so the bogon will be chosen
1829 # first if we set CC to just the basename; use the full file name.
1831 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1837 if test -n "$CC"; then
1838 echo "$as_me:$LINENO: result: $CC" >&5
1839 echo "${ECHO_T}$CC" >&6
1841 echo "$as_me:$LINENO: result: no" >&5
1842 echo "${ECHO_T}no" >&6
1846 if test -z "$CC"; then
1847 if test -n "$ac_tool_prefix"; then
1850 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1851 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1852 echo "$as_me:$LINENO: checking for $ac_word" >&5
1853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1854 if test "${ac_cv_prog_CC+set}" = set; then
1855 echo $ECHO_N "(cached) $ECHO_C" >&6
1857 if test -n "$CC"; then
1858 ac_cv_prog_CC
="$CC" # Let the user override the test.
1860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1864 test -z "$as_dir" && as_dir
=.
1865 for ac_exec_ext
in '' $ac_executable_extensions; do
1866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1867 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1877 if test -n "$CC"; then
1878 echo "$as_me:$LINENO: result: $CC" >&5
1879 echo "${ECHO_T}$CC" >&6
1881 echo "$as_me:$LINENO: result: no" >&5
1882 echo "${ECHO_T}no" >&6
1885 test -n "$CC" && break
1888 if test -z "$CC"; then
1892 # Extract the first word of "$ac_prog", so it can be a program name with args.
1893 set dummy
$ac_prog; ac_word
=$2
1894 echo "$as_me:$LINENO: checking for $ac_word" >&5
1895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1896 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1897 echo $ECHO_N "(cached) $ECHO_C" >&6
1899 if test -n "$ac_ct_CC"; then
1900 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1906 test -z "$as_dir" && as_dir
=.
1907 for ac_exec_ext
in '' $ac_executable_extensions; do
1908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1909 ac_cv_prog_ac_ct_CC
="$ac_prog"
1910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1918 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1919 if test -n "$ac_ct_CC"; then
1920 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1921 echo "${ECHO_T}$ac_ct_CC" >&6
1923 echo "$as_me:$LINENO: result: no" >&5
1924 echo "${ECHO_T}no" >&6
1927 test -n "$ac_ct_CC" && break
1936 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1937 See \`config.log' for more details." >&5
1938 echo "$as_me: error: no acceptable C compiler found in \$PATH
1939 See \`config.log' for more details." >&2;}
1940 { (exit 1); exit 1; }; }
1942 # Provide some information about the compiler.
1943 echo "$as_me:$LINENO:" \
1944 "checking for C compiler version" >&5
1945 ac_compiler
=`set X $ac_compile; echo $2`
1946 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1947 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1950 (exit $ac_status); }
1951 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1952 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1955 (exit $ac_status); }
1956 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1957 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1960 (exit $ac_status); }
1962 cat >conftest.
$ac_ext <<_ACEOF
1965 cat confdefs.h
>>conftest.
$ac_ext
1966 cat >>conftest.
$ac_ext <<_ACEOF
1967 /* end confdefs.h. */
1978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1979 (eval $ac_link) 2>&5
1981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1982 (exit $ac_status); }; then
1988 if test x
$gcc_no_link = xyes
; then
1989 # Setting cross_compile will disable run tests; it will
1990 # also disable AC_CHECK_FILE but that's generally
1991 # correct if we can't link.
1995 cat >conftest.
$ac_ext <<_ACEOF
1998 cat confdefs.h
>>conftest.
$ac_ext
1999 cat >>conftest.
$ac_ext <<_ACEOF
2000 /* end confdefs.h. */
2010 ac_clean_files_save
=$ac_clean_files
2011 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2012 # Try to create an executable without -o first, disregard a.out.
2013 # It will help us diagnose broken compilers, and finding out an intuition
2015 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2016 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2017 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2018 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2019 (eval $ac_link_default) 2>&5
2021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2022 (exit $ac_status); }; then
2023 # Find the output, starting from the most likely. This scheme is
2024 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2027 # Be careful to initialize this variable, since it used to be cached.
2028 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2030 # b.out is created by i960 compilers.
2031 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2033 test -f "$ac_file" ||
continue
2035 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2038 # This is the source file.
2041 # We found the default executable, but exeext='' is most
2045 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2046 # FIXME: I believe we export ac_cv_exeext for Libtool,
2047 # but it would be cool to find out if it's true. Does anybody
2048 # maintain Libtool? --akim.
2056 echo "$as_me: failed program was:" >&5
2057 sed 's/^/| /' conftest.
$ac_ext >&5
2059 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2060 See \`config.log' for more details." >&5
2061 echo "$as_me: error: C compiler cannot create executables
2062 See \`config.log' for more details." >&2;}
2063 { (exit 77); exit 77; }; }
2066 ac_exeext
=$ac_cv_exeext
2067 echo "$as_me:$LINENO: result: $ac_file" >&5
2068 echo "${ECHO_T}$ac_file" >&6
2070 # Check the compiler produces executables we can run. If not, either
2071 # the compiler is broken, or we cross compile.
2072 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2073 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2074 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2075 # If not cross compiling, check that we can run a simple program.
2076 if test "$cross_compiling" != yes; then
2077 if { ac_try
='./$ac_file'
2078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2082 (exit $ac_status); }; }; then
2085 if test "$cross_compiling" = maybe
; then
2088 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2089 If you meant to cross compile, use \`--host'.
2090 See \`config.log' for more details." >&5
2091 echo "$as_me: error: cannot run C compiled programs.
2092 If you meant to cross compile, use \`--host'.
2093 See \`config.log' for more details." >&2;}
2094 { (exit 1); exit 1; }; }
2098 echo "$as_me:$LINENO: result: yes" >&5
2099 echo "${ECHO_T}yes" >&6
2101 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2102 ac_clean_files
=$ac_clean_files_save
2103 # Check the compiler produces executables we can run. If not, either
2104 # the compiler is broken, or we cross compile.
2105 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2106 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2107 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2108 echo "${ECHO_T}$cross_compiling" >&6
2110 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2111 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2113 (eval $ac_link) 2>&5
2115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2116 (exit $ac_status); }; then
2117 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2118 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2119 # work properly (i.e., refer to `conftest.exe'), while it won't with
2121 for ac_file
in conftest.exe conftest conftest.
*; do
2122 test -f "$ac_file" ||
continue
2124 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2125 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2132 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2133 See \`config.log' for more details." >&5
2134 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2135 See \`config.log' for more details." >&2;}
2136 { (exit 1); exit 1; }; }
2139 rm -f conftest
$ac_cv_exeext
2140 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2141 echo "${ECHO_T}$ac_cv_exeext" >&6
2143 rm -f conftest.
$ac_ext
2144 EXEEXT
=$ac_cv_exeext
2147 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2148 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2149 if test "${ac_cv_objext+set}" = set; then
2150 echo $ECHO_N "(cached) $ECHO_C" >&6
2152 cat >conftest.
$ac_ext <<_ACEOF
2155 cat confdefs.h
>>conftest.
$ac_ext
2156 cat >>conftest.
$ac_ext <<_ACEOF
2157 /* end confdefs.h. */
2167 rm -f conftest.o conftest.obj
2168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2169 (eval $ac_compile) 2>&5
2171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2172 (exit $ac_status); }; then
2173 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2175 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2176 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2181 echo "$as_me: failed program was:" >&5
2182 sed 's/^/| /' conftest.
$ac_ext >&5
2184 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2185 See \`config.log' for more details." >&5
2186 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2187 See \`config.log' for more details." >&2;}
2188 { (exit 1); exit 1; }; }
2191 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2193 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2194 echo "${ECHO_T}$ac_cv_objext" >&6
2195 OBJEXT
=$ac_cv_objext
2197 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2198 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2199 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2200 echo $ECHO_N "(cached) $ECHO_C" >&6
2202 cat >conftest.
$ac_ext <<_ACEOF
2205 cat confdefs.h
>>conftest.
$ac_ext
2206 cat >>conftest.
$ac_ext <<_ACEOF
2207 /* end confdefs.h. */
2220 rm -f conftest.
$ac_objext
2221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2222 (eval $ac_compile) 2>conftest.er1
2224 grep -v '^ *+' conftest.er1
>conftest.err
2226 cat conftest.err
>&5
2227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2228 (exit $ac_status); } &&
2229 { ac_try
='test -z "$ac_c_werror_flag"
2230 || test ! -s conftest.err'
2231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2235 (exit $ac_status); }; } &&
2236 { ac_try
='test -s conftest.$ac_objext'
2237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241 (exit $ac_status); }; }; then
2244 echo "$as_me: failed program was:" >&5
2245 sed 's/^/| /' conftest.
$ac_ext >&5
2249 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2250 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2253 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2254 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2255 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2256 ac_test_CFLAGS
=${CFLAGS+set}
2257 ac_save_CFLAGS
=$CFLAGS
2259 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2260 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2261 if test "${ac_cv_prog_cc_g+set}" = set; then
2262 echo $ECHO_N "(cached) $ECHO_C" >&6
2264 cat >conftest.
$ac_ext <<_ACEOF
2267 cat confdefs.h
>>conftest.
$ac_ext
2268 cat >>conftest.
$ac_ext <<_ACEOF
2269 /* end confdefs.h. */
2279 rm -f conftest.
$ac_objext
2280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2281 (eval $ac_compile) 2>conftest.er1
2283 grep -v '^ *+' conftest.er1
>conftest.err
2285 cat conftest.err
>&5
2286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2287 (exit $ac_status); } &&
2288 { ac_try
='test -z "$ac_c_werror_flag"
2289 || test ! -s conftest.err'
2290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2294 (exit $ac_status); }; } &&
2295 { ac_try
='test -s conftest.$ac_objext'
2296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2300 (exit $ac_status); }; }; then
2303 echo "$as_me: failed program was:" >&5
2304 sed 's/^/| /' conftest.
$ac_ext >&5
2308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2310 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2311 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2312 if test "$ac_test_CFLAGS" = set; then
2313 CFLAGS
=$ac_save_CFLAGS
2314 elif test $ac_cv_prog_cc_g = yes; then
2315 if test "$GCC" = yes; then
2321 if test "$GCC" = yes; then
2327 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2328 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2329 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2330 echo $ECHO_N "(cached) $ECHO_C" >&6
2332 ac_cv_prog_cc_stdc
=no
2334 cat >conftest.
$ac_ext <<_ACEOF
2337 cat confdefs.h
>>conftest.
$ac_ext
2338 cat >>conftest.
$ac_ext <<_ACEOF
2339 /* end confdefs.h. */
2342 #include <sys/types.h>
2343 #include <sys/stat.h>
2344 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2345 struct buf { int x; };
2346 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2347 static char *e (p, i)
2353 static char *f (char * (*g) (char **, int), char **p, ...)
2358 s = g (p, va_arg (v,int));
2363 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2364 function prototypes and stuff, but not '\xHH' hex character constants.
2365 These don't provoke an error unfortunately, instead are silently treated
2366 as 'x'. The following induces an error, until -std1 is added to get
2367 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2368 array size at least. It's necessary to write '\x00'==0 to get something
2369 that's true only with -std1. */
2370 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2372 int test (int i, double x);
2373 struct s1 {int (*f) (int a);};
2374 struct s2 {int (*f) (double a);};
2375 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2381 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2386 # Don't try gcc -ansi; that turns off useful extensions and
2387 # breaks some systems' header files.
2388 # AIX -qlanglvl=ansi
2389 # Ultrix and OSF/1 -std1
2390 # HP-UX 10.20 and later -Ae
2391 # HP-UX older versions -Aa -D_HPUX_SOURCE
2392 # SVR4 -Xc -D__EXTENSIONS__
2393 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2395 CC
="$ac_save_CC $ac_arg"
2396 rm -f conftest.
$ac_objext
2397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2398 (eval $ac_compile) 2>conftest.er1
2400 grep -v '^ *+' conftest.er1
>conftest.err
2402 cat conftest.err
>&5
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); } &&
2405 { ac_try
='test -z "$ac_c_werror_flag"
2406 || test ! -s conftest.err'
2407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2411 (exit $ac_status); }; } &&
2412 { ac_try
='test -s conftest.$ac_objext'
2413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417 (exit $ac_status); }; }; then
2418 ac_cv_prog_cc_stdc
=$ac_arg
2421 echo "$as_me: failed program was:" >&5
2422 sed 's/^/| /' conftest.
$ac_ext >&5
2425 rm -f conftest.err conftest.
$ac_objext
2427 rm -f conftest.
$ac_ext conftest.
$ac_objext
2432 case "x$ac_cv_prog_cc_stdc" in
2434 echo "$as_me:$LINENO: result: none needed" >&5
2435 echo "${ECHO_T}none needed" >&6 ;;
2437 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2438 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2439 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2442 # Some people use a C++ compiler to compile C. Since we use `exit',
2443 # in C++ we need to declare it. In case someone uses the same compiler
2444 # for both compiling C and C++ we need to have the C++ compiler decide
2445 # the declaration of exit, since it's the most demanding environment.
2446 cat >conftest.
$ac_ext <<_ACEOF
2451 rm -f conftest.
$ac_objext
2452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2453 (eval $ac_compile) 2>conftest.er1
2455 grep -v '^ *+' conftest.er1
>conftest.err
2457 cat conftest.err
>&5
2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459 (exit $ac_status); } &&
2460 { ac_try
='test -z "$ac_c_werror_flag"
2461 || test ! -s conftest.err'
2462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466 (exit $ac_status); }; } &&
2467 { ac_try
='test -s conftest.$ac_objext'
2468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472 (exit $ac_status); }; }; then
2473 for ac_declaration
in \
2475 'extern "C" void std::exit (int) throw (); using std::exit;' \
2476 'extern "C" void std::exit (int); using std::exit;' \
2477 'extern "C" void exit (int) throw ();' \
2478 'extern "C" void exit (int);' \
2481 cat >conftest.
$ac_ext <<_ACEOF
2484 cat confdefs.h
>>conftest.
$ac_ext
2485 cat >>conftest.
$ac_ext <<_ACEOF
2486 /* end confdefs.h. */
2497 rm -f conftest.
$ac_objext
2498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2499 (eval $ac_compile) 2>conftest.er1
2501 grep -v '^ *+' conftest.er1
>conftest.err
2503 cat conftest.err
>&5
2504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2505 (exit $ac_status); } &&
2506 { ac_try
='test -z "$ac_c_werror_flag"
2507 || test ! -s conftest.err'
2508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2512 (exit $ac_status); }; } &&
2513 { ac_try
='test -s conftest.$ac_objext'
2514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518 (exit $ac_status); }; }; then
2521 echo "$as_me: failed program was:" >&5
2522 sed 's/^/| /' conftest.
$ac_ext >&5
2526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2527 cat >conftest.
$ac_ext <<_ACEOF
2530 cat confdefs.h
>>conftest.
$ac_ext
2531 cat >>conftest.
$ac_ext <<_ACEOF
2532 /* end confdefs.h. */
2542 rm -f conftest.
$ac_objext
2543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2544 (eval $ac_compile) 2>conftest.er1
2546 grep -v '^ *+' conftest.er1
>conftest.err
2548 cat conftest.err
>&5
2549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2550 (exit $ac_status); } &&
2551 { ac_try
='test -z "$ac_c_werror_flag"
2552 || test ! -s conftest.err'
2553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2557 (exit $ac_status); }; } &&
2558 { ac_try
='test -s conftest.$ac_objext'
2559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563 (exit $ac_status); }; }; then
2566 echo "$as_me: failed program was:" >&5
2567 sed 's/^/| /' conftest.
$ac_ext >&5
2570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2573 if test -n "$ac_declaration"; then
2574 echo '#ifdef __cplusplus' >>confdefs.h
2575 echo $ac_declaration >>confdefs.h
2576 echo '#endif' >>confdefs.h
2580 echo "$as_me: failed program was:" >&5
2581 sed 's/^/| /' conftest.
$ac_ext >&5
2584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2586 ac_cpp
='$CPP $CPPFLAGS'
2587 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2588 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2589 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2592 ac_cpp
='$CXXCPP $CPPFLAGS'
2593 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2594 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2595 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2596 if test -n "$ac_tool_prefix"; then
2597 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2599 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2600 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2601 echo "$as_me:$LINENO: checking for $ac_word" >&5
2602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2603 if test "${glibcxx_cv_prog_CXX+set}" = set; then
2604 echo $ECHO_N "(cached) $ECHO_C" >&6
2606 if test -n "$CXX"; then
2607 glibcxx_cv_prog_CXX
="$CXX" # Let the user override the test.
2609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2613 test -z "$as_dir" && as_dir
=.
2614 for ac_exec_ext
in '' $ac_executable_extensions; do
2615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2616 glibcxx_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2625 CXX
=$glibcxx_cv_prog_CXX
2626 if test -n "$CXX"; then
2627 echo "$as_me:$LINENO: result: $CXX" >&5
2628 echo "${ECHO_T}$CXX" >&6
2630 echo "$as_me:$LINENO: result: no" >&5
2631 echo "${ECHO_T}no" >&6
2634 test -n "$CXX" && break
2637 if test -z "$CXX"; then
2639 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2641 # Extract the first word of "$ac_prog", so it can be a program name with args.
2642 set dummy
$ac_prog; ac_word
=$2
2643 echo "$as_me:$LINENO: checking for $ac_word" >&5
2644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2645 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2646 echo $ECHO_N "(cached) $ECHO_C" >&6
2648 if test -n "$ac_ct_CXX"; then
2649 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2655 test -z "$as_dir" && as_dir
=.
2656 for ac_exec_ext
in '' $ac_executable_extensions; do
2657 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2658 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2667 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2668 if test -n "$ac_ct_CXX"; then
2669 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2670 echo "${ECHO_T}$ac_ct_CXX" >&6
2672 echo "$as_me:$LINENO: result: no" >&5
2673 echo "${ECHO_T}no" >&6
2676 test -n "$ac_ct_CXX" && break
2678 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2684 # Provide some information about the compiler.
2685 echo "$as_me:$LINENO:" \
2686 "checking for C++ compiler version" >&5
2687 ac_compiler
=`set X $ac_compile; echo $2`
2688 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2689 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); }
2693 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2694 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2697 (exit $ac_status); }
2698 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2699 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2702 (exit $ac_status); }
2704 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2705 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2706 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2707 echo $ECHO_N "(cached) $ECHO_C" >&6
2709 cat >conftest.
$ac_ext <<_ACEOF
2712 cat confdefs.h
>>conftest.
$ac_ext
2713 cat >>conftest.
$ac_ext <<_ACEOF
2714 /* end confdefs.h. */
2727 rm -f conftest.
$ac_objext
2728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2729 (eval $ac_compile) 2>conftest.er1
2731 grep -v '^ *+' conftest.er1
>conftest.err
2733 cat conftest.err
>&5
2734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2735 (exit $ac_status); } &&
2736 { ac_try
='test -z "$ac_cxx_werror_flag"
2737 || test ! -s conftest.err'
2738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); }; } &&
2743 { ac_try
='test -s conftest.$ac_objext'
2744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); }; }; then
2751 echo "$as_me: failed program was:" >&5
2752 sed 's/^/| /' conftest.
$ac_ext >&5
2756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2757 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2760 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2761 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2762 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2763 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2764 ac_save_CXXFLAGS
=$CXXFLAGS
2766 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2767 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2768 if test "${ac_cv_prog_cxx_g+set}" = set; then
2769 echo $ECHO_N "(cached) $ECHO_C" >&6
2771 cat >conftest.
$ac_ext <<_ACEOF
2774 cat confdefs.h
>>conftest.
$ac_ext
2775 cat >>conftest.
$ac_ext <<_ACEOF
2776 /* end confdefs.h. */
2786 rm -f conftest.
$ac_objext
2787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2788 (eval $ac_compile) 2>conftest.er1
2790 grep -v '^ *+' conftest.er1
>conftest.err
2792 cat conftest.err
>&5
2793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794 (exit $ac_status); } &&
2795 { ac_try
='test -z "$ac_cxx_werror_flag"
2796 || test ! -s conftest.err'
2797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801 (exit $ac_status); }; } &&
2802 { ac_try
='test -s conftest.$ac_objext'
2803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2807 (exit $ac_status); }; }; then
2808 ac_cv_prog_cxx_g
=yes
2810 echo "$as_me: failed program was:" >&5
2811 sed 's/^/| /' conftest.
$ac_ext >&5
2815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2817 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2818 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2819 if test "$ac_test_CXXFLAGS" = set; then
2820 CXXFLAGS
=$ac_save_CXXFLAGS
2821 elif test $ac_cv_prog_cxx_g = yes; then
2822 if test "$GXX" = yes; then
2828 if test "$GXX" = yes; then
2834 for ac_declaration
in \
2836 'extern "C" void std::exit (int) throw (); using std::exit;' \
2837 'extern "C" void std::exit (int); using std::exit;' \
2838 'extern "C" void exit (int) throw ();' \
2839 'extern "C" void exit (int);' \
2842 cat >conftest.
$ac_ext <<_ACEOF
2845 cat confdefs.h
>>conftest.
$ac_ext
2846 cat >>conftest.
$ac_ext <<_ACEOF
2847 /* end confdefs.h. */
2858 rm -f conftest.
$ac_objext
2859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2860 (eval $ac_compile) 2>conftest.er1
2862 grep -v '^ *+' conftest.er1
>conftest.err
2864 cat conftest.err
>&5
2865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2866 (exit $ac_status); } &&
2867 { ac_try
='test -z "$ac_cxx_werror_flag"
2868 || test ! -s conftest.err'
2869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873 (exit $ac_status); }; } &&
2874 { ac_try
='test -s conftest.$ac_objext'
2875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879 (exit $ac_status); }; }; then
2882 echo "$as_me: failed program was:" >&5
2883 sed 's/^/| /' conftest.
$ac_ext >&5
2887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2888 cat >conftest.
$ac_ext <<_ACEOF
2891 cat confdefs.h
>>conftest.
$ac_ext
2892 cat >>conftest.
$ac_ext <<_ACEOF
2893 /* end confdefs.h. */
2903 rm -f conftest.
$ac_objext
2904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2905 (eval $ac_compile) 2>conftest.er1
2907 grep -v '^ *+' conftest.er1
>conftest.err
2909 cat conftest.err
>&5
2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911 (exit $ac_status); } &&
2912 { ac_try
='test -z "$ac_cxx_werror_flag"
2913 || test ! -s conftest.err'
2914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918 (exit $ac_status); }; } &&
2919 { ac_try
='test -s conftest.$ac_objext'
2920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 (exit $ac_status); }; }; then
2927 echo "$as_me: failed program was:" >&5
2928 sed 's/^/| /' conftest.
$ac_ext >&5
2931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2934 if test -n "$ac_declaration"; then
2935 echo '#ifdef __cplusplus' >>confdefs.h
2936 echo $ac_declaration >>confdefs.h
2937 echo '#endif' >>confdefs.h
2941 ac_cpp
='$CPP $CPPFLAGS'
2942 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2943 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2944 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2946 CXXFLAGS
="$save_CXXFLAGS"
2952 am__api_version
="1.9"
2953 # Find a good install program. We prefer a C program (faster),
2954 # so one script is as good as another. But avoid the broken or
2955 # incompatible versions:
2956 # SysV /etc/install, /usr/sbin/install
2957 # SunOS /usr/etc/install
2958 # IRIX /sbin/install
2960 # AmigaOS /C/install, which installs bootblocks on floppy discs
2961 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2962 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2963 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2964 # OS/2's system install, which has a completely different semantic
2965 # ./install, which can be erroneously created by make from ./install.sh.
2966 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2967 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2968 if test -z "$INSTALL"; then
2969 if test "${ac_cv_path_install+set}" = set; then
2970 echo $ECHO_N "(cached) $ECHO_C" >&6
2972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2976 test -z "$as_dir" && as_dir
=.
2977 # Account for people who put trailing slashes in PATH elements.
2979 .
/ | .
// |
/cC
/* | \
2980 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2981 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2984 # OSF1 and SCO ODT 3.0 have their own names for install.
2985 # Don't use installbsd from OSF since it installs stuff as root
2987 for ac_prog
in ginstall scoinst
install; do
2988 for ac_exec_ext
in '' $ac_executable_extensions; do
2989 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2990 if test $ac_prog = install &&
2991 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2992 # AIX install. It has an incompatible calling convention.
2994 elif test $ac_prog = install &&
2995 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2996 # program-specific install script used by HP pwplus--don't use.
2999 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3011 if test "${ac_cv_path_install+set}" = set; then
3012 INSTALL
=$ac_cv_path_install
3014 # As a last resort, use the slow shell script. We don't cache a
3015 # path for INSTALL within a source directory, because that will
3016 # break other packages using the cache if that directory is
3017 # removed, or if the path is relative.
3018 INSTALL
=$ac_install_sh
3021 echo "$as_me:$LINENO: result: $INSTALL" >&5
3022 echo "${ECHO_T}$INSTALL" >&6
3024 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3025 # It thinks the first close brace ends the variable substitution.
3026 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3028 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3030 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3032 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3033 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
3036 echo timestamp
> conftest.
file
3037 # Do `set' in a subshell so we don't clobber the current shell's
3038 # arguments. Must try -L first in case configure is actually a
3039 # symlink; some systems play weird games with the mod time of symlinks
3040 # (eg FreeBSD returns the mod time of the symlink's containing
3043 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
3044 if test "$*" = "X"; then
3046 set X
`ls -t $srcdir/configure conftest.file`
3049 if test "$*" != "X $srcdir/configure conftest.file" \
3050 && test "$*" != "X conftest.file $srcdir/configure"; then
3052 # If neither matched, then we have a broken ls. This can happen
3053 # if, for instance, CONFIG_SHELL is bash and it inherits a
3054 # broken ls alias from the environment. This has actually
3055 # happened. Such a system could not be considered "sane".
3056 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
3057 alias in your environment" >&5
3058 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
3059 alias in your environment" >&2;}
3060 { (exit 1); exit 1; }; }
3063 test "$2" = conftest.
file
3069 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3070 Check your system clock" >&5
3071 echo "$as_me: error: newly created file is older than distributed files!
3072 Check your system clock" >&2;}
3073 { (exit 1); exit 1; }; }
3075 echo "$as_me:$LINENO: result: yes" >&5
3076 echo "${ECHO_T}yes" >&6
3077 test "$program_prefix" != NONE
&&
3078 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
3079 # Use a double $ so make ignores it.
3080 test "$program_suffix" != NONE
&&
3081 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
3082 # Double any \ or $. echo might interpret backslashes.
3083 # By default was `s,x,x', remove it if useless.
3084 cat <<\_ACEOF
>conftest.
sed
3085 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
3087 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
3090 # expand $ac_aux_dir to an absolute path
3091 am_aux_dir
=`cd $ac_aux_dir && pwd`
3093 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
3094 # Use eval to expand $SHELL
3095 if eval "$MISSING --run true"; then
3096 am_missing_run
="$MISSING --run "
3099 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3100 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3103 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
3104 # We used to keeping the `.' as first argument, in order to
3105 # allow $(mkdir_p) to be used without argument. As in
3106 # $(mkdir_p) $(somedir)
3107 # where $(somedir) is conditionally defined. However this is wrong
3109 # 1. if the package is installed by a user who cannot write `.'
3110 # make install will fail,
3111 # 2. the above comment should most certainly read
3112 # $(mkdir_p) $(DESTDIR)$(somedir)
3113 # so it does not work when $(somedir) is undefined and
3114 # $(DESTDIR) is not.
3115 # To support the latter case, we have to write
3116 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
3117 # so the `.' trick is pointless.
3118 mkdir_p
='mkdir -p --'
3120 # On NextStep and OpenStep, the `mkdir' command does not
3121 # recognize any option. It will interpret all options as
3122 # directories to create, and then abort because `.' already
3124 for d
in .
/-p .
/--version;
3126 test -d $d && rmdir $d
3128 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
3129 if test -f "$ac_aux_dir/mkinstalldirs"; then
3130 mkdir_p
='$(mkinstalldirs)'
3132 mkdir_p
='$(install_sh) -d'
3136 for ac_prog
in gawk mawk nawk
awk
3138 # Extract the first word of "$ac_prog", so it can be a program name with args.
3139 set dummy
$ac_prog; ac_word
=$2
3140 echo "$as_me:$LINENO: checking for $ac_word" >&5
3141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3142 if test "${ac_cv_prog_AWK+set}" = set; then
3143 echo $ECHO_N "(cached) $ECHO_C" >&6
3145 if test -n "$AWK"; then
3146 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3152 test -z "$as_dir" && as_dir
=.
3153 for ac_exec_ext
in '' $ac_executable_extensions; do
3154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3155 ac_cv_prog_AWK
="$ac_prog"
3156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3165 if test -n "$AWK"; then
3166 echo "$as_me:$LINENO: result: $AWK" >&5
3167 echo "${ECHO_T}$AWK" >&6
3169 echo "$as_me:$LINENO: result: no" >&5
3170 echo "${ECHO_T}no" >&6
3173 test -n "$AWK" && break
3176 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3177 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3178 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3179 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3180 echo $ECHO_N "(cached) $ECHO_C" >&6
3182 cat >conftest.
make <<\_ACEOF
3184 @
echo 'ac_maketemp="$(MAKE)"'
3186 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3187 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3188 if test -n "$ac_maketemp"; then
3189 eval ac_cv_prog_make_
${ac_make}_set
=yes
3191 eval ac_cv_prog_make_
${ac_make}_set
=no
3195 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3196 echo "$as_me:$LINENO: result: yes" >&5
3197 echo "${ECHO_T}yes" >&6
3200 echo "$as_me:$LINENO: result: no" >&5
3201 echo "${ECHO_T}no" >&6
3202 SET_MAKE
="MAKE=${MAKE-make}"
3205 rm -rf .tst
2>/dev
/null
3206 mkdir .tst
2>/dev
/null
3207 if test -d .tst
; then
3212 rmdir .tst
2>/dev
/null
3214 DEPDIR
="${am__leading_dot}deps"
3216 ac_config_commands
="$ac_config_commands depfiles"
3219 am_make
=${MAKE-make}
3220 cat > confinc
<< 'END'
3225 # If we don't find an include directive, just comment out the code.
3226 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3227 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3231 # First try GNU make style include.
3232 echo "include confinc" > confmf
3233 # We grep out `Entering directory' and `Leaving directory'
3234 # messages which can occur if `w' ends up in MAKEFLAGS.
3235 # In particular we don't look at `^make:' because GNU make might
3236 # be invoked under some other name (usually "gmake"), in which
3237 # case it prints its new name instead of `make'.
3238 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3243 # Now try BSD make style include.
3244 if test "$am__include" = "#"; then
3245 echo '.include "confinc"' > confmf
3246 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3247 am__include
=.include
3254 echo "$as_me:$LINENO: result: $_am_result" >&5
3255 echo "${ECHO_T}$_am_result" >&6
3256 rm -f confinc confmf
3258 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3259 if test "${enable_dependency_tracking+set}" = set; then
3260 enableval
="$enable_dependency_tracking"
3263 if test "x$enable_dependency_tracking" != xno
; then
3264 am_depcomp
="$ac_aux_dir/depcomp"
3269 if test "x$enable_dependency_tracking" != xno; then
3279 # test to see if srcdir already configured
3280 if test "`cd $srcdir && pwd`" != "`pwd`" &&
3281 test -f $srcdir/config.status
; then
3282 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3283 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3284 { (exit 1); exit 1; }; }
3287 # test whether we have cygpath
3288 if test -z "$CYGPATH_W"; then
3289 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3290 CYGPATH_W
='cygpath -w'
3297 # Define the identity of the package.
3299 VERSION
='version-unused'
3302 cat >>confdefs.h
<<_ACEOF
3303 #define PACKAGE "$PACKAGE"
3307 cat >>confdefs.h
<<_ACEOF
3308 #define VERSION "$VERSION"
3311 # Some tools Automake needs.
3313 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3316 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3319 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3322 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3325 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3327 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3329 # Installed binaries are usually stripped using `strip' when the user
3330 # run `make install-strip'. However `strip' might not be the right
3331 # tool to use in cross-compilation environments, therefore Automake
3332 # will honor the `STRIP' environment variable to overrule this program.
3333 if test "$cross_compiling" != no
; then
3334 if test -n "$ac_tool_prefix"; then
3335 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3336 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3337 echo "$as_me:$LINENO: checking for $ac_word" >&5
3338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3339 if test "${ac_cv_prog_STRIP+set}" = set; then
3340 echo $ECHO_N "(cached) $ECHO_C" >&6
3342 if test -n "$STRIP"; then
3343 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3349 test -z "$as_dir" && as_dir
=.
3350 for ac_exec_ext
in '' $ac_executable_extensions; do
3351 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3352 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3361 STRIP
=$ac_cv_prog_STRIP
3362 if test -n "$STRIP"; then
3363 echo "$as_me:$LINENO: result: $STRIP" >&5
3364 echo "${ECHO_T}$STRIP" >&6
3366 echo "$as_me:$LINENO: result: no" >&5
3367 echo "${ECHO_T}no" >&6
3371 if test -z "$ac_cv_prog_STRIP"; then
3373 # Extract the first word of "strip", so it can be a program name with args.
3374 set dummy strip
; ac_word
=$2
3375 echo "$as_me:$LINENO: checking for $ac_word" >&5
3376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3377 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3378 echo $ECHO_N "(cached) $ECHO_C" >&6
3380 if test -n "$ac_ct_STRIP"; then
3381 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3387 test -z "$as_dir" && as_dir
=.
3388 for ac_exec_ext
in '' $ac_executable_extensions; do
3389 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3390 ac_cv_prog_ac_ct_STRIP
="strip"
3391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3397 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3400 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3401 if test -n "$ac_ct_STRIP"; then
3402 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3403 echo "${ECHO_T}$ac_ct_STRIP" >&6
3405 echo "$as_me:$LINENO: result: no" >&5
3406 echo "${ECHO_T}no" >&6
3411 STRIP
="$ac_cv_prog_STRIP"
3415 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3417 # We need awk for the "check" target. The system "awk" is bad on
3419 # Always define AMTAR for backward compatibility.
3421 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3423 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3428 depcc
="$CC" am_compiler_list
=
3430 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3431 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3432 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3433 echo $ECHO_N "(cached) $ECHO_C" >&6
3435 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3436 # We make a subdir and do the tests there. Otherwise we can end up
3437 # making bogus files that we don't know about and never remove. For
3438 # instance it was reported that on HP-UX the gcc test will end up
3439 # making a dummy file named `D' -- because `-MD' means `put the output
3442 # Copy depcomp to subdir because otherwise we won't find it if we're
3443 # using a relative directory.
3444 cp "$am_depcomp" conftest.dir
3446 # We will build objects and dependencies in a subdirectory because
3447 # it helps to detect inapplicable dependency modes. For instance
3448 # both Tru64's cc and ICC support -MD to output dependencies as a
3449 # side effect of compilation, but ICC will put the dependencies in
3450 # the current directory while Tru64 will put them in the object
3454 am_cv_CC_dependencies_compiler_type
=none
3455 if test "$am_compiler_list" = ""; then
3456 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3458 for depmode
in $am_compiler_list; do
3459 # Setup a source with many dependencies, because some compilers
3460 # like to wrap large dependency lists on column 80 (with \), and
3461 # we should not choose a depcomp mode which is confused by this.
3463 # We need to recreate these files for each test, as the compiler may
3464 # overwrite some of them when testing with obscure command lines.
3465 # This happens at least with the AIX C compiler.
3467 for i
in 1 2 3 4 5 6; do
3468 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3469 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3470 # Solaris 8's {/usr,}/bin/sh.
3471 touch sub
/conftst
$i.h
3473 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3477 # after this tag, mechanisms are not by side-effect, so they'll
3478 # only be used when explicitly requested
3479 if test "x$enable_dependency_tracking" = xyes
; then
3487 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3488 # mode. It turns out that the SunPro C++ compiler does not properly
3489 # handle `-M -o', and we need to detect this.
3490 if depmode
=$depmode \
3491 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3492 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3493 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3494 >/dev
/null
2>conftest.err
&&
3495 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3496 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3497 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3498 # icc doesn't choke on unknown options, it will just issue warnings
3499 # or remarks (even with -Werror). So we grep stderr for any message
3500 # that says an option was ignored or not supported.
3501 # When given -MP, icc 7.0 and 7.1 complain thusly:
3502 # icc: Command line warning: ignoring option '-M'; no argument required
3503 # The diagnosis changed in icc 8.0:
3504 # icc: Command line remark: option '-MP' not supported
3505 if (grep 'ignoring option' conftest.err ||
3506 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3507 am_cv_CC_dependencies_compiler_type
=$depmode
3516 am_cv_CC_dependencies_compiler_type
=none
3520 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3521 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3522 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3527 test "x$enable_dependency_tracking" != xno \
3528 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3530 am__fastdepCC_FALSE
='#'
3532 am__fastdepCC_TRUE
='#'
3533 am__fastdepCC_FALSE
=
3537 depcc
="$CXX" am_compiler_list
=
3539 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3540 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3541 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3542 echo $ECHO_N "(cached) $ECHO_C" >&6
3544 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3545 # We make a subdir and do the tests there. Otherwise we can end up
3546 # making bogus files that we don't know about and never remove. For
3547 # instance it was reported that on HP-UX the gcc test will end up
3548 # making a dummy file named `D' -- because `-MD' means `put the output
3551 # Copy depcomp to subdir because otherwise we won't find it if we're
3552 # using a relative directory.
3553 cp "$am_depcomp" conftest.dir
3555 # We will build objects and dependencies in a subdirectory because
3556 # it helps to detect inapplicable dependency modes. For instance
3557 # both Tru64's cc and ICC support -MD to output dependencies as a
3558 # side effect of compilation, but ICC will put the dependencies in
3559 # the current directory while Tru64 will put them in the object
3563 am_cv_CXX_dependencies_compiler_type
=none
3564 if test "$am_compiler_list" = ""; then
3565 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3567 for depmode
in $am_compiler_list; do
3568 # Setup a source with many dependencies, because some compilers
3569 # like to wrap large dependency lists on column 80 (with \), and
3570 # we should not choose a depcomp mode which is confused by this.
3572 # We need to recreate these files for each test, as the compiler may
3573 # overwrite some of them when testing with obscure command lines.
3574 # This happens at least with the AIX C compiler.
3576 for i
in 1 2 3 4 5 6; do
3577 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3578 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3579 # Solaris 8's {/usr,}/bin/sh.
3580 touch sub
/conftst
$i.h
3582 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3586 # after this tag, mechanisms are not by side-effect, so they'll
3587 # only be used when explicitly requested
3588 if test "x$enable_dependency_tracking" = xyes
; then
3596 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3597 # mode. It turns out that the SunPro C++ compiler does not properly
3598 # handle `-M -o', and we need to detect this.
3599 if depmode
=$depmode \
3600 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3601 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3602 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3603 >/dev
/null
2>conftest.err
&&
3604 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3605 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3606 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3607 # icc doesn't choke on unknown options, it will just issue warnings
3608 # or remarks (even with -Werror). So we grep stderr for any message
3609 # that says an option was ignored or not supported.
3610 # When given -MP, icc 7.0 and 7.1 complain thusly:
3611 # icc: Command line warning: ignoring option '-M'; no argument required
3612 # The diagnosis changed in icc 8.0:
3613 # icc: Command line remark: option '-MP' not supported
3614 if (grep 'ignoring option' conftest.err ||
3615 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3616 am_cv_CXX_dependencies_compiler_type
=$depmode
3625 am_cv_CXX_dependencies_compiler_type
=none
3629 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3630 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3631 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3636 test "x$enable_dependency_tracking" != xno \
3637 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3638 am__fastdepCXX_TRUE
=
3639 am__fastdepCXX_FALSE
='#'
3641 am__fastdepCXX_TRUE
='#'
3642 am__fastdepCXX_FALSE
=
3648 if test -n "$ac_tool_prefix"; then
3649 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3650 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3651 echo "$as_me:$LINENO: checking for $ac_word" >&5
3652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3653 if test "${ac_cv_prog_AS+set}" = set; then
3654 echo $ECHO_N "(cached) $ECHO_C" >&6
3656 if test -n "$AS"; then
3657 ac_cv_prog_AS
="$AS" # Let the user override the test.
3659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3663 test -z "$as_dir" && as_dir
=.
3664 for ac_exec_ext
in '' $ac_executable_extensions; do
3665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3666 ac_cv_prog_AS
="${ac_tool_prefix}as"
3667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3676 if test -n "$AS"; then
3677 echo "$as_me:$LINENO: result: $AS" >&5
3678 echo "${ECHO_T}$AS" >&6
3680 echo "$as_me:$LINENO: result: no" >&5
3681 echo "${ECHO_T}no" >&6
3685 if test -z "$ac_cv_prog_AS"; then
3687 # Extract the first word of "as", so it can be a program name with args.
3688 set dummy as
; ac_word
=$2
3689 echo "$as_me:$LINENO: checking for $ac_word" >&5
3690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3691 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3692 echo $ECHO_N "(cached) $ECHO_C" >&6
3694 if test -n "$ac_ct_AS"; then
3695 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3701 test -z "$as_dir" && as_dir
=.
3702 for ac_exec_ext
in '' $ac_executable_extensions; do
3703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3704 ac_cv_prog_ac_ct_AS
="as"
3705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3713 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3714 if test -n "$ac_ct_AS"; then
3715 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3716 echo "${ECHO_T}$ac_ct_AS" >&6
3718 echo "$as_me:$LINENO: result: no" >&5
3719 echo "${ECHO_T}no" >&6
3727 if test -n "$ac_tool_prefix"; then
3728 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3729 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3730 echo "$as_me:$LINENO: checking for $ac_word" >&5
3731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3732 if test "${ac_cv_prog_AR+set}" = set; then
3733 echo $ECHO_N "(cached) $ECHO_C" >&6
3735 if test -n "$AR"; then
3736 ac_cv_prog_AR
="$AR" # Let the user override the test.
3738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3742 test -z "$as_dir" && as_dir
=.
3743 for ac_exec_ext
in '' $ac_executable_extensions; do
3744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3745 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3755 if test -n "$AR"; then
3756 echo "$as_me:$LINENO: result: $AR" >&5
3757 echo "${ECHO_T}$AR" >&6
3759 echo "$as_me:$LINENO: result: no" >&5
3760 echo "${ECHO_T}no" >&6
3764 if test -z "$ac_cv_prog_AR"; then
3766 # Extract the first word of "ar", so it can be a program name with args.
3767 set dummy
ar; ac_word
=$2
3768 echo "$as_me:$LINENO: checking for $ac_word" >&5
3769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3770 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3771 echo $ECHO_N "(cached) $ECHO_C" >&6
3773 if test -n "$ac_ct_AR"; then
3774 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3780 test -z "$as_dir" && as_dir
=.
3781 for ac_exec_ext
in '' $ac_executable_extensions; do
3782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3783 ac_cv_prog_ac_ct_AR
="ar"
3784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3792 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3793 if test -n "$ac_ct_AR"; then
3794 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3795 echo "${ECHO_T}$ac_ct_AR" >&6
3797 echo "$as_me:$LINENO: result: no" >&5
3798 echo "${ECHO_T}no" >&6
3806 if test -n "$ac_tool_prefix"; then
3807 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3808 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3809 echo "$as_me:$LINENO: checking for $ac_word" >&5
3810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3811 if test "${ac_cv_prog_RANLIB+set}" = set; then
3812 echo $ECHO_N "(cached) $ECHO_C" >&6
3814 if test -n "$RANLIB"; then
3815 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3821 test -z "$as_dir" && as_dir
=.
3822 for ac_exec_ext
in '' $ac_executable_extensions; do
3823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3824 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3833 RANLIB
=$ac_cv_prog_RANLIB
3834 if test -n "$RANLIB"; then
3835 echo "$as_me:$LINENO: result: $RANLIB" >&5
3836 echo "${ECHO_T}$RANLIB" >&6
3838 echo "$as_me:$LINENO: result: no" >&5
3839 echo "${ECHO_T}no" >&6
3843 if test -z "$ac_cv_prog_RANLIB"; then
3844 ac_ct_RANLIB
=$RANLIB
3845 # Extract the first word of "ranlib", so it can be a program name with args.
3846 set dummy ranlib
; ac_word
=$2
3847 echo "$as_me:$LINENO: checking for $ac_word" >&5
3848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3849 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3850 echo $ECHO_N "(cached) $ECHO_C" >&6
3852 if test -n "$ac_ct_RANLIB"; then
3853 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3859 test -z "$as_dir" && as_dir
=.
3860 for ac_exec_ext
in '' $ac_executable_extensions; do
3861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3862 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3869 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3872 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3873 if test -n "$ac_ct_RANLIB"; then
3874 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3875 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3877 echo "$as_me:$LINENO: result: no" >&5
3878 echo "${ECHO_T}no" >&6
3881 RANLIB
=$ac_ct_RANLIB
3883 RANLIB
="$ac_cv_prog_RANLIB"
3887 # Find a good install program. We prefer a C program (faster),
3888 # so one script is as good as another. But avoid the broken or
3889 # incompatible versions:
3890 # SysV /etc/install, /usr/sbin/install
3891 # SunOS /usr/etc/install
3892 # IRIX /sbin/install
3894 # AmigaOS /C/install, which installs bootblocks on floppy discs
3895 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3896 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3897 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3898 # OS/2's system install, which has a completely different semantic
3899 # ./install, which can be erroneously created by make from ./install.sh.
3900 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3901 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3902 if test -z "$INSTALL"; then
3903 if test "${ac_cv_path_install+set}" = set; then
3904 echo $ECHO_N "(cached) $ECHO_C" >&6
3906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3910 test -z "$as_dir" && as_dir
=.
3911 # Account for people who put trailing slashes in PATH elements.
3913 .
/ | .
// |
/cC
/* | \
3914 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3915 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3918 # OSF1 and SCO ODT 3.0 have their own names for install.
3919 # Don't use installbsd from OSF since it installs stuff as root
3921 for ac_prog
in ginstall scoinst
install; do
3922 for ac_exec_ext
in '' $ac_executable_extensions; do
3923 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3924 if test $ac_prog = install &&
3925 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3926 # AIX install. It has an incompatible calling convention.
3928 elif test $ac_prog = install &&
3929 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3930 # program-specific install script used by HP pwplus--don't use.
3933 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3945 if test "${ac_cv_path_install+set}" = set; then
3946 INSTALL
=$ac_cv_path_install
3948 # As a last resort, use the slow shell script. We don't cache a
3949 # path for INSTALL within a source directory, because that will
3950 # break other packages using the cache if that directory is
3951 # removed, or if the path is relative.
3952 INSTALL
=$ac_install_sh
3955 echo "$as_me:$LINENO: result: $INSTALL" >&5
3956 echo "${ECHO_T}$INSTALL" >&6
3958 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3959 # It thinks the first close brace ends the variable substitution.
3960 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3962 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3964 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3967 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3968 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3969 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3970 if test "${enable_maintainer_mode+set}" = set; then
3971 enableval
="$enable_maintainer_mode"
3972 USE_MAINTAINER_MODE
=$enableval
3974 USE_MAINTAINER_MODE
=no
3976 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3977 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3980 if test $USE_MAINTAINER_MODE = yes; then
3981 MAINTAINER_MODE_TRUE
=
3982 MAINTAINER_MODE_FALSE
='#'
3984 MAINTAINER_MODE_TRUE
='#'
3985 MAINTAINER_MODE_FALSE
=
3988 MAINT
=$MAINTAINER_MODE_TRUE
3994 # configure.host sets the following important variables
3995 # libgcj_cflags - host specific C compiler flags
3996 # libgcj_cxxflags - host specific C++ compiler flags
3997 # libgcj_javaflags - host specific Java compiler flags
4003 .
${srcdir}/configure.
host
4005 LIBGCJ_CFLAGS
="${libgcj_cflags}"
4006 LIBGCJ_CXXFLAGS
="${libgcj_cxxflags}"
4007 LIBGCJ_JAVAFLAGS
="${libgcj_javaflags}"
4008 LIBGCJ_LD_SYMBOLIC
="${libgcj_ld_symbolic}"
4014 ac_config_headers
="$ac_config_headers include/config.h gcj/libgcj-config.h"
4018 # See if the user has requested runtime debugging.
4019 LIBGCJDEBUG
="disable"
4021 # Check whether --enable-libgcj-debug or --disable-libgcj-debug was given.
4022 if test "${enable_libgcj_debug+set}" = set; then
4023 enableval
="$enable_libgcj_debug"
4024 if test "$enable_libgcj_debug" = yes; then
4026 cat >>confdefs.h
<<\_ACEOF
4030 LIBGCJDEBUG
="enable"
4034 # Determine which AWT peer libraries to build
4035 # Check whether --enable-java-awt or --disable-java-awt was given.
4036 if test "${enable_java_awt+set}" = set; then
4037 enableval
="$enable_java_awt"
4041 peerlibs
="`echo ${enable_java_awt} | tr ',' ' '`"
4044 # The default toolkit to use is the first one specified.
4048 for peer
in $peerlibs ; do
4051 if test "$no_x" = yes; then
4052 echo "*** xlib peers requested but no X library available" 1>&2
4055 # This code has bit-rotted a bit.
4056 echo "*** xlib peers can't currently be compiled -- disabling" 1>&2
4057 # use_xlib_awt="yes"
4058 # if test -z "$TOOLKIT"; then
4059 # TOOLKIT=gnu.awt.xlib.XToolkit
4064 if test "$no_x" = yes; then
4065 echo "*** xlib peers requested but no X library available" 1>&2
4069 if test -z "$TOOLKIT"; then
4070 TOOLKIT
=gnu.java.awt.peer.gtk.GtkToolkit
4080 echo "*** unrecognised argument \"${peer}\" for --enable-java-awt" 1>&2
4087 if test "$use_xlib_awt" = yes; then
4097 if test "$use_gtk_awt" = yes; then
4107 if test -z "${with_multisubdir}"; then
4110 builddotdot
=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`
4115 # Which gcj do we use?
4117 built_gcc_dir
="`cd ${builddotdot}/../../${host_subdir}/gcc && ${PWDCMD-pwd}`"
4118 if test -n "${with_cross_host}"; then
4119 # We are being configured with a cross compiler. We can't
4120 # use ac_exeext, because that is for the target platform.
4123 case "${with_cross_host}" in
4125 cross_host_exeext
=.exe
4128 if test -x "${built_gcc_dir}/gcj${cross_host_exeext}"; then
4129 if test x
"$build_noncanonical" = x
"$with_cross_host"; then
4130 # Ordinary cross (host!=target and host=build)
4133 # Canadian cross (host!=target and host!=build)
4140 # We are being configured with a native or crossed-native compiler
4141 if test -x "${built_gcc_dir}/gcj${ac_exeext}"; then
4142 if test x
"$build" = x
"$host"; then
4143 # True native build (host=target and host=build)
4146 # Crossed-native build (host=target and host!=build)
4153 case "${which_gcj}" in
4155 GCJ
="$built_gcc_dir/gcj -B`${PWDCMD-pwd}`/ -B$built_gcc_dir/"
4156 GCJH
='$(top_builddir)/$(MULTIBUILDTOP)../../$(host_subdir)/gcc/gcjh'
4157 ZIP
='$(top_builddir)/$(MULTIBUILDTOP)../../$(host_subdir)/fastjar/fastjar'
4160 if test "x${with_newlib}" = "xyes"; then
4161 # FIXME (comment): Why is this needed?
4163 GCJ
="${target_noncanonical}-gcj"
4165 GCJ
="${target_noncanonical}-gcj -B`${PWDCMD-pwd}`/"
4167 ZIP
='$(target_noncanonical)-fastjar'
4168 GCJH
='$(target_noncanonical)-gcjh'
4171 GCJ
="gcj -B`${PWDCMD-pwd}`/"
4172 ## In this case, gcj is found outside the build tree. However, zip is
4173 ## found in the build tree.
4174 ZIP
='$(top_builddir)/$(MULTIBUILDTOP)../$(COMPPATH)/fastjar/fastjar'
4182 # Create it, so that compile/link tests don't fail
4183 test -f libgcj.spec ||
touch libgcj.spec
4187 # Set up to configure Classpath.
4188 # FIXME: no supported way to pass args in autoconf.
4189 ac_configure_args
="$ac_configure_args --disable-load-library"
4190 ac_configure_args
="$ac_configure_args --${LIBGCJDEBUG}-debug"
4191 ac_configure_args
="$ac_configure_args --enable-default-toolkit=$TOOLKIT"
4192 dir1
=`cd $srcdir && pwd`
4194 ac_configure_args
="$ac_configure_args --with-vm-classes=$dir1:$dir2"
4195 ac_configure_args
="$ac_configure_args --disable-core-jni"
4196 ac_configure_args
="$ac_configure_args --disable-examples"
4197 ac_configure_args
="$ac_configure_args --with-glibj=build"
4198 if test "$use_gtk_awt" != yes; then
4199 ac_configure_args
="$ac_configure_args --disable-gtk-peer"
4202 # Only use libltdl for non-newlib builds.
4203 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
4204 case $enable_ltdl_convenience in
4205 no
) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
4206 echo "$as_me: error: this package needs a convenience libltdl" >&2;}
4207 { (exit 1); exit 1; }; } ;;
4208 "") enable_ltdl_convenience
=yes
4209 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
4211 LIBLTDL
='${top_builddir}/''libltdl'/libltdlc.la
4212 INCLTDL
='-I${top_srcdir}/''libltdl'
4217 cat >>confdefs.h
<<\_ACEOF
4221 # Sigh. Libtool's macro doesn't do the right thing.
4222 INCLTDL
="-I\$(top_srcdir)/libltdl $INCLTDL"
4223 # FIXME: this is a hack.
4224 sub_auxdir
="`cd $ac_aux_dir && ${PWDCMD-pwd}`"
4225 ac_configure_args
="$ac_configure_args --with-auxdir=$sub_auxdir"
4230 # Check whether --enable-shared or --disable-shared was given.
4231 if test "${enable_shared+set}" = set; then
4232 enableval
="$enable_shared"
4233 p
=${PACKAGE-default}
4235 yes) enable_shared
=yes ;;
4236 no
) enable_shared
=no
;;
4239 # Look at the argument we got. We use all the common list separators.
4240 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4241 for pkg
in $enableval; do
4242 if test "X$pkg" = "X$p"; then
4252 # Check whether --enable-static or --disable-static was given.
4253 if test "${enable_static+set}" = set; then
4254 enableval
="$enable_static"
4255 p
=${PACKAGE-default}
4257 yes) enable_static
=yes ;;
4258 no
) enable_static
=no
;;
4261 # Look at the argument we got. We use all the common list separators.
4262 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4263 for pkg
in $enableval; do
4264 if test "X$pkg" = "X$p"; then
4274 # Check whether --enable-fast-install or --disable-fast-install was given.
4275 if test "${enable_fast_install+set}" = set; then
4276 enableval
="$enable_fast_install"
4277 p
=${PACKAGE-default}
4279 yes) enable_fast_install
=yes ;;
4280 no
) enable_fast_install
=no
;;
4282 enable_fast_install
=no
4283 # Look at the argument we got. We use all the common list separators.
4284 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4285 for pkg
in $enableval; do
4286 if test "X$pkg" = "X$p"; then
4287 enable_fast_install
=yes
4294 enable_fast_install
=yes
4297 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4298 if test "${with_gnu_ld+set}" = set; then
4299 withval
="$with_gnu_ld"
4300 test "$withval" = no || with_gnu_ld
=yes
4305 if test "$GCC" = yes; then
4306 # Check if gcc -print-prog-name=ld gives a path.
4307 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4308 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4311 # gcc leaves a trailing carriage return which upsets mingw
4312 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4314 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4317 # Accept absolute paths.
4318 [\\/]* |
[A-Za-z
]:[\\/]*)
4319 re_direlt
='/[^/][^/]*/\.\./'
4320 # Canonicalize the path of ld
4321 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
4322 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4323 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
4325 test -z "$LD" && LD
="$ac_prog"
4328 # If it fails, then pretend we aren't using GCC.
4332 # If it is relative, then search for the first ld in PATH.
4336 elif test "$with_gnu_ld" = yes; then
4337 echo "$as_me:$LINENO: checking for GNU ld" >&5
4338 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4340 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4341 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4343 if test "${lt_cv_path_LD+set}" = set; then
4344 echo $ECHO_N "(cached) $ECHO_C" >&6
4346 if test -z "$LD"; then
4347 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4348 for ac_dir
in $PATH; do
4349 test -z "$ac_dir" && ac_dir
=.
4350 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4351 lt_cv_path_LD
="$ac_dir/$ac_prog"
4352 # Check to see if the program is GNU ld. I'd rather use --version,
4353 # but apparently some GNU ld's only accept -v.
4354 # Break only if it was the GNU/non-GNU ld that we prefer.
4355 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
4356 test "$with_gnu_ld" != no
&& break
4358 test "$with_gnu_ld" != yes && break
4364 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4369 if test -n "$LD"; then
4370 echo "$as_me:$LINENO: result: $LD" >&5
4371 echo "${ECHO_T}$LD" >&6
4373 echo "$as_me:$LINENO: result: no" >&5
4374 echo "${ECHO_T}no" >&6
4376 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4377 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4378 { (exit 1); exit 1; }; }
4379 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4380 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4381 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4382 echo $ECHO_N "(cached) $ECHO_C" >&6
4384 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4385 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4386 lt_cv_prog_gnu_ld
=yes
4388 lt_cv_prog_gnu_ld
=no
4391 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4392 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4393 with_gnu_ld
=$lt_cv_prog_gnu_ld
4396 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4397 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4398 if test "${lt_cv_ld_reload_flag+set}" = set; then
4399 echo $ECHO_N "(cached) $ECHO_C" >&6
4401 lt_cv_ld_reload_flag
='-r'
4403 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4404 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4405 reload_flag
=$lt_cv_ld_reload_flag
4406 test -n "$reload_flag" && reload_flag
=" $reload_flag"
4408 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4409 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4410 if test "${lt_cv_path_NM+set}" = set; then
4411 echo $ECHO_N "(cached) $ECHO_C" >&6
4413 if test -n "$NM"; then
4414 # Let the user override the test.
4417 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4418 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
4419 test -z "$ac_dir" && ac_dir
=.
4420 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
4421 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
4422 # Check to see if the nm accepts a BSD-compat flag.
4423 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4424 # nm: unknown option "B" ignored
4425 # Tru64's nm complains that /dev/null is an invalid object file
4426 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
4427 lt_cv_path_NM
="$tmp_nm -B"
4429 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
4430 lt_cv_path_NM
="$tmp_nm -p"
4433 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4434 continue # so that we can try to find one that supports BSD flags
4439 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4444 echo "$as_me:$LINENO: result: $NM" >&5
4445 echo "${ECHO_T}$NM" >&6
4447 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4448 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4449 if test "${lt_cv_deplibs_check_method+set}" = set; then
4450 echo $ECHO_N "(cached) $ECHO_C" >&6
4452 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4453 lt_cv_file_magic_test_file
=
4454 lt_cv_deplibs_check_method
='unknown'
4455 # Need to set the preceding variable on all platforms that support
4456 # interlibrary dependencies.
4457 # 'none' -- dependencies not supported.
4458 # `unknown' -- same as none, but documents that we really don't know.
4459 # 'pass_all' -- all dependencies passed with no checks.
4460 # 'test_compile' -- check by making test program.
4461 # 'file_magic [regex]' -- check by looking for files in library path
4462 # which responds to the $file_magic_cmd with a given egrep regex.
4463 # If you have `file' or equivalent on your system and you're not sure
4464 # whether `pass_all' will *always* work, you probably want this one.
4468 lt_cv_deplibs_check_method
=pass_all
4472 lt_cv_deplibs_check_method
=pass_all
4476 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4477 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4478 lt_cv_file_magic_test_file
=/shlib
/libc.so
4481 cygwin
* | mingw
* |pw32
*)
4482 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4483 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4486 darwin
* | rhapsody
*)
4487 # this will be overwritten by pass_all, but leave it in just in case
4488 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
4489 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4491 rhapsody
* | darwin1.012
)
4492 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
4495 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
4498 lt_cv_deplibs_check_method
=pass_all
4501 freebsd
* | kfreebsd
*-gnu)
4502 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4505 # Not sure whether the presence of OpenBSD here was a mistake.
4506 # Let's accept both of them until this is cleared up.
4507 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4508 lt_cv_file_magic_cmd
=/usr
/bin
/file
4509 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4513 lt_cv_deplibs_check_method
=pass_all
4518 lt_cv_deplibs_check_method
=pass_all
4524 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4525 lt_cv_file_magic_cmd
=/usr
/bin
/file
4526 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4529 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4530 lt_cv_file_magic_cmd
=/usr
/bin
/file
4531 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4539 # this will be overridden with pass_all, but let us keep it just in case
4540 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4544 *-32|
*"-32 ") libmagic
=32-bit;;
4545 *-n32|
*"-n32 ") libmagic
=N32
;;
4546 *-64|
*"-64 ") libmagic
=64-bit;;
4547 *) libmagic
=never-match
;;
4549 # this will be overridden with pass_all, but let us keep it just in case
4550 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4553 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
4554 lt_cv_deplibs_check_method
=pass_all
4557 # This must be Linux ELF.
4559 lt_cv_deplibs_check_method
=pass_all
4562 netbsd
* | knetbsd
*-gnu)
4563 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4564 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4566 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
4571 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4572 lt_cv_file_magic_cmd
=/usr
/bin
/file
4573 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4576 osf3
* | osf4
* | osf5
*)
4577 # this will be overridden with pass_all, but let us keep it just in case
4578 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
4579 lt_cv_file_magic_test_file
=/shlib
/libc.so
4580 lt_cv_deplibs_check_method
=pass_all
4584 lt_cv_deplibs_check_method
=pass_all
4588 lt_cv_deplibs_check_method
=pass_all
4589 lt_cv_file_magic_test_file
=/lib
/libc.so
4592 sysv5uw
[78]* | sysv4
*uw2
*)
4593 lt_cv_deplibs_check_method
=pass_all
4596 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
4597 case $host_vendor in
4599 lt_cv_deplibs_check_method
=pass_all
4602 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]'
4603 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4610 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4611 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4612 file_magic_cmd
=$lt_cv_file_magic_cmd
4613 deplibs_check_method
=$lt_cv_deplibs_check_method
4618 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4620 # find the maximum length of command line arguments
4621 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4622 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4623 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4624 echo $ECHO_N "(cached) $ECHO_C" >&6
4631 # On DJGPP, this test can blow up pretty badly due to problems in libc
4632 # (any single argument exceeding 2000 bytes causes a buffer overrun
4633 # during glob expansion). Even if it were fixed, the result of this
4634 # check would be larger than it should be.
4635 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4639 # On Win9x/ME, this test blows up -- it succeeds, but takes
4640 # about 5 minutes as the teststring grows exponentially.
4641 # Worse, since 9x/ME are not pre-emptively multitasking,
4642 # you end up with a "frozen" computer, even though with patience
4643 # the test eventually succeeds (with a max line length of 256k).
4644 # Instead, let's just punt: use the minimum linelength reported by
4645 # all of the supported platforms: 8192 (on NT/2K/XP).
4646 lt_cv_sys_max_cmd_len
=8192;
4650 # On AmigaOS with pdksh, this test takes hours, literally.
4651 # So we just punt and use a minimum line length of 8192.
4652 lt_cv_sys_max_cmd_len
=8192;
4655 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4656 # This has been around since 386BSD, at least. Likely further.
4657 if test -x /sbin
/sysctl
; then
4658 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4659 elif test -x /usr
/sbin
/sysctl
; then
4660 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4662 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
4664 # And add a safety zone
4665 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4666 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4672 if test -n "$lt_cv_sys_max_cmd_len" ; then
4673 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4674 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4676 echo "$as_me:$LINENO: result: none" >&5
4677 echo "${ECHO_T}none" >&6
4681 # Only perform the check for file, if the check method requires it
4682 case $deplibs_check_method in
4684 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4685 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4686 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4687 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4688 echo $ECHO_N "(cached) $ECHO_C" >&6
4692 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
4695 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
4698 ac_save_MAGIC_CMD
="$MAGIC_CMD"
4699 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
4700 ac_dummy
="/usr/bin:$PATH"
4701 for ac_dir
in $ac_dummy; do
4702 test -z "$ac_dir" && ac_dir
=.
4703 if test -f $ac_dir/${ac_tool_prefix}file; then
4704 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
4705 if test -n "$file_magic_test_file"; then
4706 case $deplibs_check_method in
4708 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4709 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4710 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
4711 egrep "$file_magic_regex" > /dev
/null
; then
4716 *** Warning: the command libtool uses to detect shared libraries,
4717 *** $file_magic_cmd, produces output that libtool cannot recognize.
4718 *** The result is that libtool may fail to recognize shared libraries
4719 *** as such. This will affect the creation of libtool libraries that
4720 *** depend on shared libraries, but programs linked with such libtool
4721 *** libraries will work regardless of this problem. Nevertheless, you
4722 *** may want to report the problem to your system manager and/or to
4723 *** bug-libtool@gnu.org
4733 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4738 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4739 if test -n "$MAGIC_CMD"; then
4740 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4741 echo "${ECHO_T}$MAGIC_CMD" >&6
4743 echo "$as_me:$LINENO: result: no" >&5
4744 echo "${ECHO_T}no" >&6
4747 if test -z "$lt_cv_path_MAGIC_CMD"; then
4748 if test -n "$ac_tool_prefix"; then
4749 echo "$as_me:$LINENO: checking for file" >&5
4750 echo $ECHO_N "checking for file... $ECHO_C" >&6
4751 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4752 echo $ECHO_N "(cached) $ECHO_C" >&6
4756 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
4759 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
4762 ac_save_MAGIC_CMD
="$MAGIC_CMD"
4763 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
4764 ac_dummy
="/usr/bin:$PATH"
4765 for ac_dir
in $ac_dummy; do
4766 test -z "$ac_dir" && ac_dir
=.
4767 if test -f $ac_dir/file; then
4768 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
4769 if test -n "$file_magic_test_file"; then
4770 case $deplibs_check_method in
4772 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4773 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4774 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
4775 egrep "$file_magic_regex" > /dev
/null
; then
4780 *** Warning: the command libtool uses to detect shared libraries,
4781 *** $file_magic_cmd, produces output that libtool cannot recognize.
4782 *** The result is that libtool may fail to recognize shared libraries
4783 *** as such. This will affect the creation of libtool libraries that
4784 *** depend on shared libraries, but programs linked with such libtool
4785 *** libraries will work regardless of this problem. Nevertheless, you
4786 *** may want to report the problem to your system manager and/or to
4787 *** bug-libtool@gnu.org
4797 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4802 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4803 if test -n "$MAGIC_CMD"; then
4804 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4805 echo "${ECHO_T}$MAGIC_CMD" >&6
4807 echo "$as_me:$LINENO: result: no" >&5
4808 echo "${ECHO_T}no" >&6
4820 if test -n "$ac_tool_prefix"; then
4821 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4822 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4823 echo "$as_me:$LINENO: checking for $ac_word" >&5
4824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4825 if test "${ac_cv_prog_RANLIB+set}" = set; then
4826 echo $ECHO_N "(cached) $ECHO_C" >&6
4828 if test -n "$RANLIB"; then
4829 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4835 test -z "$as_dir" && as_dir
=.
4836 for ac_exec_ext
in '' $ac_executable_extensions; do
4837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4838 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4847 RANLIB
=$ac_cv_prog_RANLIB
4848 if test -n "$RANLIB"; then
4849 echo "$as_me:$LINENO: result: $RANLIB" >&5
4850 echo "${ECHO_T}$RANLIB" >&6
4852 echo "$as_me:$LINENO: result: no" >&5
4853 echo "${ECHO_T}no" >&6
4857 if test -z "$ac_cv_prog_RANLIB"; then
4858 ac_ct_RANLIB
=$RANLIB
4859 # Extract the first word of "ranlib", so it can be a program name with args.
4860 set dummy ranlib
; ac_word
=$2
4861 echo "$as_me:$LINENO: checking for $ac_word" >&5
4862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4863 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4864 echo $ECHO_N "(cached) $ECHO_C" >&6
4866 if test -n "$ac_ct_RANLIB"; then
4867 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4873 test -z "$as_dir" && as_dir
=.
4874 for ac_exec_ext
in '' $ac_executable_extensions; do
4875 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4876 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4883 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4886 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4887 if test -n "$ac_ct_RANLIB"; then
4888 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4889 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4891 echo "$as_me:$LINENO: result: no" >&5
4892 echo "${ECHO_T}no" >&6
4895 RANLIB
=$ac_ct_RANLIB
4897 RANLIB
="$ac_cv_prog_RANLIB"
4900 if test -n "$ac_tool_prefix"; then
4901 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4902 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4903 echo "$as_me:$LINENO: checking for $ac_word" >&5
4904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4905 if test "${ac_cv_prog_STRIP+set}" = set; then
4906 echo $ECHO_N "(cached) $ECHO_C" >&6
4908 if test -n "$STRIP"; then
4909 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4915 test -z "$as_dir" && as_dir
=.
4916 for ac_exec_ext
in '' $ac_executable_extensions; do
4917 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4918 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4927 STRIP
=$ac_cv_prog_STRIP
4928 if test -n "$STRIP"; then
4929 echo "$as_me:$LINENO: result: $STRIP" >&5
4930 echo "${ECHO_T}$STRIP" >&6
4932 echo "$as_me:$LINENO: result: no" >&5
4933 echo "${ECHO_T}no" >&6
4937 if test -z "$ac_cv_prog_STRIP"; then
4939 # Extract the first word of "strip", so it can be a program name with args.
4940 set dummy strip
; ac_word
=$2
4941 echo "$as_me:$LINENO: checking for $ac_word" >&5
4942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4943 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4944 echo $ECHO_N "(cached) $ECHO_C" >&6
4946 if test -n "$ac_ct_STRIP"; then
4947 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4953 test -z "$as_dir" && as_dir
=.
4954 for ac_exec_ext
in '' $ac_executable_extensions; do
4955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4956 ac_cv_prog_ac_ct_STRIP
="strip"
4957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4963 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
4966 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4967 if test -n "$ac_ct_STRIP"; then
4968 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4969 echo "${ECHO_T}$ac_ct_STRIP" >&6
4971 echo "$as_me:$LINENO: result: no" >&5
4972 echo "${ECHO_T}no" >&6
4977 STRIP
="$ac_cv_prog_STRIP"
4981 # Check for any special flags to pass to ltconfig.
4982 libtool_flags
="--cache-file=$cache_file"
4983 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
4984 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
4985 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
4986 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
4987 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
4990 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4991 if test "${enable_libtool_lock+set}" = set; then
4992 enableval
="$enable_libtool_lock"
4995 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
4996 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
4999 # Check whether --with-pic or --without-pic was given.
5000 if test "${with_pic+set}" = set; then
5006 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
5007 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
5009 # Some flags need to be propagated to the compiler or linker for good
5013 # Find out which ABI we are using.
5014 echo '#line 5014 "configure"' > conftest.
$ac_ext
5015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5016 (eval $ac_compile) 2>&5
5018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5019 (exit $ac_status); }; then
5020 if test "$lt_cv_prog_gnu_ld" = yes; then
5021 case `/usr/bin/file conftest.$ac_objext` in
5023 LD
="${LD-ld} -melf32bsmip"
5026 LD
="${LD-ld} -melf32bmipn32"
5029 LD
="${LD-ld} -melf64bmip"
5033 case `/usr/bin/file conftest.$ac_objext` in
5050 # Find out which ABI we are using.
5051 echo 'int i;' > conftest.
$ac_ext
5052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5053 (eval $ac_compile) 2>&5
5055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5056 (exit $ac_status); }; then
5057 case "`/usr/bin/file conftest.o`" in
5069 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
5070 # Find out which ABI we are using.
5071 echo 'int i;' > conftest.
$ac_ext
5072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5073 (eval $ac_compile) 2>&5
5075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5076 (exit $ac_status); }; then
5077 case "`/usr/bin/file conftest.o`" in
5081 LD
="${LD-ld} -m elf_i386"
5083 ppc64-
*linux
*|powerpc64-
*linux
*)
5084 LD
="${LD-ld} -m elf32ppclinux"
5087 LD
="${LD-ld} -m elf_s390"
5090 LD
="${LD-ld} -m elf32_sparc"
5097 LD
="${LD-ld} -m elf_x86_64"
5099 ppc
*-*linux
*|powerpc
*-*linux
*)
5100 LD
="${LD-ld} -m elf64ppc"
5103 LD
="${LD-ld} -m elf64_s390"
5106 LD
="${LD-ld} -m elf64_sparc"
5116 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5117 SAVE_CFLAGS
="$CFLAGS"
5118 CFLAGS
="$CFLAGS -belf"
5119 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5120 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5121 if test "${lt_cv_cc_needs_belf+set}" = set; then
5122 echo $ECHO_N "(cached) $ECHO_C" >&6
5127 ac_cpp
='$CPP $CPPFLAGS'
5128 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5129 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5130 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5132 if test x
$gcc_no_link = xyes
; then
5133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5135 { (exit 1); exit 1; }; }
5137 cat >conftest.
$ac_ext <<_ACEOF
5140 cat confdefs.h
>>conftest.
$ac_ext
5141 cat >>conftest.
$ac_ext <<_ACEOF
5142 /* end confdefs.h. */
5152 rm -f conftest.
$ac_objext conftest
$ac_exeext
5153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5154 (eval $ac_link) 2>conftest.er1
5156 grep -v '^ *+' conftest.er1
>conftest.err
5158 cat conftest.err
>&5
5159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5160 (exit $ac_status); } &&
5161 { ac_try
='test -z "$ac_c_werror_flag"
5162 || test ! -s conftest.err'
5163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5167 (exit $ac_status); }; } &&
5168 { ac_try
='test -s conftest$ac_exeext'
5169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5173 (exit $ac_status); }; }; then
5174 lt_cv_cc_needs_belf
=yes
5176 echo "$as_me: failed program was:" >&5
5177 sed 's/^/| /' conftest.
$ac_ext >&5
5179 lt_cv_cc_needs_belf
=no
5181 rm -f conftest.err conftest.
$ac_objext \
5182 conftest
$ac_exeext conftest.
$ac_ext
5184 ac_cpp
='$CPP $CPPFLAGS'
5185 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5186 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5187 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5190 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5191 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5192 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5193 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5194 CFLAGS
="$SAVE_CFLAGS"
5202 # Save cache, so that ltconfig can load it
5203 cat >confcache
<<\_ACEOF
5204 # This file is a shell script that caches the results of configure
5205 # tests run on this system so they can be shared between configure
5206 # scripts and configure runs, see configure's option --config-cache.
5207 # It is not useful on other systems. If it contains results you don't
5208 # want to keep, you may remove or edit it.
5210 # config.status only pays attention to the cache file if you give it
5211 # the --recheck option to rerun configure.
5213 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5214 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5219 # The following way of writing the cache mishandles newlines in values,
5220 # but we know of no workaround that is simple, portable, and efficient.
5221 # So, don't put newlines in cache variables' values.
5222 # Ultrix sh set writes to stderr and can't be redirected directly,
5223 # and sets the high bit in the cache file unless we assign to the vars.
5226 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5228 # `set' does not quote correctly, so add quotes (double-quote
5229 # substitution turns \\\\ into \\, and sed turns \\ into \).
5232 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5235 # `set' quotes correctly as required by POSIX, so do not add quotes.
5237 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5244 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5246 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5248 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5249 if test -w $cache_file; then
5250 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5251 cat confcache
>$cache_file
5253 echo "not updating unwritable cache $cache_file"
5258 # Actually configure libtool. ac_aux_dir is where install-sh is found.
5259 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
5260 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
5261 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
5262 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
5263 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
5264 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
5265 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
5266 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
5267 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
5268 echo "$as_me: error: libtool configure failed" >&2;}
5269 { (exit 1); exit 1; }; }
5271 # Reload cache, that may have been modified by ltconfig
5272 if test -r "$cache_file"; then
5273 # Some versions of bash will fail to source /dev/null (special
5274 # files actually), so we avoid doing that.
5275 if test -f "$cache_file"; then
5276 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5277 echo "$as_me: loading cache $cache_file" >&6;}
5279 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
5280 *) . .
/$cache_file;;
5284 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5285 echo "$as_me: creating cache $cache_file" >&6;}
5290 # This can be used to rebuild libtool when needed
5291 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5293 # Always use our own libtool.
5294 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
5296 # Redirect the config.log output again, so that the ltconfig log is not
5297 # clobbered by the next message.
5298 exec 5>>.
/config.log
5301 ac_cpp
='$CXXCPP $CPPFLAGS'
5302 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5303 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5304 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5305 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5306 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5307 if test -z "$CXXCPP"; then
5308 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5309 echo $ECHO_N "(cached) $ECHO_C" >&6
5311 # Double quotes because CXXCPP needs to be expanded
5312 for CXXCPP
in "$CXX -E" "/lib/cpp"
5315 for ac_cxx_preproc_warn_flag
in '' yes
5317 # Use a header file that comes with gcc, so configuring glibc
5318 # with a fresh cross-compiler works.
5319 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5320 # <limits.h> exists even on freestanding compilers.
5321 # On the NeXT, cc -E runs the code through the compiler's parser,
5322 # not just through cpp. "Syntax error" is here to catch this case.
5323 cat >conftest.
$ac_ext <<_ACEOF
5326 cat confdefs.h
>>conftest.
$ac_ext
5327 cat >>conftest.
$ac_ext <<_ACEOF
5328 /* end confdefs.h. */
5330 # include <limits.h>
5332 # include <assert.h>
5336 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5337 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5339 grep -v '^ *+' conftest.er1
>conftest.err
5341 cat conftest.err
>&5
5342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343 (exit $ac_status); } >/dev
/null
; then
5344 if test -s conftest.err
; then
5345 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5346 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5353 if test -z "$ac_cpp_err"; then
5356 echo "$as_me: failed program was:" >&5
5357 sed 's/^/| /' conftest.
$ac_ext >&5
5359 # Broken: fails on valid input.
5362 rm -f conftest.err conftest.
$ac_ext
5364 # OK, works on sane cases. Now check whether non-existent headers
5365 # can be detected and how.
5366 cat >conftest.
$ac_ext <<_ACEOF
5369 cat confdefs.h
>>conftest.
$ac_ext
5370 cat >>conftest.
$ac_ext <<_ACEOF
5371 /* end confdefs.h. */
5372 #include <ac_nonexistent.h>
5374 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5375 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5377 grep -v '^ *+' conftest.er1
>conftest.err
5379 cat conftest.err
>&5
5380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381 (exit $ac_status); } >/dev
/null
; then
5382 if test -s conftest.err
; then
5383 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5384 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5391 if test -z "$ac_cpp_err"; then
5392 # Broken: success on invalid input.
5395 echo "$as_me: failed program was:" >&5
5396 sed 's/^/| /' conftest.
$ac_ext >&5
5398 # Passes both tests.
5402 rm -f conftest.err conftest.
$ac_ext
5405 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5406 rm -f conftest.err conftest.
$ac_ext
5407 if $ac_preproc_ok; then
5412 ac_cv_prog_CXXCPP
=$CXXCPP
5415 CXXCPP
=$ac_cv_prog_CXXCPP
5417 ac_cv_prog_CXXCPP
=$CXXCPP
5419 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5420 echo "${ECHO_T}$CXXCPP" >&6
5422 for ac_cxx_preproc_warn_flag
in '' yes
5424 # Use a header file that comes with gcc, so configuring glibc
5425 # with a fresh cross-compiler works.
5426 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5427 # <limits.h> exists even on freestanding compilers.
5428 # On the NeXT, cc -E runs the code through the compiler's parser,
5429 # not just through cpp. "Syntax error" is here to catch this case.
5430 cat >conftest.
$ac_ext <<_ACEOF
5433 cat confdefs.h
>>conftest.
$ac_ext
5434 cat >>conftest.
$ac_ext <<_ACEOF
5435 /* end confdefs.h. */
5437 # include <limits.h>
5439 # include <assert.h>
5443 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5444 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5446 grep -v '^ *+' conftest.er1
>conftest.err
5448 cat conftest.err
>&5
5449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450 (exit $ac_status); } >/dev
/null
; then
5451 if test -s conftest.err
; then
5452 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5453 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5460 if test -z "$ac_cpp_err"; then
5463 echo "$as_me: failed program was:" >&5
5464 sed 's/^/| /' conftest.
$ac_ext >&5
5466 # Broken: fails on valid input.
5469 rm -f conftest.err conftest.
$ac_ext
5471 # OK, works on sane cases. Now check whether non-existent headers
5472 # can be detected and how.
5473 cat >conftest.
$ac_ext <<_ACEOF
5476 cat confdefs.h
>>conftest.
$ac_ext
5477 cat >>conftest.
$ac_ext <<_ACEOF
5478 /* end confdefs.h. */
5479 #include <ac_nonexistent.h>
5481 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5482 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5484 grep -v '^ *+' conftest.er1
>conftest.err
5486 cat conftest.err
>&5
5487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5488 (exit $ac_status); } >/dev
/null
; then
5489 if test -s conftest.err
; then
5490 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5491 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5498 if test -z "$ac_cpp_err"; then
5499 # Broken: success on invalid input.
5502 echo "$as_me: failed program was:" >&5
5503 sed 's/^/| /' conftest.
$ac_ext >&5
5505 # Passes both tests.
5509 rm -f conftest.err conftest.
$ac_ext
5512 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5513 rm -f conftest.err conftest.
$ac_ext
5514 if $ac_preproc_ok; then
5517 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5518 See \`config.log' for more details." >&5
5519 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5520 See \`config.log' for more details." >&2;}
5521 { (exit 1); exit 1; }; }
5525 ac_cpp
='$CPP $CPPFLAGS'
5526 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5527 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5528 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5532 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
5534 lt_save_CFLAGS
="$CFLAGS"
5535 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
5536 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
5537 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
5538 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
5539 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
5540 deplibs_check_method
="$deplibs_check_method" \
5541 file_magic_cmd
="$file_magic_cmd" \
5542 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
5543 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
5544 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
5545 echo "$as_me: error: libtool tag configuration failed" >&2;}
5546 { (exit 1); exit 1; }; }
5548 CFLAGS
="$lt_save_CFLAGS"
5550 # Redirect the config.log output again, so that the ltconfig log is not
5551 # clobbered by the next message.
5552 exec 5>>.
/config.log
5562 # Extract the first word of "$ac_prog", so it can be a program name with args.
5563 set dummy
$ac_prog; ac_word
=$2
5564 echo "$as_me:$LINENO: checking for $ac_word" >&5
5565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5566 if test "${ac_cv_prog_GCJ+set}" = set; then
5567 echo $ECHO_N "(cached) $ECHO_C" >&6
5569 if test -n "$GCJ"; then
5570 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
5572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5576 test -z "$as_dir" && as_dir
=.
5577 for ac_exec_ext
in '' $ac_executable_extensions; do
5578 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5579 ac_cv_prog_GCJ
="$ac_prog"
5580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5589 if test -n "$GCJ"; then
5590 echo "$as_me:$LINENO: result: $GCJ" >&5
5591 echo "${ECHO_T}$GCJ" >&6
5593 echo "$as_me:$LINENO: result: no" >&5
5594 echo "${ECHO_T}no" >&6
5597 test -n "$GCJ" && break
5599 test -n "$GCJ" || GCJ
="gcj"
5601 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
5602 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
5603 { (exit 1); exit 1; }; }
5604 if test "x${GCJFLAGS-unset}" = xunset
; then
5609 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
5611 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5612 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5613 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
5614 echo $ECHO_N "(cached) $ECHO_C" >&6
5616 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5617 # We make a subdir and do the tests there. Otherwise we can end up
5618 # making bogus files that we don't know about and never remove. For
5619 # instance it was reported that on HP-UX the gcc test will end up
5620 # making a dummy file named `D' -- because `-MD' means `put the output
5623 # Copy depcomp to subdir because otherwise we won't find it if we're
5624 # using a relative directory.
5625 cp "$am_depcomp" conftest.dir
5627 # We will build objects and dependencies in a subdirectory because
5628 # it helps to detect inapplicable dependency modes. For instance
5629 # both Tru64's cc and ICC support -MD to output dependencies as a
5630 # side effect of compilation, but ICC will put the dependencies in
5631 # the current directory while Tru64 will put them in the object
5635 am_cv_GCJ_dependencies_compiler_type
=none
5636 if test "$am_compiler_list" = ""; then
5637 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5639 for depmode
in $am_compiler_list; do
5640 # Setup a source with many dependencies, because some compilers
5641 # like to wrap large dependency lists on column 80 (with \), and
5642 # we should not choose a depcomp mode which is confused by this.
5644 # We need to recreate these files for each test, as the compiler may
5645 # overwrite some of them when testing with obscure command lines.
5646 # This happens at least with the AIX C compiler.
5648 for i
in 1 2 3 4 5 6; do
5649 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5650 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5651 # Solaris 8's {/usr,}/bin/sh.
5652 touch sub
/conftst
$i.h
5654 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5658 # after this tag, mechanisms are not by side-effect, so they'll
5659 # only be used when explicitly requested
5660 if test "x$enable_dependency_tracking" = xyes
; then
5668 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5669 # mode. It turns out that the SunPro C++ compiler does not properly
5670 # handle `-M -o', and we need to detect this.
5671 if depmode
=$depmode \
5672 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5673 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5674 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5675 >/dev
/null
2>conftest.err
&&
5676 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5677 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5678 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5679 # icc doesn't choke on unknown options, it will just issue warnings
5680 # or remarks (even with -Werror). So we grep stderr for any message
5681 # that says an option was ignored or not supported.
5682 # When given -MP, icc 7.0 and 7.1 complain thusly:
5683 # icc: Command line warning: ignoring option '-M'; no argument required
5684 # The diagnosis changed in icc 8.0:
5685 # icc: Command line remark: option '-MP' not supported
5686 if (grep 'ignoring option' conftest.err ||
5687 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5688 am_cv_GCJ_dependencies_compiler_type
=$depmode
5697 am_cv_GCJ_dependencies_compiler_type
=none
5701 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
5702 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
5703 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
5708 test "x$enable_dependency_tracking" != xno \
5709 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
5710 am__fastdepGCJ_TRUE
=
5711 am__fastdepGCJ_FALSE
='#'
5713 am__fastdepGCJ_TRUE
='#'
5714 am__fastdepGCJ_FALSE
=
5720 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-gcj.sh"
5722 lt_save_CFLAGS
="$CFLAGS"
5723 AR
="$AR" LTCC
="$CC" CC
="$GCJ" CFLAGS
="$GCJFLAGS" CPPFLAGS
="$CPPFLAGS" \
5724 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
5725 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
5726 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
5727 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
5728 deplibs_check_method
="$deplibs_check_method" \
5729 file_magic_cmd
="$file_magic_cmd" \
5730 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
5731 --build="$build" --add-tag=GCJ
$ac_aux_dir/ltcf-gcj.sh
$host \
5732 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
5733 echo "$as_me: error: libtool tag configuration failed" >&2;}
5734 { (exit 1); exit 1; }; }
5736 CFLAGS
="$lt_save_CFLAGS"
5738 # Redirect the config.log output again, so that the ltconfig log is not
5739 # clobbered by the next message.
5740 exec 5>>.
/config.log
5744 if test "x$CC" != xcc
; then
5745 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
5746 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
5748 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
5749 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
5751 set dummy
$CC; ac_cc
=`echo $2 |
5752 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5753 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
5754 echo $ECHO_N "(cached) $ECHO_C" >&6
5756 cat >conftest.
$ac_ext <<_ACEOF
5759 cat confdefs.h
>>conftest.
$ac_ext
5760 cat >>conftest.
$ac_ext <<_ACEOF
5761 /* end confdefs.h. */
5771 # Make sure it works both with $CC and with simple cc.
5772 # We do the test twice because some compilers refuse to overwrite an
5773 # existing .o file with -o, though they will create one.
5774 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
5775 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5779 (exit $ac_status); } &&
5780 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5784 (exit $ac_status); };
5786 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
5787 if test "x$CC" != xcc
; then
5788 # Test first that cc exists at all.
5789 if { ac_try
='cc -c conftest.$ac_ext >&5'
5790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5794 (exit $ac_status); }; }; then
5795 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
5796 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5800 (exit $ac_status); } &&
5801 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5805 (exit $ac_status); };
5810 # cc exists but doesn't like -o.
5811 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
5816 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
5821 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
5822 echo "$as_me:$LINENO: result: yes" >&5
5823 echo "${ECHO_T}yes" >&6
5825 echo "$as_me:$LINENO: result: no" >&5
5826 echo "${ECHO_T}no" >&6
5828 cat >>confdefs.h
<<\_ACEOF
5829 #define NO_MINUS_C_MINUS_O 1
5834 # FIXME: we rely on the cache variable name because
5835 # there is no other way.
5837 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5838 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
5839 # Losing compiler, so override with the script.
5840 # FIXME: It is wrong to rewrite CC.
5841 # But if we don't then we get into trouble of one sort or another.
5842 # A longer-term fix would be to have automake use am__CC in this case,
5843 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5844 CC
="$am_aux_dir/compile $CC"
5850 subdirs
="$subdirs classpath libltdl"
5853 # The -no-testsuite modules omit the test subdir.
5856 if test -d $srcdir/testsuite
; then
5858 TESTSUBDIR_FALSE
='#'
5865 # Should the runtime set system properties by examining the
5866 # environment variable GCJ_PROPERTIES?
5867 # Check whether --enable-getenv-properties or --disable-getenv-properties was given.
5868 if test "${enable_getenv_properties+set}" = set; then
5869 enableval
="$enable_getenv_properties"
5873 # Whether GCJ_PROPERTIES is used depends on the target.
5874 if test -z "$enable_getenv_properties"; then
5875 enable_getenv_properties
=${enable_getenv_properties_default-yes}
5877 if test "$enable_getenv_properties" = no
; then
5879 cat >>confdefs.h
<<\_ACEOF
5880 #define DISABLE_GETENV_PROPERTIES 1
5885 # Whether we should use arguments to main()
5886 if test -z "$enable_main_args"; then
5887 enable_main_args
=${enable_main_args_default-yes}
5889 if test "$enable_main_args" = no
; then
5891 cat >>confdefs.h
<<\_ACEOF
5892 #define DISABLE_MAIN_ARGS 1
5898 # Should we use hashtable-based synchronization?
5899 # Currently works only for Linux X86/ia64
5900 # Typically faster and more space-efficient
5901 # Check whether --enable-hash-synchronization or --disable-hash-synchronization was given.
5902 if test "${enable_hash_synchronization+set}" = set; then
5903 enableval
="$enable_hash_synchronization"
5907 if test -z "$enable_hash_synchronization"; then
5908 enable_hash_synchronization
=$enable_hash_synchronization_default
5912 # Check whether --with-java-home or --without-java-home was given.
5913 if test "${with_java_home+set}" = set; then
5914 withval
="$with_java_home"
5915 JAVA_HOME
="${withval}"
5921 if test ! -z "$JAVA_HOME"; then
5923 JAVA_HOME_SET_FALSE
='#'
5925 JAVA_HOME_SET_TRUE
='#'
5926 JAVA_HOME_SET_FALSE
=
5931 # What is the native OS API for MinGW?
5933 # Check whether --with-win32-nlsapi or --without-win32-nlsapi was given.
5934 if test "${with_win32_nlsapi+set}" = set; then
5935 withval
="$with_win32_nlsapi"
5936 case "${withval}" in
5937 ansi
) with_win32_nlsapi
=ansi
;;
5938 unicows
) with_win32_nlsapi
=unicows
;;
5939 unicode
) with_win32_nlsapi
=unicode
;;
5940 *) { { echo "$as_me:$LINENO: error: Bad value ${withval} for --with-win32-nlsapi." >&5
5941 echo "$as_me: error: Bad value ${withval} for --with-win32-nlsapi." >&2;}
5942 { (exit 1); exit 1; }; } ;;
5945 with_win32_nlsapi
=ansi
5948 case "${with_win32_nlsapi}" in
5951 cat >>confdefs.h
<<\_ACEOF
5952 #define MINGW_LIBGCJ_UNICODE 1
5958 # configure.host sets slow_pthread_self if the synchronization code should
5959 # try to avoid pthread_self calls by caching thread IDs in a hashtable.
5960 if test "${slow_pthread_self}" = "yes"; then
5962 cat >>confdefs.h
<<\_ACEOF
5963 #define SLOW_PTHREAD_SELF 1
5968 # Check for gc debugging. This option is handled both here and in the GC.
5969 # Check whether --enable-gc-debug or --disable-gc-debug was given.
5970 if test "${enable_gc_debug+set}" = set; then
5971 enableval
="$enable_gc_debug"
5972 if test "$enable_gc_debug" = "yes"; then
5974 cat >>confdefs.h
<<\_ACEOF
5975 #define LIBGCJ_GC_DEBUG 1
5981 # See if the user has the interpreter included.
5982 # Check whether --enable-interpreter or --disable-interpreter was given.
5983 if test "${enable_interpreter+set}" = set; then
5984 enableval
="$enable_interpreter"
5985 if test "$enable_interpreter" = yes; then
5986 # This can also be set in configure.host.
5987 libgcj_interpreter
=yes
5988 elif test "$enable_interpreter" = no
; then
5989 libgcj_interpreter
=no
5993 if test "$libgcj_interpreter" = yes; then
5995 cat >>confdefs.h
<<\_ACEOF
5996 #define INTERPRETER 1
6000 INTERPRETER
="$libgcj_interpreter"
6003 echo "$as_me:$LINENO: checking for exception model to use" >&5
6004 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
6006 ac_cpp
='$CXXCPP $CPPFLAGS'
6007 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6008 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6009 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6011 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
6012 if test "${enable_sjlj_exceptions+set}" = set; then
6013 enableval
="$enable_sjlj_exceptions"
6016 cat > conftest.
$ac_ext << EOF
6017 #line 6017 "configure"
6026 old_CXXFLAGS
="$CXXFLAGS"
6028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6029 (eval $ac_compile) 2>&5
6031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6032 (exit $ac_status); }; then
6033 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1 ; then
6034 enable_sjlj_exceptions
=yes
6035 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1 ; then
6036 enable_sjlj_exceptions
=no
6039 CXXFLAGS
="$old_CXXFLAGS"
6042 if test x
$enable_sjlj_exceptions = xyes
; then
6044 cat >>confdefs.h
<<\_ACEOF
6045 #define SJLJ_EXCEPTIONS 1
6048 ac_exception_model_name
=sjlj
6049 elif test x
$enable_sjlj_exceptions = xno
; then
6050 ac_exception_model_name
="call frame"
6052 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
6053 echo "$as_me: error: unable to detect exception model" >&2;}
6054 { (exit 1); exit 1; }; }
6057 ac_cpp
='$CPP $CPPFLAGS'
6058 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6059 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6060 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6062 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
6063 echo "${ECHO_T}$ac_exception_model_name" >&6
6065 # If we are non using SJLJ exceptions, and this host does not have support
6066 # for unwinding from a signal handler, enable checked dereferences and divides.
6067 if test $can_unwind_signal = no
&& test $enable_sjlj_exceptions = no
; then
6068 CHECKREFSPEC
=-fcheck-references
6069 DIVIDESPEC
=-fuse-divide-subroutine
6073 # See if the user wants to disable java.net. This is the mildly
6074 # ugly way that we admit that target-side configuration sucks.
6075 # Check whether --enable-java-net or --disable-java-net was given.
6076 if test "${enable_java_net+set}" = set; then
6077 enableval
="$enable_java_net"
6081 # Whether java.net is built by default can depend on the target.
6082 if test -z "$enable_java_net"; then
6083 enable_java_net
=${enable_java_net_default-yes}
6085 if test "$enable_java_net" = no
; then
6087 cat >>confdefs.h
<<\_ACEOF
6088 #define DISABLE_JAVA_NET 1
6093 # See if the user wants to configure without libffi. Some
6094 # architectures don't support it, and default values are set in
6097 # Check whether --with-libffi or --without-libffi was given.
6098 if test "${with_libffi+set}" = set; then
6099 withval
="$with_libffi"
6102 with_libffi
=${with_libffi_default-yes}
6107 if test "$with_libffi" != no
; then
6109 cat >>confdefs.h
<<\_ACEOF
6110 #define USE_LIBFFI 1
6113 LIBFFI
=..
/libffi
/libffi_convenience.la
6114 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
6119 # See if the user wants to disable JVMPI support.
6120 # Check whether --enable-jvmpi or --disable-jvmpi was given.
6121 if test "${enable_jvmpi+set}" = set; then
6122 enableval
="$enable_jvmpi"
6126 if test "$enable_jvmpi" != no
; then
6128 cat >>confdefs.h
<<\_ACEOF
6129 #define ENABLE_JVMPI 1
6134 # If the target is an eCos system, use the appropriate eCos
6136 # FIXME: this should not be a local option but a global target
6137 # system; at present there is no eCos target.
6138 TARGET_ECOS
=${PROCESS-"no"}
6140 # Check whether --with-ecos or --without-ecos was given.
6141 if test "${with_ecos+set}" = set; then
6142 withval
="$with_ecos"
6143 TARGET_ECOS
="$with_ecos"
6149 PLATFORM_INNER_NAT_HDRS
=
6150 case "$TARGET_ECOS" in
6157 echo "$as_me:$LINENO: checking whether 'ld' is at least 2.13" >&5
6158 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6
6159 LD_PROG
=`$CC --print-prog-name=ld`
6160 LD_VERSION
=`$LD_PROG --version`
6161 LD_VERSION_MAJOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
6162 LD_VERSION_MINOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
6163 if expr "$LD_VERSION_MAJOR" \
> 2 > /dev
/null
; then
6166 if expr "$LD_VERSION_MAJOR" = 2 && expr "$LD_VERSION_MINOR" \
>= 13 > /dev
/null
; then
6170 if test "x$LD_OK" != x
; then
6171 echo "$as_me:$LINENO: result: yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
6172 echo "${ECHO_T}yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
6174 echo "$as_me:$LINENO: result: no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
6175 echo "${ECHO_T}no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
6176 { echo "$as_me:$LINENO: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&5
6177 echo "$as_me: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&2;}
6179 cat >>confdefs.h
<<\_ACEOF
6180 #define JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS 1
6189 PLATFORM_INNER_NAT_HDRS
='java/lang/ConcreteProcess$$ProcessManager.h'
6197 cat >>confdefs.h
<<\_ACEOF
6205 ac_config_links
="$ac_config_links include/platform.h:include/$PLATFORMH"
6209 ac_cpp
='$CPP $CPPFLAGS'
6210 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6211 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6212 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6213 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6214 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6215 # On Suns, sometimes $CPP names a directory.
6216 if test -n "$CPP" && test -d "$CPP"; then
6219 if test -z "$CPP"; then
6220 if test "${ac_cv_prog_CPP+set}" = set; then
6221 echo $ECHO_N "(cached) $ECHO_C" >&6
6223 # Double quotes because CPP needs to be expanded
6224 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6227 for ac_c_preproc_warn_flag
in '' yes
6229 # Use a header file that comes with gcc, so configuring glibc
6230 # with a fresh cross-compiler works.
6231 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6232 # <limits.h> exists even on freestanding compilers.
6233 # On the NeXT, cc -E runs the code through the compiler's parser,
6234 # not just through cpp. "Syntax error" is here to catch this case.
6235 cat >conftest.
$ac_ext <<_ACEOF
6238 cat confdefs.h
>>conftest.
$ac_ext
6239 cat >>conftest.
$ac_ext <<_ACEOF
6240 /* end confdefs.h. */
6242 # include <limits.h>
6244 # include <assert.h>
6248 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6249 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6251 grep -v '^ *+' conftest.er1
>conftest.err
6253 cat conftest.err
>&5
6254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6255 (exit $ac_status); } >/dev
/null
; then
6256 if test -s conftest.err
; then
6257 ac_cpp_err
=$ac_c_preproc_warn_flag
6258 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6265 if test -z "$ac_cpp_err"; then
6268 echo "$as_me: failed program was:" >&5
6269 sed 's/^/| /' conftest.
$ac_ext >&5
6271 # Broken: fails on valid input.
6274 rm -f conftest.err conftest.
$ac_ext
6276 # OK, works on sane cases. Now check whether non-existent headers
6277 # can be detected and how.
6278 cat >conftest.
$ac_ext <<_ACEOF
6281 cat confdefs.h
>>conftest.
$ac_ext
6282 cat >>conftest.
$ac_ext <<_ACEOF
6283 /* end confdefs.h. */
6284 #include <ac_nonexistent.h>
6286 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6287 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6289 grep -v '^ *+' conftest.er1
>conftest.err
6291 cat conftest.err
>&5
6292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293 (exit $ac_status); } >/dev
/null
; then
6294 if test -s conftest.err
; then
6295 ac_cpp_err
=$ac_c_preproc_warn_flag
6296 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6303 if test -z "$ac_cpp_err"; then
6304 # Broken: success on invalid input.
6307 echo "$as_me: failed program was:" >&5
6308 sed 's/^/| /' conftest.
$ac_ext >&5
6310 # Passes both tests.
6314 rm -f conftest.err conftest.
$ac_ext
6317 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6318 rm -f conftest.err conftest.
$ac_ext
6319 if $ac_preproc_ok; then
6331 echo "$as_me:$LINENO: result: $CPP" >&5
6332 echo "${ECHO_T}$CPP" >&6
6334 for ac_c_preproc_warn_flag
in '' yes
6336 # Use a header file that comes with gcc, so configuring glibc
6337 # with a fresh cross-compiler works.
6338 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6339 # <limits.h> exists even on freestanding compilers.
6340 # On the NeXT, cc -E runs the code through the compiler's parser,
6341 # not just through cpp. "Syntax error" is here to catch this case.
6342 cat >conftest.
$ac_ext <<_ACEOF
6345 cat confdefs.h
>>conftest.
$ac_ext
6346 cat >>conftest.
$ac_ext <<_ACEOF
6347 /* end confdefs.h. */
6349 # include <limits.h>
6351 # include <assert.h>
6355 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6356 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6358 grep -v '^ *+' conftest.er1
>conftest.err
6360 cat conftest.err
>&5
6361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362 (exit $ac_status); } >/dev
/null
; then
6363 if test -s conftest.err
; then
6364 ac_cpp_err
=$ac_c_preproc_warn_flag
6365 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6372 if test -z "$ac_cpp_err"; then
6375 echo "$as_me: failed program was:" >&5
6376 sed 's/^/| /' conftest.
$ac_ext >&5
6378 # Broken: fails on valid input.
6381 rm -f conftest.err conftest.
$ac_ext
6383 # OK, works on sane cases. Now check whether non-existent headers
6384 # can be detected and how.
6385 cat >conftest.
$ac_ext <<_ACEOF
6388 cat confdefs.h
>>conftest.
$ac_ext
6389 cat >>conftest.
$ac_ext <<_ACEOF
6390 /* end confdefs.h. */
6391 #include <ac_nonexistent.h>
6393 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6394 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6396 grep -v '^ *+' conftest.er1
>conftest.err
6398 cat conftest.err
>&5
6399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6400 (exit $ac_status); } >/dev
/null
; then
6401 if test -s conftest.err
; then
6402 ac_cpp_err
=$ac_c_preproc_warn_flag
6403 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6410 if test -z "$ac_cpp_err"; then
6411 # Broken: success on invalid input.
6414 echo "$as_me: failed program was:" >&5
6415 sed 's/^/| /' conftest.
$ac_ext >&5
6417 # Passes both tests.
6421 rm -f conftest.err conftest.
$ac_ext
6424 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6425 rm -f conftest.err conftest.
$ac_ext
6426 if $ac_preproc_ok; then
6429 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6430 See \`config.log' for more details." >&5
6431 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6432 See \`config.log' for more details." >&2;}
6433 { (exit 1); exit 1; }; }
6437 ac_cpp
='$CPP $CPPFLAGS'
6438 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6439 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6440 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6443 echo "$as_me:$LINENO: checking for egrep" >&5
6444 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6445 if test "${ac_cv_prog_egrep+set}" = set; then
6446 echo $ECHO_N "(cached) $ECHO_C" >&6
6448 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
6449 then ac_cv_prog_egrep
='grep -E'
6450 else ac_cv_prog_egrep
='egrep'
6453 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6454 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6455 EGREP
=$ac_cv_prog_egrep
6458 cat >conftest.
$ac_ext <<_ACEOF
6461 cat confdefs.h
>>conftest.
$ac_ext
6462 cat >>conftest.
$ac_ext <<_ACEOF
6463 /* end confdefs.h. */
6467 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6468 $EGREP "uint32_t" >/dev
/null
2>&1; then
6470 cat >>confdefs.h
<<\_ACEOF
6471 #define HAVE_INT32_DEFINED 1
6477 cat >conftest.
$ac_ext <<_ACEOF
6480 cat confdefs.h
>>conftest.
$ac_ext
6481 cat >>conftest.
$ac_ext <<_ACEOF
6482 /* end confdefs.h. */
6483 #include <inttypes.h>
6486 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6487 $EGREP "uint32_t" >/dev
/null
2>&1; then
6489 cat >>confdefs.h
<<\_ACEOF
6490 #define HAVE_INT32_DEFINED 1
6496 cat >conftest.
$ac_ext <<_ACEOF
6499 cat confdefs.h
>>conftest.
$ac_ext
6500 cat >>conftest.
$ac_ext <<_ACEOF
6501 /* end confdefs.h. */
6502 #include <sys/types.h>
6505 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6506 $EGREP "u_int32_t" >/dev
/null
2>&1; then
6508 cat >>confdefs.h
<<\_ACEOF
6509 #define HAVE_BSD_INT32_DEFINED 1
6515 cat >conftest.
$ac_ext <<_ACEOF
6518 cat confdefs.h
>>conftest.
$ac_ext
6519 cat >>conftest.
$ac_ext <<_ACEOF
6520 /* end confdefs.h. */
6521 #include <sys/config.h>
6524 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6525 $EGREP "u_int32_t" >/dev
/null
2>&1; then
6527 cat >>confdefs.h
<<\_ACEOF
6528 #define HAVE_BSD_INT32_DEFINED 1
6537 if test "$PLATFORM" = Win32
; then
6538 USING_WIN32_PLATFORM_TRUE
=
6539 USING_WIN32_PLATFORM_FALSE
='#'
6541 USING_WIN32_PLATFORM_TRUE
='#'
6542 USING_WIN32_PLATFORM_FALSE
=
6547 if test "$PLATFORM" = Posix ||
test "$PLATFORM" = Ecos
; then
6548 USING_POSIX_PLATFORM_TRUE
=
6549 USING_POSIX_PLATFORM_FALSE
='#'
6551 USING_POSIX_PLATFORM_TRUE
='#'
6552 USING_POSIX_PLATFORM_FALSE
=
6557 *-darwin*) DARWIN_CRT
=true
;;
6558 *) DARWIN_CRT
=false
;;
6562 if $DARWIN_CRT; then
6563 USING_DARWIN_CRT_TRUE
=
6564 USING_DARWIN_CRT_FALSE
='#'
6566 USING_DARWIN_CRT_TRUE
='#'
6567 USING_DARWIN_CRT_FALSE
=
6571 # These may not be defined in a non-ANS conformant embedded system.
6572 # FIXME: Should these case a runtime exception in that case?
6573 cat >conftest.
$ac_ext <<_ACEOF
6576 cat confdefs.h
>>conftest.
$ac_ext
6577 cat >>conftest.
$ac_ext <<_ACEOF
6578 /* end confdefs.h. */
6582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6583 $EGREP "mktime" >/dev
/null
2>&1; then
6585 cat >>confdefs.h
<<\_ACEOF
6586 #define HAVE_MKTIME 1
6592 cat >conftest.
$ac_ext <<_ACEOF
6595 cat confdefs.h
>>conftest.
$ac_ext
6596 cat >>conftest.
$ac_ext <<_ACEOF
6597 /* end confdefs.h. */
6601 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6602 $EGREP "localtime" >/dev
/null
2>&1; then
6604 cat >>confdefs.h
<<\_ACEOF
6605 #define HAVE_LOCALTIME 1
6612 # Create the subdirectory for natFile.cc, or the attempt
6613 # to create the link will fail.
6614 test -d java || mkdir java
6615 test -d java
/io || mkdir java
/io
6616 test -d gnu || mkdir gnu
6617 ac_config_links
="$ac_config_links java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc"
6620 # Likewise for ConcreteProcess.java and natConcreteProcess.cc.
6621 test -d java
/lang || mkdir java
/lang
6622 ac_config_links
="$ac_config_links java/lang/ConcreteProcess.java:java/lang/${PLATFORM}Process.java"
6624 ac_config_links
="$ac_config_links java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc"
6627 # Likewise for natInetAddress.cc and natVMNetworkInterface.cc.
6628 test -d java
/net || mkdir java
/net
6629 ac_config_links
="$ac_config_links java/net/natInetAddress.cc:java/net/natInetAddress${PLATFORMNET}.cc"
6631 ac_config_links
="$ac_config_links java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc"
6634 # Likewise for natPlainSocketImpl.cc and natPlainDatagramSocketImpl.cc.
6635 test -d gnu
/java || mkdir gnu
/java
6636 test -d gnu
/java
/net || mkdir gnu
/java
/net
6637 ac_config_links
="$ac_config_links gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc"
6639 ac_config_links
="$ac_config_links gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc"
6642 # Likewise for natPipeImpl.cc and natSelectorImpl.cc.
6643 test -d gnu
/java
/nio || mkdir gnu
/java
/nio
6644 ac_config_links
="$ac_config_links gnu/java/nio/natPipeImpl.cc:gnu/java/nio/natPipeImpl${PLATFORM}.cc"
6646 ac_config_links
="$ac_config_links gnu/java/nio/natSelectorImpl.cc:gnu/java/nio/natSelectorImpl${PLATFORM}.cc"
6648 test -d gnu
/java
/nio
/channels || mkdir gnu
/java
/nio
/channels
6649 ac_config_links
="$ac_config_links gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc"
6654 SYSTEMSPEC
="-lgdi32 -lws2_32"
6655 if test "${with_win32_nlsapi}" = "unicows"; then
6656 SYSTEMSPEC
="-lunicows $SYSTEMSPEC"
6665 LIBGCJTESTSPEC
="-L`${PWDCMD-pwd}`/.libs -rpath `${PWDCMD-pwd}`/.libs"
6669 # Check whether --with-system-zlib or --without-system-zlib was given.
6670 if test "${with_system_zlib+set}" = set; then
6671 withval
="$with_system_zlib"
6679 echo "$as_me:$LINENO: checking for X" >&5
6680 echo $ECHO_N "checking for X... $ECHO_C" >&6
6683 # Check whether --with-x or --without-x was given.
6684 if test "${with_x+set}" = set; then
6688 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
6689 if test "x$with_x" = xno
; then
6690 # The user explicitly disabled X.
6693 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
6694 # Both variables are already set.
6697 if test "${ac_cv_have_x+set}" = set; then
6698 echo $ECHO_N "(cached) $ECHO_C" >&6
6700 # One or both of the vars are not set, and there is no cached value.
6701 ac_x_includes
=no ac_x_libraries
=no
6703 if mkdir conftest.dir
; then
6705 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
6706 cat >Imakefile
<<'_ACEOF'
6708 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
6710 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
6711 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6712 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
6713 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
6714 for ac_extension
in a so sl
; do
6715 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
6716 test -f $ac_im_libdir/libX11.
$ac_extension; then
6717 ac_im_usrlibdir
=$ac_im_libdir; break
6720 # Screen out bogus values from the imake configuration. They are
6721 # bogus both because they are the default anyway, and because
6722 # using them would break gcc on systems where it needs fixed includes.
6723 case $ac_im_incroot in
6725 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
6727 case $ac_im_usrlibdir in
6729 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
6736 # Standard set of common directories for X headers.
6737 # Check X11 before X11Rn because it is often a symlink to the current release.
6749 /usr/local/X11/include
6750 /usr/local/X11R6/include
6751 /usr/local/X11R5/include
6752 /usr/local/X11R4/include
6754 /usr/local/include/X11
6755 /usr/local/include/X11R6
6756 /usr/local/include/X11R5
6757 /usr/local/include/X11R4
6761 /usr/XFree86/include/X11
6765 /usr/unsupported/include
6767 /usr/local/x11r5/include
6768 /usr/lpp/Xamples/include
6770 /usr/openwin/include
6771 /usr/openwin/share/include'
6773 if test "$ac_x_includes" = no
; then
6774 # Guess where to find include files, by looking for Intrinsic.h.
6775 # First, try using that file with no special directory specified.
6776 cat >conftest.
$ac_ext <<_ACEOF
6779 cat confdefs.h
>>conftest.
$ac_ext
6780 cat >>conftest.
$ac_ext <<_ACEOF
6781 /* end confdefs.h. */
6782 #include <X11/Intrinsic.h>
6784 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6785 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6787 grep -v '^ *+' conftest.er1
>conftest.err
6789 cat conftest.err
>&5
6790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6791 (exit $ac_status); } >/dev
/null
; then
6792 if test -s conftest.err
; then
6793 ac_cpp_err
=$ac_c_preproc_warn_flag
6794 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6801 if test -z "$ac_cpp_err"; then
6802 # We can compile using X headers with no special include directory.
6805 echo "$as_me: failed program was:" >&5
6806 sed 's/^/| /' conftest.
$ac_ext >&5
6808 for ac_dir
in $ac_x_header_dirs; do
6809 if test -r "$ac_dir/X11/Intrinsic.h"; then
6810 ac_x_includes
=$ac_dir
6815 rm -f conftest.err conftest.
$ac_ext
6816 fi # $ac_x_includes = no
6818 if test "$ac_x_libraries" = no
; then
6819 # Check for the libraries.
6820 # See if we find them without any special options.
6821 # Don't add to $LIBS permanently.
6824 if test x
$gcc_no_link = xyes
; then
6825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6827 { (exit 1); exit 1; }; }
6829 cat >conftest.
$ac_ext <<_ACEOF
6832 cat confdefs.h
>>conftest.
$ac_ext
6833 cat >>conftest.
$ac_ext <<_ACEOF
6834 /* end confdefs.h. */
6835 #include <X11/Intrinsic.h>
6844 rm -f conftest.
$ac_objext conftest
$ac_exeext
6845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6846 (eval $ac_link) 2>conftest.er1
6848 grep -v '^ *+' conftest.er1
>conftest.err
6850 cat conftest.err
>&5
6851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852 (exit $ac_status); } &&
6853 { ac_try
='test -z "$ac_c_werror_flag"
6854 || test ! -s conftest.err'
6855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6859 (exit $ac_status); }; } &&
6860 { ac_try
='test -s conftest$ac_exeext'
6861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6865 (exit $ac_status); }; }; then
6867 # We can link X programs with no special library path.
6870 echo "$as_me: failed program was:" >&5
6871 sed 's/^/| /' conftest.
$ac_ext >&5
6874 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
6876 # Don't even attempt the hair of trying to link an X program!
6877 for ac_extension
in a so sl
; do
6878 if test -r $ac_dir/libXt.
$ac_extension; then
6879 ac_x_libraries
=$ac_dir
6885 rm -f conftest.err conftest.
$ac_objext \
6886 conftest
$ac_exeext conftest.
$ac_ext
6887 fi # $ac_x_libraries = no
6889 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
6890 # Didn't find X anywhere. Cache the known absence of X.
6891 ac_cv_have_x
="have_x=no"
6893 # Record where we found X for the cache.
6894 ac_cv_have_x
="have_x=yes \
6895 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
6900 eval "$ac_cv_have_x"
6903 if test "$have_x" != yes; then
6904 echo "$as_me:$LINENO: result: $have_x" >&5
6905 echo "${ECHO_T}$have_x" >&6
6908 # If each of the values was on the command line, it overrides each guess.
6909 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
6910 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
6911 # Update the cache value to reflect the command line values.
6912 ac_cv_have_x
="have_x=yes \
6913 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
6914 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
6915 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
6918 if test "$no_x" = yes; then
6919 # Not all programs may use this symbol, but it does not hurt to define it.
6921 cat >>confdefs.h
<<\_ACEOF
6922 #define X_DISPLAY_MISSING 1
6925 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
6927 if test -n "$x_includes"; then
6928 X_CFLAGS
="$X_CFLAGS -I$x_includes"
6931 # It would also be nice to do this for all -L options, not just this one.
6932 if test -n "$x_libraries"; then
6933 X_LIBS
="$X_LIBS -L$x_libraries"
6934 # For Solaris; some versions of Sun CC require a space after -R and
6935 # others require no space. Words are not sufficient . . . .
6936 case `(uname -sr) 2>/dev/null` in
6938 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
6939 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
6940 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
6941 if test x
$gcc_no_link = xyes
; then
6942 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6944 { (exit 1); exit 1; }; }
6946 cat >conftest.
$ac_ext <<_ACEOF
6949 cat confdefs.h
>>conftest.
$ac_ext
6950 cat >>conftest.
$ac_ext <<_ACEOF
6951 /* end confdefs.h. */
6961 rm -f conftest.
$ac_objext conftest
$ac_exeext
6962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6963 (eval $ac_link) 2>conftest.er1
6965 grep -v '^ *+' conftest.er1
>conftest.err
6967 cat conftest.err
>&5
6968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6969 (exit $ac_status); } &&
6970 { ac_try
='test -z "$ac_c_werror_flag"
6971 || test ! -s conftest.err'
6972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6976 (exit $ac_status); }; } &&
6977 { ac_try
='test -s conftest$ac_exeext'
6978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982 (exit $ac_status); }; }; then
6985 echo "$as_me: failed program was:" >&5
6986 sed 's/^/| /' conftest.
$ac_ext >&5
6990 rm -f conftest.err conftest.
$ac_objext \
6991 conftest
$ac_exeext conftest.
$ac_ext
6992 if test $ac_R_nospace = yes; then
6993 echo "$as_me:$LINENO: result: no" >&5
6994 echo "${ECHO_T}no" >&6
6995 X_LIBS
="$X_LIBS -R$x_libraries"
6997 LIBS
="$ac_xsave_LIBS -R $x_libraries"
6998 if test x
$gcc_no_link = xyes
; then
6999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7001 { (exit 1); exit 1; }; }
7003 cat >conftest.
$ac_ext <<_ACEOF
7006 cat confdefs.h
>>conftest.
$ac_ext
7007 cat >>conftest.
$ac_ext <<_ACEOF
7008 /* end confdefs.h. */
7018 rm -f conftest.
$ac_objext conftest
$ac_exeext
7019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7020 (eval $ac_link) 2>conftest.er1
7022 grep -v '^ *+' conftest.er1
>conftest.err
7024 cat conftest.err
>&5
7025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7026 (exit $ac_status); } &&
7027 { ac_try
='test -z "$ac_c_werror_flag"
7028 || test ! -s conftest.err'
7029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7033 (exit $ac_status); }; } &&
7034 { ac_try
='test -s conftest$ac_exeext'
7035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7039 (exit $ac_status); }; }; then
7042 echo "$as_me: failed program was:" >&5
7043 sed 's/^/| /' conftest.
$ac_ext >&5
7047 rm -f conftest.err conftest.
$ac_objext \
7048 conftest
$ac_exeext conftest.
$ac_ext
7049 if test $ac_R_space = yes; then
7050 echo "$as_me:$LINENO: result: yes" >&5
7051 echo "${ECHO_T}yes" >&6
7052 X_LIBS
="$X_LIBS -R $x_libraries"
7054 echo "$as_me:$LINENO: result: neither works" >&5
7055 echo "${ECHO_T}neither works" >&6
7062 # Check for system-dependent libraries X programs must link with.
7063 # Do this before checking for the system-independent R6 libraries
7064 # (-lICE), since we may need -lsocket or whatever for X linking.
7066 if test "$ISC" = yes; then
7067 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7069 # Martyn Johnson says this is needed for Ultrix, if the X
7070 # libraries were built with DECnet support. And Karl Berry says
7071 # the Alpha needs dnet_stub (dnet does not exist).
7072 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
7073 if test x
$gcc_no_link = xyes
; then
7074 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7076 { (exit 1); exit 1; }; }
7078 cat >conftest.
$ac_ext <<_ACEOF
7081 cat confdefs.h
>>conftest.
$ac_ext
7082 cat >>conftest.
$ac_ext <<_ACEOF
7083 /* end confdefs.h. */
7085 /* Override any gcc2 internal prototype to avoid an error. */
7089 /* We use char because int might match the return type of a gcc2
7090 builtin and then its argument prototype would still apply. */
7091 char XOpenDisplay ();
7100 rm -f conftest.
$ac_objext conftest
$ac_exeext
7101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7102 (eval $ac_link) 2>conftest.er1
7104 grep -v '^ *+' conftest.er1
>conftest.err
7106 cat conftest.err
>&5
7107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7108 (exit $ac_status); } &&
7109 { ac_try
='test -z "$ac_c_werror_flag"
7110 || test ! -s conftest.err'
7111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7115 (exit $ac_status); }; } &&
7116 { ac_try
='test -s conftest$ac_exeext'
7117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7121 (exit $ac_status); }; }; then
7124 echo "$as_me: failed program was:" >&5
7125 sed 's/^/| /' conftest.
$ac_ext >&5
7127 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
7128 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
7129 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
7130 echo $ECHO_N "(cached) $ECHO_C" >&6
7132 ac_check_lib_save_LIBS
=$LIBS
7134 if test x
$gcc_no_link = xyes
; then
7135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7137 { (exit 1); exit 1; }; }
7139 cat >conftest.
$ac_ext <<_ACEOF
7142 cat confdefs.h
>>conftest.
$ac_ext
7143 cat >>conftest.
$ac_ext <<_ACEOF
7144 /* end confdefs.h. */
7146 /* Override any gcc2 internal prototype to avoid an error. */
7150 /* We use char because int might match the return type of a gcc2
7151 builtin and then its argument prototype would still apply. */
7161 rm -f conftest.
$ac_objext conftest
$ac_exeext
7162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7163 (eval $ac_link) 2>conftest.er1
7165 grep -v '^ *+' conftest.er1
>conftest.err
7167 cat conftest.err
>&5
7168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7169 (exit $ac_status); } &&
7170 { ac_try
='test -z "$ac_c_werror_flag"
7171 || test ! -s conftest.err'
7172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7176 (exit $ac_status); }; } &&
7177 { ac_try
='test -s conftest$ac_exeext'
7178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7182 (exit $ac_status); }; }; then
7183 ac_cv_lib_dnet_dnet_ntoa
=yes
7185 echo "$as_me: failed program was:" >&5
7186 sed 's/^/| /' conftest.
$ac_ext >&5
7188 ac_cv_lib_dnet_dnet_ntoa
=no
7190 rm -f conftest.err conftest.
$ac_objext \
7191 conftest
$ac_exeext conftest.
$ac_ext
7192 LIBS
=$ac_check_lib_save_LIBS
7194 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7195 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
7196 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
7197 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7200 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7201 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
7202 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
7203 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
7204 echo $ECHO_N "(cached) $ECHO_C" >&6
7206 ac_check_lib_save_LIBS
=$LIBS
7207 LIBS
="-ldnet_stub $LIBS"
7208 if test x
$gcc_no_link = xyes
; then
7209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7211 { (exit 1); exit 1; }; }
7213 cat >conftest.
$ac_ext <<_ACEOF
7216 cat confdefs.h
>>conftest.
$ac_ext
7217 cat >>conftest.
$ac_ext <<_ACEOF
7218 /* end confdefs.h. */
7220 /* Override any gcc2 internal prototype to avoid an error. */
7224 /* We use char because int might match the return type of a gcc2
7225 builtin and then its argument prototype would still apply. */
7235 rm -f conftest.
$ac_objext conftest
$ac_exeext
7236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7237 (eval $ac_link) 2>conftest.er1
7239 grep -v '^ *+' conftest.er1
>conftest.err
7241 cat conftest.err
>&5
7242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7243 (exit $ac_status); } &&
7244 { ac_try
='test -z "$ac_c_werror_flag"
7245 || test ! -s conftest.err'
7246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7250 (exit $ac_status); }; } &&
7251 { ac_try
='test -s conftest$ac_exeext'
7252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7256 (exit $ac_status); }; }; then
7257 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
7259 echo "$as_me: failed program was:" >&5
7260 sed 's/^/| /' conftest.
$ac_ext >&5
7262 ac_cv_lib_dnet_stub_dnet_ntoa
=no
7264 rm -f conftest.err conftest.
$ac_objext \
7265 conftest
$ac_exeext conftest.
$ac_ext
7266 LIBS
=$ac_check_lib_save_LIBS
7268 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7269 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
7270 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
7271 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7276 rm -f conftest.err conftest.
$ac_objext \
7277 conftest
$ac_exeext conftest.
$ac_ext
7278 LIBS
="$ac_xsave_LIBS"
7280 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7281 # to get the SysV transport functions.
7282 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7284 # The nsl library prevents programs from opening the X display
7285 # on Irix 5.2, according to T.E. Dickey.
7286 # The functions gethostbyname, getservbyname, and inet_addr are
7287 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7288 echo "$as_me:$LINENO: checking for gethostbyname" >&5
7289 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
7290 if test "${ac_cv_func_gethostbyname+set}" = set; then
7291 echo $ECHO_N "(cached) $ECHO_C" >&6
7293 if test x
$gcc_no_link = xyes
; then
7294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7296 { (exit 1); exit 1; }; }
7298 cat >conftest.
$ac_ext <<_ACEOF
7301 cat confdefs.h
>>conftest.
$ac_ext
7302 cat >>conftest.
$ac_ext <<_ACEOF
7303 /* end confdefs.h. */
7304 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
7305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7306 #define gethostbyname innocuous_gethostbyname
7308 /* System header to define __stub macros and hopefully few prototypes,
7309 which can conflict with char gethostbyname (); below.
7310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7311 <limits.h> exists even on freestanding compilers. */
7314 # include <limits.h>
7316 # include <assert.h>
7319 #undef gethostbyname
7321 /* Override any gcc2 internal prototype to avoid an error. */
7326 /* We use char because int might match the return type of a gcc2
7327 builtin and then its argument prototype would still apply. */
7328 char gethostbyname ();
7329 /* The GNU C library defines this for functions which it implements
7330 to always fail with ENOSYS. Some functions are actually named
7331 something starting with __ and the normal name is an alias. */
7332 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7335 char (*f) () = gethostbyname;
7344 return f != gethostbyname;
7349 rm -f conftest.
$ac_objext conftest
$ac_exeext
7350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7351 (eval $ac_link) 2>conftest.er1
7353 grep -v '^ *+' conftest.er1
>conftest.err
7355 cat conftest.err
>&5
7356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7357 (exit $ac_status); } &&
7358 { ac_try
='test -z "$ac_c_werror_flag"
7359 || test ! -s conftest.err'
7360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364 (exit $ac_status); }; } &&
7365 { ac_try
='test -s conftest$ac_exeext'
7366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370 (exit $ac_status); }; }; then
7371 ac_cv_func_gethostbyname
=yes
7373 echo "$as_me: failed program was:" >&5
7374 sed 's/^/| /' conftest.
$ac_ext >&5
7376 ac_cv_func_gethostbyname
=no
7378 rm -f conftest.err conftest.
$ac_objext \
7379 conftest
$ac_exeext conftest.
$ac_ext
7381 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
7382 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
7384 if test $ac_cv_func_gethostbyname = no
; then
7385 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
7386 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
7387 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
7388 echo $ECHO_N "(cached) $ECHO_C" >&6
7390 ac_check_lib_save_LIBS
=$LIBS
7392 if test x
$gcc_no_link = xyes
; then
7393 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7395 { (exit 1); exit 1; }; }
7397 cat >conftest.
$ac_ext <<_ACEOF
7400 cat confdefs.h
>>conftest.
$ac_ext
7401 cat >>conftest.
$ac_ext <<_ACEOF
7402 /* end confdefs.h. */
7404 /* Override any gcc2 internal prototype to avoid an error. */
7408 /* We use char because int might match the return type of a gcc2
7409 builtin and then its argument prototype would still apply. */
7410 char gethostbyname ();
7419 rm -f conftest.
$ac_objext conftest
$ac_exeext
7420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7421 (eval $ac_link) 2>conftest.er1
7423 grep -v '^ *+' conftest.er1
>conftest.err
7425 cat conftest.err
>&5
7426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7427 (exit $ac_status); } &&
7428 { ac_try
='test -z "$ac_c_werror_flag"
7429 || test ! -s conftest.err'
7430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7434 (exit $ac_status); }; } &&
7435 { ac_try
='test -s conftest$ac_exeext'
7436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7440 (exit $ac_status); }; }; then
7441 ac_cv_lib_nsl_gethostbyname
=yes
7443 echo "$as_me: failed program was:" >&5
7444 sed 's/^/| /' conftest.
$ac_ext >&5
7446 ac_cv_lib_nsl_gethostbyname
=no
7448 rm -f conftest.err conftest.
$ac_objext \
7449 conftest
$ac_exeext conftest.
$ac_ext
7450 LIBS
=$ac_check_lib_save_LIBS
7452 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
7453 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
7454 if test $ac_cv_lib_nsl_gethostbyname = yes; then
7455 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7458 if test $ac_cv_lib_nsl_gethostbyname = no
; then
7459 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
7460 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
7461 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
7462 echo $ECHO_N "(cached) $ECHO_C" >&6
7464 ac_check_lib_save_LIBS
=$LIBS
7466 if test x
$gcc_no_link = xyes
; then
7467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7469 { (exit 1); exit 1; }; }
7471 cat >conftest.
$ac_ext <<_ACEOF
7474 cat confdefs.h
>>conftest.
$ac_ext
7475 cat >>conftest.
$ac_ext <<_ACEOF
7476 /* end confdefs.h. */
7478 /* Override any gcc2 internal prototype to avoid an error. */
7482 /* We use char because int might match the return type of a gcc2
7483 builtin and then its argument prototype would still apply. */
7484 char gethostbyname ();
7493 rm -f conftest.
$ac_objext conftest
$ac_exeext
7494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7495 (eval $ac_link) 2>conftest.er1
7497 grep -v '^ *+' conftest.er1
>conftest.err
7499 cat conftest.err
>&5
7500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7501 (exit $ac_status); } &&
7502 { ac_try
='test -z "$ac_c_werror_flag"
7503 || test ! -s conftest.err'
7504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7508 (exit $ac_status); }; } &&
7509 { ac_try
='test -s conftest$ac_exeext'
7510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7514 (exit $ac_status); }; }; then
7515 ac_cv_lib_bsd_gethostbyname
=yes
7517 echo "$as_me: failed program was:" >&5
7518 sed 's/^/| /' conftest.
$ac_ext >&5
7520 ac_cv_lib_bsd_gethostbyname
=no
7522 rm -f conftest.err conftest.
$ac_objext \
7523 conftest
$ac_exeext conftest.
$ac_ext
7524 LIBS
=$ac_check_lib_save_LIBS
7526 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
7527 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
7528 if test $ac_cv_lib_bsd_gethostbyname = yes; then
7529 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
7535 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7536 # socket/setsockopt and other routines are undefined under SCO ODT
7537 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7538 # on later versions), says Simon Leinen: it contains gethostby*
7539 # variants that don't use the name server (or something). -lsocket
7540 # must be given before -lnsl if both are needed. We assume that
7541 # if connect needs -lnsl, so does gethostbyname.
7542 echo "$as_me:$LINENO: checking for connect" >&5
7543 echo $ECHO_N "checking for connect... $ECHO_C" >&6
7544 if test "${ac_cv_func_connect+set}" = set; then
7545 echo $ECHO_N "(cached) $ECHO_C" >&6
7547 if test x
$gcc_no_link = xyes
; then
7548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7550 { (exit 1); exit 1; }; }
7552 cat >conftest.
$ac_ext <<_ACEOF
7555 cat confdefs.h
>>conftest.
$ac_ext
7556 cat >>conftest.
$ac_ext <<_ACEOF
7557 /* end confdefs.h. */
7558 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
7559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7560 #define connect innocuous_connect
7562 /* System header to define __stub macros and hopefully few prototypes,
7563 which can conflict with char connect (); below.
7564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7565 <limits.h> exists even on freestanding compilers. */
7568 # include <limits.h>
7570 # include <assert.h>
7575 /* Override any gcc2 internal prototype to avoid an error. */
7580 /* We use char because int might match the return type of a gcc2
7581 builtin and then its argument prototype would still apply. */
7583 /* The GNU C library defines this for functions which it implements
7584 to always fail with ENOSYS. Some functions are actually named
7585 something starting with __ and the normal name is an alias. */
7586 #if defined (__stub_connect) || defined (__stub___connect)
7589 char (*f) () = connect;
7598 return f != connect;
7603 rm -f conftest.
$ac_objext conftest
$ac_exeext
7604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7605 (eval $ac_link) 2>conftest.er1
7607 grep -v '^ *+' conftest.er1
>conftest.err
7609 cat conftest.err
>&5
7610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7611 (exit $ac_status); } &&
7612 { ac_try
='test -z "$ac_c_werror_flag"
7613 || test ! -s conftest.err'
7614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7618 (exit $ac_status); }; } &&
7619 { ac_try
='test -s conftest$ac_exeext'
7620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7624 (exit $ac_status); }; }; then
7625 ac_cv_func_connect
=yes
7627 echo "$as_me: failed program was:" >&5
7628 sed 's/^/| /' conftest.
$ac_ext >&5
7630 ac_cv_func_connect
=no
7632 rm -f conftest.err conftest.
$ac_objext \
7633 conftest
$ac_exeext conftest.
$ac_ext
7635 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
7636 echo "${ECHO_T}$ac_cv_func_connect" >&6
7638 if test $ac_cv_func_connect = no
; then
7639 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
7640 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
7641 if test "${ac_cv_lib_socket_connect+set}" = set; then
7642 echo $ECHO_N "(cached) $ECHO_C" >&6
7644 ac_check_lib_save_LIBS
=$LIBS
7645 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7646 if test x
$gcc_no_link = xyes
; then
7647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7649 { (exit 1); exit 1; }; }
7651 cat >conftest.
$ac_ext <<_ACEOF
7654 cat confdefs.h
>>conftest.
$ac_ext
7655 cat >>conftest.
$ac_ext <<_ACEOF
7656 /* end confdefs.h. */
7658 /* Override any gcc2 internal prototype to avoid an error. */
7662 /* We use char because int might match the return type of a gcc2
7663 builtin and then its argument prototype would still apply. */
7673 rm -f conftest.
$ac_objext conftest
$ac_exeext
7674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7675 (eval $ac_link) 2>conftest.er1
7677 grep -v '^ *+' conftest.er1
>conftest.err
7679 cat conftest.err
>&5
7680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7681 (exit $ac_status); } &&
7682 { ac_try
='test -z "$ac_c_werror_flag"
7683 || test ! -s conftest.err'
7684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7688 (exit $ac_status); }; } &&
7689 { ac_try
='test -s conftest$ac_exeext'
7690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7694 (exit $ac_status); }; }; then
7695 ac_cv_lib_socket_connect
=yes
7697 echo "$as_me: failed program was:" >&5
7698 sed 's/^/| /' conftest.
$ac_ext >&5
7700 ac_cv_lib_socket_connect
=no
7702 rm -f conftest.err conftest.
$ac_objext \
7703 conftest
$ac_exeext conftest.
$ac_ext
7704 LIBS
=$ac_check_lib_save_LIBS
7706 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
7707 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
7708 if test $ac_cv_lib_socket_connect = yes; then
7709 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7714 # Guillermo Gomez says -lposix is necessary on A/UX.
7715 echo "$as_me:$LINENO: checking for remove" >&5
7716 echo $ECHO_N "checking for remove... $ECHO_C" >&6
7717 if test "${ac_cv_func_remove+set}" = set; then
7718 echo $ECHO_N "(cached) $ECHO_C" >&6
7720 if test x
$gcc_no_link = xyes
; then
7721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7723 { (exit 1); exit 1; }; }
7725 cat >conftest.
$ac_ext <<_ACEOF
7728 cat confdefs.h
>>conftest.
$ac_ext
7729 cat >>conftest.
$ac_ext <<_ACEOF
7730 /* end confdefs.h. */
7731 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
7732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7733 #define remove innocuous_remove
7735 /* System header to define __stub macros and hopefully few prototypes,
7736 which can conflict with char remove (); below.
7737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7738 <limits.h> exists even on freestanding compilers. */
7741 # include <limits.h>
7743 # include <assert.h>
7748 /* Override any gcc2 internal prototype to avoid an error. */
7753 /* We use char because int might match the return type of a gcc2
7754 builtin and then its argument prototype would still apply. */
7756 /* The GNU C library defines this for functions which it implements
7757 to always fail with ENOSYS. Some functions are actually named
7758 something starting with __ and the normal name is an alias. */
7759 #if defined (__stub_remove) || defined (__stub___remove)
7762 char (*f) () = remove;
7776 rm -f conftest.
$ac_objext conftest
$ac_exeext
7777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7778 (eval $ac_link) 2>conftest.er1
7780 grep -v '^ *+' conftest.er1
>conftest.err
7782 cat conftest.err
>&5
7783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7784 (exit $ac_status); } &&
7785 { ac_try
='test -z "$ac_c_werror_flag"
7786 || test ! -s conftest.err'
7787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7791 (exit $ac_status); }; } &&
7792 { ac_try
='test -s conftest$ac_exeext'
7793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7797 (exit $ac_status); }; }; then
7798 ac_cv_func_remove
=yes
7800 echo "$as_me: failed program was:" >&5
7801 sed 's/^/| /' conftest.
$ac_ext >&5
7803 ac_cv_func_remove
=no
7805 rm -f conftest.err conftest.
$ac_objext \
7806 conftest
$ac_exeext conftest.
$ac_ext
7808 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
7809 echo "${ECHO_T}$ac_cv_func_remove" >&6
7811 if test $ac_cv_func_remove = no
; then
7812 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
7813 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
7814 if test "${ac_cv_lib_posix_remove+set}" = set; then
7815 echo $ECHO_N "(cached) $ECHO_C" >&6
7817 ac_check_lib_save_LIBS
=$LIBS
7818 LIBS
="-lposix $LIBS"
7819 if test x
$gcc_no_link = xyes
; then
7820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7822 { (exit 1); exit 1; }; }
7824 cat >conftest.
$ac_ext <<_ACEOF
7827 cat confdefs.h
>>conftest.
$ac_ext
7828 cat >>conftest.
$ac_ext <<_ACEOF
7829 /* end confdefs.h. */
7831 /* Override any gcc2 internal prototype to avoid an error. */
7835 /* We use char because int might match the return type of a gcc2
7836 builtin and then its argument prototype would still apply. */
7846 rm -f conftest.
$ac_objext conftest
$ac_exeext
7847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7848 (eval $ac_link) 2>conftest.er1
7850 grep -v '^ *+' conftest.er1
>conftest.err
7852 cat conftest.err
>&5
7853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7854 (exit $ac_status); } &&
7855 { ac_try
='test -z "$ac_c_werror_flag"
7856 || test ! -s conftest.err'
7857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7861 (exit $ac_status); }; } &&
7862 { ac_try
='test -s conftest$ac_exeext'
7863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7867 (exit $ac_status); }; }; then
7868 ac_cv_lib_posix_remove
=yes
7870 echo "$as_me: failed program was:" >&5
7871 sed 's/^/| /' conftest.
$ac_ext >&5
7873 ac_cv_lib_posix_remove
=no
7875 rm -f conftest.err conftest.
$ac_objext \
7876 conftest
$ac_exeext conftest.
$ac_ext
7877 LIBS
=$ac_check_lib_save_LIBS
7879 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
7880 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
7881 if test $ac_cv_lib_posix_remove = yes; then
7882 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7887 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7888 echo "$as_me:$LINENO: checking for shmat" >&5
7889 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
7890 if test "${ac_cv_func_shmat+set}" = set; then
7891 echo $ECHO_N "(cached) $ECHO_C" >&6
7893 if test x
$gcc_no_link = xyes
; then
7894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7896 { (exit 1); exit 1; }; }
7898 cat >conftest.
$ac_ext <<_ACEOF
7901 cat confdefs.h
>>conftest.
$ac_ext
7902 cat >>conftest.
$ac_ext <<_ACEOF
7903 /* end confdefs.h. */
7904 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
7905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7906 #define shmat innocuous_shmat
7908 /* System header to define __stub macros and hopefully few prototypes,
7909 which can conflict with char shmat (); below.
7910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7911 <limits.h> exists even on freestanding compilers. */
7914 # include <limits.h>
7916 # include <assert.h>
7921 /* Override any gcc2 internal prototype to avoid an error. */
7926 /* We use char because int might match the return type of a gcc2
7927 builtin and then its argument prototype would still apply. */
7929 /* The GNU C library defines this for functions which it implements
7930 to always fail with ENOSYS. Some functions are actually named
7931 something starting with __ and the normal name is an alias. */
7932 #if defined (__stub_shmat) || defined (__stub___shmat)
7935 char (*f) () = shmat;
7949 rm -f conftest.
$ac_objext conftest
$ac_exeext
7950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7951 (eval $ac_link) 2>conftest.er1
7953 grep -v '^ *+' conftest.er1
>conftest.err
7955 cat conftest.err
>&5
7956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7957 (exit $ac_status); } &&
7958 { ac_try
='test -z "$ac_c_werror_flag"
7959 || test ! -s conftest.err'
7960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7964 (exit $ac_status); }; } &&
7965 { ac_try
='test -s conftest$ac_exeext'
7966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7970 (exit $ac_status); }; }; then
7971 ac_cv_func_shmat
=yes
7973 echo "$as_me: failed program was:" >&5
7974 sed 's/^/| /' conftest.
$ac_ext >&5
7978 rm -f conftest.err conftest.
$ac_objext \
7979 conftest
$ac_exeext conftest.
$ac_ext
7981 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
7982 echo "${ECHO_T}$ac_cv_func_shmat" >&6
7984 if test $ac_cv_func_shmat = no
; then
7985 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
7986 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
7987 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
7988 echo $ECHO_N "(cached) $ECHO_C" >&6
7990 ac_check_lib_save_LIBS
=$LIBS
7992 if test x
$gcc_no_link = xyes
; then
7993 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7995 { (exit 1); exit 1; }; }
7997 cat >conftest.
$ac_ext <<_ACEOF
8000 cat confdefs.h
>>conftest.
$ac_ext
8001 cat >>conftest.
$ac_ext <<_ACEOF
8002 /* end confdefs.h. */
8004 /* Override any gcc2 internal prototype to avoid an error. */
8008 /* We use char because int might match the return type of a gcc2
8009 builtin and then its argument prototype would still apply. */
8019 rm -f conftest.
$ac_objext conftest
$ac_exeext
8020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8021 (eval $ac_link) 2>conftest.er1
8023 grep -v '^ *+' conftest.er1
>conftest.err
8025 cat conftest.err
>&5
8026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8027 (exit $ac_status); } &&
8028 { ac_try
='test -z "$ac_c_werror_flag"
8029 || test ! -s conftest.err'
8030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8034 (exit $ac_status); }; } &&
8035 { ac_try
='test -s conftest$ac_exeext'
8036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8040 (exit $ac_status); }; }; then
8041 ac_cv_lib_ipc_shmat
=yes
8043 echo "$as_me: failed program was:" >&5
8044 sed 's/^/| /' conftest.
$ac_ext >&5
8046 ac_cv_lib_ipc_shmat
=no
8048 rm -f conftest.err conftest.
$ac_objext \
8049 conftest
$ac_exeext conftest.
$ac_ext
8050 LIBS
=$ac_check_lib_save_LIBS
8052 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
8053 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
8054 if test $ac_cv_lib_ipc_shmat = yes; then
8055 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8061 # Check for libraries that X11R6 Xt/Xaw programs need.
8062 ac_save_LDFLAGS
=$LDFLAGS
8063 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8064 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8065 # check for ICE first), but we must link in the order -lSM -lICE or
8066 # we get undefined symbols. So assume we have SM if we have ICE.
8067 # These have to be linked with before -lX11, unlike the other
8068 # libraries we check for below, so use a different variable.
8069 # John Interrante, Karl Berry
8070 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
8071 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
8072 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
8073 echo $ECHO_N "(cached) $ECHO_C" >&6
8075 ac_check_lib_save_LIBS
=$LIBS
8076 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8077 if test x
$gcc_no_link = xyes
; then
8078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8080 { (exit 1); exit 1; }; }
8082 cat >conftest.
$ac_ext <<_ACEOF
8085 cat confdefs.h
>>conftest.
$ac_ext
8086 cat >>conftest.
$ac_ext <<_ACEOF
8087 /* end confdefs.h. */
8089 /* Override any gcc2 internal prototype to avoid an error. */
8093 /* We use char because int might match the return type of a gcc2
8094 builtin and then its argument prototype would still apply. */
8095 char IceConnectionNumber ();
8099 IceConnectionNumber ();
8104 rm -f conftest.
$ac_objext conftest
$ac_exeext
8105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8106 (eval $ac_link) 2>conftest.er1
8108 grep -v '^ *+' conftest.er1
>conftest.err
8110 cat conftest.err
>&5
8111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8112 (exit $ac_status); } &&
8113 { ac_try
='test -z "$ac_c_werror_flag"
8114 || test ! -s conftest.err'
8115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8119 (exit $ac_status); }; } &&
8120 { ac_try
='test -s conftest$ac_exeext'
8121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8125 (exit $ac_status); }; }; then
8126 ac_cv_lib_ICE_IceConnectionNumber
=yes
8128 echo "$as_me: failed program was:" >&5
8129 sed 's/^/| /' conftest.
$ac_ext >&5
8131 ac_cv_lib_ICE_IceConnectionNumber
=no
8133 rm -f conftest.err conftest.
$ac_objext \
8134 conftest
$ac_exeext conftest.
$ac_ext
8135 LIBS
=$ac_check_lib_save_LIBS
8137 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8138 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
8139 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
8140 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8143 LDFLAGS
=$ac_save_LDFLAGS
8148 # determine whether to enable the cairo GTK Graphics2D backend
8149 # Check whether --enable-gtk-cairo or --disable-gtk-cairo was given.
8150 if test "${enable_gtk_cairo+set}" = set; then
8151 enableval
="$enable_gtk_cairo"
8156 if test "x${enable_gtk_cairo}" = xyes
; then
8164 if test "x${enable_gtk_cairo}" = xyes
8169 if test -z "$PKG_CONFIG"; then
8170 # Extract the first word of "pkg-config", so it can be a program name with args.
8171 set dummy pkg-config
; ac_word
=$2
8172 echo "$as_me:$LINENO: checking for $ac_word" >&5
8173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8174 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
8175 echo $ECHO_N "(cached) $ECHO_C" >&6
8179 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
8182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8186 test -z "$as_dir" && as_dir
=.
8187 for ac_exec_ext
in '' $ac_executable_extensions; do
8188 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8189 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
8190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8196 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
8200 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
8202 if test -n "$PKG_CONFIG"; then
8203 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8204 echo "${ECHO_T}$PKG_CONFIG" >&6
8206 echo "$as_me:$LINENO: result: no" >&5
8207 echo "${ECHO_T}no" >&6
8212 if test "$PKG_CONFIG" = "no" ; then
8213 echo "*** The pkg-config script could not be found. Make sure it is"
8214 echo "*** in your path, or set the PKG_CONFIG environment variable"
8215 echo "*** to the full path to pkg-config."
8216 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
8218 PKG_CONFIG_MIN_VERSION
=0.9.0
8219 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
8220 echo "$as_me:$LINENO: checking for cairo" >&5
8221 echo $ECHO_N "checking for cairo... $ECHO_C" >&6
8223 if $PKG_CONFIG --exists "cairo" ; then
8224 echo "$as_me:$LINENO: result: yes" >&5
8225 echo "${ECHO_T}yes" >&6
8228 echo "$as_me:$LINENO: checking CAIRO_CFLAGS" >&5
8229 echo $ECHO_N "checking CAIRO_CFLAGS... $ECHO_C" >&6
8230 CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo"`
8231 echo "$as_me:$LINENO: result: $CAIRO_CFLAGS" >&5
8232 echo "${ECHO_T}$CAIRO_CFLAGS" >&6
8234 echo "$as_me:$LINENO: checking CAIRO_LIBS" >&5
8235 echo $ECHO_N "checking CAIRO_LIBS... $ECHO_C" >&6
8236 CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo"`
8237 echo "$as_me:$LINENO: result: $CAIRO_LIBS" >&5
8238 echo "${ECHO_T}$CAIRO_LIBS" >&6
8242 ## If we have a custom action on failure, don't print errors, but
8243 ## do set a variable so people can do so.
8244 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
8245 echo $CAIRO_PKG_ERRORS
8251 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
8252 echo "*** See http://www.freedesktop.org/software/pkgconfig"
8256 if test $succeeded = yes; then
8259 { { 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
8260 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;}
8261 { (exit 1); exit 1; }; }
8267 if test -z "$PKG_CONFIG"; then
8268 # Extract the first word of "pkg-config", so it can be a program name with args.
8269 set dummy pkg-config
; ac_word
=$2
8270 echo "$as_me:$LINENO: checking for $ac_word" >&5
8271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8272 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
8273 echo $ECHO_N "(cached) $ECHO_C" >&6
8277 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
8280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8284 test -z "$as_dir" && as_dir
=.
8285 for ac_exec_ext
in '' $ac_executable_extensions; do
8286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8287 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
8288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8294 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
8298 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
8300 if test -n "$PKG_CONFIG"; then
8301 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8302 echo "${ECHO_T}$PKG_CONFIG" >&6
8304 echo "$as_me:$LINENO: result: no" >&5
8305 echo "${ECHO_T}no" >&6
8310 if test "$PKG_CONFIG" = "no" ; then
8311 echo "*** The pkg-config script could not be found. Make sure it is"
8312 echo "*** in your path, or set the PKG_CONFIG environment variable"
8313 echo "*** to the full path to pkg-config."
8314 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
8316 PKG_CONFIG_MIN_VERSION
=0.9.0
8317 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
8318 echo "$as_me:$LINENO: checking for pangoft2" >&5
8319 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
8321 if $PKG_CONFIG --exists "pangoft2" ; then
8322 echo "$as_me:$LINENO: result: yes" >&5
8323 echo "${ECHO_T}yes" >&6
8326 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
8327 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
8328 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
8329 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
8330 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
8332 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
8333 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
8334 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
8335 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
8336 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
8340 ## If we have a custom action on failure, don't print errors, but
8341 ## do set a variable so people can do so.
8342 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
8343 echo $PANGOFT2_PKG_ERRORS
8349 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
8350 echo "*** See http://www.freedesktop.org/software/pkgconfig"
8354 if test $succeeded = yes; then
8357 { { 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
8358 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;}
8359 { (exit 1); exit 1; }; }
8368 # FIXME: this should be _libs on some hosts.
8371 # Allow the GC to be disabled. Can be useful when debugging.
8372 echo "$as_me:$LINENO: checking for garbage collector to use" >&5
8373 echo $ECHO_N "checking for garbage collector to use... $ECHO_C" >&6
8374 # Check whether --enable-java-gc or --disable-java-gc was given.
8375 if test "${enable_java_gc+set}" = set; then
8376 enableval
="$enable_java_gc"
8389 echo "$as_me:$LINENO: result: boehm" >&5
8390 echo "${ECHO_T}boehm" >&6
8391 GCLIBS
=..
/boehm-gc
/libgcjgc_convenience.la
8392 JC1GCSPEC
='-fuse-boehm-gc'
8393 GCTESTSPEC
="-L`${PWDCMD-pwd}`/../boehm-gc/.libs -rpath `${PWDCMD-pwd}`/../boehm-gc/.libs"
8394 GCINCS
='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include'
8397 # The POSIX thread support needs to know this.
8399 cat >>confdefs.h
<<\_ACEOF
8400 #define HAVE_BOEHM_GC 1
8405 echo "$as_me:$LINENO: result: none" >&5
8406 echo "${ECHO_T}none" >&6
8410 { { echo "$as_me:$LINENO: error: unrecognized collector \"$GC\"" >&5
8411 echo "$as_me: error: unrecognized collector \"$GC\"" >&2;}
8412 { (exit 1); exit 1; }; }
8421 ac_config_links
="$ac_config_links include/java-gc.h:include/$GCHDR"
8425 if test "$GC" = boehm
; then
8427 USING_BOEHMGC_FALSE
='#'
8429 USING_BOEHMGC_TRUE
='#'
8430 USING_BOEHMGC_FALSE
=
8435 if test "$GC" = no
; then
8437 USING_NOGC_FALSE
='#'
8445 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
8446 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
8447 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
8448 echo "$as_me:$LINENO: result: $THREADS" >&5
8449 echo "${ECHO_T}$THREADS" >&6
8455 posix | posix95 | pthreads
)
8460 cat >>confdefs.h
<<\_ACEOF
8461 #define LINUX_THREADS 1
8469 decosf1 | irix | mach | os2 | solaris | dce | vxworks
)
8470 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
8471 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
8472 { (exit 1); exit 1; }; }
8475 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
8476 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
8477 { (exit 1); exit 1; }; }
8492 # Don't set THREADLIBS here. Cygwin doesn't have -lpthread.
8495 # Before FreeBSD 5, it didn't have -lpthread (or any library which
8496 # merely adds pthread_* functions) but it does have a -pthread switch
8497 # which is required at link-time to select -lc_r *instead* of -lc.
8498 THREADLDFLAGS
=-pthread
8499 # Don't set THREADSPEC here as might be expected since -pthread is
8500 # not processed when found within a spec file, it must come from
8501 # the command line. For now, the user must provide the -pthread
8502 # switch to link code compiled with gcj. In future, consider adding
8503 # support for weak references to pthread_* functions ala gthr.h API.
8504 THREADSPEC
='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
8507 # FreeBSD 5 implements a model much closer to other modern UNIX
8508 # which support threads. However, it still does not support
8510 THREADLDFLAGS
=-pthread
8514 THREADCXXFLAGS
=-pthread
8515 # boehm-gc needs some functions from librt, so link that too.
8516 THREADLIBS
='-lpthread -lrt'
8517 THREADSPEC
='-lpthread -lrt'
8520 THREADLIBS
=-lpthread
8521 THREADSPEC
=-lpthread
8524 THREADH
=posix-threads.h
8525 # MIT pthreads doesn't seem to have the mutexattr functions.
8526 # But for now we don't check for it. We just assume you aren't
8527 # using MIT pthreads.
8529 cat >>confdefs.h
<<\_ACEOF
8530 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
8534 # If we're using the Boehm GC, then we happen to know that it
8535 # defines _REENTRANT, so we don't bother. Eww.
8536 if test "$GC" != boehm
; then
8538 cat >>confdefs.h
<<\_ACEOF
8539 #define _REENTRANT 1
8544 cat >>confdefs.h
<<\_ACEOF
8545 #define _POSIX_PTHREAD_SEMANTICS 1
8551 THREADH
=win32-threads.h
8555 THREADH
=no-threads.h
8558 ac_config_links
="$ac_config_links include/java-threads.h:include/$THREADH"
8568 if test "$THREADS" = posix
; then
8569 USING_POSIX_THREADS_TRUE
=
8570 USING_POSIX_THREADS_FALSE
='#'
8572 USING_POSIX_THREADS_TRUE
='#'
8573 USING_POSIX_THREADS_FALSE
=
8578 if test "$THREADS" = win32
; then
8579 USING_WIN32_THREADS_TRUE
=
8580 USING_WIN32_THREADS_FALSE
='#'
8582 USING_WIN32_THREADS_TRUE
='#'
8583 USING_WIN32_THREADS_FALSE
=
8588 if test "$THREADS" = none
; then
8589 USING_NO_THREADS_TRUE
=
8590 USING_NO_THREADS_FALSE
='#'
8592 USING_NO_THREADS_TRUE
='#'
8593 USING_NO_THREADS_FALSE
=
8597 if test -d sysdep
; then true
; else mkdir sysdep
; fi
8598 ac_config_links
="$ac_config_links sysdep/locks.h:sysdep/$sysdeps_dir/locks.h"
8600 ac_config_links
="$ac_config_links sysdep/backtrace.h:$fallback_backtrace_h"
8602 ac_config_links
="$ac_config_links sysdep/descriptor.h:$descriptor_h"
8606 # Hash synchronization is only useful with posix threads right now.
8607 if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then
8608 HASH_SYNC_SPEC
=-fhash-synchronization
8610 cat >>confdefs.h
<<\_ACEOF
8611 #define JV_HASH_SYNCHRONIZATION 1
8619 if test "$GCC" = yes; then
8628 # We're in the tree with gcc, and need to include some of its headers.
8629 GCC_UNWIND_INCLUDE
='-I$(libgcj_basedir)/../gcc'
8631 if test "x${with_newlib}" = "xyes"; then
8632 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
8633 # may not work correctly, because the compiler may not be able to
8636 # We assume newlib. This lets us hard-code the functions we know
8639 cat >>confdefs.h
<<\_ACEOF
8640 #define HAVE_MEMMOVE 1
8644 cat >>confdefs.h
<<\_ACEOF
8645 #define HAVE_MEMCPY 1
8649 cat >>confdefs.h
<<\_ACEOF
8650 #define HAVE_STRERROR 1
8654 cat >>confdefs.h
<<\_ACEOF
8659 cat >>confdefs.h
<<\_ACEOF
8660 #define HAVE_GMTIME_R 1
8664 cat >>confdefs.h
<<\_ACEOF
8665 #define HAVE_LOCALTIME_R 1
8669 cat >>confdefs.h
<<\_ACEOF
8670 #define HAVE_USLEEP_DECL 1
8673 # This is only for POSIX threads.
8675 cat >>confdefs.h
<<\_ACEOF
8676 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
8679 # We also assume we are using gcc, which provides alloca.
8680 cat >>confdefs.h
<<\_ACEOF
8681 #define HAVE_ALLOCA 1
8685 # Assume we do not have getuid and friends.
8687 cat >>confdefs.h
<<\_ACEOF
8725 for ac_func
in strerror ioctl
select fstat open fsync
sleep opendir \
8726 gmtime_r localtime_r readdir_r getpwuid_r getcwd \
8727 access stat mkdir rename
rmdir unlink realpath utime
chmod \
8728 nl_langinfo setlocale \
8729 inet_pton uname inet_ntoa \
8730 fork execvp pipe sigaction ftruncate
8732 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8733 echo "$as_me:$LINENO: checking for $ac_func" >&5
8734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8735 if eval "test \"\${$as_ac_var+set}\" = set"; then
8736 echo $ECHO_N "(cached) $ECHO_C" >&6
8738 if test x
$gcc_no_link = xyes
; then
8739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8741 { (exit 1); exit 1; }; }
8743 cat >conftest.
$ac_ext <<_ACEOF
8746 cat confdefs.h
>>conftest.
$ac_ext
8747 cat >>conftest.
$ac_ext <<_ACEOF
8748 /* end confdefs.h. */
8749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8751 #define $ac_func innocuous_$ac_func
8753 /* System header to define __stub macros and hopefully few prototypes,
8754 which can conflict with char $ac_func (); below.
8755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8756 <limits.h> exists even on freestanding compilers. */
8759 # include <limits.h>
8761 # include <assert.h>
8766 /* Override any gcc2 internal prototype to avoid an error. */
8771 /* We use char because int might match the return type of a gcc2
8772 builtin and then its argument prototype would still apply. */
8774 /* The GNU C library defines this for functions which it implements
8775 to always fail with ENOSYS. Some functions are actually named
8776 something starting with __ and the normal name is an alias. */
8777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8780 char (*f) () = $ac_func;
8789 return f != $ac_func;
8794 rm -f conftest.
$ac_objext conftest
$ac_exeext
8795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8796 (eval $ac_link) 2>conftest.er1
8798 grep -v '^ *+' conftest.er1
>conftest.err
8800 cat conftest.err
>&5
8801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8802 (exit $ac_status); } &&
8803 { ac_try
='test -z "$ac_c_werror_flag"
8804 || test ! -s conftest.err'
8805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8809 (exit $ac_status); }; } &&
8810 { ac_try
='test -s conftest$ac_exeext'
8811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8815 (exit $ac_status); }; }; then
8816 eval "$as_ac_var=yes"
8818 echo "$as_me: failed program was:" >&5
8819 sed 's/^/| /' conftest.
$ac_ext >&5
8821 eval "$as_ac_var=no"
8823 rm -f conftest.err conftest.
$ac_objext \
8824 conftest
$ac_exeext conftest.
$ac_ext
8826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8828 if test `eval echo '${'$as_ac_var'}'` = yes; then
8829 cat >>confdefs.h
<<_ACEOF
8830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8838 for ac_func
in inet_aton inet_addr
8840 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8841 echo "$as_me:$LINENO: checking for $ac_func" >&5
8842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8843 if eval "test \"\${$as_ac_var+set}\" = set"; then
8844 echo $ECHO_N "(cached) $ECHO_C" >&6
8846 if test x
$gcc_no_link = xyes
; then
8847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8849 { (exit 1); exit 1; }; }
8851 cat >conftest.
$ac_ext <<_ACEOF
8854 cat confdefs.h
>>conftest.
$ac_ext
8855 cat >>conftest.
$ac_ext <<_ACEOF
8856 /* end confdefs.h. */
8857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8859 #define $ac_func innocuous_$ac_func
8861 /* System header to define __stub macros and hopefully few prototypes,
8862 which can conflict with char $ac_func (); below.
8863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8864 <limits.h> exists even on freestanding compilers. */
8867 # include <limits.h>
8869 # include <assert.h>
8874 /* Override any gcc2 internal prototype to avoid an error. */
8879 /* We use char because int might match the return type of a gcc2
8880 builtin and then its argument prototype would still apply. */
8882 /* The GNU C library defines this for functions which it implements
8883 to always fail with ENOSYS. Some functions are actually named
8884 something starting with __ and the normal name is an alias. */
8885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8888 char (*f) () = $ac_func;
8897 return f != $ac_func;
8902 rm -f conftest.
$ac_objext conftest
$ac_exeext
8903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8904 (eval $ac_link) 2>conftest.er1
8906 grep -v '^ *+' conftest.er1
>conftest.err
8908 cat conftest.err
>&5
8909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8910 (exit $ac_status); } &&
8911 { ac_try
='test -z "$ac_c_werror_flag"
8912 || test ! -s conftest.err'
8913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8917 (exit $ac_status); }; } &&
8918 { ac_try
='test -s conftest$ac_exeext'
8919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8923 (exit $ac_status); }; }; then
8924 eval "$as_ac_var=yes"
8926 echo "$as_me: failed program was:" >&5
8927 sed 's/^/| /' conftest.
$ac_ext >&5
8929 eval "$as_ac_var=no"
8931 rm -f conftest.err conftest.
$ac_objext \
8932 conftest
$ac_exeext conftest.
$ac_ext
8934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8936 if test `eval echo '${'$as_ac_var'}'` = yes; then
8937 cat >>confdefs.h
<<_ACEOF
8938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8944 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8945 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
8946 if test "${ac_cv_header_stdc+set}" = set; then
8947 echo $ECHO_N "(cached) $ECHO_C" >&6
8949 cat >conftest.
$ac_ext <<_ACEOF
8952 cat confdefs.h
>>conftest.
$ac_ext
8953 cat >>conftest.
$ac_ext <<_ACEOF
8954 /* end confdefs.h. */
8968 rm -f conftest.
$ac_objext
8969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8970 (eval $ac_compile) 2>conftest.er1
8972 grep -v '^ *+' conftest.er1
>conftest.err
8974 cat conftest.err
>&5
8975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8976 (exit $ac_status); } &&
8977 { ac_try
='test -z "$ac_c_werror_flag"
8978 || test ! -s conftest.err'
8979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8983 (exit $ac_status); }; } &&
8984 { ac_try
='test -s conftest.$ac_objext'
8985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8989 (exit $ac_status); }; }; then
8990 ac_cv_header_stdc
=yes
8992 echo "$as_me: failed program was:" >&5
8993 sed 's/^/| /' conftest.
$ac_ext >&5
8995 ac_cv_header_stdc
=no
8997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8999 if test $ac_cv_header_stdc = yes; then
9000 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9001 cat >conftest.
$ac_ext <<_ACEOF
9004 cat confdefs.h
>>conftest.
$ac_ext
9005 cat >>conftest.
$ac_ext <<_ACEOF
9006 /* end confdefs.h. */
9010 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9011 $EGREP "memchr" >/dev
/null
2>&1; then
9014 ac_cv_header_stdc
=no
9020 if test $ac_cv_header_stdc = yes; then
9021 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9022 cat >conftest.
$ac_ext <<_ACEOF
9025 cat confdefs.h
>>conftest.
$ac_ext
9026 cat >>conftest.
$ac_ext <<_ACEOF
9027 /* end confdefs.h. */
9031 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9032 $EGREP "free" >/dev
/null
2>&1; then
9035 ac_cv_header_stdc
=no
9041 if test $ac_cv_header_stdc = yes; then
9042 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9043 if test "$cross_compiling" = yes; then
9046 cat >conftest.
$ac_ext <<_ACEOF
9049 cat confdefs.h
>>conftest.
$ac_ext
9050 cat >>conftest.
$ac_ext <<_ACEOF
9051 /* end confdefs.h. */
9053 #if ((' ' & 0x0FF) == 0x020)
9054 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9055 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9057 # define ISLOWER(c) \
9058 (('a' <= (c) && (c) <= 'i') \
9059 || ('j' <= (c) && (c) <= 'r') \
9060 || ('s' <= (c) && (c) <= 'z'))
9061 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9064 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9069 for (i = 0; i < 256; i++)
9070 if (XOR (islower (i), ISLOWER (i))
9071 || toupper (i) != TOUPPER (i))
9076 rm -f conftest
$ac_exeext
9077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9078 (eval $ac_link) 2>&5
9080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9081 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9086 (exit $ac_status); }; }; then
9089 echo "$as_me: program exited with status $ac_status" >&5
9090 echo "$as_me: failed program was:" >&5
9091 sed 's/^/| /' conftest.
$ac_ext >&5
9094 ac_cv_header_stdc
=no
9096 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9100 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
9101 echo "${ECHO_T}$ac_cv_header_stdc" >&6
9102 if test $ac_cv_header_stdc = yes; then
9104 cat >>confdefs.h
<<\_ACEOF
9105 #define STDC_HEADERS 1
9110 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9120 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
9121 inttypes.h stdint.h unistd.h
9123 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9124 echo "$as_me:$LINENO: checking for $ac_header" >&5
9125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9127 echo $ECHO_N "(cached) $ECHO_C" >&6
9129 cat >conftest.
$ac_ext <<_ACEOF
9132 cat confdefs.h
>>conftest.
$ac_ext
9133 cat >>conftest.
$ac_ext <<_ACEOF
9134 /* end confdefs.h. */
9135 $ac_includes_default
9137 #include <$ac_header>
9139 rm -f conftest.
$ac_objext
9140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9141 (eval $ac_compile) 2>conftest.er1
9143 grep -v '^ *+' conftest.er1
>conftest.err
9145 cat conftest.err
>&5
9146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9147 (exit $ac_status); } &&
9148 { ac_try
='test -z "$ac_c_werror_flag"
9149 || test ! -s conftest.err'
9150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9154 (exit $ac_status); }; } &&
9155 { ac_try
='test -s conftest.$ac_objext'
9156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9160 (exit $ac_status); }; }; then
9161 eval "$as_ac_Header=yes"
9163 echo "$as_me: failed program was:" >&5
9164 sed 's/^/| /' conftest.
$ac_ext >&5
9166 eval "$as_ac_Header=no"
9168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9172 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9173 cat >>confdefs.h
<<_ACEOF
9174 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9185 for ac_header
in execinfo.h unistd.h dlfcn.h
9187 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9189 echo "$as_me:$LINENO: checking for $ac_header" >&5
9190 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9192 echo $ECHO_N "(cached) $ECHO_C" >&6
9194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9195 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9197 # Is the header compilable?
9198 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9199 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9200 cat >conftest.
$ac_ext <<_ACEOF
9203 cat confdefs.h
>>conftest.
$ac_ext
9204 cat >>conftest.
$ac_ext <<_ACEOF
9205 /* end confdefs.h. */
9206 $ac_includes_default
9207 #include <$ac_header>
9209 rm -f conftest.
$ac_objext
9210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9211 (eval $ac_compile) 2>conftest.er1
9213 grep -v '^ *+' conftest.er1
>conftest.err
9215 cat conftest.err
>&5
9216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9217 (exit $ac_status); } &&
9218 { ac_try
='test -z "$ac_c_werror_flag"
9219 || test ! -s conftest.err'
9220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9224 (exit $ac_status); }; } &&
9225 { ac_try
='test -s conftest.$ac_objext'
9226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9230 (exit $ac_status); }; }; then
9231 ac_header_compiler
=yes
9233 echo "$as_me: failed program was:" >&5
9234 sed 's/^/| /' conftest.
$ac_ext >&5
9236 ac_header_compiler
=no
9238 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9239 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9240 echo "${ECHO_T}$ac_header_compiler" >&6
9242 # Is the header present?
9243 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9244 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9245 cat >conftest.
$ac_ext <<_ACEOF
9248 cat confdefs.h
>>conftest.
$ac_ext
9249 cat >>conftest.
$ac_ext <<_ACEOF
9250 /* end confdefs.h. */
9251 #include <$ac_header>
9253 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9254 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9256 grep -v '^ *+' conftest.er1
>conftest.err
9258 cat conftest.err
>&5
9259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9260 (exit $ac_status); } >/dev
/null
; then
9261 if test -s conftest.err
; then
9262 ac_cpp_err
=$ac_c_preproc_warn_flag
9263 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9270 if test -z "$ac_cpp_err"; then
9271 ac_header_preproc
=yes
9273 echo "$as_me: failed program was:" >&5
9274 sed 's/^/| /' conftest.
$ac_ext >&5
9276 ac_header_preproc
=no
9278 rm -f conftest.err conftest.
$ac_ext
9279 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9280 echo "${ECHO_T}$ac_header_preproc" >&6
9282 # So? What about this header?
9283 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9285 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9286 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9287 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9288 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9289 ac_header_preproc
=yes
9292 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9293 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9294 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9295 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9296 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9297 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9298 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9299 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9300 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9301 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9302 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9303 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9306 ## ---------------------------------- ##
9307 ## Report this to the libjava lists. ##
9308 ## ---------------------------------- ##
9311 sed "s/^/$as_me: WARNING: /" >&2
9314 echo "$as_me:$LINENO: checking for $ac_header" >&5
9315 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9316 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9317 echo $ECHO_N "(cached) $ECHO_C" >&6
9319 eval "$as_ac_Header=\$ac_header_preproc"
9321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9322 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9325 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9326 cat >>confdefs.h
<<_ACEOF
9327 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9334 echo "$as_me:$LINENO: checking for backtrace" >&5
9335 echo $ECHO_N "checking for backtrace... $ECHO_C" >&6
9336 if test "${ac_cv_func_backtrace+set}" = set; then
9337 echo $ECHO_N "(cached) $ECHO_C" >&6
9339 if test x
$gcc_no_link = xyes
; then
9340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9342 { (exit 1); exit 1; }; }
9344 cat >conftest.
$ac_ext <<_ACEOF
9347 cat confdefs.h
>>conftest.
$ac_ext
9348 cat >>conftest.
$ac_ext <<_ACEOF
9349 /* end confdefs.h. */
9350 /* Define backtrace to an innocuous variant, in case <limits.h> declares backtrace.
9351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9352 #define backtrace innocuous_backtrace
9354 /* System header to define __stub macros and hopefully few prototypes,
9355 which can conflict with char backtrace (); below.
9356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9357 <limits.h> exists even on freestanding compilers. */
9360 # include <limits.h>
9362 # include <assert.h>
9367 /* Override any gcc2 internal prototype to avoid an error. */
9372 /* We use char because int might match the return type of a gcc2
9373 builtin and then its argument prototype would still apply. */
9375 /* The GNU C library defines this for functions which it implements
9376 to always fail with ENOSYS. Some functions are actually named
9377 something starting with __ and the normal name is an alias. */
9378 #if defined (__stub_backtrace) || defined (__stub___backtrace)
9381 char (*f) () = backtrace;
9390 return f != backtrace;
9395 rm -f conftest.
$ac_objext conftest
$ac_exeext
9396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9397 (eval $ac_link) 2>conftest.er1
9399 grep -v '^ *+' conftest.er1
>conftest.err
9401 cat conftest.err
>&5
9402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9403 (exit $ac_status); } &&
9404 { ac_try
='test -z "$ac_c_werror_flag"
9405 || test ! -s conftest.err'
9406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9410 (exit $ac_status); }; } &&
9411 { ac_try
='test -s conftest$ac_exeext'
9412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9416 (exit $ac_status); }; }; then
9417 ac_cv_func_backtrace
=yes
9419 echo "$as_me: failed program was:" >&5
9420 sed 's/^/| /' conftest.
$ac_ext >&5
9422 ac_cv_func_backtrace
=no
9424 rm -f conftest.err conftest.
$ac_objext \
9425 conftest
$ac_exeext conftest.
$ac_ext
9427 echo "$as_me:$LINENO: result: $ac_cv_func_backtrace" >&5
9428 echo "${ECHO_T}$ac_cv_func_backtrace" >&6
9429 if test $ac_cv_func_backtrace = yes; then
9433 # Has broken backtrace()
9436 # Has broken backtrace(), but we supply our own.
9437 if test -d sysdep
; then true
; else mkdir
-p sysdep
; fi
9438 supply_backtrace
=yes
9440 cat >>confdefs.h
<<\_ACEOF
9441 #define HAVE_BACKTRACE 1
9447 cat >>confdefs.h
<<\_ACEOF
9448 #define HAVE_BACKTRACE 1
9458 # Has backtrace() defined in libgcj itself
9460 cat >>confdefs.h
<<\_ACEOF
9461 #define HAVE_BACKTRACE 1
9470 echo "$as_me:$LINENO: checking for dladdr in -ldl" >&5
9471 echo $ECHO_N "checking for dladdr in -ldl... $ECHO_C" >&6
9472 if test "${ac_cv_lib_dl_dladdr+set}" = set; then
9473 echo $ECHO_N "(cached) $ECHO_C" >&6
9475 ac_check_lib_save_LIBS
=$LIBS
9477 if test x
$gcc_no_link = xyes
; then
9478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9480 { (exit 1); exit 1; }; }
9482 cat >conftest.
$ac_ext <<_ACEOF
9485 cat confdefs.h
>>conftest.
$ac_ext
9486 cat >>conftest.
$ac_ext <<_ACEOF
9487 /* end confdefs.h. */
9489 /* Override any gcc2 internal prototype to avoid an error. */
9493 /* We use char because int might match the return type of a gcc2
9494 builtin and then its argument prototype would still apply. */
9504 rm -f conftest.
$ac_objext conftest
$ac_exeext
9505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9506 (eval $ac_link) 2>conftest.er1
9508 grep -v '^ *+' conftest.er1
>conftest.err
9510 cat conftest.err
>&5
9511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9512 (exit $ac_status); } &&
9513 { ac_try
='test -z "$ac_c_werror_flag"
9514 || test ! -s conftest.err'
9515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9519 (exit $ac_status); }; } &&
9520 { ac_try
='test -s conftest$ac_exeext'
9521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9525 (exit $ac_status); }; }; then
9526 ac_cv_lib_dl_dladdr
=yes
9528 echo "$as_me: failed program was:" >&5
9529 sed 's/^/| /' conftest.
$ac_ext >&5
9531 ac_cv_lib_dl_dladdr
=no
9533 rm -f conftest.err conftest.
$ac_objext \
9534 conftest
$ac_exeext conftest.
$ac_ext
9535 LIBS
=$ac_check_lib_save_LIBS
9537 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dladdr" >&5
9538 echo "${ECHO_T}$ac_cv_lib_dl_dladdr" >&6
9539 if test $ac_cv_lib_dl_dladdr = yes; then
9541 if test "x${disable_dladdr}" = "xyes"; then
9546 cat >>confdefs.h
<<\_ACEOF
9547 #define HAVE_DLADDR 1
9554 if test x
"$build" = x
"$host"; then
9555 echo "$as_me:$LINENO: checking for /proc/self/exe" >&5
9556 echo $ECHO_N "checking for /proc/self/exe... $ECHO_C" >&6
9557 if test "${ac_cv_file__proc_self_exe+set}" = set; then
9558 echo $ECHO_N "(cached) $ECHO_C" >&6
9560 test "$cross_compiling" = yes &&
9561 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
9562 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
9563 { (exit 1); exit 1; }; }
9564 if test -r "/proc/self/exe"; then
9565 ac_cv_file__proc_self_exe
=yes
9567 ac_cv_file__proc_self_exe
=no
9570 echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_exe" >&5
9571 echo "${ECHO_T}$ac_cv_file__proc_self_exe" >&6
9572 if test $ac_cv_file__proc_self_exe = yes; then
9574 cat >>confdefs.h
<<_ACEOF
9575 #define HAVE__PROC_SELF_EXE 1
9580 cat >>confdefs.h
<<\_ACEOF
9581 #define HAVE_PROC_SELF_EXE 1
9590 cat >>confdefs.h
<<\_ACEOF
9591 #define HAVE_PROC_SELF_EXE 1
9599 if test "X$prefix" = "XNONE"; then
9600 acl_final_prefix
="$ac_default_prefix"
9602 acl_final_prefix
="$prefix"
9604 if test "X$exec_prefix" = "XNONE"; then
9605 acl_final_exec_prefix
='${prefix}'
9607 acl_final_exec_prefix
="$exec_prefix"
9609 acl_save_prefix
="$prefix"
9610 prefix
="$acl_final_prefix"
9611 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
9612 prefix
="$acl_save_prefix"
9615 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9616 if test "${with_gnu_ld+set}" = set; then
9617 withval
="$with_gnu_ld"
9618 test "$withval" = no || with_gnu_ld
=yes
9622 # Prepare PATH_SEPARATOR.
9623 # The user is always right.
9624 if test "${PATH_SEPARATOR+set}" != set; then
9625 echo "#! /bin/sh" >conf$$.sh
9626 echo "exit 0" >>conf$$.sh
9628 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9636 if test "$GCC" = yes; then
9637 # Check if gcc -print-prog-name=ld gives a path.
9638 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
9639 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
9642 # gcc leaves a trailing carriage return which upsets mingw
9643 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9645 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
9648 # Accept absolute paths.
9649 [\\/]* |
[A-Za-z
]:[\\/]*)
9650 re_direlt
='/[^/][^/]*/\.\./'
9651 # Canonicalize the path of ld
9652 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
9653 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
9654 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
9656 test -z "$LD" && LD
="$ac_prog"
9659 # If it fails, then pretend we aren't using GCC.
9663 # If it is relative, then search for the first ld in PATH.
9667 elif test "$with_gnu_ld" = yes; then
9668 echo "$as_me:$LINENO: checking for GNU ld" >&5
9669 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9671 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9672 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9674 if test "${acl_cv_path_LD+set}" = set; then
9675 echo $ECHO_N "(cached) $ECHO_C" >&6
9677 if test -z "$LD"; then
9678 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
9679 for ac_dir
in $PATH; do
9680 test -z "$ac_dir" && ac_dir
=.
9681 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
9682 acl_cv_path_LD
="$ac_dir/$ac_prog"
9683 # Check to see if the program is GNU ld. I'd rather use --version,
9684 # but apparently some GNU ld's only accept -v.
9685 # Break only if it was the GNU/non-GNU ld that we prefer.
9686 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
9687 test "$with_gnu_ld" != no
&& break
9689 test "$with_gnu_ld" != yes && break
9695 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
9699 LD
="$acl_cv_path_LD"
9700 if test -n "$LD"; then
9701 echo "$as_me:$LINENO: result: $LD" >&5
9702 echo "${ECHO_T}$LD" >&6
9704 echo "$as_me:$LINENO: result: no" >&5
9705 echo "${ECHO_T}no" >&6
9707 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9708 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9709 { (exit 1); exit 1; }; }
9710 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9711 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9712 if test "${acl_cv_prog_gnu_ld+set}" = set; then
9713 echo $ECHO_N "(cached) $ECHO_C" >&6
9715 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9716 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
9717 acl_cv_prog_gnu_ld
=yes
9719 acl_cv_prog_gnu_ld
=no
9722 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
9723 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
9724 with_gnu_ld
=$acl_cv_prog_gnu_ld
9728 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
9729 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
9730 if test "${acl_cv_rpath+set}" = set; then
9731 echo $ECHO_N "(cached) $ECHO_C" >&6
9734 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
9735 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
9741 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
9742 echo "${ECHO_T}$acl_cv_rpath" >&6
9744 libext
="$acl_cv_libext"
9745 shlibext
="$acl_cv_shlibext"
9746 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
9747 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
9748 hardcode_direct
="$acl_cv_hardcode_direct"
9749 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
9750 # Check whether --enable-rpath or --disable-rpath was given.
9751 if test "${enable_rpath+set}" = set; then
9752 enableval
="$enable_rpath"
9766 acl_save_prefix
="$prefix"
9767 prefix
="$acl_final_prefix"
9768 acl_save_exec_prefix
="$exec_prefix"
9769 exec_prefix
="$acl_final_exec_prefix"
9771 eval additional_includedir
=\"$includedir\"
9772 eval additional_libdir
=\"$libdir\"
9774 exec_prefix
="$acl_save_exec_prefix"
9775 prefix
="$acl_save_prefix"
9778 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
9779 if test "${with_libiconv_prefix+set}" = set; then
9780 withval
="$with_libiconv_prefix"
9782 if test "X$withval" = "Xno"; then
9785 if test "X$withval" = "X"; then
9787 acl_save_prefix
="$prefix"
9788 prefix
="$acl_final_prefix"
9789 acl_save_exec_prefix
="$exec_prefix"
9790 exec_prefix
="$acl_final_exec_prefix"
9792 eval additional_includedir
=\"$includedir\"
9793 eval additional_libdir
=\"$libdir\"
9795 exec_prefix
="$acl_save_exec_prefix"
9796 prefix
="$acl_save_prefix"
9799 additional_includedir
="$withval/include"
9800 additional_libdir
="$withval/lib"
9810 names_already_handled
=
9811 names_next_round
='iconv '
9812 while test -n "$names_next_round"; do
9813 names_this_round
="$names_next_round"
9815 for name
in $names_this_round; do
9817 for n
in $names_already_handled; do
9818 if test "$n" = "$name"; then
9823 if test -z "$already_handled"; then
9824 names_already_handled
="$names_already_handled $name"
9825 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
9826 eval value
=\"\
$HAVE_LIB$uppername\"
9827 if test -n "$value"; then
9828 if test "$value" = yes; then
9829 eval value
=\"\
$LIB$uppername\"
9830 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
9831 eval value
=\"\
$LTLIB$uppername\"
9832 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
9841 if test $use_additional = yes; then
9842 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
9843 found_dir
="$additional_libdir"
9844 found_so
="$additional_libdir/lib$name.$shlibext"
9845 if test -f "$additional_libdir/lib$name.la"; then
9846 found_la
="$additional_libdir/lib$name.la"
9849 if test -f "$additional_libdir/lib$name.$libext"; then
9850 found_dir
="$additional_libdir"
9851 found_a
="$additional_libdir/lib$name.$libext"
9852 if test -f "$additional_libdir/lib$name.la"; then
9853 found_la
="$additional_libdir/lib$name.la"
9858 if test "X$found_dir" = "X"; then
9859 for x
in $LDFLAGS $LTLIBICONV; do
9861 acl_save_prefix
="$prefix"
9862 prefix
="$acl_final_prefix"
9863 acl_save_exec_prefix
="$exec_prefix"
9864 exec_prefix
="$acl_final_exec_prefix"
9866 exec_prefix
="$acl_save_exec_prefix"
9867 prefix
="$acl_save_prefix"
9871 dir
=`echo "X$x" | sed -e 's/^X-L//'`
9872 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
9874 found_so
="$dir/lib$name.$shlibext"
9875 if test -f "$dir/lib$name.la"; then
9876 found_la
="$dir/lib$name.la"
9879 if test -f "$dir/lib$name.$libext"; then
9881 found_a
="$dir/lib$name.$libext"
9882 if test -f "$dir/lib$name.la"; then
9883 found_la
="$dir/lib$name.la"
9889 if test "X$found_dir" != "X"; then
9894 if test "X$found_dir" != "X"; then
9895 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
9896 if test "X$found_so" != "X"; then
9897 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
9898 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9901 for x
in $ltrpathdirs; do
9902 if test "X$x" = "X$found_dir"; then
9907 if test -z "$haveit"; then
9908 ltrpathdirs
="$ltrpathdirs $found_dir"
9910 if test "$hardcode_direct" = yes; then
9911 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9913 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
9914 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9916 for x
in $rpathdirs; do
9917 if test "X$x" = "X$found_dir"; then
9922 if test -z "$haveit"; then
9923 rpathdirs
="$rpathdirs $found_dir"
9927 for x
in $LDFLAGS $LIBICONV; do
9929 acl_save_prefix
="$prefix"
9930 prefix
="$acl_final_prefix"
9931 acl_save_exec_prefix
="$exec_prefix"
9932 exec_prefix
="$acl_final_exec_prefix"
9934 exec_prefix
="$acl_save_exec_prefix"
9935 prefix
="$acl_save_prefix"
9937 if test "X$x" = "X-L$found_dir"; then
9942 if test -z "$haveit"; then
9943 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
9945 if test "$hardcode_minus_L" != no
; then
9946 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9948 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
9954 if test "X$found_a" != "X"; then
9955 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
9957 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
9960 additional_includedir
=
9961 case "$found_dir" in
9963 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
9964 additional_includedir
="$basedir/include"
9967 if test "X$additional_includedir" != "X"; then
9968 if test "X$additional_includedir" != "X/usr/include"; then
9970 if test "X$additional_includedir" = "X/usr/local/include"; then
9971 if test -n "$GCC"; then
9973 linux
*) haveit
=yes;;
9977 if test -z "$haveit"; then
9978 for x
in $CPPFLAGS $INCICONV; do
9980 acl_save_prefix
="$prefix"
9981 prefix
="$acl_final_prefix"
9982 acl_save_exec_prefix
="$exec_prefix"
9983 exec_prefix
="$acl_final_exec_prefix"
9985 exec_prefix
="$acl_save_exec_prefix"
9986 prefix
="$acl_save_prefix"
9988 if test "X$x" = "X-I$additional_includedir"; then
9993 if test -z "$haveit"; then
9994 if test -d "$additional_includedir"; then
9995 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
10001 if test -n "$found_la"; then
10002 save_libdir
="$libdir"
10003 case "$found_la" in
10004 */* |
*\\*) .
"$found_la" ;;
10005 *) .
"./$found_la" ;;
10007 libdir
="$save_libdir"
10008 for dep
in $dependency_libs; do
10011 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
10012 if test "X$additional_libdir" != "X/usr/lib"; then
10014 if test "X$additional_libdir" = "X/usr/local/lib"; then
10015 if test -n "$GCC"; then
10017 linux
*) haveit
=yes;;
10021 if test -z "$haveit"; then
10023 for x
in $LDFLAGS $LIBICONV; do
10025 acl_save_prefix
="$prefix"
10026 prefix
="$acl_final_prefix"
10027 acl_save_exec_prefix
="$exec_prefix"
10028 exec_prefix
="$acl_final_exec_prefix"
10030 exec_prefix
="$acl_save_exec_prefix"
10031 prefix
="$acl_save_prefix"
10033 if test "X$x" = "X-L$additional_libdir"; then
10038 if test -z "$haveit"; then
10039 if test -d "$additional_libdir"; then
10040 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
10044 for x
in $LDFLAGS $LTLIBICONV; do
10046 acl_save_prefix
="$prefix"
10047 prefix
="$acl_final_prefix"
10048 acl_save_exec_prefix
="$exec_prefix"
10049 exec_prefix
="$acl_final_exec_prefix"
10051 exec_prefix
="$acl_save_exec_prefix"
10052 prefix
="$acl_save_prefix"
10054 if test "X$x" = "X-L$additional_libdir"; then
10059 if test -z "$haveit"; then
10060 if test -d "$additional_libdir"; then
10061 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
10068 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
10069 if test "$enable_rpath" != no
; then
10071 for x
in $rpathdirs; do
10072 if test "X$x" = "X$dir"; then
10077 if test -z "$haveit"; then
10078 rpathdirs
="$rpathdirs $dir"
10081 for x
in $ltrpathdirs; do
10082 if test "X$x" = "X$dir"; then
10087 if test -z "$haveit"; then
10088 ltrpathdirs
="$ltrpathdirs $dir"
10093 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10096 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10099 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
10100 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
10106 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
10107 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
10113 if test "X$rpathdirs" != "X"; then
10114 if test -n "$hardcode_libdir_separator"; then
10116 for found_dir
in $rpathdirs; do
10117 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10119 acl_save_libdir
="$libdir"
10121 eval flag
=\"$hardcode_libdir_flag_spec\"
10122 libdir
="$acl_save_libdir"
10123 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10125 for found_dir
in $rpathdirs; do
10126 acl_save_libdir
="$libdir"
10127 libdir
="$found_dir"
10128 eval flag
=\"$hardcode_libdir_flag_spec\"
10129 libdir
="$acl_save_libdir"
10130 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10134 if test "X$ltrpathdirs" != "X"; then
10135 for found_dir
in $ltrpathdirs; do
10136 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
10146 am_save_CPPFLAGS
="$CPPFLAGS"
10148 for element
in $INCICONV; do
10150 for x
in $CPPFLAGS; do
10152 acl_save_prefix
="$prefix"
10153 prefix
="$acl_final_prefix"
10154 acl_save_exec_prefix
="$exec_prefix"
10155 exec_prefix
="$acl_final_exec_prefix"
10157 exec_prefix
="$acl_save_exec_prefix"
10158 prefix
="$acl_save_prefix"
10160 if test "X$x" = "X$element"; then
10165 if test -z "$haveit"; then
10166 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
10171 echo "$as_me:$LINENO: checking for iconv" >&5
10172 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
10173 if test "${am_cv_func_iconv+set}" = set; then
10174 echo $ECHO_N "(cached) $ECHO_C" >&6
10177 am_cv_func_iconv
="no, consider installing GNU libiconv"
10179 if test x
$gcc_no_link = xyes
; then
10180 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10182 { (exit 1); exit 1; }; }
10184 cat >conftest.
$ac_ext <<_ACEOF
10187 cat confdefs.h
>>conftest.
$ac_ext
10188 cat >>conftest.
$ac_ext <<_ACEOF
10189 /* end confdefs.h. */
10190 #include <stdlib.h>
10195 iconv_t cd = iconv_open("","");
10196 iconv(cd,NULL,NULL,NULL,NULL);
10202 rm -f conftest.
$ac_objext conftest
$ac_exeext
10203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10204 (eval $ac_link) 2>conftest.er1
10206 grep -v '^ *+' conftest.er1
>conftest.err
10208 cat conftest.err
>&5
10209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10210 (exit $ac_status); } &&
10211 { ac_try
='test -z "$ac_c_werror_flag"
10212 || test ! -s conftest.err'
10213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10214 (eval $ac_try) 2>&5
10216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10217 (exit $ac_status); }; } &&
10218 { ac_try
='test -s conftest$ac_exeext'
10219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10220 (eval $ac_try) 2>&5
10222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10223 (exit $ac_status); }; }; then
10224 am_cv_func_iconv
=yes
10226 echo "$as_me: failed program was:" >&5
10227 sed 's/^/| /' conftest.
$ac_ext >&5
10230 rm -f conftest.err conftest.
$ac_objext \
10231 conftest
$ac_exeext conftest.
$ac_ext
10232 if test "$am_cv_func_iconv" != yes; then
10233 am_save_LIBS
="$LIBS"
10234 LIBS
="$LIBS $LIBICONV"
10235 if test x
$gcc_no_link = xyes
; then
10236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10238 { (exit 1); exit 1; }; }
10240 cat >conftest.
$ac_ext <<_ACEOF
10243 cat confdefs.h
>>conftest.
$ac_ext
10244 cat >>conftest.
$ac_ext <<_ACEOF
10245 /* end confdefs.h. */
10246 #include <stdlib.h>
10251 iconv_t cd = iconv_open("","");
10252 iconv(cd,NULL,NULL,NULL,NULL);
10258 rm -f conftest.
$ac_objext conftest
$ac_exeext
10259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10260 (eval $ac_link) 2>conftest.er1
10262 grep -v '^ *+' conftest.er1
>conftest.err
10264 cat conftest.err
>&5
10265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10266 (exit $ac_status); } &&
10267 { ac_try
='test -z "$ac_c_werror_flag"
10268 || test ! -s conftest.err'
10269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10270 (eval $ac_try) 2>&5
10272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10273 (exit $ac_status); }; } &&
10274 { ac_try
='test -s conftest$ac_exeext'
10275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10276 (eval $ac_try) 2>&5
10278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10279 (exit $ac_status); }; }; then
10280 am_cv_lib_iconv
=yes
10281 am_cv_func_iconv
=yes
10283 echo "$as_me: failed program was:" >&5
10284 sed 's/^/| /' conftest.
$ac_ext >&5
10287 rm -f conftest.err conftest.
$ac_objext \
10288 conftest
$ac_exeext conftest.
$ac_ext
10289 LIBS
="$am_save_LIBS"
10293 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
10294 echo "${ECHO_T}$am_cv_func_iconv" >&6
10295 if test "$am_cv_func_iconv" = yes; then
10297 cat >>confdefs.h
<<\_ACEOF
10298 #define HAVE_ICONV 1
10302 if test "$am_cv_lib_iconv" = yes; then
10303 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
10304 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
10305 echo "$as_me:$LINENO: result: $LIBICONV" >&5
10306 echo "${ECHO_T}$LIBICONV" >&6
10308 CPPFLAGS
="$am_save_CPPFLAGS"
10315 if test "$am_cv_func_iconv" = yes; then
10316 echo "$as_me:$LINENO: checking for iconv declaration" >&5
10317 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
10318 if test "${am_cv_proto_iconv+set}" = set; then
10319 echo $ECHO_N "(cached) $ECHO_C" >&6
10322 cat >conftest.
$ac_ext <<_ACEOF
10325 cat confdefs.h
>>conftest.
$ac_ext
10326 cat >>conftest.
$ac_ext <<_ACEOF
10327 /* end confdefs.h. */
10329 #include <stdlib.h>
10335 #if defined(__STDC__) || defined(__cplusplus)
10336 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
10349 rm -f conftest.
$ac_objext
10350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10351 (eval $ac_compile) 2>conftest.er1
10353 grep -v '^ *+' conftest.er1
>conftest.err
10355 cat conftest.err
>&5
10356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10357 (exit $ac_status); } &&
10358 { ac_try
='test -z "$ac_c_werror_flag"
10359 || test ! -s conftest.err'
10360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10361 (eval $ac_try) 2>&5
10363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10364 (exit $ac_status); }; } &&
10365 { ac_try
='test -s conftest.$ac_objext'
10366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10367 (eval $ac_try) 2>&5
10369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10370 (exit $ac_status); }; }; then
10371 am_cv_proto_iconv_arg1
=""
10373 echo "$as_me: failed program was:" >&5
10374 sed 's/^/| /' conftest.
$ac_ext >&5
10376 am_cv_proto_iconv_arg1
="const"
10378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10379 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);"
10382 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
10383 echo "$as_me:$LINENO: result: ${ac_t:-
10384 }$am_cv_proto_iconv" >&5
10385 echo "${ECHO_T}${ac_t:-
10386 }$am_cv_proto_iconv" >&6
10388 cat >>confdefs.h
<<_ACEOF
10389 #define ICONV_CONST $am_cv_proto_iconv_arg1
10395 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
10396 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
10397 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
10398 echo $ECHO_N "(cached) $ECHO_C" >&6
10400 if test x
$gcc_no_link = xyes
; then
10401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10403 { (exit 1); exit 1; }; }
10405 cat >conftest.
$ac_ext <<_ACEOF
10408 cat confdefs.h
>>conftest.
$ac_ext
10409 cat >>conftest.
$ac_ext <<_ACEOF
10410 /* end confdefs.h. */
10411 #include <locale.h>
10420 rm -f conftest.
$ac_objext conftest
$ac_exeext
10421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10422 (eval $ac_link) 2>conftest.er1
10424 grep -v '^ *+' conftest.er1
>conftest.err
10426 cat conftest.err
>&5
10427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10428 (exit $ac_status); } &&
10429 { ac_try
='test -z "$ac_c_werror_flag"
10430 || test ! -s conftest.err'
10431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10432 (eval $ac_try) 2>&5
10434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10435 (exit $ac_status); }; } &&
10436 { ac_try
='test -s conftest$ac_exeext'
10437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10438 (eval $ac_try) 2>&5
10440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10441 (exit $ac_status); }; }; then
10442 am_cv_val_LC_MESSAGES
=yes
10444 echo "$as_me: failed program was:" >&5
10445 sed 's/^/| /' conftest.
$ac_ext >&5
10447 am_cv_val_LC_MESSAGES
=no
10449 rm -f conftest.err conftest.
$ac_objext \
10450 conftest
$ac_exeext conftest.
$ac_ext
10452 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
10453 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
10454 if test $am_cv_val_LC_MESSAGES = yes; then
10456 cat >>confdefs.h
<<\_ACEOF
10457 #define HAVE_LC_MESSAGES 1
10462 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
10463 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
10464 if test "${ac_cv_struct_tm+set}" = set; then
10465 echo $ECHO_N "(cached) $ECHO_C" >&6
10467 cat >conftest.
$ac_ext <<_ACEOF
10470 cat confdefs.h
>>conftest.
$ac_ext
10471 cat >>conftest.
$ac_ext <<_ACEOF
10472 /* end confdefs.h. */
10473 #include <sys/types.h>
10479 struct tm *tp; tp->tm_sec;
10484 rm -f conftest.
$ac_objext
10485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10486 (eval $ac_compile) 2>conftest.er1
10488 grep -v '^ *+' conftest.er1
>conftest.err
10490 cat conftest.err
>&5
10491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10492 (exit $ac_status); } &&
10493 { ac_try
='test -z "$ac_c_werror_flag"
10494 || test ! -s conftest.err'
10495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10496 (eval $ac_try) 2>&5
10498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10499 (exit $ac_status); }; } &&
10500 { ac_try
='test -s conftest.$ac_objext'
10501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10502 (eval $ac_try) 2>&5
10504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10505 (exit $ac_status); }; }; then
10506 ac_cv_struct_tm
=time.h
10508 echo "$as_me: failed program was:" >&5
10509 sed 's/^/| /' conftest.
$ac_ext >&5
10511 ac_cv_struct_tm
=sys
/time.h
10513 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10515 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
10516 echo "${ECHO_T}$ac_cv_struct_tm" >&6
10517 if test $ac_cv_struct_tm = sys
/time.h
; then
10519 cat >>confdefs.h
<<\_ACEOF
10520 #define TM_IN_SYS_TIME 1
10525 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
10526 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
10527 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
10528 echo $ECHO_N "(cached) $ECHO_C" >&6
10530 cat >conftest.
$ac_ext <<_ACEOF
10533 cat confdefs.h
>>conftest.
$ac_ext
10534 cat >>conftest.
$ac_ext <<_ACEOF
10535 /* end confdefs.h. */
10536 #include <sys/types.h>
10537 #include <$ac_cv_struct_tm>
10543 static struct tm ac_aggr;
10544 if (ac_aggr.tm_zone)
10550 rm -f conftest.
$ac_objext
10551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10552 (eval $ac_compile) 2>conftest.er1
10554 grep -v '^ *+' conftest.er1
>conftest.err
10556 cat conftest.err
>&5
10557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10558 (exit $ac_status); } &&
10559 { ac_try
='test -z "$ac_c_werror_flag"
10560 || test ! -s conftest.err'
10561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10562 (eval $ac_try) 2>&5
10564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10565 (exit $ac_status); }; } &&
10566 { ac_try
='test -s conftest.$ac_objext'
10567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10568 (eval $ac_try) 2>&5
10570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10571 (exit $ac_status); }; }; then
10572 ac_cv_member_struct_tm_tm_zone
=yes
10574 echo "$as_me: failed program was:" >&5
10575 sed 's/^/| /' conftest.
$ac_ext >&5
10577 cat >conftest.
$ac_ext <<_ACEOF
10580 cat confdefs.h
>>conftest.
$ac_ext
10581 cat >>conftest.
$ac_ext <<_ACEOF
10582 /* end confdefs.h. */
10583 #include <sys/types.h>
10584 #include <$ac_cv_struct_tm>
10590 static struct tm ac_aggr;
10591 if (sizeof ac_aggr.tm_zone)
10597 rm -f conftest.
$ac_objext
10598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10599 (eval $ac_compile) 2>conftest.er1
10601 grep -v '^ *+' conftest.er1
>conftest.err
10603 cat conftest.err
>&5
10604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10605 (exit $ac_status); } &&
10606 { ac_try
='test -z "$ac_c_werror_flag"
10607 || test ! -s conftest.err'
10608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10609 (eval $ac_try) 2>&5
10611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10612 (exit $ac_status); }; } &&
10613 { ac_try
='test -s conftest.$ac_objext'
10614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10615 (eval $ac_try) 2>&5
10617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10618 (exit $ac_status); }; }; then
10619 ac_cv_member_struct_tm_tm_zone
=yes
10621 echo "$as_me: failed program was:" >&5
10622 sed 's/^/| /' conftest.
$ac_ext >&5
10624 ac_cv_member_struct_tm_tm_zone
=no
10626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10630 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
10631 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
10632 if test $ac_cv_member_struct_tm_tm_zone = yes; then
10634 cat >>confdefs.h
<<_ACEOF
10635 #define HAVE_STRUCT_TM_TM_ZONE 1
10641 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
10643 cat >>confdefs.h
<<\_ACEOF
10644 #define HAVE_TM_ZONE 1
10648 echo "$as_me:$LINENO: checking for tzname" >&5
10649 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
10650 if test "${ac_cv_var_tzname+set}" = set; then
10651 echo $ECHO_N "(cached) $ECHO_C" >&6
10653 if test x
$gcc_no_link = xyes
; then
10654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10656 { (exit 1); exit 1; }; }
10658 cat >conftest.
$ac_ext <<_ACEOF
10661 cat confdefs.h
>>conftest.
$ac_ext
10662 cat >>conftest.
$ac_ext <<_ACEOF
10663 /* end confdefs.h. */
10665 #ifndef tzname /* For SGI. */
10666 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
10677 rm -f conftest.
$ac_objext conftest
$ac_exeext
10678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10679 (eval $ac_link) 2>conftest.er1
10681 grep -v '^ *+' conftest.er1
>conftest.err
10683 cat conftest.err
>&5
10684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10685 (exit $ac_status); } &&
10686 { ac_try
='test -z "$ac_c_werror_flag"
10687 || test ! -s conftest.err'
10688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10689 (eval $ac_try) 2>&5
10691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10692 (exit $ac_status); }; } &&
10693 { ac_try
='test -s conftest$ac_exeext'
10694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10695 (eval $ac_try) 2>&5
10697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10698 (exit $ac_status); }; }; then
10699 ac_cv_var_tzname
=yes
10701 echo "$as_me: failed program was:" >&5
10702 sed 's/^/| /' conftest.
$ac_ext >&5
10704 ac_cv_var_tzname
=no
10706 rm -f conftest.err conftest.
$ac_objext \
10707 conftest
$ac_exeext conftest.
$ac_ext
10709 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
10710 echo "${ECHO_T}$ac_cv_var_tzname" >&6
10711 if test $ac_cv_var_tzname = yes; then
10713 cat >>confdefs.h
<<\_ACEOF
10714 #define HAVE_TZNAME 1
10723 for ac_func
in gethostbyname_r
10725 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10726 echo "$as_me:$LINENO: checking for $ac_func" >&5
10727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10728 if eval "test \"\${$as_ac_var+set}\" = set"; then
10729 echo $ECHO_N "(cached) $ECHO_C" >&6
10731 if test x
$gcc_no_link = xyes
; then
10732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10734 { (exit 1); exit 1; }; }
10736 cat >conftest.
$ac_ext <<_ACEOF
10739 cat confdefs.h
>>conftest.
$ac_ext
10740 cat >>conftest.
$ac_ext <<_ACEOF
10741 /* end confdefs.h. */
10742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10744 #define $ac_func innocuous_$ac_func
10746 /* System header to define __stub macros and hopefully few prototypes,
10747 which can conflict with char $ac_func (); below.
10748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10749 <limits.h> exists even on freestanding compilers. */
10752 # include <limits.h>
10754 # include <assert.h>
10759 /* Override any gcc2 internal prototype to avoid an error. */
10764 /* We use char because int might match the return type of a gcc2
10765 builtin and then its argument prototype would still apply. */
10767 /* The GNU C library defines this for functions which it implements
10768 to always fail with ENOSYS. Some functions are actually named
10769 something starting with __ and the normal name is an alias. */
10770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10773 char (*f) () = $ac_func;
10782 return f != $ac_func;
10787 rm -f conftest.
$ac_objext conftest
$ac_exeext
10788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10789 (eval $ac_link) 2>conftest.er1
10791 grep -v '^ *+' conftest.er1
>conftest.err
10793 cat conftest.err
>&5
10794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10795 (exit $ac_status); } &&
10796 { ac_try
='test -z "$ac_c_werror_flag"
10797 || test ! -s conftest.err'
10798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10799 (eval $ac_try) 2>&5
10801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10802 (exit $ac_status); }; } &&
10803 { ac_try
='test -s conftest$ac_exeext'
10804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10805 (eval $ac_try) 2>&5
10807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10808 (exit $ac_status); }; }; then
10809 eval "$as_ac_var=yes"
10811 echo "$as_me: failed program was:" >&5
10812 sed 's/^/| /' conftest.
$ac_ext >&5
10814 eval "$as_ac_var=no"
10816 rm -f conftest.err conftest.
$ac_objext \
10817 conftest
$ac_exeext conftest.
$ac_ext
10819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10821 if test `eval echo '${'$as_ac_var'}'` = yes; then
10822 cat >>confdefs.h
<<_ACEOF
10823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10827 cat >>confdefs.h
<<\_ACEOF
10828 #define HAVE_GETHOSTBYNAME_R 1
10831 # There are two different kinds of gethostbyname_r.
10832 # We look for the one that returns `int'.
10833 # Hopefully this check is robust enough.
10834 cat >conftest.
$ac_ext <<_ACEOF
10837 cat confdefs.h
>>conftest.
$ac_ext
10838 cat >>conftest.
$ac_ext <<_ACEOF
10839 /* end confdefs.h. */
10843 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10844 $EGREP "int.*gethostbyname_r" >/dev
/null
2>&1; then
10847 cat >>confdefs.h
<<\_ACEOF
10848 #define GETHOSTBYNAME_R_RETURNS_INT 1
10855 case " $GCINCS " in
10856 *" -D_REENTRANT "*) ;;
10858 echo "$as_me:$LINENO: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5
10859 echo $ECHO_N "checking whether gethostbyname_r declaration requires -D_REENTRANT... $ECHO_C" >&6
10860 if test "${libjava_cv_gethostbyname_r_needs_reentrant+set}" = set; then
10861 echo $ECHO_N "(cached) $ECHO_C" >&6
10864 ac_cpp
='$CXXCPP $CPPFLAGS'
10865 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10866 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10867 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10869 cat >conftest.
$ac_ext <<_ACEOF
10872 cat confdefs.h
>>conftest.
$ac_ext
10873 cat >>conftest.
$ac_ext <<_ACEOF
10874 /* end confdefs.h. */
10879 gethostbyname_r("", 0, 0);
10884 rm -f conftest.
$ac_objext
10885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10886 (eval $ac_compile) 2>conftest.er1
10888 grep -v '^ *+' conftest.er1
>conftest.err
10890 cat conftest.err
>&5
10891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10892 (exit $ac_status); } &&
10893 { ac_try
='test -z "$ac_cxx_werror_flag"
10894 || test ! -s conftest.err'
10895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10896 (eval $ac_try) 2>&5
10898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10899 (exit $ac_status); }; } &&
10900 { ac_try
='test -s conftest.$ac_objext'
10901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10902 (eval $ac_try) 2>&5
10904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10905 (exit $ac_status); }; }; then
10906 libjava_cv_gethostbyname_r_needs_reentrant
=no
10908 echo "$as_me: failed program was:" >&5
10909 sed 's/^/| /' conftest.
$ac_ext >&5
10911 CPPFLAGS_SAVE
="$CPPFLAGS"
10912 CPPFLAGS
="$CPPFLAGS -D_REENTRANT"
10913 cat >conftest.
$ac_ext <<_ACEOF
10916 cat confdefs.h
>>conftest.
$ac_ext
10917 cat >>conftest.
$ac_ext <<_ACEOF
10918 /* end confdefs.h. */
10923 gethostbyname_r("", 0, 0);
10928 rm -f conftest.
$ac_objext
10929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10930 (eval $ac_compile) 2>conftest.er1
10932 grep -v '^ *+' conftest.er1
>conftest.err
10934 cat conftest.err
>&5
10935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10936 (exit $ac_status); } &&
10937 { ac_try
='test -z "$ac_cxx_werror_flag"
10938 || test ! -s conftest.err'
10939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10940 (eval $ac_try) 2>&5
10942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10943 (exit $ac_status); }; } &&
10944 { ac_try
='test -s conftest.$ac_objext'
10945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10946 (eval $ac_try) 2>&5
10948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10949 (exit $ac_status); }; }; then
10950 libjava_cv_gethostbyname_r_needs_reentrant
=yes
10952 echo "$as_me: failed program was:" >&5
10953 sed 's/^/| /' conftest.
$ac_ext >&5
10955 libjava_cv_gethostbyname_r_needs_reentrant
=fail
10957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10958 CPPFLAGS
="$CPPFLAGS_SAVE"
10961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10963 ac_cpp
='$CPP $CPPFLAGS'
10964 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10965 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10966 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10970 echo "$as_me:$LINENO: result: $libjava_cv_gethostbyname_r_needs_reentrant" >&5
10971 echo "${ECHO_T}$libjava_cv_gethostbyname_r_needs_reentrant" >&6
10972 if test "x$libjava_cv_gethostbyname_r_needs_reentrant" = xyes
; then
10974 cat >>confdefs.h
<<\_ACEOF
10975 #define _REENTRANT 1
10982 echo "$as_me:$LINENO: checking for struct hostent_data" >&5
10983 echo $ECHO_N "checking for struct hostent_data... $ECHO_C" >&6
10984 if test "${libjava_cv_struct_hostent_data+set}" = set; then
10985 echo $ECHO_N "(cached) $ECHO_C" >&6
10987 cat >conftest.
$ac_ext <<_ACEOF
10990 cat confdefs.h
>>conftest.
$ac_ext
10991 cat >>conftest.
$ac_ext <<_ACEOF
10992 /* end confdefs.h. */
10994 #if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
10995 # define _REENTRANT 1
11001 struct hostent_data data;
11006 rm -f conftest.
$ac_objext
11007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11008 (eval $ac_compile) 2>conftest.er1
11010 grep -v '^ *+' conftest.er1
>conftest.err
11012 cat conftest.err
>&5
11013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11014 (exit $ac_status); } &&
11015 { ac_try
='test -z "$ac_c_werror_flag"
11016 || test ! -s conftest.err'
11017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11018 (eval $ac_try) 2>&5
11020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11021 (exit $ac_status); }; } &&
11022 { ac_try
='test -s conftest.$ac_objext'
11023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11024 (eval $ac_try) 2>&5
11026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11027 (exit $ac_status); }; }; then
11028 libjava_cv_struct_hostent_data
=yes
11030 echo "$as_me: failed program was:" >&5
11031 sed 's/^/| /' conftest.
$ac_ext >&5
11033 libjava_cv_struct_hostent_data
=no
11035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11037 echo "$as_me:$LINENO: result: $libjava_cv_struct_hostent_data" >&5
11038 echo "${ECHO_T}$libjava_cv_struct_hostent_data" >&6
11039 if test "x$libjava_cv_struct_hostent_data" = xyes
; then
11041 cat >>confdefs.h
<<\_ACEOF
11042 #define HAVE_STRUCT_HOSTENT_DATA 1
11051 # FIXME: libjava source code expects to find a prototype for
11052 # gethostbyaddr_r in netdb.h. The outer check ensures that
11053 # HAVE_GETHOSTBYADDR_R will not be defined if the prototype fails
11054 # to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
11055 # linkage check is enough, yet C++ code requires proper prototypes.)
11056 cat >conftest.
$ac_ext <<_ACEOF
11059 cat confdefs.h
>>conftest.
$ac_ext
11060 cat >>conftest.
$ac_ext <<_ACEOF
11061 /* end confdefs.h. */
11065 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11066 $EGREP "gethostbyaddr_r" >/dev
/null
2>&1; then
11069 for ac_func
in gethostbyaddr_r
11071 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11072 echo "$as_me:$LINENO: checking for $ac_func" >&5
11073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11074 if eval "test \"\${$as_ac_var+set}\" = set"; then
11075 echo $ECHO_N "(cached) $ECHO_C" >&6
11077 if test x
$gcc_no_link = xyes
; then
11078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11080 { (exit 1); exit 1; }; }
11082 cat >conftest.
$ac_ext <<_ACEOF
11085 cat confdefs.h
>>conftest.
$ac_ext
11086 cat >>conftest.
$ac_ext <<_ACEOF
11087 /* end confdefs.h. */
11088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11090 #define $ac_func innocuous_$ac_func
11092 /* System header to define __stub macros and hopefully few prototypes,
11093 which can conflict with char $ac_func (); below.
11094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11095 <limits.h> exists even on freestanding compilers. */
11098 # include <limits.h>
11100 # include <assert.h>
11105 /* Override any gcc2 internal prototype to avoid an error. */
11110 /* We use char because int might match the return type of a gcc2
11111 builtin and then its argument prototype would still apply. */
11113 /* The GNU C library defines this for functions which it implements
11114 to always fail with ENOSYS. Some functions are actually named
11115 something starting with __ and the normal name is an alias. */
11116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11119 char (*f) () = $ac_func;
11128 return f != $ac_func;
11133 rm -f conftest.
$ac_objext conftest
$ac_exeext
11134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11135 (eval $ac_link) 2>conftest.er1
11137 grep -v '^ *+' conftest.er1
>conftest.err
11139 cat conftest.err
>&5
11140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11141 (exit $ac_status); } &&
11142 { ac_try
='test -z "$ac_c_werror_flag"
11143 || test ! -s conftest.err'
11144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11145 (eval $ac_try) 2>&5
11147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11148 (exit $ac_status); }; } &&
11149 { ac_try
='test -s conftest$ac_exeext'
11150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11151 (eval $ac_try) 2>&5
11153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11154 (exit $ac_status); }; }; then
11155 eval "$as_ac_var=yes"
11157 echo "$as_me: failed program was:" >&5
11158 sed 's/^/| /' conftest.
$ac_ext >&5
11160 eval "$as_ac_var=no"
11162 rm -f conftest.err conftest.
$ac_objext \
11163 conftest
$ac_exeext conftest.
$ac_ext
11165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11167 if test `eval echo '${'$as_ac_var'}'` = yes; then
11168 cat >>confdefs.h
<<_ACEOF
11169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11173 cat >>confdefs.h
<<\_ACEOF
11174 #define HAVE_GETHOSTBYADDR_R 1
11177 # There are two different kinds of gethostbyaddr_r.
11178 # We look for the one that returns `int'.
11179 # Hopefully this check is robust enough.
11180 cat >conftest.
$ac_ext <<_ACEOF
11183 cat confdefs.h
>>conftest.
$ac_ext
11184 cat >>conftest.
$ac_ext <<_ACEOF
11185 /* end confdefs.h. */
11189 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11190 $EGREP "int.*gethostbyaddr_r" >/dev
/null
2>&1; then
11193 cat >>confdefs.h
<<\_ACEOF
11194 #define GETHOSTBYADDR_R_RETURNS_INT 1
11208 for ac_func
in gethostname
11210 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11211 echo "$as_me:$LINENO: checking for $ac_func" >&5
11212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11213 if eval "test \"\${$as_ac_var+set}\" = set"; then
11214 echo $ECHO_N "(cached) $ECHO_C" >&6
11216 if test x
$gcc_no_link = xyes
; then
11217 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11219 { (exit 1); exit 1; }; }
11221 cat >conftest.
$ac_ext <<_ACEOF
11224 cat confdefs.h
>>conftest.
$ac_ext
11225 cat >>conftest.
$ac_ext <<_ACEOF
11226 /* end confdefs.h. */
11227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11229 #define $ac_func innocuous_$ac_func
11231 /* System header to define __stub macros and hopefully few prototypes,
11232 which can conflict with char $ac_func (); below.
11233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11234 <limits.h> exists even on freestanding compilers. */
11237 # include <limits.h>
11239 # include <assert.h>
11244 /* Override any gcc2 internal prototype to avoid an error. */
11249 /* We use char because int might match the return type of a gcc2
11250 builtin and then its argument prototype would still apply. */
11252 /* The GNU C library defines this for functions which it implements
11253 to always fail with ENOSYS. Some functions are actually named
11254 something starting with __ and the normal name is an alias. */
11255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11258 char (*f) () = $ac_func;
11267 return f != $ac_func;
11272 rm -f conftest.
$ac_objext conftest
$ac_exeext
11273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11274 (eval $ac_link) 2>conftest.er1
11276 grep -v '^ *+' conftest.er1
>conftest.err
11278 cat conftest.err
>&5
11279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11280 (exit $ac_status); } &&
11281 { ac_try
='test -z "$ac_c_werror_flag"
11282 || test ! -s conftest.err'
11283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11284 (eval $ac_try) 2>&5
11286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11287 (exit $ac_status); }; } &&
11288 { ac_try
='test -s conftest$ac_exeext'
11289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11290 (eval $ac_try) 2>&5
11292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11293 (exit $ac_status); }; }; then
11294 eval "$as_ac_var=yes"
11296 echo "$as_me: failed program was:" >&5
11297 sed 's/^/| /' conftest.
$ac_ext >&5
11299 eval "$as_ac_var=no"
11301 rm -f conftest.err conftest.
$ac_objext \
11302 conftest
$ac_exeext conftest.
$ac_ext
11304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11306 if test `eval echo '${'$as_ac_var'}'` = yes; then
11307 cat >>confdefs.h
<<_ACEOF
11308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11312 cat >>confdefs.h
<<\_ACEOF
11313 #define HAVE_GETHOSTNAME 1
11316 cat >conftest.
$ac_ext <<_ACEOF
11319 cat confdefs.h
>>conftest.
$ac_ext
11320 cat >>conftest.
$ac_ext <<_ACEOF
11321 /* end confdefs.h. */
11322 #include <unistd.h>
11325 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11326 $EGREP "gethostname" >/dev
/null
2>&1; then
11329 cat >>confdefs.h
<<\_ACEOF
11330 #define HAVE_GETHOSTNAME_DECL 1
11341 for ac_func
in usleep
11343 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11344 echo "$as_me:$LINENO: checking for $ac_func" >&5
11345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11346 if eval "test \"\${$as_ac_var+set}\" = set"; then
11347 echo $ECHO_N "(cached) $ECHO_C" >&6
11349 if test x
$gcc_no_link = xyes
; then
11350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11352 { (exit 1); exit 1; }; }
11354 cat >conftest.
$ac_ext <<_ACEOF
11357 cat confdefs.h
>>conftest.
$ac_ext
11358 cat >>conftest.
$ac_ext <<_ACEOF
11359 /* end confdefs.h. */
11360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11362 #define $ac_func innocuous_$ac_func
11364 /* System header to define __stub macros and hopefully few prototypes,
11365 which can conflict with char $ac_func (); below.
11366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11367 <limits.h> exists even on freestanding compilers. */
11370 # include <limits.h>
11372 # include <assert.h>
11377 /* Override any gcc2 internal prototype to avoid an error. */
11382 /* We use char because int might match the return type of a gcc2
11383 builtin and then its argument prototype would still apply. */
11385 /* The GNU C library defines this for functions which it implements
11386 to always fail with ENOSYS. Some functions are actually named
11387 something starting with __ and the normal name is an alias. */
11388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11391 char (*f) () = $ac_func;
11400 return f != $ac_func;
11405 rm -f conftest.
$ac_objext conftest
$ac_exeext
11406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11407 (eval $ac_link) 2>conftest.er1
11409 grep -v '^ *+' conftest.er1
>conftest.err
11411 cat conftest.err
>&5
11412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11413 (exit $ac_status); } &&
11414 { ac_try
='test -z "$ac_c_werror_flag"
11415 || test ! -s conftest.err'
11416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11417 (eval $ac_try) 2>&5
11419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11420 (exit $ac_status); }; } &&
11421 { ac_try
='test -s conftest$ac_exeext'
11422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11423 (eval $ac_try) 2>&5
11425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11426 (exit $ac_status); }; }; then
11427 eval "$as_ac_var=yes"
11429 echo "$as_me: failed program was:" >&5
11430 sed 's/^/| /' conftest.
$ac_ext >&5
11432 eval "$as_ac_var=no"
11434 rm -f conftest.err conftest.
$ac_objext \
11435 conftest
$ac_exeext conftest.
$ac_ext
11437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11439 if test `eval echo '${'$as_ac_var'}'` = yes; then
11440 cat >>confdefs.h
<<_ACEOF
11441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11444 cat >conftest.
$ac_ext <<_ACEOF
11447 cat confdefs.h
>>conftest.
$ac_ext
11448 cat >>conftest.
$ac_ext <<_ACEOF
11449 /* end confdefs.h. */
11450 #include <unistd.h>
11453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11454 $EGREP "usleep" >/dev
/null
2>&1; then
11457 cat >>confdefs.h
<<\_ACEOF
11458 #define HAVE_USLEEP_DECL 1
11468 # Look for these functions in the thread library, but only bother
11469 # if using POSIX threads.
11470 if test "$THREADS" = posix
; then
11472 LIBS
="$LIBS $THREADLIBS"
11473 # Some POSIX thread systems don't have pthread_mutexattr_settype.
11477 for ac_func
in pthread_mutexattr_settype pthread_mutexattr_setkind_np
11479 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11480 echo "$as_me:$LINENO: checking for $ac_func" >&5
11481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11482 if eval "test \"\${$as_ac_var+set}\" = set"; then
11483 echo $ECHO_N "(cached) $ECHO_C" >&6
11485 if test x
$gcc_no_link = xyes
; then
11486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11488 { (exit 1); exit 1; }; }
11490 cat >conftest.
$ac_ext <<_ACEOF
11493 cat confdefs.h
>>conftest.
$ac_ext
11494 cat >>conftest.
$ac_ext <<_ACEOF
11495 /* end confdefs.h. */
11496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11498 #define $ac_func innocuous_$ac_func
11500 /* System header to define __stub macros and hopefully few prototypes,
11501 which can conflict with char $ac_func (); below.
11502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11503 <limits.h> exists even on freestanding compilers. */
11506 # include <limits.h>
11508 # include <assert.h>
11513 /* Override any gcc2 internal prototype to avoid an error. */
11518 /* We use char because int might match the return type of a gcc2
11519 builtin and then its argument prototype would still apply. */
11521 /* The GNU C library defines this for functions which it implements
11522 to always fail with ENOSYS. Some functions are actually named
11523 something starting with __ and the normal name is an alias. */
11524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11527 char (*f) () = $ac_func;
11536 return f != $ac_func;
11541 rm -f conftest.
$ac_objext conftest
$ac_exeext
11542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11543 (eval $ac_link) 2>conftest.er1
11545 grep -v '^ *+' conftest.er1
>conftest.err
11547 cat conftest.err
>&5
11548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11549 (exit $ac_status); } &&
11550 { ac_try
='test -z "$ac_c_werror_flag"
11551 || test ! -s conftest.err'
11552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11553 (eval $ac_try) 2>&5
11555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11556 (exit $ac_status); }; } &&
11557 { ac_try
='test -s conftest$ac_exeext'
11558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11559 (eval $ac_try) 2>&5
11561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11562 (exit $ac_status); }; }; then
11563 eval "$as_ac_var=yes"
11565 echo "$as_me: failed program was:" >&5
11566 sed 's/^/| /' conftest.
$ac_ext >&5
11568 eval "$as_ac_var=no"
11570 rm -f conftest.err conftest.
$ac_objext \
11571 conftest
$ac_exeext conftest.
$ac_ext
11573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11575 if test `eval echo '${'$as_ac_var'}'` = yes; then
11576 cat >>confdefs.h
<<_ACEOF
11577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11584 # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since
11585 # Solaris 7 the name librt is preferred.
11587 for ac_func
in sched_yield
11589 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11590 echo "$as_me:$LINENO: checking for $ac_func" >&5
11591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11592 if eval "test \"\${$as_ac_var+set}\" = set"; then
11593 echo $ECHO_N "(cached) $ECHO_C" >&6
11595 if test x
$gcc_no_link = xyes
; then
11596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11598 { (exit 1); exit 1; }; }
11600 cat >conftest.
$ac_ext <<_ACEOF
11603 cat confdefs.h
>>conftest.
$ac_ext
11604 cat >>conftest.
$ac_ext <<_ACEOF
11605 /* end confdefs.h. */
11606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11608 #define $ac_func innocuous_$ac_func
11610 /* System header to define __stub macros and hopefully few prototypes,
11611 which can conflict with char $ac_func (); below.
11612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11613 <limits.h> exists even on freestanding compilers. */
11616 # include <limits.h>
11618 # include <assert.h>
11623 /* Override any gcc2 internal prototype to avoid an error. */
11628 /* We use char because int might match the return type of a gcc2
11629 builtin and then its argument prototype would still apply. */
11631 /* The GNU C library defines this for functions which it implements
11632 to always fail with ENOSYS. Some functions are actually named
11633 something starting with __ and the normal name is an alias. */
11634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11637 char (*f) () = $ac_func;
11646 return f != $ac_func;
11651 rm -f conftest.
$ac_objext conftest
$ac_exeext
11652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11653 (eval $ac_link) 2>conftest.er1
11655 grep -v '^ *+' conftest.er1
>conftest.err
11657 cat conftest.err
>&5
11658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11659 (exit $ac_status); } &&
11660 { ac_try
='test -z "$ac_c_werror_flag"
11661 || test ! -s conftest.err'
11662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11663 (eval $ac_try) 2>&5
11665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11666 (exit $ac_status); }; } &&
11667 { ac_try
='test -s conftest$ac_exeext'
11668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11669 (eval $ac_try) 2>&5
11671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11672 (exit $ac_status); }; }; then
11673 eval "$as_ac_var=yes"
11675 echo "$as_me: failed program was:" >&5
11676 sed 's/^/| /' conftest.
$ac_ext >&5
11678 eval "$as_ac_var=no"
11680 rm -f conftest.err conftest.
$ac_objext \
11681 conftest
$ac_exeext conftest.
$ac_ext
11683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11685 if test `eval echo '${'$as_ac_var'}'` = yes; then
11686 cat >>confdefs.h
<<_ACEOF
11687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11692 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
11693 echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
11694 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
11695 echo $ECHO_N "(cached) $ECHO_C" >&6
11697 ac_check_lib_save_LIBS
=$LIBS
11699 if test x
$gcc_no_link = xyes
; then
11700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11702 { (exit 1); exit 1; }; }
11704 cat >conftest.
$ac_ext <<_ACEOF
11707 cat confdefs.h
>>conftest.
$ac_ext
11708 cat >>conftest.
$ac_ext <<_ACEOF
11709 /* end confdefs.h. */
11711 /* Override any gcc2 internal prototype to avoid an error. */
11715 /* We use char because int might match the return type of a gcc2
11716 builtin and then its argument prototype would still apply. */
11717 char sched_yield ();
11726 rm -f conftest.
$ac_objext conftest
$ac_exeext
11727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11728 (eval $ac_link) 2>conftest.er1
11730 grep -v '^ *+' conftest.er1
>conftest.err
11732 cat conftest.err
>&5
11733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11734 (exit $ac_status); } &&
11735 { ac_try
='test -z "$ac_c_werror_flag"
11736 || test ! -s conftest.err'
11737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11738 (eval $ac_try) 2>&5
11740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11741 (exit $ac_status); }; } &&
11742 { ac_try
='test -s conftest$ac_exeext'
11743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11744 (eval $ac_try) 2>&5
11746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11747 (exit $ac_status); }; }; then
11748 ac_cv_lib_rt_sched_yield
=yes
11750 echo "$as_me: failed program was:" >&5
11751 sed 's/^/| /' conftest.
$ac_ext >&5
11753 ac_cv_lib_rt_sched_yield
=no
11755 rm -f conftest.err conftest.
$ac_objext \
11756 conftest
$ac_exeext conftest.
$ac_ext
11757 LIBS
=$ac_check_lib_save_LIBS
11759 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
11760 echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
11761 if test $ac_cv_lib_rt_sched_yield = yes; then
11763 cat >>confdefs.h
<<\_ACEOF
11764 #define HAVE_SCHED_YIELD 1
11767 THREADLIBS
="$THREADLIBS -lrt"
11768 THREADSPEC
="$THREADSPEC -lrt"
11771 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
11772 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
11773 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
11774 echo $ECHO_N "(cached) $ECHO_C" >&6
11776 ac_check_lib_save_LIBS
=$LIBS
11777 LIBS
="-lposix4 $LIBS"
11778 if test x
$gcc_no_link = xyes
; then
11779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11781 { (exit 1); exit 1; }; }
11783 cat >conftest.
$ac_ext <<_ACEOF
11786 cat confdefs.h
>>conftest.
$ac_ext
11787 cat >>conftest.
$ac_ext <<_ACEOF
11788 /* end confdefs.h. */
11790 /* Override any gcc2 internal prototype to avoid an error. */
11794 /* We use char because int might match the return type of a gcc2
11795 builtin and then its argument prototype would still apply. */
11796 char sched_yield ();
11805 rm -f conftest.
$ac_objext conftest
$ac_exeext
11806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11807 (eval $ac_link) 2>conftest.er1
11809 grep -v '^ *+' conftest.er1
>conftest.err
11811 cat conftest.err
>&5
11812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11813 (exit $ac_status); } &&
11814 { ac_try
='test -z "$ac_c_werror_flag"
11815 || test ! -s conftest.err'
11816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11817 (eval $ac_try) 2>&5
11819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11820 (exit $ac_status); }; } &&
11821 { ac_try
='test -s conftest$ac_exeext'
11822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11823 (eval $ac_try) 2>&5
11825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11826 (exit $ac_status); }; }; then
11827 ac_cv_lib_posix4_sched_yield
=yes
11829 echo "$as_me: failed program was:" >&5
11830 sed 's/^/| /' conftest.
$ac_ext >&5
11832 ac_cv_lib_posix4_sched_yield
=no
11834 rm -f conftest.err conftest.
$ac_objext \
11835 conftest
$ac_exeext conftest.
$ac_ext
11836 LIBS
=$ac_check_lib_save_LIBS
11838 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
11839 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
11840 if test $ac_cv_lib_posix4_sched_yield = yes; then
11842 cat >>confdefs.h
<<\_ACEOF
11843 #define HAVE_SCHED_YIELD 1
11846 THREADLIBS
="$THREADLIBS -lposix4"
11847 THREADSPEC
="$THREADSPEC -lposix4"
11857 # We can save a little space at runtime if the mutex has m_count
11858 # or __m_count. This is a nice hack for Linux.
11859 cat >conftest.
$ac_ext <<_ACEOF
11862 cat confdefs.h
>>conftest.
$ac_ext
11863 cat >>conftest.
$ac_ext <<_ACEOF
11864 /* end confdefs.h. */
11865 #include <pthread.h>
11870 extern pthread_mutex_t *mutex; int q = mutex->m_count;
11876 rm -f conftest.
$ac_objext
11877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11878 (eval $ac_compile) 2>conftest.er1
11880 grep -v '^ *+' conftest.er1
>conftest.err
11882 cat conftest.err
>&5
11883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11884 (exit $ac_status); } &&
11885 { ac_try
='test -z "$ac_c_werror_flag"
11886 || test ! -s conftest.err'
11887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11888 (eval $ac_try) 2>&5
11890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11891 (exit $ac_status); }; } &&
11892 { ac_try
='test -s conftest.$ac_objext'
11893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11894 (eval $ac_try) 2>&5
11896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11897 (exit $ac_status); }; }; then
11899 cat >>confdefs.h
<<\_ACEOF
11900 #define PTHREAD_MUTEX_HAVE_M_COUNT 1
11904 echo "$as_me: failed program was:" >&5
11905 sed 's/^/| /' conftest.
$ac_ext >&5
11908 cat >conftest.
$ac_ext <<_ACEOF
11911 cat confdefs.h
>>conftest.
$ac_ext
11912 cat >>conftest.
$ac_ext <<_ACEOF
11913 /* end confdefs.h. */
11914 #include <pthread.h>
11919 extern pthread_mutex_t *mutex; int q = mutex->__m_count;
11925 rm -f conftest.
$ac_objext
11926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11927 (eval $ac_compile) 2>conftest.er1
11929 grep -v '^ *+' conftest.er1
>conftest.err
11931 cat conftest.err
>&5
11932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11933 (exit $ac_status); } &&
11934 { ac_try
='test -z "$ac_c_werror_flag"
11935 || test ! -s conftest.err'
11936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11937 (eval $ac_try) 2>&5
11939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11940 (exit $ac_status); }; } &&
11941 { ac_try
='test -s conftest.$ac_objext'
11942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11943 (eval $ac_try) 2>&5
11945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11946 (exit $ac_status); }; }; then
11948 cat >>confdefs.h
<<\_ACEOF
11949 #define PTHREAD_MUTEX_HAVE___M_COUNT 1
11953 echo "$as_me: failed program was:" >&5
11954 sed 's/^/| /' conftest.
$ac_ext >&5
11957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11962 # We require a way to get the time.
11967 for ac_func
in gettimeofday
time ftime
11969 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11970 echo "$as_me:$LINENO: checking for $ac_func" >&5
11971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11972 if eval "test \"\${$as_ac_var+set}\" = set"; then
11973 echo $ECHO_N "(cached) $ECHO_C" >&6
11975 if test x
$gcc_no_link = xyes
; then
11976 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11978 { (exit 1); exit 1; }; }
11980 cat >conftest.
$ac_ext <<_ACEOF
11983 cat confdefs.h
>>conftest.
$ac_ext
11984 cat >>conftest.
$ac_ext <<_ACEOF
11985 /* end confdefs.h. */
11986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11988 #define $ac_func innocuous_$ac_func
11990 /* System header to define __stub macros and hopefully few prototypes,
11991 which can conflict with char $ac_func (); below.
11992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11993 <limits.h> exists even on freestanding compilers. */
11996 # include <limits.h>
11998 # include <assert.h>
12003 /* Override any gcc2 internal prototype to avoid an error. */
12008 /* We use char because int might match the return type of a gcc2
12009 builtin and then its argument prototype would still apply. */
12011 /* The GNU C library defines this for functions which it implements
12012 to always fail with ENOSYS. Some functions are actually named
12013 something starting with __ and the normal name is an alias. */
12014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12017 char (*f) () = $ac_func;
12026 return f != $ac_func;
12031 rm -f conftest.
$ac_objext conftest
$ac_exeext
12032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12033 (eval $ac_link) 2>conftest.er1
12035 grep -v '^ *+' conftest.er1
>conftest.err
12037 cat conftest.err
>&5
12038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12039 (exit $ac_status); } &&
12040 { ac_try
='test -z "$ac_c_werror_flag"
12041 || test ! -s conftest.err'
12042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12043 (eval $ac_try) 2>&5
12045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12046 (exit $ac_status); }; } &&
12047 { ac_try
='test -s conftest$ac_exeext'
12048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12049 (eval $ac_try) 2>&5
12051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12052 (exit $ac_status); }; }; then
12053 eval "$as_ac_var=yes"
12055 echo "$as_me: failed program was:" >&5
12056 sed 's/^/| /' conftest.
$ac_ext >&5
12058 eval "$as_ac_var=no"
12060 rm -f conftest.err conftest.
$ac_objext \
12061 conftest
$ac_exeext conftest.
$ac_ext
12063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12065 if test `eval echo '${'$as_ac_var'}'` = yes; then
12066 cat >>confdefs.h
<<_ACEOF
12067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12073 if test "$time_found" = no
; then
12074 { { echo "$as_me:$LINENO: error: no function found to get the time" >&5
12075 echo "$as_me: error: no function found to get the time" >&2;}
12076 { (exit 1); exit 1; }; }
12080 for ac_func
in memmove
12082 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12083 echo "$as_me:$LINENO: checking for $ac_func" >&5
12084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12085 if eval "test \"\${$as_ac_var+set}\" = set"; then
12086 echo $ECHO_N "(cached) $ECHO_C" >&6
12088 if test x
$gcc_no_link = xyes
; then
12089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12091 { (exit 1); exit 1; }; }
12093 cat >conftest.
$ac_ext <<_ACEOF
12096 cat confdefs.h
>>conftest.
$ac_ext
12097 cat >>conftest.
$ac_ext <<_ACEOF
12098 /* end confdefs.h. */
12099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12101 #define $ac_func innocuous_$ac_func
12103 /* System header to define __stub macros and hopefully few prototypes,
12104 which can conflict with char $ac_func (); below.
12105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12106 <limits.h> exists even on freestanding compilers. */
12109 # include <limits.h>
12111 # include <assert.h>
12116 /* Override any gcc2 internal prototype to avoid an error. */
12121 /* We use char because int might match the return type of a gcc2
12122 builtin and then its argument prototype would still apply. */
12124 /* The GNU C library defines this for functions which it implements
12125 to always fail with ENOSYS. Some functions are actually named
12126 something starting with __ and the normal name is an alias. */
12127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12130 char (*f) () = $ac_func;
12139 return f != $ac_func;
12144 rm -f conftest.
$ac_objext conftest
$ac_exeext
12145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12146 (eval $ac_link) 2>conftest.er1
12148 grep -v '^ *+' conftest.er1
>conftest.err
12150 cat conftest.err
>&5
12151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12152 (exit $ac_status); } &&
12153 { ac_try
='test -z "$ac_c_werror_flag"
12154 || test ! -s conftest.err'
12155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12156 (eval $ac_try) 2>&5
12158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12159 (exit $ac_status); }; } &&
12160 { ac_try
='test -s conftest$ac_exeext'
12161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12162 (eval $ac_try) 2>&5
12164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12165 (exit $ac_status); }; }; then
12166 eval "$as_ac_var=yes"
12168 echo "$as_me: failed program was:" >&5
12169 sed 's/^/| /' conftest.
$ac_ext >&5
12171 eval "$as_ac_var=no"
12173 rm -f conftest.err conftest.
$ac_objext \
12174 conftest
$ac_exeext conftest.
$ac_ext
12176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12178 if test `eval echo '${'$as_ac_var'}'` = yes; then
12179 cat >>confdefs.h
<<_ACEOF
12180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12187 # We require memcpy.
12190 for ac_func
in memcpy
12192 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12193 echo "$as_me:$LINENO: checking for $ac_func" >&5
12194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12195 if eval "test \"\${$as_ac_var+set}\" = set"; then
12196 echo $ECHO_N "(cached) $ECHO_C" >&6
12198 if test x
$gcc_no_link = xyes
; then
12199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12201 { (exit 1); exit 1; }; }
12203 cat >conftest.
$ac_ext <<_ACEOF
12206 cat confdefs.h
>>conftest.
$ac_ext
12207 cat >>conftest.
$ac_ext <<_ACEOF
12208 /* end confdefs.h. */
12209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12211 #define $ac_func innocuous_$ac_func
12213 /* System header to define __stub macros and hopefully few prototypes,
12214 which can conflict with char $ac_func (); below.
12215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12216 <limits.h> exists even on freestanding compilers. */
12219 # include <limits.h>
12221 # include <assert.h>
12226 /* Override any gcc2 internal prototype to avoid an error. */
12231 /* We use char because int might match the return type of a gcc2
12232 builtin and then its argument prototype would still apply. */
12234 /* The GNU C library defines this for functions which it implements
12235 to always fail with ENOSYS. Some functions are actually named
12236 something starting with __ and the normal name is an alias. */
12237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12240 char (*f) () = $ac_func;
12249 return f != $ac_func;
12254 rm -f conftest.
$ac_objext conftest
$ac_exeext
12255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12256 (eval $ac_link) 2>conftest.er1
12258 grep -v '^ *+' conftest.er1
>conftest.err
12260 cat conftest.err
>&5
12261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262 (exit $ac_status); } &&
12263 { ac_try
='test -z "$ac_c_werror_flag"
12264 || test ! -s conftest.err'
12265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12266 (eval $ac_try) 2>&5
12268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269 (exit $ac_status); }; } &&
12270 { ac_try
='test -s conftest$ac_exeext'
12271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12272 (eval $ac_try) 2>&5
12274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12275 (exit $ac_status); }; }; then
12276 eval "$as_ac_var=yes"
12278 echo "$as_me: failed program was:" >&5
12279 sed 's/^/| /' conftest.
$ac_ext >&5
12281 eval "$as_ac_var=no"
12283 rm -f conftest.err conftest.
$ac_objext \
12284 conftest
$ac_exeext conftest.
$ac_ext
12286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12288 if test `eval echo '${'$as_ac_var'}'` = yes; then
12289 cat >>confdefs.h
<<_ACEOF
12290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12296 if test "$memcpy_found" = no
; then
12297 { { echo "$as_me:$LINENO: error: memcpy is required" >&5
12298 echo "$as_me: error: memcpy is required" >&2;}
12299 { (exit 1); exit 1; }; }
12302 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12303 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12304 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12305 echo $ECHO_N "(cached) $ECHO_C" >&6
12307 ac_check_lib_save_LIBS
=$LIBS
12309 if test x
$gcc_no_link = xyes
; then
12310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12312 { (exit 1); exit 1; }; }
12314 cat >conftest.
$ac_ext <<_ACEOF
12317 cat confdefs.h
>>conftest.
$ac_ext
12318 cat >>conftest.
$ac_ext <<_ACEOF
12319 /* end confdefs.h. */
12321 /* Override any gcc2 internal prototype to avoid an error. */
12325 /* We use char because int might match the return type of a gcc2
12326 builtin and then its argument prototype would still apply. */
12336 rm -f conftest.
$ac_objext conftest
$ac_exeext
12337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12338 (eval $ac_link) 2>conftest.er1
12340 grep -v '^ *+' conftest.er1
>conftest.err
12342 cat conftest.err
>&5
12343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12344 (exit $ac_status); } &&
12345 { ac_try
='test -z "$ac_c_werror_flag"
12346 || test ! -s conftest.err'
12347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12348 (eval $ac_try) 2>&5
12350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12351 (exit $ac_status); }; } &&
12352 { ac_try
='test -s conftest$ac_exeext'
12353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12354 (eval $ac_try) 2>&5
12356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12357 (exit $ac_status); }; }; then
12358 ac_cv_lib_dl_dlopen
=yes
12360 echo "$as_me: failed program was:" >&5
12361 sed 's/^/| /' conftest.
$ac_ext >&5
12363 ac_cv_lib_dl_dlopen
=no
12365 rm -f conftest.err conftest.
$ac_objext \
12366 conftest
$ac_exeext conftest.
$ac_ext
12367 LIBS
=$ac_check_lib_save_LIBS
12369 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12370 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12371 if test $ac_cv_lib_dl_dlopen = yes; then
12374 cat >>confdefs.h
<<\_ACEOF
12375 #define HAVE_DLOPEN 1
12381 # Some library-finding code we stole from Tcl.
12382 #--------------------------------------------------------------------
12383 # Check for the existence of the -lsocket and -lnsl libraries.
12384 # The order here is important, so that they end up in the right
12385 # order in the command line generated by make. Here are some
12386 # special considerations:
12387 # 1. Use "connect" and "accept" to check for -lsocket, and
12388 # "gethostbyname" to check for -lnsl.
12389 # 2. Use each function name only once: can't redo a check because
12390 # autoconf caches the results of the last check and won't redo it.
12391 # 3. Use -lnsl and -lsocket only if they supply procedures that
12392 # aren't already present in the normal libraries. This is because
12393 # IRIX 5.2 has libraries, but they aren't needed and they're
12394 # bogus: they goof up name resolution if used.
12395 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
12396 # To get around this problem, check for both libraries together
12397 # if -lsocket doesn't work by itself.
12398 #--------------------------------------------------------------------
12400 echo "$as_me:$LINENO: checking for socket libraries" >&5
12401 echo $ECHO_N "checking for socket libraries... $ECHO_C" >&6
12402 if test "${gcj_cv_lib_sockets+set}" = set; then
12403 echo $ECHO_N "(cached) $ECHO_C" >&6
12405 gcj_cv_lib_sockets
=
12407 unset ac_cv_func_connect
12408 echo "$as_me:$LINENO: checking for connect" >&5
12409 echo $ECHO_N "checking for connect... $ECHO_C" >&6
12410 if test "${ac_cv_func_connect+set}" = set; then
12411 echo $ECHO_N "(cached) $ECHO_C" >&6
12413 if test x
$gcc_no_link = xyes
; then
12414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12416 { (exit 1); exit 1; }; }
12418 cat >conftest.
$ac_ext <<_ACEOF
12421 cat confdefs.h
>>conftest.
$ac_ext
12422 cat >>conftest.
$ac_ext <<_ACEOF
12423 /* end confdefs.h. */
12424 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
12425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12426 #define connect innocuous_connect
12428 /* System header to define __stub macros and hopefully few prototypes,
12429 which can conflict with char connect (); below.
12430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12431 <limits.h> exists even on freestanding compilers. */
12434 # include <limits.h>
12436 # include <assert.h>
12441 /* Override any gcc2 internal prototype to avoid an error. */
12446 /* We use char because int might match the return type of a gcc2
12447 builtin and then its argument prototype would still apply. */
12449 /* The GNU C library defines this for functions which it implements
12450 to always fail with ENOSYS. Some functions are actually named
12451 something starting with __ and the normal name is an alias. */
12452 #if defined (__stub_connect) || defined (__stub___connect)
12455 char (*f) () = connect;
12464 return f != connect;
12469 rm -f conftest.
$ac_objext conftest
$ac_exeext
12470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12471 (eval $ac_link) 2>conftest.er1
12473 grep -v '^ *+' conftest.er1
>conftest.err
12475 cat conftest.err
>&5
12476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12477 (exit $ac_status); } &&
12478 { ac_try
='test -z "$ac_c_werror_flag"
12479 || test ! -s conftest.err'
12480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12481 (eval $ac_try) 2>&5
12483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12484 (exit $ac_status); }; } &&
12485 { ac_try
='test -s conftest$ac_exeext'
12486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12487 (eval $ac_try) 2>&5
12489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12490 (exit $ac_status); }; }; then
12491 ac_cv_func_connect
=yes
12493 echo "$as_me: failed program was:" >&5
12494 sed 's/^/| /' conftest.
$ac_ext >&5
12496 ac_cv_func_connect
=no
12498 rm -f conftest.err conftest.
$ac_objext \
12499 conftest
$ac_exeext conftest.
$ac_ext
12501 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
12502 echo "${ECHO_T}$ac_cv_func_connect" >&6
12503 if test $ac_cv_func_connect = yes; then
12509 if test "$gcj_checkSocket" = 1; then
12510 unset ac_cv_func_connect
12511 echo "$as_me:$LINENO: checking for main in -lsocket" >&5
12512 echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
12513 if test "${ac_cv_lib_socket_main+set}" = set; then
12514 echo $ECHO_N "(cached) $ECHO_C" >&6
12516 ac_check_lib_save_LIBS
=$LIBS
12517 LIBS
="-lsocket $LIBS"
12518 if test x
$gcc_no_link = xyes
; then
12519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12521 { (exit 1); exit 1; }; }
12523 cat >conftest.
$ac_ext <<_ACEOF
12526 cat confdefs.h
>>conftest.
$ac_ext
12527 cat >>conftest.
$ac_ext <<_ACEOF
12528 /* end confdefs.h. */
12539 rm -f conftest.
$ac_objext conftest
$ac_exeext
12540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12541 (eval $ac_link) 2>conftest.er1
12543 grep -v '^ *+' conftest.er1
>conftest.err
12545 cat conftest.err
>&5
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); } &&
12548 { ac_try
='test -z "$ac_c_werror_flag"
12549 || test ! -s conftest.err'
12550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12551 (eval $ac_try) 2>&5
12553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12554 (exit $ac_status); }; } &&
12555 { ac_try
='test -s conftest$ac_exeext'
12556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12557 (eval $ac_try) 2>&5
12559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12560 (exit $ac_status); }; }; then
12561 ac_cv_lib_socket_main
=yes
12563 echo "$as_me: failed program was:" >&5
12564 sed 's/^/| /' conftest.
$ac_ext >&5
12566 ac_cv_lib_socket_main
=no
12568 rm -f conftest.err conftest.
$ac_objext \
12569 conftest
$ac_exeext conftest.
$ac_ext
12570 LIBS
=$ac_check_lib_save_LIBS
12572 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
12573 echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
12574 if test $ac_cv_lib_socket_main = yes; then
12575 gcj_cv_lib_sockets
="-lsocket"
12581 if test "$gcj_checkBoth" = 1; then
12583 LIBS
="$LIBS -lsocket -lnsl"
12584 unset ac_cv_func_accept
12585 echo "$as_me:$LINENO: checking for accept" >&5
12586 echo $ECHO_N "checking for accept... $ECHO_C" >&6
12587 if test "${ac_cv_func_accept+set}" = set; then
12588 echo $ECHO_N "(cached) $ECHO_C" >&6
12590 if test x
$gcc_no_link = xyes
; then
12591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12593 { (exit 1); exit 1; }; }
12595 cat >conftest.
$ac_ext <<_ACEOF
12598 cat confdefs.h
>>conftest.
$ac_ext
12599 cat >>conftest.
$ac_ext <<_ACEOF
12600 /* end confdefs.h. */
12601 /* Define accept to an innocuous variant, in case <limits.h> declares accept.
12602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12603 #define accept innocuous_accept
12605 /* System header to define __stub macros and hopefully few prototypes,
12606 which can conflict with char accept (); below.
12607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12608 <limits.h> exists even on freestanding compilers. */
12611 # include <limits.h>
12613 # include <assert.h>
12618 /* Override any gcc2 internal prototype to avoid an error. */
12623 /* We use char because int might match the return type of a gcc2
12624 builtin and then its argument prototype would still apply. */
12626 /* The GNU C library defines this for functions which it implements
12627 to always fail with ENOSYS. Some functions are actually named
12628 something starting with __ and the normal name is an alias. */
12629 #if defined (__stub_accept) || defined (__stub___accept)
12632 char (*f) () = accept;
12641 return f != accept;
12646 rm -f conftest.
$ac_objext conftest
$ac_exeext
12647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12648 (eval $ac_link) 2>conftest.er1
12650 grep -v '^ *+' conftest.er1
>conftest.err
12652 cat conftest.err
>&5
12653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12654 (exit $ac_status); } &&
12655 { ac_try
='test -z "$ac_c_werror_flag"
12656 || test ! -s conftest.err'
12657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12658 (eval $ac_try) 2>&5
12660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12661 (exit $ac_status); }; } &&
12662 { ac_try
='test -s conftest$ac_exeext'
12663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12664 (eval $ac_try) 2>&5
12666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12667 (exit $ac_status); }; }; then
12668 ac_cv_func_accept
=yes
12670 echo "$as_me: failed program was:" >&5
12671 sed 's/^/| /' conftest.
$ac_ext >&5
12673 ac_cv_func_accept
=no
12675 rm -f conftest.err conftest.
$ac_objext \
12676 conftest
$ac_exeext conftest.
$ac_ext
12678 echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5
12679 echo "${ECHO_T}$ac_cv_func_accept" >&6
12680 if test $ac_cv_func_accept = yes; then
12682 gcj_cv_lib_sockets
="-lsocket -lnsl"
12685 unset ac_cv_func_accept
12688 unset ac_cv_func_gethostbyname
12690 LIBS
="$LIBS $gcj_cv_lib_sockets"
12691 echo "$as_me:$LINENO: checking for gethostbyname" >&5
12692 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
12693 if test "${ac_cv_func_gethostbyname+set}" = set; then
12694 echo $ECHO_N "(cached) $ECHO_C" >&6
12696 if test x
$gcc_no_link = xyes
; then
12697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12699 { (exit 1); exit 1; }; }
12701 cat >conftest.
$ac_ext <<_ACEOF
12704 cat confdefs.h
>>conftest.
$ac_ext
12705 cat >>conftest.
$ac_ext <<_ACEOF
12706 /* end confdefs.h. */
12707 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
12708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12709 #define gethostbyname innocuous_gethostbyname
12711 /* System header to define __stub macros and hopefully few prototypes,
12712 which can conflict with char gethostbyname (); below.
12713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12714 <limits.h> exists even on freestanding compilers. */
12717 # include <limits.h>
12719 # include <assert.h>
12722 #undef gethostbyname
12724 /* Override any gcc2 internal prototype to avoid an error. */
12729 /* We use char because int might match the return type of a gcc2
12730 builtin and then its argument prototype would still apply. */
12731 char gethostbyname ();
12732 /* The GNU C library defines this for functions which it implements
12733 to always fail with ENOSYS. Some functions are actually named
12734 something starting with __ and the normal name is an alias. */
12735 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
12738 char (*f) () = gethostbyname;
12747 return f != gethostbyname;
12752 rm -f conftest.
$ac_objext conftest
$ac_exeext
12753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12754 (eval $ac_link) 2>conftest.er1
12756 grep -v '^ *+' conftest.er1
>conftest.err
12758 cat conftest.err
>&5
12759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760 (exit $ac_status); } &&
12761 { ac_try
='test -z "$ac_c_werror_flag"
12762 || test ! -s conftest.err'
12763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12764 (eval $ac_try) 2>&5
12766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12767 (exit $ac_status); }; } &&
12768 { ac_try
='test -s conftest$ac_exeext'
12769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12770 (eval $ac_try) 2>&5
12772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12773 (exit $ac_status); }; }; then
12774 ac_cv_func_gethostbyname
=yes
12776 echo "$as_me: failed program was:" >&5
12777 sed 's/^/| /' conftest.
$ac_ext >&5
12779 ac_cv_func_gethostbyname
=no
12781 rm -f conftest.err conftest.
$ac_objext \
12782 conftest
$ac_exeext conftest.
$ac_ext
12784 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
12785 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
12786 if test $ac_cv_func_gethostbyname = yes; then
12789 echo "$as_me:$LINENO: checking for main in -lnsl" >&5
12790 echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
12791 if test "${ac_cv_lib_nsl_main+set}" = set; then
12792 echo $ECHO_N "(cached) $ECHO_C" >&6
12794 ac_check_lib_save_LIBS
=$LIBS
12796 if test x
$gcc_no_link = xyes
; then
12797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12799 { (exit 1); exit 1; }; }
12801 cat >conftest.
$ac_ext <<_ACEOF
12804 cat confdefs.h
>>conftest.
$ac_ext
12805 cat >>conftest.
$ac_ext <<_ACEOF
12806 /* end confdefs.h. */
12817 rm -f conftest.
$ac_objext conftest
$ac_exeext
12818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12819 (eval $ac_link) 2>conftest.er1
12821 grep -v '^ *+' conftest.er1
>conftest.err
12823 cat conftest.err
>&5
12824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12825 (exit $ac_status); } &&
12826 { ac_try
='test -z "$ac_c_werror_flag"
12827 || test ! -s conftest.err'
12828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12829 (eval $ac_try) 2>&5
12831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12832 (exit $ac_status); }; } &&
12833 { ac_try
='test -s conftest$ac_exeext'
12834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12835 (eval $ac_try) 2>&5
12837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12838 (exit $ac_status); }; }; then
12839 ac_cv_lib_nsl_main
=yes
12841 echo "$as_me: failed program was:" >&5
12842 sed 's/^/| /' conftest.
$ac_ext >&5
12844 ac_cv_lib_nsl_main
=no
12846 rm -f conftest.err conftest.
$ac_objext \
12847 conftest
$ac_exeext conftest.
$ac_ext
12848 LIBS
=$ac_check_lib_save_LIBS
12850 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
12851 echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
12852 if test $ac_cv_lib_nsl_main = yes; then
12853 gcj_cv_lib_sockets
="$gcj_cv_lib_sockets -lnsl"
12858 unset ac_cv_func_gethostbyname
12862 echo "$as_me:$LINENO: result: $gcj_cv_lib_sockets" >&5
12863 echo "${ECHO_T}$gcj_cv_lib_sockets" >&6
12864 SYSTEMSPEC
="$SYSTEMSPEC $gcj_cv_lib_sockets"
12866 if test "$with_system_zlib" = yes; then
12867 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
12868 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
12869 if test "${ac_cv_lib_z_deflate+set}" = set; then
12870 echo $ECHO_N "(cached) $ECHO_C" >&6
12872 ac_check_lib_save_LIBS
=$LIBS
12874 if test x
$gcc_no_link = xyes
; then
12875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12877 { (exit 1); exit 1; }; }
12879 cat >conftest.
$ac_ext <<_ACEOF
12882 cat confdefs.h
>>conftest.
$ac_ext
12883 cat >>conftest.
$ac_ext <<_ACEOF
12884 /* end confdefs.h. */
12886 /* Override any gcc2 internal prototype to avoid an error. */
12890 /* We use char because int might match the return type of a gcc2
12891 builtin and then its argument prototype would still apply. */
12901 rm -f conftest.
$ac_objext conftest
$ac_exeext
12902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12903 (eval $ac_link) 2>conftest.er1
12905 grep -v '^ *+' conftest.er1
>conftest.err
12907 cat conftest.err
>&5
12908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12909 (exit $ac_status); } &&
12910 { ac_try
='test -z "$ac_c_werror_flag"
12911 || test ! -s conftest.err'
12912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12913 (eval $ac_try) 2>&5
12915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12916 (exit $ac_status); }; } &&
12917 { ac_try
='test -s conftest$ac_exeext'
12918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12919 (eval $ac_try) 2>&5
12921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12922 (exit $ac_status); }; }; then
12923 ac_cv_lib_z_deflate
=yes
12925 echo "$as_me: failed program was:" >&5
12926 sed 's/^/| /' conftest.
$ac_ext >&5
12928 ac_cv_lib_z_deflate
=no
12930 rm -f conftest.err conftest.
$ac_objext \
12931 conftest
$ac_exeext conftest.
$ac_ext
12932 LIBS
=$ac_check_lib_save_LIBS
12934 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
12935 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
12936 if test $ac_cv_lib_z_deflate = yes; then
12944 # Test for Gtk stuff, if asked for.
12945 if test "$use_gtk_awt" = yes; then
12949 if test -z "$PKG_CONFIG"; then
12950 # Extract the first word of "pkg-config", so it can be a program name with args.
12951 set dummy pkg-config
; ac_word
=$2
12952 echo "$as_me:$LINENO: checking for $ac_word" >&5
12953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12954 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12955 echo $ECHO_N "(cached) $ECHO_C" >&6
12957 case $PKG_CONFIG in
12959 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12963 for as_dir
in $PATH
12966 test -z "$as_dir" && as_dir
=.
12967 for ac_exec_ext
in '' $ac_executable_extensions; do
12968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12969 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12976 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12980 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12982 if test -n "$PKG_CONFIG"; then
12983 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12984 echo "${ECHO_T}$PKG_CONFIG" >&6
12986 echo "$as_me:$LINENO: result: no" >&5
12987 echo "${ECHO_T}no" >&6
12992 if test "$PKG_CONFIG" = "no" ; then
12993 echo "*** The pkg-config script could not be found. Make sure it is"
12994 echo "*** in your path, or set the PKG_CONFIG environment variable"
12995 echo "*** to the full path to pkg-config."
12996 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12998 PKG_CONFIG_MIN_VERSION
=0.9.0
12999 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13000 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4" >&5
13001 echo $ECHO_N "checking for gtk+-2.0 >= 2.4... $ECHO_C" >&6
13003 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4" ; then
13004 echo "$as_me:$LINENO: result: yes" >&5
13005 echo "${ECHO_T}yes" >&6
13008 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
13009 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
13010 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4"`
13011 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
13012 echo "${ECHO_T}$GTK_CFLAGS" >&6
13014 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
13015 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
13016 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4"`
13017 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
13018 echo "${ECHO_T}$GTK_LIBS" >&6
13022 ## If we have a custom action on failure, don't print errors, but
13023 ## do set a variable so people can do so.
13024 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4"`
13025 echo $GTK_PKG_ERRORS
13031 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13032 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13036 if test $succeeded = yes; then
13039 { { 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
13040 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;}
13041 { (exit 1); exit 1; }; }
13050 if test -z "$PKG_CONFIG"; then
13051 # Extract the first word of "pkg-config", so it can be a program name with args.
13052 set dummy pkg-config
; ac_word
=$2
13053 echo "$as_me:$LINENO: checking for $ac_word" >&5
13054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13055 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13056 echo $ECHO_N "(cached) $ECHO_C" >&6
13058 case $PKG_CONFIG in
13060 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13064 for as_dir
in $PATH
13067 test -z "$as_dir" && as_dir
=.
13068 for ac_exec_ext
in '' $ac_executable_extensions; do
13069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13070 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13077 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13081 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13083 if test -n "$PKG_CONFIG"; then
13084 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13085 echo "${ECHO_T}$PKG_CONFIG" >&6
13087 echo "$as_me:$LINENO: result: no" >&5
13088 echo "${ECHO_T}no" >&6
13093 if test "$PKG_CONFIG" = "no" ; then
13094 echo "*** The pkg-config script could not be found. Make sure it is"
13095 echo "*** in your path, or set the PKG_CONFIG environment variable"
13096 echo "*** to the full path to pkg-config."
13097 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13099 PKG_CONFIG_MIN_VERSION
=0.9.0
13100 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13101 echo "$as_me:$LINENO: checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4" >&5
13102 echo $ECHO_N "checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... $ECHO_C" >&6
13104 if $PKG_CONFIG --exists "glib-2.0 >= 2.4 gthread-2.0 >= 2.4" ; then
13105 echo "$as_me:$LINENO: result: yes" >&5
13106 echo "${ECHO_T}yes" >&6
13109 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
13110 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
13111 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
13112 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
13113 echo "${ECHO_T}$GLIB_CFLAGS" >&6
13115 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
13116 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
13117 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
13118 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
13119 echo "${ECHO_T}$GLIB_LIBS" >&6
13123 ## If we have a custom action on failure, don't print errors, but
13124 ## do set a variable so people can do so.
13125 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
13126 echo $GLIB_PKG_ERRORS
13132 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13133 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13137 if test $succeeded = yes; then
13140 { { 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
13141 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;}
13142 { (exit 1); exit 1; }; }
13151 if test -z "$PKG_CONFIG"; then
13152 # Extract the first word of "pkg-config", so it can be a program name with args.
13153 set dummy pkg-config
; ac_word
=$2
13154 echo "$as_me:$LINENO: checking for $ac_word" >&5
13155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13156 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
13157 echo $ECHO_N "(cached) $ECHO_C" >&6
13159 case $PKG_CONFIG in
13161 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13165 for as_dir
in $PATH
13168 test -z "$as_dir" && as_dir
=.
13169 for ac_exec_ext
in '' $ac_executable_extensions; do
13170 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13171 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13178 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13182 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13184 if test -n "$PKG_CONFIG"; then
13185 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
13186 echo "${ECHO_T}$PKG_CONFIG" >&6
13188 echo "$as_me:$LINENO: result: no" >&5
13189 echo "${ECHO_T}no" >&6
13194 if test "$PKG_CONFIG" = "no" ; then
13195 echo "*** The pkg-config script could not be found. Make sure it is"
13196 echo "*** in your path, or set the PKG_CONFIG environment variable"
13197 echo "*** to the full path to pkg-config."
13198 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13200 PKG_CONFIG_MIN_VERSION
=0.9.0
13201 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13202 echo "$as_me:$LINENO: checking for libart-2.0 >= 2.1" >&5
13203 echo $ECHO_N "checking for libart-2.0 >= 2.1... $ECHO_C" >&6
13205 if $PKG_CONFIG --exists "libart-2.0 >= 2.1" ; then
13206 echo "$as_me:$LINENO: result: yes" >&5
13207 echo "${ECHO_T}yes" >&6
13210 echo "$as_me:$LINENO: checking LIBART_CFLAGS" >&5
13211 echo $ECHO_N "checking LIBART_CFLAGS... $ECHO_C" >&6
13212 LIBART_CFLAGS
=`$PKG_CONFIG --cflags "libart-2.0 >= 2.1"`
13213 echo "$as_me:$LINENO: result: $LIBART_CFLAGS" >&5
13214 echo "${ECHO_T}$LIBART_CFLAGS" >&6
13216 echo "$as_me:$LINENO: checking LIBART_LIBS" >&5
13217 echo $ECHO_N "checking LIBART_LIBS... $ECHO_C" >&6
13218 LIBART_LIBS
=`$PKG_CONFIG --libs "libart-2.0 >= 2.1"`
13219 echo "$as_me:$LINENO: result: $LIBART_LIBS" >&5
13220 echo "${ECHO_T}$LIBART_LIBS" >&6
13224 ## If we have a custom action on failure, don't print errors, but
13225 ## do set a variable so people can do so.
13226 LIBART_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libart-2.0 >= 2.1"`
13227 echo $LIBART_PKG_ERRORS
13233 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13234 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13238 if test $succeeded = yes; then
13241 { { 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
13242 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;}
13243 { (exit 1); exit 1; }; }
13249 # We require the XTest Extension to support java.awt.Robot.
13250 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
13251 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
13252 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
13253 echo $ECHO_N "(cached) $ECHO_C" >&6
13255 ac_check_lib_save_LIBS
=$LIBS
13256 LIBS
="-lXtst ${X_LIBS} $LIBS"
13257 if test x
$gcc_no_link = xyes
; then
13258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13260 { (exit 1); exit 1; }; }
13262 cat >conftest.
$ac_ext <<_ACEOF
13265 cat confdefs.h
>>conftest.
$ac_ext
13266 cat >>conftest.
$ac_ext <<_ACEOF
13267 /* end confdefs.h. */
13269 /* Override any gcc2 internal prototype to avoid an error. */
13273 /* We use char because int might match the return type of a gcc2
13274 builtin and then its argument prototype would still apply. */
13275 char XTestQueryExtension ();
13279 XTestQueryExtension ();
13284 rm -f conftest.
$ac_objext conftest
$ac_exeext
13285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13286 (eval $ac_link) 2>conftest.er1
13288 grep -v '^ *+' conftest.er1
>conftest.err
13290 cat conftest.err
>&5
13291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292 (exit $ac_status); } &&
13293 { ac_try
='test -z "$ac_c_werror_flag"
13294 || test ! -s conftest.err'
13295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13296 (eval $ac_try) 2>&5
13298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13299 (exit $ac_status); }; } &&
13300 { ac_try
='test -s conftest$ac_exeext'
13301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13302 (eval $ac_try) 2>&5
13304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13305 (exit $ac_status); }; }; then
13306 ac_cv_lib_Xtst_XTestQueryExtension
=yes
13308 echo "$as_me: failed program was:" >&5
13309 sed 's/^/| /' conftest.
$ac_ext >&5
13311 ac_cv_lib_Xtst_XTestQueryExtension
=no
13313 rm -f conftest.err conftest.
$ac_objext \
13314 conftest
$ac_exeext conftest.
$ac_ext
13315 LIBS
=$ac_check_lib_save_LIBS
13317 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
13318 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
13319 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
13322 { { echo "$as_me:$LINENO: error: libXtst not found, required by java.awt.Robot" >&5
13323 echo "$as_me: error: libXtst not found, required by java.awt.Robot" >&2;}
13324 { (exit 1); exit 1; }; }
13329 # On Solaris, and maybe other architectures, the Boehm collector
13331 if test "$GC" = boehm
; then
13332 echo "$as_me:$LINENO: checking for main in -ldl" >&5
13333 echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6
13334 if test "${ac_cv_lib_dl_main+set}" = set; then
13335 echo $ECHO_N "(cached) $ECHO_C" >&6
13337 ac_check_lib_save_LIBS
=$LIBS
13339 if test x
$gcc_no_link = xyes
; then
13340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13342 { (exit 1); exit 1; }; }
13344 cat >conftest.
$ac_ext <<_ACEOF
13347 cat confdefs.h
>>conftest.
$ac_ext
13348 cat >>conftest.
$ac_ext <<_ACEOF
13349 /* end confdefs.h. */
13360 rm -f conftest.
$ac_objext conftest
$ac_exeext
13361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13362 (eval $ac_link) 2>conftest.er1
13364 grep -v '^ *+' conftest.er1
>conftest.err
13366 cat conftest.err
>&5
13367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13368 (exit $ac_status); } &&
13369 { ac_try
='test -z "$ac_c_werror_flag"
13370 || test ! -s conftest.err'
13371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13372 (eval $ac_try) 2>&5
13374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13375 (exit $ac_status); }; } &&
13376 { ac_try
='test -s conftest$ac_exeext'
13377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13378 (eval $ac_try) 2>&5
13380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381 (exit $ac_status); }; }; then
13382 ac_cv_lib_dl_main
=yes
13384 echo "$as_me: failed program was:" >&5
13385 sed 's/^/| /' conftest.
$ac_ext >&5
13387 ac_cv_lib_dl_main
=no
13389 rm -f conftest.err conftest.
$ac_objext \
13390 conftest
$ac_exeext conftest.
$ac_ext
13391 LIBS
=$ac_check_lib_save_LIBS
13393 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5
13394 echo "${ECHO_T}$ac_cv_lib_dl_main" >&6
13395 if test $ac_cv_lib_dl_main = yes; then
13396 SYSTEMSPEC
="$SYSTEMSPEC -ldl"
13403 if test "$supply_backtrace" = yes; then
13404 SUPPLY_BACKTRACE_TRUE
=
13405 SUPPLY_BACKTRACE_FALSE
='#'
13407 SUPPLY_BACKTRACE_TRUE
='#'
13408 SUPPLY_BACKTRACE_FALSE
=
13412 # Use a semicolon as CLASSPATH separator for MinGW, otherwise a colon.
13414 *-mingw32) CLASSPATH_SEPARATOR
=';' ;;
13415 *) CLASSPATH_SEPARATOR
=':' ;;
13419 # We must search the source tree for java.lang, since we still don't
13420 # have libgcj.jar nor java/lang/*.class
13421 GCJ_SAVE_CPPFLAGS
=$CPPFLAGS
13422 CPPFLAGS
="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`"
13424 # Since some classes depend on this one, we need its source available
13425 # before we can do any GCJ compilation test :-(
13426 if test ! -f gnu
/classpath
/Configuration.java
; then
13427 test -d gnu || mkdir gnu
13428 test -d gnu
/classpath || mkdir gnu
/classpath
13429 sed -e "s,@LIBGCJDEBUG@,$LIBGCJDEBUG," \
13430 -e "s,@TOOLKIT@,$TOOLKIT," \
13431 < $srcdir/gnu
/classpath
/Configuration.java.
in \
13432 > gnu
/classpath
/Configuration.java
13433 # We do not want to redirect the output of the grep below to /dev/null,
13434 # but we add /dev/null to the input list so that grep will print the
13435 # filename of Configuration.java in case it finds any matches.
13436 if grep @ gnu
/classpath
/Configuration.java
/dev
/null
; then
13437 { { echo "$as_me:$LINENO: error: configure.ac is missing the substitutions above" >&5
13438 echo "$as_me: error: configure.ac is missing the substitutions above" >&2;}
13439 { (exit 1); exit 1; }; }
13443 if test -n "$ac_tool_prefix"; then
13444 # Extract the first word of "${ac_tool_prefix}gcj", so it can be a program name with args.
13445 set dummy
${ac_tool_prefix}gcj
; ac_word
=$2
13446 echo "$as_me:$LINENO: checking for $ac_word" >&5
13447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13448 if test "${ac_cv_prog_GCJ+set}" = set; then
13449 echo $ECHO_N "(cached) $ECHO_C" >&6
13451 if test -n "$GCJ"; then
13452 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
13454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13455 for as_dir
in $PATH
13458 test -z "$as_dir" && as_dir
=.
13459 for ac_exec_ext
in '' $ac_executable_extensions; do
13460 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13461 ac_cv_prog_GCJ
="${ac_tool_prefix}gcj"
13462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13470 GCJ
=$ac_cv_prog_GCJ
13471 if test -n "$GCJ"; then
13472 echo "$as_me:$LINENO: result: $GCJ" >&5
13473 echo "${ECHO_T}$GCJ" >&6
13475 echo "$as_me:$LINENO: result: no" >&5
13476 echo "${ECHO_T}no" >&6
13480 if test -z "$ac_cv_prog_GCJ"; then
13482 # Extract the first word of "gcj", so it can be a program name with args.
13483 set dummy gcj
; ac_word
=$2
13484 echo "$as_me:$LINENO: checking for $ac_word" >&5
13485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13486 if test "${ac_cv_prog_ac_ct_GCJ+set}" = set; then
13487 echo $ECHO_N "(cached) $ECHO_C" >&6
13489 if test -n "$ac_ct_GCJ"; then
13490 ac_cv_prog_ac_ct_GCJ
="$ac_ct_GCJ" # Let the user override the test.
13492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13493 for as_dir
in $PATH
13496 test -z "$as_dir" && as_dir
=.
13497 for ac_exec_ext
in '' $ac_executable_extensions; do
13498 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13499 ac_cv_prog_ac_ct_GCJ
="gcj"
13500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13506 test -z "$ac_cv_prog_ac_ct_GCJ" && ac_cv_prog_ac_ct_GCJ
="no"
13509 ac_ct_GCJ
=$ac_cv_prog_ac_ct_GCJ
13510 if test -n "$ac_ct_GCJ"; then
13511 echo "$as_me:$LINENO: result: $ac_ct_GCJ" >&5
13512 echo "${ECHO_T}$ac_ct_GCJ" >&6
13514 echo "$as_me:$LINENO: result: no" >&5
13515 echo "${ECHO_T}no" >&6
13520 GCJ
="$ac_cv_prog_GCJ"
13523 test "x${GCJFLAGS+set}" = xset || GCJFLAGS
="-g -O2"
13529 rm -f gnu
/classpath
/Configuration.java
13531 CPPFLAGS
=$GCJ_SAVE_CPPFLAGS
13533 echo "$as_me:$LINENO: checking for void *" >&5
13534 echo $ECHO_N "checking for void *... $ECHO_C" >&6
13535 if test "${ac_cv_type_void_p+set}" = set; then
13536 echo $ECHO_N "(cached) $ECHO_C" >&6
13538 cat >conftest.
$ac_ext <<_ACEOF
13541 cat confdefs.h
>>conftest.
$ac_ext
13542 cat >>conftest.
$ac_ext <<_ACEOF
13543 /* end confdefs.h. */
13544 $ac_includes_default
13550 if (sizeof (void *))
13556 rm -f conftest.
$ac_objext
13557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13558 (eval $ac_compile) 2>conftest.er1
13560 grep -v '^ *+' conftest.er1
>conftest.err
13562 cat conftest.err
>&5
13563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13564 (exit $ac_status); } &&
13565 { ac_try
='test -z "$ac_c_werror_flag"
13566 || test ! -s conftest.err'
13567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13568 (eval $ac_try) 2>&5
13570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13571 (exit $ac_status); }; } &&
13572 { ac_try
='test -s conftest.$ac_objext'
13573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13574 (eval $ac_try) 2>&5
13576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13577 (exit $ac_status); }; }; then
13578 ac_cv_type_void_p
=yes
13580 echo "$as_me: failed program was:" >&5
13581 sed 's/^/| /' conftest.
$ac_ext >&5
13583 ac_cv_type_void_p
=no
13585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13587 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
13588 echo "${ECHO_T}$ac_cv_type_void_p" >&6
13590 echo "$as_me:$LINENO: checking size of void *" >&5
13591 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
13592 if test "${ac_cv_sizeof_void_p+set}" = set; then
13593 echo $ECHO_N "(cached) $ECHO_C" >&6
13595 if test "$ac_cv_type_void_p" = yes; then
13596 # The cast to unsigned long works around a bug in the HP C Compiler
13597 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13598 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13599 # This bug is HP SR number 8606223364.
13600 if test "$cross_compiling" = yes; then
13601 # Depending upon the size, compute the lo and hi bounds.
13602 cat >conftest.
$ac_ext <<_ACEOF
13605 cat confdefs.h
>>conftest.
$ac_ext
13606 cat >>conftest.
$ac_ext <<_ACEOF
13607 /* end confdefs.h. */
13608 $ac_includes_default
13612 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
13619 rm -f conftest.
$ac_objext
13620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13621 (eval $ac_compile) 2>conftest.er1
13623 grep -v '^ *+' conftest.er1
>conftest.err
13625 cat conftest.err
>&5
13626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13627 (exit $ac_status); } &&
13628 { ac_try
='test -z "$ac_c_werror_flag"
13629 || test ! -s conftest.err'
13630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13631 (eval $ac_try) 2>&5
13633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13634 (exit $ac_status); }; } &&
13635 { ac_try
='test -s conftest.$ac_objext'
13636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13637 (eval $ac_try) 2>&5
13639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640 (exit $ac_status); }; }; then
13643 cat >conftest.
$ac_ext <<_ACEOF
13646 cat confdefs.h
>>conftest.
$ac_ext
13647 cat >>conftest.
$ac_ext <<_ACEOF
13648 /* end confdefs.h. */
13649 $ac_includes_default
13653 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
13660 rm -f conftest.
$ac_objext
13661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13662 (eval $ac_compile) 2>conftest.er1
13664 grep -v '^ *+' conftest.er1
>conftest.err
13666 cat conftest.err
>&5
13667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13668 (exit $ac_status); } &&
13669 { ac_try
='test -z "$ac_c_werror_flag"
13670 || test ! -s conftest.err'
13671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13672 (eval $ac_try) 2>&5
13674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13675 (exit $ac_status); }; } &&
13676 { ac_try
='test -s conftest.$ac_objext'
13677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13678 (eval $ac_try) 2>&5
13680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13681 (exit $ac_status); }; }; then
13682 ac_hi
=$ac_mid; break
13684 echo "$as_me: failed program was:" >&5
13685 sed 's/^/| /' conftest.
$ac_ext >&5
13687 ac_lo
=`expr $ac_mid + 1`
13688 if test $ac_lo -le $ac_mid; then
13692 ac_mid
=`expr 2 '*' $ac_mid + 1`
13694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13697 echo "$as_me: failed program was:" >&5
13698 sed 's/^/| /' conftest.
$ac_ext >&5
13700 cat >conftest.
$ac_ext <<_ACEOF
13703 cat confdefs.h
>>conftest.
$ac_ext
13704 cat >>conftest.
$ac_ext <<_ACEOF
13705 /* end confdefs.h. */
13706 $ac_includes_default
13710 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
13717 rm -f conftest.
$ac_objext
13718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13719 (eval $ac_compile) 2>conftest.er1
13721 grep -v '^ *+' conftest.er1
>conftest.err
13723 cat conftest.err
>&5
13724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13725 (exit $ac_status); } &&
13726 { ac_try
='test -z "$ac_c_werror_flag"
13727 || test ! -s conftest.err'
13728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13729 (eval $ac_try) 2>&5
13731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13732 (exit $ac_status); }; } &&
13733 { ac_try
='test -s conftest.$ac_objext'
13734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13735 (eval $ac_try) 2>&5
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738 (exit $ac_status); }; }; then
13741 cat >conftest.
$ac_ext <<_ACEOF
13744 cat confdefs.h
>>conftest.
$ac_ext
13745 cat >>conftest.
$ac_ext <<_ACEOF
13746 /* end confdefs.h. */
13747 $ac_includes_default
13751 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
13758 rm -f conftest.
$ac_objext
13759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13760 (eval $ac_compile) 2>conftest.er1
13762 grep -v '^ *+' conftest.er1
>conftest.err
13764 cat conftest.err
>&5
13765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13766 (exit $ac_status); } &&
13767 { ac_try
='test -z "$ac_c_werror_flag"
13768 || test ! -s conftest.err'
13769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13770 (eval $ac_try) 2>&5
13772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13773 (exit $ac_status); }; } &&
13774 { ac_try
='test -s conftest.$ac_objext'
13775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13776 (eval $ac_try) 2>&5
13778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13779 (exit $ac_status); }; }; then
13780 ac_lo
=$ac_mid; break
13782 echo "$as_me: failed program was:" >&5
13783 sed 's/^/| /' conftest.
$ac_ext >&5
13785 ac_hi
=`expr '(' $ac_mid ')' - 1`
13786 if test $ac_mid -le $ac_hi; then
13790 ac_mid
=`expr 2 '*' $ac_mid`
13792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13795 echo "$as_me: failed program was:" >&5
13796 sed 's/^/| /' conftest.
$ac_ext >&5
13800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13803 # Binary search between lo and hi bounds.
13804 while test "x$ac_lo" != "x$ac_hi"; do
13805 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13806 cat >conftest.
$ac_ext <<_ACEOF
13809 cat confdefs.h
>>conftest.
$ac_ext
13810 cat >>conftest.
$ac_ext <<_ACEOF
13811 /* end confdefs.h. */
13812 $ac_includes_default
13816 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
13823 rm -f conftest.
$ac_objext
13824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13825 (eval $ac_compile) 2>conftest.er1
13827 grep -v '^ *+' conftest.er1
>conftest.err
13829 cat conftest.err
>&5
13830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13831 (exit $ac_status); } &&
13832 { ac_try
='test -z "$ac_c_werror_flag"
13833 || test ! -s conftest.err'
13834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13835 (eval $ac_try) 2>&5
13837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13838 (exit $ac_status); }; } &&
13839 { ac_try
='test -s conftest.$ac_objext'
13840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13841 (eval $ac_try) 2>&5
13843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13844 (exit $ac_status); }; }; then
13847 echo "$as_me: failed program was:" >&5
13848 sed 's/^/| /' conftest.
$ac_ext >&5
13850 ac_lo
=`expr '(' $ac_mid ')' + 1`
13852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13855 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
13856 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
13857 See \`config.log' for more details." >&5
13858 echo "$as_me: error: cannot compute sizeof (void *), 77
13859 See \`config.log' for more details." >&2;}
13860 { (exit 1); exit 1; }; } ;;
13863 if test "$cross_compiling" = yes; then
13864 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13865 See \`config.log' for more details." >&5
13866 echo "$as_me: error: cannot run test program while cross compiling
13867 See \`config.log' for more details." >&2;}
13868 { (exit 1); exit 1; }; }
13870 cat >conftest.
$ac_ext <<_ACEOF
13873 cat confdefs.h
>>conftest.
$ac_ext
13874 cat >>conftest.
$ac_ext <<_ACEOF
13875 /* end confdefs.h. */
13876 $ac_includes_default
13877 long longval () { return (long) (sizeof (void *)); }
13878 unsigned long ulongval () { return (long) (sizeof (void *)); }
13880 #include <stdlib.h>
13885 FILE *f = fopen ("conftest.val", "w");
13888 if (((long) (sizeof (void *))) < 0)
13890 long i = longval ();
13891 if (i != ((long) (sizeof (void *))))
13893 fprintf (f, "%ld\n", i);
13897 unsigned long i = ulongval ();
13898 if (i != ((long) (sizeof (void *))))
13900 fprintf (f, "%lu\n", i);
13902 exit (ferror (f) || fclose (f) != 0);
13908 rm -f conftest
$ac_exeext
13909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13910 (eval $ac_link) 2>&5
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13915 (eval $ac_try) 2>&5
13917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13918 (exit $ac_status); }; }; then
13919 ac_cv_sizeof_void_p
=`cat conftest.val`
13921 echo "$as_me: program exited with status $ac_status" >&5
13922 echo "$as_me: failed program was:" >&5
13923 sed 's/^/| /' conftest.
$ac_ext >&5
13925 ( exit $ac_status )
13926 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
13927 See \`config.log' for more details." >&5
13928 echo "$as_me: error: cannot compute sizeof (void *), 77
13929 See \`config.log' for more details." >&2;}
13930 { (exit 1); exit 1; }; }
13932 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13937 ac_cv_sizeof_void_p
=0
13940 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
13941 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
13942 cat >>confdefs.h
<<_ACEOF
13943 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
13948 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
13949 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
13950 if test "${ac_cv_c_bigendian+set}" = set; then
13951 echo $ECHO_N "(cached) $ECHO_C" >&6
13953 # See if sys/param.h defines the BYTE_ORDER macro.
13954 cat >conftest.
$ac_ext <<_ACEOF
13957 cat confdefs.h
>>conftest.
$ac_ext
13958 cat >>conftest.
$ac_ext <<_ACEOF
13959 /* end confdefs.h. */
13960 #include <sys/types.h>
13961 #include <sys/param.h>
13966 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
13967 bogus endian macros
13974 rm -f conftest.
$ac_objext
13975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13976 (eval $ac_compile) 2>conftest.er1
13978 grep -v '^ *+' conftest.er1
>conftest.err
13980 cat conftest.err
>&5
13981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13982 (exit $ac_status); } &&
13983 { ac_try
='test -z "$ac_c_werror_flag"
13984 || test ! -s conftest.err'
13985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13986 (eval $ac_try) 2>&5
13988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13989 (exit $ac_status); }; } &&
13990 { ac_try
='test -s conftest.$ac_objext'
13991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13992 (eval $ac_try) 2>&5
13994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13995 (exit $ac_status); }; }; then
13996 # It does; now see whether it defined to BIG_ENDIAN or not.
13997 cat >conftest.
$ac_ext <<_ACEOF
14000 cat confdefs.h
>>conftest.
$ac_ext
14001 cat >>conftest.
$ac_ext <<_ACEOF
14002 /* end confdefs.h. */
14003 #include <sys/types.h>
14004 #include <sys/param.h>
14009 #if BYTE_ORDER != BIG_ENDIAN
14017 rm -f conftest.
$ac_objext
14018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14019 (eval $ac_compile) 2>conftest.er1
14021 grep -v '^ *+' conftest.er1
>conftest.err
14023 cat conftest.err
>&5
14024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14025 (exit $ac_status); } &&
14026 { ac_try
='test -z "$ac_c_werror_flag"
14027 || test ! -s conftest.err'
14028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14029 (eval $ac_try) 2>&5
14031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14032 (exit $ac_status); }; } &&
14033 { ac_try
='test -s conftest.$ac_objext'
14034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14035 (eval $ac_try) 2>&5
14037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14038 (exit $ac_status); }; }; then
14039 ac_cv_c_bigendian
=yes
14041 echo "$as_me: failed program was:" >&5
14042 sed 's/^/| /' conftest.
$ac_ext >&5
14044 ac_cv_c_bigendian
=no
14046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14048 echo "$as_me: failed program was:" >&5
14049 sed 's/^/| /' conftest.
$ac_ext >&5
14051 # It does not; compile a test program.
14052 if test "$cross_compiling" = yes; then
14053 # try to guess the endianness by grepping values into an object file
14054 ac_cv_c_bigendian
=unknown
14055 cat >conftest.
$ac_ext <<_ACEOF
14058 cat confdefs.h
>>conftest.
$ac_ext
14059 cat >>conftest.
$ac_ext <<_ACEOF
14060 /* end confdefs.h. */
14061 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14062 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14063 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
14064 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14065 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14066 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
14070 _ascii (); _ebcdic ();
14075 rm -f conftest.
$ac_objext
14076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14077 (eval $ac_compile) 2>conftest.er1
14079 grep -v '^ *+' conftest.er1
>conftest.err
14081 cat conftest.err
>&5
14082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083 (exit $ac_status); } &&
14084 { ac_try
='test -z "$ac_c_werror_flag"
14085 || test ! -s conftest.err'
14086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14087 (eval $ac_try) 2>&5
14089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14090 (exit $ac_status); }; } &&
14091 { ac_try
='test -s conftest.$ac_objext'
14092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14093 (eval $ac_try) 2>&5
14095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14096 (exit $ac_status); }; }; then
14097 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
14098 ac_cv_c_bigendian
=yes
14100 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
14101 if test "$ac_cv_c_bigendian" = unknown
; then
14102 ac_cv_c_bigendian
=no
14104 # finding both strings is unlikely to happen, but who knows?
14105 ac_cv_c_bigendian
=unknown
14109 echo "$as_me: failed program was:" >&5
14110 sed 's/^/| /' conftest.
$ac_ext >&5
14113 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14115 cat >conftest.
$ac_ext <<_ACEOF
14118 cat confdefs.h
>>conftest.
$ac_ext
14119 cat >>conftest.
$ac_ext <<_ACEOF
14120 /* end confdefs.h. */
14124 /* Are we little or big endian? From Harbison&Steele. */
14128 char c[sizeof (long)];
14131 exit (u.c[sizeof (long) - 1] == 1);
14134 rm -f conftest
$ac_exeext
14135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14136 (eval $ac_link) 2>&5
14138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14139 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14141 (eval $ac_try) 2>&5
14143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14144 (exit $ac_status); }; }; then
14145 ac_cv_c_bigendian
=no
14147 echo "$as_me: program exited with status $ac_status" >&5
14148 echo "$as_me: failed program was:" >&5
14149 sed 's/^/| /' conftest.
$ac_ext >&5
14151 ( exit $ac_status )
14152 ac_cv_c_bigendian
=yes
14154 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14159 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
14160 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
14161 case $ac_cv_c_bigendian in
14164 cat >>confdefs.h
<<\_ACEOF
14165 #define WORDS_BIGENDIAN 1
14171 { { echo "$as_me:$LINENO: error: unknown endianness
14172 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
14173 echo "$as_me: error: unknown endianness
14174 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
14175 { (exit 1); exit 1; }; } ;;
14183 if test -z "$ZLIBSPEC"; then
14184 # Use zlib from the GCC tree.
14185 ZINCS
='-I$(top_srcdir)/../zlib'
14186 ZLIBS
=..
/zlib
/libzgcj_convenience.la
14189 SYS_ZLIBS
="$ZLIBSPEC"
14202 if test "$NATIVE" = yes; then
14212 if test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes; then
14213 NEEDS_DATA_START_TRUE
=
14214 NEEDS_DATA_START_FALSE
='#'
14216 NEEDS_DATA_START_TRUE
='#'
14217 NEEDS_DATA_START_FALSE
=
14222 # Process the option "--enable-version-specific-runtime-libs"
14223 # Calculate toolexeclibdir
14224 case ${version_specific_libs} in
14226 # Need the gcc compiler version to know where to install libraries
14227 # and header files if --enable-version-specific-runtime-libs option
14229 includedir
='$(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/include/'
14230 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
14231 toolexecmainlibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
14232 toolexeclibdir
=$toolexecmainlibdir
14235 if test -n "$with_cross_host" &&
14236 test x
"$with_cross_host" != x
"no"; then
14237 # Install a library built with a cross compiler in tooldir, not libdir.
14238 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
14239 toolexecmainlibdir
='$(toolexecdir)/lib'
14241 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
14242 toolexecmainlibdir
='$(libdir)'
14244 multi_os_directory
=`$CC -print-multi-os-directory`
14245 case $multi_os_directory in
14246 .
) toolexeclibdir
=$toolexecmainlibdir ;; # Avoid trailing /.
14247 *) toolexeclibdir
=$toolexecmainlibdir/$multi_os_directory ;;
14255 # Determine gcj version number.
14256 gcjversion
=`$GCJ -v 2>&1 | sed -n 's/^.*version \([^ ]*\).*$/\1/p'`
14257 GCJVERSION
=$gcjversion
14260 cat >>confdefs.h
<<_ACEOF
14261 #define GCJVERSION "$GCJVERSION"
14266 cat >>confdefs.h
<<\_ACEOF
14267 #define JV_VERSION "1.4.2"
14271 cat >>confdefs.h
<<\_ACEOF
14272 #define JV_API_VERSION "1.4"
14277 case "${with_gxx_include_dir}" in
14279 { { echo "$as_me:$LINENO: error: --with-gxx-include-dir=[dir] requires a directory" >&5
14280 echo "$as_me: error: --with-gxx-include-dir=[dir] requires a directory" >&2;}
14281 { (exit 1); exit 1; }; }
14284 case "${enable_version_specific_runtime_libs}" in
14285 yes) gxx_include_dir
='$(libsubdir)/include/c++' ;;
14287 libstdcxx_incdir
='c++/$(gcc_version)'
14288 gxx_include_dir
='$(prefix)/include/$(libstdcxx_incdir)' ;;
14290 *) gxx_include_dir
=${with_gxx_include_dir} ;;
14296 # We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
14297 # On that system, sys/ioctl.h will not include sys/filio.h unless
14298 # BSD_COMP is defined; just including sys/filio.h is simpler.
14299 # We avoid AC_HEADER_DIRENT since we really only care about dirent.h
14300 # for now. If you change this, you also must update natFile.cc.
14321 for ac_header
in unistd.h bstring.h sys
/time.h sys
/types.h fcntl.h \
14322 sys
/ioctl.h sys
/filio.h sys
/stat.h sys
/select.h \
14323 sys
/socket.h netinet
/in.h arpa
/inet.h netdb.h net
/if.h \
14324 pwd.h sys
/config.h stdint.h langinfo.h locale.h \
14327 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14329 echo "$as_me:$LINENO: checking for $ac_header" >&5
14330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14332 echo $ECHO_N "(cached) $ECHO_C" >&6
14334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14335 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14337 # Is the header compilable?
14338 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14339 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14340 cat >conftest.
$ac_ext <<_ACEOF
14343 cat confdefs.h
>>conftest.
$ac_ext
14344 cat >>conftest.
$ac_ext <<_ACEOF
14345 /* end confdefs.h. */
14346 $ac_includes_default
14347 #include <$ac_header>
14349 rm -f conftest.
$ac_objext
14350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14351 (eval $ac_compile) 2>conftest.er1
14353 grep -v '^ *+' conftest.er1
>conftest.err
14355 cat conftest.err
>&5
14356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14357 (exit $ac_status); } &&
14358 { ac_try
='test -z "$ac_c_werror_flag"
14359 || test ! -s conftest.err'
14360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14361 (eval $ac_try) 2>&5
14363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14364 (exit $ac_status); }; } &&
14365 { ac_try
='test -s conftest.$ac_objext'
14366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14367 (eval $ac_try) 2>&5
14369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14370 (exit $ac_status); }; }; then
14371 ac_header_compiler
=yes
14373 echo "$as_me: failed program was:" >&5
14374 sed 's/^/| /' conftest.
$ac_ext >&5
14376 ac_header_compiler
=no
14378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14379 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14380 echo "${ECHO_T}$ac_header_compiler" >&6
14382 # Is the header present?
14383 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14384 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14385 cat >conftest.
$ac_ext <<_ACEOF
14388 cat confdefs.h
>>conftest.
$ac_ext
14389 cat >>conftest.
$ac_ext <<_ACEOF
14390 /* end confdefs.h. */
14391 #include <$ac_header>
14393 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14394 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14396 grep -v '^ *+' conftest.er1
>conftest.err
14398 cat conftest.err
>&5
14399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14400 (exit $ac_status); } >/dev
/null
; then
14401 if test -s conftest.err
; then
14402 ac_cpp_err
=$ac_c_preproc_warn_flag
14403 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14410 if test -z "$ac_cpp_err"; then
14411 ac_header_preproc
=yes
14413 echo "$as_me: failed program was:" >&5
14414 sed 's/^/| /' conftest.
$ac_ext >&5
14416 ac_header_preproc
=no
14418 rm -f conftest.err conftest.
$ac_ext
14419 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14420 echo "${ECHO_T}$ac_header_preproc" >&6
14422 # So? What about this header?
14423 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14425 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14426 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14427 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14428 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14429 ac_header_preproc
=yes
14432 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14433 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14434 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14435 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14436 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14437 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14438 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14439 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14440 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14441 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14442 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14443 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14446 ## ---------------------------------- ##
14447 ## Report this to the libjava lists. ##
14448 ## ---------------------------------- ##
14451 sed "s/^/$as_me: WARNING: /" >&2
14454 echo "$as_me:$LINENO: checking for $ac_header" >&5
14455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14457 echo $ECHO_N "(cached) $ECHO_C" >&6
14459 eval "$as_ac_Header=\$ac_header_preproc"
14461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14462 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14466 cat >>confdefs.h
<<_ACEOF
14467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14475 for ac_header
in inttypes.h
14477 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14479 echo "$as_me:$LINENO: checking for $ac_header" >&5
14480 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14481 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14482 echo $ECHO_N "(cached) $ECHO_C" >&6
14484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14487 # Is the header compilable?
14488 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14489 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14490 cat >conftest.
$ac_ext <<_ACEOF
14493 cat confdefs.h
>>conftest.
$ac_ext
14494 cat >>conftest.
$ac_ext <<_ACEOF
14495 /* end confdefs.h. */
14496 $ac_includes_default
14497 #include <$ac_header>
14499 rm -f conftest.
$ac_objext
14500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14501 (eval $ac_compile) 2>conftest.er1
14503 grep -v '^ *+' conftest.er1
>conftest.err
14505 cat conftest.err
>&5
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); } &&
14508 { ac_try
='test -z "$ac_c_werror_flag"
14509 || test ! -s conftest.err'
14510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14511 (eval $ac_try) 2>&5
14513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14514 (exit $ac_status); }; } &&
14515 { ac_try
='test -s conftest.$ac_objext'
14516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14517 (eval $ac_try) 2>&5
14519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14520 (exit $ac_status); }; }; then
14521 ac_header_compiler
=yes
14523 echo "$as_me: failed program was:" >&5
14524 sed 's/^/| /' conftest.
$ac_ext >&5
14526 ac_header_compiler
=no
14528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14529 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14530 echo "${ECHO_T}$ac_header_compiler" >&6
14532 # Is the header present?
14533 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14534 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14535 cat >conftest.
$ac_ext <<_ACEOF
14538 cat confdefs.h
>>conftest.
$ac_ext
14539 cat >>conftest.
$ac_ext <<_ACEOF
14540 /* end confdefs.h. */
14541 #include <$ac_header>
14543 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14544 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14546 grep -v '^ *+' conftest.er1
>conftest.err
14548 cat conftest.err
>&5
14549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14550 (exit $ac_status); } >/dev
/null
; then
14551 if test -s conftest.err
; then
14552 ac_cpp_err
=$ac_c_preproc_warn_flag
14553 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14560 if test -z "$ac_cpp_err"; then
14561 ac_header_preproc
=yes
14563 echo "$as_me: failed program was:" >&5
14564 sed 's/^/| /' conftest.
$ac_ext >&5
14566 ac_header_preproc
=no
14568 rm -f conftest.err conftest.
$ac_ext
14569 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14570 echo "${ECHO_T}$ac_header_preproc" >&6
14572 # So? What about this header?
14573 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14575 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14576 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14577 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14578 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14579 ac_header_preproc
=yes
14582 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14583 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14584 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14585 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14586 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14587 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14588 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14589 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14590 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14591 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14592 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14593 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14596 ## ---------------------------------- ##
14597 ## Report this to the libjava lists. ##
14598 ## ---------------------------------- ##
14601 sed "s/^/$as_me: WARNING: /" >&2
14604 echo "$as_me:$LINENO: checking for $ac_header" >&5
14605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14607 echo $ECHO_N "(cached) $ECHO_C" >&6
14609 eval "$as_ac_Header=\$ac_header_preproc"
14611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14612 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14616 cat >>confdefs.h
<<_ACEOF
14617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14621 cat >>confdefs.h
<<\_ACEOF
14622 #define HAVE_INTTYPES_H 1
14626 cat >>confdefs.h
<<\_ACEOF
14627 #define JV_HAVE_INTTYPES_H 1
14635 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
14636 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
14637 if test "${ac_cv_header_sys_wait_h+set}" = set; then
14638 echo $ECHO_N "(cached) $ECHO_C" >&6
14640 cat >conftest.
$ac_ext <<_ACEOF
14643 cat confdefs.h
>>conftest.
$ac_ext
14644 cat >>conftest.
$ac_ext <<_ACEOF
14645 /* end confdefs.h. */
14646 #include <sys/types.h>
14647 #include <sys/wait.h>
14648 #ifndef WEXITSTATUS
14649 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
14652 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
14660 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
14665 rm -f conftest.
$ac_objext
14666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14667 (eval $ac_compile) 2>conftest.er1
14669 grep -v '^ *+' conftest.er1
>conftest.err
14671 cat conftest.err
>&5
14672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14673 (exit $ac_status); } &&
14674 { ac_try
='test -z "$ac_c_werror_flag"
14675 || test ! -s conftest.err'
14676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14677 (eval $ac_try) 2>&5
14679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14680 (exit $ac_status); }; } &&
14681 { ac_try
='test -s conftest.$ac_objext'
14682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14683 (eval $ac_try) 2>&5
14685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14686 (exit $ac_status); }; }; then
14687 ac_cv_header_sys_wait_h
=yes
14689 echo "$as_me: failed program was:" >&5
14690 sed 's/^/| /' conftest.
$ac_ext >&5
14692 ac_cv_header_sys_wait_h
=no
14694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14696 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
14697 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
14698 if test $ac_cv_header_sys_wait_h = yes; then
14700 cat >>confdefs.h
<<\_ACEOF
14701 #define HAVE_SYS_WAIT_H 1
14707 echo "$as_me:$LINENO: checking for ssize_t" >&5
14708 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
14709 if test "${ac_cv_type_ssize_t+set}" = set; then
14710 echo $ECHO_N "(cached) $ECHO_C" >&6
14712 cat >conftest.
$ac_ext <<_ACEOF
14715 cat confdefs.h
>>conftest.
$ac_ext
14716 cat >>conftest.
$ac_ext <<_ACEOF
14717 /* end confdefs.h. */
14718 $ac_includes_default
14724 if (sizeof (ssize_t))
14730 rm -f conftest.
$ac_objext
14731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14732 (eval $ac_compile) 2>conftest.er1
14734 grep -v '^ *+' conftest.er1
>conftest.err
14736 cat conftest.err
>&5
14737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14738 (exit $ac_status); } &&
14739 { ac_try
='test -z "$ac_c_werror_flag"
14740 || test ! -s conftest.err'
14741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14742 (eval $ac_try) 2>&5
14744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745 (exit $ac_status); }; } &&
14746 { ac_try
='test -s conftest.$ac_objext'
14747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14748 (eval $ac_try) 2>&5
14750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14751 (exit $ac_status); }; }; then
14752 ac_cv_type_ssize_t
=yes
14754 echo "$as_me: failed program was:" >&5
14755 sed 's/^/| /' conftest.
$ac_ext >&5
14757 ac_cv_type_ssize_t
=no
14759 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14761 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
14762 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
14763 if test $ac_cv_type_ssize_t = yes; then
14767 cat >>confdefs.h
<<_ACEOF
14768 #define ssize_t int
14774 echo "$as_me:$LINENO: checking for in_addr_t" >&5
14775 echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6
14776 cat >conftest.
$ac_ext <<_ACEOF
14779 cat confdefs.h
>>conftest.
$ac_ext
14780 cat >>conftest.
$ac_ext <<_ACEOF
14781 /* end confdefs.h. */
14782 #include <sys/types.h>
14784 #include <stdlib.h>
14785 #include <stddef.h>
14787 #if HAVE_NETINET_IN_H
14788 #include <netinet/in.h>
14798 rm -f conftest.
$ac_objext
14799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14800 (eval $ac_compile) 2>conftest.er1
14802 grep -v '^ *+' conftest.er1
>conftest.err
14804 cat conftest.err
>&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); } &&
14807 { ac_try
='test -z "$ac_c_werror_flag"
14808 || test ! -s conftest.err'
14809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14810 (eval $ac_try) 2>&5
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); }; } &&
14814 { ac_try
='test -s conftest.$ac_objext'
14815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14816 (eval $ac_try) 2>&5
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 (exit $ac_status); }; }; then
14821 cat >>confdefs.h
<<\_ACEOF
14822 #define HAVE_IN_ADDR_T 1
14825 echo "$as_me:$LINENO: result: yes" >&5
14826 echo "${ECHO_T}yes" >&6
14828 echo "$as_me: failed program was:" >&5
14829 sed 's/^/| /' conftest.
$ac_ext >&5
14831 echo "$as_me:$LINENO: result: no" >&5
14832 echo "${ECHO_T}no" >&6
14834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14836 echo "$as_me:$LINENO: checking whether struct ip_mreq is in netinet/in.h" >&5
14837 echo $ECHO_N "checking whether struct ip_mreq is in netinet/in.h... $ECHO_C" >&6
14838 cat >conftest.
$ac_ext <<_ACEOF
14841 cat confdefs.h
>>conftest.
$ac_ext
14842 cat >>conftest.
$ac_ext <<_ACEOF
14843 /* end confdefs.h. */
14844 #include <netinet/in.h>
14848 struct ip_mreq mreq;
14853 rm -f conftest.
$ac_objext
14854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14855 (eval $ac_compile) 2>conftest.er1
14857 grep -v '^ *+' conftest.er1
>conftest.err
14859 cat conftest.err
>&5
14860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14861 (exit $ac_status); } &&
14862 { ac_try
='test -z "$ac_c_werror_flag"
14863 || test ! -s conftest.err'
14864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14865 (eval $ac_try) 2>&5
14867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14868 (exit $ac_status); }; } &&
14869 { ac_try
='test -s conftest.$ac_objext'
14870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14871 (eval $ac_try) 2>&5
14873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14874 (exit $ac_status); }; }; then
14876 cat >>confdefs.h
<<\_ACEOF
14877 #define HAVE_STRUCT_IP_MREQ 1
14880 echo "$as_me:$LINENO: result: yes" >&5
14881 echo "${ECHO_T}yes" >&6
14883 echo "$as_me: failed program was:" >&5
14884 sed 's/^/| /' conftest.
$ac_ext >&5
14886 echo "$as_me:$LINENO: result: no" >&5
14887 echo "${ECHO_T}no" >&6
14889 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14891 echo "$as_me:$LINENO: checking whether struct ipv6_mreq is in netinet/in.h" >&5
14892 echo $ECHO_N "checking whether struct ipv6_mreq is in netinet/in.h... $ECHO_C" >&6
14893 cat >conftest.
$ac_ext <<_ACEOF
14896 cat confdefs.h
>>conftest.
$ac_ext
14897 cat >>conftest.
$ac_ext <<_ACEOF
14898 /* end confdefs.h. */
14899 #include <netinet/in.h>
14903 struct ipv6_mreq mreq6;
14908 rm -f conftest.
$ac_objext
14909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14910 (eval $ac_compile) 2>conftest.er1
14912 grep -v '^ *+' conftest.er1
>conftest.err
14914 cat conftest.err
>&5
14915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14916 (exit $ac_status); } &&
14917 { ac_try
='test -z "$ac_c_werror_flag"
14918 || test ! -s conftest.err'
14919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14920 (eval $ac_try) 2>&5
14922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14923 (exit $ac_status); }; } &&
14924 { ac_try
='test -s conftest.$ac_objext'
14925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14926 (eval $ac_try) 2>&5
14928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14929 (exit $ac_status); }; }; then
14931 cat >>confdefs.h
<<\_ACEOF
14932 #define HAVE_STRUCT_IPV6_MREQ 1
14935 echo "$as_me:$LINENO: result: yes" >&5
14936 echo "${ECHO_T}yes" >&6
14938 echo "$as_me: failed program was:" >&5
14939 sed 's/^/| /' conftest.
$ac_ext >&5
14941 echo "$as_me:$LINENO: result: no" >&5
14942 echo "${ECHO_T}no" >&6
14944 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14946 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
14947 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
14948 cat >conftest.
$ac_ext <<_ACEOF
14951 cat confdefs.h
>>conftest.
$ac_ext
14952 cat >>conftest.
$ac_ext <<_ACEOF
14953 /* end confdefs.h. */
14954 #include <netinet/in.h>
14958 struct sockaddr_in6 addr6;
14963 rm -f conftest.
$ac_objext
14964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14965 (eval $ac_compile) 2>conftest.er1
14967 grep -v '^ *+' conftest.er1
>conftest.err
14969 cat conftest.err
>&5
14970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14971 (exit $ac_status); } &&
14972 { ac_try
='test -z "$ac_c_werror_flag"
14973 || test ! -s conftest.err'
14974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14975 (eval $ac_try) 2>&5
14977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14978 (exit $ac_status); }; } &&
14979 { ac_try
='test -s conftest.$ac_objext'
14980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14981 (eval $ac_try) 2>&5
14983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14984 (exit $ac_status); }; }; then
14986 cat >>confdefs.h
<<\_ACEOF
14987 #define HAVE_INET6 1
14990 echo "$as_me:$LINENO: result: yes" >&5
14991 echo "${ECHO_T}yes" >&6
14993 echo "$as_me: failed program was:" >&5
14994 sed 's/^/| /' conftest.
$ac_ext >&5
14996 echo "$as_me:$LINENO: result: no" >&5
14997 echo "${ECHO_T}no" >&6
14999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15001 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
15002 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
15003 cat >conftest.
$ac_ext <<_ACEOF
15006 cat confdefs.h
>>conftest.
$ac_ext
15007 cat >>conftest.
$ac_ext <<_ACEOF
15008 /* end confdefs.h. */
15009 #define _POSIX_PII_SOCKET
15010 #include <sys/types.h>
15011 #include <sys/socket.h>
15020 rm -f conftest.
$ac_objext
15021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15022 (eval $ac_compile) 2>conftest.er1
15024 grep -v '^ *+' conftest.er1
>conftest.err
15026 cat conftest.err
>&5
15027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15028 (exit $ac_status); } &&
15029 { ac_try
='test -z "$ac_c_werror_flag"
15030 || test ! -s conftest.err'
15031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15032 (eval $ac_try) 2>&5
15034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15035 (exit $ac_status); }; } &&
15036 { ac_try
='test -s conftest.$ac_objext'
15037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15038 (eval $ac_try) 2>&5
15040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15041 (exit $ac_status); }; }; then
15043 cat >>confdefs.h
<<\_ACEOF
15044 #define HAVE_SOCKLEN_T 1
15047 echo "$as_me:$LINENO: result: yes" >&5
15048 echo "${ECHO_T}yes" >&6
15050 echo "$as_me: failed program was:" >&5
15051 sed 's/^/| /' conftest.
$ac_ext >&5
15053 echo "$as_me:$LINENO: result: no" >&5
15054 echo "${ECHO_T}no" >&6
15056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15058 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
15059 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
15060 cat >conftest.
$ac_ext <<_ACEOF
15063 cat confdefs.h
>>conftest.
$ac_ext
15064 cat >>conftest.
$ac_ext <<_ACEOF
15065 /* end confdefs.h. */
15070 struct tm tim; tim.tm_gmtoff = 0;
15075 rm -f conftest.
$ac_objext
15076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15077 (eval $ac_compile) 2>conftest.er1
15079 grep -v '^ *+' conftest.er1
>conftest.err
15081 cat conftest.err
>&5
15082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15083 (exit $ac_status); } &&
15084 { ac_try
='test -z "$ac_c_werror_flag"
15085 || test ! -s conftest.err'
15086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15087 (eval $ac_try) 2>&5
15089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090 (exit $ac_status); }; } &&
15091 { ac_try
='test -s conftest.$ac_objext'
15092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15093 (eval $ac_try) 2>&5
15095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15096 (exit $ac_status); }; }; then
15098 cat >>confdefs.h
<<\_ACEOF
15099 #define STRUCT_TM_HAS_GMTOFF 1
15102 echo "$as_me:$LINENO: result: yes" >&5
15103 echo "${ECHO_T}yes" >&6
15105 echo "$as_me: failed program was:" >&5
15106 sed 's/^/| /' conftest.
$ac_ext >&5
15108 echo "$as_me:$LINENO: result: no" >&5
15109 echo "${ECHO_T}no" >&6
15110 echo "$as_me:$LINENO: checking for global timezone variable" >&5
15111 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
15112 cat >conftest.
$ac_ext <<_ACEOF
15115 cat confdefs.h
>>conftest.
$ac_ext
15116 cat >>conftest.
$ac_ext <<_ACEOF
15117 /* end confdefs.h. */
15122 void i(){long z2 = 2*timezone;}
15127 rm -f conftest.
$ac_objext
15128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15129 (eval $ac_compile) 2>conftest.er1
15131 grep -v '^ *+' conftest.er1
>conftest.err
15133 cat conftest.err
>&5
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); } &&
15136 { ac_try
='test -z "$ac_c_werror_flag"
15137 || test ! -s conftest.err'
15138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15139 (eval $ac_try) 2>&5
15141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15142 (exit $ac_status); }; } &&
15143 { ac_try
='test -s conftest.$ac_objext'
15144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15145 (eval $ac_try) 2>&5
15147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15148 (exit $ac_status); }; }; then
15150 cat >>confdefs.h
<<\_ACEOF
15151 #define HAVE_TIMEZONE 1
15154 echo "$as_me:$LINENO: result: yes" >&5
15155 echo "${ECHO_T}yes" >&6
15157 echo "$as_me: failed program was:" >&5
15158 sed 's/^/| /' conftest.
$ac_ext >&5
15160 echo "$as_me:$LINENO: result: no" >&5
15161 echo "${ECHO_T}no" >&6
15162 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
15163 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
15164 cat >conftest.
$ac_ext <<_ACEOF
15167 cat confdefs.h
>>conftest.
$ac_ext
15168 cat >>conftest.
$ac_ext <<_ACEOF
15169 /* end confdefs.h. */
15174 long z2 = _timezone;
15179 rm -f conftest.
$ac_objext
15180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15181 (eval $ac_compile) 2>conftest.er1
15183 grep -v '^ *+' conftest.er1
>conftest.err
15185 cat conftest.err
>&5
15186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15187 (exit $ac_status); } &&
15188 { ac_try
='test -z "$ac_c_werror_flag"
15189 || test ! -s conftest.err'
15190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15191 (eval $ac_try) 2>&5
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); }; } &&
15195 { ac_try
='test -s conftest.$ac_objext'
15196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15197 (eval $ac_try) 2>&5
15199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15200 (exit $ac_status); }; }; then
15202 cat >>confdefs.h
<<\_ACEOF
15203 #define HAVE_UNDERSCORE_TIMEZONE 1
15206 echo "$as_me:$LINENO: result: yes" >&5
15207 echo "${ECHO_T}yes" >&6
15209 echo "$as_me: failed program was:" >&5
15210 sed 's/^/| /' conftest.
$ac_ext >&5
15212 echo "$as_me:$LINENO: result: no" >&5
15213 echo "${ECHO_T}no" >&6
15215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15221 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15222 # for constant arguments. Useless!
15223 echo "$as_me:$LINENO: checking for working alloca.h" >&5
15224 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
15225 if test "${ac_cv_working_alloca_h+set}" = set; then
15226 echo $ECHO_N "(cached) $ECHO_C" >&6
15228 if test x
$gcc_no_link = xyes
; then
15229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15231 { (exit 1); exit 1; }; }
15233 cat >conftest.
$ac_ext <<_ACEOF
15236 cat confdefs.h
>>conftest.
$ac_ext
15237 cat >>conftest.
$ac_ext <<_ACEOF
15238 /* end confdefs.h. */
15239 #include <alloca.h>
15243 char *p = (char *) alloca (2 * sizeof (int));
15248 rm -f conftest.
$ac_objext conftest
$ac_exeext
15249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15250 (eval $ac_link) 2>conftest.er1
15252 grep -v '^ *+' conftest.er1
>conftest.err
15254 cat conftest.err
>&5
15255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15256 (exit $ac_status); } &&
15257 { ac_try
='test -z "$ac_c_werror_flag"
15258 || test ! -s conftest.err'
15259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15260 (eval $ac_try) 2>&5
15262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15263 (exit $ac_status); }; } &&
15264 { ac_try
='test -s conftest$ac_exeext'
15265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15266 (eval $ac_try) 2>&5
15268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15269 (exit $ac_status); }; }; then
15270 ac_cv_working_alloca_h
=yes
15272 echo "$as_me: failed program was:" >&5
15273 sed 's/^/| /' conftest.
$ac_ext >&5
15275 ac_cv_working_alloca_h
=no
15277 rm -f conftest.err conftest.
$ac_objext \
15278 conftest
$ac_exeext conftest.
$ac_ext
15280 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15281 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
15282 if test $ac_cv_working_alloca_h = yes; then
15284 cat >>confdefs.h
<<\_ACEOF
15285 #define HAVE_ALLOCA_H 1
15290 echo "$as_me:$LINENO: checking for alloca" >&5
15291 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
15292 if test "${ac_cv_func_alloca_works+set}" = set; then
15293 echo $ECHO_N "(cached) $ECHO_C" >&6
15295 if test x
$gcc_no_link = xyes
; then
15296 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15298 { (exit 1); exit 1; }; }
15300 cat >conftest.
$ac_ext <<_ACEOF
15303 cat confdefs.h
>>conftest.
$ac_ext
15304 cat >>conftest.
$ac_ext <<_ACEOF
15305 /* end confdefs.h. */
15307 # define alloca __builtin_alloca
15310 # include <malloc.h>
15311 # define alloca _alloca
15314 # include <alloca.h>
15319 # ifndef alloca /* predefined by HP cc +Olibcalls */
15330 char *p = (char *) alloca (1);
15335 rm -f conftest.
$ac_objext conftest
$ac_exeext
15336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15337 (eval $ac_link) 2>conftest.er1
15339 grep -v '^ *+' conftest.er1
>conftest.err
15341 cat conftest.err
>&5
15342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15343 (exit $ac_status); } &&
15344 { ac_try
='test -z "$ac_c_werror_flag"
15345 || test ! -s conftest.err'
15346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15347 (eval $ac_try) 2>&5
15349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15350 (exit $ac_status); }; } &&
15351 { ac_try
='test -s conftest$ac_exeext'
15352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15353 (eval $ac_try) 2>&5
15355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15356 (exit $ac_status); }; }; then
15357 ac_cv_func_alloca_works
=yes
15359 echo "$as_me: failed program was:" >&5
15360 sed 's/^/| /' conftest.
$ac_ext >&5
15362 ac_cv_func_alloca_works
=no
15364 rm -f conftest.err conftest.
$ac_objext \
15365 conftest
$ac_exeext conftest.
$ac_ext
15367 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15368 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
15370 if test $ac_cv_func_alloca_works = yes; then
15372 cat >>confdefs.h
<<\_ACEOF
15373 #define HAVE_ALLOCA 1
15377 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15378 # that cause trouble. Some versions do not even contain alloca or
15379 # contain a buggy version. If you still want to use their alloca,
15380 # use ar to extract alloca.o from them instead of compiling alloca.c.
15382 ALLOCA
=alloca.
$ac_objext
15384 cat >>confdefs.h
<<\_ACEOF
15389 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15390 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
15391 if test "${ac_cv_os_cray+set}" = set; then
15392 echo $ECHO_N "(cached) $ECHO_C" >&6
15394 cat >conftest.
$ac_ext <<_ACEOF
15397 cat confdefs.h
>>conftest.
$ac_ext
15398 cat >>conftest.
$ac_ext <<_ACEOF
15399 /* end confdefs.h. */
15400 #if defined(CRAY) && ! defined(CRAY2)
15407 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15408 $EGREP "webecray" >/dev
/null
2>&1; then
15416 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15417 echo "${ECHO_T}$ac_cv_os_cray" >&6
15418 if test $ac_cv_os_cray = yes; then
15419 for ac_func
in _getb67 GETB67 getb67
; do
15420 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15421 echo "$as_me:$LINENO: checking for $ac_func" >&5
15422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15423 if eval "test \"\${$as_ac_var+set}\" = set"; then
15424 echo $ECHO_N "(cached) $ECHO_C" >&6
15426 if test x
$gcc_no_link = xyes
; then
15427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15429 { (exit 1); exit 1; }; }
15431 cat >conftest.
$ac_ext <<_ACEOF
15434 cat confdefs.h
>>conftest.
$ac_ext
15435 cat >>conftest.
$ac_ext <<_ACEOF
15436 /* end confdefs.h. */
15437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15439 #define $ac_func innocuous_$ac_func
15441 /* System header to define __stub macros and hopefully few prototypes,
15442 which can conflict with char $ac_func (); below.
15443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15444 <limits.h> exists even on freestanding compilers. */
15447 # include <limits.h>
15449 # include <assert.h>
15454 /* Override any gcc2 internal prototype to avoid an error. */
15459 /* We use char because int might match the return type of a gcc2
15460 builtin and then its argument prototype would still apply. */
15462 /* The GNU C library defines this for functions which it implements
15463 to always fail with ENOSYS. Some functions are actually named
15464 something starting with __ and the normal name is an alias. */
15465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15468 char (*f) () = $ac_func;
15477 return f != $ac_func;
15482 rm -f conftest.
$ac_objext conftest
$ac_exeext
15483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15484 (eval $ac_link) 2>conftest.er1
15486 grep -v '^ *+' conftest.er1
>conftest.err
15488 cat conftest.err
>&5
15489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15490 (exit $ac_status); } &&
15491 { ac_try
='test -z "$ac_c_werror_flag"
15492 || test ! -s conftest.err'
15493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15494 (eval $ac_try) 2>&5
15496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15497 (exit $ac_status); }; } &&
15498 { ac_try
='test -s conftest$ac_exeext'
15499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15500 (eval $ac_try) 2>&5
15502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15503 (exit $ac_status); }; }; then
15504 eval "$as_ac_var=yes"
15506 echo "$as_me: failed program was:" >&5
15507 sed 's/^/| /' conftest.
$ac_ext >&5
15509 eval "$as_ac_var=no"
15511 rm -f conftest.err conftest.
$ac_objext \
15512 conftest
$ac_exeext conftest.
$ac_ext
15514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15516 if test `eval echo '${'$as_ac_var'}'` = yes; then
15518 cat >>confdefs.h
<<_ACEOF
15519 #define CRAY_STACKSEG_END $ac_func
15528 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
15529 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
15530 if test "${ac_cv_c_stack_direction+set}" = set; then
15531 echo $ECHO_N "(cached) $ECHO_C" >&6
15533 if test "$cross_compiling" = yes; then
15534 ac_cv_c_stack_direction
=0
15536 cat >conftest.
$ac_ext <<_ACEOF
15539 cat confdefs.h
>>conftest.
$ac_ext
15540 cat >>conftest.
$ac_ext <<_ACEOF
15541 /* end confdefs.h. */
15543 find_stack_direction ()
15545 static char *addr = 0;
15550 return find_stack_direction ();
15553 return (&dummy > addr) ? 1 : -1;
15559 exit (find_stack_direction () < 0);
15562 rm -f conftest
$ac_exeext
15563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15564 (eval $ac_link) 2>&5
15566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15567 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15569 (eval $ac_try) 2>&5
15571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15572 (exit $ac_status); }; }; then
15573 ac_cv_c_stack_direction
=1
15575 echo "$as_me: program exited with status $ac_status" >&5
15576 echo "$as_me: failed program was:" >&5
15577 sed 's/^/| /' conftest.
$ac_ext >&5
15579 ( exit $ac_status )
15580 ac_cv_c_stack_direction
=-1
15582 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15585 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
15586 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
15588 cat >>confdefs.h
<<_ACEOF
15589 #define STACK_DIRECTION $ac_cv_c_stack_direction
15595 if test x
$gcc_no_link = xyes
; then
15596 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset
; then
15597 ac_cv_func_mmap_fixed_mapped
=no
15600 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno
; then
15603 for ac_header
in stdlib.h unistd.h
15605 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15607 echo "$as_me:$LINENO: checking for $ac_header" >&5
15608 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15609 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15610 echo $ECHO_N "(cached) $ECHO_C" >&6
15612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15613 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15615 # Is the header compilable?
15616 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15617 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15618 cat >conftest.
$ac_ext <<_ACEOF
15621 cat confdefs.h
>>conftest.
$ac_ext
15622 cat >>conftest.
$ac_ext <<_ACEOF
15623 /* end confdefs.h. */
15624 $ac_includes_default
15625 #include <$ac_header>
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
15649 ac_header_compiler
=yes
15651 echo "$as_me: failed program was:" >&5
15652 sed 's/^/| /' conftest.
$ac_ext >&5
15654 ac_header_compiler
=no
15656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15657 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15658 echo "${ECHO_T}$ac_header_compiler" >&6
15660 # Is the header present?
15661 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15662 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15663 cat >conftest.
$ac_ext <<_ACEOF
15666 cat confdefs.h
>>conftest.
$ac_ext
15667 cat >>conftest.
$ac_ext <<_ACEOF
15668 /* end confdefs.h. */
15669 #include <$ac_header>
15671 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15672 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15674 grep -v '^ *+' conftest.er1
>conftest.err
15676 cat conftest.err
>&5
15677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678 (exit $ac_status); } >/dev
/null
; then
15679 if test -s conftest.err
; then
15680 ac_cpp_err
=$ac_c_preproc_warn_flag
15681 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15688 if test -z "$ac_cpp_err"; then
15689 ac_header_preproc
=yes
15691 echo "$as_me: failed program was:" >&5
15692 sed 's/^/| /' conftest.
$ac_ext >&5
15694 ac_header_preproc
=no
15696 rm -f conftest.err conftest.
$ac_ext
15697 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15698 echo "${ECHO_T}$ac_header_preproc" >&6
15700 # So? What about this header?
15701 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15703 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15704 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15705 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15706 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15707 ac_header_preproc
=yes
15710 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15711 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15712 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15713 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15714 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15715 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15716 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15717 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15718 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15719 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15720 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15721 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15724 ## ---------------------------------- ##
15725 ## Report this to the libjava lists. ##
15726 ## ---------------------------------- ##
15729 sed "s/^/$as_me: WARNING: /" >&2
15732 echo "$as_me:$LINENO: checking for $ac_header" >&5
15733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15735 echo $ECHO_N "(cached) $ECHO_C" >&6
15737 eval "$as_ac_Header=\$ac_header_preproc"
15739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15740 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15743 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15744 cat >>confdefs.h
<<_ACEOF
15745 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15753 for ac_func
in getpagesize
15755 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15756 echo "$as_me:$LINENO: checking for $ac_func" >&5
15757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15758 if eval "test \"\${$as_ac_var+set}\" = set"; then
15759 echo $ECHO_N "(cached) $ECHO_C" >&6
15761 if test x
$gcc_no_link = xyes
; then
15762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15764 { (exit 1); exit 1; }; }
15766 cat >conftest.
$ac_ext <<_ACEOF
15769 cat confdefs.h
>>conftest.
$ac_ext
15770 cat >>conftest.
$ac_ext <<_ACEOF
15771 /* end confdefs.h. */
15772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15774 #define $ac_func innocuous_$ac_func
15776 /* System header to define __stub macros and hopefully few prototypes,
15777 which can conflict with char $ac_func (); below.
15778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15779 <limits.h> exists even on freestanding compilers. */
15782 # include <limits.h>
15784 # include <assert.h>
15789 /* Override any gcc2 internal prototype to avoid an error. */
15794 /* We use char because int might match the return type of a gcc2
15795 builtin and then its argument prototype would still apply. */
15797 /* The GNU C library defines this for functions which it implements
15798 to always fail with ENOSYS. Some functions are actually named
15799 something starting with __ and the normal name is an alias. */
15800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15803 char (*f) () = $ac_func;
15812 return f != $ac_func;
15817 rm -f conftest.
$ac_objext conftest
$ac_exeext
15818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15819 (eval $ac_link) 2>conftest.er1
15821 grep -v '^ *+' conftest.er1
>conftest.err
15823 cat conftest.err
>&5
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); } &&
15826 { ac_try
='test -z "$ac_c_werror_flag"
15827 || test ! -s conftest.err'
15828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15829 (eval $ac_try) 2>&5
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); }; } &&
15833 { ac_try
='test -s conftest$ac_exeext'
15834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15835 (eval $ac_try) 2>&5
15837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838 (exit $ac_status); }; }; then
15839 eval "$as_ac_var=yes"
15841 echo "$as_me: failed program was:" >&5
15842 sed 's/^/| /' conftest.
$ac_ext >&5
15844 eval "$as_ac_var=no"
15846 rm -f conftest.err conftest.
$ac_objext \
15847 conftest
$ac_exeext conftest.
$ac_ext
15849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15851 if test `eval echo '${'$as_ac_var'}'` = yes; then
15852 cat >>confdefs.h
<<_ACEOF
15853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15859 echo "$as_me:$LINENO: checking for working mmap" >&5
15860 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
15861 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
15862 echo $ECHO_N "(cached) $ECHO_C" >&6
15864 if test "$cross_compiling" = yes; then
15865 ac_cv_func_mmap_fixed_mapped
=no
15867 cat >conftest.
$ac_ext <<_ACEOF
15870 cat confdefs.h
>>conftest.
$ac_ext
15871 cat >>conftest.
$ac_ext <<_ACEOF
15872 /* end confdefs.h. */
15873 $ac_includes_default
15874 /* malloc might have been renamed as rpl_malloc. */
15877 /* Thanks to Mike Haertel and Jim Avera for this test.
15878 Here is a matrix of mmap possibilities:
15879 mmap private not fixed
15880 mmap private fixed at somewhere currently unmapped
15881 mmap private fixed at somewhere already mapped
15882 mmap shared not fixed
15883 mmap shared fixed at somewhere currently unmapped
15884 mmap shared fixed at somewhere already mapped
15885 For private mappings, we should verify that changes cannot be read()
15886 back from the file, nor mmap's back from the file at a different
15887 address. (There have been systems where private was not correctly
15888 implemented like the infamous i386 svr4.0, and systems where the
15889 VM page cache was not coherent with the file system buffer cache
15890 like early versions of FreeBSD and possibly contemporary NetBSD.)
15891 For shared mappings, we should conversely verify that changes get
15892 propagated back to all the places they're supposed to be.
15894 Grep wants private fixed already mapped.
15895 The main things grep needs to know about mmap are:
15896 * does it exist and is it safe to write into the mmap'd area
15897 * how to use it (BSD variants) */
15900 #include <sys/mman.h>
15902 #if !STDC_HEADERS && !HAVE_STDLIB_H
15906 /* This mess was copied from the GNU getpagesize.h. */
15907 #if !HAVE_GETPAGESIZE
15908 /* Assume that all systems that can run configure have sys/param.h. */
15909 # if !HAVE_SYS_PARAM_H
15910 # define HAVE_SYS_PARAM_H 1
15913 # ifdef _SC_PAGESIZE
15914 # define getpagesize() sysconf(_SC_PAGESIZE)
15915 # else /* no _SC_PAGESIZE */
15916 # if HAVE_SYS_PARAM_H
15917 # include <sys/param.h>
15918 # ifdef EXEC_PAGESIZE
15919 # define getpagesize() EXEC_PAGESIZE
15920 # else /* no EXEC_PAGESIZE */
15922 # define getpagesize() NBPG * CLSIZE
15925 # endif /* no CLSIZE */
15926 # else /* no NBPG */
15928 # define getpagesize() NBPC
15929 # else /* no NBPC */
15931 # define getpagesize() PAGESIZE
15932 # endif /* PAGESIZE */
15933 # endif /* no NBPC */
15934 # endif /* no NBPG */
15935 # endif /* no EXEC_PAGESIZE */
15936 # else /* no HAVE_SYS_PARAM_H */
15937 # define getpagesize() 8192 /* punt totally */
15938 # endif /* no HAVE_SYS_PARAM_H */
15939 # endif /* no _SC_PAGESIZE */
15941 #endif /* no HAVE_GETPAGESIZE */
15946 char *data, *data2, *data3;
15950 pagesize = getpagesize ();
15952 /* First, make a file with some known garbage in it. */
15953 data = (char *) malloc (pagesize);
15956 for (i = 0; i < pagesize; ++i)
15957 *(data + i) = rand ();
15959 fd = creat ("conftest.mmap", 0600);
15962 if (write (fd, data, pagesize) != pagesize)
15966 /* Next, try to mmap the file at a fixed address which already has
15967 something else allocated at it. If we can, also make sure that
15968 we see the same garbage. */
15969 fd = open ("conftest.mmap", O_RDWR);
15972 data2 = (char *) malloc (2 * pagesize);
15975 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
15976 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
15977 MAP_PRIVATE | MAP_FIXED, fd, 0L))
15979 for (i = 0; i < pagesize; ++i)
15980 if (*(data + i) != *(data2 + i))
15983 /* Finally, make sure that changes to the mapped area do not
15984 percolate back to the file as seen by read(). (This is a bug on
15985 some variants of i386 svr4.0.) */
15986 for (i = 0; i < pagesize; ++i)
15987 *(data2 + i) = *(data2 + i) + 1;
15988 data3 = (char *) malloc (pagesize);
15991 if (read (fd, data3, pagesize) != pagesize)
15993 for (i = 0; i < pagesize; ++i)
15994 if (*(data + i) != *(data3 + i))
16000 rm -f conftest
$ac_exeext
16001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16002 (eval $ac_link) 2>&5
16004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16005 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16007 (eval $ac_try) 2>&5
16009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16010 (exit $ac_status); }; }; then
16011 ac_cv_func_mmap_fixed_mapped
=yes
16013 echo "$as_me: program exited with status $ac_status" >&5
16014 echo "$as_me: failed program was:" >&5
16015 sed 's/^/| /' conftest.
$ac_ext >&5
16017 ( exit $ac_status )
16018 ac_cv_func_mmap_fixed_mapped
=no
16020 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16023 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
16024 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
16025 if test $ac_cv_func_mmap_fixed_mapped = yes; then
16027 cat >>confdefs.h
<<\_ACEOF
16028 #define HAVE_MMAP 1
16032 rm -f conftest.mmap
16036 for ac_prog
in perl
16038 # Extract the first word of "$ac_prog", so it can be a program name with args.
16039 set dummy
$ac_prog; ac_word
=$2
16040 echo "$as_me:$LINENO: checking for $ac_word" >&5
16041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16042 if test "${ac_cv_prog_PERL+set}" = set; then
16043 echo $ECHO_N "(cached) $ECHO_C" >&6
16045 if test -n "$PERL"; then
16046 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
16048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16049 for as_dir
in $PATH
16052 test -z "$as_dir" && as_dir
=.
16053 for ac_exec_ext
in '' $ac_executable_extensions; do
16054 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16055 ac_cv_prog_PERL
="$ac_prog"
16056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16064 PERL
=$ac_cv_prog_PERL
16065 if test -n "$PERL"; then
16066 echo "$as_me:$LINENO: result: $PERL" >&5
16067 echo "${ECHO_T}$PERL" >&6
16069 echo "$as_me:$LINENO: result: no" >&5
16070 echo "${ECHO_T}no" >&6
16073 test -n "$PERL" && break
16075 test -n "$PERL" || PERL
="false"
16079 SIGNAL_HANDLER_AUX
=
16083 SIGNAL_HANDLER
=include
/i386-signal.h
16085 sparc
*-sun-solaris*)
16086 SIGNAL_HANDLER
=include
/sparc-signal.h
16089 # SYSDEP_SOURCES=sysdep/ia64.c
16090 # test -d sysdep || mkdir sysdep
16093 SIGNAL_HANDLER
=include
/pa-signal.h
16096 SIGNAL_HANDLER
=include
/dwarf2-signal.h
16099 SIGNAL_HANDLER
=include
/powerpc-signal.h
16102 SIGNAL_HANDLER
=include
/dwarf2-signal.h
16105 SIGNAL_HANDLER
=include
/s390-signal.h
16108 SIGNAL_HANDLER
=include
/x86_64-signal.h
16109 SIGNAL_HANDLER_AUX
=include
/i386-signal.h
16112 SIGNAL_HANDLER
=include
/dwarf2-signal.h
16115 SIGNAL_HANDLER
=include
/sh-signal.h
16118 SIGNAL_HANDLER
=include
/win32-signal.h
16121 SIGNAL_HANDLER
=include
/mips-signal.h
16124 SIGNAL_HANDLER
=include
/darwin-signal.h
16127 SIGNAL_HANDLER
=include
/default-signal.h
16131 # If we're using sjlj exceptions, forget what we just learned.
16132 if test "$enable_sjlj_exceptions" = yes; then
16133 SIGNAL_HANDLER
=include
/default-signal.h
16134 SIGNAL_HANDLER_AUX
=
16139 if test -z "$SIGNAL_HANDLER_AUX"; then
16140 SIGNAL_HANDLER_AUX
=$SIGNAL_HANDLER
16143 ac_config_links
="$ac_config_links include/java-signal.h:$SIGNAL_HANDLER include/java-signal-aux.h:$SIGNAL_HANDLER_AUX"
16146 if test "${multilib}" = "yes"; then
16147 multilib_arg
="--enable-multilib"
16154 here
=`${PWDCMD-pwd}`
16157 # We get this from the environment.
16160 ac_config_files
="$ac_config_files Makefile libgcj.pc libgcj.spec libgcj-test.spec gcj/Makefile include/Makefile testsuite/Makefile"
16163 ac_config_commands
="$ac_config_commands default"
16166 cat >confcache
<<\_ACEOF
16167 # This file is a shell script that caches the results of configure
16168 # tests run on this system so they can be shared between configure
16169 # scripts and configure runs, see configure's option --config-cache.
16170 # It is not useful on other systems. If it contains results you don't
16171 # want to keep, you may remove or edit it.
16173 # config.status only pays attention to the cache file if you give it
16174 # the --recheck option to rerun configure.
16176 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16177 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16178 # following values.
16182 # The following way of writing the cache mishandles newlines in values,
16183 # but we know of no workaround that is simple, portable, and efficient.
16184 # So, don't put newlines in cache variables' values.
16185 # Ultrix sh set writes to stderr and can't be redirected directly,
16186 # and sets the high bit in the cache file unless we assign to the vars.
16189 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16191 # `set' does not quote correctly, so add quotes (double-quote
16192 # substitution turns \\\\ into \\, and sed turns \\ into \).
16195 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16198 # `set' quotes correctly as required by POSIX, so do not add quotes.
16200 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
16207 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16209 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16211 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
16212 if test -w $cache_file; then
16213 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
16214 cat confcache
>$cache_file
16216 echo "not updating unwritable cache $cache_file"
16221 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16222 # Let make expand exec_prefix.
16223 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16225 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16226 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16227 # trailing colons and then remove the whole line if VPATH becomes empty
16228 # (actually we leave an empty line to preserve line numbers).
16229 if test "x$srcdir" = x.
; then
16230 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
16231 s/:*\$(srcdir):*/:/;
16232 s/:*\${srcdir}:*/:/;
16234 s/^\([^=]*=[ ]*\):*/\1/;
16240 DEFS
=-DHAVE_CONFIG_H
16244 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16245 # 1. Remove the extension, and $U if already installed.
16246 ac_i
=`echo "$ac_i" |
16247 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
16249 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
16250 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
16252 LIBOBJS
=$ac_libobjs
16254 LTLIBOBJS
=$ac_ltlibobjs
16257 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16258 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
16259 Usually this means the macro was only invoked conditionally." >&5
16260 echo "$as_me: error: conditional \"AMDEP\" was never defined.
16261 Usually this means the macro was only invoked conditionally." >&2;}
16262 { (exit 1); exit 1; }; }
16264 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16265 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16266 Usually this means the macro was only invoked conditionally." >&5
16267 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16268 Usually this means the macro was only invoked conditionally." >&2;}
16269 { (exit 1); exit 1; }; }
16271 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16272 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
16273 Usually this means the macro was only invoked conditionally." >&5
16274 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
16275 Usually this means the macro was only invoked conditionally." >&2;}
16276 { (exit 1); exit 1; }; }
16278 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16279 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
16280 Usually this means the macro was only invoked conditionally." >&5
16281 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
16282 Usually this means the macro was only invoked conditionally." >&2;}
16283 { (exit 1); exit 1; }; }
16285 if test -z "${XLIB_AWT_TRUE}" && test -z "${XLIB_AWT_FALSE}"; then
16286 { { echo "$as_me:$LINENO: error: conditional \"XLIB_AWT\" was never defined.
16287 Usually this means the macro was only invoked conditionally." >&5
16288 echo "$as_me: error: conditional \"XLIB_AWT\" was never defined.
16289 Usually this means the macro was only invoked conditionally." >&2;}
16290 { (exit 1); exit 1; }; }
16292 if test -z "${GTK_AWT_TRUE}" && test -z "${GTK_AWT_FALSE}"; then
16293 { { echo "$as_me:$LINENO: error: conditional \"GTK_AWT\" was never defined.
16294 Usually this means the macro was only invoked conditionally." >&5
16295 echo "$as_me: error: conditional \"GTK_AWT\" was never defined.
16296 Usually this means the macro was only invoked conditionally." >&2;}
16297 { (exit 1); exit 1; }; }
16299 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
16300 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
16301 Usually this means the macro was only invoked conditionally." >&5
16302 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
16303 Usually this means the macro was only invoked conditionally." >&2;}
16304 { (exit 1); exit 1; }; }
16306 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
16307 { { echo "$as_me:$LINENO: error: conditional \"TESTSUBDIR\" was never defined.
16308 Usually this means the macro was only invoked conditionally." >&5
16309 echo "$as_me: error: conditional \"TESTSUBDIR\" was never defined.
16310 Usually this means the macro was only invoked conditionally." >&2;}
16311 { (exit 1); exit 1; }; }
16313 if test -z "${JAVA_HOME_SET_TRUE}" && test -z "${JAVA_HOME_SET_FALSE}"; then
16314 { { echo "$as_me:$LINENO: error: conditional \"JAVA_HOME_SET\" was never defined.
16315 Usually this means the macro was only invoked conditionally." >&5
16316 echo "$as_me: error: conditional \"JAVA_HOME_SET\" was never defined.
16317 Usually this means the macro was only invoked conditionally." >&2;}
16318 { (exit 1); exit 1; }; }
16320 if test -z "${USING_WIN32_PLATFORM_TRUE}" && test -z "${USING_WIN32_PLATFORM_FALSE}"; then
16321 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
16322 Usually this means the macro was only invoked conditionally." >&5
16323 echo "$as_me: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
16324 Usually this means the macro was only invoked conditionally." >&2;}
16325 { (exit 1); exit 1; }; }
16327 if test -z "${USING_POSIX_PLATFORM_TRUE}" && test -z "${USING_POSIX_PLATFORM_FALSE}"; then
16328 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
16329 Usually this means the macro was only invoked conditionally." >&5
16330 echo "$as_me: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
16331 Usually this means the macro was only invoked conditionally." >&2;}
16332 { (exit 1); exit 1; }; }
16334 if test -z "${USING_DARWIN_CRT_TRUE}" && test -z "${USING_DARWIN_CRT_FALSE}"; then
16335 { { echo "$as_me:$LINENO: error: conditional \"USING_DARWIN_CRT\" was never defined.
16336 Usually this means the macro was only invoked conditionally." >&5
16337 echo "$as_me: error: conditional \"USING_DARWIN_CRT\" was never defined.
16338 Usually this means the macro was only invoked conditionally." >&2;}
16339 { (exit 1); exit 1; }; }
16341 if test -z "${GTK_CAIRO_TRUE}" && test -z "${GTK_CAIRO_FALSE}"; then
16342 { { echo "$as_me:$LINENO: error: conditional \"GTK_CAIRO\" was never defined.
16343 Usually this means the macro was only invoked conditionally." >&5
16344 echo "$as_me: error: conditional \"GTK_CAIRO\" was never defined.
16345 Usually this means the macro was only invoked conditionally." >&2;}
16346 { (exit 1); exit 1; }; }
16348 if test -z "${USING_BOEHMGC_TRUE}" && test -z "${USING_BOEHMGC_FALSE}"; then
16349 { { echo "$as_me:$LINENO: error: conditional \"USING_BOEHMGC\" was never defined.
16350 Usually this means the macro was only invoked conditionally." >&5
16351 echo "$as_me: error: conditional \"USING_BOEHMGC\" was never defined.
16352 Usually this means the macro was only invoked conditionally." >&2;}
16353 { (exit 1); exit 1; }; }
16355 if test -z "${USING_NOGC_TRUE}" && test -z "${USING_NOGC_FALSE}"; then
16356 { { echo "$as_me:$LINENO: error: conditional \"USING_NOGC\" was never defined.
16357 Usually this means the macro was only invoked conditionally." >&5
16358 echo "$as_me: error: conditional \"USING_NOGC\" was never defined.
16359 Usually this means the macro was only invoked conditionally." >&2;}
16360 { (exit 1); exit 1; }; }
16362 if test -z "${USING_POSIX_THREADS_TRUE}" && test -z "${USING_POSIX_THREADS_FALSE}"; then
16363 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_THREADS\" was never defined.
16364 Usually this means the macro was only invoked conditionally." >&5
16365 echo "$as_me: error: conditional \"USING_POSIX_THREADS\" was never defined.
16366 Usually this means the macro was only invoked conditionally." >&2;}
16367 { (exit 1); exit 1; }; }
16369 if test -z "${USING_WIN32_THREADS_TRUE}" && test -z "${USING_WIN32_THREADS_FALSE}"; then
16370 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_THREADS\" was never defined.
16371 Usually this means the macro was only invoked conditionally." >&5
16372 echo "$as_me: error: conditional \"USING_WIN32_THREADS\" was never defined.
16373 Usually this means the macro was only invoked conditionally." >&2;}
16374 { (exit 1); exit 1; }; }
16376 if test -z "${USING_NO_THREADS_TRUE}" && test -z "${USING_NO_THREADS_FALSE}"; then
16377 { { echo "$as_me:$LINENO: error: conditional \"USING_NO_THREADS\" was never defined.
16378 Usually this means the macro was only invoked conditionally." >&5
16379 echo "$as_me: error: conditional \"USING_NO_THREADS\" was never defined.
16380 Usually this means the macro was only invoked conditionally." >&2;}
16381 { (exit 1); exit 1; }; }
16383 if test -z "${USING_GCC_TRUE}" && test -z "${USING_GCC_FALSE}"; then
16384 { { echo "$as_me:$LINENO: error: conditional \"USING_GCC\" was never defined.
16385 Usually this means the macro was only invoked conditionally." >&5
16386 echo "$as_me: error: conditional \"USING_GCC\" was never defined.
16387 Usually this means the macro was only invoked conditionally." >&2;}
16388 { (exit 1); exit 1; }; }
16390 if test -z "${SUPPLY_BACKTRACE_TRUE}" && test -z "${SUPPLY_BACKTRACE_FALSE}"; then
16391 { { echo "$as_me:$LINENO: error: conditional \"SUPPLY_BACKTRACE\" was never defined.
16392 Usually this means the macro was only invoked conditionally." >&5
16393 echo "$as_me: error: conditional \"SUPPLY_BACKTRACE\" was never defined.
16394 Usually this means the macro was only invoked conditionally." >&2;}
16395 { (exit 1); exit 1; }; }
16397 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
16398 { { echo "$as_me:$LINENO: error: conditional \"NATIVE\" was never defined.
16399 Usually this means the macro was only invoked conditionally." >&5
16400 echo "$as_me: error: conditional \"NATIVE\" was never defined.
16401 Usually this means the macro was only invoked conditionally." >&2;}
16402 { (exit 1); exit 1; }; }
16404 if test -z "${NEEDS_DATA_START_TRUE}" && test -z "${NEEDS_DATA_START_FALSE}"; then
16405 { { echo "$as_me:$LINENO: error: conditional \"NEEDS_DATA_START\" was never defined.
16406 Usually this means the macro was only invoked conditionally." >&5
16407 echo "$as_me: error: conditional \"NEEDS_DATA_START\" was never defined.
16408 Usually this means the macro was only invoked conditionally." >&2;}
16409 { (exit 1); exit 1; }; }
16412 : ${CONFIG_STATUS=./config.status}
16413 ac_clean_files_save
=$ac_clean_files
16414 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16415 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
16416 echo "$as_me: creating $CONFIG_STATUS" >&6;}
16417 cat >$CONFIG_STATUS <<_ACEOF
16419 # Generated by $as_me.
16420 # Run this file to recreate the current configuration.
16421 # Compiler output produced by configure, useful for debugging
16422 # configure, is in config.log if it exists.
16425 ac_cs_recheck=false
16427 SHELL=\${CONFIG_SHELL-$SHELL}
16430 cat >>$CONFIG_STATUS <<\_ACEOF
16431 ## --------------------- ##
16432 ## M4sh Initialization. ##
16433 ## --------------------- ##
16435 # Be Bourne compatible
16436 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16439 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
16440 # is contrary to our usage. Disable this feature.
16441 alias -g '${1+"$@"}'='"$@"'
16442 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
16445 DUALCASE
=1; export DUALCASE
# for MKS sh
16447 # Support unset when possible.
16448 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
16455 # Work around bugs in pre-3.0 UWIN ksh.
16456 $as_unset ENV MAIL MAILPATH
16463 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
16464 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
16465 LC_TELEPHONE LC_TIME
16467 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
16468 eval $as_var=C
; export $as_var
16474 # Required to use basename.
16475 if expr a
: '\(a\)' >/dev
/null
2>&1; then
16481 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
16482 as_basename
=basename
16488 # Name of the executable.
16489 as_me
=`$as_basename "$0" ||
16490 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16491 X"$0" : 'X\(//\)$' \| \
16492 X"$0" : 'X\(/\)$' \| \
16493 . : '\(.\)' 2>/dev/null ||
16495 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
16496 /^X\/\(\/\/\)$/{ s//\1/; q; }
16497 /^X\/\(\/\).*/{ s//\1/; q; }
16501 # PATH needs CR, and LINENO needs CR and PATH.
16502 # Avoid depending upon Character Ranges.
16503 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16504 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16505 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16506 as_cr_digits
='0123456789'
16507 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16509 # The user is always right.
16510 if test "${PATH_SEPARATOR+set}" != set; then
16511 echo "#! /bin/sh" >conf$$.sh
16512 echo "exit 0" >>conf$$.sh
16514 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
16523 as_lineno_1
=$LINENO
16524 as_lineno_2
=$LINENO
16525 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
16526 test "x$as_lineno_1" != "x$as_lineno_2" &&
16527 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
16528 # Find who we are. Look in the path if we contain no path at all
16531 *[\\/]* ) as_myself
=$0 ;;
16532 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16533 for as_dir
in $PATH
16536 test -z "$as_dir" && as_dir
=.
16537 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
16542 # We did not find ourselves, most probably we were run as `sh COMMAND'
16543 # in which case we are not to be found in the path.
16544 if test "x$as_myself" = x
; then
16547 if test ! -f "$as_myself"; then
16548 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
16549 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
16550 { (exit 1); exit 1; }; }
16552 case $CONFIG_SHELL in
16554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16555 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
16558 test -z "$as_dir" && as_dir
=.
16559 for as_base
in sh bash ksh sh5
; do
16562 if ("$as_dir/$as_base" -c '
16563 as_lineno_1=$LINENO
16564 as_lineno_2=$LINENO
16565 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
16566 test "x$as_lineno_1" != "x$as_lineno_2" &&
16567 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
16568 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
16569 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
16570 CONFIG_SHELL
=$as_dir/$as_base
16571 export CONFIG_SHELL
16572 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
16580 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
16581 # uniformly replaced by the line number. The first 'sed' inserts a
16582 # line-number line before each line; the second 'sed' does the real
16583 # work. The second script uses 'N' to pair each line-number line
16584 # with the numbered line, and appends trailing '-' during
16585 # substitution so that $LINENO is not a special case at line end.
16586 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
16587 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
16588 sed '=' <$as_myself |
16593 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
16596 s,^['$as_cr_digits']*\n,,
16597 ' >$as_me.lineno
&&
16598 chmod +x
$as_me.lineno ||
16599 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
16600 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
16601 { (exit 1); exit 1; }; }
16603 # Don't try to exec as it changes $[0], causing all sort of problems
16604 # (the dirname of $[0] is not the place where we might find the
16605 # original and so on. Autoconf is especially sensible to this).
16607 # Exit status is that of the last command.
16612 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
16613 *c
*,-n*) ECHO_N
= ECHO_C
='
16615 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
16616 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
16619 if expr a
: '\(a\)' >/dev
/null
2>&1; then
16625 rm -f conf$$ conf$$.exe conf$$.
file
16627 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16628 # We could just check for DJGPP; but this test a) works b) is more generic
16629 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
16630 if test -f conf$$.exe
; then
16631 # Don't use ln at all; we don't have any links
16636 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16641 rm -f conf$$ conf$$.exe conf$$.
file
16643 if mkdir
-p .
2>/dev
/null
; then
16646 test -d .
/-p && rmdir .
/-p
16650 as_executable_p
="test -f"
16652 # Sed expression to map a string onto a valid CPP name.
16653 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16655 # Sed expression to map a string onto a valid variable name.
16656 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16660 # We need space, tab and new line, in precisely that order.
16670 # Open the log real soon, to keep \$[0] and so on meaningful, and to
16671 # report actual input values of CONFIG_FILES etc. instead of their
16672 # values after options handling. Logging --version etc. is OK.
16676 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16677 ## Running $as_me. ##
16682 This file was extended by libjava $as_me version-unused, which was
16683 generated by GNU Autoconf 2.59. Invocation command line was
16685 CONFIG_FILES = $CONFIG_FILES
16686 CONFIG_HEADERS = $CONFIG_HEADERS
16687 CONFIG_LINKS = $CONFIG_LINKS
16688 CONFIG_COMMANDS = $CONFIG_COMMANDS
16692 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
16696 # Files that config.status was made for.
16697 if test -n "$ac_config_files"; then
16698 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
16701 if test -n "$ac_config_headers"; then
16702 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
16705 if test -n "$ac_config_links"; then
16706 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
16709 if test -n "$ac_config_commands"; then
16710 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
16713 cat >>$CONFIG_STATUS <<\_ACEOF
16716 \`$as_me' instantiates files from templates according to the
16717 current configuration.
16719 Usage: $0 [OPTIONS] [FILE]...
16721 -h, --help print this help, then exit
16722 -V, --version print version number, then exit
16723 -q, --quiet do not print progress messages
16724 -d, --debug don't remove temporary files
16725 --recheck update $as_me by reconfiguring in the same conditions
16726 --file=FILE[:TEMPLATE]
16727 instantiate the configuration file FILE
16728 --header=FILE[:TEMPLATE]
16729 instantiate the configuration header FILE
16731 Configuration files:
16734 Configuration headers:
16737 Configuration links:
16740 Configuration commands:
16743 Report bugs to <bug-autoconf@gnu.org>."
16746 cat >>$CONFIG_STATUS <<_ACEOF
16748 libjava config.status version-unused
16749 configured by $0, generated by GNU Autoconf 2.59,
16750 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
16752 Copyright (C) 2003 Free Software Foundation, Inc.
16753 This config.status script is free software; the Free Software Foundation
16754 gives unlimited permission to copy, distribute and modify it."
16759 cat >>$CONFIG_STATUS <<\_ACEOF
16760 # If no file are specified by the user, then we need to provide default
16761 # value. By we need to know if files were specified by the user.
16767 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
16768 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
16776 *) # This is not an option, so the user has probably given explicit
16779 ac_need_defaults
=false
;;
16783 # Handling of the options.
16785 cat >>$CONFIG_STATUS <<\_ACEOF
16786 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16788 --version |
--vers* |
-V )
16789 echo "$ac_cs_version"; exit 0 ;;
16791 # Conflict between --help and --header
16792 { { echo "$as_me:$LINENO: error: ambiguous option: $1
16793 Try \`$0 --help' for more information." >&5
16794 echo "$as_me: error: ambiguous option: $1
16795 Try \`$0 --help' for more information." >&2;}
16796 { (exit 1); exit 1; }; };;
16797 --help |
--hel |
-h )
16798 echo "$ac_cs_usage"; exit 0 ;;
16799 --debug |
--d* |
-d )
16801 --file |
--fil |
--fi |
--f )
16803 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
16804 ac_need_defaults
=false
;;
16805 --header |
--heade |
--head |
--hea )
16807 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
16808 ac_need_defaults
=false
;;
16809 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16810 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16813 # This is an error.
16814 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
16815 Try \`$0 --help' for more information." >&5
16816 echo "$as_me: error: unrecognized option: $1
16817 Try \`$0 --help' for more information." >&2;}
16818 { (exit 1); exit 1; }; } ;;
16820 *) ac_config_targets
="$ac_config_targets $1" ;;
16826 ac_configure_extra_args
=
16828 if $ac_cs_silent; then
16830 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16834 cat >>$CONFIG_STATUS <<_ACEOF
16835 if \$ac_cs_recheck; then
16836 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
16837 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16842 cat >>$CONFIG_STATUS <<_ACEOF
16844 # INIT-COMMANDS section.
16847 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16851 with_multisubdir=${with_multisubdir}
16852 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16853 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16854 libgcj_basedir=${libgcj_basedir}
16857 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
16864 cat >>$CONFIG_STATUS <<\_ACEOF
16865 for ac_config_target
in $ac_config_targets
16867 case "$ac_config_target" in
16868 # Handling of arguments.
16869 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16870 "libgcj.pc" ) CONFIG_FILES
="$CONFIG_FILES libgcj.pc" ;;
16871 "libgcj.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj.spec" ;;
16872 "libgcj-test.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj-test.spec" ;;
16873 "gcj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gcj/Makefile" ;;
16874 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
16875 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16876 "include/platform.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/platform.h:include/$PLATFORMH" ;;
16877 "java/io/natFile.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc" ;;
16878 "java/lang/ConcreteProcess.java" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/ConcreteProcess.java:java/lang/${PLATFORM}Process.java" ;;
16879 "java/lang/natConcreteProcess.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc" ;;
16880 "java/net/natInetAddress.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natInetAddress.cc:java/net/natInetAddress${PLATFORMNET}.cc" ;;
16881 "java/net/natVMNetworkInterface.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc" ;;
16882 "gnu/java/net/natPlainSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc" ;;
16883 "gnu/java/net/natPlainDatagramSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc" ;;
16884 "gnu/java/nio/natPipeImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natPipeImpl.cc:gnu/java/nio/natPipeImpl${PLATFORM}.cc" ;;
16885 "gnu/java/nio/natSelectorImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natSelectorImpl.cc:gnu/java/nio/natSelectorImpl${PLATFORM}.cc" ;;
16886 "gnu/java/nio/channels/natFileChannelImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc" ;;
16887 "include/java-gc.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-gc.h:include/$GCHDR" ;;
16888 "include/java-threads.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-threads.h:include/$THREADH" ;;
16889 "sysdep/locks.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/locks.h:sysdep/$sysdeps_dir/locks.h" ;;
16890 "sysdep/backtrace.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/backtrace.h:$fallback_backtrace_h" ;;
16891 "sysdep/descriptor.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/descriptor.h:$descriptor_h" ;;
16892 "include/java-signal.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal.h:$SIGNAL_HANDLER" ;;
16893 "include/java-signal-aux.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal-aux.h:$SIGNAL_HANDLER_AUX" ;;
16894 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16895 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
16896 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
16897 "gcj/libgcj-config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS gcj/libgcj-config.h" ;;
16898 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
16899 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16900 { (exit 1); exit 1; }; };;
16904 # If the user did not use the arguments to specify the items to instantiate,
16905 # then the envvar interface is used. Set only those that are not.
16906 # We use the long form for the default assignment because of an extremely
16907 # bizarre bug on SunOS 4.1.3.
16908 if $ac_need_defaults; then
16909 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16910 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16911 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
16912 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16915 # Have a temporary directory for convenience. Make it in the build tree
16916 # simply because there is no reason to put it here, and in addition,
16917 # creating and moving files from /tmp can sometimes cause problems.
16918 # Create a temporary directory, and hook for its removal unless debugging.
16921 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
16922 trap '{ (exit 1); exit 1; }' 1 2 13 15
16925 # Create a (secure) tmp directory for tmp files.
16928 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
16929 test -n "$tmp" && test -d "$tmp"
16932 tmp
=.
/confstat$$
-$RANDOM
16933 (umask 077 && mkdir
$tmp)
16936 echo "$me: cannot create a temporary directory in ." >&2
16937 { (exit 1); exit 1; }
16942 cat >>$CONFIG_STATUS <<_ACEOF
16945 # CONFIG_FILES section.
16948 # No need to generate the scripts if there are no CONFIG_FILES.
16949 # This happens for instance when ./config.status config.h
16950 if test -n "\$CONFIG_FILES"; then
16951 # Protect against being on the right side of a sed subst in config.status.
16952 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
16953 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
16954 s,@SHELL@,$SHELL,;t t
16955 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
16956 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
16957 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
16958 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
16959 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
16960 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
16961 s,@exec_prefix@,$exec_prefix,;t t
16962 s,@prefix@,$prefix,;t t
16963 s,@program_transform_name@,$program_transform_name,;t t
16964 s,@bindir@,$bindir,;t t
16965 s,@sbindir@,$sbindir,;t t
16966 s,@libexecdir@,$libexecdir,;t t
16967 s,@datadir@,$datadir,;t t
16968 s,@sysconfdir@,$sysconfdir,;t t
16969 s,@sharedstatedir@,$sharedstatedir,;t t
16970 s,@localstatedir@,$localstatedir,;t t
16971 s,@libdir@,$libdir,;t t
16972 s,@includedir@,$includedir,;t t
16973 s,@oldincludedir@,$oldincludedir,;t t
16974 s,@infodir@,$infodir,;t t
16975 s,@mandir@,$mandir,;t t
16976 s,@build_alias@,$build_alias,;t t
16977 s,@host_alias@,$host_alias,;t t
16978 s,@target_alias@,$target_alias,;t t
16979 s,@DEFS@,$DEFS,;t t
16980 s,@ECHO_C@,$ECHO_C,;t t
16981 s,@ECHO_N@,$ECHO_N,;t t
16982 s,@ECHO_T@,$ECHO_T,;t t
16983 s,@LIBS@,$LIBS,;t t
16984 s,@build@,$build,;t t
16985 s,@build_cpu@,$build_cpu,;t t
16986 s,@build_vendor@,$build_vendor,;t t
16987 s,@build_os@,$build_os,;t t
16988 s,@build_subdir@,$build_subdir,;t t
16989 s,@host_subdir@,$host_subdir,;t t
16990 s,@target_subdir@,$target_subdir,;t t
16991 s,@libgcj_basedir@,$libgcj_basedir,;t t
16992 s,@host@,$host,;t t
16993 s,@host_cpu@,$host_cpu,;t t
16994 s,@host_vendor@,$host_vendor,;t t
16995 s,@host_os@,$host_os,;t t
16996 s,@target@,$target,;t t
16997 s,@target_cpu@,$target_cpu,;t t
16998 s,@target_vendor@,$target_vendor,;t t
16999 s,@target_os@,$target_os,;t t
17000 s,@target_noncanonical@,$target_noncanonical,;t t
17001 s,@LN_S@,$LN_S,;t t
17002 s,@mkinstalldirs@,$mkinstalldirs,;t t
17004 s,@ac_ct_CC@,$ac_ct_CC,;t t
17005 s,@EXEEXT@,$EXEEXT,;t t
17006 s,@OBJEXT@,$OBJEXT,;t t
17008 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
17009 s,@CFLAGS@,$CFLAGS,;t t
17010 s,@CXXFLAGS@,$CXXFLAGS,;t t
17011 s,@LDFLAGS@,$LDFLAGS,;t t
17012 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
17013 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
17014 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
17015 s,@CYGPATH_W@,$CYGPATH_W,;t t
17016 s,@PACKAGE@,$PACKAGE,;t t
17017 s,@VERSION@,$VERSION,;t t
17018 s,@ACLOCAL@,$ACLOCAL,;t t
17019 s,@AUTOCONF@,$AUTOCONF,;t t
17020 s,@AUTOMAKE@,$AUTOMAKE,;t t
17021 s,@AUTOHEADER@,$AUTOHEADER,;t t
17022 s,@MAKEINFO@,$MAKEINFO,;t t
17023 s,@install_sh@,$install_sh,;t t
17024 s,@STRIP@,$STRIP,;t t
17025 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
17026 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
17027 s,@mkdir_p@,$mkdir_p,;t t
17029 s,@SET_MAKE@,$SET_MAKE,;t t
17030 s,@am__leading_dot@,$am__leading_dot,;t t
17031 s,@AMTAR@,$AMTAR,;t t
17032 s,@am__tar@,$am__tar,;t t
17033 s,@am__untar@,$am__untar,;t t
17034 s,@DEPDIR@,$DEPDIR,;t t
17035 s,@am__include@,$am__include,;t t
17036 s,@am__quote@,$am__quote,;t t
17037 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
17038 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
17039 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
17040 s,@CCDEPMODE@,$CCDEPMODE,;t t
17041 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
17042 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
17043 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
17044 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
17045 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
17047 s,@ac_ct_AS@,$ac_ct_AS,;t t
17049 s,@ac_ct_AR@,$ac_ct_AR,;t t
17050 s,@RANLIB@,$RANLIB,;t t
17051 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
17052 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
17053 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
17054 s,@MAINT@,$MAINT,;t t
17055 s,@LIBGCJ_CFLAGS@,$LIBGCJ_CFLAGS,;t t
17056 s,@LIBGCJ_CXXFLAGS@,$LIBGCJ_CXXFLAGS,;t t
17057 s,@LIBGCJ_JAVAFLAGS@,$LIBGCJ_JAVAFLAGS,;t t
17058 s,@LIBGCJ_LD_SYMBOLIC@,$LIBGCJ_LD_SYMBOLIC,;t t
17059 s,@LIBGCJDEBUG@,$LIBGCJDEBUG,;t t
17060 s,@TOOLKIT@,$TOOLKIT,;t t
17061 s,@XLIB_AWT_TRUE@,$XLIB_AWT_TRUE,;t t
17062 s,@XLIB_AWT_FALSE@,$XLIB_AWT_FALSE,;t t
17063 s,@GTK_AWT_TRUE@,$GTK_AWT_TRUE,;t t
17064 s,@GTK_AWT_FALSE@,$GTK_AWT_FALSE,;t t
17065 s,@GCJH@,$GCJH,;t t
17067 s,@INCLTDL@,$INCLTDL,;t t
17068 s,@LIBLTDL@,$LIBLTDL,;t t
17069 s,@DIRLTDL@,$DIRLTDL,;t t
17070 s,@LIBTOOL@,$LIBTOOL,;t t
17071 s,@CXXCPP@,$CXXCPP,;t t
17072 s,@CPPFLAGS@,$CPPFLAGS,;t t
17074 s,@GCJFLAGS@,$GCJFLAGS,;t t
17075 s,@GCJDEPMODE@,$GCJDEPMODE,;t t
17076 s,@am__fastdepGCJ_TRUE@,$am__fastdepGCJ_TRUE,;t t
17077 s,@am__fastdepGCJ_FALSE@,$am__fastdepGCJ_FALSE,;t t
17078 s,@subdirs@,$subdirs,;t t
17079 s,@TESTSUBDIR_TRUE@,$TESTSUBDIR_TRUE,;t t
17080 s,@TESTSUBDIR_FALSE@,$TESTSUBDIR_FALSE,;t t
17081 s,@JAVA_HOME_SET_TRUE@,$JAVA_HOME_SET_TRUE,;t t
17082 s,@JAVA_HOME_SET_FALSE@,$JAVA_HOME_SET_FALSE,;t t
17083 s,@JAVA_HOME@,$JAVA_HOME,;t t
17084 s,@INTERPRETER@,$INTERPRETER,;t t
17085 s,@LIBFFI@,$LIBFFI,;t t
17086 s,@LIBFFIINCS@,$LIBFFIINCS,;t t
17087 s,@PLATFORM_INNER_NAT_HDRS@,$PLATFORM_INNER_NAT_HDRS,;t t
17089 s,@EGREP@,$EGREP,;t t
17090 s,@USING_WIN32_PLATFORM_TRUE@,$USING_WIN32_PLATFORM_TRUE,;t t
17091 s,@USING_WIN32_PLATFORM_FALSE@,$USING_WIN32_PLATFORM_FALSE,;t t
17092 s,@USING_POSIX_PLATFORM_TRUE@,$USING_POSIX_PLATFORM_TRUE,;t t
17093 s,@USING_POSIX_PLATFORM_FALSE@,$USING_POSIX_PLATFORM_FALSE,;t t
17094 s,@USING_DARWIN_CRT_TRUE@,$USING_DARWIN_CRT_TRUE,;t t
17095 s,@USING_DARWIN_CRT_FALSE@,$USING_DARWIN_CRT_FALSE,;t t
17096 s,@SYSTEMSPEC@,$SYSTEMSPEC,;t t
17097 s,@LIBGCJTESTSPEC@,$LIBGCJTESTSPEC,;t t
17098 s,@ZLIBSPEC@,$ZLIBSPEC,;t t
17099 s,@ZLIBTESTSPEC@,$ZLIBTESTSPEC,;t t
17100 s,@X_CFLAGS@,$X_CFLAGS,;t t
17101 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
17102 s,@X_LIBS@,$X_LIBS,;t t
17103 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
17104 s,@GTK_CAIRO_TRUE@,$GTK_CAIRO_TRUE,;t t
17105 s,@GTK_CAIRO_FALSE@,$GTK_CAIRO_FALSE,;t t
17106 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
17107 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
17108 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
17109 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
17110 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
17111 s,@GCLIBS@,$GCLIBS,;t t
17112 s,@GCINCS@,$GCINCS,;t t
17113 s,@GCDEPS@,$GCDEPS,;t t
17114 s,@GCSPEC@,$GCSPEC,;t t
17115 s,@JC1GCSPEC@,$JC1GCSPEC,;t t
17116 s,@GCTESTSPEC@,$GCTESTSPEC,;t t
17117 s,@USING_BOEHMGC_TRUE@,$USING_BOEHMGC_TRUE,;t t
17118 s,@USING_BOEHMGC_FALSE@,$USING_BOEHMGC_FALSE,;t t
17119 s,@USING_NOGC_TRUE@,$USING_NOGC_TRUE,;t t
17120 s,@USING_NOGC_FALSE@,$USING_NOGC_FALSE,;t t
17121 s,@THREADLIBS@,$THREADLIBS,;t t
17122 s,@THREADINCS@,$THREADINCS,;t t
17123 s,@THREADDEPS@,$THREADDEPS,;t t
17124 s,@THREADSPEC@,$THREADSPEC,;t t
17125 s,@THREADLDFLAGS@,$THREADLDFLAGS,;t t
17126 s,@THREADCXXFLAGS@,$THREADCXXFLAGS,;t t
17127 s,@USING_POSIX_THREADS_TRUE@,$USING_POSIX_THREADS_TRUE,;t t
17128 s,@USING_POSIX_THREADS_FALSE@,$USING_POSIX_THREADS_FALSE,;t t
17129 s,@USING_WIN32_THREADS_TRUE@,$USING_WIN32_THREADS_TRUE,;t t
17130 s,@USING_WIN32_THREADS_FALSE@,$USING_WIN32_THREADS_FALSE,;t t
17131 s,@USING_NO_THREADS_TRUE@,$USING_NO_THREADS_TRUE,;t t
17132 s,@USING_NO_THREADS_FALSE@,$USING_NO_THREADS_FALSE,;t t
17133 s,@HASH_SYNC_SPEC@,$HASH_SYNC_SPEC,;t t
17134 s,@USING_GCC_TRUE@,$USING_GCC_TRUE,;t t
17135 s,@USING_GCC_FALSE@,$USING_GCC_FALSE,;t t
17136 s,@LIBICONV@,$LIBICONV,;t t
17137 s,@LTLIBICONV@,$LTLIBICONV,;t t
17138 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
17139 s,@GTK_LIBS@,$GTK_LIBS,;t t
17140 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
17141 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
17142 s,@LIBART_CFLAGS@,$LIBART_CFLAGS,;t t
17143 s,@LIBART_LIBS@,$LIBART_LIBS,;t t
17144 s,@SUPPLY_BACKTRACE_TRUE@,$SUPPLY_BACKTRACE_TRUE,;t t
17145 s,@SUPPLY_BACKTRACE_FALSE@,$SUPPLY_BACKTRACE_FALSE,;t t
17146 s,@CLASSPATH_SEPARATOR@,$CLASSPATH_SEPARATOR,;t t
17147 s,@ac_ct_GCJ@,$ac_ct_GCJ,;t t
17148 s,@ZLIBS@,$ZLIBS,;t t
17149 s,@SYS_ZLIBS@,$SYS_ZLIBS,;t t
17150 s,@ZINCS@,$ZINCS,;t t
17151 s,@DIVIDESPEC@,$DIVIDESPEC,;t t
17152 s,@CHECKREFSPEC@,$CHECKREFSPEC,;t t
17153 s,@EXCEPTIONSPEC@,$EXCEPTIONSPEC,;t t
17154 s,@BACKTRACESPEC@,$BACKTRACESPEC,;t t
17155 s,@IEEESPEC@,$IEEESPEC,;t t
17156 s,@NATIVE_TRUE@,$NATIVE_TRUE,;t t
17157 s,@NATIVE_FALSE@,$NATIVE_FALSE,;t t
17158 s,@NEEDS_DATA_START_TRUE@,$NEEDS_DATA_START_TRUE,;t t
17159 s,@NEEDS_DATA_START_FALSE@,$NEEDS_DATA_START_FALSE,;t t
17160 s,@GCC_UNWIND_INCLUDE@,$GCC_UNWIND_INCLUDE,;t t
17161 s,@toolexecdir@,$toolexecdir,;t t
17162 s,@toolexecmainlibdir@,$toolexecmainlibdir,;t t
17163 s,@toolexeclibdir@,$toolexeclibdir,;t t
17164 s,@GCJVERSION@,$GCJVERSION,;t t
17165 s,@gxx_include_dir@,$gxx_include_dir,;t t
17166 s,@libstdcxx_incdir@,$libstdcxx_incdir,;t t
17167 s,@ALLOCA@,$ALLOCA,;t t
17168 s,@PERL@,$PERL,;t t
17169 s,@SYSDEP_SOURCES@,$SYSDEP_SOURCES,;t t
17170 s,@here@,$here,;t t
17171 s,@LIBOBJS@,$LIBOBJS,;t t
17172 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
17177 cat >>$CONFIG_STATUS <<\_ACEOF
17178 # Split the substitutions into bite-sized pieces for seds with
17179 # small command number limits, like on Digital OSF/1 and HP-UX.
17180 ac_max_sed_lines
=48
17181 ac_sed_frag
=1 # Number of current file.
17182 ac_beg
=1 # First line for current file.
17183 ac_end
=$ac_max_sed_lines # Line after last line for current file.
17186 while $ac_more_lines; do
17187 if test $ac_beg -gt 1; then
17188 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
17190 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
17192 if test ! -s $tmp/subs.frag
; then
17193 ac_more_lines
=false
17195 # The purpose of the label and of the branching condition is to
17196 # speed up the sed processing (if there are no `@' at all, there
17197 # is no need to browse any of the substitutions).
17198 # These are the two extra sed commands mentioned above.
17200 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
17201 if test -z "$ac_sed_cmds"; then
17202 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
17204 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
17206 ac_sed_frag
=`expr $ac_sed_frag + 1`
17208 ac_end
=`expr $ac_end + $ac_max_sed_lines`
17211 if test -z "$ac_sed_cmds"; then
17214 fi # test -n "$CONFIG_FILES"
17217 cat >>$CONFIG_STATUS <<\_ACEOF
17218 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
17219 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17221 - |
*:- |
*:-:* ) # input from stdin
17223 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17224 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17225 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17226 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17227 * ) ac_file_in
=$ac_file.
in ;;
17230 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
17231 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
17232 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17233 X"$ac_file" : 'X\(//\)[^/]' \| \
17234 X"$ac_file" : 'X\(//\)$' \| \
17235 X"$ac_file" : 'X\(/\)' \| \
17236 . : '\(.\)' 2>/dev/null ||
17238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17239 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17240 /^X\(\/\/\)$/{ s//\1/; q; }
17241 /^X\(\/\).*/{ s//\1/; q; }
17243 { if $as_mkdir_p; then
17248 while test ! -d "$as_dir"; do
17249 as_dirs
="$as_dir $as_dirs"
17250 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17251 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17252 X"$as_dir" : 'X\(//\)[^/]' \| \
17253 X"$as_dir" : 'X\(//\)$' \| \
17254 X"$as_dir" : 'X\(/\)' \| \
17255 . : '\(.\)' 2>/dev/null ||
17257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17258 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17259 /^X\(\/\/\)$/{ s//\1/; q; }
17260 /^X\(\/\).*/{ s//\1/; q; }
17263 test ! -n "$as_dirs" || mkdir
$as_dirs
17264 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17265 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17266 { (exit 1); exit 1; }; }; }
17270 if test "$ac_dir" != .
; then
17271 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17272 # A "../" for each directory in $ac_dir_suffix.
17273 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17275 ac_dir_suffix
= ac_top_builddir
=
17279 .
) # No --srcdir option. We are building in place.
17281 if test -z "$ac_top_builddir"; then
17284 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
17286 [\\/]* | ?
:[\\/]* ) # Absolute path.
17287 ac_srcdir
=$srcdir$ac_dir_suffix;
17288 ac_top_srcdir
=$srcdir ;;
17289 *) # Relative path.
17290 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
17291 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
17294 # Do not use `cd foo && pwd` to compute absolute paths, because
17295 # the directories may not exist.
17297 .
) ac_abs_builddir
="$ac_dir";;
17300 .
) ac_abs_builddir
=`pwd`;;
17301 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
17302 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
17305 case $ac_abs_builddir in
17306 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17308 case ${ac_top_builddir}.
in
17309 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
17310 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17311 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
17314 case $ac_abs_builddir in
17315 .
) ac_abs_srcdir
=$ac_srcdir;;
17318 .
) ac_abs_srcdir
=$ac_abs_builddir;;
17319 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
17320 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
17323 case $ac_abs_builddir in
17324 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
17326 case $ac_top_srcdir in
17327 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
17328 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
17329 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
17335 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17336 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
17339 if test x
"$ac_file" != x-
; then
17340 { echo "$as_me:$LINENO: creating $ac_file" >&5
17341 echo "$as_me: creating $ac_file" >&6;}
17344 # Let's still pretend it is `configure' which instantiates (i.e., don't
17345 # use $as_me), people would be surprised to read:
17346 # /* config.h. Generated by config.status. */
17347 if test x
"$ac_file" = x-
; then
17350 configure_input
="$ac_file. "
17352 configure_input
=$configure_input"Generated from `echo $ac_file_in |
17353 sed 's,.*/,,'` by configure."
17355 # First look for the input files in the build tree, otherwise in the
17357 ac_file_inputs
=`IFS=:
17358 for f in $ac_file_in; do
17360 -) echo $tmp/stdin ;;
17362 # Absolute (can't be DOS-style, as IFS=:)
17363 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17364 echo "$as_me: error: cannot find input file: $f" >&2;}
17365 { (exit 1); exit 1; }; }
17368 if test -f "$f"; then
17371 elif test -f "$srcdir/$f"; then
17376 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17377 echo "$as_me: error: cannot find input file: $f" >&2;}
17378 { (exit 1); exit 1; }; }
17381 done` ||
{ (exit 1); exit 1; }
17383 cat >>$CONFIG_STATUS <<_ACEOF
17387 cat >>$CONFIG_STATUS <<\_ACEOF
17389 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17390 s
,@configure_input@
,$configure_input,;t t
17391 s
,@srcdir@
,$ac_srcdir,;t t
17392 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
17393 s
,@top_srcdir@
,$ac_top_srcdir,;t t
17394 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
17395 s
,@builddir@
,$ac_builddir,;t t
17396 s
,@abs_builddir@
,$ac_abs_builddir,;t t
17397 s
,@top_builddir@
,$ac_top_builddir,;t t
17398 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
17399 s
,@INSTALL@
,$ac_INSTALL,;t t
17400 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
17402 if test x"$ac_file" != x-; then
17403 mv $tmp/out $ac_file
17411 cat >>$CONFIG_STATUS <<\_ACEOF
17414 # CONFIG_HEADER section.
17417 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
17418 # NAME is the cpp macro being defined and VALUE is the value it is being given.
17420 # ac_d sets the value in "#define NAME VALUE" lines.
17421 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
17422 ac_dB
='[ ].*$,\1#\2'
17425 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
17426 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17427 ac_uB
='$,\1#\2define\3'
17431 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
17432 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17434 - |
*:- |
*:-:* ) # input from stdin
17436 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17437 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17438 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17439 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17440 * ) ac_file_in
=$ac_file.
in ;;
17443 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
17444 echo "$as_me: creating $ac_file" >&6;}
17446 # First look for the input files in the build tree, otherwise in the
17448 ac_file_inputs
=`IFS=:
17449 for f in $ac_file_in; do
17451 -) echo $tmp/stdin ;;
17453 # Absolute (can't be DOS-style, as IFS=:)
17454 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17455 echo "$as_me: error: cannot find input file: $f" >&2;}
17456 { (exit 1); exit 1; }; }
17457 # Do quote $f, to prevent DOS paths from being IFS'd.
17460 if test -f "$f"; then
17463 elif test -f "$srcdir/$f"; then
17468 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17469 echo "$as_me: error: cannot find input file: $f" >&2;}
17470 { (exit 1); exit 1; }; }
17473 done` ||
{ (exit 1); exit 1; }
17474 # Remove the trailing spaces.
17475 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
17479 # Transform confdefs.h into two sed scripts, `conftest.defines' and
17480 # `conftest.undefs', that substitutes the proper values into
17481 # config.h.in to produce config.h. The first handles `#define'
17482 # templates, and the second `#undef' templates.
17483 # And first: Protect against being on the right side of a sed subst in
17484 # config.status. Protect against being in an unquoted here document
17485 # in config.status.
17486 rm -f conftest.defines conftest.undefs
17487 # Using a here document instead of a string reduces the quoting nightmare.
17488 # Putting comments in sed scripts is not portable.
17490 # `end' is used to avoid that the second main sed command (meant for
17491 # 0-ary CPP macros) applies to n-ary macro definitions.
17492 # See the Autoconf documentation for `clear'.
17493 cat >confdef2sed.
sed <<\_ACEOF
17498 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
17500 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
17503 # If some macros were called several times there might be several times
17504 # the same #defines, which is useless. Nevertheless, we may not want to
17505 # sort them, since we want the *last* AC-DEFINE to be honored.
17506 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
17507 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
17508 rm -f confdef2sed.sed
17510 # This sed command replaces #undef with comments. This is necessary, for
17511 # example, in the case of _POSIX_SOURCE, which is predefined and required
17512 # on some systems where configure will not decide to define it.
17513 cat >>conftest.undefs <<\_ACEOF
17514 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
17517 # Break up conftest.defines because some shells have a limit on the size
17518 # of here documents, and old seds have small limits too (100 cmds).
17519 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
17520 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
17521 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
17522 echo ' :' >>$CONFIG_STATUS
17523 rm -f conftest.tail
17524 while grep . conftest.defines >/dev/null
17526 # Write a limited-size here document to $tmp/defines.sed.
17527 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
17528 # Speed up: don't consider the non `#define' lines.
17529 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
17530 # Work around the forget-to-reset-the-flag bug.
17531 echo 't clr' >>$CONFIG_STATUS
17532 echo ': clr' >>$CONFIG_STATUS
17533 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
17535 sed -f $tmp/defines.sed $tmp/in >$tmp/out
17537 mv $tmp/out $tmp/in
17539 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
17540 rm -f conftest.defines
17541 mv conftest.
tail conftest.defines
17543 rm -f conftest.defines
17544 echo ' fi # grep' >>$CONFIG_STATUS
17545 echo >>$CONFIG_STATUS
17547 # Break up conftest.undefs because some shells have a limit on the size
17548 # of here documents, and old seds have small limits too (100 cmds).
17549 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
17550 rm -f conftest.
tail
17551 while grep . conftest.undefs
>/dev
/null
17553 # Write a limited-size here document to $tmp/undefs.sed.
17554 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
17555 # Speed up: don't consider the non
`#undef'
17556 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
17557 # Work around the forget-to-reset-the-flag bug.
17558 echo 't clr' >>$CONFIG_STATUS
17559 echo ': clr' >>$CONFIG_STATUS
17560 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
17562 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
17564 mv $tmp/out $tmp/in
17566 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
17567 rm -f conftest.undefs
17568 mv conftest.tail conftest.undefs
17570 rm -f conftest.undefs
17572 cat >>$CONFIG_STATUS <<\_ACEOF
17573 # Let's still pretend it is `configure
' which instantiates (i.e., don't
17574 # use $as_me), people would be surprised to read:
17575 # /* config.h. Generated by config.status. */
17576 if test x
"$ac_file" = x-
; then
17577 echo "/* Generated by configure. */" >$tmp/config.h
17579 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
17581 cat $tmp/in >>$tmp/config.h
17583 if test x
"$ac_file" != x-
; then
17584 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
17585 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
17586 echo "$as_me: $ac_file is unchanged" >&6;}
17588 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
17589 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17590 X"$ac_file" : 'X\(//\)[^/]' \| \
17591 X"$ac_file" : 'X\(//\)$' \| \
17592 X"$ac_file" : 'X\(/\)' \| \
17593 . : '\(.\)' 2>/dev/null ||
17595 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17596 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17597 /^X\(\/\/\)$/{ s//\1/; q; }
17598 /^X\(\/\).*/{ s//\1/; q; }
17600 { if $as_mkdir_p; then
17605 while test ! -d "$as_dir"; do
17606 as_dirs
="$as_dir $as_dirs"
17607 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17608 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17609 X"$as_dir" : 'X\(//\)[^/]' \| \
17610 X"$as_dir" : 'X\(//\)$' \| \
17611 X"$as_dir" : 'X\(/\)' \| \
17612 . : '\(.\)' 2>/dev/null ||
17614 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17615 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17616 /^X\(\/\/\)$/{ s//\1/; q; }
17617 /^X\(\/\).*/{ s//\1/; q; }
17620 test ! -n "$as_dirs" || mkdir
$as_dirs
17621 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17622 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17623 { (exit 1); exit 1; }; }; }
17626 mv $tmp/config.h
$ac_file
17630 rm -f $tmp/config.h
17632 # Compute $ac_file's index in $config_headers.
17634 for _am_header
in $config_headers :; do
17635 case $_am_header in
17636 $ac_file |
$ac_file:* )
17639 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17642 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
17643 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17644 X$ac_file : 'X\(//\)[^/]' \| \
17645 X$ac_file : 'X\(//\)$' \| \
17646 X$ac_file : 'X\(/\)' \| \
17647 . : '\(.\)' 2>/dev/null ||
17649 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17650 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17651 /^X\(\/\/\)$/{ s//\1/; q; }
17652 /^X\(\/\).*/{ s//\1/; q; }
17653 s/.*/./; q'`/stamp-h
$_am_stamp_count
17656 cat >>$CONFIG_STATUS <<\_ACEOF
17659 # CONFIG_LINKS section.
17662 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
17663 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
17664 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17666 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
17667 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
17669 if test ! -r $srcdir/$ac_source; then
17670 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
17671 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
17672 { (exit 1); exit 1; }; }
17676 # Make relative symlinks.
17677 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
17678 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17679 X"$ac_dest" : 'X\(//\)[^/]' \| \
17680 X"$ac_dest" : 'X\(//\)$' \| \
17681 X"$ac_dest" : 'X\(/\)' \| \
17682 . : '\(.\)' 2>/dev/null ||
17684 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17685 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17686 /^X\(\/\/\)$/{ s//\1/; q; }
17687 /^X\(\/\).*/{ s//\1/; q; }
17689 { if $as_mkdir_p; then
17690 mkdir
-p "$ac_dest_dir"
17692 as_dir
="$ac_dest_dir"
17694 while test ! -d "$as_dir"; do
17695 as_dirs
="$as_dir $as_dirs"
17696 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17697 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17698 X"$as_dir" : 'X\(//\)[^/]' \| \
17699 X"$as_dir" : 'X\(//\)$' \| \
17700 X"$as_dir" : 'X\(/\)' \| \
17701 . : '\(.\)' 2>/dev/null ||
17703 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17704 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17705 /^X\(\/\/\)$/{ s//\1/; q; }
17706 /^X\(\/\).*/{ s//\1/; q; }
17709 test ! -n "$as_dirs" || mkdir
$as_dirs
17710 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
17711 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
17712 { (exit 1); exit 1; }; }; }
17716 if test "$ac_dest_dir" != .
; then
17717 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
17718 # A "../" for each directory in $ac_dir_suffix.
17719 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17721 ac_dir_suffix
= ac_top_builddir
=
17725 .
) # No --srcdir option. We are building in place.
17727 if test -z "$ac_top_builddir"; then
17730 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
17732 [\\/]* | ?
:[\\/]* ) # Absolute path.
17733 ac_srcdir
=$srcdir$ac_dir_suffix;
17734 ac_top_srcdir
=$srcdir ;;
17735 *) # Relative path.
17736 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
17737 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
17740 # Do not use `cd foo && pwd` to compute absolute paths, because
17741 # the directories may not exist.
17743 .
) ac_abs_builddir
="$ac_dest_dir";;
17745 case "$ac_dest_dir" in
17746 .
) ac_abs_builddir
=`pwd`;;
17747 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
17748 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
17751 case $ac_abs_builddir in
17752 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17754 case ${ac_top_builddir}.
in
17755 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
17756 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17757 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
17760 case $ac_abs_builddir in
17761 .
) ac_abs_srcdir
=$ac_srcdir;;
17764 .
) ac_abs_srcdir
=$ac_abs_builddir;;
17765 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
17766 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
17769 case $ac_abs_builddir in
17770 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
17772 case $ac_top_srcdir in
17773 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
17774 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
17775 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
17781 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
17782 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
17785 # Try a symlink, then a hard link, then a copy.
17786 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
17787 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
17788 cp -p $srcdir/$ac_source $ac_dest ||
17789 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
17790 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
17791 { (exit 1); exit 1; }; }
17794 cat >>$CONFIG_STATUS <<\_ACEOF
17797 # CONFIG_COMMANDS section.
17799 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
17800 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
17801 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17802 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
17803 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17804 X"$ac_dest" : 'X\(//\)[^/]' \| \
17805 X"$ac_dest" : 'X\(//\)$' \| \
17806 X"$ac_dest" : 'X\(/\)' \| \
17807 . : '\(.\)' 2>/dev/null ||
17809 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17810 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17811 /^X\(\/\/\)$/{ s//\1/; q; }
17812 /^X\(\/\).*/{ s//\1/; q; }
17814 { if $as_mkdir_p; then
17819 while test ! -d "$as_dir"; do
17820 as_dirs
="$as_dir $as_dirs"
17821 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17822 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17823 X"$as_dir" : 'X\(//\)[^/]' \| \
17824 X"$as_dir" : 'X\(//\)$' \| \
17825 X"$as_dir" : 'X\(/\)' \| \
17826 . : '\(.\)' 2>/dev/null ||
17828 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17829 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17830 /^X\(\/\/\)$/{ s//\1/; q; }
17831 /^X\(\/\).*/{ s//\1/; q; }
17834 test ! -n "$as_dirs" || mkdir
$as_dirs
17835 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17836 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17837 { (exit 1); exit 1; }; }; }
17841 if test "$ac_dir" != .
; then
17842 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17843 # A "../" for each directory in $ac_dir_suffix.
17844 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17846 ac_dir_suffix
= ac_top_builddir
=
17850 .
) # No --srcdir option. We are building in place.
17852 if test -z "$ac_top_builddir"; then
17855 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
17857 [\\/]* | ?
:[\\/]* ) # Absolute path.
17858 ac_srcdir
=$srcdir$ac_dir_suffix;
17859 ac_top_srcdir
=$srcdir ;;
17860 *) # Relative path.
17861 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
17862 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
17865 # Do not use `cd foo && pwd` to compute absolute paths, because
17866 # the directories may not exist.
17868 .
) ac_abs_builddir
="$ac_dir";;
17871 .
) ac_abs_builddir
=`pwd`;;
17872 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
17873 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
17876 case $ac_abs_builddir in
17877 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17879 case ${ac_top_builddir}.
in
17880 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
17881 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
17882 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
17885 case $ac_abs_builddir in
17886 .
) ac_abs_srcdir
=$ac_srcdir;;
17889 .
) ac_abs_srcdir
=$ac_abs_builddir;;
17890 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
17891 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
17894 case $ac_abs_builddir in
17895 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
17897 case $ac_top_srcdir in
17898 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
17899 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
17900 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
17905 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
17906 echo "$as_me: executing $ac_dest commands" >&6;}
17908 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
17909 # Strip MF so we end up with the name of the file.
17910 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17911 # Check whether this is an Automake generated Makefile or not.
17912 # We used to match only the files named `Makefile.in', but
17913 # some people rename them; so instead we look at the file content.
17914 # Grep'ing the first line is not enough: some people post-process
17915 # each Makefile.in and add a new line on top of each file to say so.
17916 # So let's grep whole file.
17917 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
17918 dirpart
=`(dirname "$mf") 2>/dev/null ||
17919 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17920 X"$mf" : 'X\(//\)[^/]' \| \
17921 X"$mf" : 'X\(//\)$' \| \
17922 X"$mf" : 'X\(/\)' \| \
17923 . : '\(.\)' 2>/dev/null ||
17925 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17926 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17927 /^X\(\/\/\)$/{ s//\1/; q; }
17928 /^X\(\/\).*/{ s//\1/; q; }
17933 # Extract the definition of DEPDIR, am__include, and am__quote
17934 # from the Makefile without running `make'.
17935 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17936 test -z "$DEPDIR" && continue
17937 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17938 test -z "am__include" && continue
17939 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17940 # When using ansi2knr, U may be empty or an underscore; expand it
17941 U
=`sed -n 's/^U = //p' < "$mf"`
17942 # Find all dependency output files, they are included files with
17943 # $(DEPDIR) in their names. We invoke sed twice because it is the
17944 # simplest approach to changing $(DEPDIR) to its actual value in the
17946 for file in `sed -n "
17947 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17948 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17949 # Make sure the directory exists.
17950 test -f "$dirpart/$file" && continue
17951 fdir
=`(dirname "$file") 2>/dev/null ||
17952 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17953 X"$file" : 'X\(//\)[^/]' \| \
17954 X"$file" : 'X\(//\)$' \| \
17955 X"$file" : 'X\(/\)' \| \
17956 . : '\(.\)' 2>/dev/null ||
17958 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17959 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17960 /^X\(\/\/\)$/{ s//\1/; q; }
17961 /^X\(\/\).*/{ s//\1/; q; }
17963 { if $as_mkdir_p; then
17964 mkdir
-p $dirpart/$fdir
17966 as_dir
=$dirpart/$fdir
17968 while test ! -d "$as_dir"; do
17969 as_dirs
="$as_dir $as_dirs"
17970 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17971 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17972 X"$as_dir" : 'X\(//\)[^/]' \| \
17973 X"$as_dir" : 'X\(//\)$' \| \
17974 X"$as_dir" : 'X\(/\)' \| \
17975 . : '\(.\)' 2>/dev/null ||
17977 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17978 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17979 /^X\(\/\/\)$/{ s//\1/; q; }
17980 /^X\(\/\).*/{ s//\1/; q; }
17983 test ! -n "$as_dirs" || mkdir
$as_dirs
17984 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
17985 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
17986 { (exit 1); exit 1; }; }; }
17988 # echo "creating $dirpart/$file"
17989 echo '# dummy' > "$dirpart/$file"
17993 default
) # Only add multilib support code if we just rebuilt top-level Makefile.
17994 case " $CONFIG_FILES " in
17996 LD
="${ORIGINAL_LD_FOR_MULTILIBS}"
17997 ac_file
=Makefile .
${libgcj_basedir}/..
/config-ml.
in
18000 for ac_multi_file
in $CONFIG_FILES; do
18001 case $ac_multi_file in
18003 grep "^MULTI[^ ]* =" Makefile
>> "$ac_multi_file" ;;
18011 cat >>$CONFIG_STATUS <<\_ACEOF
18013 { (exit 0); exit 0; }
18015 chmod +x
$CONFIG_STATUS
18016 ac_clean_files
=$ac_clean_files_save
18019 # configure is writing to config.log, and then calls config.status.
18020 # config.status does its own redirection, appending to config.log.
18021 # Unfortunately, on DOS this fails, as config.log is still kept open
18022 # by configure, so config.status won't be able to write to it; its
18023 # output is simply discarded. So we exec the FD to /dev/null,
18024 # effectively closing config.log, so it can be properly (re)opened and
18025 # appended to by config.status. When coming back to configure, we
18026 # need to make the FD available again.
18027 if test "$no_create" != yes; then
18029 ac_config_status_args
=
18030 test "$silent" = yes &&
18031 ac_config_status_args
="$ac_config_status_args --quiet"
18033 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18035 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18036 # would make configure fail if this is the last instruction.
18037 $ac_cs_success ||
{ (exit 1); exit 1; }
18041 # CONFIG_SUBDIRS section.
18043 if test "$no_recursion" != yes; then
18045 # Remove --cache-file and --srcdir arguments so they do not pile up.
18046 ac_sub_configure_args
=
18048 for ac_arg
in $ac_configure_args; do
18049 if test -n "$ac_prev"; then
18054 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
18055 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
18056 ac_prev
=cache_file
;;
18057 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
18058 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
18061 --config-cache |
-C)
18063 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
18065 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
18067 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
18069 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
18071 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
18075 # Always prepend --prefix to ensure using the same prefix
18076 # in subdir configurations.
18077 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
18080 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
18082 # Do not complain, so a configure script can configure whichever
18083 # parts of a large source tree are present.
18084 test -d $srcdir/$ac_dir ||
continue
18086 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
18087 echo "$as_me: configuring in $ac_dir" >&6;}
18088 { if $as_mkdir_p; then
18093 while test ! -d "$as_dir"; do
18094 as_dirs
="$as_dir $as_dirs"
18095 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18096 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18097 X"$as_dir" : 'X\(//\)[^/]' \| \
18098 X"$as_dir" : 'X\(//\)$' \| \
18099 X"$as_dir" : 'X\(/\)' \| \
18100 . : '\(.\)' 2>/dev/null ||
18102 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18103 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18104 /^X\(\/\/\)$/{ s//\1/; q; }
18105 /^X\(\/\).*/{ s//\1/; q; }
18108 test ! -n "$as_dirs" || mkdir
$as_dirs
18109 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18110 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18111 { (exit 1); exit 1; }; }; }
18115 if test "$ac_dir" != .
; then
18116 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18117 # A "../" for each directory in $ac_dir_suffix.
18118 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18120 ac_dir_suffix
= ac_top_builddir
=
18124 .
) # No --srcdir option. We are building in place.
18126 if test -z "$ac_top_builddir"; then
18129 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18131 [\\/]* | ?
:[\\/]* ) # Absolute path.
18132 ac_srcdir
=$srcdir$ac_dir_suffix;
18133 ac_top_srcdir
=$srcdir ;;
18134 *) # Relative path.
18135 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18136 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18139 # Do not use `cd foo && pwd` to compute absolute paths, because
18140 # the directories may not exist.
18142 .
) ac_abs_builddir
="$ac_dir";;
18145 .
) ac_abs_builddir
=`pwd`;;
18146 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
18147 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
18150 case $ac_abs_builddir in
18151 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18153 case ${ac_top_builddir}.
in
18154 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
18155 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
18156 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
18159 case $ac_abs_builddir in
18160 .
) ac_abs_srcdir
=$ac_srcdir;;
18163 .
) ac_abs_srcdir
=$ac_abs_builddir;;
18164 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
18165 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
18168 case $ac_abs_builddir in
18169 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
18171 case $ac_top_srcdir in
18172 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
18173 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
18174 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
18181 # Check for guested configure; otherwise get Cygnus style configure.
18182 if test -f $ac_srcdir/configure.gnu
; then
18183 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
18184 elif test -f $ac_srcdir/configure
; then
18185 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
18186 elif test -f $ac_srcdir/configure.
in; then
18187 ac_sub_configure
=$ac_configure
18189 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
18190 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
18194 # The recursion is here.
18195 if test -n "$ac_sub_configure"; then
18196 # Make the cache file name correct relative to the subdirectory.
18197 case $cache_file in
18198 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
18199 *) # Relative path.
18200 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
18203 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
18204 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
18205 # The eval makes quoting arguments work.
18206 eval $ac_sub_configure $ac_sub_configure_args \
18207 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
18208 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
18209 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
18210 { (exit 1); exit 1; }; }